/* ---------------------------------------------------------------------------
   The article page — design ids 19b (mobile body), 19d (mobile paywall and
   comments), 18a (body blocks), 5a/5b (wide end).

   Mobile-first: the base rules are the < 640px layout and the media queries
   at the foot add the wider ends. Every value is a token from tokens.css.

   Loaded after articles.css, which keeps the rules this page shares with
   other screens (.image-credit, .richtext-image-figure).
   --------------------------------------------------------------------------- */

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
    max-width: var(--page-max);
    margin: 0 auto;
    padding-block: var(--space-6) var(--space-8);
    padding-inline: var(--gutter);
}

/* The body measure caps at 660px (4b) — the body is 19px on desktop, so a
   narrower column than 18a's 760px keeps the same 65-75 characters. Applied
   to the column rather than to each element so blocks and text share one
   edge. */
.article-main {
    min-width: 0;
    max-width: var(--measure-article);
}

/* --- Head ---------------------------------------------------------------- */

.article-kicker {
    margin: 0;
    font: 700 10px / 1 var(--font-sans);
    letter-spacing: var(--tracking-kicker);
    text-transform: uppercase;
}

.article-kicker a {
    color: var(--accent);
    text-decoration: none;
}

.article-kicker a:hover {
    text-decoration: underline;
}

.article-kicker__separator {
    color: var(--meta);
}

.article-title {
    margin: var(--space-2) 0 0;
    font-size: var(--text-h2);
    line-height: var(--leading-headline);
    letter-spacing: var(--tracking-headline);
}

.article-standfirst {
    margin-top: var(--space-4);
    font-size: var(--text-lead);
    line-height: 1.55;
    color: var(--body);
}

.article-standfirst p {
    margin: 0 0 var(--space-2);
}

.article-standfirst p:last-child {
    margin-bottom: 0;
}

/* --- Byline -------------------------------------------------------------- */

/* Byline block (4b): 1px rules top and bottom, the issue reference pushed to
   the right-hand end. Wraps under the names on a phone. */
.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) 14px;
    margin-top: 22px;
    padding-block: 14px;
    border-top: var(--rule-hairline) solid var(--rule);
    border-bottom: var(--rule-hairline) solid var(--rule);
}

/* One of only two places a radius is allowed in the whole system (avatars at
   50%; the other is the review-bell badge). An initial on a mat ground rather
   than a stock silhouette, because CustomUser has no photo field yet. */
.article-byline__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--mat);
    color: var(--meta);
    font: 700 15px / 1 var(--font-sans);
}

.article-byline__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-byline__text {
    flex: 1 1 12rem;
    min-width: 0;
}

.article-byline__issue {
    margin: 0;
    font: 400 var(--text-kicker) / 1.4 var(--font-sans);
    color: var(--meta);
}

.article-byline__authors {
    margin: 0;
    font: 600 var(--text-ui) / 1.3 var(--font-sans);
}

.article-byline__authors a {
    color: var(--ink);
    text-decoration: none;
}

.article-byline__authors a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.article-byline__column {
    margin: 2px 0 0;
    font: italic 400 var(--text-ui) / 1.3 var(--font-serif);
}

.article-byline__column a {
    color: var(--accent);
}

.article-byline__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
    font: 400 var(--text-kicker) / 1.4 var(--font-sans);
    color: var(--meta);
}

.article-byline__dot {
    color: var(--rule);
}

/* Colour never carries meaning alone: the gated badge is colour *and* text. */
.article-badge--gated {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 5px 9px;
    background: var(--ink);
    color: var(--on-ink);
    font: 600 9.5px / 1 var(--font-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase; /* D2: the msgid is sentence case; casing is CSS */
}

.article-updated {
    margin: var(--space-3) 0 0;
    font: 400 var(--text-meta) / 1.5 var(--font-sans);
    color: var(--meta);
}

/* --- Lead image ---------------------------------------------------------- */

/*
 * Never cropped (owner ruling 2026-11-27, design-principles §3). The img
 * takes its own shape and is capped in height; object-fit: contain plus the
 * mat background gives a portrait at the cap matted sides. The CSP forbids
 * inline styles, so the "enlarge at most 2x" cap is the img's width/height
 * attributes (twice the source); no CSS width here, or it would override them.
 */
.article-lead {
    margin: var(--space-5) 0 0;
}

.article-lead__mat img {
    display: block;
    height: auto;
    max-width: 100%;
    max-height: 380px;
    margin-inline: auto;
    object-fit: contain;
    background: var(--mat);
}

@media (min-width: 900px) {
    .article-lead__mat img {
        max-height: 520px;
    }
}

.article-lead__caption-row {
    margin-top: 9px;
    font: 400 var(--text-meta) / 1.6 var(--font-sans);
    color: var(--meta);
}

.article-lead__credit {
    color: var(--meta);
}

/* --- Body ---------------------------------------------------------------- */

.article-body {
    margin-top: var(--space-5);
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--body);
}

