/*
 * The news section (page/news/), on top of people.css: its crumbs, links,
 * prose, side column and tokens (--pe-*, light and dark) are the people
 * pages'. What is its own: the article's header full width on black (the
 * kicker, the headline, the byline, the review's score, the hero), the rail
 * of what an article is about, the body's photos, embeds and videos, the
 * front page's lead and rows, the archive's months. The sections are
 * the header's second bar (config/navigation.php "subnav").
 *
 * Mobile first: one column, the rail after the body as a strip; from 1024
 * px the rail at the left, sticky; the side column's banners at the right
 * where a computer gets ads.
 */

.nw {
    --nw-accent: var(--c-accent, #bcfe09);
    --nw-kicker: #4a7d00;
    /* The text's links: the kicker's green, a shade deeper to read as
       words (6:1 on white). */
    --nw-link: #3b6800;
    --nw-head: #000000;
    --nw-head-ink: #ffffff;
    --nw-head-mute: #c9c9c4;
}

:root[data-theme="dark"] .nw {
    --nw-kicker: #a6e22e;
    --nw-link: #b4ec4a;
}

/* The header on black --------------------------------------------------- */

.nw-head {
    background: var(--nw-head);
    color: var(--nw-head-ink);
    padding: 22px var(--gutter) 0;
}

.nw-head__inner {
    max-width: 1100px;
    margin-inline: auto;
}

.nw-head .pe-crumb {
    color: var(--nw-head-mute);
}

.nw-head__grid {
    display: grid;
    gap: 18px;
}

.nw-kicker {
    display: inline-block;
    margin: 14px 0 12px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--nw-accent);
    color: #000000;
    font: 700 12.5px/1.4 var(--font-ui);
    letter-spacing: .04em;
}

.nw-title {
    max-width: 30ch;
    margin: 0 0 14px;
    font: 800 clamp(27px, 4.6vw, 44px)/1.1 var(--font-display);
    letter-spacing: -.02em;
    text-wrap: balance;
}

.nw-standfirst {
    max-width: 62ch;
    margin: 0 0 14px;
    color: #dcdcd7;
    font-size: clamp(17px, 2vw, 19px);
    line-height: 1.5;
}

.nw-bullets {
    max-width: 62ch;
    margin: 0 0 16px;
    padding-left: 1.1em;
    color: #dcdcd7;
    font-size: 15px;
    line-height: 1.5;
}

.nw-bullets li::marker {
    color: var(--nw-accent);
}

.nw-bullets a {
    color: inherit;
}

/* The review's score, beside the headline. */
.nw-score {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: start;
    padding: 12px 16px;
    border: 1px solid #333333;
    border-radius: var(--radius-xl, 14px);
    background: #141414;
}

.nw-score__n {
    display: grid;
    place-items: center;
    min-width: 64px;
    padding: 8px 12px;
    border-radius: 12px;
    color: #ffffff;
    font: 800 40px/1 var(--font-display);
    letter-spacing: var(--score-tracking);
    text-shadow: var(--score-shadow);
}

.nw-score--high .nw-score__n { background: var(--c-score-shade), var(--c-score-high); }
.nw-score--mid .nw-score__n { background: var(--c-score-shade), var(--c-score-mid); }
.nw-score--low .nw-score__n { background: var(--c-score-shade), var(--c-score-low); }

.nw-score__label {
    color: var(--nw-head-mute);
    font-size: 14px;
}

/* Byline, times, share. */
.nw-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 4px 0 20px;
    color: var(--nw-head-mute);
    font-size: 14px;
}

.nw-byline__photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #333333;
}

.nw-byline__photo--initials {
    display: grid;
    place-items: center;
    color: #ffffff;
    font: 700 14px var(--font-display);
}

.nw-byline__text {
    display: flex;
    flex: 1 1 220px;
    flex-wrap: wrap;
    gap: 2px 12px;
    min-width: 0;
    margin: 0;
}

/* The author's line about themselves, as on the legacy pages: small,
   under the name and the date. */
.nw-byline__bio {
    flex-basis: 100%;
    color: #9b9b95;
    font-size: 12px;
    line-height: 1.4;
}

.nw-byline__by b,
.nw-byline__by a {
    color: #ffffff;
    font-weight: 600;
}

.nw-byline__by a {
    text-decoration: underline;
    text-decoration-color: var(--nw-accent);
    text-underline-offset: 3px;
}

.nw-byline .share {
    margin-left: auto;
}

/* The hero: 16:10 on a phone, 21:9 from a tablet, its corners open at
   the foot where it meets the page. */
.nw-hero {
    margin: 0 calc(-1 * var(--gutter));
}

.nw-hero img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #1a1a1a;
}

.nw-hero figcaption {
    padding: 8px var(--gutter) 12px;
    color: var(--nw-head-mute);
    font-size: 13px;
}

.nw-hero--small picture {
    width: min(600px, 100%);
    margin-inline: auto;
}

.nw-hero--small img {
    aspect-ratio: 600 / 465;
}

/* A photo that opens its own page (js/news.js): the whole picture, and an
   enlarge button in its corner, as on the legacy pages. */
.is-enlargeable picture {
    position: relative;
    display: block;
    cursor: zoom-in;
}

.nw-enlarge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #ffffff;
    cursor: pointer;
    transition: background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}

.nw-enlarge svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.is-enlargeable picture:hover .nw-enlarge,
.nw-enlarge:focus-visible {
    background: var(--nw-accent);
    color: #000000;
    transform: scale(1.1);
}

.nw-enlarge:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.nw-figure--pair .nw-enlarge {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
}

/* The page under the header ------------------------------------------- */

