/* Strėnos – medicininis, ramus, redakcinis stilius */
:root {
    --bg: #f6f4ef;
    --paper: #fffdf9;
    --tint: #eceae2;
    --ink: #16262b;
    --muted: #5a6a6f;
    --line: #dcd7cb;
    --brand: #0e5a63;
    --brand-dark: #0a4249;
    --brand-soft: #d6e6e5;
    --warn: #a94a32;
    --warn-soft: #f4e3dc;
    --serif: 'Newsreader', Georgia, serif;
    --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-font-family: var(--sans);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--bg);
    --bs-link-color: var(--brand);
    --bs-link-hover-color: var(--brand-dark);
}

body { font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: var(--brand-soft); }

/* Antraštė */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.navbar { padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand:hover { color: var(--brand); }
.brand-mark { width: 10px; height: 26px; border-radius: 5px; background: var(--brand); position: relative; display: inline-block; box-shadow: 0 -9px 0 -2px var(--brand-soft), 0 9px 0 -2px var(--brand-soft); margin: 0 .2rem; }
.navbar .nav-link { color: var(--ink); font-size: .95rem; font-weight: 500; padding: .5rem .85rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand); }
.navbar-toggler:focus { box-shadow: none; }

/* Mygtukai */
.btn { border-radius: 6px; font-weight: 500; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: .75rem 1.35rem; font-size: 1rem; }
.link-arrow { color: var(--brand); font-weight: 500; text-decoration: none; white-space: nowrap; }
.link-arrow i { font-size: .8em; margin-left: .25rem; transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* Pradžios blokas */
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--brand); margin-bottom: 1rem; }
.hero { padding: 4.5rem 0 4rem; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; line-height: 1.03; margin-bottom: 1.4rem; }
.hero h1 span { color: var(--brand); font-style: italic; font-weight: 400; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.8rem; }
.hero-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .5rem; color: var(--muted); font-size: .95rem; }
.hero-facts i { color: var(--brand); margin-right: .55rem; }

