/*
 * The homepage preview's sixteen scenes (hikaye-son-v4, tur9-karar, komponent-kitabi-v2, and the owner's scenes 15
 * and 16, the recent work and the latest writing). White ground; scene 2 on
 * light steel, scene 6 on ink. Each scene has at most one entrance (tur 10, preview.js), played once; without
 * .mm-motion everything starts finished. Selections change at once. The product
 * frames (sites, newsletter, Metal Rehberi, Çelik Borsası) carry their products' own CSS inside shadow roots or
 * iframes; this file only places and cuts them. Magenta stays with its four jobs.
 */

/* A scene's head: label, headline, paragraph in the left seven columns. */
.pv-head {
    display: grid;
    gap: 14px;
    max-width: 46rem;
    margin-bottom: var(--pv-space-near);
}

.pv-head .pv-body {
    margin-top: 6px;
}

.pv-grid12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pv-gap);
}

[tabindex='-1']:focus {
    outline: none;
}

[tabindex='-1']:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 6px;
}

/* The entrances (tur 10). preview.js animates each group once it is in view and gives it .is-in; until then only
   what is about to come in waits unseen: the opening's covers, a group's parts, or the group itself. Without
   .mm-motion (no script, reduced motion, a page opened in the background) nothing waits. */
.mm-motion [data-appear]:not(.is-in) > *,
.mm-motion [data-motion]:not(.is-in) [data-motion-part],
.mm-motion :is([data-motion='rise'], [data-motion='band']):not(.is-in):not(:has([data-motion-part])) {
    opacity: 0;
}

.mm-motion [data-appear-colour] .pv-player__media img {
    filter: grayscale(1) brightness(1.06) contrast(0.92);
    transition: filter 1.6s var(--pv-ease-out);
}

.mm-motion [data-appear-colour].is-in .pv-player__media img {
    filter: none;
}

/* 1. Opening ----------------------------------------------------------------------------------------------- */

.pv-scene--opening {
    padding-top: clamp(28px, 3vw, 44px);
    padding-bottom: clamp(56px, 6vw, 88px);
}

/* Two tiers: the text in the left eight columns, then the shelf across all twelve. */
.pv-opening {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    row-gap: clamp(32px, 3vw, 44px);
}

.pv-opening__text {
    grid-column: 1 / 9;
}

.pv-opening .pv-display {
    margin-top: 14px;
    font-size: clamp(40px, 2.6vw + 26px, 68px);
}

.pv-opening__body {
    margin-top: 18px;
    max-width: 36em;
}

.pv-opening .pv-actions {
    margin-top: 26px;
}

.pv-opening__products {
    margin-top: 20px;
    font-size: var(--pv-type-card);
}

.pv-opening__products a {
    color: var(--pv-text);
    text-decoration: underline;
    text-decoration-color: var(--pv-line);
}

.pv-opening__products a:hover {
    color: var(--pv-ink);
    text-decoration-color: currentColor;
}

/* The shelf: six covers of one size on one line, each two columns; nothing above them, two lines under each. */
.pv-shelf {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    row-gap: 28px;
}

.pv-shelf__item {
    min-width: 0;
}

/* A title card (scenes 1 and 14): the cover, then the sector (15px, 500, ink) and the title (14px, grey). Each is
   one line where its column allows and wraps where it does not ("Hydraulics and pneumatics" on a phone), never
   running past its card. */
.pv-pub {
    position: relative;
    display: grid;
    align-content: start;
    min-width: 0;
}

.pv-pub__cover {
    width: 100%;
}

.pv-pub__sector {
    margin-top: 12px;
    color: var(--pv-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.pv-pub__name {
    margin-top: 2px;
    color: var(--pv-muted);
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.pv-pub__link {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

.pv-pub__link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.pv-pub:hover .pv-pub__link,
.pv-pub__link:focus-visible {
    text-decoration: underline;
}

.pv-pub__link:focus-visible {
    outline: none;
}

.pv-pub__link:focus-visible::after {
    outline: 2px solid var(--pv-ink);
    outline-offset: 4px;
}

.pv-pub__channels {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 14px;
    color: var(--pv-muted);
    font-size: var(--pv-type-label);
    line-height: 1.4;
}

@media (max-width: 759px) {
    .pv-opening__text {
        grid-column: 1 / -1;
    }

    .pv-opening .pv-actions .pv-button {
        width: 100%;
        justify-content: center;
    }

    /* Two columns, three rows; a narrower gap keeps most labels on one line, never smaller type. */
    .pv-shelf {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
    }

    .pv-pub__name {
        font-size: 13px;
    }
}

/* 2. Camera and word ---------------------------------------------------------------------------------------- */

.pv-interviews__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    row-gap: var(--pv-space-near);
}

/* The player and its six frames over the full width, the three quotes in a row under them (a wide screen: the frames
   in a column of two beside the player; narrower: two rows of three under it). */
.pv-interviews__main {
    grid-column: 1 / -1;
    min-width: 0;
}

@media (min-width: 1100px) {
    .pv-interviews__main {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        column-gap: var(--pv-gap);
        align-items: start;
    }

    .pv-interviews__main > * {
        grid-column: 1 / -1;
    }

    .pv-interviews__main > .pv-player {
        grid-column: 1;
        grid-row: 1;
    }

    .pv-interviews__main > .pv-frames {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
        margin-top: 0;
    }
}

.pv-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--pv-player);
}

.pv-player__media,
.pv-player__media > .pv-still {
    position: absolute;
    inset: 0;
}

.pv-still {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--pv-player-still);
}

.pv-player .pv-still {
    aspect-ratio: auto;
}

.pv-still picture,
.pv-still img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-still__band {
    position: absolute;
    inset: 0;
    display: none;
    align-items: flex-end;
    padding: 6% 7%;
    color: var(--pv-white);
    font-size: clamp(14px, 1.6vw, 22px);
    font-weight: 500;
}

.pv-still.is-failed .pv-still__band {
    display: flex;
}

/* The player's credit and each frame's caption already name the firm: a failed still keeps its ground without the
   name, so the firm is never printed twice. In the player that ground is the lead title's colour, deepened as a
   cover's stand-in is, so a player whose still cannot load is not an empty dark slab. */
.pv-interviews .pv-still.is-failed .pv-still__band {
    display: none;
}

.pv-player .pv-still.is-failed {
    background: color-mix(in srgb, var(--pub, var(--pv-player-still)) 88%, black);
}

/* A still, an advert page or a fair photo that cannot load hides its image, never the browser's broken icon, and its
   stand-in (the photo's credit on paper) stands in the same box (preview.js); an advert page keeps its paper box
   empty, since its caption names it. */
.pv-still.is-failed picture,
.pv-still.is-failed img,
.pv-wall__page.is-failed picture,
.pv-wall__page.is-failed img,
.pv-photo.is-failed picture,
.pv-photo.is-failed img {
    visibility: hidden;
}

.pv-player__play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border: 0;
    background: var(--pv-white);
    color: var(--pv-ink);
    cursor: pointer;
    box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.6);
    transition: background-color 160ms ease, color 160ms ease;
}

.pv-player__play:hover {
    background: var(--pv-ink);
    color: var(--pv-white);
}

.pv-player__play:focus-visible {
    outline: 3px solid var(--pv-white);
    outline-offset: 3px;
}

.pv-player__credit {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 100%;
    padding: 10px 14px;
    background: var(--pv-player-scrim);
    color: var(--pv-white);
    font-size: var(--pv-type-small);
    font-weight: 500;
    line-height: 1.35;
}

.pv-player__failed {
    position: absolute;
    right: 14px;
    bottom: 12px;
    padding: 8px 12px;
    background: var(--pv-white);
    color: var(--pv-ink);
    font-size: var(--pv-type-small);
    font-weight: 500;
}

.pv-frames {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
    margin-top: 14px;
}

.pv-frame {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 0 0 8px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.pv-frame__credit {
    color: var(--pv-text);
    font-size: var(--pv-type-label);
    font-weight: 500;
    line-height: 1.35;
}

.pv-frame:hover .pv-frame__credit {
    color: var(--pv-ink);
    text-decoration: underline;
}

.pv-interviews__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 28px;
}

.pv-interviews__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--pv-steel-200);
}

.pv-platforms {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pv-text);
    font-size: var(--pv-type-small);
}

.pv-mark {
    display: inline-flex;
    flex: none;
}

.pv-quotes {
    grid-column: 1 / -1;
    display: grid;
    align-content: start;
    gap: 20px;
}

@media (min-width: 760px) {
    .pv-quotes__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: var(--pv-gap);
    }
}

.pv-quote {
    display: grid;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--pv-steel-200);
}

.pv-quote blockquote {
    margin: 0;
    color: var(--pv-ink);
    font-size: var(--pv-type-quote);
    line-height: 1.3;
    letter-spacing: -0.012em;
}

.pv-quote figcaption {
    color: var(--pv-muted);
    font-size: var(--pv-type-small);
}

.pv-expo {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--pv-rule);
    color: var(--pv-ink);
    font-size: var(--pv-type-card);
}

/* 3. Magazine ----------------------------------------------------------------------------------------------- */

.pv-magazine {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: var(--pv-gap);
}

.pv-magazine__text {
    grid-column: 1 / 5;
    grid-row: 1;
    display: grid;
    align-content: start;
    gap: 14px;
}

.pv-magazine__text .pv-body {
    margin-top: 6px;
}

.pv-magazine__stage {
    grid-column: 5 / 13;
    grid-row: 1 / span 2;
    min-width: 0;
}

