/*
 * grove-press — Theme CSS
 * Visual DNA transferred from: Milky Dairy Website Template
 * Palette: Forest Green #5B8C51, Golden Yellow #EDDD5E, Dark Moss #404A3D
 * Typography: Georgia serif headings + system sans body (editorial)
 */

:root {
    --primary:    #5B8C51;
    --secondary:  #EDDD5E;
    --dark:       #404A3D;
    --light:      #F7F7F5;
    --mid:        #E8E8E2;
    --text:       #2C302A;
    --text-muted: #6B7268;
    --white:      #FFFFFF;
    --border:     #D4D8CF;

    --font-heading: Georgia, 'Cambria', 'Times New Roman', serif;
    --font-body:    'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

    --section-pad: 5rem 0;
    --container-max: 1200px;
    --radius: 6px;
    --shadow: 0 0 40px rgba(64,74,61,.09);
    --shadow-lg: 0 4px 60px rgba(64,74,61,.14);
}

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.72;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.22;
    color: var(--dark);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; }

/* ─── UTILITY ──────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ─── SECTION TITLE (signature from source: double horizontal lines) ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--primary);
}

.section-label::before { width: 2.5rem; }
.section-label::after  { width: 3.5rem; }

.section-label.label-dark {
    color: var(--secondary);
}
.section-label.label-dark::before,
.section-label.label-dark::after {
    background: var(--secondary);
}

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s;
    border: 2px solid transparent;
    line-height: 1;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}
.btn-secondary:hover {
    background: #d4c440;
    border-color: #d4c440;
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

/* ─── TOPBAR ───────────────────────────────────────────── */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    padding: .55rem 0;
    display: none; /* hidden on mobile */
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar a {
    color: rgba(255,255,255,.75);
    transition: color .2s;
}
.topbar a:hover { color: var(--secondary); }

.topbar-domain {
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: .06em;
}

.topbar-tagline {
    font-style: italic;
    opacity: .7;
}

@media (min-width: 768px) {
    .topbar { display: block; }
}

/* ─── HEADER / NAVBAR ──────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -.02em;
}

.navbar-brand-name span {
    color: var(--primary);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
}

.navbar-nav a {
    display: block;
    padding: .5rem .85rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius);
    transition: color .2s, background .2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary);
    background: rgba(91,140,81,.08);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    border-radius: var(--radius);
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: transform .3s, opacity .3s;
}

.navbar-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
    .navbar-toggle { display: flex; }

    .navbar-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        border-top: 2px solid var(--primary);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
    }

    .navbar-nav.open { display: flex; }

    .navbar-nav a {
        width: 100%;
        padding: .7rem .5rem;
        border-radius: 0;
        border-bottom: 1px solid var(--mid);
        font-size: 1rem;
    }

    .navbar-nav li:last-child a { border-bottom: none; }
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
    background: var(--dark);
    overflow: hidden;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 520px;
}

.hero-content {
    padding: 5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--secondary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-subtitle p { margin-bottom: 0; color: inherit; }

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero decorative panel */
.hero-deco {
    display: none;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.hero-deco::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(237,221,94,.15);
}

.hero-deco::after {
    content: '';
    position: absolute;
    left: -40px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(64,74,61,.3);
}

.hero-deco-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: .5rem;
    padding: 2.5rem;
    z-index: 1;
}

.hero-deco-cell {
    background: rgba(255,255,255,.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-deco-cell:nth-child(2) {
    background: rgba(237,221,94,.25);
}

.hero-deco-cell.tall {
    grid-row: span 2;
    background: rgba(64,74,61,.4);
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 55% 45%;
    }
    .hero-content {
        padding: 6rem 0 6rem 0;
        max-width: var(--container-max);
        margin: 0 auto;
        padding-left: calc((100vw - var(--container-max)) / 2 + 1.5rem);
    }
    .hero-deco { display: block; }
}

/* ─── LATEST POSTS ─────────────────────────────────────── */
.posts-section {
    padding: var(--section-pad);
    background: var(--white);
}

.posts-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.posts-header-left { flex: 1; }

.posts-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 0;
}