/* 16px between paragraphs. Blocks below take 24-26px, so a block always
   breathes more than an adjacent paragraph — that contrast is what makes the
   block read as an inserted object rather than as more prose. */
.article-body p {
    margin: 0 0 var(--paragraph-gap);
}

.article-body p:last-child {
    margin-bottom: 0;
}

/* H2 subheads step up to 29px from 900px (4b). */
.article-body h2 {
    margin: 34px 0 var(--paragraph-gap);
    font-size: 23px;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.article-body h3 {
    margin: var(--space-7) 0 var(--space-3);
    font-size: var(--text-h3);
    line-height: var(--leading-h3);
    letter-spacing: var(--tracking-h3);
}

.article-body a {
    color: var(--accent);
}

.article-body ul,
.article-body ol {
    margin: 0 0 var(--paragraph-gap);
    padding-left: var(--space-6);
}

.article-body li {
    margin-bottom: var(--space-1);
}

/* Legacy inline images from the WordPress import. The typed image block below
   is what new content uses; this keeps the 7,749 imported bodies legible. */
.article-body img {
    height: auto;
    max-width: 100%;
}

/* Footnote references in the body text. Numbering is manual by design. */
.article-body sup {
    font: 600 10.5px var(--font-sans);
    color: var(--accent);
}

/*
 * The gated teaser fades out instead of stopping square, so the reader can
 * see that text was cut rather than that the article simply ended. The
 * gradient is painted in --paper because that is the surface behind it; on
 * any other ground it would show as a grey band.
 */
.article-body--teaser {
    position: relative;
    max-height: 12em;
    overflow: hidden;
}

.article-body--teaser::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 5em;
    background: linear-gradient(rgba(255, 255, 255, 0), var(--paper));
}

/* --- Body blocks (18a) --------------------------------------------------- */

/* Body blocks are full body width. The one exception is an image an editor
   places centred, left or right (owner ruling 2026-11-01): text wraps around
   it only from 640px up (see "Image placement" below), because wrapping text
   beside a floated object is the first thing that breaks on a phone. */
.article-block {
    margin: var(--space-7) 0;
}

.article-block:last-child {
    margin-bottom: 0;
}

.article-block__mat {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    overflow: hidden;
    background: var(--mat);
}

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

/* Caption and credit are different jobs and sit in one row: the caption
   describes, the credit attributes. When the credit is absent the caption
   stays left-aligned rather than centring into the gap. */
.article-block__caption-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-4);
    margin-top: var(--space-2);
    padding-left: 12px;
    border-left: var(--rule-strong) solid var(--ink);
}

.article-block__caption {
    flex: 1 1 12rem;
    font: 400 13px / 1.6 var(--font-sans);
    color: var(--body);
}

.article-block__credit {
    flex: none;
    font: 400 var(--text-meta) / 1.6 var(--font-sans);
    color: var(--meta);
}

/* Pull quote: the 2.5px rules above and below ARE the quoting device, which
   is why no quotation marks are drawn. */
.article-block--quote {
    padding: var(--space-6) 0;
    border-top: var(--rule-strong) solid var(--ink);
    border-bottom: var(--rule-strong) solid var(--ink);
}

.article-block__quote {
    margin: 0;
    font: 700 var(--text-h3) / var(--leading-h3) var(--font-serif);
    color: var(--ink);
    letter-spacing: var(--tracking-h3);
    text-wrap: pretty;
}

.article-block__attribution {
    margin-top: var(--space-3);
    font: 400 12px / 1.5 var(--font-sans);
    color: var(--meta);
    letter-spacing: 0.04em;
}

/* Table: scrolls horizontally and never hides a column — a hidden column is
   indistinguishable from missing data. */
.article-block--table {
    border: var(--rule-hairline) solid var(--rule);
}

.article-block__table-scroll {
    overflow-x: auto;
}

.article-block--table table {
    width: 100%;
    border-collapse: collapse;
}

.article-block--table th {
    padding: 11px 14px;
    background: var(--ink);
    color: var(--on-ink);
    font: 600 var(--text-kicker) / 1.2 var(--font-sans);
    letter-spacing: 0.1em;
    text-align: start;
    white-space: nowrap;
}

.article-block--table td {
    padding: 11px 14px;
    border-bottom: var(--rule-hairline) solid var(--rule);
    font: 400 14px / 1.5 var(--font-serif);
    color: var(--body);
}

.article-block--table tbody tr:nth-child(even) td {
    background: var(--tint);
}

.article-block__table-source {
    padding: 10px 14px;
    border-top: var(--rule-hairline) solid var(--rule);
    background: var(--paper);
    font: 400 var(--text-meta) / 1.6 var(--font-sans);
    color: var(--meta);
}

/* Embed: full width in a 16:9 box. */
.article-block__embed-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--ink);
}

.article-block__embed-frame iframe,
.article-block__embed-frame video,
.article-block__embed-frame object {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* When the provider fails the box must not sit empty — the reader gets the
   link and the editor's description instead. */
.article-block__embed-fallback {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--card-pad);
    background: var(--ink);
    color: var(--on-ink);
}