/* The chosen title's "Reklam verin": under the text, though it follows the stage in the source (choice, evidence, the
   way on). Each title has its own; the component's :has() rules show the chosen one, a lone title's shows alone. */
.pv-magazine__action {
    grid-column: 1 / 5;
    grid-row: 2;
    align-self: start;
    margin-top: 34px;
}

.pv-magazine__action [data-magazine-cta]:not(:only-child) {
    display: none;
}

@supports not selector(:has(*)) {
    .pv-magazine__action [data-magazine-cta]:first-child {
        display: inline-flex;
    }
}

.pv-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--pv-rule);
}

.pv-picker__option {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.pv-picker__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pv-picker__option span {
    padding: 10px 0 9px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: var(--pv-muted);
    font-size: var(--pv-type-card);
    font-weight: 500;
}

.pv-picker__option:hover span {
    color: var(--pv-ink);
}

.pv-picker__option input:checked + span {
    border-bottom-color: var(--pv-ink);
    color: var(--pv-ink);
}

.pv-picker__option input:focus-visible + span {
    outline: 2px solid var(--pv-ink);
    outline-offset: 4px;
}

.pv-magazine__spread {
    position: relative;
    display: none;
    padding-bottom: 72px;
}

/* The chosen title's spread is shown by the component's own :has() rules; without :has(), the lead's stands. */
@supports not selector(:has(*)) {
    .pv-magazine__spread:first-child {
        display: block;
    }
}

/* The open issue: two A4 pages and a hairline spine. */
.pv-spread__pages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--pv-rule);
    background: var(--pv-white);
}

.pv-spread__page {
    position: relative;
    display: block;
    aspect-ratio: 210 / 297;
    overflow: hidden;
}

.pv-spread__page--advert {
    display: flex;
    padding: 5%;
    border-left: 1px solid var(--pv-line);
}

.pv-spread__page--advert > .pv-place,
.pv-spread__page--advert > .pv-slot {
    flex: 1;
}

.pv-spread__page--editorial picture,
.pv-spread__page--editorial img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-spread__band {
    position: absolute;
    inset: 0;
    display: none;
    padding: 10%;
    background: var(--pv-paper);
    color: var(--pub, var(--pv-ink));
    font-weight: 500;
}

[data-media].is-failed .pv-spread__band {
    display: block;
}

.pv-print {
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 21%;
    padding: 14px 14px 18px;
    background: #ece9e3;
    box-shadow: 0 1px 2px rgb(32 34 40 / 0.1), 0 24px 36px -24px rgb(32 34 40 / 0.55);
}

.pv-print .pv-cover {
    box-shadow: 0 1px 2px rgb(32 34 40 / 0.18), 0 12px 18px -12px rgb(32 34 40 / 0.5);
}

/* 4. The digital reader (ink) ------------------------------------------------------------------------------- */

/* Three columns, each read top down: the channel's name, its figures, its screen. The three rows line up across the
   columns (subgrid), so a column without a figure keeps its screen on the same line as the others. */
.pv-screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    column-gap: var(--pv-gap);
    align-items: start;
}

.pv-screens__item {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    min-width: 0;
}

.pv-screens__name {
    grid-row: 1;
    padding-top: 14px;
    border-top: 1px solid var(--pv-on-ink-rule);
    font-size: var(--pv-type-card);
    font-weight: 500;
    line-height: 1.35;
}

.pv-screens__counts {
    grid-row: 2;
    margin-top: 18px;
}

.pv-screens__counts .pv-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 36px;
    margin-top: 0;
}

/* The screen's one scope and period, under all its figures. */
.pv-screens__scope {
    margin-top: 10px;
    color: var(--pv-steel-500);
    font-size: var(--pv-type-small);
}

.pv-screens__item > .pv-screen {
    position: relative;
    grid-row: 3;
    align-self: start;
    margin-top: 28px;
}

/* A screen with its channel's address is covered by one link to it: on a pointer that hovers, hover draws a thin
   light ring around the whole screen in the focus ring's place (the post has no border of its own, and a border
   change does not read on ink), never left behind by a tap; nothing grows or moves. The ring follows the screen's
   corners: the post's card is rounded (8px), so its link is too and the ring curves 4px out from it. The link lies
   over the screen rather than around it, because the inbox's mail is an iframe. */
.pv-screen__link {
    position: absolute;
    inset: 0;
}

.pv-screens__item--social .pv-screen__link {
    border-radius: 8px;
}

@media (hover: hover) {
    .pv-screen__link {
        outline: 1px solid transparent;
        outline-offset: 4px;
        transition: outline-color 160ms ease;
    }

    .pv-screen__link:hover {
        outline-color: var(--pv-on-ink-muted);
    }
}

.pv-screen__link:focus-visible {
    outline: 2px solid var(--pv-white);
    outline-offset: 4px;
}

.pv-screens .li-post__media > .pv-cover {
    width: min(60%, 240px);
}

/* Side by side the three screens end on one line, the post's: the post carries the cover whole and sets the row,
   while the site's page and the inbox's mail count for nothing in its height (contain: size) and fill it. The site is
   cut there and fades into the band, so only the head of its cover shows; the inbox's mail shows its first lines
   under the unread message and fades the same way. Without a cover the post is a text post and the row is that
   short: the site shows its header, the inbox its unread message. The fades start under the inbox's message at the
   earliest, so a short row cuts without fading what it shows. */
@media (min-width: 760px) {
    .pv-screens__item--site > .pv-screen,
    .pv-screens__item--newsletter > .pv-screen {
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }

    .pv-screens__item--site .pv-surface,
    .pv-screens__item--newsletter .pv-surface {
        flex: 1;
        min-height: 0;
        -webkit-mask-image: linear-gradient(to bottom, #000 max(calc(100% - 96px), 9.5rem), transparent);
        mask-image: linear-gradient(to bottom, #000 max(calc(100% - 96px), 9.5rem), transparent);
    }

    /* The site's fade is long: under its header only the cover's head stands clear, the rest goes into the band. */
    .pv-screens__item--site .pv-surface {
        -webkit-mask-image: linear-gradient(to bottom, #000 max(min(calc(100% - 96px), 56%), 9.5rem), transparent);
        mask-image: linear-gradient(to bottom, #000 max(min(calc(100% - 96px), 56%), 9.5rem), transparent);
    }

    .pv-screens .pv-surface__site,
    .pv-screens .pv-mailframe--peek {
        contain: size;
    }

    .pv-screens .li-post__media > .pv-cover {
        width: min(56%, 200px);
    }
}

/* One under another, each screen ends where its content ends; the site with its cover is cut under the cover's head
   and fades into the band, so the cover shows whole once, in the post under it. */
@media (max-width: 759px) {
    .pv-screens .pv-surface--site:has(.pv-surface__slot .pv-cover) {
        max-height: 22rem;
        -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
        mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
    }

    /* Deep enough that the mail's button (its headline over two lines) stands clear above the fade. */
    .pv-screens .pv-mailframe--peek {
        flex: none;
        height: 21rem;
    }

    .pv-screens .pv-surface--inbox {
        -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent);
        mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent);
    }
}

.pv-counts {
    display: grid;
    gap: 18px;
    margin-top: 10px;
}

.pv-count {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
}

/* Proportional figures, as on the publication page: the face's tabular figures widen "." and "," to a digit's width
   ("84 . 541"), and no column here sums. */
.pv-count__value {
    color: var(--pv-on-ink);
    font-size: var(--pv-type-figure);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variant-numeric: proportional-nums;
}

.pv-count__value .pv-ref a {
    color: var(--pv-on-ink-muted);
}

/* A footnote marker keeps its look and gets a 24px target (WCAG 2.5.8) that grows up and to the left only, so it
   never reaches past the figure's end or into the line below (as on the publication page). */
.pv-count__value .pv-ref a {
    position: relative;
}

.pv-count__value .pv-ref a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 24px;
    height: 24px;
}

.pv-count__label {
    color: var(--pv-on-ink-muted);
    font-size: var(--pv-type-small);
}

.pv-count__period {
    margin-left: 6px;
    color: var(--pv-steel-500);
}

.pv-digital__link {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

/* The newsletter as it lands (scene 6): the inbox's name, then one unread message. Scene 8 opens it. */
.pv-inbox__name {
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--pv-rule);
    color: var(--pv-ink);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.012em;
}

.pv-inbox__message {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px 16px;
    background: var(--pv-paper);
}

.pv-inbox__initial {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--pub, var(--pv-ink));
    color: var(--pv-white);
    font-size: 18px;
    font-weight: 500;
}

.pv-inbox__lines {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pv-inbox__from {
    color: var(--pv-ink);
    font-size: var(--pv-type-card);
    font-weight: 500;
}

.pv-inbox__subject {
    color: var(--pv-ink);
    font-size: var(--pv-type-small);
    font-weight: 500;
}

/* Surfaces: a title's site on a phone, its LinkedIn post, its newsletter in an inbox; each cut at the frame's edge. */
.pv-surface {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pv-rule);
    background: var(--pv-white);
    color: var(--pv-ink);
    font-size: var(--pv-type-label);
    line-height: 1.35;
}

.pv-surface__bar {
    flex: none;
    min-height: calc(1.35em + 14px);
    padding: 7px 12px;
    background: var(--pv-paper);
    border-bottom: 1px solid var(--pv-rule);
    color: var(--pv-muted);
    text-align: center;
}

/* A product frame (story/system/frame): its shadow root carries the product's CSS; the page only sizes it. */
.pv-system {
    display: block;
    min-width: 0;
}

