/* =============================================================
   ARTICLES (2026-10-13): /artikkelit and the article template (views/articles/*).
   Built on landing.css section 6 and pages/content.css. Prefix ar-.
   The reading column is set for long reading by 55 to 75 year olds: 19 px Geologica at 1.75, about 66
   characters a line, Yö ink on Pinta (14:1), Kuusi headings and links, nothing below 15 px.
   ============================================================= */

/* ---------- /artikkelit: head, the H1 left and the lead right (the front page board band head) ---------- */
.ar-head--index .lp-head__grid { align-items: end; }
.ar-head--index .lp-head__aside .lp-lead { margin: 0 0 .35em; max-width: 30em; }

/* ---------- /artikkelit: the list, typeset like a contents page ---------- */
.ar-index { padding-top: clamp(60px, 6.4vw, 108px); }
.ar-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--kuusi); }
.ar-row { border-bottom: 1px solid rgba(31,77,71,.18); }
.ar-row__link { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 7.4fr) minmax(0, 2fr); grid-template-areas: "meta title go" "meta ex go"; gap: 12px clamp(24px, 3vw, 56px); align-items: start; padding: clamp(28px, 2.8vw, 44px) 0; color: inherit; }
.ar-row__meta { grid-area: meta; display: flex; flex-direction: column; gap: 6px; padding-top: .45em; font: 500 15px/1.4 var(--lp-body); color: var(--muted); }
.ar-row__topic { color: var(--kuusi); font-weight: 600; }
.ar-row__title { grid-area: title; margin: 0; font: 700 clamp(26px, 2.35vw, 38px)/1.1 var(--lp-display); letter-spacing: -.026em; color: var(--kuusi); text-wrap: balance; -webkit-hyphens: manual; hyphens: manual; }
.ar-row__ex { grid-area: ex; margin: 0; max-width: 40em; font: 400 17.5px/1.6 var(--lp-body); color: #3F4D49; text-wrap: pretty; }
.ar-row__go { grid-area: go; justify-self: end; align-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(31,77,71,.35); color: var(--kuusi); transition: background-color .2s, color .2s, border-color .2s; }
.ar-row__go svg { width: 22px; height: 22px; transition: transform .25s var(--lp-ease); }
.ar-row__link:hover .ar-row__go, .ar-row__link:focus-visible .ar-row__go { background: var(--kuusi); border-color: var(--kuusi); color: var(--pinta); }
.ar-row__link:hover .ar-row__go svg, .ar-row__link:focus-visible .ar-row__go svg { transform: translateX(3px); }
.ar-row__link:hover .ar-row__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; text-decoration-color: rgba(31,77,71,.35); }
.ar-row__link:focus-visible { outline-offset: 6px; border-radius: 14px; }
/* the flagship guide opens the list, set larger */
.ar-row--lead .ar-row__title { font-size: clamp(34px, 3.8vw, 58px); line-height: 1.02; letter-spacing: -.036em; }
.ar-row--lead .ar-row__ex { font-size: clamp(18px, 1.35vw, 21px); }
.ar-row--lead .ar-row__link { padding: clamp(34px, 3.4vw, 56px) 0; }
/* more than ten articles: grouped by cluster */
.ar-group + .ar-group { margin-top: clamp(64px, 6.4vw, 104px); }
.ar-group__title { margin: 0 0 22px; font: 700 clamp(28px, 2.6vw, 40px)/1.1 var(--lp-display); letter-spacing: -.026em; color: var(--yo); }

/* ---------- article: head (H1, byline, the Lyhyesti card) ---------- */
.ar-head--art { padding-bottom: clamp(56px, 6vw, 104px); }
.ar-head--art .lp-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px clamp(40px, 5vw, 88px); align-items: end; }
.ar-head--art .lp-head__copy > .lp-lead { max-width: 34em; }
.ar-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 34px 0 0; font: 500 16px/1.4 var(--lp-body); color: var(--muted); }
.ar-by__who { display: inline-flex; align-items: center; gap: 12px; color: var(--yo); }
.ar-by__who a { color: var(--kuusi); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(31,77,71,.35); }
.ar-by__who a:hover { text-decoration-color: currentColor; }
.ar-by__photo { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; }
.ar-by__photo--mono { display: grid; place-items: center; background: var(--kuusi); color: var(--kaura); font: 700 15px/1 var(--lp-display); letter-spacing: -.02em; }
.ar-by time { white-space: nowrap; }

