:root {
    --color-bg: #F6F0E4;
    --color-surface: #FFFDF7;
    --color-surface-2: #FBF6EA;
    --color-text: #263A2F;
    --color-muted: #637064;
    --color-primary: #3F6B4F;
    --color-primary-dark: #2F523C;
    --color-border: rgba(47, 82, 60, 0.14);
    --shadow-soft: 0 18px 45px rgba(47, 82, 60, 0.08);
    --shadow-card: 0 12px 30px rgba(47, 82, 60, 0.07);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --cream: #f7f3ea;
    --warm-white: #fffdf8;
    --sand: #ebe1d1;
    --sage: #8c9f8f;
    --moss: #4d5f4f;
    --forest: #334435;
    --text: #2c332e;
    --muted: #6f776f;
    --line: #e5dccf;
    --radius-xl: 28px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --shadow-soft: 0 18px 45px rgba(47, 82, 60, 0.08);
    --shadow-card: 0 12px 30px rgba(47, 82, 60, 0.07);
}

/* Portal header */
.portal-header {
    z-index: 1030;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(14px);
}

.portal-header .navbar {
    min-height: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none;
}

.portal-header-inner {
    display: grid;
    grid-template-columns: auto minmax(260px, 520px) auto;
    gap: 1.25rem;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0;
}

.portal-brand {
    display: grid;
    gap: 0;
    padding: 0;
    line-height: 1;
    text-decoration: none;
}

.portal-brand strong {
    color: #173c24;
    font-family: "DM Serif Display", serif;
    font-size: 1.75rem;
    font-weight: 400;
}

.portal-brand small {
    margin-top: 0.28rem;
    color: #6b7280;
    font-family: "Inter", sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 46px;
    padding: 0 0.4rem 0 0.9rem;
    border: 1px solid #dfe5df;
    border-radius: 8px;
    background: #fafbf9;
    color: #758078;
}

.portal-search input {
    min-width: 0;
    height: 44px;
    padding: 0 0.7rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 0.92rem;
}

.portal-search button,
.portal-search-mobile-button,
.portal-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #2f6b2f;
}

.portal-search button:hover,
.portal-search button:focus-visible,
.portal-search-mobile-button:hover,
.portal-search-mobile-button:focus-visible,
.portal-menu-button:hover,
.portal-menu-button:focus-visible {
    background: #f1f8ef;
    color: #245624;
}

.portal-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.6rem 0.95rem;
    border-radius: 8px;
    background: #2f6b2f;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.portal-header-cta:hover,
.portal-header-cta:focus-visible {
    background: #245624;
    color: #fff;
}

.portal-nav-collapse {
    grid-column: 1 / -1;
    border-top: 1px solid #eef1ed;
}

.portal-nav-list {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.38rem 0;
}

.portal-nav-list .nav-link {
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    border-radius: 7px;
    color: #4b5563;
    font-size: 0.86rem;
    font-weight: 700;
}

.portal-nav-list .nav-link:hover,
.portal-nav-list .nav-link:focus-visible,
.portal-nav-list .nav-link.active {
    background: #f1f8ef;
    color: #2f6b2f !important;
}

.portal-menu-button,
.portal-search-mobile-button,
.portal-search-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .portal-header-inner {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 0.35rem;
        padding: 0.55rem 1rem;
    }

    .portal-menu-button,
    .portal-search-mobile-button {
        display: inline-flex;
    }

    .portal-brand {
        justify-self: center;
        text-align: center;
    }

    .portal-brand strong {
        font-size: 1.55rem;
    }

    .portal-brand small,
    .portal-search-desktop,
    .portal-header-cta {
        display: none;
    }

    .portal-nav-collapse {
        grid-column: 1 / -1;
        margin: 0 -1rem;
        padding: 1rem;
        border-top: 1px solid #e5e7eb;
        background: #fff;
    }

    .portal-search-mobile {
        display: grid;
        margin-bottom: 0.75rem;
    }

    .portal-nav-list {
        align-items: stretch !important;
        gap: 0.25rem;
        padding: 0;
    }

    .portal-nav-list .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.65rem 0.75rem;
    }
}

html { scroll-behavior: smooth; }

