/* Reading layout shared by every site and language. */
.article-page { padding-block: 2rem 3rem; }
.article-breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.article-breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.article-breadcrumb svg { flex: none; }
.article-title { margin: 0 0 1.25rem; color: #0f172a; font-size: 2rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.article-summary { padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; border-left: 3px solid var(--color-brand, #007d3a); border-radius: 0 .5rem .5rem 0; background: #edf4f0; }
.article-summary p { margin: 0; color: #334155; font-size: 1.125rem; line-height: 1.65; overflow-wrap: anywhere; }
.article-hero { display: block; width: 100%; height: 18rem; margin: 0 auto 2rem; border-radius: .75rem; object-fit: cover; }
.article-back-link { min-height: 2.75rem; }
.article-page a:focus-visible, .article-table-scroll:focus-visible { outline: 3px solid var(--color-brand, #007d3a); outline-offset: 4px; }
.article-content { display: flow-root; overflow-wrap: anywhere; }
.article-table-scroll { max-width: 100%; margin: 1.5em 0; overflow-x: auto; border-radius: .75rem; -webkit-overflow-scrolling: touch; }
.article-content .article-table-scroll table { margin: 0; }
.article-dot-calculator { padding: 1.5rem; margin: 1.5rem 0; border-radius: 1rem; background: linear-gradient(135deg, #f8fafc, #e2e8f0); }
.article-dot-calculator label { display: block; margin-bottom: .5rem; font-weight: 600; }
.article-dot-calculator__controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.article-dot-calculator input { width: 8.75rem; padding: .75rem 1rem; border: 2px solid #cbd5e1; border-radius: .75rem; background: #fff; font: 700 1.5rem monospace; text-align: center; }
.article-dot-calculator button { padding: .75rem 1.5rem; border-radius: .75rem; background: var(--color-brand, #007d3a); color: #fff; font-weight: 600; cursor: pointer; }
.article-dot-calculator input:focus-visible, .article-dot-calculator button:focus-visible { outline: 3px solid var(--color-brand, #007d3a); outline-offset: 3px; }
.article-dot-calculator__result { margin-top: 1.25rem; padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: .75rem; background: #fff; }
.article-dot-calculator dl { margin: 0; }
.article-dot-calculator dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .5rem 0; border-bottom: 1px solid #e2e8f0; }
.article-dot-calculator dl > div:last-child { border-bottom: 0; }
.article-dot-calculator dt { color: #64748b; }
.article-dot-calculator dd { margin: 0; font-weight: 600; }
.article-content .article-dot-calculator__error { margin: .75rem 0 0; color: #b45309; font-weight: 600; }
.article-content .article-dot-calculator__note { margin: .75rem 0 0; font-size: .875rem; }
.article-dot-calculator [hidden] { display: none; }
@media (max-width: 640px) {
    .article-page { padding-block: 1rem 2rem; }
    .article-breadcrumb { margin-bottom: 1rem; }
    .article-breadcrumb__current { display: none; }
    .article-title { font-size: 1.625rem; line-height: 1.25; margin-bottom: 1rem; }
    .article-summary { padding: 1rem; margin-bottom: 1.25rem; }
    .article-summary p { font-size: 1rem; line-height: 1.65; }
    .article-hero { height: auto; max-height: 12rem; aspect-ratio: 2; margin-bottom: 1.5rem; }
    .article-meta { gap: .5rem 1rem; }
}

.article-symbol-hero { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.article-symbol-hero img { display: block; width: 160px; height: 160px; max-width: 100%; object-fit: contain; }
@media (max-width: 640px) {
    .article-symbol-hero img { width: 128px; height: 128px; }
}

/* Article content typography - best practices */
.article-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #334155;
}

.article-content > * + * {
    margin-top: 1.25em;
}

.article-content p {
    margin-bottom: 1.25em;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 1.75em;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

.article-content ul, .article-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5em;
    padding-left: 0.375em;
}

.article-content li::marker {
    color: #00A64D;
}

.article-content strong {
    font-weight: 600;
    color: #0f172a;
}

.article-content a {
    color: #00A64D;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: #007D3A;
}

.article-content blockquote {
    border-left: 4px solid #00A64D;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #475569;
}

/* Lietuvos dygliuotų padangų straipsnio KET ženklo paaiškinimas. */
.article-content .studded-sign-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    margin: 1.5em 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #00A64D;
    border-radius: 0.75rem;
}

.article-content .studded-sign-card img {
    flex: 0 0 5.5rem;
    width: 5.5rem;
    height: 5.5rem;
    max-height: none;
    object-fit: contain;
    margin: 0;
    border-radius: 0;
}

.article-content .studded-sign-card p {
    margin: 0;
}

.article-content .studded-sign-card p + p {
    margin-top: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

@media (max-width: 520px) {
    .article-content .studded-sign-card {
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .article-content .studded-sign-card img {
        flex-basis: 4.5rem;
        width: 4.5rem;
        height: 4.5rem;
    }
}

.article-content img {
    border-radius: 0.75rem;
    /* Seni Magento blog'o paveikslėliai būna bet kokių proporcijų: siauri
       portretai (439x673), aukštos lentelės (497x850), logo juostos (653x221).
       Taisyklės: centruojama; plotis ribojamas kolona; AUKŠTIS ribojamas
       ~26rem — kitaip portretinis paveikslėlis užima pusę ekrano teksto
       viduryje (2026-08-10 Martyno pastaba „proporcijos nesąmoningos").
       width/height:auto išlaiko proporcijas abiem kryptim. */
    display: block;
    max-width: 100%;
    max-height: 26rem;
    width: auto;
    height: auto;
    margin: 1.5em auto;
}

/* Siauras portretas įvyniojamas į tekstą (Martyno pastaba: „foto kairėje arba
   dešinėje ir šiek tiek teksto šone, o ne kaip blynas viduryje"). Klasė dedama
   turinio <figure> elementui; numatytoji pusė — dešinė, .left — kairė.
   Antraštės nulaužia apiplaukimą, kad kita sekcija prasidėtų nuo švaraus krašto;
   mobiliame float išjungiamas — siaurame ekrane šone teksto nebelieka. */
.article-content figure.img-side {
    float: right;
    max-width: 44%;
    margin: 0.25em 0 1em 1.75em;
}
.article-content figure.img-side.left {
    float: left;
    margin: 0.25em 1.75em 1em 0;
}
.article-content figure.img-side img {
    margin: 0;
    max-height: 22rem;
}
.article-content h2, .article-content h3 {
    clear: both;
}
.article-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: -0.75em;
    margin-bottom: 1.5em;
}
@media (max-width: 640px) {
    .article-content figure.img-side,
    .article-content figure.img-side.left {
        float: none;
        max-width: 100%;
        margin: 1.5em 0;
    }
    .article-content figure.img-side img {
        margin: 0 auto;
    }
}

.article-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    border: 1px solid #e2e8f0;
    -webkit-overflow-scrolling: touch;
}

.article-content th, .article-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    min-width: 6rem;
    overflow-wrap: normal;
    word-break: normal;
}

.article-content th {
    background-color: #00A64D;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content tbody tr {
    transition: background-color 0.15s ease;
}

.article-content tbody tr:hover {
    background-color: #f8fafc;
}

.article-content tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.article-content tbody tr:nth-child(even):hover {
    background-color: #f1f5f9;
}

.article-content tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 640px) {
    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .article-content table {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .article-content th,
    .article-content td {
        padding: 0.625rem 0.75rem;
    }
}

/* Technical markings must stay legible, including labels near image edges. */
.article-hero--diagram { width: auto; max-width: 100%; height: auto; max-height: 26rem; aspect-ratio: auto; object-fit: contain; }
.article-related-image { width: 4rem; height: 4rem; flex: none; border-radius: .5rem; object-fit: cover; }
.article-related-image--diagram { padding: .25rem; background: #fff; object-fit: contain; }
@media (max-width: 640px) {
    .article-hero--diagram { max-height: 18rem; }
    .article-content .studded-sign-card { flex-direction: column; }
}

/* ------------------------------------------------------------------
   Reklamuojamo straipsnio komponentai (2026-11, Linglong ADAC/AvD testai).
   Turinys juos įsijungia apgaubdamas visą tekstą
   <div class="article-feature">…</div>; kiti straipsniai nepaliesti.
   Skaitoma pirmiausia rezultatų juosta (.article-verdict), todėl ji vienintelė
   „garsi"; lentelė, nuotraukos, šaltiniai ir pabaigos blokas lieka ramūs.
   Balai rodomi be ADAC žodinio įvertinimo ir be jo spalvų skalės: „patenkinamai"
   geltoname viduryje reklamuojamame puslapyje skambėjo kaip antireklama (Martynas
   2026-11-04). Vietoj jos — vieta tarp 16 bandytų modelių (.article-rank).
   ------------------------------------------------------------------ */
.article-content {
    --af-ink: #0f172a;
    --af-muted: #556375;
    --af-line: #dbe3ea;
    --af-frost: #f1f6f9;
    --af-green: #007d3a;
    --af-green-hover: #00672f;
    --af-green-tint: #e7f4ec;
    --af-track: #dde5eb;
}

/* Visas turinys — vieno pločio stulpelyje, kaip antraštė, santrauka ir pagrindinė
   nuotrauka. Siauresnis (~75 simbolių) teksto stulpelis ir siauresnės nuotraukos
   kompiuteryje atrodė kaip klaida — „šokinėjo" dešinysis kraštas (Martynas
   2026-11-04: „mobile gerai, bet desktop keistai atrodo"). Telefone skirtumo nebuvo. */
.article-feature { display: flow-root; }
.article-feature > * + * { margin-top: 1.25em; }
.article-content .article-feature h2 { text-wrap: balance; }
.article-feature a { color: var(--af-green); }
.article-feature a:hover { color: var(--af-green-hover); }

/* Rezultatų juosta: abu nepriklausomi testai, kiekvienas savo skalėje. */
.article-verdict {
    margin: 0 0 2.75rem;
    overflow: hidden;
    border: 1px solid var(--af-line);
    border-radius: 1rem;
    background: #fff;
    color: var(--af-muted);
    line-height: 1.4;
}
.article-content .article-verdict p { margin: 0; }
.article-verdict__model {
    padding: .875rem 1.5rem;
    border-bottom: 1px solid var(--af-line);
    background: var(--af-frost);
    color: var(--af-ink);
    font-size: 1.0625rem;
    font-weight: 700;
}
.article-verdict__tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* subgrid: abiejų testų teiginiai, balai ir skalės stovi vienoje linijoje. */
.article-verdict__test {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: .5rem;
    align-content: start;
    padding: 1.375rem 1.5rem 1.5rem;
}
.article-verdict__test + .article-verdict__test { border-left: 1px solid var(--af-line); }
.article-verdict__source { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .625rem; color: var(--af-ink); font-size: .9375rem; }
.article-content .article-verdict__source strong { font-weight: 700; }
.article-verdict__size {
    padding: .125rem .625rem;
    border-radius: 2rem;
    background: var(--af-green-tint);
    color: var(--af-green-hover);
    font-size: .8125rem;
    font-weight: 700;
    white-space: nowrap;
}
.article-verdict__claim { color: var(--af-ink); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.article-verdict__score { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .625rem; padding-top: .25rem; }
.article-verdict__value {
    color: var(--af-ink);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: lining-nums tabular-nums;
}
.article-verdict__max { margin-left: -.25rem; font-size: 1.125rem; font-weight: 600; }
.article-verdict__grade { font-size: 1rem; font-weight: 600; }
.article-verdict__hint { font-size: .875rem; }
.article-verdict__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--af-line);
}
.article-verdict__origin { display: inline-flex; align-items: center; gap: .5rem; color: var(--af-ink); font-size: .9375rem; font-weight: 600; }
.article-verdict__origin::before {
    content: '';
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    background: var(--af-green);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Vieta tarp bandytų modelių: kairėje geriausi. __ahead — geresnį balą turėję,
   __here — šio modelio balas (kartu su tą patį balą turėjusiais), kiti — fone. */
.article-rank { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 2px; height: .5rem; margin-top: .375rem; }
.article-rank > span { background: var(--af-track); }
.article-rank > span:first-child { border-radius: 1rem 0 0 1rem; }
.article-rank > span:last-child { border-radius: 0 1rem 1rem 0; }
.article-rank > .article-rank__ahead { background: #9aa8b6; }
.article-rank > .article-rank__here { background: var(--af-green); }

/* Balas iš 5 (daugiau — geriau): penki laipteliai, paskutinio užpildas --fill. */
.article-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; height: .5rem; margin-top: .375rem; }
.article-meter__step { background: linear-gradient(90deg, var(--af-green) var(--fill, 100%), var(--af-track) 0); }
.article-meter__step:first-child { border-radius: 1rem 0 0 1rem; }
.article-meter__step:last-child { border-radius: 0 1rem 1rem 0; }

/* Mygtukai (spalvos ir spindulys — kaip rekomendacijų bloke). */
/* inline-block, ne flex: telefone į dvi eilutes lūžęs tekstas turi pasiimti rodyklę su savimi. */
.article-content a.article-button {
    display: inline-block;
    padding: .6875rem 1.25rem;
    border: 1px solid var(--af-green);
    border-radius: .45rem;
    background: var(--af-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.article-content a.article-button:hover { border-color: var(--af-green-hover); background: var(--af-green-hover); color: #fff; }
.article-content a.article-button--secondary { background: #fff; color: var(--af-green); }
.article-content a.article-button--secondary:hover { background: var(--af-green-tint); color: var(--af-green-hover); }

/* Rezultatų lentelė: be žalios „antraštės juostos" ir zebro, paryškinta viena eilutė. */
.article-content table.article-results { border-color: var(--af-line); background: #fff; box-shadow: none; font-variant-numeric: tabular-nums; }
.article-content .article-results caption { padding: 0 0 .75rem; color: var(--af-ink); font-size: 1rem; font-weight: 700; line-height: 1.4; text-align: left; }
.article-content .article-results th { background: var(--af-frost); color: var(--af-muted); font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.article-content .article-results th:first-child { border-top-left-radius: calc(.75rem - 1px); }
.article-content .article-results th:last-child { border-top-right-radius: calc(.75rem - 1px); }
.article-content .article-results th:last-child,
.article-content .article-results td:last-child { width: 1%; text-align: right; white-space: nowrap; }
.article-content .article-results tbody tr:nth-child(even),
.article-content .article-results tbody tr:hover { background: transparent; }
.article-content .article-results tr.is-highlight td { background: var(--af-green-tint); color: var(--af-ink); }
.article-content .article-results tr.is-highlight td:first-child { box-shadow: inset 4px 0 0 var(--af-green); }
.article-content .article-results tbody tr:last-child td:first-child { border-bottom-left-radius: calc(.75rem - 1px); }
.article-content .article-results tbody tr:last-child td:last-child { border-bottom-right-radius: calc(.75rem - 1px); }

/* Dokumento kopija (ADAC lentelė): rėmelis, paspaudus atsidaro pilno dydžio.
   Didinimo ženkliukas — viršutiniame dešiniame kampe, kur ADAC lentelė tuščia:
   apačioje jis uždengtų „© ADAC" eilutę. */
.article-content .article-sheet { margin-bottom: 2rem; }
.article-content .article-sheet__link {
    position: relative;
    display: block;
    padding: .75rem;
    border: 1px solid var(--af-line);
    border-radius: .75rem;
    background: #fff;
    text-decoration: none;
}
.article-content .article-sheet__link:hover { border-color: #b8c6d2; }
.article-content .article-sheet img { width: 100%; max-height: none; margin: 0; border-radius: .25rem; }
.article-content .article-sheet__link::after {
    content: '';
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--af-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 1.25rem no-repeat;
    box-shadow: 0 2px 8px rgb(15 23 42 / .25);
}
.article-content .article-photo img { width: 100%; max-height: none; aspect-ratio: 3 / 2; margin: 0; object-fit: cover; }
.article-content .article-feature figcaption { margin: .75rem 0 0; color: var(--af-muted); font-size: .875rem; line-height: 1.55; text-align: left; }

/* Šaltiniai ir smulkus tekstas — matomi, bet antraeiliai. */
.article-content .article-source { color: var(--af-muted); font-size: .9375rem; line-height: 1.6; }
.article-feature .article-source a { color: inherit; text-decoration-thickness: 1px; }
.article-feature .article-source a:hover { color: var(--af-green); }
.article-content .article-note { color: var(--af-muted); font-size: .875rem; line-height: 1.55; }
/* Žvaigždutės paaiškinimas — prie savo pastraipos, ne kaip atskiras blokas. */
.article-feature > p + p.article-note { margin-top: -.5rem; }

/* Pabaigos blokas: kur pirkti, su testuota padanga šone. */
.article-content .article-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 10.5rem;
    column-gap: 2rem;
    align-items: center;
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    border: 1px solid var(--af-line);
    border-radius: 1rem;
    background: var(--af-frost);
}
.article-content .article-cta > * { grid-column: 1; }
.article-content .article-cta h2 { margin: 0 0 .5rem; }
.article-content .article-cta p { margin: 0; }
.article-content .article-cta .article-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.article-content .article-cta .article-cta__image {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
    filter: drop-shadow(0 12px 14px rgb(15 23 42 / .18));
}

@media (max-width: 640px) {
    .article-verdict { margin-bottom: 2rem; border-radius: .875rem; }
    .article-verdict__model { padding: .75rem 1.125rem; font-size: 1rem; }
    .article-verdict__tests { grid-template-columns: minmax(0, 1fr); }
    .article-verdict__test { padding: 1.125rem; }
    .article-verdict__test + .article-verdict__test { border-top: 1px solid var(--af-line); border-left: 0; }
    .article-verdict__claim { font-size: 1.0625rem; }
    .article-verdict__value { font-size: 2.25rem; }
    .article-verdict__footer { flex-direction: column; align-items: stretch; padding: 1rem 1.125rem 1.125rem; }
    .article-content .article-feature a.article-button { display: block; width: 100%; }
    .article-content .article-sheet__link { padding: .5rem; }
    .article-content .article-sheet__link::after { top: .75rem; right: .75rem; width: 2rem; height: 2rem; background-size: 1rem; }
    .article-content .article-cta { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
    .article-content .article-cta .article-cta__image { grid-column: 1; grid-row: auto; order: -1; width: 7rem; margin-bottom: .75rem; }
    .article-content .article-cta .article-cta__actions { flex-direction: column; }
}