/* Stuburo schema */
.chart { margin: 0 auto; max-width: 360px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.1rem .9rem; }
.chart figcaption { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .5rem; line-height: 1.45; }
.spine { width: 100%; height: auto; display: block; }
.spine .v { fill: var(--tint); stroke: #b8b2a3; stroke-width: 1; }
.spine .v.lum { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.4; }
.spine .v.sac { fill: var(--tint); }
.spine .ln { stroke: #b8b2a3; stroke-width: 1; }
.spine .ln.on { stroke: var(--brand); stroke-width: 1.4; }
.spine .lb { font: 500 12.5px var(--sans); fill: var(--muted); }
.spine .lb.on { fill: var(--brand); font-weight: 600; }

/* Sekcijos */
.section { padding: 4.5rem 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: .4rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Temų sąrašas */
.topic-list { border-top: 1px solid var(--line); }
.topic { display: grid; grid-template-columns: 2.5rem 2.6rem 1fr auto 1.5rem; gap: 1rem; align-items: center; padding: 1.25rem .5rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .15s, padding .2s; }
.topic:hover { background: var(--paper); padding-left: 1rem; }
.topic-no { font-family: var(--serif); color: var(--muted); font-size: 1.1rem; }
.topic-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1rem; }
.topic-body strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.2; }
.topic-body span { color: var(--muted); font-size: .95rem; }
.topic-n { color: var(--muted); font-size: .88rem; }
.topic-arrow { color: var(--brand); font-size: .85rem; opacity: 0; transition: opacity .15s, transform .2s; }
.topic:hover .topic-arrow { opacity: 1; transform: translateX(3px); }

/* Straipsnių kortelės */
.tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.meta { color: var(--muted); font-size: .85rem; }
.feature { display: flex; flex-direction: column; gap: .7rem; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 2rem; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.feature:hover { border-color: var(--brand); color: var(--ink); }
.feature h3 { font-size: 2rem; margin: 0; }
.feature p { color: var(--muted); margin: 0; }
.feature .meta { margin-top: auto; padding-top: .4rem; }
.feature-sm { padding: 1.5rem; flex: 1; }
.feature-sm h3 { font-size: 1.4rem; }

/* Pratimų kortelės (mažos) */
.ex-mini { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.ex-mini:hover { border-color: var(--brand); color: var(--ink); }
.ex-mini h3 { font-size: 1.3rem; margin: 0; }
.ex-mini p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.5; }
.ex-mini .meta { margin-top: auto; padding-top: .4rem; }
.ex-level { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Dėmesio blokas */
.alert-box { display: flex; gap: 1.5rem; background: var(--warn-soft); border: 1px solid #e5c8bc; border-left: 4px solid var(--warn); border-radius: 8px; padding: 2rem; }
.alert-ico { color: var(--warn); font-size: 1.5rem; padding-top: .2rem; }
.alert-box h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.alert-box ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.alert-box .link-arrow { color: var(--warn); }

/* Laukimo sąrašas */
.waitlist { background: var(--brand-dark); color: #e6efee; padding: 4.5rem 0; }
.waitlist h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.waitlist .eyebrow { color: #9cc9c7; }
.wl-form .form-label { font-size: .85rem; font-weight: 500; color: #b9d4d2; }
.wl-form .form-control { border: 0; border-radius: 6px 0 0 6px; padding: .8rem 1rem; }
.wl-form .btn-light { border-radius: 0 6px 6px 0; font-weight: 600; color: var(--brand-dark); }

/* Poraštė */
.site-footer { background: var(--ink); color: #aebbbd; padding: 3.5rem 0 2.5rem; font-size: .95rem; }
.site-footer .brand { color: #fff; }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; margin-bottom: 1rem; font-family: var(--sans); font-weight: 600; }
.site-footer a { color: #aebbbd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .4rem; }
.site-footer hr { border-color: #2f4247; opacity: 1; margin: 2rem 0 1.2rem; }

/* Vidiniai puslapiai */
.page-head { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: .8rem; max-width: 46rem; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 40rem; margin: 0; }
.page-head p.meta { font-size: .9rem; margin-top: 1rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 .5rem; opacity: .6; }

.article-list { border-top: 1px solid var(--line); }
.row-article { display: grid; grid-template-columns: 14rem 1fr 4rem; gap: 2rem; padding: 1.6rem .5rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .15s; }
.row-article:hover { background: var(--paper); color: var(--ink); }
.ra-meta { display: flex; flex-direction: column; gap: .3rem; }
.ra-body h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.ra-body p { color: var(--muted); margin: 0; }
.ra-min { text-align: right; padding-top: .3rem; }

/* Straipsnio tekstas */
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; color: var(--ink); margin-bottom: 1.8rem; font-weight: 400; }
.prose h2 { font-size: 1.75rem; margin: 2.4rem 0 .8rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose ul li::marker { color: var(--brand); }
.prose a { color: var(--brand); }
.disclaimer { display: flex; gap: .8rem; margin-top: 2.5rem; padding: 1rem 1.2rem; background: var(--tint); border-radius: 8px; font-size: .92rem; line-height: 1.55; color: var(--muted); }
.disclaimer i { color: var(--brand); padding-top: .2rem; }
.side { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem; margin-bottom: 1.5rem; }
.side h4 { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: .75rem 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; }
.side-list li:first-child { border-top: 0; padding-top: 0; }
.side-list a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; }
.side-list a:hover { color: var(--brand); }

/* Pratimų puslapis */
.ex-list { display: grid; gap: 1.5rem; }
.ex { display: grid; grid-template-columns: 4rem 1fr 11rem; gap: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 2rem; scroll-margin-top: 6rem; }
.ex:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ex-no { font-family: var(--serif); font-size: 2.6rem; color: var(--brand-soft); -webkit-text-stroke: 1px var(--brand); line-height: 1; }
.ex-top { display: flex; gap: 1rem; align-items: center; margin-bottom: .5rem; }
.ex h2 { font-size: 1.9rem; margin-bottom: .4rem; }
.ex-sum { color: var(--muted); margin-bottom: 1rem; }
.ex-steps { padding-left: 1.3rem; margin-bottom: 1rem; }
.ex-steps li { margin-bottom: .35rem; padding-left: .3rem; }
.ex-steps li::marker { color: var(--brand); font-weight: 600; }
.ex-caution { font-size: .92rem; background: var(--warn-soft); border-radius: 6px; padding: .7rem .9rem; margin: 0; display: flex; gap: .6rem; }
.ex-caution i { color: var(--warn); padding-top: .25rem; }
.ex-dose { border-left: 1px solid var(--line); padding-left: 1.5rem; display: flex; flex-direction: column; gap: .2rem; align-self: start; }
.ex-dose span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.ex-dose strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }

/* Mobilus */
@media (max-width: 991.98px) {
    .hero { padding: 3rem 0; }
    .section { padding: 3.2rem 0; }
    .row-article { grid-template-columns: 1fr; gap: .6rem; }
    .ra-min { text-align: left; }
    .ex { grid-template-columns: 1fr; gap: .8rem; padding: 1.5rem; }
    .ex-dose { border-left: 0; border-top: 1px solid var(--line); padding: .8rem 0 0; }
    .ex-no { font-size: 2rem; }
}
@media (max-width: 575.98px) {
    .topic { grid-template-columns: 2.4rem 1fr; }
    .topic-no, .topic-n, .topic-arrow { display: none; }
    .alert-box { flex-direction: column; gap: .5rem; padding: 1.5rem; }
    .feature { padding: 1.5rem; }
    .feature h3 { font-size: 1.6rem; }
}

/* Teisinė pastaba poraštėje */
.legal-note { font-size: .85rem; line-height: 1.6; background: #1f3238; border: 1px solid #2f4247; border-radius: 8px; padding: 1.1rem 1.3rem; color: #c3cfd1; }
.legal-note strong { color: #fff; display: block; margin-bottom: .3rem; }
.legal-note a { color: #fff; text-decoration: underline; display: inline-block; margin-top: .4rem; }
.terms { max-width: 52rem; margin: 0 auto; }

.ex-video { display: block; width: 100%; max-width: 520px; border-radius: 8px; border: 1px solid var(--line); margin: 0 0 1.2rem; background: var(--bg); }

.wl-consent .form-check-input { border-color: #9cc9c7; }
.wl-consent .form-check-label { color: #b9d4d2; }
.wl-consent a { color: #fff; }
.wl-form p.wl-consent { color: #b9d4d2; }