.pv-surface__site {
    flex: 1;
    min-height: 0;
}

/* What the page places into a product (a cover, the advert, the empty place) keeps the page's own styles. */
.pv-surface__slot {
    display: block;
}

.pv-surface__slot > .pv-cover {
    width: 100%;
}

.pv-surface--post {
    border: 0;
    background: transparent;
}

.pv-surface__post {
    flex: 1;
    min-height: 0;
}

.pv-mail__row {
    flex: none;
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    background: var(--pv-paper);
    border-bottom: 1px solid var(--pv-rule);
}

.pv-mail__from {
    font-size: var(--pv-type-small);
    font-weight: 500;
}

.pv-mail__subject {
    color: var(--pv-text);
}

/* The newsletter itself, as an inbox shows it: the real campaign template in an iframe, cut at the bottom edge. */
.pv-mailframe {
    position: relative;
    flex: 1;
    min-height: 240px;
    overflow: hidden;
    background: #f5f6f7;
}

.pv-mailframe__mail {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

/* Under the unread message, the same mail's first lines (the template's head, the new issue's line), as far as the
   screen goes; the place and the cover never come into view. */
.pv-mailframe--peek {
    min-height: 0;
    border-top: 1px solid var(--pv-rule);
}

/* A LinkedIn company post (story/linkedin-post), drawn to LinkedIn's own feed: its system type, its 12–14px sizes,
   its 8px card, blue follow and grey actions. The one place on the page with text under 13px, as the product. */
.li-post {
    --li-text: rgb(0 0 0 / 0.9);
    --li-muted: rgb(0 0 0 / 0.6);
    --li-line: rgb(140 140 140 / 0.2);
    --li-blue: #0a66c2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--li-line);
    color: var(--li-text);
    font-family: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
}

.li-post__head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 8px 0 16px;
}

.li-post__logo {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 2px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--li-line);
}

.li-post__logo img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.li-post__logo.is-text,
.li-post__logo.is-failed {
    background: var(--pub, #000);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.li-post__initial,
.li-post__logo.is-failed picture {
    display: none;
}

.li-post__logo.is-text .li-post__initial,
.li-post__logo.is-failed .li-post__initial {
    display: block;
}

.li-post__who {
    display: grid;
    flex: 1;
    min-width: 0;
}

.li-post__name {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.li-post__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    white-space: nowrap;
    color: var(--li-muted);
    font-size: 12px;
    line-height: 16px;
}

.li-post__globe {
    flex: none;
}

.li-post__follow {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 0 8px;
    color: var(--li-blue);
    font-size: 16px;
    font-weight: 600;
}

.li-post__more {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--li-muted);
}

/* A post narrower than a phone's feed (a 320px screen, the places card) leaves "+ Takip et" out, so the name's
   column keeps the follower count and the age whole rather than clipping them. */
.li-post {
    container-type: inline-size;
}

@container (max-width: 339px) {
    .li-post__follow {
        display: none;
    }
}

.li-post__text {
    margin: 8px 16px 0;
}

.li-post__text p {
    display: inline;
}

.li-post__toggle {
    display: inline;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--li-muted);
    font: inherit;
    cursor: pointer;
}

button.li-post__toggle:hover {
    color: var(--li-blue);
    text-decoration: underline;
}

.li-post__media {
    margin-top: 8px;
    background: #f3f2ef;
}

.li-post__media > .pv-place {
    display: flex;
    aspect-ratio: 1 / 1;
}

/* The sample advert as the post's square image: the post's full width, its true 1:1. */
.li-post__media > .pv-slot {
    display: block;
}

.li-post__media > .pv-slot > .pv-ad--post {
    width: 100%;
    aspect-ratio: 1 / 1;
}

/* What the story places in the post (the cover, the advert, "Sizin yeriniz") keeps the page's one family. */
.li-post__media > * {
    font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
}

.li-post__media > .pv-cover {
    width: min(68%, 260px);
    margin: 16px auto;
}

.li-post__actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 8px;
    padding: 4px 0;
    border-top: 1px solid var(--li-line);
    /* The bar answers to its own width, so the post fits every frame it is drawn in. */
    container-type: inline-size;
}

.li-post__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 48px;
    padding: 0 2px;
    color: var(--li-muted);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.li-post__action svg {
    flex: none;
}

/* A narrow post (its four words need about 430px in a row) stacks each icon over its word, as the app does; a word
   that still does not fit wraps. */
@container (max-width: 440px) {
    .li-post__action {
        flex-direction: column;
        gap: 2px;
        padding: 0;
        font-size: 12px;
        line-height: 14px;
        text-align: center;
        white-space: normal;
    }
}

.pv-surface--post {
    container-type: inline-size;
}

/* 5. One advert's route ------------------------------------------------------------------------------------- */

.pv-route__stops {
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
    column-gap: calc(var(--pv-gap) * 2.5);
    row-gap: 40px;
    align-items: start;
}

.pv-route__line {
    margin-bottom: 18px;
    color: var(--pv-ink);
    font-size: var(--pv-type-body);
}

.pv-stops {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pv-gap);
    align-items: start;
}

.pv-stop {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.pv-stop .pv-label {
    color: var(--pv-ink);
    font-size: var(--pv-type-card);
}

.pv-stop--apart {
    padding-top: calc(var(--pv-type-body) * 1.6 + 18px);
}

.pv-stop__frame {
    display: block;
}

/* The advert place filled: the same thin magenta outline as the empty place. */
.pv-slot {
    display: block;
    padding: 3px;
    border: 1.5px solid var(--pv-magenta);
    background: var(--pv-white);
}

/* The sample advert: one firm's mark, product and line, the same in three formats. */
.pv-ad {
    display: grid;
    overflow: hidden;
    background: #0e3a4c;
    color: var(--pv-white);
    container-type: inline-size;
}

.pv-ad__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: clamp(13px, 6cqi, 15px);
    font-weight: 500;
    line-height: 1.1;
}

.pv-ad__logo {
    display: grid;
    place-items: center;
    width: 1.8em;
    height: 1.8em;
    background: #f2b33d;
    color: #0e3a4c;
    font-weight: 500;
}

.pv-ad__product {
    width: 100%;
    height: auto;
    color: #9fd4e3;
}

.pv-ad__line {
    font-size: clamp(13px, 8cqi, 22px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.pv-ad--page {
    height: 100%;
    align-content: space-between;
    gap: 8%;
    padding: 12% 10%;
}

/* The band's true proportion; at a small cut its words stay at 13px and the band grows taller (an aspect-ratio box
   with visible overflow takes its content's height) rather than shrinking them. */
.pv-ad--band {
    overflow: visible;
    aspect-ratio: 970 / 250;
    align-content: center;
    gap: 6px;
    padding: 10px 14px;
}

.pv-ad--band .pv-ad__brand {
    font-size: max(13px, 2.6cqi);
}

.pv-ad--band .pv-ad__line {
    font-size: max(13px, 3.4cqi);
}

.pv-ad--post {
    aspect-ratio: 1 / 1;
    align-content: space-between;
    padding: 9%;
}

.pv-ad--page .pv-ad__line {
    font-size: clamp(13px, 10cqi, 24px);
}

.pv-route__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: var(--pv-space-near);
    padding-top: 24px;
    border-top: 1px solid var(--pv-rule);
}

.pv-route__foot .pv-body {
    color: var(--pv-ink);
}

/* 6. In the field ------------------------------------------------------------------------------------------- */

.pv-field {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    row-gap: 40px;
}

.pv-field__text {
    grid-column: 1 / 5;
    display: grid;
    align-content: start;
    gap: 14px;
}

.pv-field__text .pv-body {
    margin-top: 6px;
}

.pv-field__photos {
    grid-column: 5 / 13;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pv-photo {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--pv-steel-100);
}

.pv-photo--large {
    grid-column: 1 / -1;
}

.pv-photo picture,
.pv-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-photo__credit {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 8px 12px;
    background: var(--pv-player-scrim);
    color: var(--pv-white);
    font-size: var(--pv-type-label);
    font-weight: 500;
}

/* A failed photo: its credit on paper, ink on the steel ground, at the box's foot as before. */
.pv-photo.is-failed {
    background: var(--pv-paper);
}

.pv-photo.is-failed .pv-photo__credit {
    background: none;
    color: var(--pv-ink);
}

/* No photo can load: the gallery is left out and the scene keeps its text and the Metal Expo line (the short form
   the page already uses when the scene has no photos). A gallery already seen with its boxes (.is-kept, preview.js)
   keeps them and their credited stand-ins for the visit, so a late failure never moves the page. */
.pv-field__photos:not(.is-kept):not(:has(.pv-photo:not(.is-failed))) {
    display: none;
}

.pv-field .pv-expo {
    grid-column: 1 / -1;
    margin-top: 0;
}

/* 7. Seen, found, asked; Metal Rehberi ---------------------------------------------------------------------- */

.pv-found__intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    row-gap: 28px;
    align-items: end;
}

.pv-headline--large {
    grid-column: 1 / 9;
    font-size: clamp(36px, 2.8vw + 20px, 68px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.pv-found__body {
    grid-column: 9 / 13;
}

.pv-doors {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pv-gap);
    margin-top: 20px;
}

.pv-door {
    display: grid;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--pv-ink);
    text-decoration: none;
}

.pv-door__word {
    color: var(--pv-ink);
    font-size: var(--pv-type-subhead);
    line-height: 1.15;
    letter-spacing: -0.016em;
}

.pv-door__word span {
    color: var(--pv-muted);
    font-size: 0.7em;
}

