/* ═══════════════════════════════════════════════
   RASA ARTICLES — Shared Editorial Stylesheet
   Matching the Rasa design DNA
   ═══════════════════════════════════════════════ */

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

:root {
    --bg: #0A0A0A;
    --bg-surface: #111111;
    --bg-surface-raised: #181410;
    --paws-amber: #D4791A;
    --paws-amber-light: #E8A84C;
    --paws-gold: #C8973E;
    --paws-copper: #A0522D;
    --saffron: #F5A623;
    --blush: #F2DDD0;
    --blush-muted: #E8D0C0;
    --rose-gold: #D4A89A;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.65);
    --text-muted: rgba(255,255,255,0.4);
    --text-subtle: rgba(255,255,255,0.2);
    --herb: #4CAF50;
    --caution: #FF9800;
    --danger: #E63946;
    --font-primary: 'Syne', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-editorial: 'Cormorant Garamond', serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.article-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(10,10,10,0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(212,121,26,0.08);
}
.article-nav__logo {
    font-family: var(--font-editorial);
    font-size: 1.5rem; font-weight: 500; font-style: italic;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--paws-gold) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-decoration: none;
}
.article-nav__links { display: flex; align-items: center; gap: 24px; }
.article-nav__link {
    font-family: var(--font-mono); font-size: 0.58rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none; transition: color 0.3s;
}
.article-nav__link:hover { color: var(--paws-amber); }
.article-nav__link--paws { color: var(--paws-amber); }

/* For children-focused articles */
.article-nav__link--kids { color: rgba(76,175,80,0.75); }

/* ── Reading Progress Bar ── */
.reading-progress {
    position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
    background: linear-gradient(90deg, var(--paws-amber), var(--paws-gold));
    width: 0%; transition: width 0.1s linear;
}
.reading-progress--kids {
    background: linear-gradient(90deg, rgba(76,175,80,0.8), rgba(129,199,132,1));
}

/* ── Hero ── */
.article-hero {
    position: relative;
    padding: 160px 24px 80px;
    max-width: 800px; margin: 0 auto;
    text-align: center;
}
.article-hero::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(212,121,26,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.article-hero--kids::before {
    background: radial-gradient(ellipse, rgba(76,175,80,0.05) 0%, transparent 70%);
}
.article-hero__breadcrumb {
    font-family: var(--font-mono); font-size: 0.55rem;
    letter-spacing: 0.15em; color: var(--text-muted);
    margin-bottom: 2rem;
}
.article-hero__breadcrumb a {
    color: var(--text-muted); text-decoration: none; transition: color 0.3s;
}
.article-hero__breadcrumb a:hover { color: var(--paws-amber); }
.article-hero__category {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.5rem;
    letter-spacing: 0.25em; text-transform: uppercase;
    padding: 6px 18px; border-radius: 100px;
    background: rgba(212,121,26,0.1); border: 1px solid rgba(212,121,26,0.25);
    color: var(--paws-amber); margin-bottom: 2rem;
}
.article-hero__category--kids {
    background: rgba(76,175,80,0.08); border-color: rgba(76,175,80,0.22);
    color: rgba(76,175,80,0.75);
}
.article-hero__category::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--paws-amber);
}
.article-hero__category--kids::before { background: rgba(76,175,80,0.7); }
.article-hero__title {
    font-family: var(--font-editorial);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 400; line-height: 1.15;
    color: var(--blush); margin-bottom: 1.2rem;
}
.article-hero__title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--paws-amber), var(--paws-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.article-hero--kids .article-hero__title em {
    background: linear-gradient(135deg, rgba(76,175,80,0.85), rgba(129,199,132,1));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.article-hero__subtitle {
    font-family: var(--font-editorial);
    font-size: 1.1rem; font-weight: 300; font-style: italic;
    color: var(--rose-gold); line-height: 1.7;
    max-width: 560px; margin: 0 auto 2rem;
}
.article-hero__meta {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    font-family: var(--font-mono); font-size: 0.52rem;
    letter-spacing: 0.1em; color: var(--text-muted);
}
.article-hero__meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(212,121,26,0.4); }

/* ── Article Body ── */
.article-body {
    max-width: 720px; margin: 0 auto;
    padding: 0 24px 80px;
    position: relative;
}
.article-body p {
    font-family: var(--font-editorial);
    font-size: 1.12rem; font-weight: 400;
    line-height: 1.95; color: var(--text-secondary);
    margin-bottom: 1.8rem;
}
.article-body p strong { color: var(--blush); font-weight: 500; }
.article-body h2 {
    font-family: var(--font-editorial);
    font-size: 1.8rem; font-weight: 500;
    color: var(--blush); margin: 3.5rem 0 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212,121,26,0.1);
}
.article-body h3 {
    font-family: var(--font-editorial);
    font-size: 1.3rem; font-weight: 500;
    color: rgba(240,215,190,0.85); margin: 2rem 0 0.8rem;
}
.article-body ul, .article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.8rem;
}
.article-body li {
    font-family: var(--font-editorial);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ── Science Callout ── */
.science-callout {
    background: rgba(212,121,26,0.06);
    border: 1px solid rgba(212,121,26,0.15);
    border-left: 3px solid var(--paws-amber);
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    margin: 2rem 0;
}
.science-callout--kids {
    background: rgba(76,175,80,0.05);
    border-color: rgba(76,175,80,0.15);
    border-left-color: rgba(76,175,80,0.6);
}
.science-callout__label {
    font-family: var(--font-mono);
    font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--paws-amber); margin-bottom: 0.6rem;
}
.science-callout--kids .science-callout__label { color: rgba(76,175,80,0.75); }
.science-callout p {
    font-size: 0.95rem !important;
    color: rgba(240,215,190,0.75) !important;
    line-height: 1.8 !important;
    margin-bottom: 0 !important;
}

