:root {
    --accent: #F7931A;
    --accent-ink: #A34E00;
    --accent-soft: #FFF2E0;
    --paper: #ffffff;
    --panel: #f4f6f8;
    --ink: #0f1623;
    --text: #263042;
    --muted: #5b6677;
    --rule: #e2e6ec;
    --rule-2: #c7cfd9;
    --head: "Fira Sans Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
    --body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
    --wrap: 1240px;
    --pad: 24px;
    --col-time: 76px;
    --col-read: 70px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body.cw {
    display: flex; flex-direction: column; min-height: 100vh; margin: 0;
    background: var(--paper); color: var(--text);
    font-family: var(--body); font-size: 17px; line-height: 1.6;
    overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 3px; }

::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--accent-soft); }

.cw-num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

.cw-sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.cw-skip {
    position: absolute; left: -9999px; top: 8px; z-index: 50;
    padding: 10px 16px; background: var(--ink); color: #fff;
    font: 600 15px var(--body); text-decoration: none;
}
.cw-skip:focus { left: 8px; }

.cw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.cw-main { flex: 1 0 auto; padding-bottom: 72px; }

.cw-bar { background: var(--paper); }
.cw-bar__row {
    display: flex; align-items: stretch; gap: 0 32px; min-height: 58px;
    border-bottom: 2px solid var(--ink);
}

.cw-logo {
    display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
    color: var(--ink); text-decoration: none;
}
.cw-logo__mark {
    position: relative; width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent);
    box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 2px var(--accent);
}
.cw-logo__name { font: 700 24px/1 var(--head); letter-spacing: -.01em; }

.cw-nav { display: flex; align-items: stretch; gap: 0 26px; min-width: 0; }
.cw-nav__link {
    position: relative; display: inline-flex; align-items: center;
    color: var(--ink); text-decoration: none;
    font: 600 17px/1.2 var(--head);
}
.cw-nav__link:hover { color: var(--accent-ink); }
.cw-nav__link.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--accent);
}

.cw-bar__clock {
    display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; white-space: nowrap;
    font-size: 14px; color: var(--ink);
}
.cw-bar__wd { color: var(--muted); }

.cw-status { background: var(--panel); border-bottom: 1px solid var(--rule); }
.cw-status__row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 24px;
    min-height: 36px; padding-top: 6px; padding-bottom: 6px;
    font-size: 13.5px; line-height: 1.4; color: var(--muted);
}
.cw-status__tagline { margin: 0; }
.cw-status__upd { display: flex; gap: 8px; margin: 0 0 0 auto; white-space: nowrap; }
.cw-status__upd time { font-weight: 600; color: var(--ink); }

.cw-lead { display: grid; gap: 28px 44px; padding: 36px 0 40px; border-bottom: 1px solid var(--rule); }
.cw-lead--media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.cw-lead__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.cw-lead__text { min-width: 0; }
.cw-lead:not(.cw-lead--media) .cw-lead__text { max-width: 860px; }
.cw-lead__flag {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 14px;
    font-size: 14px; color: var(--muted);
}
.cw-lead__label {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 16px/1 var(--head); color: var(--accent-ink);
}
.cw-lead__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.cw-lead__title {
    margin: 0 0 16px; color: var(--ink);
    font: 700 clamp(28px, 3.3vw, 44px)/1.08 var(--head); letter-spacing: -.012em;
}
.cw-lead:not(.cw-lead--media) .cw-lead__title { font-size: clamp(32px, 4.6vw, 56px); }
.cw-lead__title a { color: inherit; text-decoration: none; }
.cw-lead__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cw-lead__lead { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: var(--text); }
.cw-lead__read { margin: 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }

.cw-split {
    display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px 48px; align-items: start;
    padding-top: 36px;
}

.cw-headrow {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px;
    padding-top: 10px; border-top: 2px solid var(--ink); margin-bottom: 10px;
}
.cw-headrow__title { margin: 0; color: var(--ink); font: 700 24px/1.2 var(--head); }
.cw-headrow__more { font: 600 16px var(--head); text-decoration: none; }
.cw-headrow__more:hover { text-decoration: underline; }