.nw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 28px var(--gutter) 60px;
}

.nw-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

.nw-layout .nw-rail {
    order: 2;
}

/* A note over the text (the preview's). */
.nw-note {
    margin: 0;
    padding: 12px 16px;
    border-left: 4px solid #e68532;
    border-radius: var(--radius-sm);
    background: var(--pe-paper);
    font-weight: 600;
}

/* The spoiler warning, under Google's box and of its build: an amber
   tint with an amber rule down its side, and a warning sign in a badge
   that shakes every few seconds while a ring spreads from it. */
.nw-spoiler {
    --nw-warn: #e68532;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 2px 14px;
    max-width: 680px;
    padding: 16px 20px;
    border: 1px solid color-mix(in srgb, var(--nw-warn) 38%, var(--pe-line));
    border-left: 4px solid var(--nw-warn);
    border-radius: var(--radius-lg, 12px);
    background: color-mix(in srgb, var(--nw-warn) 9%, var(--pe-surface));
}

.nw-spoiler__icon {
    position: relative;
    display: grid;
    grid-row: 1 / span 2;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--nw-warn);
    color: #ffffff;
}

.nw-spoiler__icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--nw-warn);
    opacity: 0;
}

.nw-spoiler__icon svg {
    width: 28px;
    height: 28px;
    margin-top: -2px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50% 85%;
}

.nw-spoiler__title {
    grid-column: 2;
    margin: 0;
    font: 700 18px/1.25 var(--font-display);
}

.nw-spoiler__lead {
    grid-column: 2;
    margin: 0;
    color: var(--pe-ink-mute);
    font-size: 14.5px;
    line-height: 1.45;
}

@media (prefers-reduced-motion: no-preference) {
    .nw-spoiler__icon::before {
        animation: nw-spoiler-ring 3.2s var(--ease, ease-out) infinite;
    }

    .nw-spoiler__icon svg {
        animation: nw-spoiler-shake 3.2s ease-in-out infinite;
    }

    .nw-spoiler__mark {
        animation: nw-spoiler-blink 3.2s ease-in-out infinite;
    }
}

@keyframes nw-spoiler-ring {
    0%, 8% { transform: scale(1); opacity: .7; }
    45%, 100% { transform: scale(1.6); opacity: 0; }
}

@keyframes nw-spoiler-shake {
    0%, 30%, 100% { transform: rotate(0); }
    5% { transform: rotate(-13deg); }
    10% { transform: rotate(11deg); }
    15% { transform: rotate(-8deg); }
    20% { transform: rotate(5deg); }
    25% { transform: rotate(-2deg); }
}

@keyframes nw-spoiler-blink {
    0%, 30%, 100% { opacity: 1; }
    36%, 44% { opacity: .15; }
    50%, 58% { opacity: 1; }
    64%, 72% { opacity: .15; }
    78% { opacity: 1; }
}

@media (max-width: 559px) {
    .nw-spoiler {
        padding: 14px 16px;
    }
}

/* The body. Its headings and lists stop at the video boxes and ad slots
   in it (as people.css's .pe-prose does), which keep their own. */
.nw-body {
    max-width: 680px;
    font-size: 18.5px;
    line-height: 1.75;
}

/* The text's own links (not the cards, players or ads in it, which have a
   class): green, on a tint of their green that fills in on hover. */
.nw-body a:not([class]):not(:where(.side-player *, .ad *)) {
    color: var(--nw-link);
    background-image:
        linear-gradient(currentColor, currentColor),
        linear-gradient(color-mix(in srgb, var(--nw-link) 35%, transparent), color-mix(in srgb, var(--nw-link) 35%, transparent));
    background-size: 0 2px, 100% 2px;
}

.nw-body a:not([class]):not(:where(.side-player *, .ad *)):hover,
.nw-body a:not([class]):not(:where(.side-player *, .ad *)):focus-visible {
    background-size: 100% 2px, 100% 2px;
}

/* A shopping article's buy buttons (<a class="nw-buy">, written in the body
   by tools/black_friday_2026): the products pages' lime button; --alt, the
   other stores, outlined. */
.nw-body a.nw-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 8px 8px 0;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--c-accent);
    color: var(--c-accent-ink);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

/* The products pages' shopping bag, drawn in the text's colour. */
.nw-body a.nw-buy::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nw-body a.nw-buy:hover,
.nw-body a.nw-buy:focus-visible {
    background: var(--c-accent-hover);
}

.nw-body a.nw-buy--alt {
    border-color: color-mix(in srgb, currentColor 30%, transparent);
    background: transparent;
    color: inherit;
}

.nw-body a.nw-buy--alt:hover,
.nw-body a.nw-buy--alt:focus-visible {
    border-color: currentColor;
    background: transparent;
}

/* Products' photos (square, about 500 px): framed at their own size, not
   stretched across the column. */
.nw-figure img[src*="/images/products/"],
.nw-figure img[src*="/images/bf2026/"] {
    width: auto;
    max-width: min(100%, 340px);
    max-height: 340px;
    margin-inline: auto;
    padding: 12px;
    background: #ffffff;
    box-sizing: border-box;
}

.nw-body > p {
    margin: 0 0 1.1em;
}

.nw-body h2:not(:where(.side-player *, .ad *)),
.nw-body h3:not(:where(.side-player *, .ad *)) {
    margin: 1.6em 0 .6em;
    font-family: var(--font-display);
    line-height: 1.25;
}

.nw-body h2:not(:where(.side-player *, .ad *)) { font-size: 24px; }
.nw-body h3:not(:where(.side-player *, .ad *)) { font-size: 20px; }