body.landing-page {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 15% 0%, #fcf9f2 0%, var(--cream) 52%, #f4ecde 100%);
}

body.landing-page main {
    overflow: hidden;
}

.navbar {
    background: rgba(255, 252, 246, 0.88) !important;
    border-bottom: 1px solid rgba(188, 175, 154, 0.35) !important;
    backdrop-filter: blur(8px);
}

.navbar-brand {
    font-family: "DM Serif Display", serif;
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    letter-spacing: 0;
    color: var(--forest) !important;
}

.nav-link {
    color: #4f564f;
    font-weight: 500;
    letter-spacing: 0;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--forest) !important;
}

.hero-section {
    min-height: calc(100vh - 74px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.1) 100%),
        radial-gradient(circle at 85% 12%, rgba(250, 241, 223, 0.14), rgba(250, 241, 223, 0));
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 5.4rem;
}

.hero-content-panel {
    max-width: 780px;
    color: #fefaf4;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.44rem 0.9rem;
    font-size: 0.9rem;
    letter-spacing: 0;
    font-weight: 500;
    color: #f7efe0;
    background: rgba(247, 239, 224, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.1rem;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 5.1vw, 4.6rem);
    line-height: 1.14;
    margin-bottom: 1rem;
    max-width: 16ch;
    font-weight: 600;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1.02rem, 1.95vw, 1.28rem);
    max-width: 48ch;
    color: #f0e7da;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.policy-highlight {
    color: #111;
    background: #fff;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
}

.hero-actions {
    display: flex;
    gap: 0.78rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-hero,
.btn-hero-secondary {
    border-radius: 999px;
    padding: 0.88rem 1.42rem;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-hero {
    background: #e9dbc3;
    color: #413626;
    box-shadow: none;
}

.btn-hero:hover,
.btn-hero:focus {
    color: #342a1c;
    background: #e2d2b7;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(18, 20, 16, 0.15);
}

.btn-hero-secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16, 18, 15, 0.14);
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(80px, 10vw, 120px);
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-wave path {
    fill: var(--cream);
}

.section-gap {
    margin-top: 3.2rem;
    margin-bottom: 3.2rem;
}

.section-gap-sm {
    margin-top: 2.3rem;
    margin-bottom: 2.3rem;
}

.section-box {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(249, 243, 234, 0.96));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.4rem, 3.4vw, 2.7rem);
}

