/* ==========================================================
   Vurét Health Blog — Article Page Styles
   Long-form editorial reading experience
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #1a2c5b;
    --navy-mid: #0d1b2a;
    --teal: #c9a961;
    --teal-dark: #b8952f;
    --text: #1c1c2e;
    --text-light: #5c6370;
    --border: #e4e8ef;
    --bg: #f7f8fc;
    --white: #ffffff;
    --card-shadow: 0 2px 16px rgba(10, 22, 40, .08);
    --serif: 'Merriweather', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --reading-max: 740px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Site Header ── */
.site-header {
    background: var(--navy);
    border-bottom: 3px solid var(--teal);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    font-family: var(--sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.3px;
}

.logo span {
    color: var(--teal);
}

.header-cta {
    background: #6b2c3e;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background .2s;
}

.header-cta:hover {
    background: #5a2433;
}

/* ── Breadcrumb ── */
.breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 11px 24px;
    font-size: .8rem;
    color: var(--text-light);
    max-width: 100%;
}

.breadcrumb a {
    color: var(--teal-dark);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #ccc;
}

/* ── Article Wrapper ── */
.article-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}

/* ── Article Main ── */
.article-main {
    min-width: 0;
}

/* ── Article Header ── */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-dark);
    border: 1px solid rgba(201, 169, 97, .3);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 16px;
    background: rgba(201, 169, 97, .07);
}

.article-header h1 {
    font-family: var(--serif);
    font-size: clamp(1.65rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 18px;
    letter-spacing: -.3px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.article-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #bbb;
}

.article-meta .author {
    font-weight: 600;
    color: var(--text);
}

/* ── Article Body — rich long-form typography ── */
.article-body {
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.88;
    color: #2a2a3e;
}

.article-body p {
    margin-bottom: 1.6em;
}

.article-body h2 {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2.2em 0 .8em;
    line-height: 1.3;
    letter-spacing: -.2px;
    padding-bottom: .4em;
    border-bottom: 2px solid var(--border);
}

.article-body h3 {
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.8em 0 .6em;
    line-height: 1.35;
}

.article-body h4 {
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 1.5em 0 .5em;
}

.article-body ul,
.article-body ol {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.6em;
}

.article-body ul li {
    padding: .45em 0 .45em 1.75em;
    position: relative;
    border-bottom: 1px solid #f0f2f7;
    font-size: 1rem;
    line-height: 1.7;
}

.article-body ul li:last-child {
    border-bottom: none;
}

.article-body ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.5;
    font-family: var(--sans);
}

.article-body ol {
    counter-reset: ol-counter;
}

.article-body ol li {
    padding: .5em 0 .5em 2.2em;
    position: relative;
    border-bottom: 1px solid #f0f2f7;
    font-size: 1rem;
    line-height: 1.7;
    counter-increment: ol-counter;
}

.article-body ol li:last-child {
    border-bottom: none;
}

.article-body ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: .5em;
    width: 1.5em;
    height: 1.5em;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.article-body strong {
    color: var(--navy);
    font-weight: 700;
}

.article-body em {
    font-style: italic;
    color: var(--text-light);
}

/* ── Key Takeaways Box ── */
.key-points {
    background: #fdf8ee;
    border: 1px solid rgba(201, 169, 97, .25);
    border-left: 4px solid var(--teal);
    border-radius: 0 10px 10px 0;
    padding: 24px 28px;
    margin-bottom: 2em;
}

.key-points h3 {
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--teal-dark);
    margin-bottom: 12px;
}

.key-points ul {
    margin-bottom: 0;
}

.key-points ul li {
    font-family: var(--sans);
    font-size: .925rem;
    line-height: 1.65;
    border-bottom: 1px solid rgba(201, 169, 97, .15);
}

.key-points ul li:last-child {
    border-bottom: none;
}

.key-points ul li::before {
    color: var(--teal);
}