.nw-body blockquote:not([class*="twitter"]):not([class*="instagram"]):not([class*="tiktok"]) {
    margin: 1.4em 0;
    padding: 4px 0 4px 18px;
    border-left: 4px solid var(--nw-accent);
    font-size: 19px;
    font-style: italic;
}

.nw-body ul:not(:where(.side-player *, .ad *)),
.nw-body ol:not(:where(.side-player *, .ad *)) {
    margin: 0 0 1.1em;
    padding-left: 1.2em;
}

.nw-figure {
    margin: 28px 0;
}

.nw-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    background: var(--pe-paper);
}

.nw-figure figcaption,
.nw-photo figcaption {
    margin-top: 8px;
    color: var(--pe-ink-mute);
    font-size: 14px;
    line-height: 1.45;
}

.nw-figure--pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nw-figure--pair figure {
    margin: 0;
}

@media (min-width: 768px) {
    .nw-figure--left,
    .nw-figure--right {
        width: 46%;
        margin-top: 6px;
    }

    .nw-figure--left {
        float: left;
        margin-right: 22px;
    }

    .nw-figure--right {
        float: right;
        margin-left: 22px;
    }
}

.nw-embed {
    display: flex;
    justify-content: center;
    margin: 28px 0;
    min-height: 120px;
}

.nw-embed iframe {
    max-width: 100%;
    border: 0;
    border-radius: var(--radius);
}

/* The newsroom's own widget, in its frame (News\Body::widgetBlock()): the
   full width, as tall as the frame says it is (js/news.js) once it has. */
.nw-embed iframe.nw-widget {
    display: block;
    width: 100%;
    height: 480px;
    border-radius: 0;
}

.nw-embed iframe[src*="youtube"],
.nw-embed iframe[src*="vimeo"],
.nw-embed iframe[src*="dailymotion"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.nw-player {
    margin: 28px 0;
}

/* The comments, at the foot of the text: how many, the latest two, and a
   field; the field and "Ver los n" put the whole thread in their place
   (js/news.js, component/comments/thread.html.twig). */
/* The column's own gap (.nw-main) spaces it from the text and the band. */
.nw-comments {
    max-width: 680px;
    margin: 0;
    padding: 20px 22px 22px;
    border-radius: var(--radius-xl);
    background: var(--pe-paper);
}

.nw-comments__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
}

.nw-comments__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.2;
}

.nw-comments__n {
    min-width: 30px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--pe-ink);
    color: var(--pe-paper);
    font: 600 14px/1.3 var(--font-ui);
    text-align: center;
}

.nw-comments__all {
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--pe-ink);
    font: 600 14.5px var(--font-ui);
    text-decoration: underline;
    text-decoration-color: var(--nw-accent);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    cursor: pointer;
}

.nw-comments__all:hover,
.nw-comments__all:focus-visible {
    text-decoration-color: currentColor;
}

.nw-comments__list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.nw-comments__item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--pe-line);
}

.nw-comments__item:first-child {
    padding-top: 0;
    border-top: 0;
}

.nw-comments__avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pe-surface);
    color: var(--pe-ink);
    font: 600 15px var(--font-display);
}

.nw-comments__who {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin: 0 0 3px;
    font-size: 14.5px;
}

.nw-comments__nick {
    font-weight: 600;
}

.nw-comments__date {
    color: var(--pe-ink-mute);
    font-size: 13px;
}

.nw-comments__text {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.nw-comments__lead {
    margin: -8px 0 16px;
    color: var(--pe-ink-mute);
    font-size: 15px;
}

/* Looks like the field it opens: the panel, where the comment is
   written. */
.nw-comments__field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 7px 7px 7px 18px;
    border: 1px solid var(--pe-line);
    border-radius: 999px;
    background: var(--pe-surface);
    color: var(--pe-ink-mute);
    font: 15px var(--font-ui);
    text-align: left;
    cursor: text;
    transition: border-color var(--speed) var(--ease);
}

.nw-comments__field:hover,
.nw-comments__field:focus-visible {
    border-color: var(--pe-ink);
}

.nw-comments__send {
    flex: 0 0 auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--pe-ink);
    color: var(--pe-surface);
    font-weight: 600;
    font-size: 14.5px;
    transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.nw-comments__field:hover .nw-comments__send,
.nw-comments__field:focus-visible .nw-comments__send {
    background: var(--nw-accent);
    color: #000000;
}

/* The thread, once open: the preview and the field give it their place. */
.nw-comments.is-open > .nw-comments__list,
.nw-comments.is-open > .nw-comments__lead,
.nw-comments.is-open > .nw-comments__field,
.nw-comments.is-open .nw-comments__all {
    display: none;
}

.nw-comments.is-loading .nw-comments__field {
    opacity: .6;
}

.nw-thread {
    display: grid;
    gap: 16px;
}

.nw-thread__signin {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    border-radius: var(--radius-lg, 10px);
    background: var(--pe-surface);
    font-size: 15px;
}

.nw-thread__signin .fm-i {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--pe-ink-mute);
}

.nw-thread__signin a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--nw-accent);
    text-underline-offset: 3px;
}

.nw-thread__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nw-thread__bar .fm-tag {
    background: none;
    color: inherit;
    cursor: pointer;
}