/* ---------- article: the reading band ---------- */
.ar-read { padding-top: clamp(60px, 6.4vw, 108px); }
.ar-read__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) minmax(0, 1fr); gap: 0 clamp(32px, 4.4vw, 88px); align-items: start; }
.ar-read__grid--solo .ar-col { grid-column: 2; }
.ar-col { min-width: 0; max-width: 44rem; }
/* the rail: what is in this article, the section being read marked (public/js/pages/articles.js) */
.ar-toc { position: sticky; top: calc(var(--navh) + 40px); max-height: calc(100vh - var(--navh) - 80px); overflow: auto; padding: 4px 4px 4px 0; }
.ar-toc__t { margin: 0 0 14px; font: 600 16px/1.3 var(--lp-body); color: var(--kuusi); }
.ar-toc__list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--kuusi); }
.ar-toc__list li { border-bottom: 1px solid rgba(31,77,71,.14); }
.ar-toc__list a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; padding: 12px 0; font: 500 15.5px/1.4 var(--lp-body); color: var(--muted); transition: color .2s; }
/* muted, not Kuusi at .55 opacity (2.9:1); the current item turns Kuusi */
.ar-toc__n { font: 700 15px/1.55 var(--lp-display); color: var(--muted); transition: color .2s; }
.ar-toc__list a:hover, .ar-toc__list a[aria-current="true"] { color: var(--yo); }
.ar-toc__list a[aria-current="true"] .ar-toc__n { color: var(--kuusi); }
.ar-toc__list a[aria-current="true"] span:last-child { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(31,77,71,.45); }
.ar-toc-m { display: none; }