.article-block__embed-fallback-label {
    margin: 0;
    font: 600 var(--text-kicker) / 1.2 var(--font-sans);
    letter-spacing: 0.12em;
    color: var(--accent-on-dark);
}

.article-block__embed-fallback-text {
    margin: 0;
    font: 400 14px / 1.6 var(--font-serif);
    color: var(--on-ink-secondary);
}

.article-block__embed-fallback-link {
    color: var(--accent-on-dark);
    font: 400 12.5px / 1.5 var(--font-sans);
    word-break: break-all;
}

.article-block__embed-caption {
    margin-top: var(--space-2);
    padding-left: 12px;
    border-left: var(--rule-strong) solid var(--rule);
    font: 400 12.5px / 1.6 var(--font-sans);
    color: var(--meta);
}

/* Aside: tangential background information, set apart on tint. */
.article-block--aside {
    padding: var(--space-5) var(--space-6);
    background: var(--tint);
    border-left: var(--rule-strong) solid var(--ink);
}

.article-block__aside-heading {
    margin: 0;
    font: 700 var(--text-kicker-small) / 1.2 var(--font-sans);
    letter-spacing: 0.12em;
    color: var(--ink);
    text-transform: uppercase;
}

.article-block__aside-text {
    margin-top: var(--space-3);
    font: 400 15px / 1.7 var(--font-serif);
    color: var(--body);
}

.article-block__aside-text p {
    margin: 0 0 var(--space-2);
}

.article-block__aside-text p:last-child {
    margin-bottom: 0;
}

/* --- Paywall (19d) ------------------------------------------------------- */

.article-paywall {
    margin-top: var(--space-1);
    padding: var(--space-5) var(--card-pad);
    border: var(--rule-strong) solid var(--ink);
}

.article-paywall__title {
    margin: var(--space-3) 0 0;
    font: 700 20px / 1.25 var(--font-serif);
    color: var(--ink);
    text-wrap: pretty;
}

.article-paywall__text {
    margin: var(--space-2) 0 0;
    font: 400 13.5px / 1.65 var(--font-sans);
    color: var(--body);
}

.article-paywall__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font: 600 13px / 1.2 var(--font-sans);
}

/* 48px primary, 44px secondary — the design sizes the hierarchy, not just
   the colour. */
.article-paywall__cta--primary {
    min-height: 48px;
    margin-top: 15px;
    padding: 0 var(--space-4);
    background: var(--accent);
    color: var(--paper);
}

.article-paywall__cta--primary:hover {
    background: var(--ink);
}

.article-paywall__cta--secondary {
    min-height: var(--target-min);
    margin-top: var(--space-2);
    padding: 0 var(--space-4);
    border: var(--rule-medium) solid var(--ink);
    color: var(--ink);
    font-size: var(--text-ui);
}

.article-paywall__cta--secondary:hover {
    background: var(--ink);
    color: var(--paper);
}

.article-paywall__purchase {
    margin: var(--space-3) 0 0;
    padding-top: var(--space-3);
    border-top: var(--rule-hairline) solid var(--rule);
    font: 400 11.5px / 1.6 var(--font-sans);
    color: var(--meta);
}

.article-paywall__purchase a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.article-paywall__purchase a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Paying member lacking the required benefit — names both sides (11b). */
.article-paywall--missing-benefit {
    border-color: var(--accent);
}

.article-paywall__benefits {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--tint);
}

.article-paywall__benefits-label {
    margin: 0;
    font: 600 var(--text-kicker) / 1 var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.article-paywall__benefits-label--required {
    margin-top: var(--space-3);
    color: var(--accent);
}

.article-paywall__benefits-list {
    margin: var(--space-2) 0 0;
    padding: 0 0 0 1.1em;
    font: 400 12.5px / 1.75 var(--font-sans);
    color: var(--body);
}

/* --- Author bio card (19b, after footnotes) ------------------------------ */

.article-author-bios {
    margin-top: var(--space-7);
}

.article-author-bio {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-top: var(--space-5);
    padding: 15px;
    border: var(--rule-medium) solid var(--ink);
}

.article-author-bio:first-child {
    margin-top: 0;
}

.article-author-bio__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mat);
    color: var(--meta);
    font: 700 15px / 1 var(--font-sans);
    overflow: hidden;
}

.article-author-bio__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-author-bio__text {
    flex: 1;
    min-width: 0;
}

.article-author-bio__name {
    margin: 0;
    font: 700 15px / 1.25 var(--font-serif);
    color: var(--ink);
}

.article-author-bio__name a {
    color: inherit;
    text-decoration: none;
}

.article-author-bio__name a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.article-badge--author {
    display: inline-block;
    margin-inline-start: var(--space-2);
    padding: 3px 7px;
    background: var(--ink);
    color: var(--paper);
    font: 600 9.5px / 1 var(--font-sans);
    letter-spacing: 0.1em;
    vertical-align: middle;
    text-transform: uppercase; /* D2: the msgid is sentence case; casing is CSS */
}

