.blog-page {
    background: #fffdf8;
    color: #061f16;
}

/* HERO */

.blog-hero {
    padding: 4rem 0 0;
    background: linear-gradient(135deg, #fffdf8 0%, #eefaf3 100%);
    overflow: hidden;
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    min-height: 360px;
    gap: 2rem;
}

.blog-hero-content h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.05;
    font-weight: 900;
    color: #072b1c;
    letter-spacing: -0.05em;
    margin-bottom: .8rem;
}

.blog-hero-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    line-height: 1.18;
    font-weight: 900;
    color: #7c3aed;
    margin-bottom: 1.4rem;
}

.blog-hero-content p {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #061933;
    font-weight: 600;
}

.blog-hero-image {
    min-height: 360px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* BREADCRUMB */

.blog-breadcrumb-section {
    padding: 0 0 2rem;
}

.blog-breadcrumb {
    max-width: 520px;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: #007a3d;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .08);
}

/* LAYOUT */

.blog-content-section {
    padding: 1rem 0 4rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.blog-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #061933;
    margin-bottom: 1.4rem;
}

.blog-title.more {
    margin-top: 2rem;
}

/* FEATURED POSTS */

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.featured-post-card,
.post-row,
.sidebar-card,
.sidebar-cta {
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 18px;
    overflow: hidden;
}

.post-image {
    height: 220px;
    position: relative;
    background: #f5faf6;
}

.post-image img,
.post-row-image img,
.sidebar-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag,
.post-row-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: .45rem .7rem;
    font-size: .78rem;
    font-weight: 900;
}

.tag {
    position: absolute;
    top: .8rem;
    left: .8rem;
    color: #fff;
}

.tag.pink {
    background: #ec4899;
}

.tag.green {
    background: #009640;
}

.tag.purple {
    background: #7c3aed;
}

.post-body {
    padding: 1.2rem;
}

.post-body h3,
.post-row-content h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 900;
    color: #061933;
}

.post-body p,
.post-row-content p {
    font-size: .92rem;
    line-height: 1.6;
    color: #061933;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .82rem;
    color: #334155;
    margin-top: 1rem;
}

/* POST LIST */

.post-list {
    display: grid;
    gap: 1rem;
}

.post-row {
    display: grid;
    grid-template-columns: 230px 1fr auto 32px;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

.post-row-image {
    height: 145px;
    background: #f5faf6;
}

.post-row-content {
    padding: 1rem 0;
}

.post-row-tag {
    white-space: nowrap;
}

.post-row-tag.yellow {
    background: #fef3c7;
    color: #d97706;
}

.post-row-tag.purple {
    background: #efe5ff;
    color: #7c3aed;
}

.post-row-tag.blue {
    background: #dbeafe;
    color: #2563eb;
}

.post-row-tag.pink {
    background: #ffe4ef;
    color: #db2777;
}

.post-arrow {
    color: #061933;
    font-size: 1.2rem;
    padding-right: 1rem;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-load-more {
    border: 1px solid #007a3d;
    color: #007a3d;
    background: #fff;
    border-radius: 10px;
    padding: .95rem 1.5rem;
    font-weight: 900;
    text-decoration: none;
}

/* SIDEBAR */

.blog-sidebar {
    display: grid;
    gap: 1.5rem;
}

.sidebar-card {
    padding: 1.4rem;
}

.sidebar-card h3,
.sidebar-cta h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: #061933;
    margin-bottom: 1rem;
}

.blog-search,
.subscribe-form {
    display: flex;
    gap: .5rem;
}

.blog-search input,
.subscribe-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    padding: .85rem;
    outline: 0;
}

.blog-search button,
.subscribe-form button {
    border: 0;
    border-radius: 8px;
    background: #007a3d;
    color: #fff;
    padding: .85rem 1rem;
    font-weight: 900;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .9rem;
}

.category-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

.category-list span {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-weight: 700;
}

.category-list strong {
    width: 34px;
    height: 28px;
    border-radius: 999px;
    background: #f1f5f9;
    display: grid;
    place-items: center;
}

.category-list i.pink {
    color: #ec4899;
}

.category-list i.green {
    color: #009640;
}

.category-list i.purple {
    color: #7c3aed;
}

.category-list i.yellow {
    color: #f6b800;
}

.category-list i.blue {
    color: #2563eb;
}

.sidebar-cta {
    padding: 1.4rem;
    background: linear-gradient(135deg, #006b36 0%, #003c2c 100%);
    color: #fff;
    position: relative;
    min-height: 250px;
}

.sidebar-cta h3 {
    color: #fff;
    max-width: 180px;
}

.sidebar-cta p {
    max-width: 180px;
    line-height: 1.6;
}

.btn-sidebar-cta {
    display: inline-flex;
    background: #f6b800;
    color: #061933;
    border-radius: 10px;
    padding: .8rem 1rem;
    font-weight: 900;
    text-decoration: none;
}

.sidebar-cta-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    height: 180px;
}

.sidebar-card p,
.sidebar-card small {
    color: #475569;
    line-height: 1.6;
}

.subscribe-form {
    flex-direction: column;
}

/* RESPONSIVE */

@media (max-width: 1200px) {

    .blog-hero-grid,
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .featured-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-hero-image {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .blog-hero-content {
        text-align: center;
    }

    .blog-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .featured-posts-grid,
    .post-row {
        grid-template-columns: 1fr;
    }

    .post-row-content {
        padding: 1rem;
    }

    .post-row-tag {
        margin-left: 1rem;
        width: fit-content;
    }

    .post-arrow {
        padding: 0 1rem 1rem;
    }
}

@media (max-width: 576px) {
    .blog-hero-content h1 {
        font-size: 2.6rem;
    }

    .post-image,
    .post-row-image {
        height: 190px;
    }
}