.article-meta {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    color: #555;
}

.article-meta__item + .article-meta__item::before {
    content: " · ";
}

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

.article-meta__author a:hover,
.article-meta__author a:focus-visible {
    text-decoration: underline;
}

/* --- Index listing --- */

.article-index {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.article-index__title {
    margin: 0 0 1.75rem;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
}

/* --- Author directory --- */

.author-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .author-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .author-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border: 1px solid #e0e0e0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: border-color 0.15s ease;
}

.author-card:hover,
.author-card:focus-visible {
    border-color: var(--ink);
}

.author-card__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    line-height: 0;
}

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

.author-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
}

/* Pager — numbered with elision (owner ruling 2026-09-17, supersedes the
   2026-09-13 "Daha fazla" ruling: a single-next button made the 1,550-page
   archive take 1,549 clicks to reach the end). `pagination_window` elides
   distant page numbers to first/last + the current page's neighbours. */
.article-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    margin-top: 16px;
}

.article-pagination__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

/* A narrow phone can't fit first+last+current±2+2 arrows in one row without
   either wrapping into an unreadable multi-line grid or shrinking targets
   below 44px. Scrolling the numbers horizontally keeps every target full
   size and keeps the arrows fixed at each end, rather than reflowing. */
.article-pagination__pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0 2px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.article-pagination__pages::-webkit-scrollbar {
    display: none;
}

.article-pagination__pages li {
    flex: none;
}

.article-pagination__arrow,
.article-pagination__page {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: var(--target-min);
    min-height: var(--target-min);
    border: var(--rule-hairline) solid var(--ink);
    color: var(--ink);
    font: 600 var(--text-ui) / 1 var(--font-sans);
    text-decoration: none;
}

.article-pagination__arrow:hover,
.article-pagination__arrow:focus-visible,
.article-pagination__page:hover,
.article-pagination__page:focus-visible {
    background: var(--ink);
    color: var(--on-ink);
}

.article-pagination__arrow--disabled {
    border-color: var(--rule);
    color: var(--muted);
    pointer-events: none;
}

.article-pagination__page--current {
    background: var(--ink);
    color: var(--on-ink);
    pointer-events: none;
}

.article-pagination__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--space-6);
    color: var(--muted);
}