.section-lead {
    color: #7b6f5f;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.decor-title {
    font-family: "Playfair Display", serif;
    color: #2c352e;
    font-size: clamp(1.85rem, 3.3vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.section-alert {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.values-box {
    background: linear-gradient(180deg, #fdf9f2, #f6efe3);
}

.value-card {
    height: 100%;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    padding: 1.2rem 1.1rem;
    box-shadow: 0 8px 18px rgba(63, 66, 60, 0.08);
}

.value-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #708673, #4f6452);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.72rem;
}

.value-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.26rem;
    margin-bottom: 0.38rem;
    color: #2f3a31;
}

.value-card p {
    margin: 0;
    color: #626a62;
    line-height: 1.56;
}

body.landing-page .btn-rabbit {
    background: linear-gradient(180deg, #5f7662, #455a47);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0;
    padding: 0.72rem 1rem;
}

body.landing-page .btn-rabbit:hover,
body.landing-page .btn-rabbit:focus {
    color: #fff;
    background: linear-gradient(180deg, #687f6b, #425643);
}

.footer-link {
    color: var(--color-primary-dark);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.site-footer {
    margin-top: 2rem;
    padding: 1.5rem 0;
    background: #fff;
}

.footer-content {
    color: #5d635c;
}

.site-footer-home {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: 3.8rem 0 1.35rem;
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.footer-content-home {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 2rem 3rem;
    color: #4b5563;
}

.footer-col {
    min-width: 0;
}

.footer-brand {
    display: inline-block;
    font-family: "DM Serif Display", serif;
    font-size: 1.9rem;
    color: #173c24;
    margin: 0 0 0.5rem;
    text-decoration: none;
}

.footer-brand:hover,
.footer-brand:focus {
    color: #3f6b4f;
    text-decoration: none;
}

.footer-heading {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700;
    color: #374151;
    margin: 0 0 0.65rem;
}

.footer-muted {
    color: var(--color-muted);
    font-size: 0.94rem;
    max-width: 34ch;
}

.footer-subfooter {
    margin-top: 2.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-muted);
    font-size: 0.94rem;
}

.legal-card {
    max-width: 1080px;
    text-align: left;
}

.legal-section + .legal-section {
    margin-top: 2rem;
}

.legal-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: #2f3a2f;
}

.legal-section h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    color: #2f3930;
    margin-bottom: 0.58rem;
}

.legal-section p,
.legal-section li {
    font-family: "Inter", sans-serif;
    color: #3e3a34;
    line-height: 1.7;
    font-size: 17px;
}

.legal-section ul {
    margin: 0;
    padding-left: 1.3rem;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 85vh;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 82vh;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-hero,
    .btn-hero-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .section-gap,
    .section-gap-sm {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-box {
        border-radius: 20px;
    }

    .hero-wave {
        height: 90px;
    }

    .site-footer-home {
        padding-top: 3rem;
    }

    .footer-content-home {
        grid-template-columns: 1fr;
        gap: 1.45rem;
    }

    .legal-section h2 {
        font-size: 24px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 16px;
    }
}

.blog-home-section {
    position: relative;
}

.blog-home-ad {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.blog-home-hero .hero-title {
    max-width: 13ch;
}

.blog-home-hero .hero-kicker {
    letter-spacing: 0;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.section-link {
    color: var(--forest);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.section-link:hover,
.section-link:focus {
    color: #233326;
    text-decoration: underline;
}

.section-intro {
    max-width: 76ch;
    color: var(--muted);
    line-height: 1.7;
}

.blog-home-grid.blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-home-grid .blog-card-media {
    min-height: 220px;
}

.blog-home-grid .blog-card-image {
    max-height: 240px;
}

.blog-home-grid .blog-card-title {
    font-size: 1.38rem;
}

.blog-home-grid-compact .blog-card-media {
    min-height: 190px;
}

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

.category-card {
    min-width: 0;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 241, 231, 0.96));
    box-shadow: var(--shadow-card);
}

.category-card {
    display: grid;
    gap: 0.6rem;
    padding: 1.25rem;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-card:focus {
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(45, 51, 46, 0.13);
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #667d69, #455b48);
}

.category-title {
    font-family: "Playfair Display", serif;
    color: var(--forest);
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
}

.category-description {
    color: var(--muted);
    line-height: 1.65;
}

.footer-link-list {
    display: grid;
    gap: 0.35rem;
}

@media (max-width: 1199.98px) {
    .blog-home-grid.blog-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .blog-home-hero .hero-title {
        max-width: 12ch;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-link {
        white-space: normal;
    }

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

/* Home editorial redesign */
body.home-page {
    background:
        linear-gradient(180deg, rgba(255, 253, 247, 0.74) 0%, rgba(246, 240, 228, 0) 420px),
        var(--color-bg);
    color: var(--color-text);
    font-family: "Inter", sans-serif;
}

body.home-page main {
    overflow: clip;
}

.navbar.sticky-top {
    position: static;
}

.navbar {
    min-height: 72px;
    background: rgba(255, 253, 247, 0.94) !important;
    border-bottom: 1px solid var(--color-border) !important;
    box-shadow: 0 1px 0 rgba(47, 82, 60, 0.04);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: "DM Serif Display", serif;
    font-size: 1.9rem;
    color: var(--color-text) !important;
}

.navbar-nav {
    gap: 0.15rem !important;
}

.nav-link {
    border-radius: 999px;
    padding: 0.48rem 0.72rem !important;
    color: var(--color-muted) !important;
    font-size: 0.94rem;
    font-weight: 600;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-primary-dark) !important;
    background: rgba(63, 107, 79, 0.08);
}

.home-container {
    max-width: 1220px;
}

.home-hero {
    padding: 72px 0;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.home-hero-copy {
    min-width: 0;
}

.home-eyebrow,
.section-lead {
    color: #617263;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 32px;
    margin-bottom: 1rem;
    padding: 0.34rem 0.72rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 253, 247, 0.7);
}

.home-hero-title {
    max-width: 11.5ch;
    margin: 0 0 1.15rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-text);
    text-wrap: balance;
}

.home-hero-lead {
    max-width: 660px;
    margin: 0 0 1.8rem;
    color: #4d5a50;
    font-size: clamp(1.05rem, 1.7vw, 1.18rem);
    line-height: 1.72;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-btn-primary,
.home-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0.78rem 1.22rem;
    font-size: 0.96rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-btn-primary {
    border: 1px solid var(--color-primary-dark);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 14px 28px rgba(47, 82, 60, 0.16);
}

.home-btn-primary:hover,
.home-btn-primary:focus {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(47, 82, 60, 0.2);
}

.home-btn-secondary {
    border: 1px solid var(--color-border);
    background: rgba(255, 253, 247, 0.76);
    color: var(--color-primary-dark);
}

.home-btn-secondary:hover,
.home-btn-secondary:focus {
    border-color: rgba(47, 82, 60, 0.28);
    background: var(--color-surface);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.home-start-card {
    position: relative;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 1.65rem);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(251, 246, 234, 0.96));
    box-shadow: var(--shadow-soft);
}

.home-start-head {
    margin-bottom: 1rem;
}

.home-start-head h2 {
    margin: 0.7rem 0 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    line-height: 1.08;
    color: var(--color-text);
}

.home-start-list {
    display: grid;
    gap: 0.72rem;
}

.home-start-link,
.popular-list-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.82rem;
    align-items: center;
    min-width: 0;
    padding: 0.86rem;
    border: 1px solid rgba(47, 82, 60, 0.1);
    border-radius: 18px;
    background: rgba(255, 253, 247, 0.76);
    color: var(--color-text);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-start-link:hover,
.home-start-link:focus,
.popular-list-item:hover,
.popular-list-item:focus {
    color: var(--color-text);
    border-color: rgba(47, 82, 60, 0.22);
    background: var(--color-surface);
    box-shadow: 0 12px 28px rgba(47, 82, 60, 0.08);
    transform: translateY(-2px);
}

.home-start-icon,
.popular-list-icon,
.home-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(63, 107, 79, 0.1);
    color: var(--color-primary);
    flex: 0 0 auto;
}

.home-start-link strong,
.popular-list-item strong {
    display: block;
    color: var(--color-text);
    font-size: 0.98rem;
    line-height: 1.25;
}

.home-start-link small,
.popular-list-item small {
    display: block;
    margin-top: 0.16rem;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.section-gap-sm {
    margin-top: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading-row {
    align-items: flex-end;
    margin-bottom: 1.7rem;
}

.section-heading-row-stacked {
    align-items: flex-start;
}

.decor-title {
    color: var(--color-text);
    font-size: clamp(2.2rem, 4vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-intro {
    margin-top: 0.7rem;
    color: var(--color-muted);
    font-size: 1.03rem;
}

.section-link,
.home-read-link,
.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.section-link:hover,
.section-link:focus,
.home-read-link:hover,
.home-read-link:focus,
.category-card:hover .category-link,
.category-card:focus .category-link {
    color: var(--color-primary);
    text-decoration: none;
}

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

.home-page .blog-home-grid .blog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-page .blog-home-grid .blog-card:hover,
.home-page .blog-home-grid .blog-card:focus-within {
    border-color: rgba(47, 82, 60, 0.22);
    box-shadow: 0 20px 44px rgba(47, 82, 60, 0.11);
    transform: translateY(-3px);
}

.home-page .blog-home-grid .blog-card-media {
    min-height: auto;
    aspect-ratio: 16 / 10;
    padding: 0.72rem;
    background:
        linear-gradient(180deg, rgba(251, 246, 234, 0.94), rgba(255, 253, 247, 0.98));
}

.home-page .blog-home-grid .blog-card-image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 16px;
}

.home-page .blog-home-grid .blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem 1.45rem 1.45rem;
}

.home-page .blog-home-grid .blog-card-title {
    font-size: clamp(1.24rem, 1.5vw, 1.42rem);
    line-height: 1.2;
}

.home-page .blog-home-grid .blog-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.home-page .blog-home-grid .btn-rabbit {
    align-self: flex-start;
    margin-top: auto;
}

.home-page .blog-post-meta {
    color: #788276;
    font-size: 0.84rem;
    font-weight: 700;
}

.popular-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 1.25rem;
}

.popular-featured-card,
.home-trust-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.popular-featured-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.94fr) minmax(0, 1fr);
    overflow: hidden;
}

.popular-featured-media {
    display: block;
    min-height: 100%;
    padding: 0.8rem;
    background: var(--color-surface-2);
}

.popular-featured-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

.popular-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(1.35rem, 3vw, 2rem);
}

.popular-featured-body h3 {
    margin: 0 0 0.7rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.popular-featured-body h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.popular-featured-body h3 a:hover,
.popular-featured-body h3 a:focus {
    color: var(--color-primary-dark);
}

.popular-featured-body p:not(.blog-post-meta) {
    color: var(--color-muted);
    line-height: 1.66;
}

.popular-list {
    display: grid;
    align-content: stretch;
    gap: 0.85rem;
}

.category-grid {
    gap: 1.15rem;
}

.category-card {
    position: relative;
    gap: 0.76rem;
    min-height: 238px;
    padding: 1.45rem;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover,
.category-card:focus {
    border-color: rgba(47, 82, 60, 0.24);
    box-shadow: 0 20px 44px rgba(47, 82, 60, 0.11);
    transform: translateY(-3px);
}

.category-icon {
    width: 48px;
    height: 48px;
    background: rgba(63, 107, 79, 0.1);
    color: var(--color-primary);
}

.category-title {
    color: var(--color-text);
    font-size: 1.42rem;
}

.category-description {
    color: var(--color-muted);
    font-size: 0.96rem;
}

.category-link {
    margin-top: auto;
    font-size: 0.92rem;
}

.home-trust-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr);
    gap: clamp(1.2rem, 4vw, 2rem);
    padding: clamp(1.35rem, 4vw, 2.25rem);
    background:
        linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(251, 246, 234, 0.98));
}

.home-trust-intro p:not(.section-lead) {
    color: var(--color-muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-trust-card {
    min-width: 0;
    padding: 1.12rem;
    border: 1px solid rgba(47, 82, 60, 0.1);
    border-radius: 18px;
    background: rgba(255, 253, 247, 0.72);
}

.home-trust-card h3 {
    margin: 0.8rem 0 0.46rem;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.home-trust-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.58;
}

.blog-home-ad {
    max-width: 1220px;
    margin-top: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}

.blog-home-partner {
    display: flex;
    justify-content: center;
}

.ad-slot--partner-logo {
    margin-top: 0;
    margin-bottom: 0;
}

.home-page .ad-slot {
    color: #7a857a;
}

.home-page .ad-slot-frame {
    border: 1px solid rgba(47, 82, 60, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 253, 247, 0.82), rgba(251, 246, 234, 0.88));
}

.home-page .ad-slot-placeholder strong {
    color: var(--color-primary-dark);
}

@media (max-width: 1199.98px) {
    .home-page .blog-home-grid.blog-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .popular-layout,
    .home-trust-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 48px 0;
    }

    .home-hero-grid,
    .popular-featured-card {
        grid-template-columns: 1fr;
    }

    .home-hero-title {
        max-width: 13ch;
    }

    .popular-featured-media img {
        min-height: 260px;
    }

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

@media (max-width: 767.98px) {
    .navbar {
        min-height: 64px;
    }

    .navbar-brand {
        font-size: 1.55rem;
    }

    .navbar-collapse {
        padding: 0.75rem 0 0.35rem;
    }

    .home-hero {
        padding: 38px 0 34px;
    }

    .home-hero-title {
        max-width: none;
        font-size: clamp(2.55rem, 14vw, 3.25rem);
    }

    .home-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-btn-primary,
    .home-btn-secondary {
        width: 100%;
    }

    .home-start-card,
    .popular-featured-card,
    .home-trust-panel {
        border-radius: 22px;
    }

    .home-page .blog-home-grid.blog-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-link {
        white-space: normal;
    }

    .category-card {
        min-height: 0;
    }

    .footer-content-home {
        grid-template-columns: 1fr;
    }
}