/* Editorial layout: 1 featured + 2 secondary */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: auto auto;
    }

    .post-card.featured {
        grid-row: span 2;
    }
}

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .3s, transform .3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.post-card-img {
    overflow: hidden;
    background: var(--mid);
    aspect-ratio: 16/9;
}

.post-card.featured .post-card-img {
    aspect-ratio: 4/3;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.post-card:hover .post-card-img img {
    transform: scale(1.04);
}

.post-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card.featured .post-card-body {
    padding: 2rem;
}

.post-card-date {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.post-card-date::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--secondary);
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: .75rem;
    line-height: 1.3;
}

.post-card.featured .post-card-title {
    font-size: 1.55rem;
}

.post-card-title a {
    color: var(--dark);
    text-decoration: none;
}

.post-card-title a:hover { color: var(--primary); }

.post-card-excerpt {
    font-size: .9rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1.25rem;
}

.post-card-excerpt p { color: inherit; font-size: inherit; }

.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    margin-top: auto;
}

.post-read-more::after {
    content: '→';
    transition: transform .2s;
}

.post-read-more:hover::after {
    transform: translateX(4px);
}

/* ─── TOPICS SECTION ────────────────────────────────────── */
.topics-section {
    padding: var(--section-pad);
    background: var(--light);
}

.topics-intro {
    max-width: 680px;
    margin-bottom: 3.5rem;
}

.topics-intro h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: .75rem;
}

/* Alternating topic blocks (signature from source: 2-col split layouts) */
.topic-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    background: var(--white);
}

.topic-block:last-child { margin-bottom: 0; }

.topic-block-accent {
    background: var(--primary);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.topic-block-accent::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(237,221,94,.2);
}

.topic-block:nth-child(even) .topic-block-accent {
    background: var(--secondary);
}

.topic-block-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255,255,255,.2);
    margin-bottom: .25rem;
}

.topic-block:nth-child(even) .topic-block-num {
    color: rgba(64,74,61,.15);
}

.topic-block-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.topic-block:nth-child(even) .topic-block-name {
    color: var(--dark);
}

.topic-block-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topic-block-desc {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.topic-block-desc p { color: inherit; font-size: inherit; }

@media (min-width: 600px) {
    .topic-block {
        grid-template-columns: 240px 1fr;
    }

    .topic-block:nth-child(even) {
        grid-template-columns: 1fr 240px;
    }

    .topic-block:nth-child(even) .topic-block-accent {
        order: 2;
    }

    .topic-block:nth-child(even) .topic-block-body {
        order: 1;
    }
}

@media (min-width: 1024px) {
    .topic-block { grid-template-columns: 320px 1fr; }
    .topic-block:nth-child(even) { grid-template-columns: 1fr 320px; }
}

/* ─── FAQ SECTION ──────────────────────────────────────── */
.faq-section {
    padding: var(--section-pad);
    background: var(--dark);
}

.faq-section .section-label { color: var(--secondary); }
.faq-section .section-label::before,
.faq-section .section-label::after { background: var(--secondary); }

.faq-section h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .faq-grid { grid-template-columns: 1fr 1fr; }
}

.faq-item {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: background .25s;
}

.faq-item:hover {
    background: rgba(255,255,255,.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.4rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color .2s;
}

.faq-question:hover { color: var(--secondary); }

.faq-question[aria-expanded="true"] { color: var(--secondary); }

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: .65rem;
    transition: transform .3s;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s;
    padding: 0 1.75rem;
}

.faq-answer.open {
    max-height: 800px;
    padding: 0 1.75rem 1.5rem;
}

.faq-answer-inner {
    font-size: .92rem;
    color: rgba(255,255,255,.7);
    line-height: 1.75;
    padding-top: .25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1rem;
}

