/* CorgiDojo - Clean, Elegant Styles */

:root {
    --primary: #d4a574;
    --primary-dark: #b8956a;
    --secondary: #5a7a6b;
    --accent: #c56b4a;
    --accent-dark: #a8543a;
    --warn: #c0492b;
    --text: #3d3d3d;
    --text-light: #6b6b6b;
    --bg: #faf9f7;
    --bg-alt: #f5f3ef;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    height: 2.1em;
    width: auto;
    display: block;
}

.footer-icon {
    height: 1.6em;
    width: auto;
    vertical-align: -0.5em;
    margin-right: 0.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* Hero Section */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* Featured / Gallery */
.featured, .highlights {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.featured h2, .highlights h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text);
}

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

.gallery-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Expanded Gallery (3x3 grid) */
.gallery-expanded {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-expanded .gallery-item img {
    height: 220px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-grid.two-up {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    text-decoration: underline;
}

/* Recipe Page Styles */
.page-header {
    background: var(--bg-alt);
    padding: 3rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.recipe-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.recipe-card h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-alt);
}

.recipe-card h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem;
}

.ingredients-list {
    list-style: none;
}

.ingredients-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-alt);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ingredients-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
}

.instructions ol {
    padding-left: 1.5rem;
}

.instructions li {
    padding: 0.75rem 0;
    color: var(--text);
}

.note-box {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.note-box h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Placeholder Page */
.placeholder {
    max-width: 600px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
    text-align: center;
}

.placeholder h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.placeholder p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--text);
    color: var(--bg);
    padding: 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
}

.disclaimer a {
    color: inherit;
    text-decoration: underline;
    white-space: nowrap;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--bg-alt);
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-expanded {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-expanded .gallery-item img {
        height: 180px;
    }

    .card-grid,
    .card-grid.two-up {
        grid-template-columns: 1fr;
    }

    .featured, .highlights {
        padding: 2rem 1.5rem;
    }

    .recipe-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.875rem 1.5rem;
    }
}

/* =========================================================
   EXTENDED COMPONENTS
   Added for the fleshed-out informational site.
   ========================================================= */

/* Buttons — secondary / ghost variants */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

/* Hero eyebrow / badges */
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

/* Quick-facts stat band */
.stat-band {
    background: var(--secondary);
    color: var(--white);
}

.stat-band-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.stat .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.25rem;
    display: block;
}

/* Generic section wrapper + intro */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-narrow {
    max-width: 820px;
}

.section h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

.section-alt {
    background: var(--bg-alt);
}

/* Article cards / listing grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

.article-card .thumb {
    height: 180px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.article-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.article-card h3 {
    color: var(--text);
    margin: 0.5rem 0 0.5rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.article-card .read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.article-card .read-more:hover {
    text-decoration: underline;
}

/* Tag / pill */
.tag {
    display: inline-block;
    background: rgba(197, 107, 74, 0.12);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    align-self: flex-start;
}

.tag.tag-sage { background: rgba(90, 122, 107, 0.14); color: var(--secondary); }
.tag.tag-tan { background: rgba(184, 149, 106, 0.18); color: var(--primary-dark); }

/* Filter bar */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--bg-alt);
    color: var(--text-light);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

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

.filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

/* Breadcrumb */
.breadcrumb {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Article page layout */
.article-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.article-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0.75rem 0 1rem;
    color: var(--text);
}

.article-hero .lede {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 1rem;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.article-figure {
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
}

.article-figure img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: 420px;
    object-fit: cover;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
    font-size: 1.08rem;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 2.25rem 0 0.75rem;
    color: var(--text);
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.5rem;
    color: var(--secondary);
}

.article-body p { margin-bottom: 1.1rem; }

.article-body ul, .article-body ol {
    margin: 0 0 1.25rem 1.25rem;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body strong { color: var(--text); }

.key-takeaway {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0 2rem;
}

.key-takeaway h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Callout boxes */
.callout {
    border-left: 4px solid var(--primary);
    background: var(--bg-alt);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
}

.callout p:last-child { margin-bottom: 0; }

.callout .callout-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: block;
}