.nw-thread__list,
.nw-cmt__replies {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nw-thread__more {
    justify-self: center;
    cursor: pointer;
}

.nw-compose {
    display: grid;
    gap: 8px;
}

.nw-compose__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.nw-compose__text {
    width: 100%;
    box-sizing: border-box;
    min-height: 84px;
    padding: 12px 14px;
    border: 1px solid var(--pe-line);
    border-radius: var(--radius-lg, 10px);
    background: var(--pe-surface);
    color: var(--pe-ink);
    font: 15px/1.5 var(--font-ui);
    resize: vertical;
    field-sizing: content;
}

.nw-compose__text:focus {
    border-color: var(--pe-ink);
    outline: none;
}

.nw-compose__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.nw-compose__foot .fm-btn {
    cursor: pointer;
}

.nw-compose__msg {
    margin: 0 auto 0 0;
    color: var(--pe-ink-mute);
    font-size: 13.5px;
}

.nw-compose--reply {
    margin-top: 10px;
}

.nw-cmt {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--pe-line);
}

.nw-thread__list > .nw-cmt:first-child {
    border-top: 0;
}

/* An answer: a smaller face, indented under the comment it answers. */
.nw-cmt__replies {
    margin-top: 6px;
}

.nw-cmt__replies .nw-cmt {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 10px 0 0;
    border-top: 0;
}

.nw-cmt__replies .nw-comments__avatar {
    width: 30px;
    height: 30px;
    font-size: 13px;
}

.nw-cmt__body {
    min-width: 0;
}

.nw-cmt__text p {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.nw-cmt__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    margin-top: 2px;
}

.nw-cmt__vote,
.nw-cmt__reply {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--pe-ink-mute);
    font: 600 13px var(--font-ui);
    cursor: pointer;
}

.nw-cmt__vote .fm-i,
.nw-cmt__reply .fm-i {
    width: 15px;
    height: 15px;
}

.nw-cmt__vote--down .fm-i {
    transform: rotate(180deg);
}

.nw-cmt__vote:hover,
.nw-cmt__reply:hover,
.nw-cmt__vote:focus-visible,
.nw-cmt__reply:focus-visible {
    color: var(--pe-ink);
}

.nw-cmt__vote.is-on {
    color: var(--pe-ink);
}

.nw-cmt__vote.is-on .fm-i {
    color: #2f9e44;
}

.nw-cmt__vote--down.is-on .fm-i {
    color: #e03131;
}

.nw-cmt__note {
    color: var(--pe-ink-mute);
    font-size: 12.5px;
}

/* Google: the site as a preferred source (Google's dialog over the page,
   js/news.js) and followed in Discover. A box on the paper tint with a
   rule of the accent down its side, its buttons under the text: the
   first filled, the second outlined. */
.nw-google {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 2px 14px;
    max-width: 680px;
    padding: 18px 20px 20px;
    border: 1px solid var(--pe-line);
    border-left: 4px solid var(--nw-accent);
    border-radius: var(--radius-lg, 12px);
    background: var(--pe-paper);
}

.nw-google__logo {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
}

.nw-google__logo svg {
    width: 22px;
    height: 22px;
}

.nw-google__title {
    margin: 0;
    font: 700 18px/1.25 var(--font-display);
}

.nw-google__lead {
    margin: 3px 0 0;
    color: var(--pe-ink-mute);
    font-size: 14.5px;
    line-height: 1.45;
}

.nw-google__actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 2;
    gap: 10px;
    margin-top: 14px;
}

