.blog-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #15803d;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.blog-kicker-light {
    color: rgba(255, 255, 255, 0.78);
}

.blog-primary-cta,
.blog-secondary-cta,
.blog-inline-link,
.blog-chip-link,
.blog-category-chip,
.blog-tag-chip,
.blog-topic-directory-card,
.blog-post-nav-link {
    transition: all 0.25s ease;
}

.blog-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #166534;
    color: #fff;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 30px rgba(21, 128, 61, 0.18);
}

.blog-primary-cta:hover {
    background: #14532d;
    transform: translateY(-1px);
}

.blog-primary-cta-light {
    background: #fff;
    color: #14532d;
}

.blog-primary-cta-light:hover {
    background: #f3f4f6;
    color: #14532d;
}

.blog-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: #14532d;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(20, 83, 45, 0.12);
}

.blog-secondary-cta:hover {
    background: #fff;
}

.blog-secondary-cta-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.blog-secondary-cta-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.blog-inline-link {
    color: #166534;
    font-weight: 700;
    text-decoration: none;
}

.blog-inline-link:hover {
    color: #14532d;
}

.blog-topic-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    background: #dcfce7;
    color: #166534;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-blog-shell {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.88), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(21, 128, 61, 0.1);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 26px 48px rgba(17, 24, 39, 0.06);
}

.home-blog-heading,
.home-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
}

.home-blog-subcopy {
    max-width: 56rem;
    margin-top: 0.75rem;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.home-blog-card,
.blog-hub-card,
.blog-featured-card,
.blog-related-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.home-blog-card {
    display: grid;
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
}

.home-blog-card-featured {
    grid-template-columns: 1fr;
}

.home-blog-card-media,
.blog-hub-card-media,
.blog-featured-media,
.blog-related-card-media {
    display: block;
    background: #f3f4f6;
}

.home-blog-card-media img,
.blog-hub-card-media img,
.blog-featured-media img,
.blog-related-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-blog-card-featured .home-blog-card-media img {
    aspect-ratio: 16 / 10;
}

.home-blog-card:not(.home-blog-card-featured) .home-blog-card-media img {
    aspect-ratio: 1 / 1;
}

.home-blog-card-body,
.blog-hub-card-body,
.blog-featured-body,
.blog-related-card-body {
    padding: 1.35rem;
}

.home-blog-card-meta,
.blog-hub-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 0.95rem;
    color: #6b7280;
    font-size: 0.84rem;
}

.home-blog-card-title,
.blog-hub-card-title,
.blog-related-card h3 {
    color: #111827;
    font-size: 1.28rem;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.home-blog-card-title a,
.blog-hub-card-title a,
.blog-featured-body a,
.blog-related-card h3 a,
.blog-popular-card h3 a {
    color: inherit;
    text-decoration: none;
}

.home-blog-card-title a:hover,
.blog-hub-card-title a:hover,
.blog-featured-body a:hover,
.blog-related-card h3 a:hover,
.blog-popular-card h3 a:hover {
    color: #166534;
}

.home-blog-card-copy,
.blog-hub-card-copy,
.blog-featured-body p,
.blog-related-card p,
.blog-popular-card p {
    color: #4b5563;
    line-height: 1.7;
}

.home-blog-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    align-items: center;
}

.home-blog-topic-row,
.blog-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.blog-chip-link,
.blog-category-chip,
.blog-tag-chip {
    border: 1px solid rgba(21, 128, 61, 0.14);
    background: #fff;
    color: #166534;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.blog-category-chip.active,
.blog-chip-link:hover,
.blog-category-chip:hover,
.blog-tag-chip:hover {
    background: #166534;
    color: #fff;
    border-color: #166534;
}

.blog-hub-page main {
    background:
        radial-gradient(circle at top left, rgba(220, 252, 231, 0.9), transparent 34%),
        linear-gradient(180deg, #f9fafb, #ffffff);
}

.blog-hub-shell {
    max-width: 76rem;
    margin: 0 auto;
    padding: 7rem 1rem 5rem;
}

.blog-hub-hero {
    display: block;
}

.blog-hub-hero-text {
    max-width: 58rem;
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-top: 1rem;
}

.blog-hub-search-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.75rem;
    padding: 1.5rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.blog-search-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.blog-search-shell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: #fff;
    padding: 0.95rem 1.1rem;
}

.blog-search-shell i {
    color: #6b7280;
}

.blog-search-shell input {
    min-width: 0;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #111827;
}

.blog-search-note {
    margin-top: 0.8rem;
    color: #6b7280;
    font-size: 0.88rem;
}

.blog-hub-feature-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 100%;
}

.blog-featured-media img {
    aspect-ratio: 1 / 1;
}

.blog-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.blog-hub-popular {
    background: #fff;
    border-radius: 1.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.blog-popular-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.blog-popular-card {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-popular-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-popular-meta {
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.blog-hub-controls {
    display: grid;
    gap: 1.1rem;
    margin: 1.75rem 0 1.5rem;
    padding: 1.4rem 1.45rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96));
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1.6rem;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.04);
}

.blog-controls-search-wrap {
    min-width: 0;
}

.blog-controls-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.blog-results-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #4b5563;
    font-size: 0.9rem;
    flex: 0 0 auto;
}