.pv-door__line {
    color: var(--pv-text);
    font-size: var(--pv-type-card);
}

.pv-door:hover .pv-door__word {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.pv-rehber {
    margin-top: clamp(72px, 8vw, 120px);
}

.pv-rehber__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
}

.pv-rehber__head > div {
    display: grid;
    gap: 12px;
    max-width: 40rem;
}

/* "Firmanızı Metal Rehberi'ne ekleyin" wraps on a narrow phone with reading leading, as scene 12's action does. */
.pv-rehber__head .pv-button {
    padding-block: 12px;
    line-height: 1.4;
    text-wrap: balance;
}

.pv-window {
    margin-top: 32px;
}

/* Metal Rehberi in its own CSS (story/system/frame): the page draws only its edge and cuts it at the bottom. */
.pv-window--rehber {
    max-height: 760px;
    overflow: hidden;
    border: 1px solid #d5d8dc;
}

/* Registration steps (scene 7) and a request's stops (scene 8): one line each, no numbers. */
.pv-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--pv-gap);
    margin-top: 36px;
}

.pv-steps--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pv-steps li {
    padding-top: 14px;
    border-top: 1px solid var(--pv-ink);
    color: var(--pv-ink);
    font-size: var(--pv-type-card);
    text-wrap: pretty;
}

/* A product's door (scenes 11 and 12 while the product has no firm or no catalogue to show): the product's own head
   in its own frame, its address beside it; the whole door is one link to the product's site. Each wears its product's
   edge: Metal Rehberi square and grey, Çelik Borsası rounded and blue-grey. */
.pv-product-door {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 32px;
    border: 1px solid #d5d8dc;
    background: var(--pv-white);
    color: var(--pv-ink);
    text-decoration: none;
    transition: border-color 160ms ease;
}

.pv-product-door--celik_borsasi {
    overflow: hidden;
    border-color: #c6d2e1;
    border-radius: 16px;
    color: #123156;
}

.pv-product-door:hover {
    border-color: currentColor;
}

.pv-product-door:focus-visible {
    outline: 2px solid var(--pv-ink);
    outline-offset: 4px;
}

.pv-product-door__go {
    padding: 0 28px;
    font-size: var(--pv-type-card);
    font-weight: 500;
    white-space: nowrap;
}

.pv-product-door:hover .pv-product-door__go {
    text-decoration: underline;
}

@media (max-width: 759px) {
    .pv-product-door {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-product-door__go {
        padding: 0 28px 22px;
    }
}

/* 8. Çelik Borsası ------------------------------------------------------------------------------------------ */

.pv-borsa__terms {
    margin-top: 10px;
    color: var(--pv-ink);
    font-size: var(--pv-type-card);
    font-weight: 500;
}

.pv-borsa__neutral {
    color: var(--pv-text);
    font-size: var(--pv-type-card);
}

/* The catalogue path: magenta's third job, the same choice over the form and in the e-mail. */
.pv-path {
    color: var(--pv-magenta-deep);
    font-size: var(--pv-type-card);
    font-weight: 500;
    line-height: 1.35;
}

/* Çelik Borsası, in its own tokens (sites/celik-borsasi/DESIGN.md): navy and bronze, soft white cards. */
.cb {
    --cb-navy: #1d4e89;
    --cb-deep: #123156;
    --cb-bronze: #86601c;
    --cb-field: #f3f6fa;
    --cb-line: #c6d2e1;
    --cb-muted: #48607f;
    border: 1px solid var(--cb-line);
    border-radius: 18px;
    background: var(--cb-field);
    color: var(--cb-deep);
    font-size: var(--pv-type-card);
}

.cb :focus-visible {
    outline-color: var(--cb-navy);
}

.cb__bar {
    overflow: hidden;
    border-bottom: 1px solid var(--cb-line);
    border-radius: 18px 18px 0 0;
}



.cb__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.cb__buyer {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 24px 24px 28px;
}

.cb__side {
    color: var(--cb-muted);
    font-size: var(--pv-type-label);
    font-weight: 500;
}

.cb__catalogue {
    padding: 16px;
    border: 1px solid var(--cb-line);
    border-radius: 14px;
    background: var(--pv-white);
}

.cb__summary {
    display: none;
}


.cb__tree {
    max-height: 232px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--cb-line) transparent;
}

.cb__tree ul {
    padding-left: 18px;
}

.cb__tree li {
    outline: none;
}

.cb__tree [aria-expanded='false'] > ul {
    display: none;
}

.cb__label {
    position: relative;
    display: block;
    padding: 6px 10px 6px 22px;
    border-radius: 8px;
    color: var(--cb-deep);
    font-size: var(--pv-type-small);
    line-height: 1.35;
    cursor: pointer;
}

.cb__g > .cb__label {
    font-weight: 500;
}

/* The open/close mark: two drawn hairlines, turned when the branch is open. */
[aria-expanded] > .cb__label::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0.95em;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--cb-muted);
    border-bottom: 1.5px solid var(--cb-muted);
    transform: rotate(-45deg);
}

[aria-expanded='true'] > .cb__label::before {
    transform: rotate(45deg);
}

.cb__label:hover {
    background: var(--cb-field);
}

.cb__tree [aria-selected='true'] > .cb__label {
    background: #e3ebf6;
    color: var(--cb-navy);
    font-weight: 500;
}

.cb__tree li:focus-visible > .cb__label {
    outline: 2px solid var(--cb-navy);
    outline-offset: -2px;
}





/* The sample form: shown as the site has it, its upload not active and its fields read-only. */


























/* The buyer's half takes its column's width, never its contents': the site's form fits a 320px screen. */
.cb__buyer > * {
    min-width: 0;
}

/* The buyer's button, drawn: the window's outline (as "Alıcıya yanıt verin"), not a link, quieter than the scene's
   one action under the window. */
.cb__continue {
    justify-self: start;
    padding: 9px 16px;
    border: 1px solid var(--cb-navy);
    border-radius: 999px;
    color: var(--cb-navy);
    font-size: var(--pv-type-small);
    font-weight: 500;
}

/* The inbox reads from its top at every width: "Size gelir", the sample label, then the e-mail, no gap between them
   however tall the buyer's side beside it is. */
.cb__inbox {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    align-content: start;
    gap: 12px;
    padding: 24px 24px 52px 0;
}

.cb__inbox > .cb__sample {
    grid-row: 2;
}

.cb__inbox > .cb__mail {
    grid-row: 3;
}

.cb__inbox > .cb__side,
.cb__inbox > .cb__sample {
    margin-left: 0;
}

.cb__sample {
    justify-self: start;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f5ecda;
    color: var(--cb-bronze);
    font-size: var(--pv-type-label);
    font-weight: 500;
}

.cb__mail {
    margin-left: -24px;
    overflow: hidden;
    border: 1px solid var(--cb-line);
    border-radius: 14px;
    background: var(--pv-white);
    box-shadow: 0 2px 4px rgb(18 49 86 / 0.06), 0 26px 44px -26px rgb(18 49 86 / 0.45);
}

.cb__mail-row {
    display: grid;
    gap: 2px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--cb-line);
    background: var(--cb-field);
}

.cb__mail-from {
    font-size: var(--pv-type-small);
    font-weight: 500;
}

.cb__mail-subject {
    font-size: var(--pv-type-card);
}

.cb__mail-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.cb__mail-rows > div {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid #e3eaf3;
    font-size: var(--pv-type-small);
}

.cb__mail-rows > div[hidden],
.cb__mail-note[hidden] {
    display: none;
}

.cb__mail-rows dt {
    color: var(--cb-muted);
}

.cb__mail-rows dd {
    overflow-wrap: anywhere;
}

.cb__mail-note {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--cb-field);
    font-size: var(--pv-type-card);
}

.cb__mail-note span {
    color: var(--cb-muted);
    font-size: var(--pv-type-label);
    font-weight: 500;
}

.cb__reply {
    justify-self: start;
    padding: 9px 16px;
    border: 1px solid var(--cb-navy);
    border-radius: 999px;
    color: var(--cb-navy);
    font-size: var(--pv-type-small);
    font-weight: 500;
}

/* Under the window: the three steps and the scene's one action on one line, the action's top on the steps'
   hairlines. A label that wraps (the English one on a phone) keeps reading leading. */
.pv-borsa__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px var(--pv-gap);
    margin-top: 24px;
}

.pv-borsa__foot .pv-steps {
    margin-top: 0;
}

.pv-borsa__foot .pv-steps li {
    text-wrap: pretty;
}

.pv-borsa__foot .pv-actions {
    margin-top: 0;
}

.pv-borsa__foot .pv-button {
    padding-block: 12px;
    line-height: 1.4;
}

/* With the door as the scene's one action, the steps take the whole line under it. */
.pv-borsa__foot:not(:has(.pv-actions)) {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
}

/* The publication page's foot holds only the action, 24px under the window at every width. */
.pv-borsa__foot--solo {
    grid-template-columns: minmax(0, 1fr);
}