/* ── Highlight / Pull Quote Box ── */
.highlight-box {
    background: #fffbf0;
    border: 1px solid rgba(255, 180, 0, .25);
    border-left: 4px solid #f5a623;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 1.8em 0;
    font-family: var(--sans);
}

.highlight-box p {
    font-family: var(--sans);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: #5a3e00;
}

/* ── Warning Box ── */
.warning-box {
    background: #fff5f5;
    border: 1px solid rgba(220, 53, 69, .2);
    border-left: 4px solid #dc3545;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 1.8em 0;
}

.warning-box p {
    font-family: var(--sans);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: #7a0010;
}

/* ── Inline CTA ── */
.inline-cta {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a70 100%);
    border-radius: 14px;
    padding: 36px 40px;
    color: #fff;
    margin: 2.5em 0;
    text-align: center;
}

.inline-cta h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.inline-cta p {
    font-family: var(--sans);
    font-size: .95rem;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 22px;
    line-height: 1.65;
}

.btn-inline {
    display: inline-block;
    background: #6b2c3e;
    color: #fff;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 7px;
    transition: background .2s, transform .2s;
}

.btn-inline:hover {
    background: #5a2433;
    transform: translateY(-1px);
}

/* ── Related Articles ── */
.related-articles {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.related-articles h2 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    display: block;
    transition: border-color .2s, box-shadow .2s;
}

.related-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 18px rgba(201, 169, 97, .2);
}

.r-tag {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 6px;
}

.r-title {
    font-family: var(--serif);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

/* ── Sidebar ── */
.article-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Sidebar CTA ── */
.sidebar-cta {
    background: var(--navy);
    border-radius: 14px;
    padding: 28px 26px;
    color: #fff;
    text-align: center;
}

.cta-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

.sidebar-cta h3 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #fff;
}

.sidebar-cta p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.65;
    margin-bottom: 20px;
}

.btn-sidebar {
    display: block;
    background: #6b2c3e;
    color: #fff;
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: background .2s;
    text-align: center;
}

.btn-sidebar:hover {
    background: #5a2433;
}

.guarantee {
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
}

/* ── Sidebar Facts ── */
.sidebar-facts {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
}

.sidebar-facts h4 {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.fact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.fact-text {
    font-size: .82rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* ── Table of Contents (optional, for very long articles) ── */
.toc-box {
    background: #f7f9ff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 2em;
}

.toc-box h4 {
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-light);
    margin-bottom: 12px;
}

.toc-box ol {
    counter-reset: toc-counter;
    margin-bottom: 0;
}

.toc-box ol li {
    counter-increment: toc-counter;
    font-family: var(--sans);
    font-size: .875rem;
    padding: .35em 0 .35em 1.8em;
    border-bottom: 1px solid #eef1f7;
}

.toc-box ol li::before {
    content: counter(toc-counter);
    background: var(--navy);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: .5em;
}

.toc-box a {
    color: var(--teal-dark);
    font-weight: 500;
}

.toc-box a:hover {
    text-decoration: underline;
}

/* ── Footer ── */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .5);
    text-align: center;
    padding: 36px 24px;
    font-size: .82rem;
    line-height: 1.9;
}

.site-footer a {
    color: var(--teal);
}

.site-footer a:hover {
    text-decoration: underline;
}

.disclaimer {
    margin-top: 8px;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Reading Progress Bar ── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--teal);
    z-index: 200;
    transition: width .1s linear;
    width: 0%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .article-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-cta,
    .sidebar-facts {
        flex: 1 1 280px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .article-wrapper {
        padding: 28px 16px 56px;
    }

    .article-header h1 {
        font-size: 1.55rem;
    }

    .article-body {
        font-size: .975rem;
    }

    .article-body h2 {
        font-size: 1.25rem;
    }

    .inline-cta {
        padding: 28px 22px;
    }

    .article-sidebar {
        flex-direction: column;
    }

    .header-inner {
        padding: 0 16px;
    }
}