.article-pagination__jump {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-pagination__jump-input {
    width: 90px;
    min-height: var(--target-min);
    padding: 0 10px;
    border: var(--rule-hairline) solid var(--rule);
    text-align: center;
    font: 400 var(--text-ui) / 1 var(--font-sans);
    color: var(--ink);
}

.article-pagination__jump-button {
    min-height: var(--target-min);
    padding: 0 16px;
    border: var(--rule-hairline) solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font: 600 var(--text-ui) / 1 var(--font-sans);
    cursor: pointer;
}

.article-pagination__jump-button:hover,
.article-pagination__jump-button:focus-visible {
    background: var(--ink);
    color: var(--on-ink);
}

@media (min-width: 900px) {
    .article-pagination {
        margin-top: 20px;
    }
}

/* --- Issues PDF archive (pagination classes above) --- */

.issue-archive__list {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.issue-archive__item {
    margin: 0 0 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.issue-archive__item:last-child {
    border-bottom: none;
}

.issue-archive__heading {
    margin: 0 0 0.35rem;
    font-size: 1.0625rem;
    font-weight: 700;
}

.issue-archive__number {
    color: var(--accent);
    margin-right: 0.35rem;
}

.issue-archive__date {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    color: #555;
}

.issue-archive__files {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.issue-archive__file {
    font-size: 0.9375rem;
}

.issue-archive__lang {
    font-weight: 600;
    margin-right: 0.35rem;
}

.issue-archive__login-note a {
    color: var(--accent);
    font-weight: 600;
}

/* --- Homepage --- */

.homepage-hero {
    margin-bottom: 2.5rem;
}

.homepage-hero__media {
    display: block;
    margin: 0 0 1rem;
    line-height: 0;
    overflow: hidden;
    background: #f0f0f0;
}

.homepage-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}

.homepage-hero__body {
    max-width: 720px;
}

.homepage-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.homepage-hero__title a {
    color: inherit;
    text-decoration: none;
}

.homepage-hero__title a:hover,
.homepage-hero__title a:focus-visible {
    text-decoration: underline;
}

.homepage-hero__meta {
    margin: 0;
}

.homepage-welcome {
    margin: 0 0 2rem;
    font-size: 1.125rem;
}

.homepage-category {
    margin-bottom: 2.5rem;
}

.homepage-category__title {
    margin-bottom: 1.25rem;
}

.homepage-category__link {
    color: inherit;
    text-decoration: none;
}

.homepage-category__link:hover,
.homepage-category__link:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Image attribution (§5a) — used by the featured-image figcaption and by
   images/richtext_image.html for images placed inside the article body.
   --------------------------------------------------------------------------- */

.image-credit {
    font-size: 0.75rem;
    color: var(--meta);
    letter-spacing: 0.01em;
}

.image-credit__source {
    color: inherit;
}

.richtext-image-figure {
    margin: 1.25rem 0;
}

.richtext-image-figure figcaption {
    margin-top: 0.35rem;
    text-align: right;
}

/* ---------------------------------------------------------------------------
   Correction notice (§5b)
   --------------------------------------------------------------------------- */

.article-updated {
    margin: -0.5rem 0 1.25rem;
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--meta);
}

/* ---------------------------------------------------------------------------
   Listing eyebrow (topic/author pages)
   --------------------------------------------------------------------------- */

.article-index__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ---------------------------------------------------------------------------
   Topics assigned to an article (§5)
   --------------------------------------------------------------------------- */

.article-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

/* ---------------------------------------------------------------------------
   Likes and share row (§5d, §6c)
   --------------------------------------------------------------------------- */

.article-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

/* ---------------------------------------------------------------------------
   Print (§6c) — the listing half. Site chrome is stripped in base.css and the
   article page's own print rules live in article.css.
   --------------------------------------------------------------------------- */

@media print {
    .article-pagination {
        display: none !important;
    }
}

/* Homepage twin archive promos — bottom of page, after category grids */
.homepage-archives {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
}

.homepage-archives__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 720px) {
    .homepage-archives__grid {
        grid-template-columns: 1fr;
    }
}

.homepage-archive-card {
    margin: 0;
    padding: 1.25rem;
    border: 1px solid var(--rule);
    background: #fafafa;
}

.homepage-archive-card__title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

.homepage-archive-card__subtitle {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    color: var(--meta);
}

.homepage-archive-card__list {
    margin: 0 0 0.75rem;
    padding-left: 1.25rem;
}

.homepage-archive-card__list li {
    margin-bottom: 0.35rem;
}

.homepage-archive-card__list a {
    color: inherit;
    text-decoration: none;
}

.homepage-archive-card__list a:hover,
.homepage-archive-card__list a:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

.homepage-archive-card__list--issues {
    list-style: none;
    padding-left: 0;
}

.homepage-archive-card__issue-number {
    font-weight: 700;
    margin-right: 0.35rem;
}

.homepage-archive-card__issue-date {
    display: block;
    font-size: 0.875rem;
    color: var(--meta);
}

.homepage-archive-card__note {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--meta);
}

.homepage-archive-card__cta {
    margin: 0;
    font-weight: 600;
}

.homepage-archive-card__cta a {
    color: var(--accent);
    text-decoration: none;
}

.homepage-archive-card__cta a:hover,
.homepage-archive-card__cta a:focus-visible {
    text-decoration: underline;
}

.homepage-archive-card__cta--disabled {
    color: var(--meta);
}

/* The in-feed slot is framed by .banner-slot in base.css (design 4a: dashed
   rules, REKLAM label, 728×90 box). No tint ground or solid rules here — they
   hid the dashed frame. */
.in-feed-banner {
    max-width: 100%;
}

/* ---------------------------------------------------------------------------
   Article list rows — articles/includes/article_grid.html layout="list".
   Shared here, not in homepage.css: the author page and search results render
   the same include and do not load homepage.css, and while these rules lived
   there both pages rendered as unstyled default links (2026-09-13 audit).
   --------------------------------------------------------------------------- */

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