/* ── Key Fact Box ── */
.key-fact {
    display: flex; align-items: flex-start; gap: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.key-fact__icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(212,121,26,0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1rem;
}
.key-fact__text {
    font-family: var(--font-editorial);
    font-size: 0.95rem; line-height: 1.7;
    color: var(--text-secondary);
}
.key-fact__text strong { color: var(--paws-amber-light); }

/* ── Dosage / Data Table ── */
.dosage-table-wrap {
    margin: 2rem 0;
    border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(212,121,26,0.15);
}
.dosage-table {
    width: 100%; border-collapse: collapse;
}
.dosage-table thead th {
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--paws-amber);
    background: rgba(212,121,26,0.08);
    border-bottom: 1px solid rgba(212,121,26,0.1);
    text-align: left;
}
.dosage-table tbody td {
    padding: 14px 16px;
    font-family: var(--font-editorial);
    font-size: 0.95rem; color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dosage-table tbody tr:last-child td { border-bottom: none; }
.dosage-table tbody tr:hover { background: rgba(212,121,26,0.03); }

/* ── Safety Badges ── */
.safety-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 100px;
    font-family: var(--font-mono); font-size: 0.5rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin: 0.5rem 0 1rem;
}
.safety-badge--safe {
    background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.3); color: var(--herb);
}
.safety-badge--safe::before { content: '✓'; font-weight: 700; }
.safety-badge--caution {
    background: rgba(255,152,0,0.1); border: 1px solid rgba(255,152,0,0.3); color: var(--caution);
}
.safety-badge--caution::before { content: '⚠'; }
.safety-badge--danger {
    background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); color: var(--danger);
}
.safety-badge--danger::before { content: '✕'; font-weight: 700; }

/* ── Spice Safety Matrix ── */
.spice-matrix {
    margin: 2rem 0;
}
.spice-matrix__group {
    margin-bottom: 1.5rem;
}
.spice-matrix__group-title {
    font-family: var(--font-mono);
    font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
    margin-bottom: 0.8rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.spice-matrix__group-title--safe { color: var(--herb); }
.spice-matrix__group-title--caution { color: var(--caution); }
.spice-matrix__group-title--never { color: var(--danger); }
.spice-matrix__items {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.6rem;
}
.spice-matrix__item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px; padding: 0.8rem 1rem;
}
.spice-matrix__item-name {
    font-family: var(--font-editorial);
    font-size: 1rem; font-weight: 500; color: var(--blush);
    margin-bottom: 0.2rem;
}
.spice-matrix__item-latin {
    font-family: var(--font-mono); font-size: 0.45rem;
    letter-spacing: 0.1em; color: var(--text-muted); font-style: italic;
    margin-bottom: 0.3rem;
}
.spice-matrix__item-note {
    font-family: var(--font-editorial);
    font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5;
}
.spice-matrix__item--safe { border-left: 2px solid rgba(76,175,80,0.4); }
.spice-matrix__item--caution { border-left: 2px solid rgba(255,152,0,0.4); }
.spice-matrix__item--never { border-left: 2px solid rgba(230,57,70,0.4); }