.article-author-bio__bio {
    margin: 5px 0 0;
    font: 400 12.5px / 1.6 var(--font-sans);
    color: var(--body);
}

/* --- Topics / running dossier ------------------------------------------- */

.article-section-heading {
    margin: 0;
    font: 700 var(--text-kicker-small) / 1.2 var(--font-sans);
    letter-spacing: var(--tracking-kicker);
    color: var(--meta);
    text-transform: uppercase;
}

.article-topics {
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    border-top: var(--rule-strong) solid var(--ink);
}

.article-topics__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-3) 0 0;
    padding: 0;
    list-style: none;
}

.article-topics__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--target-min);
    padding: 0 var(--space-4);
    border: var(--rule-hairline) solid var(--ink);
    color: var(--ink);
    font: 600 var(--text-ui) / 1 var(--font-sans);
    text-decoration: none;
}

.article-topics__link:hover {
    background: var(--ink);
    color: var(--paper);
}

/* --- Like row (4b) ------------------------------------------------------ */

.article-like-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) 18px;
    margin-top: var(--space-7);
    padding-block: 18px;
    border-top: var(--rule-strong) solid var(--ink);
    border-bottom: var(--rule-hairline) solid var(--rule);
}

.article-like-row form {
    margin: 0;
}

.article-like-row__note {
    flex: 1 1 14rem;
    margin: 0;
    font: 400 var(--text-meta) / 1.6 var(--font-sans);
    color: var(--meta);
}

.article-like-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    min-height: var(--target-min);
    padding: 0 var(--space-4);
    border: var(--rule-medium) solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: 600 var(--text-ui) / 1 var(--font-sans);
    text-decoration: none;
    cursor: pointer;
}

.article-like-button:hover {
    background: var(--ink);
    color: var(--paper);
}

.article-like-button--on {
    background: var(--ink);
    color: var(--paper);
}

.article-like-button__count {
    font-weight: 400;
    color: var(--meta);
}

.article-like-button--on .article-like-button__count,
.article-like-button:hover .article-like-button__count {
    color: var(--on-ink-tertiary);
}


/* --- Comments (19d) ----------------------------------------------------- */

/* "YORUMLAR · 4" + 2.5px rule, the same section-header grammar as 4a. */
.article-comments {
    margin-top: var(--space-7);
}

.article-comments__title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font: 700 var(--text-kicker) / 1 var(--font-sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}

.article-comments__title::after {
    content: "";
    flex: 1;
    height: var(--rule-strong);
    margin-inline-start: 6px;
    background: var(--ink);
}

.article-comments__count {
    font: inherit;
    color: inherit;
}

.article-comments__notice {
    margin: var(--space-4) 0 0;
    font: 400 13px / 1.6 var(--font-sans);
    color: var(--meta);
}

.comment-form {
    margin-top: var(--space-3);
    padding: 13px;
    border: var(--rule-medium) solid var(--ink);
}

.comment-form textarea {
    width: 100%;
    min-height: 5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--body);
    font-family: var(--font-serif);
    resize: vertical;
}

.comment-form__notice {
    flex: 1 1 12rem;
    margin: 0;
    font: 400 var(--text-meta) / 1.5 var(--font-sans);
    color: var(--meta);
}

/* The two states that cannot post — unverified and logged out — share one
 * shape: the sentence that says what is missing, beside the single action that
 * supplies it. Same shape, different sentence (UX audit B5, 2026-09-19). */
.comment-form--locked,
.comment-form--signin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-4);
}

.comment-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    /* --target-min, not a literal: this one button is the comment form's
       Gönder, the "resend verification e-mail" button and the signed-out
       sign-up CTA, and 40px put all three under the 44px floor (UX audit,
       2026-09-19). */
    min-height: var(--target-min);
    margin-top: var(--space-3);
    padding: 0 15px;
    border: 0;
    background: var(--ink);
    color: var(--on-ink);
    font: 600 12px / 1 var(--font-sans);
    text-decoration: none;
    cursor: pointer;
}

.comment-form--locked .comment-form__submit,
.comment-form--signin .comment-form__submit {
    margin-top: 0;
}

.comment-form__submit:hover {
    background: var(--accent);
}

.comment-list {
    margin: var(--space-5) 0 0;
    padding: 0;
    list-style: none;
}

.comment {
    padding-bottom: 15px;
    border-bottom: var(--rule-hairline) solid var(--rule);
}

.comment + .comment {
    margin-top: var(--space-4);
}

.comment__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.comment__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mat);
    color: var(--meta);
    font: 700 11px / 1 var(--font-sans);
}

.comment__author {
    font: 600 var(--text-ui) / 1 var(--font-sans);
    color: var(--ink);
}

/* A columnist's reply is marked, so a reader can tell the paper's own voice
   from another reader's. */
