/* ══════════════════════════════════════════
       BLOG HERO BANNER
   ══════════════════════════════════════════ */
.bloghero-section {
    background: #F5F4F0;
    padding: 40px 40px;
}

.bloghero-inner {
    max-width: 2280px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
}

.bloghero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.bloghero-inner:hover .bloghero-bg {
    transform: scale(1.03);
}

.bloghero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.52);
}

.bloghero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bloghero-title {
    font-family: "f4", serif;
    font-size: 72px;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1;
}

@media (max-width: 768px) {
    .bloghero-section {
        padding: 28px 24px 72px;
    }

    .bloghero-inner {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .bloghero-section {
        padding: 20px 16px 56px;
    }

    .bloghero-inner {
        height: 220px;
    }
}





/* ══════════════════════════════════════════
       BLOG LISTING WITH SIDEBAR
   ══════════════════════════════════════════ */
.bloglisting-section {
    background: #F5F4F0;
    padding: 20px 40px 100px;
}

.bloglisting-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* Tag */
.bloglisting-tag {
    font-family: "f2", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #4e6640;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.bloglisting-dash {
    color: #4e6640;
}

/* 2-column blog grid */
.bloglisting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
}

/* Blog card */
.bloglisting-card {
    display: flex;
    flex-direction: column;
    height: 360px;
    overflow: hidden;
}

.bloglisting-img-wrap {
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin-bottom: 14px;
}

.bloglisting-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bloglisting-img-wrap:hover .bloglisting-img {
    transform: scale(1.04);
}

.bloglisting-date {
    font-family: "f1", sans-serif;
    font-size: 14px;
    color: #2C4A6E;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bloglisting-title {
    font-family: "f2", serif;
    font-size: 20px;
    color: #111111;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bloglisting-excerpt {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bloglisting-link {
    font-family: "f1", sans-serif;
    font-size: 16px;
    color: #2C4A6E;
    text-decoration: none;
    transition: opacity 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.bloglisting-link:hover {
    opacity: 0.7;
}

/* ── SIDEBAR ── */
.bloglisting-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-block {
    margin-bottom: 8px;
}

.sidebar-heading {
    font-family: "f4", serif;
    font-size: 20px;
    color: #2C4A6E;
    font-weight: 400;
    margin-bottom: 16px;
}

.sidebar-divider {
    height: 1px;
    background: #d8d5ce;
    margin-bottom: 20px;
}

/* Recent posts */
.sidebar-recent {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.sidebar-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-recent-img {
    width: 64px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-recent-title {
    font-family: "f1", sans-serif;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.sidebar-recent-title:hover {
    color: #2C4A6E;
}

/* Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-categories li a {
    font-family: "f1", sans-serif;
    font-size: 14px;
    color: #444444;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-categories li a:hover {
    color: #2C4A6E;
}

/* Tags */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.sidebar-tag {
    font-family: "f1", sans-serif;
    font-size: 14px;
    color: #444444;
    background: #ffffff;
    border: 1px solid #d8d5ce;
    border-radius: 20px;
    padding: 5px 12px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sidebar-tag:hover {
    background: #2C4A6E;
    color: #ffffff;
    border-color: #2C4A6E;
}

@media (max-width: 992px) {
    .bloglisting-inner {
        grid-template-columns: 1fr;
    }

    .bloglisting-sidebar {
        position: static;
    }

    .bloglisting-section {
        padding: 16px 24px 72px;
    }
}

@media (max-width: 576px) {
    .bloglisting-grid {
        grid-template-columns: 1fr;
    }

    .bloglisting-section {
        padding: 12px 16px 56px;
    }
}