/* The head in two halves on wide screens: the headline left, the paragraph and the terms right. */
@media (min-width: 1100px) {
    .pv-head--split {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        column-gap: calc(var(--pv-gap) * 2);
        align-items: start;
        max-width: none;
    }

    .pv-head--split .pv-head__side {
        display: grid;
        gap: 8px;
    }

    .pv-head--split .pv-body {
        margin-top: 0;
    }

    /* The window in three columns: catalogue, form, inbox. The catalogue's list fills the height the form sets and
       scrolls within it; the e-mail starts level with the form. */
    .cb__grid {
        grid-template-columns: minmax(0, 8.4fr) minmax(0, 3.6fr);
    }

    .pv-head--split {
        margin-bottom: 28px;
    }

    .pv-borsa__foot:not(.pv-borsa__foot--solo) {
        margin-top: 16px;
    }

    .pv-borsa__foot .pv-steps li {
        padding-top: 12px;
    }


    .cb__mail-body {
        gap: 12px;
        padding: 16px 18px;
    }

    .cb__mail-rows > div {
        grid-template-columns: 6.5rem minmax(0, 1fr);
        padding: 5px 0;
    }

    /* The upload is shown, not active: its "Dosya seçin" chip stays with the phone layout's rule (hidden). */


    .cb__buyer {
        grid-template-columns: minmax(0, 5fr) minmax(0, 11fr);
        gap: 10px 16px;
        padding: 18px 20px 20px 24px;
    }

    .pv-borsa .pv-window {
        margin-top: 0;
    }





    .cb__buyer > .cb__side {
        grid-column: 1 / -1;
    }

    .cb__catalogue {
        position: relative;
        min-height: 320px;
    }

    .cb__tree {
        position: absolute;
        inset: 46px 12px 12px;
        max-height: none;
    }

    .cb__inbox {
        grid-template-rows: auto auto auto 1fr;
        align-content: start;
        gap: 10px;
        padding-top: 18px;
    }

    .cb__inbox > .cb__sample {
        grid-row: 2;
    }

    .cb__inbox > .cb__mail {
        grid-row: 3;
    }
}

/* 9. Advert places ------------------------------------------------------------------------------------------ */

/* The phone's short list of the four places (name, size), before the cards; a wide screen shows the cards side by side. */
.pv-places__list {
    display: none;
}

@media (max-width: 759px) {
    .pv-places__list {
        display: grid;
        margin-bottom: 24px;
        border-top: 1px solid var(--pv-rule);
    }

    .pv-places__list li {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 2px 16px;
        padding-block: 8px;
        border-bottom: 1px solid var(--pv-rule);
        font-size: var(--pv-type-card);
        line-height: 1.4;
    }

    /* Each name leads to its card in the row below. */
    .pv-places__name {
        color: var(--pv-ink);
        text-decoration: underline;
        text-decoration-color: var(--pv-line);
        text-underline-offset: 0.2em;
    }

    .pv-places__name:hover {
        text-decoration-color: currentColor;
    }

    .pv-places__name:focus-visible {
        outline: 2px solid var(--pv-ink);
        outline-offset: 2px;
    }

    .pv-places__size {
        color: var(--pv-muted);
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }
}

.pv-place-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--pv-gap);
}

.pv-place-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    gap: 6px;
    min-width: 0;
}

.pv-place-card__surface {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    margin-bottom: 10px;
    padding: 20px;
    background: var(--pv-paper);
}

.pv-place-card__surface > .pv-surface {
    width: 100%;
    max-width: 280px;
}

.pv-place-card__surface > .pv-surface--post {
    max-width: 250px;
}

.pv-place-card__surface .pv-surface__slot {
    padding: 12px;
}

.pv-sheet {
    display: flex;
    width: 190px;
    aspect-ratio: 210 / 297;
    padding: 10px;
    border: 1px solid var(--pv-rule);
    background: var(--pv-white);
    box-shadow: 0 1px 2px rgb(32 34 40 / 0.08), 0 18px 30px -22px rgb(32 34 40 / 0.5);
}

.pv-place-card__name {
    font-size: 17px;
    font-weight: 500;
}

.pv-place-card__name a {
    text-decoration: none;
}

.pv-place-card__name a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.pv-place-card:hover .pv-place-card__name a,
.pv-place-card__name a:focus-visible {
    text-decoration: underline;
}

.pv-place-card__name a:focus-visible {
    outline: none;
}

.pv-place-card__name a:focus-visible::after {
    outline: 2px solid var(--pv-ink);
    outline-offset: 4px;
}

.pv-place-card__size {
    color: var(--pv-muted);
    font-size: var(--pv-type-small);
    font-variant-numeric: tabular-nums;
}

.pv-place-card__line {
    color: var(--pv-text);
    font-size: var(--pv-type-card);
}

.pv-places > .pv-actions {
    margin-top: var(--pv-space-near);
}

/* 10. Closing ----------------------------------------------------------------------------------------------- */

.pv-closing {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    row-gap: 48px;
}

.pv-closing__text {
    grid-column: 1 / 8;
    display: grid;
    align-content: start;
    gap: 18px;
}

.pv-headline--closing {
    font-size: clamp(32px, 2vw + 20px, 56px);
    line-height: 1.04;
    letter-spacing: -0.026em;
}

.pv-sectors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    margin-top: 18px;
    border-bottom: 1px solid var(--pv-rule);
}

.pv-sector {
    position: relative;
    display: flex;
    cursor: pointer;
}

.pv-sector input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pv-sector__name {
    flex: 1;
    padding: 18px 16px;
    border-top: 1px solid var(--pv-rule);
    color: var(--pv-ink);
    font-size: 20px;
    line-height: 1.2;
}

.pv-sector:hover .pv-sector__name {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* The chosen sector: magenta's fourth job, a line at its left. */
.pv-sector input:checked + .pv-sector__name {
    box-shadow: inset 3px 0 0 var(--pv-magenta);
    font-weight: 500;
}

.pv-sector input:focus-visible + .pv-sector__name {
    outline: 2px solid var(--pv-ink);
    outline-offset: -2px;
}


.pv-closing__answer {
    grid-column: 8 / 13;
    min-width: 0;
}

.pv-closing__card {
    display: none;
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
        'cover sector'
        'cover name'
        'cover channels';
    column-gap: 22px;
    padding: 22px;
    border: 1px solid var(--pv-rule);
}

@supports not selector(:has(*)) {
    .pv-closing__card:first-child {
        display: grid;
    }
}

/* The closing's card prints the title's name under its cover: a cover that cannot load keeps its colour, not the name
   a second time. */
.pv-closing__card .pv-cover.is-failed .pv-cover__band > span {
    visibility: hidden;
}

.pv-closing__card .pv-pub__sector {
    grid-area: sector;
    align-self: start;
    margin-top: 0;
    font-size: 20px;
    white-space: normal;
}

.pv-closing__card .pv-pub__cover {
    grid-area: cover;
}

.pv-closing__card .pv-pub__name {
    grid-area: name;
    font-size: 15px;
    white-space: normal;
}

.pv-closing__card .pv-pub__channels {
    grid-area: channels;
    align-self: start;
    flex-direction: column;
}

.pv-closing__card .pv-pub__channels {
    grid-area: channels;
}

.pv-closing__actions {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.pv-closing__actions .pv-button {
    width: 100%;
}

/* Each title's own "Reklam verin"; the component's :has() rules show the chosen one (the first without :has()). */
.pv-closing__actions [data-sector-cta] {
    display: none;
}

@supports not selector(:has(*)) {
    .pv-closing__actions [data-sector-cta]:first-child {
        display: inline-flex;
    }
}

.pv-closing__call {
    justify-self: start;
    color: var(--pv-ink);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--pv-line);
}

.pv-closing__call:hover {
    text-decoration-color: currentColor;
}

.pv-closing__call span {
    font-variant-numeric: tabular-nums;
}

.pv-agency__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.pv-agency {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--pv-rule);
    color: var(--pv-ink);
    font-size: var(--pv-type-body);
}

/* 15. Recent work -------------------------------------------------------------------------------------------------- */

/* Like the blog after it, the scene opens right under the question the scene before it ends with. With a question of
   its own (scene 16 stands) it ends as the closing does: the line close under the cases, the next scene close under it. */
.pv-scene--work {
    padding-block: 48px clamp(48px, 8vw, 128px);
}

.pv-scene--work:has(> .pv-wrap > .pv-handover) {
    padding-bottom: 32px;
}

.pv-scene--work .pv-handover {
    margin-top: clamp(56px, 6vw, 88px);
}

/* A phone: the scene opens closer under the question before it. */
@media (max-width: 759px) {
    .pv-scene--work {
        padding-top: 32px;
    }
}

/* A wide screen whose lead case has no cover to show (none, or one that failed): the cases stand one under another as
   on a tablet, each its text with its cover beside it, rather than a lead column of text over an empty block. */
@media (min-width: 1100px) {
    .pv-scene--work .pv-cases:not(:has(> .pv-case:first-child > .pv-case__cover:not(.is-failed))) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        row-gap: 0;
    }

    .pv-scene--work .pv-cases:not(:has(> .pv-case:first-child > .pv-case__cover:not(.is-failed))) > .pv-case {
        grid-column: 1;
        grid-row: auto;
        padding-block: 20px;
    }

    .pv-scene--work .pv-cases:not(:has(> .pv-case:first-child > .pv-case__cover:not(.is-failed))) > .pv-case:has(> .pv-case__cover:not(.is-failed)) {
        grid-template-columns: minmax(0, 1fr) 32%;
    }

    .pv-scene--work .pv-cases:not(:has(> .pv-case:first-child > .pv-case__cover:not(.is-failed))) > .pv-case > .pv-case__cover {
        grid-column: 2;
        grid-row: 1;
    }

    .pv-scene--work .pv-cases:not(:has(> .pv-case:first-child > .pv-case__cover:not(.is-failed))) > .pv-case > .pv-case__text {
        grid-column: 1;
        grid-row: 1;
    }
}

/* 16. The latest writing ---------------------------------------------------------------------------------------- */