.comment__badge {
    padding: 3px 7px;
    background: var(--ink);
    color: var(--on-ink);
    font: 600 9.5px / 1 var(--font-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase; /* D2: the msgid is sentence case; casing is CSS */
}

.comment__date {
    font: 400 var(--text-kicker) / 1 var(--font-sans);
    color: var(--meta);
}

.comment__body {
    margin: var(--space-2) 0 0;
    font: 400 14.5px / 1.65 var(--font-serif);
    color: var(--body);
}

.comment__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
    margin: var(--space-2) 0 0;
}

.comment__reply-link {
    min-height: 34px;
    color: var(--meta);
    font: 400 12px / 34px var(--font-sans);
    text-decoration: none;
}

.comment__reply-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.comment-replies {
    margin: var(--space-3) 0 0;
    padding: 0 0 0 var(--space-4);
    border-left: var(--rule-medium) solid var(--rule);
    list-style: none;
}

.comment--reply {
    padding-bottom: var(--space-3);
}

.comment--reply + .comment--reply {
    margin-top: var(--space-3);
}

.comment__report {
    margin: 0;
}

.comment__report-button {
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--meta);
    font: 400 12px / 1 var(--font-sans);
    cursor: pointer;
}

.comment__report-button:hover {
    color: var(--accent);
    text-decoration: underline;
}

/*
 * The removal tombstone. The thread keeps its shape and the removal is stated
 * rather than hidden: a comment that silently vanishes reads as censorship,
 * and the surrounding replies stop making sense.
 */
.comment--removed {
    padding: 12px 14px;
    background: var(--tint);
    border-bottom: 0;
}

.comment__tombstone {
    margin: 0;
    font: 400 12px / 1.6 var(--font-sans);
    color: var(--meta);
}

/* --- Sticky action bar (mobile only) ------------------------------------ */

/*
 * Dropped at 900px, per the breakpoint table. Sits *below* the cookie notice
 * in z-order (that is 80) so a first-time visitor is not asked to dismiss a
 * bar that is covered by another bar. The notice also stands above this bar
 * (see .cookie-consent below), so neither covers the other.
 */
.article-stickybar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: var(--paper);
    border-top: var(--rule-strong) solid var(--ink);
}

/* The like and save forms are wrappers only; they must not take width. */
.article-stickybar form {
    display: flex;
    flex: none;
    margin: 0;
}

.article-stickybar__item {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: var(--target-min);
    padding: 0 var(--space-2);
    border: var(--rule-medium) solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: 600 var(--text-ui) / 1 var(--font-sans);
    text-decoration: none;
    cursor: pointer;
}

/* Variant classes deliberately do NOT repeat "article-stickybar__item":
   test_sticky_bar_has_four_targets counts that substring to pin four targets.

   19b: like and comment counts. */
.article-stickybar__compact {
    min-width: 52px;
}

/* 19b: save is a square bookmark. */
.article-stickybar__icon-only {
    width: var(--target-min);
    padding: 0;
}

/* 19b: the ink "Paylaş" button is the only item that grows. */
.article-stickybar__share {
    flex: 1 1 auto;
    min-width: 0;
    border-color: var(--ink);
    background: var(--ink);
    color: var(--on-ink);
}

.article-stickybar__item--on {
    color: var(--accent);
    border-color: var(--accent);
}

/* The cookie notice (base.css) is also fixed to the bottom edge. On a phone it
   stands on top of the bar instead of over it, so a first-time reader can use
   the bar without dismissing the notice first (found 2026-11-02). The height is
   the bar's: 44px target + 22px padding + its top rule. This file loads on the
   article page only, the one page with the bar. Undone at 900px, where the bar
   drops. Test: tests/e2e/test_cookie_notice_and_sticky_bar.py. */
.cookie-consent {
    bottom: calc(var(--target-min) + 22px + var(--rule-strong));
}

/* Keeps the last of the article clear of the fixed bar (44px target + 22px
   padding + 2.5px rule). */
.article-layout {
    padding-bottom: calc(var(--target-min) + 24px + var(--space-8));
}

/* --- 4b furniture ------------------------------------------------------- */

/* Reading-progress bar: 3px, mat track, accent fill. Sticky so it stays in
   view once the masthead scrolls away. Scaled rather than resized, so a
   scroll never triggers layout. */
.article-progress {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 3px;
    background: var(--mat);
}

.article-progress__fill {
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
}

/* 19b draws no breadcrumb on phones — the kicker opens the page there. */
.article-breadcrumb {
    display: none;
    margin-bottom: 20px;
    font: 400 var(--text-meta) / 1.4 var(--font-sans);
    color: var(--meta);
}

.article-breadcrumb a {
    color: var(--meta);
    text-decoration: none;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-breadcrumb__separator {
    padding-inline: 6px;
}

.article-breadcrumb .article-breadcrumb__current {
    color: var(--accent);
}

/* Share rail — hidden on phones (the sticky bar shares there). 36px circles:
   avatars and these share buttons are drawn round in 4b; everything else in
   the system is square. */
/* The aside fills the grid row so the 1px rule spans the whole article (4b);
   only the inner column of buttons is sticky. */
.article-share-rail {
    display: none;
    align-self: stretch;
    border-inline-end: var(--rule-hairline) solid var(--rule);
}

.article-share-rail__inner {
    position: sticky;
    top: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    padding-block: var(--space-2);
}

.article-share-rail__label {
    margin: 0;
    font: 600 9px / 1 var(--font-sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--meta);
}

.article-share-rail__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: var(--rule-medium) solid var(--ink);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
}