/* .nw-google's too: the links of .pe (people.css) take their parent's colour. */
.nw-google .nw-google__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--pe-ink);
    border-radius: 999px;
    background: var(--pe-surface);
    color: var(--pe-ink);
    font: 600 14px/1 var(--font-ui);
    text-decoration: none;
    transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.nw-google__button svg {
    flex: none;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nw-google .nw-google__button:hover,
.nw-google .nw-google__button:focus-visible {
    background: var(--pe-ink);
    color: var(--pe-surface);
}

.nw-google .nw-google__button--main {
    background: var(--pe-ink);
    color: var(--pe-surface);
}

.nw-google .nw-google__button--main:hover,
.nw-google .nw-google__button--main:focus-visible {
    border-color: var(--nw-accent);
    background: var(--nw-accent);
    color: #000000;
}

/* A phone: the buttons from the box's start, a row each. */
@media (max-width: 559px) {
    .nw-google {
        padding: 16px;
    }

    .nw-google__actions {
        grid-column: 1 / -1;
    }

    .nw-google .nw-google__button {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* Addoor's recommendations, under the comments. */
.nw-addoor {
    max-width: 680px;
    margin: 28px 0 0;
}

/* Addoor's widget brings the light theme's greys (#575757 on the dark
   page): its text in the page's inks instead. */
:root[data-theme="dark"] .nw-addoor :is(a, p, span, div, h2, h3, h4) {
    color: var(--pe-ink) !important;
}

/* Addoor puts its widget beside #addoor-position, not in it: no gap until
   it has. */
.nw-addoor:not(:has(.addoor-widget)) {
    margin: 0;
}

.nw-highlight,
.nw-quote {
    margin: 1.4em 0;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--pe-paper);
}

/* The old review box some reviews still carry in their text. */
.nw-body .cuadro {
    display: none;
}

/* The rail: what the article is about, then its videos. On a phone, after
   the body, each a strip that scrolls sideways; on a computer, the left
   column, sticky: one panel of rows (a poster, a portrait, a studio's
   initials), then the videos' frames. One or two titles take a large
   poster each, with what the film is. */
.nw-rail__title,
.nw-rail__sub {
    margin: 0 0 12px;
    color: var(--nw-kicker);
    font: 700 12.5px var(--font-ui);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nw-rail__sub {
    margin-top: 26px;
}

.nw-rail__list,
.nw-rail__videos {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0 0 6px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.nw-rail__item {
    flex: 0 0 auto;
    width: 240px;
}

.nw-rail__link {
    display: flex;
    gap: 12px;
    align-items: center;
    height: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pe-line);
    border-radius: var(--radius-lg, 12px);
    color: inherit;
    text-decoration: none;
    transition: background var(--speed-fast) var(--ease);
}

.nw-rail__link:hover,
.nw-rail__link:focus-visible {
    background: var(--pe-paper);
}

.nw-rail__image {
    display: grid;
    flex: none;
    place-items: center;
    width: 54px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: var(--pe-paper);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.nw-rail__item--person .nw-rail__image,
.nw-rail__item--company .nw-rail__image,
.nw-rail__item--saga .nw-rail__image {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--pe-line);
    color: var(--pe-ink-mute);
}

.nw-rail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A studio with a logo: the logo fitted on a white tile, wider than the
   circle (most logos are wide), or on a dark one where its ink is light. */
.nw-rail__item--company .nw-rail__image--logo {
    width: 72px;
    aspect-ratio: 3 / 2;
    padding: 6px 8px;
    border-radius: 8px;
    background: #ffffff;
}

.nw-rail__item--company .nw-rail__image--light {
    background: #141414;
    box-shadow: none;
}

.nw-rail__image .nw-rail__logo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nw-rail__initials {
    font: 700 15px var(--font-display);
    letter-spacing: -.01em;
}

.nw-rail__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nw-rail__name {
    display: -webkit-box;
    overflow: hidden;
    font: 700 15.5px/1.25 var(--font-display);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.nw-rail__line {
    color: var(--pe-ink-mute);
    font-size: 13.5px;
}

/* One or two titles: the poster beside the facts on a phone, over them
   on a computer. */
.nw-rail__item--feature {
    width: 310px;
}

.nw-rail__item--feature .nw-rail__link {
    align-items: flex-start;
}

.nw-rail__poster {
    display: grid;
    flex: none;
    place-items: center;
    width: 96px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--pe-paper);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}

/* A portrait: 3:4, the shape the tree keeps them in. */
.nw-rail__item--person .nw-rail__poster {
    aspect-ratio: 3 / 4;
}

.nw-rail__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nw-rail__item--feature .nw-rail__text {
    gap: 4px;
}

.nw-rail__item--feature .nw-rail__name {
    font-size: 17px;
    -webkit-line-clamp: 3;
}

.nw-rail__fact {
    color: var(--pe-ink-mute);
    font-size: 13px;
    line-height: 1.35;
}

.nw-rail__fact--date {
    color: var(--pe-ink);
    font-weight: 600;
}

/* The videos: a frame with its length and a play mark, the title under. */
.nw-rail__videos li {
    flex: 0 0 auto;
    width: 240px;
}

.nw-rail__video {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.nw-rail__frame {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000000;
}

.nw-rail__frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform var(--speed-slow) var(--ease), opacity var(--speed) var(--ease);
}

.nw-rail__video:hover .nw-rail__frame img {
    transform: scale(1.04);
    opacity: .85;
}

.nw-rail__play {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--nw-accent);
    color: #000000;
}

.nw-rail__play svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nw-rail__time {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .8);
    color: #ffffff;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.nw-rail__video-title {
    display: -webkit-box;
    overflow: hidden;
    font: 600 14px/1.35 var(--font-ui);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* After the body: best and worst, the box office, the grids.
   Best and worst are one block under a rule in ink, not two cards: two
   columns with a line between them on a computer, one under the other on a
   phone. Each point hangs from a plus or a minus sign, drawn with gradients
   so it sits on the first line whatever the font; the sign is the only
   colour. */
.nw-pros {
    --nw-plus: #2c8a00;
    --nw-minus: #cf2509;
    display: grid;
    border-top: 3px solid var(--pe-ink);
}

:root[data-theme="dark"] .nw-pros {
    --nw-plus: #8fdc1f;
    --nw-minus: #ff6a4d;
}

.nw-pros__box {
    padding: 18px 0 22px;
}

.nw-pros__box + .nw-pros__box {
    border-top: 1px solid var(--pe-line);
}

.nw-pros__title {
    margin: 0 0 12px;
    font: 700 22px/1.2 var(--font-display);
}

.nw-pros ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nw-pros li {
    position: relative;
    padding-left: 30px;
    font-size: 17.5px;
    line-height: 1.5;
}

.nw-pros li + li {
    margin-top: 10px;
}

.nw-pros li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(.75em - 8px);
    width: 16px;
    height: 16px;
    background:
        linear-gradient(var(--nw-sign), var(--nw-sign)) center / 100% 4px no-repeat,
        linear-gradient(var(--nw-sign), var(--nw-sign)) center / 4px var(--nw-sign-stem, 100%) no-repeat;
}

.nw-pros__box--best { --nw-sign: var(--nw-plus); }
.nw-pros__box--worst { --nw-sign: var(--nw-minus); --nw-sign-stem: 0; }

.nw-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 14px;
}

.nw-section__title {
    margin: 0;
    font: 700 22px var(--font-display);
}

.nw-section__lead {
    margin: 0;
    color: var(--pe-ink-mute);
    font-size: 14px;
}

/* Under the title and its link, on a row of its own. */
.nw-section__lead--row {
    flex-basis: 100%;
    order: 1;
}

.nw-table-wrap {
    overflow-x: auto;
}

.nw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.nw-table th,
.nw-table td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--pe-line);
    text-align: left;
    white-space: nowrap;
}

.nw-table tbody th {
    font-weight: 600;
    white-space: normal;
}

.nw-table td:nth-child(n+3) {
    font-family: var(--font-mono);
    text-align: right;
}

/* The weeks a film has been out: their own column on a wide screen, a
   line under the title on a phone, where the money needs the room. */
.nw-table__sub {
    display: none;
}