.callout.tip { border-left-color: var(--secondary); }
.callout.tip .callout-title { color: var(--secondary); }

.callout.warn { border-left-color: var(--warn); background: rgba(192, 73, 43, 0.06); }
.callout.warn .callout-title { color: var(--warn); }

.callout.vet { border-left-color: var(--accent); background: rgba(197, 107, 74, 0.06); }
.callout.vet .callout-title { color: var(--accent-dark); }

/* Data tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.98rem;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th, .data-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-alt);
    vertical-align: top;
}

.data-table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: var(--bg-alt); }

.table-scroll { overflow-x: auto; }

/* Health condition cards */
.condition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.condition-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border-top: 4px solid var(--primary);
}

.condition-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.condition-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0.75rem; }

.severity {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.severity.high { background: rgba(192, 73, 43, 0.14); color: var(--warn); }
.severity.moderate { background: rgba(184, 149, 106, 0.2); color: var(--primary-dark); }
.severity.manage { background: rgba(90, 122, 107, 0.16); color: var(--secondary); }

/* FAQ accordion */
.faq { max-width: 720px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-q::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    color: var(--text-light);
}

.faq-item.open .faq-a {
    padding: 0 1.5rem 1.25rem;
    max-height: 600px;
}

/* Resources — product categories */
.resource-category { margin-bottom: 3rem; }

.resource-category > h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-alt);
}

.resource-category > p.cat-intro {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-card .product-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.product-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--text); }

.product-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 1rem; flex-grow: 1; }

.product-card .why {
    font-size: 0.85rem;
    color: var(--secondary);
    background: rgba(90, 122, 107, 0.08);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card .product-cta {
    display: inline-block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 0.65rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.product-card .product-cta:hover { background: var(--primary-dark); }

/* Newsletter capture */
.newsletter {
    background: var(--secondary);
    color: var(--white);
}

.newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.newsletter h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 0.5rem; }
.newsletter p { opacity: 0.9; margin-bottom: 1.75rem; }

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.9rem 1.1rem;
    border: none;
    border-radius: var(--radius);
    font: inherit;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-form button:hover { background: var(--accent-dark); }

.newsletter .form-note { font-size: 0.8rem; opacity: 0.75; margin-top: 0.9rem; margin-bottom: 0; }

.newsletter .form-success { margin-top: 1rem; font-weight: 600; }

/* Related articles */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.related-card .tag { margin-bottom: 0.5rem; }
.related-card h4 { font-size: 1rem; line-height: 1.3; }

/* Disclaimer / sources */
.sources-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--text-light);
}

.sources-box h4 { color: var(--text); margin-bottom: 0.5rem; }
.sources-box ul { margin: 0 0 0 1.1rem; }
.sources-box li { margin-bottom: 0.35rem; }
.sources-box a { color: var(--accent); }

/* CTA band */
.cta-band {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-band-inner { max-width: 640px; margin: 0 auto; padding: 3rem 1.5rem; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-bottom: 1.5rem; opacity: 0.95; }
.cta-band .btn-primary { background: var(--white); color: var(--primary-dark); }
.cta-band .btn-primary:hover { background: var(--bg-alt); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
    cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.lightbox .lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.gallery-item { cursor: zoom-in; }

/* Footer expansion */
.footer-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: var(--bg);
    text-decoration: none;
    opacity: 0.85;
    font-size: 0.95rem;
}

.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* Responsive — extended components */
@media (max-width: 768px) {
    .stat-band-inner { grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1rem; }
    .article-grid { grid-template-columns: 1fr; }
    .condition-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .article-hero h1 { font-size: 2rem; }
    .newsletter-form { flex-direction: column; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 480px) {
    .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
    .article-body { font-size: 1rem; }
}

/* Inactive affiliate slots stay hidden until a program approves us (see docs/affiliate-rollout.md). */
[hidden] { display: none !important; }