/* The closing ends with its sources, quiet, then the question about the next scene, which stands right over its answer. */
.pv-scene--closing .pv-sources {
    margin-top: 16px;
    border-top: 0;
}

.pv-scene--closing .pv-sources .pv-wrap {
    max-width: none;
    padding-inline: 0;
}

.pv-scene--closing .pv-sources__summary .pv-wrap {
    min-height: 44px;
    color: var(--pv-muted);
    font-size: var(--pv-type-label);
}

.pv-scene--closing:has(> .pv-wrap > .pv-handover) {
    padding-bottom: 32px;
}

.pv-scene--closing .pv-handover {
    margin-top: clamp(56px, 6vw, 88px);
}

/* One screen under the bar at 1440×900 and 390×844 with the longest titles (three lines at most) and three covers. */
.pv-scene--blog {
    padding-block: 48px clamp(48px, 8vw, 128px);
}

.pv-blog > .pv-head {
    margin-bottom: 40px;
}

.pv-blog__more .pv-link {
    align-items: center;
    min-height: 44px;
}

/* Three posts side by side, each on a hairline: category, title, excerpt, and the covers when all three have one.
   The rows are shared (subgrid), so titles, excerpts and covers line up across the posts. */
.pv-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--pv-gap);
}

.pv-post {
    position: relative;
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-content: start;
    row-gap: 8px;
    min-width: 0;
    padding-top: 16px;
    border-top: 1px solid var(--pv-rule);
}

.pv-posts--covers > .pv-post {
    grid-row: span 4;
}

.pv-post__category {
    grid-row: 1;
    color: var(--pv-muted);
    font-size: var(--pv-type-label);
    font-weight: 500;
    line-height: 1.4;
}

/* At most three lines of the title show; the link keeps the whole title as its name. */
.pv-post__title {
    grid-row: 2;
    display: -webkit-box;
    overflow: hidden;
    font-size: var(--pv-type-subhead);
    line-height: 1.15;
    letter-spacing: -0.016em;
    text-wrap: balance;
    overflow-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* The title is the post's one link, stretched over the whole post. */
.pv-post__link {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
}

.pv-post__link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.pv-post:hover .pv-post__link {
    text-decoration-color: currentColor;
}

/* On touch, where nothing hovers, the title keeps a quiet underline so it reads as a link. */
@media (hover: none) {
    .pv-post__link {
        text-decoration-color: var(--pv-line);
    }
}

.pv-post__link:focus-visible {
    outline: none;
    text-decoration-color: currentColor;
}

.pv-post:has(.pv-post__link:focus-visible) {
    outline: 2px solid var(--pv-ink);
    outline-offset: 6px;
}

.pv-post__excerpt {
    grid-row: 3;
    display: -webkit-box;
    overflow: hidden;
    align-self: start;
    max-width: 38em;
    color: var(--pv-text);
    font-size: var(--pv-type-card);
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* The cover: its own box at 16:9 (the library's rendition), cropped to fill it. An image that cannot load leaves the
   category's initial, quiet, on paper in the same box (the category itself is printed above): nothing moves. */
.pv-post__cover {
    position: relative;
    grid-row: 4;
    display: none;
    margin-top: 6px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--pv-paper);
}

.pv-posts--covers .pv-post__cover {
    display: block;
}

.pv-post__cover picture,
.pv-post__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-post__stand-in {
    position: absolute;
    inset: 0;
    display: none;
    padding: 5% 6%;
    color: var(--pv-steel-200);
    font-size: var(--pv-type-display);
    line-height: 1;
    letter-spacing: -0.032em;
}

.pv-post__cover.is-failed .pv-post__stand-in {
    display: block;
}

.pv-post__cover.is-failed picture,
.pv-post__cover.is-failed img {
    visibility: hidden;
}

/* One under another: the text on the left, the cover beside it, only in a post that has one. The excerpt's row takes
   whatever height the cover adds, so the category and the title stay together. */
@media (max-width: 1099px) {
    .pv-posts {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-post,
    .pv-posts--covers > .pv-post {
        grid-row: auto;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        column-gap: var(--pv-gap);
        padding-block: 20px;
    }

    .pv-post:has(> .pv-post__cover) {
        grid-template-columns: minmax(0, 1fr) 38%;
    }

    .pv-post > :not(.pv-post__cover) {
        grid-column: 1;
    }

    .pv-post__cover,
    .pv-posts--covers .pv-post__cover {
        display: block;
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: start;
        margin-top: 0;
    }
}

/* A phone: a small square cover beside the category and title (the title's row takes the square's extra height), the
   excerpt two lines under them across the column; tighter spacing throughout. */
@media (max-width: 759px) {
    .pv-scene--blog {
        padding-top: 32px;
    }

    .pv-blog > .pv-head {
        row-gap: 8px;
        margin-bottom: 16px;
    }

    .pv-blog__intro {
        display: none;
    }

    .pv-post,
    .pv-posts--covers > .pv-post {
        grid-template-rows: auto 1fr auto;
        row-gap: 4px;
        padding-block: 12px;
    }

    .pv-post:has(> .pv-post__cover) {
        grid-template-columns: minmax(0, 1fr) clamp(64px, 18vw, 88px);
    }

    .pv-post__title {
        align-self: start;
        line-height: 1.12;
    }

    .pv-post > .pv-post__excerpt {
        grid-column: 1 / -1;
        margin-top: 2px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .pv-post__cover,
    .pv-posts--covers .pv-post__cover {
        grid-row: 1 / 3;
        aspect-ratio: 1;
    }

    .pv-post__stand-in {
        padding: 6px 8px;
        font-size: var(--pv-type-headline);
    }

    .pv-post:has(.pv-post__link:focus-visible) {
        outline-offset: 2px;
    }
}

/* 3. Readers -------------------------------------------------------------------------------------------------- */

.pv-readers {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: var(--pv-gap);
}

.pv-readers__text {
    grid-column: 1 / 5;
    grid-row: 1;
    display: grid;
    align-content: start;
    gap: 14px;
}

.pv-readers__text .pv-body {
    margin-top: 6px;
}

/* The chosen title's page: under the text, though it follows the stage in the source (choice, evidence, the way on). */
.pv-readers__link {
    grid-column: 1 / 5;
    grid-row: 2;
    align-self: start;
    margin-top: 14px;
}

.pv-readers__link [data-reader-link] {
    display: none;
}

/* Without :has(), the first title's link and readers stand. */
@supports not selector(:has(*)) {
    .pv-readers__link [data-reader-link]:first-child,
    .pv-readers__panel:first-of-type {
        display: inline;
    }
}

.pv-readers__stage {
    grid-column: 5 / 13;
    grid-row: 1 / span 2;
    min-width: 0;
}

.pv-picker--sectors {
    gap: 4px 26px;
}

.pv-readers__panel {
    display: none;
    grid-template-columns: minmax(0, 2fr) minmax(0, 6fr);
    column-gap: var(--pv-gap);
    align-items: start;
}

.pv-readers__title {
    margin-bottom: 14px;
    color: var(--pv-muted);
    font-size: var(--pv-type-small);
    font-weight: 400;
}

/* Eight readers, two columns of four, read down like a magazine's imprint. */
.pv-readers__rows {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    border-top: 1px solid var(--pv-rule);
}

.pv-readers__rows li {
    padding: 14px 0;
    border-bottom: 1px solid var(--pv-rule);
    font-size: clamp(18px, 0.4vw + 15px, 22px);
    line-height: 1.3;
    text-wrap: pretty;
}

.pv-readers__job {
    color: var(--pv-ink);
}

.pv-readers__dot,
.pv-readers__business {
    color: var(--pv-muted);
}

/* 5. Advertisers ---------------------------------------------------------------------------------------------- */

.pv-head--action {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    max-width: none;
}

.pv-head--action > div {
    display: grid;
    gap: 14px;
    max-width: 40rem;
}

/* The head, the wall, then the action under the wall at every width: drawn where it is read and tabbed (it follows
   the wall in the source), at the wall's left edge, under the folded list too. */
.pv-advertisers {
    display: flex;
    flex-direction: column;
}

.pv-advertisers > .pv-wall {
    width: 100%;
}

.pv-advertisers__action {
    align-self: flex-start;
    width: 100%;
    max-width: 48rem;
    margin: 40px auto 0;
}

/* The folded wall (every page failed) stands at the scene's left edge, its action right under it. */
.pv-advertisers:has(.pv-wall:not(.is-kept):not(:has(.pv-wall__page[data-media]:not(.is-failed)))) .pv-advertisers__action {
    max-width: none;
    margin-top: 28px;
}

/* The wall: three across, each a whole page at its own proportion; the empty page in the middle. */
.pv-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px var(--pv-gap);
    max-width: 48rem;
    margin-inline: auto;
}

.pv-wall__advert {
    display: grid;
    gap: 10px;
}

.pv-wall__page {
    position: relative;
    display: block;
    aspect-ratio: 210 / 290;
    overflow: hidden;
    border: 1px solid var(--pv-rule);
    background: var(--pv-paper);
}

.pv-wall__page img,
.pv-wall__page picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* The home imprints never leave one word alone on a line, and a magazine's name moves to the next line whole where
   it fits there (it still wraps inside itself on a narrower caption). */
.pv-scene .pv-imprint {
    text-wrap: pretty;
}

.pv-masthead {
    display: inline-block;
}

.pv-wall__page--yours {
    border: 0;
    background: var(--pv-white);
}

.pv-wall__page--yours .pv-place {
    position: absolute;
    inset: 0;
}

.pv-wall__page--yours:focus-visible {
    outline: 2px solid var(--pv-ink);
    outline-offset: 4px;
}

/* A wall none of whose pages loads (preview.js marks each .is-failed): no row of empty paper boxes, but the firms'
   imprints as a list, the empty page a line among them that still goes where the action goes. At every width. The
   pages are fetched after the page's load, so this settles before the visitor arrives; a wall already seen with its
   boxes (.is-kept) keeps them, so a late failure never folds it in view. */
.pv-scene .pv-wall:not(.is-kept):not(:has(.pv-wall__page[data-media]:not(.is-failed))) {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-columns: auto;
    gap: 0;
    max-width: 40rem;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    border-bottom: 1px solid var(--pv-rule);
}

.pv-scene .pv-wall:not(.is-kept):not(:has(.pv-wall__page[data-media]:not(.is-failed))) > .pv-wall__item {
    padding-block: 12px;
    border-top: 1px solid var(--pv-rule);
}

.pv-scene .pv-wall:not(.is-kept):not(:has(.pv-wall__page[data-media]:not(.is-failed))) .pv-wall__advert > .pv-wall__page {
    display: none;
}

.pv-scene .pv-wall:not(.is-kept):not(:has(.pv-wall__page[data-media]:not(.is-failed))) .pv-wall__page--yours {
    aspect-ratio: auto;
    height: 56px;
}

/* 8. Newsletter ----------------------------------------------------------------------------------------------- */

.pv-letter {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pv-gap);
    align-items: start;
}

.pv-letter__text {
    grid-column: 1 / 6;
    display: grid;
    align-content: start;
    gap: 14px;
}

.pv-letter__text .pv-body {
    margin-top: 6px;
}

.pv-letter__text .pv-actions {
    margin-top: 18px;
}

.pv-letter__inbox {
    grid-column: 6 / 13;
    display: grid;
    gap: 10px;
}

.pv-inbox {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pv-rule);
}

.pv-mailframe--open {
    flex: none;
    height: 620px;
}

/* The one figure on white: the ink and muted of the page, not the ink band's. */
.pv-counts--single {
    margin-top: 14px;
}

.pv-counts--single .pv-count__value {
    color: var(--pv-ink);
}

.pv-counts--single .pv-count__value .pv-ref a {
    color: var(--pv-muted);
}

.pv-counts--single .pv-count__label {
    color: var(--pv-muted);
}

/* The figure's scope on its own line under its label, as scene 6 prints it. */
.pv-counts--single .pv-count__period {
    display: block;
    margin-left: 0;
    color: var(--pv-muted);
}

/* 10. The next issue ------------------------------------------------------------------------------------------ */

/* Six rows like a magazine's contents page: hairlines, large type, only two links per row. */
.pv-issue-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pv-issue-table thead th {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--pv-ink);
    color: var(--pv-muted);
    font-size: var(--pv-type-label);
    font-weight: 500;
    text-align: left;
}