.article-list__item {
    border-bottom: var(--rule-hairline) solid var(--rule);
}

.article-list__item:first-child {
    border-top: var(--rule-hairline) solid var(--rule);
}

.article-list__link {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    text-decoration: none;
    color: inherit;
}

.article-list__media {
    flex: none;
    width: 96px;
}

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

.article-list__category {
    display: block;
    font: 600 var(--text-kicker) / 1 var(--font-sans);
    letter-spacing: var(--tracking-kicker);
    text-transform: uppercase;
    color: var(--accent);
}

.article-list__title {
    margin: var(--space-1) 0 0;
    font-size: var(--text-h3);
    line-height: var(--leading-h3);
    letter-spacing: var(--tracking-h3);
    color: var(--ink);
}

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

.article-list__badge {
    display: inline-block;
    margin-left: var(--space-2);
    padding: 2px 6px;
    background: var(--ink);
    color: var(--on-ink);
    font: 600 8.5px / 1 var(--font-sans);
    letter-spacing: 0.06em;
    vertical-align: middle;
    text-transform: uppercase; /* D2: the msgid is sentence case; casing is CSS */
}

.article-list__in-feed {
    list-style: none;
}

/* --- Wire rows (homepage feed, 4a) --------------------------------------
   Date column + image + kicker/headline/excerpt. The date column and the
   excerpt are what make the feed read as a wire rather than a link list. */

.article-list--wire .article-list__link {
    align-items: flex-start;
    padding: var(--space-5) 0;
}

/* 64px is duplicated by homepage.css's staff curate rail, which parks the
   gizle/sabitle buttons in this column's empty lower half. Change both or the
   rail stops lining up under the date. */
.article-list__date {
    display: none;
    flex: none;
    width: 64px;
    margin: 0;
    padding-top: 3px;
    font: 400 var(--text-kicker) / 1.4 var(--font-sans);
    color: var(--meta);
}

/* 4a: wire rows carry a bottom rule only — the section header's 2.5px rule
   already opens the list, and a top hairline read as a second rule under it. */
.article-list--wire .article-list__item:first-child {
    border-top: 0;
}

.article-list__item--gated {
    background: linear-gradient(90deg, var(--gated-wash), rgba(255, 255, 255, 0));
}

.article-list__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.article-list--wire .article-list__category {
    font-size: var(--text-kicker-small);
}

.article-list__badge--kicker {
    margin-left: 0;
    padding: 3px 7px;
    font-size: 9.5px;
}