/* ── Recipe Card Embed ── */
.recipe-embed {
    background: linear-gradient(135deg, rgba(212,121,26,0.08) 0%, rgba(15,12,10,0.9) 100%);
    border: 1px solid rgba(212,121,26,0.2);
    border-radius: 20px; padding: 2rem;
    margin: 3rem 0; text-align: center;
}
.recipe-embed__eyebrow {
    font-family: var(--font-mono); font-size: 0.5rem;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--paws-amber); margin-bottom: 1rem;
}
.recipe-embed__title {
    font-family: var(--font-editorial); font-size: 1.6rem;
    font-weight: 500; color: var(--blush); margin-bottom: 0.5rem;
}
.recipe-embed__desc {
    font-family: var(--font-editorial); font-size: 0.95rem;
    font-style: italic; color: var(--rose-gold); margin-bottom: 1.5rem;
}
.recipe-embed__cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 100px;
    background: rgba(212,121,26,0.12); border: 1px solid rgba(212,121,26,0.35);
    color: var(--paws-amber); text-decoration: none;
    font-family: var(--font-mono); font-size: 0.55rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    transition: all 0.3s;
}
.recipe-embed__cta:hover {
    background: rgba(212,121,26,0.2); border-color: rgba(212,121,26,0.5);
    transform: translateY(-2px);
}

/* ── Vet / Medical Disclaimer ── */
.vet-disclaimer {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex; gap: 14px;
}
.vet-disclaimer__icon { font-size: 1.2rem; flex-shrink: 0; }
.vet-disclaimer p {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

/* ── CTA Section ── */
.article-cta-section {
    position: relative; padding: 5rem 24px;
    text-align: center;
    border-top: 1px solid rgba(212,121,26,0.08);
}
.article-cta-section::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(212,121,26,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.article-cta__title {
    font-family: var(--font-editorial); font-size: 1.8rem;
    font-weight: 400; color: var(--blush); margin-bottom: 0.8rem;
}
.article-cta__subtitle {
    font-family: var(--font-editorial); font-size: 1rem;
    font-style: italic; color: var(--text-muted); margin-bottom: 2rem;
}
.article-cta__btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; border-radius: 100px;
    background: rgba(212,121,26,0.12); border: 1px solid rgba(212,121,26,0.35);
    color: var(--paws-amber); text-decoration: none;
    font-family: var(--font-mono); font-size: 0.6rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    transition: all 0.4s; position: relative; overflow: hidden;
}
.article-cta__btn::after {
    content: ''; position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,121,26,0.1), transparent);
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -100%; } 50%, 100% { left: 200%; } }
.article-cta__btn:hover {
    background: rgba(212,121,26,0.2);
    border-color: rgba(212,121,26,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(212,121,26,0.1);
}

/* ── Related Articles ── */
.related-section { padding: 0 24px 5rem; max-width: 800px; margin: 0 auto; }
.related-section__title {
    font-family: var(--font-mono); font-size: 0.55rem;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--text-muted); text-align: center; margin-bottom: 2rem;
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.related-card {
    background: rgba(18,14,10,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px; padding: 1.5rem;
    text-decoration: none; transition: all 0.3s;
}
.related-card:hover { border-color: rgba(212,121,26,0.2); transform: translateY(-3px); }
.related-card__tag {
    font-family: var(--font-mono); font-size: 0.45rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--paws-amber); margin-bottom: 0.6rem;
}
.related-card__title {
    font-family: var(--font-editorial); font-size: 1.05rem;
    font-weight: 500; color: var(--blush); line-height: 1.4; margin-bottom: 0.4rem;
}
.related-card__desc {
    font-family: var(--font-editorial); font-size: 0.78rem;
    color: var(--text-muted); line-height: 1.6;
}

/* ── Footer ── */
.article-footer {
    text-align: center; padding: 2rem 24px 3rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.article-footer__brand {
    font-family: var(--font-editorial); font-size: 1.6rem;
    font-style: italic; font-weight: 500;
    background: linear-gradient(135deg, var(--saffron), var(--paws-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.article-footer__tagline {
    font-family: var(--font-editorial); font-size: 0.8rem;
    font-style: italic; color: var(--text-subtle);
}

/* ── Responsive ── */
@media (max-width: 700px) {
    .article-nav__links { gap: 14px; }
    .article-nav__link { font-size: 0.5rem; }
    .related-grid { grid-template-columns: 1fr; }
    .article-hero { padding: 130px 18px 60px; }
    .spice-matrix__items { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .article-hero__meta { flex-wrap: wrap; gap: 12px; }
    .dosage-table thead th, .dosage-table tbody td { padding: 10px 12px; font-size: 0.82rem; }
}