.blog-clear-link {
    color: #166534;
    font-weight: 700;
    text-decoration: none;
}

.blog-search-shell-inline {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.blog-search-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 700;
}

.blog-search-shell {
    min-height: 3.5rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1rem 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.blog-search-shell input {
    font-size: 0.98rem;
}

.blog-category-chips {
    align-items: center;
}

.blog-category-chip {
    padding: 0.6rem 0.95rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.blog-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.blog-hub-card {
    display: flex;
    flex-direction: column;
}

.blog-hub-card-media img {
    aspect-ratio: 16 / 11;
}

.blog-hub-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.blog-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #4b5563;
}

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

.blog-load-more-wrap.hidden {
    display: none !important;
}

.blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(21, 128, 61, 0.14);
    background: #fff;
    color: #166534;
    border-radius: 999px;
    padding: 0.9rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.blog-load-more-btn:hover {
    background: #166534;
    color: #fff;
    border-color: #166534;
}

.blog-support-banner {
    margin-top: 2.5rem;
    border-radius: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #14532d, #15803d 55%, #16a34a);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.blog-support-banner p {
    max-width: none;
    margin-top: 0.9rem;
    line-height: 1.7;
}

.blog-support-copy {
    flex: 1 1 auto;
    max-width: none;
}

.blog-support-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.blog-support-points a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.blog-support-points a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.blog-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.blog-article-page {
    background:
        radial-gradient(circle at top left, rgba(220, 252, 231, 0.75), transparent 28%),
        linear-gradient(180deg, #f9fafb, #ffffff);
}

.blog-article-shell {
    max-width: 52rem;
    margin: 0 auto;
    padding-top: 7rem;
    padding-bottom: 2rem;
}

.blog-breadcrumb {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.blog-breadcrumb a {
    color: #166534;
    text-decoration: none;
    font-weight: 600;
}

.blog-article-intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 1rem 0 1.4rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.blog-article-shell .prose {
    max-width: none;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.8rem;
    padding: 2rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.blog-article-shell img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-toc-card,
.blog-inline-support,
.blog-author-box,
.blog-post-nav {
    margin-top: 1.75rem;
}

.blog-toc-card {
    border-radius: 1.3rem;
    padding: 1.2rem;
    background: #f0fdf4;
    border: 1px solid rgba(21, 128, 61, 0.12);
}

.blog-toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 0.75rem;
}

.blog-toc-card ul {
    display: grid;
    gap: 0.6rem;
    padding-left: 1rem;
}

.blog-toc-card a {
    color: #166534;
    text-decoration: none;
}

.blog-inline-support {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    border: 1px solid rgba(21, 128, 61, 0.12);
    padding: 1.4rem;
    border-radius: 1.4rem;
}

.blog-inline-support p {
    margin-top: 0.6rem;
    color: #4b5563;
}

.blog-inline-support-actions,
.blog-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.blog-author-box {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.blog-author-box p {
    color: #4b5563;
    line-height: 1.7;
    margin-top: 0.55rem;
}

.blog-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.blog-post-nav-link {
    display: grid;
    gap: 0.45rem;
    min-height: 100%;
    padding: 1.2rem;
    border-radius: 1.4rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    color: #111827;
}

.blog-post-nav-link span {
    color: #15803d;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-post-nav-link strong {
    line-height: 1.55;
}

.blog-post-nav-link.is-empty {
    visibility: hidden;
}

.blog-related-section {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
}

.blog-related-heading {
    margin-bottom: 1.25rem;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.blog-related-card-media img {
    aspect-ratio: 16 / 11;
}

.blog-related-card p {
    margin-top: 0.65rem;
}

@media (max-width: 1023px) {
    .home-blog-grid,
    .blog-hub-hero,
    .blog-hub-feature-strip {
        grid-template-columns: 1fr;
    }

    .blog-hub-grid,
    .blog-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-media img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {
    .home-blog-shell,
    .blog-support-banner,
    .blog-article-shell .prose,
    .blog-hub-search-card,
    .blog-hub-popular,
    .blog-topic-directory-card,
    .blog-author-box,
    .blog-post-nav-link {
        padding: 1.25rem;
    }

    .home-blog-heading,
    .home-blog-footer,
    .blog-support-banner,
    .blog-inline-support,
    .blog-author-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-controls-bottom {
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
    }

    .blog-search-shell-inline {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .blog-search-shell {
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 1rem;
    }

    .blog-search-shell input {
        font-size: 0.95rem;
    }

    .home-blog-card,
    .blog-hub-grid,
    .blog-related-grid,
    .blog-post-nav {
        grid-template-columns: 1fr;
    }

    .home-blog-card {
        grid-template-columns: 1fr;
    }

    .home-blog-card:not(.home-blog-card-featured) .home-blog-card-media img,
    .blog-hub-card-media img {
        aspect-ratio: 16 / 10;
    }

    .blog-hub-shell {
        padding-top: 6.5rem;
    }

    .blog-category-chips {
        min-width: 0;
        overflow-x: visible;
        flex-wrap: wrap;
        row-gap: 0.6rem;
        padding-bottom: 0;
        width: 100%;
    }

    .blog-results-meta {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .blog-category-chip {
        max-width: 100%;
        text-align: center;
        white-space: nowrap;
    }
}