.article-list--wire .article-list__title {
    margin-top: 6px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

/* Phones (7b): wire rows show title + "author · date", no excerpt. From 640px
   (4a) the excerpt returns and the date moves to its own column. */
.article-list__excerpt {
    display: none;
    margin: 7px 0 0;
    font: 400 14.5px / 1.55 var(--font-serif);
    color: var(--body);
}

.article-list--wire .article-list__title {
    font-size: 17px;
    line-height: 1.2;
}

/* A Haber Arşivi row whose article has `show_large_in_lists` ticked
   (article_grid.html's `vary_rhythm`, article index only) — a bigger image and
   headline. Editors choose these rows (owner ruling 2026-11-26; it overruled
   the 2026-09-17 automatic "every 6th row"). Reuses .article-list__excerpt, which is already hidden
   below 640px and shown above it — no separate mobile rule needed here. */
.article-list__item--featured .article-list__link {
    padding: var(--space-5) 0;
}

/* 260px matches the feed_row_featured rendition width (image_slots.py); the
   earlier 160px was authored against the base 96px column and then lost almost
   all of its effect at 640px, where the normal column grows to 150px — a 10px
   difference nobody can see, which is why the "bigger 6th row" ruling looked
   unimplemented on the live archive. Keep this value and .article-list__media's
   640px value in step. */
.article-list__item--featured .article-list__media {
    width: 130px;
}

.article-list__item--featured .article-list__title {
    margin-top: var(--space-2);
    font-size: var(--text-h2);
    line-height: var(--leading-headline);
}

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

/* --- Shared image slots (homepage, listings, search) --------------------
   No picture is cropped (design §3, owner ruling 2026-11-27). Pictures are
   `article-image--contain`; scans and the emblem keep the plain flex mat (auto
   size, max 100%).

   The CSP forbids inline styles, so the enlargement cap rides on the img's
   width/height attributes: article_image.html writes twice the source's pixel
   size there, and the CSS below never sets width (a `width` declaration would
   override the attribute). The img therefore renders at 2x its source unless
   its box is smaller, and `max-width: 100%` stops it at the box. object-fit:
   contain keeps the whole picture whenever one of the clamps changes the img
   box's shape.

   - Fixed boxes (`--box`): the mat has a definite height from the per-slot
     rules and centres the img (flex). The whole picture sits inside; the rest
     is the mat.
   - Own-shape frames (`--own`, the large slots): the img is a block, centred,
     with height:auto (its shape comes from the attributes' ratio) and a
     max-height of the slot's cap (`--frame-h`); a portrait at the cap is
     letterboxed, the sides showing the img's own mat background. The
     per-slot rules set `--frame-h` plus `height: var(--frame-h)`, which only
     a scan (not own-shape) still uses as its fixed height. */

.article-image__mat {
    overflow: hidden;
    background: var(--mat);
}

.article-image__mat {
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image:not(.article-image--contain) .article-image__mat img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.article-image--contain .article-image__mat img {
    display: block;
    flex: none;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Blurred copy of the photo behind the sharp one, filling the band a
   non-matching shape leaves (owner ruling 2026-11-28). It is the same file
   (no extra request), covers the whole mat, is scaled up so the blur's soft
   edges fall outside the mat's overflow:hidden, and is dimmed so the sharp
   photo reads as the subject. Decorative: aria-hidden in the markup. Photos
   are not brand assets, so the "no CSS filters on brand assets" rule does not
   apply. The sharp img sits above it (position + z-index). */
.article-image--contain .article-image__mat {
    position: relative;
}

.article-image--contain .article-image__mat img.article-image__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    object-fit: cover;
    filter: blur(18px) brightness(0.8);
    transform: scale(1.25);
    pointer-events: none;
}

.article-image--contain .article-image__mat img:not(.article-image__backdrop) {
    position: relative;
    z-index: 1;
}

.article-image--contain.article-image--own .article-image__mat {
    display: block;
    height: auto;
}

.article-image--contain.article-image--own .article-image__mat img {
    height: auto;
    max-height: var(--frame-h);
    margin-inline: auto;
    background: var(--mat);
}

.article-image__emblem {
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.article-image__scan-img {
    filter: var(--shadow-paper);
}

.article-image--well-lead .article-image__mat {
    --frame-h: 320px;
    height: var(--frame-h);
}

/* Lead slot's portrait arrangement (design §3 rule 5) — same slot used
   whether the layout is stacked (mobile, homepage.css's 900px query not yet
   active) or the "beside the headline" row (desktop); the row query below
   only changes the surrounding layout, not this base height. */
.article-image--well-lead-portrait .article-image__mat {
    height: 220px;
}

.article-image--well-secondary .article-image__mat {
    height: 118px;
}

.article-image--feed-row .article-image__mat {
    height: 66px;
}

.article-image--feed-row-featured .article-image__mat {
    height: 100px;
}

.article-image--issue-cover .article-image__mat {
    height: 68px;
}

/* 640px — rows widen to the 150px image; wire rows gain the date column and
   the 152×96 image (4a). */
@media (min-width: 640px) {
    .article-image--feed-row .article-image__mat {
        height: 96px;
    }

    .article-image--feed-row-featured .article-image__mat {
        height: 150px;
    }

    .article-image--issue-cover .article-image__mat {
        height: 212px;
    }

    .article-list__media {
        width: 150px;
    }

    .article-list__item--featured .article-list__media {
        width: 260px;
    }

    .article-list--wire .article-list__link {
        gap: 20px;
        padding: 20px 0;
    }

    .article-list__date {
        display: block;
    }

    .article-list__excerpt {
        display: block;
    }

    .article-list__meta--wire {
        display: none;
    }

    .article-list--wire .article-list__media {
        width: 152px;
    }

    .article-list--wire .article-list__title {
        font-size: 23px;
        line-height: 1.2;
    }
}