.article-share-rail__button:hover,
.article-share-rail__button.is-copied {
    background: var(--ink);
    color: var(--on-ink);
}

/* Footnotes (4b): opened by a 2.5px ink rule, accent numerals. */
.article-footnotes {
    margin-top: 34px;
    padding-top: var(--space-4);
    border-top: var(--rule-strong) solid var(--ink);
}

.article-footnotes .article-section-heading {
    color: var(--ink);
}

.article-footnotes__list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.article-footnote {
    display: flex;
    gap: 9px;
    font: 400 13.5px / 1.8 var(--font-serif);
    color: var(--body);
}

.article-footnote__number {
    flex: none;
    font: 700 13.5px / 1.8 var(--font-serif);
    vertical-align: baseline;
    color: var(--accent);
}

.article-footnote__text p {
    margin: 0;
}

/* Tag chips (4b). */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: var(--space-7) 0 0;
    padding: 0;
    list-style: none;
}

.article-tags__chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 13px;
    border: var(--rule-hairline) solid var(--rule);
    color: var(--body);
    font: 400 12px / 1 var(--font-sans);
    text-decoration: none;
}

.article-tags__chip:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* Issue promo (4b) — the link from a web article back to its print issue. */
.article-issue-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) var(--space-4);
    margin-top: var(--space-7);
    padding: 16px 18px;
    background: var(--tint);
}

.article-issue-promo__thumb {
    flex: none;
    width: 56px;
}

.article-issue-promo .article-image__mat,
.article-sidebar .article-image__mat {
    overflow: hidden;
    background: var(--mat);
}

.article-issue-promo .article-image__mat,
.article-sidebar .article-image__mat {
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-issue-promo .article-image__emblem,
.article-sidebar .article-image__emblem {
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.article-image--issue-thumb .article-image__mat {
    height: 76px;
}

.article-image--issue-thumb .article-image__emblem {
    width: 28px;
    height: auto;
}

.article-issue-promo__text {
    flex: 1 1 14rem;
    margin: 0;
    font: 400 13px / 1.6 var(--font-sans);
    color: var(--ink);
}

.article-issue-promo__meta {
    display: block;
    font-size: var(--text-meta);
    color: var(--meta);
}

.article-issue-promo__cta {
    display: inline-flex;
    align-items: center;
    min-height: var(--target-min);
    padding: 0 15px;
    border: var(--rule-medium) solid var(--ink);
    color: var(--ink);
    font: 600 var(--text-meta) / 1 var(--font-sans);
    text-decoration: none;
}

.article-issue-promo__cta:hover {
    background: var(--ink);
    color: var(--on-ink);
}

/* Series navigation (4b): previous · title · next, in 1px rules. */
.article-series {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
    margin-top: 14px;
    padding-block: 14px;
    border-top: var(--rule-hairline) solid var(--rule);
    border-bottom: var(--rule-hairline) solid var(--rule);
    font: 400 12.5px / 1.4 var(--font-sans);
}

.article-series__step {
    color: var(--meta);
    text-decoration: none;
}

.article-series__step--next {
    justify-self: end;
    color: var(--ink);
}

.article-series__step:hover {
    color: var(--accent);
}

.article-series__title {
    font-weight: 600;
    text-align: center;
    color: var(--ink);
    text-decoration: none;
}

.article-series__title:hover {
    color: var(--accent);
}

/* Translations row (4b). */
.article-translations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) 12px;
    margin-top: 22px;
    font: 400 12.5px / 1.4 var(--font-sans);
}

.article-translations__label {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
}

.article-translations__list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-translations__chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: var(--rule-hairline) solid var(--rule);
    color: var(--body);
    text-decoration: none;
}

.article-translations__chip:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* Gallery row (4b): two matted images in one fixed-height row. */
.article-block__gallery-row {
    display: flex;
    gap: 12px;
}

.article-block__gallery-cell {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 170px;
    overflow: hidden;
    background: var(--mat);
}

.article-block__gallery-cell img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.article-block__gallery-caption {
    margin-top: 9px;
    font: 400 var(--text-meta) / 1.6 var(--font-sans);
    color: var(--meta);
}

.article-related-card .article-image__mat {
    height: 54px;
}

/* --- Rail --------------------------------------------------------------- */

.article-sidebar {
    min-width: 0;
}

.article-related__title {
    margin: 0 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: var(--rule-strong) solid var(--ink);
    font: 700 var(--text-kicker-small) / 1.2 var(--font-sans);
    letter-spacing: var(--tracking-kicker);
    color: var(--ink);
    text-transform: uppercase;
}

.article-related__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-related-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--space-3);
    text-decoration: none;
}

.article-related-card__media {
    min-width: 0;
}