@media (max-width: 559px) {
    .nw-table .nw-table__weeks {
        display: none;
    }

    .nw-table__sub {
        display: block;
        margin-top: 2px;
        color: var(--pe-ink-mute);
        font-size: 12px;
        font-weight: 400;
    }

    .nw-table th,
    .nw-table td {
        padding: 8px 5px;
    }
}

/* A small phone (360 px): tighter still. */
@media (max-width: 400px) {
    .nw-table {
        font-size: 12.5px;
    }

    .nw-table th,
    .nw-table td {
        padding: 8px 4px;
    }
}

.nw-links {
    margin: 0;
    padding-left: 1.1em;
}

.nw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
}

/* The set: on black, as the header, one item a page; its steps reload
   the page on the next or the previous one, as on the legacy pages. */
.nw-set {
    scroll-margin-top: calc(var(--bar-height, 64px) + 12px);
    padding: 22px 20px 20px;
    border-radius: var(--radius-xl, 16px);
    background: var(--nw-head);
    color: var(--nw-head-ink);
}

:root[data-theme="dark"] .nw-set {
    box-shadow: inset 0 0 0 1px var(--pe-line);
}

.nw-set__head {
    margin: 0 0 18px;
    font: 700 26px/1.15 var(--font-display);
}

.nw-set__item[hidden] {
    display: none;
}

.nw-set__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nw-set__title {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 0;
    font: 700 22px/1.2 var(--font-display);
}

.nw-set__n {
    color: var(--nw-accent);
    font-size: 30px;
}

.nw-set__picture img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius, 10px);
    background: #1a1a1a;
}

.nw-set__text {
    font-size: 18.5px;
    line-height: 1.75;
}

.nw-set__text p {
    margin: 0 0 1em;
}

.nw-set__text > :last-child {
    margin-bottom: 0;
}

.nw-set .nw-set__text a:not([class]),
.nw-set .nw-set__profile {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--nw-accent) 60%, transparent);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
    transition: text-decoration-color var(--speed) var(--ease);
}

.nw-set .nw-set__text a:not([class]):hover,
.nw-set .nw-set__profile:hover {
    text-decoration-color: var(--nw-accent);
}

.nw-set .nw-set__profile {
    align-self: flex-start;
    font-weight: 700;
}

.nw-set__nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.nw-set__count {
    color: var(--nw-head-mute);
    font: 600 14px var(--font-ui);
    font-variant-numeric: tabular-nums;
}

/* .nw-set's too: the links of .pe (people.css) take their parent's colour. */
.nw-set .nw-set__step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #ffffff;
    font: 600 14.5px/1 var(--font-ui);
    text-decoration: none;
    transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.nw-set .nw-set__step--prev {
    justify-self: start;
    padding-left: 10px;
}

.nw-set .nw-set__step--next {
    justify-self: end;
    padding-right: 10px;
    border-color: var(--nw-accent);
    background: var(--nw-accent);
    color: #000000;
}

.nw-set .nw-set__step:hover,
.nw-set .nw-set__step:focus-visible {
    border-color: #ffffff;
}

.nw-set .nw-set__step--next:hover,
.nw-set .nw-set__step--next:focus-visible {
    background: #ffffff;
}

.nw-set__step svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Cards ------------------------------------------------------------- */

.nw-card__link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.nw-card__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--pe-paper);
}

.nw-card__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nw-card__kicker {
    color: var(--nw-kicker);
    font: 700 11.5px var(--font-ui);
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nw-card__title {
    margin: 0;
    font: 700 16px/1.28 var(--font-display);
    text-wrap: pretty;
}

.nw-card__standfirst {
    color: var(--pe-ink-mute);
    font-size: 14.5px;
    line-height: 1.45;
}

.nw-card__time {
    margin-top: 2px;
    color: var(--pe-ink-mute);
    font-size: 12.5px;
}

.nw-card--lead .nw-card__title {
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.15;
}

/* The lead's headline: its line closer to the letters and heavier, as the
   sagas draw it under large Poppins (the people's sits at the foot of the
   line box, which suits smaller type). */
.nw-card--lead .nw-card__title .pe-u {
    background-position: 0 calc(100% - .14em), 0 calc(100% - .14em);
}

.nw-card--lead .nw-card__link:hover .pe-u,
.nw-card--lead .nw-card__link:focus-visible .pe-u {
    background-size: 100% 3px, 100% 1px;
}

.nw-card--beside .nw-card__link,
.nw-card--row .nw-card__link {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.nw-card--beside .nw-card__title {
    font-size: 15px;
}

/* Beside the lead: square pictures, as tall as their headlines. */
.nw-card--beside .nw-card__link {
    grid-template-columns: 120px minmax(0, 1fr);
}

.nw-card--beside .nw-card__image img {
    aspect-ratio: 1;
}

.nw-rows .nw-card--row {
    padding: 22px 0;
    border-top: 1px solid var(--pe-line);
}

.nw-rows .nw-card--row:first-child {
    border-top: 0;
    padding-top: 0;
}

.nw-rows .nw-card--row .nw-card__text {
    gap: 6px;
}

.nw-rows .nw-card--row .nw-card__standfirst {
    display: none;
}

/* The front page and the lists ----------------------------------------- */

.nw-masthead {
    background: var(--nw-head);
    color: var(--nw-head-ink);
    padding: 22px var(--gutter) 18px;
}

.nw-masthead__inner {
    max-width: var(--wrap);
    margin-inline: auto;
}

.nw-masthead .pe-crumb {
    color: var(--nw-head-mute);
}

.nw-masthead__title {
    margin: 6px 0 0;
    font: 800 clamp(32px, 5.6vw, 56px)/1.05 var(--font-display);
    letter-spacing: -.025em;
}

.nw-masthead__title--small {
    font-size: clamp(20px, 3vw, 26px);
}

.nw-masthead__title a {
    color: inherit;
}

.nw-masthead__lead {
    margin: 8px 0 0;
}

.nw-masthead__lead a {
    color: var(--nw-accent);
}

.nw-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 26px var(--gutter) 60px;
}

.nw-lead {
    display: grid;
    gap: 20px;
}

.nw-beside {
    display: grid;
    gap: 14px;
}

.nw-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nw-most {
    padding: 14px 16px;
    border: 1px solid var(--pe-line);
    border-radius: var(--radius-lg, 12px);
}

.nw-most__title {
    margin: 0 0 6px;
    font: 700 18px var(--font-display);
}

.nw-most__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: most;
}

