/* The News app scrolls inside the shared desktop window. */
.siteBox:has(#newsApp:not([hidden])) {
    width: min(1000px, 96vw);
    height: min(600px, calc(100dvh - 140px));
}
.siteBox:has(#newsApp:not([hidden])) .siteView { height: calc(100% - 30px); }

#newsApp {
    --record-red: #d71920;
    --record-rule: #ccc;
    height: 100%;
    overflow: auto;
    background: #fff;
    color: #141414;
    font: 16px/1.42 Arial, Helvetica, sans-serif;
}
.record { max-width: 1000px; margin: auto; }
.record-mast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 16px;
    padding: 9px 3%;
    border-bottom: 2px solid #171717;
}
.record-mast h2 {
    margin: 0;
    padding: 4px 8px 5px;
    background: var(--record-red);
    color: white;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.055em;
}
.record-mast time, .record-credit { color: #444; font-size: 13px; }
.record-front, #record-report { padding: 16px 3% 28px; }

/* A wide lead story and a narrow rail give the front page a reading order. */
.record-front:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
}
.record-intro { margin-bottom: 12px; }
.record-lead h3, .record-column h3 {
    margin: 0;
    font-size: clamp(32px, 4.1vw, 47px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}
#record-open {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-wrap: inherit;
    cursor: pointer;
}
#record-open:hover { text-decoration: underline; text-decoration-color: var(--record-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.record-deck { margin: 7px 0; line-height: 1.35; }
.record-credit { margin: 0; font-weight: bold; }
.record-hero, .record-briefs img { display: block; width: 100%; object-fit: cover; }
.record-hero { aspect-ratio: 2.1; }
.record-briefs article + article { border-top: 1px solid var(--record-rule); margin-top: 12px; padding-top: 12px; }
.record-briefs img { aspect-ratio: 3.3; }
.record-briefs h3 { margin: 7px 0 3px; font-size: 20px; letter-spacing: -.025em; line-height: 1.1; }
.record-briefs p { margin: 0; color: #454545; font-size: 14px; line-height: 1.35; }

/* Use a shorter line length for the full article. */
.record-back {
    border: 0;
    border-bottom: 2px solid var(--record-red);
    padding: 4px 0;
    background: white;
    color: #171717;
    font: bold 14px/1.4 Arial, sans-serif;
    cursor: pointer;
}
.record-back:hover { color: var(--record-red); }
.record-column { max-width: 620px; margin: 20px auto; font-size: 18px; line-height: 1.55; }
.record-column .record-credit { margin: 14px 0; padding: 10px 0; border-block: 1px solid var(--record-rule); }
.record-credit span { margin-left: 10px; color: #555; font-weight: normal; }
.record :focus-visible { outline: 3px solid #1659bc; outline-offset: 3px; }

@media (max-width: 650px) {
    .record-front:not([hidden]) { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
    .record-briefs article { display: grid; grid-template-columns: 28% 1fr; gap: 12px; }
    .record-briefs img { aspect-ratio: 1.25; }
    .record-briefs h3 { margin-top: 0; }
}