.article-related-card__title {
    margin: 0;
    font: 700 14px / 1.3 var(--font-serif);
    color: var(--ink);
}

.article-related-card:hover .article-related-card__title {
    color: var(--accent);
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   640px — images and tables run edge-to-edge while text keeps its gutter.
   Below this the blocks already span the full column.
   --------------------------------------------------------------------------- */

@media (max-width: 899px) {
    /* Negative margin equal to the gutter, so the object reaches the screen
       edge while the surrounding prose stays inset. Paired with a matching
       padding on the caption so the caption still lines up with the text. */
    .article-block--image .article-block__mat,
    .article-block--table .article-block__table-scroll,
    .article-block--embed .article-block__embed-frame,
    .article-lead__mat {
        margin-inline: calc(var(--gutter) * -1);
    }

    .article-block--image .article-block__caption-row,
    .article-block--embed .article-block__embed-caption,
    .article-lead__caption-row {
        margin-inline: 0;
    }

    /* The table itself runs edge to edge; an outer border left inset at the
       gutter misaligned against it (19b draws no side border here). */
    .article-block--table {
        border: 0;
    }
}

@media (min-width: 640px) {
    .article-breadcrumb {
        display: block;
    }
}

/* ---------------------------------------------------------------------------
   900px — the sticky bar drops, the headline steps up, the lead grows.
   --------------------------------------------------------------------------- */

@media (min-width: 900px) {
    .article-stickybar {
        display: none;
    }

    .cookie-consent {
        bottom: 0;
    }

    .article-layout {
        padding-bottom: var(--space-8);
    }

    /* 900-1100: share rail on the left, article beside it, related rail
       below the article. */
    .article-layout {
        grid-template-columns: 78px minmax(0, 1fr);
        column-gap: var(--space-8);
    }

    .article-main {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        margin-inline: auto;
    }

    .article-share-rail {
        display: block;
        grid-column: 1;
        grid-row: 1;
    }

    .article-sidebar {
        grid-column: 2;
        grid-row: 2;
    }

    .article-title {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: var(--tracking-headline);
    }

    /* 4b type scale: standfirst 19/1.62, body 19/1.78, subheads 29px. */
    .article-standfirst {
        font-size: var(--text-lead);
        line-height: 1.62;
    }

    .article-body {
        font-size: 19px;
        line-height: 1.78;
    }

    .article-body h2 {
        font-size: 29px;
    }

    .article-kicker {
        font-size: var(--text-kicker);
    }

    .article-block__quote {
        font-size: 25px;
        line-height: 1.4;
    }

}

/* ---------------------------------------------------------------------------
   1100px — the drawn desktop layout: body measure plus a 260px rail.
   --------------------------------------------------------------------------- */

@media (min-width: 1100px) {
    /* The drawn 4b layout: 78px share rail · 660px article · 260px related
       rail (the rail is kept by owner ruling; 4b itself has none). */
    .article-layout {
        grid-template-columns: 78px minmax(0, var(--measure-article)) var(--rail-width);
        justify-content: center;
    }

    .article-sidebar {
        grid-column: 3;
        grid-row: 1;
    }

    .article-title {
        font-size: 45px;
        letter-spacing: -0.02em;
    }

    .article-related-card {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-2);
    }

    .article-related-card .article-image__mat {
        height: 146px;
    }
}

/* ---------------------------------------------------------------------------
   Print (§6c) — the article-page half. Site chrome is stripped in base.css.
   --------------------------------------------------------------------------- */

@media print {
    /* Interactive furniture has nothing to do on paper. */
    .article-sidebar,
    .article-share-rail,
    .article-progress,
    .article-like-row,
    .article-comments,
    .article-topics,
    .article-stickybar {
        display: none !important;
    }

    .article-layout {
        display: block;
        max-width: none;
        padding: 0;
    }

    .article-main {
        max-width: none;
    }

    /*
     * A teaser printed with no indication that it IS a teaser reads as the
     * whole article, so the paywall notice is forced onto the page rather
     * than hidden with the rest of the furniture.
     */
    .article-body--teaser {
        max-height: none;
        overflow: visible;
    }

    /* The fade is meaningless once ink is on paper, and would print as a
       grey wash over the last lines of the teaser. */
    .article-body--teaser::after {
        display: none;
    }

    .article-paywall {
        border: var(--rule-strong) solid var(--ink);
    }

    /* Nothing to click on paper — the notice stays, the buttons go. */
    .article-paywall__cta {
        display: none;
    }
}

/* Article-body text tools (owner ruling 2026-11-01; registered in
   articles/rich_text_features.py). Stored as classes, so contrast is fixed
   here: every colour is WCAG AA on --paper and --tint (design-principles §2).
   #cc0000 is the red WordPress editors used, which already passes (5.9:1). */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-red {
    color: #cc0000;
}

.text-green {
    color: #2e7d32;
}

.text-blue {
    color: var(--accent);
}

.text-small {
    font-size: 0.875em;
}

.text-large {
    font-size: 1.25em;
}

