/* ============================================================
   seo-article.css — Shared styles for BettrHue guide pages
   Targets: what-is-color-analysis, color-seasons-guide,
            soft-autumn-vs-deep-autumn, colors-to-avoid
   ============================================================ */

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

:root {
    --bg: #14080B;
    --bg-soft: #1A0B10;
    --gold: #D4AF37;
    --gold-light: rgba(212,175,55,0.12);
    --text: #F9F1EB;
    --muted: #C8B09F;
    --border: rgba(212,175,55,0.18);
    --border-subtle: rgba(255,255,255,0.06);
    --max: 780px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; }

/* ---- NAV ---- */
.nav {
    padding: 22px 6vw;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky; top: 0; z-index: 100;
    background: rgba(20,8,11,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600;
    background: linear-gradient(110deg,#C97B7B 0%,#D4956A 22%,#D4AF37 44%,#7BB89A 66%,#9B84C4 88%,#C97B7B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: shimmer 6s linear infinite;
    text-decoration: none;
}
@keyframes shimmer { 0%{background-position:0% center} 100%{background-position:200% center} }
.nav-cta {
    display: inline-block; padding: 10px 22px;
    background: var(--gold); color: #14080B;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px;
    border-radius: 4px; text-decoration: none;
    transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
    padding: 14px 6vw;
    font-size: 0.78rem; color: var(--muted);
    border-bottom: 1px solid var(--border-subtle);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---- ARTICLE WRAP ---- */
.article-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 64px 24px 100px;
}

/* Article label pill */
.article-label {
    display: inline-block;
    padding: 5px 16px;
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 24px;
}

/* ---- HEADINGS ---- */
h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 500; line-height: 1.1;
    margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--gold); }

.article-intro {
    font-size: 1.1rem; font-weight: 300; color: var(--muted);
    line-height: 1.85; margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 500; margin: 52px 0 18px;
    line-height: 1.15;
}
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 500;
    margin: 30px 0 12px; color: var(--text);
}
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 500;
    color: var(--text); margin-bottom: 8px;
}

/* ---- BODY TEXT ---- */
p { margin-bottom: 18px; font-weight: 300; color: var(--muted); font-size: 1rem; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(212,175,55,0.3); }
a:hover { text-decoration-color: var(--gold); }
ul, ol { margin: 0 0 20px 0; padding-left: 24px; color: var(--muted); font-weight: 300; }
li { margin-bottom: 10px; font-size: 1rem; }
li strong { color: var(--text); }

/* ---- CALLOUT BOX ---- */
.callout {
    background: var(--gold-light);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    padding: 22px 26px;
    margin: 28px 0;
}
.callout p { margin: 0; color: var(--text); font-size: 0.98rem; }
.callout strong { color: var(--gold); }

/* ---- SEASON GRID ---- */
.season-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0;
}
@media (max-width: 560px) { .season-grid { grid-template-columns: 1fr; } }
.season-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px 22px;
    transition: border-color 0.25s;
}
.season-card:hover { border-color: var(--border); }
.season-card p { font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ---- COMPARISON TABLE ---- */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}
.compare-table th {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem; font-weight: 500;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--gold);
}
.compare-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--muted); font-weight: 300;
    vertical-align: top;
}
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ---- INLINE CTA ---- */
.inline-cta {
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.03));
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 32px;
    margin: 48px 0;
    text-align: center;
}
.inline-cta h3 { font-size: 1.6rem; margin-bottom: 12px; }
.inline-cta p { margin-bottom: 24px; }
.cta-btn {
    display: inline-block;
    background: var(--gold); color: #14080B;
    font-weight: 700; font-size: 0.95rem;
    padding: 15px 34px; border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.cta-btn:hover { opacity: 0.88; }

/* ---- RELATED ARTICLES ---- */
.related-articles {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}
.related-articles h3 { font-size: 1rem; color: var(--muted); margin-bottom: 18px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
.related-grid { display: flex; flex-direction: column; gap: 10px; }
.related-link {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.93rem;
    transition: border-color 0.2s, color 0.2s;
}
.related-link:hover { border-color: var(--border); color: var(--gold); text-decoration: none; }
.related-link::before { content: '\2192'; color: var(--gold); flex-shrink: 0; }

/* ---- FOOTER ---- */
.footer {
    padding: 28px 6vw;
    border-top: 1px solid var(--border-subtle);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
    font-size: 0.8rem; color: var(--muted);
}