/* body typography */
.ar-body { font: 400 19px/1.75 var(--lp-body); color: #22302C; text-wrap: pretty; }
.ar-body p { margin: 0 0 1.05em; }
.ar-body h2 { margin: 2.1em 0 .55em; font: 700 clamp(28px, 2.5vw, 38px)/1.12 var(--lp-display); letter-spacing: -.028em; color: var(--kuusi); text-wrap: balance; -webkit-hyphens: manual; hyphens: manual; }
.ar-body h3 { margin: 1.65em 0 .45em; font: 600 clamp(21px, 1.7vw, 25px)/1.25 var(--lp-display); letter-spacing: -.015em; color: var(--yo); text-wrap: balance; }
.ar-body > :first-child { margin-top: 0; }
.ar-body h2 + h3 { margin-top: .9em; }
.ar-body ul, .ar-body ol { margin: 0 0 1.15em; padding-left: 1.35em; }
.ar-body ul { list-style: disc; }
.ar-body ol { list-style: decimal; }
.ar-body li { margin: 0 0 .5em; padding-left: .25em; }
.ar-body li::marker { color: var(--kuusi); }
.ar-body ol > li::marker { font-weight: 700; }
.ar-body li > ul, .ar-body li > ol { margin: .5em 0 0; }
.ar-body a { color: var(--kuusi); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(31,77,71,.38); transition: text-decoration-color .2s; }
.ar-body a:hover { text-decoration-color: currentColor; }
.ar-body strong { color: var(--yo); font-weight: 700; }
.ar-body table { display: block; overflow-x: auto; width: 100%; margin: 1.4em 0 1.7em; border-collapse: collapse; font: 500 16.5px/1.5 var(--lp-body); }
.ar-body th, .ar-body td { padding: 12px 18px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(31,77,71,.14); }
.ar-body thead th { border-bottom: 2px solid var(--kuusi); font-weight: 700; color: var(--yo); }
/* boxed callouts in a body: a copyable message (blockquote) or a myth box (.art-myth) */
.ar-body blockquote, .ar-body .art-myth { margin: 1.6em 0; padding: 26px 30px 8px; border-radius: 22px; background: var(--jakala); color: var(--yo); }
.ar-body blockquote p, .ar-body .art-myth p { margin-bottom: 18px; }
.ar-body hr { height: 1px; margin: 2.4em 0; border: 0; background: rgba(31,77,71,.18); }

/* ---------- one figure per article (views/articles/_figures.php): a Kaura card in the reading column ---------- */
/* The drawing is aria-hidden (a .vh sentence says what it shows); the body's list, table and paragraph rules are
   reset inside it. Types: detector, steps, ladder, sheet, year. */
.ar-body .ar-fig { margin: 2em 0 2.2em; padding: clamp(20px, 2.4vw, 30px); border-radius: 24px; background: var(--kaura); font: 500 16px/1.45 var(--lp-body); color: var(--yo); }
.ar-body .ar-fig ol, .ar-body .ar-fig li { margin: 0; padding: 0; list-style: none; }
.ar-body .ar-fig li::marker { content: none; }
.ar-body .ar-fig p { margin: 0; }
.ar-fig__cap { margin: 16px 0 0; font: 500 15px/1.5 var(--lp-body); color: var(--muted); text-wrap: pretty; }
/* steps: numbered cards in a row (a key such as "Viikko 1" in place of the number), one per line on phones */
.ar-fig__steps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; }
.ar-body .ar-fig .ar-fig__step { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 16px 18px; border-radius: 16px; background: #FFFEFA; box-shadow: 0 18px 30px -26px rgba(20,35,31,.45); }
.ar-fig__n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 4px; border-radius: 50%; background: var(--kuusi); color: var(--kaura); font: 700 16px/1 var(--lp-display); }
.ar-fig__step.has-k .ar-fig__n { width: auto; height: auto; place-items: start; background: none; color: var(--kuusi); font: 600 16px/1.3 var(--lp-body); }
.ar-fig__t { font: 700 18px/1.2 var(--lp-display); letter-spacing: -.01em; color: var(--kuusi); }
.ar-fig__d { font: 500 15px/1.45 var(--lp-body); color: #3F4D49; }
.ar-body .ar-fig .ar-fig__step.is-key { background: var(--kuusi); }
.ar-body .ar-fig .ar-fig__step.is-key .ar-fig__n, .ar-body .ar-fig .ar-fig__step.is-key .ar-fig__t { color: var(--kaura); }
.ar-body .ar-fig .ar-fig__step.is-key .ar-fig__d { color: var(--on-kuusi-2); }
/* five steps share the column: a little tighter */
.ar-body .ar-fig .ar-fig__steps--5 .ar-fig__step { padding: 14px 13px 16px; }
.ar-fig__steps--5 .ar-fig__d { font-size: 15px; -webkit-hyphens: auto; hyphens: auto; }
.ar-body .ar-fig .ar-fig__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font: 600 16px/1.45 var(--lp-body); color: var(--yo); }
.ar-fig__note .lp-ic { width: 19px; height: 19px; margin-top: 2px; color: var(--kuusi); }
/* detector: the brand detector seen from below, its test button ringed, beside the steps */
.ar-fig__duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px clamp(20px, 3vw, 36px); align-items: center; }
.ar-fig__det { position: relative; width: min(100%, 260px); justify-self: center; margin-bottom: 34px; }
.ar-fig__det picture, .ar-fig__det img { display: block; width: 100%; height: auto; }
.ar-fig__det img { border-radius: 50%; box-shadow: 0 30px 46px -26px rgba(0,0,0,.45); }
.ar-fig__btn { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--kuusi); box-shadow: 0 0 0 5px rgba(255,254,250,.85); }
.ar-fig__mark { position: absolute; left: 50%; top: 61%; height: calc(39% + 26px); display: flex; align-items: flex-end; padding-left: 12px; font: 700 15px/1 var(--lp-body); color: var(--kuusi); white-space: nowrap; }
.ar-fig__mark::before { content: ""; position: absolute; left: 0; top: 0; bottom: 2px; width: 2px; background: var(--kuusi); }
.ar-fig__steps--col { grid-template-columns: minmax(0, 1fr); }
.ar-body .ar-fig .ar-fig__steps--col .ar-fig__step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; }
.ar-fig__steps--col .ar-fig__n { grid-row: span 2; margin: 0; }
/* ladder: one apartment's steps when there is no answer, with the example dates */
.ar-body .ar-fig .ar-fig__ladt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; font: 700 20px/1.2 var(--lp-display); color: var(--kuusi); }
.ar-fig__apt { padding: 4px 10px; border-radius: 8px; background: #FFFEFA; font: 700 15px/1.2 var(--lp-body); color: var(--yo); }
.ar-fig__lad ol { position: relative; }
.ar-fig__lad ol::before { content: ""; position: absolute; left: 15px; top: 22px; bottom: 22px; width: 2px; background: rgba(31,77,71,.25); }
.ar-body .ar-fig__lad li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 0; }
.ar-fig__dot { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--kuusi); color: var(--kaura); font: 700 15px/1 var(--lp-display); }
.ar-fig__lad b { font: 700 17px/1.3 var(--lp-display); color: var(--yo); }
.ar-fig__lad time { padding: 5px 11px; border-radius: var(--r); background: #FFFEFA; font: 600 15px/1.2 var(--lp-body); color: var(--kuusi); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* sheet: a small table in the spreadsheet look (the template pack's replica) */
.ar-fig__sheet { overflow: hidden; border-radius: 14px; background: #FFFEFA; box-shadow: 0 24px 40px -32px rgba(20,35,31,.5); }
.ar-fig__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(31,77,71,.14); font: 600 15px/1.2 var(--lp-body); color: var(--muted); }
.ar-fig__bar .lp-ic { width: 16px; height: 16px; color: var(--kuusi); }
.ar-body .ar-fig__sheet table { display: table; width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; font: 500 15.5px/1.35 var(--lp-body); }
.ar-body .ar-fig__sheet th, .ar-body .ar-fig__sheet td { padding: 11px 14px; border: 0; border-bottom: 1px solid rgba(31,77,71,.12); border-right: 1px solid rgba(31,77,71,.12); vertical-align: middle; }
.ar-body .ar-fig__sheet tr > :last-child { border-right: 0; }
.ar-body .ar-fig__sheet tbody tr:last-child > * { border-bottom: 0; }
.ar-body .ar-fig__sheet thead th { background: var(--jakala); border-bottom: 2px solid var(--kuusi); font: 700 15px/1.3 var(--lp-body); color: var(--yo); }
.ar-body .ar-fig__sheet thead th:first-child { width: 40%; }
.ar-body .ar-fig__sheet tbody th { font-weight: 600; color: var(--yo); }
.ar-body .ar-fig__sheet td { font: 700 18px/1.2 var(--lp-display); color: var(--yo); font-variant-numeric: tabular-nums; }
.ar-body .ar-fig__sheet .is-better { color: var(--kuusi); background: rgba(31,77,71,.06); }
.ar-body .ar-fig__sheet thead .is-better { background: var(--jakala-2); }
/* year: twelve months, one lane per task */
.ar-fig__year { display: grid; gap: 10px; }
.ar-fig__lane { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: 4px 16px; align-items: center; }
.ar-fig__lab { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ar-fig__lab b { font: 700 15.5px/1.25 var(--lp-display); color: var(--yo); }
.ar-fig__lab span { font: 500 15px/1.3 var(--lp-body); color: var(--muted); }
.ar-fig__track { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; align-items: center; min-height: 34px; border-radius: 10px; background: rgba(255,254,250,.75); }
.ar-fig__lane--m .ar-fig__track { min-height: 0; background: none; }
.ar-fig__m { text-align: center; font: 600 15px/1.2 var(--lp-body); color: var(--muted); }
.ar-fig__m-s { display: none; }
.ar-fig__dotm { grid-column: var(--a); grid-row: 1; justify-self: center; width: 11px; height: 11px; border-radius: 50%; background: var(--kuusi); }
.ar-fig__span { grid-column: var(--a) / var(--b); grid-row: 1; height: 20px; margin: 0 3px; border-radius: var(--r); background: var(--kuusi); }
.ar-fig__lane.is-soft .ar-fig__span { background: rgba(31,77,71,.32); }
.ar-fig__dia { grid-column: var(--a); grid-row: 1; justify-self: center; width: 13px; height: 13px; transform: rotate(45deg); border-radius: var(--r-xs); background: var(--okra); }
@media (max-width: 639px) {
    .ar-body .ar-fig { padding: 18px 16px; border-radius: 20px; }
    .ar-fig__steps { grid-template-columns: minmax(0, 1fr); }
    .ar-body .ar-fig .ar-fig__step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; }
    .ar-fig__step .ar-fig__n { grid-row: span 2; margin: 0; }
    .ar-body .ar-fig .ar-fig__step.has-k { grid-template-columns: 76px minmax(0, 1fr); }
    .ar-fig__duo { grid-template-columns: minmax(0, 1fr); }
    .ar-fig__det { width: 200px; }
    .ar-body .ar-fig__lad li { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; }
    .ar-fig__lad time { grid-column: 2; justify-self: start; }
    /* the sheet: each row's label on its own line, the two values side by side under it (15 px minimum) */
    .ar-body .ar-fig__sheet table, .ar-body .ar-fig__sheet thead, .ar-body .ar-fig__sheet tbody { display: block; }
    .ar-body .ar-fig__sheet tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ar-body .ar-fig__sheet tr > :first-child { grid-column: 1 / -1; border-right: 0; }
    .ar-body .ar-fig__sheet thead th:first-child { width: auto; border-bottom: 1px solid rgba(31,77,71,.12); }
    .ar-body .ar-fig__sheet tbody th { padding-bottom: 2px; border-bottom: 0; }
    .ar-body .ar-fig__sheet th, .ar-body .ar-fig__sheet td { padding: 9px 12px; font-size: 15px; }
    .ar-body .ar-fig__sheet td { padding-top: 4px; font-size: 18px; }
    .ar-fig__lane { grid-template-columns: minmax(0, 1fr); }
    .ar-fig__lane--m > span:first-child { display: none; }
    .ar-fig__m-l { display: none; }
    .ar-fig__m-s { display: inline; }
}

/* FAQ, sources, author: the article's own closing sections, in the same column */
.ar-faq, .ar-src { margin-top: clamp(60px, 6vw, 96px); }
.ar-h2 { margin: 0; font: 700 clamp(28px, 2.5vw, 38px)/1.12 var(--lp-display); letter-spacing: -.028em; color: var(--kuusi); }
.ar-faq .lp-faq { margin-top: 24px; }
.ar-src .ar-h2 { margin-bottom: 20px; }
.ar-src__list { margin: 0; padding: 0; list-style: none; counter-reset: arsrc; border-top: 2px solid var(--kuusi); }
.ar-src__list li { counter-increment: arsrc; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding: 15px 0; border-bottom: 1px solid rgba(31,77,71,.14); font: 500 17px/1.55 var(--lp-body); color: var(--yo); }
.ar-src__list li::before { content: counter(arsrc); font: 700 16px/1.6 var(--lp-display); color: var(--kuusi); }
.ar-src__list li > * { grid-column: 2; }
.ar-src__list a { color: var(--kuusi); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(31,77,71,.38); overflow-wrap: anywhere; }
.ar-src__list a:hover { text-decoration-color: currentColor; }
.ar-src__checked { color: var(--muted); font-size: 15.5px; }
.ar-src__reviewed { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; font: 600 15.5px/1.4 var(--lp-body); color: var(--kuusi); }
.ar-src__reviewed svg { width: 17px; height: 17px; flex: none; }
.ar-author { display: flex; gap: 22px; align-items: flex-start; margin-top: clamp(56px, 6vw, 88px); padding: clamp(24px, 2.4vw, 34px); border-radius: 28px; background: var(--kaura); }
.ar-author__photo { width: 76px; height: 76px; flex: none; border-radius: 50%; object-fit: cover; }
.ar-author__photo--mono { display: grid; place-items: center; background: var(--kuusi); color: var(--kaura); font: 700 27px/1 var(--lp-display); letter-spacing: -.03em; }
.ar-author__body p { margin: 0; }
.ar-author__k { margin-bottom: 6px !important; font: 600 16px/1.3 var(--lp-body); color: var(--kuusi); }
.ar-author__name { font: 700 clamp(24px, 2vw, 28px)/1.1 var(--lp-display); letter-spacing: -.02em; }
.ar-author__name a { color: var(--kuusi); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: rgba(31,77,71,.3); }
.ar-author__name a:hover { text-decoration-color: currentColor; }
.ar-author__role { margin-top: 6px !important; font: 500 16px/1.4 var(--lp-body); color: var(--muted); }
.ar-author__note { margin-top: 14px !important; max-width: 34em; font: 400 17.5px/1.6 var(--lp-body); color: #3F4D49; }
.ar-author__links { margin-top: 12px !important; }

/* ---------- article: Lue myös (Kuusi) ---------- */
.ar-rel__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px clamp(40px, 5vw, 96px); align-items: start; }
.ar-rel__t { margin: 0; }
.ar-rel__list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--kaura); }
.ar-rel__list li { border-bottom: 1px solid rgba(241,243,242,.22); }
.ar-rel__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name go" "desc go"; gap: 8px 32px; align-items: center; padding: clamp(24px, 2.4vw, 34px) 0; color: var(--kaura); }
.ar-rel__name { grid-area: name; font: 700 clamp(24px, 2.2vw, 34px)/1.12 var(--lp-display); letter-spacing: -.025em; color: var(--kaura); text-wrap: balance; -webkit-hyphens: manual; hyphens: manual; }
.ar-rel__desc { grid-area: desc; max-width: 40em; font: 500 16.5px/1.5 var(--lp-body); color: var(--on-kuusi-2); }
.ar-rel__go { grid-area: go; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(241,243,242,.45); color: var(--kaura); transition: background-color .2s, color .2s, border-color .2s; }
.ar-rel__go svg { width: 22px; height: 22px; transition: transform .25s var(--lp-ease); }
.ar-rel__item:hover .ar-rel__go, .ar-rel__item:focus-visible .ar-rel__go { background: var(--kaura); border-color: var(--kaura); color: var(--kuusi); }
.ar-rel__item:hover .ar-rel__go svg, .ar-rel__item:focus-visible .ar-rel__go svg { transform: translateX(3px); }
.ar-rel__item:hover .ar-rel__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; text-decoration-color: rgba(241,243,242,.5); }
.ar-rel__item:focus-visible { outline-offset: 4px; border-radius: 12px; }