.nw-most__list li {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid var(--pe-line);
    counter-increment: most;
    font: 600 14.5px/1.35 var(--font-ui);
}

.nw-most__list li:first-child {
    border-top: 0;
}

.nw-most__list li::before {
    content: counter(most);
    min-width: 22px;
    color: var(--nw-kicker);
    font: 800 22px/1 var(--font-display);
}

.nw-most__list a {
    color: inherit;
    text-decoration: none;
}

.nw-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
}

.nw-pages__link {
    padding: 9px 18px;
    border: 1px solid var(--pe-ink);
    border-radius: 999px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.nw-pages__link:hover,
.nw-pages__link:focus-visible {
    background: var(--pe-ink);
    color: var(--pe-surface);
}

.nw-pages__n {
    color: var(--pe-ink-mute);
    font-size: 14px;
}

/* .nw-pages__archive's too: the links of .pe (people.css) take their parent's colour. */
.nw-pages__archive {
    margin: 8px 0 0;
    text-align: center;
}

.nw-pages__archive .nw-pages__archive-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--nw-link);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.nw-pages__archive .nw-pages__archive-link:hover,
.nw-pages__archive .nw-pages__archive-link:focus-visible {
    text-decoration-thickness: 2px;
}

.nw-pages__archive svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

/* The archive. */
.nw-year__title {
    margin: 0 0 12px;
    font: 700 24px var(--font-display);
}

.nw-year__title span {
    color: var(--pe-ink-mute);
    font: 500 14px var(--font-ui);
}

.nw-months {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nw-month {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--pe-line);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
}

.nw-month:hover,
.nw-month:focus-visible {
    border-color: var(--pe-ink);
}

.nw-month__n {
    color: var(--pe-ink-mute);
    font-family: var(--font-mono);
    font-size: 13px;
}

/* A photo on its own page. */
.nw-photo {
    margin: 0;
}

.nw-photo figcaption {
    text-align: center;
}

.nw-photo img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: var(--radius);
}

/* Larger screens ------------------------------------------------------ */

@media (min-width: 768px) {
    .nw-head {
        padding-top: 28px;
    }

    .nw-head--review .nw-head__grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .nw-head--review .nw-score {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
        text-align: center;
    }

    .nw-hero {
        margin: 0;
    }

    .nw-hero img {
        aspect-ratio: 1.75;
        border-radius: var(--radius-lg, 12px) var(--radius-lg, 12px) 0 0;
    }

    .nw-hero figcaption {
        padding-inline: 0;
    }

    /* The large hero runs out of the black onto the page, as on the
       legacy pages: the black is the picture's, from the header's top to
       48px above its foot, and the caption under it is on the page. */
    .nw-head:has(.nw-hero:not(.nw-hero--small)) {
        position: relative;
        isolation: isolate;
        overflow: clip;
        background: transparent;
    }

    .nw-hero:not(.nw-hero--small) picture {
        position: relative;
        display: block;
    }

    .nw-hero:not(.nw-hero--small) picture::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -3000px -100vw 48px;
        background: var(--nw-head);
    }

    .nw-hero:not(.nw-hero--small) img {
        border-radius: var(--radius-lg, 12px);
    }

    .nw-hero:not(.nw-hero--small) figcaption {
        padding-top: 10px;
        color: var(--pe-ink-mute);
    }

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

    .nw-pros {
        grid-template-columns: 1fr 1fr;
    }

    .nw-pros__box {
        padding: 22px 32px 6px 0;
    }

    .nw-pros__box + .nw-pros__box {
        padding: 22px 0 6px 32px;
        border-top: 0;
        border-left: 1px solid var(--pe-line);
    }

    .nw-card--row .nw-card__link {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 24px;
    }

    .nw-rows .nw-card--row .nw-card__standfirst {
        display: block;
    }

    .nw-card--row .nw-card__title {
        font-size: 19px;
    }

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

/* Beside the banners, up to 1280 px, the column is too narrow to split
   (the stories beside the lead ran to eight lines): the lead over them. */
