/* ========== Wrapper ========== */
.angie-filterable-grid-wrapper-81c61a5b {
    width: 100%;
}

/* ========== Category Filter Buttons ========== */
.category-filter-buttons-outer-81c61a5b {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
    background-color: #fcf9f7;
}

.category-filter-buttons-scroll-81c61a5b {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    gap: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
}

.category-filter-buttons-scroll-81c61a5b::-webkit-scrollbar {
    display: none;
}

.category-btn-81c61a5b {
    flex: 0 0 auto;
    cursor: pointer;
    border: 1px solid #E8DFD6;
    background: #fff;
    color: #3D3229;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.category-btn-81c61a5b:hover,
.category-btn-81c61a5b.active {
    background: #C17B5A;
    border-color: #C17B5A;
    color: #fff;
}

/* Edge fades only (no arrows) – change #fcf9f7 to any colour you want */
.cat-scroll-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cat-scroll-edge-left {
    left: 0;
    background: linear-gradient(to right, #fcf9f7 0%, #fcf9f7 55%, rgba(252, 249, 247, 0));
}

.cat-scroll-edge-right {
    right: 0;
    background: linear-gradient(to left, #fcf9f7 0%, #fcf9f7 55%, rgba(252, 249, 247, 0));
}

.category-filter-buttons-outer-81c61a5b.can-scroll-left .cat-scroll-edge-left,
.category-filter-buttons-outer-81c61a5b.can-scroll-right .cat-scroll-edge-right {
    opacity: 1;
}

/* Completely hide all arrows */
.cat-nav-arrow,
.cat-nav-btn-mobile {
    display: none !important;
}

@media (max-width: 767px) {
    .category-filter-buttons-scroll-81c61a5b {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
}

/* ========== Posts Grid ========== */
.angie-posts-grid-81c61a5b {
    display: grid;
    gap: 20px;
    width: 100%;
}

.angie-posts-grid-81c61a5b.cols-1 { grid-template-columns: 1fr; }
.angie-posts-grid-81c61a5b.cols-2 { grid-template-columns: repeat(2, 1fr); }
.angie-posts-grid-81c61a5b.cols-3 { grid-template-columns: repeat(3, 1fr); }
.angie-posts-grid-81c61a5b.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .angie-posts-grid-81c61a5b.cols-3,
    .angie-posts-grid-81c61a5b.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .angie-posts-grid-81c61a5b.cols-2,
    .angie-posts-grid-81c61a5b.cols-3,
    .angie-posts-grid-81c61a5b.cols-4 {
        grid-template-columns: 1fr;
    }
}

/* ========== Post Card ========== */
.angie-post-card-81c61a5b {
    background: #fff;
    border: 1px solid #E8DFD6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.angie-post-card-81c61a5b:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(61, 50, 41, 0.08);
}

.angie-post-thumbnail-81c61a5b {
    position: relative;
    overflow: hidden;
    background: #EDE6DE;
}

.angie-post-thumbnail-81c61a5b img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/10;
    transition: transform 0.5s ease;
}

.angie-post-card-81c61a5b:hover .angie-post-thumbnail-81c61a5b img {
    transform: scale(1.05);
}

.angie-post-overlay-81c61a5b {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.angie-post-content-81c61a5b {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.angie-post-meta-81c61a5b {
    font-size: 0.8rem;
    color: #8C7B71;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.angie-post-title-81c61a5b {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
}

.angie-post-title-81c61a5b a {
    color: #3D3229;
    text-decoration: none;
    transition: color 0.2s ease;
}

.angie-post-title-81c61a5b a:hover {
    color: #C17B5A;
}

.angie-post-excerpt-81c61a5b {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #8C7B71;
    margin-bottom: 14px;
    flex-grow: 1;
}

.angie-post-readmore-81c61a5b {
    font-size: 0.9rem;
    font-weight: 600;
    color: #C17B5A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.angie-post-readmore-81c61a5b:hover {
    color: #A06648;
}

/* ========== Pagination ========== */
.angie-pagination-81c61a5b {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 30px;
}

.angie-page-btn-81c61a5b {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E8DFD6;
    background: #fff;
    color: #3D3229;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.angie-page-btn-81c61a5b:hover,
.angie-page-btn-81c61a5b.active {
    background: #C17B5A;
    border-color: #C17B5A;
    color: #fff;
}

span.angie-page-btn-81c61a5b.active {
    cursor: default;
}

/* ========== Loading & Fade ========== */
.angie-posts-container-81c61a5b {
    transition: opacity 0.12s ease;
}

.angie-posts-container-81c61a5b.is-fading {
    opacity: 0;
    pointer-events: none;
}

.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b {
    animation: cfgFadeInUp 0.45s ease both;
}

@keyframes cfgFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(1) { animation-delay: 0.01s; }
.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(2) { animation-delay: 0.03s; }
.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(3) { animation-delay: 0.05s; }
.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(4) { animation-delay: 0.07s; }
.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(5) { animation-delay: 0.09s; }
.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(6) { animation-delay: 0.11s; }
.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(7) { animation-delay: 0.13s; }
.angie-posts-grid-81c61a5b .angie-post-card-81c61a5b:nth-child(8) { animation-delay: 0.15s; }

.angie-no-posts-81c61a5b {
    text-align: center;
    padding: 40px 20px;
    color: #8C7B71;
}