/* ---------- breakpoints ---------- */
@media (max-width: 1099px) {
    .ar-read__grid { grid-template-columns: minmax(0, 1fr); }
    .ar-read__grid--solo .ar-col { grid-column: auto; }
    .ar-toc { display: none; }
    .ar-toc-m { display: block; margin: 0 0 44px; }
    .ar-toc-m details { border-top: 2px solid var(--kuusi); border-bottom: 1px solid rgba(31,77,71,.18); }
    .ar-toc-m summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; cursor: pointer; list-style: none; font: 600 18px/1.3 var(--lp-body); color: var(--kuusi); }
    .ar-toc-m summary::-webkit-details-marker { display: none; }
    .ar-toc-m__ic { width: 22px; height: 22px; transform: rotate(90deg); transition: transform .25s var(--lp-ease); }
    .ar-toc-m details[open] .ar-toc-m__ic { transform: rotate(-90deg); }
    .ar-toc-m .ar-toc__list { margin-bottom: 10px; border-top: 1px solid rgba(31,77,71,.14); }
    .ar-toc-m .ar-toc__list li:last-child { border-bottom: 0; }
    .ar-toc-m .ar-toc__list a { font-size: 17px; padding: 13px 0; }
}
@media (max-width: 1023px) {
    .ar-head--art .lp-head__grid { grid-template-columns: minmax(0, 1fr); }
    .ar-head .lp-head__aside { max-width: 640px; }
    .ar-head--index .lp-head__grid { row-gap: 8px; }
    .ar-rel__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
    .ar-row__link { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta go" "title title" "ex ex"; gap: 12px 16px; }
    .ar-row__meta { flex-direction: row; flex-wrap: wrap; align-self: center; gap: 4px 16px; padding-top: 0; }
    .ar-row__go { width: 46px; height: 46px; }
    .ar-row__go svg { width: 19px; height: 19px; }
}
@media (max-width: 639px) {
    .ar-body { font-size: 18px; line-height: 1.72; }
    .ar-body h2 { font-size: 27px; }
    .ar-body h3 { font-size: 21px; }
    .ar-body blockquote, .ar-body .art-myth { padding: 22px 20px 4px; border-radius: 18px; }
    .ar-by { gap: 8px 18px; font-size: 15.5px; }
    .ar-author { flex-direction: column; gap: 16px; border-radius: 22px; }
    .ar-rel__item { gap: 8px 18px; }
    .ar-rel__go { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .ar-row__go, .ar-row__go svg, .ar-rel__go, .ar-rel__go svg, .ar-toc__list a, .ar-toc__n, .ar-body a, .ar-toc-m__ic { transition: none; }
}
/* 320-359 px: the longest one-word compounds in the headings ("Verkkovirtavaroittimet", "palovaroitinpäivä")
   must fit the column; at 27 px they did not. */
@media (max-width: 359px) {
    .ar-body h2 { font-size: 24px; }
}