.pv-issue-table th.pv-issue-table__title {
    width: 34%;
}

.pv-issue-table thead .pv-issue-table__frequency {
    width: 17%;
}

.pv-issue-table thead .pv-issue-table__current,
.pv-issue-table thead .pv-issue-table__next {
    width: 24.5%;
}

.pv-issue-table tbody th,
.pv-issue-table tbody td {
    padding: 14px 0;
    border-bottom: 1px solid var(--pv-rule);
    vertical-align: middle;
    text-align: left;
}

.pv-issue-table tbody th {
    font-weight: 400;
}

.pv-issue-table__identity {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pv-issue-table__cover {
    flex: none;
    width: 56px;
    container: issue-cover / inline-size;
}

/* A failed cover under 80px wide keeps only the title's colour: its name is printed beside it, and clipped it read
   "Hidroli / Pnöma". */
@container issue-cover (max-width: 79px) {
    .pv-cover__band > span {
        display: none;
    }
}

.pv-issue-table__names {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pv-issue-table__sector {
    color: var(--pv-ink);
    font-size: clamp(19px, 0.5vw + 15px, 24px);
    line-height: 1.2;
}

.pv-issue-table__name {
    color: var(--pv-muted);
    font-size: var(--pv-type-small);
}

.pv-issue-table tbody .pv-issue-table__frequency {
    color: var(--pv-ink);
    font-size: var(--pv-type-card);
}

/* "Yer alın" stays whole. */
.pv-issue-table__next > .pv-link {
    display: inline-block;
    white-space: nowrap;
}

/* 12. Çelik Borsası's real form, cut by the window like the site's page under the fold. */
.cb__form {
    display: grid;
    gap: 14px;
    align-content: start;
}

.cb__form-frame {
    position: relative;
    max-height: 560px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 0 1px var(--cb-line);
}

.cb__form-frame::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: var(--cb-line);
}

/* Narrower screens -------------------------------------------------------------------------------------------- */

@media (max-width: 1099px) {
    .pv-magazine {
        grid-template-rows: none;
        row-gap: 40px;
    }

    .pv-magazine__text,
    .pv-magazine__stage,
    .pv-magazine__action {
        grid-row: auto;
    }

    .pv-magazine__action {
        margin-top: 0;
    }

    .pv-opening__text,
    .pv-magazine__text,
    .pv-magazine__stage,
    .pv-magazine__action,
    .pv-field__text,
    .pv-field__photos,
    .pv-headline--large,
    .pv-found__body,
    .pv-closing__text,
    .pv-closing__answer {
        grid-column: 1 / -1;
    }

    .pv-route__stops {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-stop--apart {
        max-width: 24rem;
        padding-top: 0;
    }

    .pv-place-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


}

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

    /* One channel under another, each still name, figures, screen. */
    .pv-screens {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        row-gap: 56px;
    }

    .pv-screens__item {
        grid-row: auto;
        grid-template-rows: none;
    }

    .pv-quotes,
    .pv-stops,
    .pv-place-cards,
    .pv-doors,
    .pv-steps,
    .pv-steps--three,
    .pv-sectors,
    .pv-field__photos {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-photo--large {
        grid-column: auto;
    }

    /* The open issue stays open on a phone: two pages side by side; the printed issue, a helper, under it on the
       left at most half the screen wide. */
    .pv-magazine__spread {
        padding-bottom: 0;
    }

    .pv-print {
        position: static;
        display: block;
        width: min(40%, 50vw);
        margin-top: 20px;
        padding: 10px 10px 12px;
    }

    .pv-player__play {
        width: 60px;
        height: 60px;
        margin: -30px 0 0 -30px;
    }

    .pv-player__credit {
        font-size: var(--pv-type-label);
        padding: 8px 10px;
    }

    /* The local note or the way out stands at the player's top on a phone, clear of the credit row at its foot. */
    .pv-player__failed {
        top: 10px;
        right: 10px;
        bottom: auto;
        padding: 6px 10px;
        font-size: var(--pv-type-label);
    }




    /* The results close into one line: the chosen firm and the count. Open, the list grows; nothing scrolls inside. */












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

    .pv-borsa__foot {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Scene 8's actions wrap rather than run past a narrow screen (the English "Write about a newsletter advert"
       at 320px), with reading leading. */
    .pv-letter .pv-actions .pv-button {
        max-width: 100%;
        padding-block: 12px;
        line-height: 1.4;
        white-space: normal;
    }

    /* One under another, the action runs the column's width like the steps above it. */
    .pv-borsa__foot .pv-button {
        width: 100%;
    }

    .cb__inbox {
        order: -1;
        padding: 20px 16px 0;
    }

    .cb__mail {
        margin-left: 0;
    }

    .cb__buyer {
        padding: 20px 16px 24px;
    }

    /* On a phone the buyer's drawn button stays a small pill on one line inside the window, never a column-wide
       action like the one under the window. */
    .cb__continue {
        padding: 7px 12px;
        font-size: var(--pv-type-label);
        white-space: nowrap;
    }

    .cb__summary {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        list-style: none;
        font-weight: 500;
    }

    .cb__summary::-webkit-details-marker {
        display: none;
    }

    .cb__summary-path {
        flex: 1;
        overflow: hidden;
        color: var(--cb-muted);
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: right;
    }

    .cb__catalogue[open] .cb__summary {
        margin-bottom: 12px;
    }

    .cb__catalogue[open] .cb__summary .pv-icon {
        transform: scaleY(-1);
    }

    .cb__catalogue .cb__heading {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }


    .cb__mail-rows > div {
        grid-template-columns: 6.5rem minmax(0, 1fr);
    }

    .pv-place-card__surface {
        height: auto;
        min-height: 260px;
    }

    .pv-closing__card {
        grid-template-columns: 40% minmax(0, 1fr);
        padding: 16px;
    }

    .pv-closing__card .pv-pub__sector {
        font-size: 18px;
    }

}

/* The closing up to 1099px: the answer where the choice is made. Right under the sectors the chosen title's sector and
   name, then its "Reklam verin" and the phone, then the cover with the channel words beside it, so the answer stands
   next to the choice at tablet width as on a phone (preview.js keeps it on screen while a sector has focus). The
   chosen card lends its parts to the answer's grid (--pv-chosen-card, read by the closing's own rule); the others
   stay hidden. From 760px the cover keeps a card's width and the button its own. */
@media (max-width: 1099px) {
    .pv-closing {
        --pv-chosen-card: contents;
        row-gap: 32px;
    }

    .pv-closing__cards {
        display: contents;
    }

    .pv-closing__answer {
        display: grid;
        grid-template-columns: 40% minmax(0, 1fr);
        grid-template-areas:
            'sector sector'
            'name name'
            'actions actions'
            'cover channels';
        column-gap: 16px;
        padding-top: 20px;
        border-top: 1px solid var(--pv-rule);
    }

    .pv-closing__actions {
        grid-area: actions;
        margin-top: 18px;
    }

    .pv-closing__card .pv-pub__cover,
    .pv-closing__card .pv-pub__channels {
        margin-top: 28px;
    }
}

@media (min-width: 760px) and (max-width: 1099px) {
    .pv-closing__answer {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        column-gap: 28px;
    }

    .pv-closing__actions {
        grid-template-columns: auto auto;
        justify-content: start;
        align-items: center;
        column-gap: 28px;
    }

    .pv-closing__actions .pv-button {
        width: auto;
    }
}

/* Tur 9 scenes on narrower screens --------------------------------------------------------------------------- */

@media (max-width: 1099px) {
    .pv-readers {
        grid-template-rows: none;
    }

    .pv-readers__text,
    .pv-readers__stage,
    .pv-readers__link,
    .pv-letter__text,
    .pv-letter__inbox {
        grid-column: 1 / -1;
    }

    .pv-readers__text,
    .pv-readers__stage,
    .pv-readers__link {
        grid-row: auto;
    }

    .pv-readers__link {
        margin-top: 24px;
    }

    .pv-readers__stage,
    .pv-letter__inbox {
        margin-top: 36px;
    }
}

@media (max-width: 759px) {
    .pv-readers__text {
        display: contents;
    }

    .pv-readers__text > * {
        grid-column: 1 / -1;
    }

    .pv-readers__text .pv-label,
    .pv-readers__text .pv-headline,
    .pv-readers__text .pv-body {
        margin-bottom: 12px;
    }

    .pv-readers__stage {
        margin-top: 20px;
    }

    /* Two columns of rows, as the closing's sectors on a wider phone, never three ragged lines. */
    .pv-picker--sectors {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 20px;
    }

    .pv-picker--sectors .pv-picker__option span {
        width: 100%;
        padding-block: 12px 11px;
    }

    .pv-readers__panel {
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 16px;
    }

    .pv-readers__rows {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-readers__rows li {
        padding: 10px 0;
        font-size: 16px;
    }

    .pv-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .pv-head--action .pv-actions {
        order: 2;
    }

    .pv-advertisers > .pv-head {
        margin-bottom: 28px;
    }

    .pv-advertisers__action {
        max-width: none;
        margin: 28px 0 0;
    }

    .pv-advertisers > .pv-wall {
        margin-block: 0;
    }

    .pv-letter__text {
        display: contents;
    }

    .pv-letter__text > * {
        grid-column: 1 / -1;
    }

    .pv-letter__text .pv-body {
        margin: 12px 0 0;
    }

    .pv-letter__inbox {
        order: 1;
        margin: 28px 0 0;
    }

    .pv-letter__text .pv-counts,
    .pv-letter__text .pv-actions {
        order: 2;
    }

    .pv-mailframe--open {
        height: 560px;
    }

    .pv-wall__advert .pv-imprint {
        font-size: var(--pv-type-label);
    }

    /* The contents page becomes one card per title: the cover, beside it the names, the frequency and the two links on
       one line (the scene's paragraph says once that the next issue is being prepared). The current issue's link
       takes what it needs up to about half the card; "Yer alın" takes the rest. */
    .pv-issue-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .pv-issue-table,
    .pv-issue-table tbody,
    .pv-issue-table__row {
        display: block;
    }

    .pv-issue-table__row {
        display: grid;
        grid-template-columns: 64px fit-content(55%) minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        column-gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid var(--pv-rule);
    }

    .pv-issue-table tbody th,
    .pv-issue-table tbody td {
        padding: 0;
        border: 0;
    }

    .pv-issue-table tbody th,
    .pv-issue-table__identity {
        display: contents;
    }

    .pv-issue-table__cover {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: start;
        width: 64px;
    }

    .pv-issue-table__names {
        grid-column: 2 / -1;
    }

    .pv-issue-table tbody .pv-issue-table__frequency {
        grid-column: 2 / -1;
        margin-top: 4px;
        color: var(--pv-muted);
    }

    .pv-issue-table__row > .pv-issue-table__current,
    .pv-issue-table__row > .pv-issue-table__next {
        grid-row: 3;
        align-self: start;
        margin-top: 10px;
        white-space: normal;
    }

    .pv-issue-table__row > .pv-issue-table__current {
        grid-column: 2;
    }

    .pv-issue-table__row > .pv-issue-table__next {
        grid-column: 3;
        justify-self: start;
    }

    /* A title without an issue offers its page instead ("Yayına gidin", longer than "Okuyun"): "Yer alın" goes under it. */
    .pv-issue-table__row:has(> .pv-issue-table__current > .pv-link:not([target])) {
        grid-template-rows: auto auto auto 1fr;
    }

    .pv-issue-table__row:has(> .pv-issue-table__current > .pv-link:not([target])) > .pv-issue-table__current {
        grid-column: 2 / -1;
    }

    .pv-issue-table__row:has(> .pv-issue-table__current > .pv-link:not([target])) > .pv-issue-table__next {
        grid-row: 4;
        grid-column: 2 / -1;
        margin-top: 6px;
    }

    .pv-window--rehber {
        max-height: none;
    }
}

/* Phone sets and folds (T-8661) ------------------------------------------------------------------------------ */

/* On a phone the page stays a story: no scene runs past about two screens. A part that would (a scene's channels,
   stops, places, adverts, photos, interview frames, quotes) becomes a set that scrolls sideways inside the scene, its
   next item showing at the right edge; the two product windows fold behind a summary (story/home/fold). Nothing snaps
   and nothing scrolls by itself. On a wide screen the sets lay out as above and the folds stay open without a summary. */
.pv-quotes__list {
    display: grid;
    gap: 28px;
}

.pv-fold > .pv-fold__summary {
    display: none;
}

@media (max-width: 759px) {
    /* Tighter scene spacing on a phone: a scene's question still stands apart from its answer. */
    .pv-scene {
        --pv-space-scene: 56px;
        --pv-space-near: 32px;
    }

    /* Scene 8's inbox is cut under the place and the first line of the new issue. */
    .pv-letter .pv-mailframe--open {
        height: 400px;
    }

    .pv-scene [data-phone-set] {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 80%;
        grid-template-columns: none;
        grid-template-rows: none;
        gap: 0 16px;
        align-items: start;
        max-width: none;
        margin-inline: calc(-1 * var(--pv-gutter));
        padding: 0 var(--pv-gutter) 14px;
        scroll-padding-inline: var(--pv-gutter);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: var(--pv-line) transparent;
    }

    .pv-scene [data-phone-set] > * {
        grid-row: auto;
        grid-column: auto;
        min-width: 0;
    }

    /* --pv-focus is set only on the ink band; elsewhere the ring is ink (as preview.css's rings). */
    .pv-scene [data-phone-set]:focus-visible {
        outline: 2px solid var(--pv-focus, var(--pv-ink));
        outline-offset: -2px;
    }

    /* Interview frames: two and a bit across, the third's edge showing. */
    .pv-scene .pv-frames[data-phone-set] {
        grid-auto-columns: 42%;
        gap: 0 12px;
    }

    .pv-scene .pv-quotes__list[data-phone-set] {
        grid-auto-columns: 84%;
        gap: 0 20px;
    }

    /* The channels of scene 6 side by side again, each its name, figures and screen, read top down. */
    .pv-scene .pv-screens[data-phone-set] {
        grid-auto-columns: 84%;
        row-gap: 0;
    }

    .pv-scene .pv-screens[data-phone-set] > .pv-screens__item {
        grid-template-rows: none;
    }

    .pv-scene .pv-stops[data-phone-set] {
        grid-auto-columns: 84%;
    }

    .pv-stop--apart {
        padding-top: 32px;
    }

    /* Wide enough at 320px that the post keeps its meta lines whole. */
    .pv-scene .pv-place-cards[data-phone-set] {
        grid-auto-columns: 88%;
    }

    .pv-scene .pv-place-cards[data-phone-set] .pv-place-card__surface {
        height: 380px;
        min-height: 0;
        padding: 12px;
    }

    .pv-scene .pv-place-cards[data-phone-set] .pv-surface--post {
        max-width: 240px;
    }

    .pv-scene .pv-wall[data-phone-set] {
        grid-auto-columns: 58%;
        margin-top: 8px;
    }

    .pv-scene .pv-field__photos[data-phone-set] {
        grid-auto-columns: 84%;
    }

    .pv-rehber {
        margin-top: 48px;
    }

    .pv-fold {
        margin-top: 24px;
    }

    /* The closing's sectors keep a 44px target with less air. */
    .pv-sector__name {
        padding-block: 13px;
    }

    /* A product window folds behind one quiet line: its name of what opens and the caret, a 48px target. */
    .pv-fold > .pv-fold__summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        padding: 10px 0;
        border-block: 1px solid var(--pv-rule);
        color: var(--pv-ink);
        font-weight: 500;
        cursor: pointer;
        list-style: none;
    }

    .pv-fold > .pv-fold__summary::-webkit-details-marker {
        display: none;
    }

    .pv-fold[open] > .pv-fold__summary {
        margin-bottom: 20px;
    }

    .pv-fold:not([open]) + .pv-steps {
        margin-top: 24px;
    }

    .pv-fold[open] > .pv-fold__summary .pv-icon {
        transform: scaleY(-1);
    }
}