.cw-thead {
    display: grid; grid-template-columns: var(--col-time) minmax(0, 1fr) var(--col-read);
    padding: 7px 12px; background: var(--panel); border-radius: 3px;
    font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--muted);
}
.cw-thead__read { text-align: right; }

.cw-list { margin: 0; padding: 0; list-style: none; }

.cw-row {
    position: relative;
    display: grid;
    grid-template-columns: var(--col-time) minmax(0, 1fr) auto var(--col-read);
    grid-template-areas: "time body thumb read";
    align-items: start;
    padding: 13px 12px 14px;
    border-bottom: 1px solid var(--rule);
    transition: background-color .12s ease;
}
.cw-row:hover, .cw-row:focus-within { background: #fafbfc; box-shadow: inset 3px 0 0 var(--accent); }

.cw-row__time { grid-area: time; display: flex; flex-direction: column; padding-top: 2px; line-height: 1.25; }
.cw-row__day { font-size: 12.5px; color: var(--muted); }
.cw-row__hm { font-size: 15px; font-weight: 600; color: var(--ink); }
.cw-row.is-fresh .cw-row__hm { display: inline-flex; align-items: center; gap: 6px; }
.cw-row.is-fresh .cw-row__hm::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.cw-row__body { grid-area: body; min-width: 0; padding-right: 20px; }
.cw-row__title { margin: 0; color: var(--ink); font: 600 19px/1.28 var(--head); }
.cw-row__title a { color: inherit; text-decoration: none; }
.cw-row__title a::after { content: ""; position: absolute; inset: 0; }
.cw-row:hover .cw-row__title a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.cw-row__lead {
    margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.cw-row__thumb {
    grid-area: thumb; width: 120px; aspect-ratio: 3 / 2; margin-right: 18px;
    object-fit: cover; border-radius: 3px;
}
.cw-row__read { grid-area: read; padding-top: 3px; text-align: right; font-size: 14px; color: var(--muted); white-space: nowrap; }

.cw-panel {
    position: sticky; top: 20px;
    padding: 16px 18px 18px; background: var(--panel); border-top: 2px solid var(--ink);
}
.cw-panel__title { margin: 0 0 6px; color: var(--ink); font: 700 20px/1.2 var(--head); }
.cw-panel__title--topics { margin-top: 24px; }
.cw-stats { margin: 0; }
.cw-stats__row {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 8px 0; border-bottom: 1px solid var(--rule-2);
}
.cw-stats dt { font-size: 14.5px; color: var(--muted); }
.cw-stats dd { margin: 0; font: 600 28px/1 var(--head); color: var(--ink); }
.cw-topics { margin: 6px 0 0; padding: 0; list-style: none; }
.cw-topics li {
    position: relative; display: flex; justify-content: space-between; gap: 12px;
    margin-bottom: 4px; padding: 5px 8px; font-size: 14.5px; line-height: 1.35; color: var(--ink);
}
.cw-topics li::before {
    content: ""; position: absolute; inset: 0 auto 0 0; z-index: 0; width: var(--share, 0%);
    background: var(--accent-soft); border-left: 2px solid var(--accent); border-radius: 0 2px 2px 0;
}
.cw-topics li > * { position: relative; z-index: 1; }
.cw-topics__n { font-weight: 600; }
.cw-panel__rss { display: inline-block; margin-top: 18px; font: 600 15px var(--head); }

.cw-empty { padding-top: 48px; color: var(--muted); font-size: 18px; }
.cw-empty__line { margin: 18px 0; color: var(--muted); }

.cw-section { padding-top: 22px; }
.cw-pagehead {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px;
    margin: 14px 0 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.cw-pagehead__title { margin: 0; color: var(--ink); font: 700 clamp(32px, 4.4vw, 48px)/1.05 var(--head); letter-spacing: -.012em; }
.cw-pagehead__info { display: flex; gap: 16px; margin: 0; font-size: 15px; color: var(--muted); }

.cw-day__title {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    margin: 0; padding: 22px 12px 8px; border-bottom: 1px solid var(--rule-2);
    color: var(--ink); font: 700 19px/1.2 var(--head);
}
.cw-day__n { font: 500 14px var(--body); color: var(--muted); }
.cw-section .cw-thead + .cw-day .cw-day__title { padding-top: 14px; }

.crumbs__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.crumbs__item + .crumbs__item::before { content: "/"; margin: 0 8px; color: var(--rule-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; font: 600 16px/1 var(--head); }
.pager__link, .pager__gap {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; min-height: 42px; padding: 0 14px;
    border: 1px solid var(--rule-2); border-radius: 3px; color: var(--ink); text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.pager__link:hover { border-color: var(--ink); }
.pager__link.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__gap { border-color: transparent; color: var(--muted); }

.cw-article { padding-top: 22px; }
/* .cw-article__head { max-width: 900px; } */
.cw-article__section { margin: 18px 0 8px; font: 600 17px var(--head); }
.cw-article__section a { text-decoration: none; }
.cw-article__section a:hover { text-decoration: underline; }
.cw-article__title { margin: 0; color: var(--ink); font: 700 clamp(30px, 4.3vw, 52px)/1.06 var(--head); letter-spacing: -.014em; }
.cw-article--page .cw-article__title { margin-top: 18px; }
.cw-article__lead { margin: 18px 0 0; font-size: 20px; line-height: 1.55; color: var(--text); }

.cw-facts {
    display: flex; flex-wrap: wrap; margin: 24px 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.cw-facts__cell { padding: 10px 22px 11px 0; margin-right: 22px; border-right: 1px solid var(--rule); }
.cw-facts__cell:last-child { border-right: 0; margin-right: 0; }
.cw-facts dt { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.cw-facts dd { margin: 3px 0 0; font: 600 19px/1.25 var(--head); color: var(--ink); }
.cw-facts__hm { color: var(--accent-ink); }

.cw-article__cover { /*max-width: 1066px;*/ margin: 30px 0 0; }
.cw-article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }

.cw-article__grid { display: grid; grid-template-columns: minmax(0, 760px); gap: 0 56px; margin-top: 36px; }
.cw-article__body { min-width: 0; }
.cw-article__toc { margin-bottom: 32px; }

.cw-prose { font-size: 18px; line-height: 1.72; color: var(--text); }
.cw-prose > * { margin: 0 0 1.1em; }
.cw-prose > :last-child { margin-bottom: 0; }
.cw-prose h2 {
    margin: 1.9em 0 .6em; scroll-margin-top: 20px; color: var(--ink);
    font: 700 29px/1.15 var(--head); letter-spacing: -.008em;
}
.cw-prose > h2:first-child { margin-top: 0; }
.cw-prose h3 { margin: 1.5em 0 .5em; color: var(--ink); font: 600 22px/1.25 var(--head); }
.cw-prose h4 { margin: 1.4em 0 .4em; color: var(--ink); font: 600 19px/1.3 var(--head); }
.cw-prose a { color: var(--accent-ink); }
.cw-prose a:hover { text-decoration-thickness: 2px; }
.cw-prose strong, .cw-prose b { font-weight: 650; color: var(--ink); }
.cw-prose ul, .cw-prose ol { padding-left: 1.4em; }
.cw-prose li { margin-bottom: .35em; }
.cw-prose li::marker { color: var(--accent-ink); }
.cw-prose ol > li::marker { font-weight: 600; font-variant-numeric: tabular-nums; }
.cw-prose blockquote {
    margin-left: 0; margin-right: 0; padding: 16px 22px; border-left: 4px solid var(--accent);
    background: var(--accent-soft); border-radius: 0 4px 4px 0; color: var(--ink); font-size: 19px;
}
.cw-prose blockquote > * { margin: 0 0 .6em; }
.cw-prose blockquote > :last-child { margin-bottom: 0; }
.cw-prose cite { font-style: normal; font-size: 15px; color: var(--muted); }
.cw-prose hr { height: 0; border: 0; border-top: 1px solid var(--rule-2); margin: 2em 0; }
.cw-prose img { border-radius: 4px; }
.cw-prose figure { margin-left: 0; margin-right: 0; }
.cw-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.cw-prose code {
    padding: .1em .35em; border-radius: 3px; background: var(--panel);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .86em;
}
.cw-prose pre { overflow-x: auto; padding: 14px 16px; border-radius: 4px; background: var(--panel); font-size: 14.5px; line-height: 1.55; }
.cw-prose pre code { padding: 0; background: none; font-size: inherit; }

.cw-table { overflow-x: auto; border: 1px solid var(--rule); border-radius: 4px; }
.cw-prose table {
    width: 100%; border-collapse: collapse;
    font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums;
}
.cw-prose caption { padding: 10px 12px 0; text-align: left; font-size: 14px; color: var(--muted); }
.cw-prose th, .cw-prose td { padding: 9px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.cw-prose thead th { background: var(--panel); border-bottom: 1px solid var(--rule-2); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.cw-prose tbody tr:last-child > * { border-bottom: 0; }
.cw-prose tbody tr:hover { background: #fafbfc; }
.cw-prose td:first-child { color: var(--ink); font-weight: 500; }

.toc { padding: 12px 0 0; border-top: 2px solid var(--ink); }
.toc__title { margin: 0 0 6px; color: var(--ink); font: 700 18px/1.2 var(--head); }
.toc__list { margin: 0; padding: 0; list-style: none; counter-reset: cw-toc; }
.toc__list li {
    display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 7px 0;
    border-bottom: 1px solid var(--rule); counter-increment: cw-toc;
}
.toc__list li::before {
    content: counter(cw-toc, decimal-leading-zero);
    font-size: 13px; font-weight: 600; line-height: 21px; color: var(--accent-ink); font-variant-numeric: tabular-nums;
}
.toc__link { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 21px; }
.toc__link:hover { color: var(--accent-ink); text-decoration: underline; }

.faq { margin-top: 52px; }
.faq__title { margin: 0 0 8px; padding-top: 10px; border-top: 2px solid var(--ink); color: var(--ink); font: 700 26px/1.2 var(--head); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
    position: relative; display: block; padding: 14px 40px 14px 0; cursor: pointer; list-style: none;
    color: var(--ink); font: 600 19px/1.35 var(--head);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: "+"; position: absolute; right: 4px; top: 11px;
    width: 24px; height: 24px; border-radius: 50%; background: var(--panel);
    font: 600 18px/24px var(--body); text-align: center; color: var(--accent-ink);
}
.faq__item[open] > .faq__q::after { content: "\2212"; background: var(--accent-soft); }
.faq__q:hover { color: var(--accent-ink); }
.faq__a p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; }

.cw-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.cw-tags li {
    padding: 3px 10px; border: 1px solid var(--rule-2); border-radius: 3px;
    font-size: 14px; line-height: 1.45; color: var(--ink);
}
.cw-tags li::before { content: "#"; margin-right: 1px; color: var(--accent-ink); }

.cw-article__foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
    margin-top: 32px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.cw-article__by { margin: 0; font: 600 17px var(--head); color: var(--ink); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.share__label { margin-right: 4px; }
.share__link {
    display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px;
    border: 1px solid var(--rule-2); border-radius: 3px; background: var(--paper); cursor: pointer;
    color: var(--ink); font: 500 14px var(--body); text-decoration: none;
}
.share__link:hover { border-color: var(--accent); background: var(--accent-soft); }

.rating {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px;
    font-size: 14px; color: var(--muted);
}
.rating__label { color: var(--muted); }
.rating__stars { position: relative; display: inline-block; font-size: 17px; line-height: 1; letter-spacing: 1px; color: var(--rule-2); }
.rating__stars::before { content: "★★★★★"; }
.rating__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--accent); }
.rating__fill::before { content: "★★★★★"; }
.rating__value { font: 700 19px/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.rating__count { font-variant-numeric: tabular-nums; }
.rating__vote { display: inline-flex; margin-left: 6px; padding: 2px 0 2px 12px; border-left: 1px solid var(--rule-2); }
.rating__btn { padding: 0 2px; border: 0; background: none; cursor: pointer; font-size: 19px; line-height: 1; color: var(--rule-2); }
.rating__vote:hover .rating__btn, .rating__btn.is-on { color: var(--accent); }
.rating__vote .rating__btn:hover ~ .rating__btn { color: var(--rule-2); }
.rating__mine { color: var(--accent-ink); font-weight: 600; }

.comments { margin-top: 52px; padding-top: 10px; border-top: 2px solid var(--ink); }
.comments__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--ink); font: 700 26px/1.2 var(--head); }
.comments__count {
    min-width: 30px; padding: 3px 8px; border-radius: 3px; background: var(--accent-soft);
    font: 600 15px/1.2 var(--body); text-align: center; color: var(--accent-ink); font-variant-numeric: tabular-nums;
}
.comments__notice { margin: 0 0 14px; padding: 10px 14px; border-left: 4px solid var(--accent); background: var(--accent-soft); color: var(--ink); font-size: 15px; }
.comments__empty { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.comments__item { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 4px; }
.comment__author { font: 600 17px var(--head); color: var(--ink); }
.comment__date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.comment__text { font-size: 16px; line-height: 1.6; color: var(--text); }
.comment__reply { margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 14px var(--body); color: var(--accent-ink); }
.comment__reply:hover { text-decoration: underline; }
.comment--reply { margin: 12px 0 0 26px; padding: 2px 0 2px 16px; border-left: 2px solid var(--accent); }
.comments__form { margin-top: 24px; padding: 20px 22px 22px; background: var(--panel); border-radius: 4px; }
.comments__form-title { margin: 0 0 14px; color: var(--ink); font: 700 20px/1.2 var(--head); }
.comments__replying { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.comments__replying[hidden] { display: none; }
.comments__cancel { padding: 0; border: 0; background: none; cursor: pointer; font: 600 14px var(--body); color: var(--accent-ink); text-decoration: underline; }
.comments__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comments__field { display: block; margin-bottom: 14px; }
.comments__field span { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; color: var(--ink); }
.comments__field input, .comments__field textarea {
    display: block; width: 100%; padding: 10px 12px;
    border: 1px solid var(--rule-2); border-radius: 3px; background: #fff;
    font: 400 16px/1.5 var(--body); color: var(--ink);
}
.comments__field textarea { min-height: 120px; resize: vertical; }
.comments__field input:focus, .comments__field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); box-shadow: none; }
.comments__submit {
    padding: 11px 22px; border: 0; border-radius: 3px; cursor: pointer;
    background: var(--ink); color: #fff; font: 600 17px/1.2 var(--head);
}
.comments__submit:hover { background: var(--accent); color: var(--ink); }

.cw-related { margin-top: 64px; }

.cw-button {
    display: inline-block; padding: 11px 22px; border-radius: 3px;
    background: var(--ink); color: #fff; text-decoration: none; font: 600 17px/1.2 var(--head);
}
.cw-button:hover { background: var(--accent); color: var(--ink); }

.cw-error { padding-top: 48px; }
.cw-error__box { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: flex-start; padding-bottom: 32px; }
.cw-error__code {
    margin: 0; padding-bottom: 6px; border-bottom: 6px solid var(--accent);
    font: 700 clamp(72px, 12vw, 128px)/.9 var(--head); color: var(--ink); letter-spacing: -.02em;
}
.cw-error__text { max-width: 52ch; margin: 14px 0 22px; font-size: 18px; }
.cw-error__latest { margin-top: 24px; }

.cw-foot { background: var(--panel); border-top: 2px solid var(--ink); padding: 36px 0 24px; font-size: 15px; }
.cw-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; }
.cw-logo--foot .cw-logo__name { font-size: 22px; }
.cw-logo--foot .cw-logo__mark { box-shadow: inset 0 0 0 3px var(--panel), 0 0 0 2px var(--accent); }
.cw-foot__tagline { max-width: 46ch; margin: 8px 0 0; color: var(--muted); }
.cw-foot__links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 24px; font: 600 16px var(--head); }
.cw-foot__links a { color: var(--ink); text-decoration: none; }
.cw-foot__links a:hover { color: var(--accent-ink); text-decoration: underline; }
.cw-foot__copy { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--rule-2); font-size: 13.5px; color: var(--muted); }

@media (min-width: 1100px) {
    .cw-article__grid.has-toc { grid-template-columns: 250px minmax(0, 760px); }
    .cw-article__toc { position: sticky; top: 20px; align-self: start; margin-bottom: 0; }
}

@media (max-width: 1023px) {
    .cw-split { grid-template-columns: minmax(0, 1fr); }
    .cw-panel { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; }
    .cw-panel > .cw-panel__title:first-child, .cw-stats { grid-column: 1; }
    .cw-panel__title--topics, .cw-topics { grid-column: 2; }
    .cw-panel__title--topics { grid-row: 1; margin-top: 0; }
    .cw-topics { grid-row: 2; }
    .cw-panel__rss { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .cw-lead--media { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
    :root { --pad: 16px; --col-time: 58px; }
    body.cw { font-size: 16px; }

    .cw-bar__row { flex-wrap: wrap; gap: 0 18px; min-height: 0; padding-top: 10px; }
    .cw-logo { min-height: 34px; }
    .cw-logo__name { font-size: 22px; }
    .cw-bar__clock { font-size: 13px; }
    .cw-nav { order: 3; flex-basis: 100%; gap: 0 22px; overflow-x: auto; }
    .cw-nav__link { padding: 10px 0 12px; font-size: 16px; white-space: nowrap; }
    .cw-status__row { font-size: 13px; }
    .cw-status__tagline { flex-basis: 100%; }
    .cw-status__upd { margin-left: 0; }

    .cw-lead { padding: 20px 0 26px; gap: 18px; }
    .cw-lead__title, .cw-lead:not(.cw-lead--media) .cw-lead__title { font-size: clamp(26px, 7.6vw, 32px); }
    .cw-lead__lead { font-size: 16.5px; }

    .cw-split { padding-top: 26px; }
    .cw-thead { display: none; }
    .cw-row {
        grid-template-columns: var(--col-time) minmax(0, 1fr) auto;
        grid-template-areas: "time body thumb" "time read thumb";
        padding: 12px 4px 13px;
    }
    .cw-row__body { padding-right: 12px; }
    .cw-row__title { font-size: 17.5px; }
    .cw-row__lead { font-size: 14.5px; }
    .cw-row__thumb { width: 84px; margin: 3px 0 0; }
    .cw-row__read { padding: 6px 0 0; text-align: left; font-size: 13px; }

    .cw-panel { display: block; }

    .cw-day__title { padding-left: 4px; padding-right: 4px; }
    .cw-pagehead__title { font-size: clamp(28px, 9vw, 36px); }

    .cw-article__title { font-size: clamp(26px, 7.8vw, 34px); }
    .cw-article__lead { font-size: 17.5px; }
    .cw-facts__cell { padding-right: 14px; margin-right: 14px; }
    .cw-facts dd { font-size: 17px; }
    .cw-facts__cell--author { flex-basis: 100%; border-top: 1px solid var(--rule); border-right: 0; }
    .cw-article__cover { margin-top: 22px; }
    .cw-article__grid { margin-top: 26px; }
    .cw-prose { font-size: 17px; }
    .cw-prose h2 { font-size: 24px; }
    .cw-prose h3 { font-size: 20px; }
    .cw-prose table { font-size: 14px; }
    .rating__vote { margin-left: 0; padding-left: 0; border-left: 0; }
    .comments__form { padding: 16px 14px 18px; }
    .comment--reply { margin-left: 10px; padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

figure:not([class]) { margin: 1.8em 0; }
figure:not([class]) img { display: block; width: 100%; height: auto; border-radius: 8px; }
figure:not([class]) figcaption { margin-top: .6em; font-size: .86em; line-height: 1.45; color: inherit; opacity: .72; }

.cw-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 3px solid var(--accent); color: #e7ebf1; font: 400 15px/1.5 var(--body); }
.cw-cookie[hidden] { display: none; }
.cw-cookie__in { display: flex; align-items: center; gap: 20px; max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad); }
.cw-cookie__tag { display: inline-flex; flex: none; align-items: center; gap: 10px; color: #fff; font: 600 16px/1 var(--head); }
.cw-cookie__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(247, 147, 26, .25); }
.cw-cookie__text { flex: 1; margin: 0; color: #b9c2cf; }
.cw-cookie__text a { color: #fff; }
.cw-cookie__ok { flex: none; padding: 10px 20px; border: 0; border-radius: 4px; background: var(--accent); color: var(--ink); font: 600 15px/1 var(--head); cursor: pointer; }
.cw-cookie__ok:hover { background: #ffb04d; }
@media (max-width: 720px) { .cw-cookie__in { flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; } .cw-cookie__tag { flex: 1; } .cw-cookie__text { flex-basis: 100%; order: 3; } }
