/* FILTER BAR */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    overflow-x: auto
}

.filter-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--px);
    display: flex
}

.filter-btn {
    padding: 17px 18px;
    font-family: var(--ff-sans);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s, border-color .2s
}

.filter-btn:hover {
    color: var(--green-mid)
}

.filter-btn.active {
    color: var(--green-deep);
    border-bottom-color: var(--gold);
    font-weight: 500
}

/* LAYOUT */
.blog-layout {
    max-width: 1200px;
    margin-inline: auto;
    padding: 56px var(--px);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: start
}

/* FEATURED */
.featured {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: box-shadow .3s
}

.featured:hover {
    box-shadow: 0 18px 50px rgba(0, 0, 0, .09)
}

.feat-thumb {
    min-height: 260px;
    background: linear-gradient(135deg, #1a3a2a, #2b5a40);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    padding: 32px
}

.feat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feat-badge {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--green-deep);
    padding: 5px 12px;
    border-radius: 2px
}

.feat-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.post-cat {
    font-size: .64rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 9px;
    display: block
}

.feat-body h2 {
    font-family: var(--ff-serif);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap
}

.post-meta span {
    font-size: .7rem;
    color: var(--text-light)
}

.dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-light)
}

.feat-body p {
    font-size: .83rem;
    line-height: 1.85;
    color: var(--text-mid);
    margin-bottom: 22px
}

/* POSTS GRID */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.post-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .28s, box-shadow .28s
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 42px rgba(0, 0, 0, .08)
}

.post-thumb {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center
}

.pt-0 {
    background: linear-gradient(135deg, #1a3a2a, #2b5a40)
}

.pt-1 {
    background: linear-gradient(135deg, #2b3a1a, #4a6a2a)
}

.pt-2 {
    background: linear-gradient(135deg, #1a2a3a, #2b4060)
}

.pt-3 {
    background: linear-gradient(135deg, #3a1a2a, #6a2b40)
}

.pt-4 {
    background: linear-gradient(135deg, #2a2a1a, #5a5a2b)
}

.pt-5 {
    background: linear-gradient(135deg, #1a3a3a, #2b6060)
}

.post-thumb svg {
    width: 36px;
    height: 36px;
    color: rgba(201, 168, 76, .4)
}

.post-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.post-body h3 {
    font-family: var(--ff-serif);
    font-size: 1.04rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px
}

.post-body p {
    font-size: .76rem;
    line-height: 1.75;
    color: var(--text-mid);
    flex: 1;
    margin-bottom: 14px
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto
}

.post-date {
    font-size: .66rem;
    color: var(--text-light)
}

/* PAGINATION */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 40px
}

.pg {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-dark);
    border-radius: 2px;
    font-size: .78rem;
    color: var(--text-mid);
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s
}

.pg:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.pg.active {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: var(--white)
}

/* SIDEBAR */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.sb-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 4px;
    padding: 24px
}

.sb-title {
    font-size: .63rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 500;
    display: block
}

.search-row {
    display: flex
}

.search-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--cream-dark);
    border-right: none;
    border-radius: 2px 0 0 2px;
    font-family: var(--ff-sans);
    font-size: .8rem;
    outline: none;
    background: var(--cream);
    transition: border-color .2s
}

.search-row input:focus {
    border-color: var(--gold)
}

.search-row button {
    padding: 10px 12px;
    background: var(--green-deep);
    border: none;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    color: var(--white);
    transition: background .2s
}

.search-row button:hover {
    background: var(--green-mid)
}

.search-row button svg {
    width: 15px;
    height: 15px;
    display: block
}

.cat-list {
    list-style: none
}

.cat-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--cream-dark)
}

.cat-list li:last-child {
    border-bottom: none
}

.cat-list a {
    font-size: .81rem;
    color: var(--text-mid);
    text-decoration: none;
    transition: color .2s
}

.cat-list a:hover {
    color: var(--green-mid)
}

.cat-count {
    font-size: .68rem;
    background: var(--cream-dark);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 20px
}

.rc-post {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cream-dark)
}

.rc-post:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.rc-thumb {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a2a, #2b5a40)
}

.rc-thumb svg {
    width: 18px;
    height: 18px;
    color: rgba(201, 168, 76, .6)
}

.rc-info h4 {
    font-family: var(--ff-serif);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 3px
}

.rc-info span {
    font-size: .66rem;
    color: var(--text-light)
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.sb-cta {
    background: var(--green-deep);
    border-radius: 4px;
    padding: 24px;
    text-align: center
}

.sb-cta h4 {
    font-family: var(--ff-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 9px
}

.sb-cta p {
    font-size: .78rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 16px
}

.btn-sm {
    display: block;
    padding: 10px 18px;
    background: var(--gold);
    color: var(--green-deep);
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background .2s
}

.btn-sm:hover {
    background: var(--gold-light)
}

@media(max-width:1024px) {
    .blog-layout {
        grid-template-columns: 1fr
    }

    .sidebar {
        display: none
    }
}

@media(max-width:768px) {
    .posts-grid {
        grid-template-columns: 1fr
    }

    .featured {
        grid-template-columns: 1fr
    }

    .feat-thumb {
        min-height: 180px
    }
}

@media(max-width:640px) {
    .posts-grid {
        grid-template-columns: 1fr
    }
}