@media (max-width: 1279px) {
    .nw-page--ads .nw-lead {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A tablet: the one column centred under the header, not against its left. */
@media (min-width: 700px) and (max-width: 1023px) {
    .nw-layout {
        max-width: 720px;
    }
}

/* A tablet the server sends the side banners to (an iPad says it is a
   computer): the text and the banners side by side from 768 px, as the
   other sections have them, rather than nine banners stacked under the
   text. An article's rail stays under its text, in the first column: the
   banners span both rows and the second takes what they need beyond the
   text, so the rail follows the text at once. */
@media (min-width: 768px) and (max-width: 1023px) {
    .nw-page--ads {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .nw-layout--ads {
        grid-template-columns: minmax(0, 1fr) 300px;
        grid-template-rows: auto 1fr;
        max-width: var(--wrap);
    }

    .nw-layout--ads > .nw-main {
        grid-column: 1;
        grid-row: 1;
    }

    .nw-layout--ads > .nw-rail {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .nw-layout--ads > .pe-ads {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

/* Narrower than that (an iPad mini upright, a narrow window), no room for
   them beside the text: the side banners are left out, not stacked under
   it. The front page's column keeps its most read. */
@media (max-width: 767px) {
    .nw-layout--ads > .pe-ads,
    .nw-page--ads > .pe-ads:not(.nw-side) {
        display: none;
    }
}

@media (min-width: 1024px) {
    .nw-layout {
        grid-template-columns: 220px minmax(0, 680px);
        justify-content: center;
        gap: 36px;
    }

    .nw-layout--ads {
        grid-template-columns: 220px minmax(0, 680px) 300px;
    }

    .nw-layout--norail {
        grid-template-columns: minmax(0, 680px);
    }

    .nw-layout--norail.nw-layout--ads {
        grid-template-columns: minmax(0, 680px) 300px;
    }

    /* Sticky; a rail taller than the screen scrolls on its own. */
    .nw-layout .nw-rail {
        position: sticky;
        top: calc(var(--bar-height) + 16px);
        align-self: start;
        order: 0;
        max-height: calc(100vh - var(--bar-height) - 32px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .nw-rail__list,
    .nw-rail__videos {
        flex-direction: column;
        overflow: visible;
    }

    .nw-rail__list {
        gap: 0;
        padding: 0;
        border: 1px solid var(--pe-line);
        border-radius: var(--radius-lg, 12px);
    }

    .nw-rail__item,
    .nw-rail__videos li {
        width: auto;
    }

    .nw-rail__item + .nw-rail__item {
        border-top: 1px solid var(--pe-line);
    }

    .nw-rail__link {
        padding: 11px 12px;
        border: 0;
        border-radius: 0;
    }

    .nw-rail__item:first-child .nw-rail__link {
        border-radius: var(--radius-lg, 12px) var(--radius-lg, 12px) 0 0;
    }

    .nw-rail__item:last-child .nw-rail__link {
        border-radius: 0 0 var(--radius-lg, 12px) var(--radius-lg, 12px);
    }

    .nw-rail__item:only-child .nw-rail__link {
        border-radius: var(--radius-lg, 12px);
    }

    .nw-rail__item--feature .nw-rail__link {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 12px 14px;
    }

    .nw-rail__poster {
        width: 100%;
    }

    .nw-rail__videos {
        gap: 18px;
        padding: 0;
    }

    .nw-page--ads {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

/* The writers (page/news/author, authors) ---------------------------------

   A writer's masthead: their photo beside the name, the line they wrote
   about themselves, how much they have signed, their accounts. */
.nw-author {
    display: flex;
    align-items: center;
    gap: 18px 28px;
}

.nw-author__photo {
    flex: none;
    width: 140px;
    height: 140px;
    border: 3px solid var(--nw-accent);
    border-radius: 50%;
    object-fit: cover;
    background: #333333;
}

.nw-author__photo--initials {
    display: grid;
    place-items: center;
    color: #ffffff;
    font: 700 40px var(--font-display);
}

.nw-author__text {
    min-width: 0;
}

.nw-author__short {
    max-width: 62ch;
    margin: 10px 0 0;
    color: var(--nw-head-mute);
    font-size: 17px;
    line-height: 1.5;
}

.nw-author__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 12px 0 0;
    color: var(--nw-accent);
    font-family: var(--font-mono);
    font-size: 13px;
}

/* On the black masthead in both themes: light rings, the accent under the
   pointer. */
.nw-author__links {
    margin-top: 14px;
}

.nw-author__links a {
    border-color: rgba(255, 255, 255, .28);
    color: var(--nw-head-ink);
}

.nw-author__links a:hover,
.nw-author__links a:focus-visible {
    border-color: var(--nw-accent);
    color: var(--nw-accent);
}

.nw-author-bio p {
    max-width: 68ch;
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.65;
}

.nw-author-bio p:last-child {
    margin-bottom: 0;
}

/* The team: a card per writer, two or three to a row. */
.nw-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nw-team__item {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--pe-line);
    border-radius: var(--radius-lg);
    background: var(--pe-surface);
    text-decoration: none;
    transition: border-color var(--speed) var(--ease);
}

.nw-team__item:hover,
.nw-team__item:focus-visible {
    border-color: var(--pe-ink);
}

.nw-team__photo {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #333333;
}

.nw-team__photo--initials {
    display: grid;
    place-items: center;
    color: #ffffff;
    font: 700 22px var(--font-display);
}

.nw-team__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nw-team__name {
    font: 700 17px/1.2 var(--font-display);
}

.nw-team__short {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pe-ink-mute);
    font-size: 13.5px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.nw-team__facts {
    color: var(--pe-ink-mute);
    font-family: var(--font-mono);
    font-size: 12px;
}

@media (max-width: 560px) {
    .nw-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .nw-author__photo {
        order: 1;
        width: 88px;
        height: 88px;
    }

    .nw-author__text {
        display: contents;
    }

    .nw-author .pe-crumb {
        order: 0;
    }

    .nw-author .nw-masthead__title,
    .nw-author__short,
    .nw-author__facts,
    .nw-author__links {
        order: 2;
    }

    .nw-author .nw-masthead__title {
        margin-top: -6px;
    }

    .nw-author__short {
        margin-top: -8px;
        font-size: 16px;
    }

    .nw-author__facts,
    .nw-author__links {
        margin-top: -6px;
    }
}

@media print {
    .nw-rail,
    .nw-player,
    .nw-google,
    .nw-comments,
    .nw-addoor,
    .side-player {
        display: none;
    }
}