/* --- Image placement (owner ruling 2026-11-01) ---------------------------
   Block images (.article-block--image-*) and images inside a paragraph
   (.richtext-image.*, Wagtail formats in images/image_formats.py). Below
   640px every image is full width. From 640px: centred images sit in the
   middle unwrapped; left/right images take half ("orta") or a third
   ("küçük") of the column and text flows beside them. */
.richtext-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-block: var(--space-5);
}

/* An image inside its credit figure fills the figure; the figure is what is
   placed. */
.richtext-image-figure > .richtext-image {
    width: 100%;
    margin: 0;
}

@media (min-width: 640px) {
    .article-block--image-center,
    .richtext-image.center {
        width: 66%;
        margin-inline: auto;
    }

    .article-block--image-center.article-block--image-small {
        width: 40%;
    }

    .article-block--image-left,
    .richtext-image.left {
        float: left;
        width: 50%;
        margin: var(--space-2) var(--space-5) var(--space-4) 0;
    }

    .article-block--image-right,
    .richtext-image.right {
        float: right;
        width: 50%;
        margin: var(--space-2) 0 var(--space-4) var(--space-5);
    }

    .article-block--image-small.article-block--image-left,
    .article-block--image-small.article-block--image-right,
    .richtext-image.small {
        width: 33%;
    }

    /* A credit figure inside a placed image keeps the image's width rule. */
    .richtext-image-figure > .richtext-image.left,
    .richtext-image-figure > .richtext-image.right,
    .richtext-image-figure > .richtext-image.center {
        float: none;
        width: 100%;
        margin: 0;
    }

    /* A heading, table or full-width block never sits beside a floated image. */
    .article-body h2,
    .article-body h3,
    .article-body h4,
    .article-block--image-full,
    .article-block--table,
    .article-block--embed,
    .richtext-image.full-width,
    .richtext-image.center,
    .wp-caption {
        clear: both;
    }

    /* The half, third and two-thirds above are ceilings for a bare inline image,
       not sizes: 1,243 imported photos are narrower than their slot and would
       otherwise be stretched and blurred (plan 11h). A credited image cannot do
       this: its figure has no width of its own to shrink to. */
    img.richtext-image.left,
    img.richtext-image.right {
        width: auto;
        max-width: 50%;
    }

    img.richtext-image.small {
        width: auto;
        max-width: 33%;
    }

    img.richtext-image.center {
        width: auto;
        max-width: 66%;
    }

    /* A captioned WordPress image is stored inside its own <figure class="wp-caption
       align..."> (1,553 images), which must be what floats, or the photo shrinks
       inside it and the caption detaches. Keyed on the image's format, not on
       WordPress's align class, so an image kept full width as too wide to wrap
       does not float, and an editor's later choice is obeyed. */
    .wp-caption:has(.richtext-image.left) {
        float: left;
        clear: none;
        width: 50%;
        margin: var(--space-2) var(--space-5) var(--space-4) 0;
    }

    .wp-caption:has(.richtext-image.right) {
        float: right;
        clear: none;
        width: 50%;
        margin: var(--space-2) 0 var(--space-4) var(--space-5);
    }

    .wp-caption:has(.richtext-image.small) {
        width: 33%;
    }

    .wp-caption:has(.richtext-image.center) {
        width: 66%;
        margin-inline: auto;
    }

    /* .article-body raises this above the placement rules for the image itself:
       inside a wrapper, the wrapper is what is placed. */
    .article-body .wp-caption .richtext-image {
        float: none;
        width: auto;
        max-width: 100%;
        margin: 0;
    }
}

/* WordPress's caption wrapper in imported bodies. Its inline width is blocked by
   the page's CSP (style-src 'self'), and the browser's default figure margin
   would indent it on a phone. */
.wp-caption {
    max-width: 100%;
    margin: var(--space-5) 0;
}

.wp-caption .richtext-image {
    margin: 0;
}

.wp-caption-text {
    margin-top: var(--space-2);
    font: 400 13px / 1.6 var(--font-sans);
    color: var(--body);
}


/* Cell alignment chosen in the table editor's "Hizalama" menu. Wagtail writes Handsontable's
   class names onto the cells (client answer 2026-11-01: the WordPress table tool's centring). */
.article-block--table .htLeft { text-align: left; }
.article-block--table .htCenter { text-align: center; }
.article-block--table .htRight { text-align: right; }
.article-block--table .htJustify { text-align: justify; }
.article-block--table .htTop { vertical-align: top; }
.article-block--table .htMiddle { vertical-align: middle; }
.article-block--table .htBottom { vertical-align: bottom; }

/* Phone touch targets (design-principles section 6: hit targets at least 44px).
   Found under 44px by the 2026-11-02 UI audit at 390px; from 900px the old
   compact sizes stand (pointer, and the utility bar is fixed at 34px there). */
@media (max-width: 899px) {
    .article-tags__chip,
    .article-translations__chip {
        min-height: var(--target-min);
    }

    .article-series__step,
    .article-series__title {
        display: inline-flex;
        align-items: center;
        min-height: var(--target-min);
    }
}