.faq-answer-inner p { color: inherit; font-size: inherit; margin-bottom: .75rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ─── BLOG INDEX ───────────────────────────────────────── */
.blog-index-section {
    padding: var(--section-pad);
}

.blog-header {
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── PAGINATION ───────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--dark);
    border: 2px solid var(--border);
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination a.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-prev,
.pagination-next {
    font-weight: 700;
}

/* ─── POST SINGLE ──────────────────────────────────────── */
.post-single {
    padding: 4rem 0 6rem;
}

.post-single-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .post-single-inner {
        max-width: 100%;
        grid-template-columns: 1fr 280px;
        align-items: start;
    }
}

.post-article {
    min-width: 0;
}

.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 1.5rem;
}

.post-meta-bar::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: var(--secondary);
}

.post-single-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.post-cover {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}

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

.post-excerpt-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-style: italic;
    border-left: 4px solid var(--secondary);
    padding: .75rem 1.5rem;
    margin-bottom: 2rem;
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.post-excerpt-lead p { color: inherit; font-size: inherit; }

/* Post content typography */
.post-content {
    font-size: 1.02rem;
    line-height: 1.82;
    color: var(--text);
}

.post-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--mid);
}

.post-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 .75rem;
    color: var(--primary);
}

.post-content h4 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }

.post-content p { margin-bottom: 1.25rem; }

.post-content ul,
.post-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.post-content li { margin-bottom: .4rem; }

.post-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.5rem;
    background: var(--light);
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.post-content img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .92rem;
}

.post-content th,
.post-content td {
    padding: .6rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}

.post-content th {
    background: var(--light);
    font-weight: 700;
}

.post-content tr:nth-child(even) td {
    background: var(--light);
}

/* Post sidebar */
.post-sidebar {
    position: sticky;
    top: 88px;
}

.sidebar-widget {
    background: var(--light);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.sidebar-widget h4 {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--secondary);
}

/* ─── PAGE (O PORTALU etc.) ─────────────────────────────── */
.page-single {
    padding: 4rem 0 6rem;
}

.page-header-block {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 0 3rem;
    margin-bottom: 3rem;
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0;
}

.page-content {
    max-width: 780px;
    font-size: 1.02rem;
    line-height: 1.82;
}

.page-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; color: var(--primary); }
.page-content h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.page-content p  { margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.page-content li { margin-bottom: .4rem; }
.page-content a  { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.page-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.5rem;
    background: var(--white);
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
}

/* ─── FOOTER ───────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,.75);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .5rem;
}

.footer-brand-name span { color: var(--secondary); }

.footer-tagline {
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--secondary);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-email:hover { color: var(--white); }

.footer-col h5 {
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(237,221,94,.2);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-nav a {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    transition: color .2s;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

/* ─── BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    font-size: 1.1rem;
    transition: background .2s, transform .2s;
    text-decoration: none;
}

.back-to-top:hover {
    background: var(--dark);
    transform: translateY(-2px);
    color: var(--secondary);
}

.back-to-top.show { display: flex; }

/* ─── FOCUS STYLES ─────────────────────────────────────── */
:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ─── SKIP LINK ────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: .5rem 1rem;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 700;
    z-index: 9999;
    text-decoration: none;
}

.skip-link:focus { top: 0; }

/* ─── RESPONSIVE ADJUSTMENTS ───────────────────────────── */
@media (max-width: 480px) {
    .posts-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        padding: 3.5rem 1.5rem 3rem;
    }

    .topic-block-accent,
    .topic-block-body {
        padding: 1.75rem;
    }
}

/* ─── PRINT ────────────────────────────────────────────── */
@media print {
    .topbar,
    .site-header,
    .site-footer,
    .back-to-top,
    .faq-chevron { display: none !important; }
    body { font-size: 12pt; }
    a { color: inherit; text-decoration: underline; }
}
