/* Desktop newsroom / «О редакции» composition (Prompt 1495; visually aligned to the
 * approved about_us content area by Prompt 1495.1).
 *
 * Content-only stylesheet: the shared publication container, masthead, and footer
 * come from common.css + the package shell. This file owns only the newsroom
 * composition between them. It introduces NO page-specific fixed max-width or
 * container -- `.content-wide` under `.dn-publication--desktop` supplies the same
 * horizontal geometry as every other desktop NEWS surface -- and NO font/type
 * system of its own: the serif/body/mono roles come from the shared tokens in
 * common.css (`.dn-newsroom` is part of that shared token scope), the eyebrow is the
 * shared `.dn-kicker` (+ its `--section` size variant), and the H1 is the shared `.dn-page-heading` treatment (with
 * its `--natural-case` modifier). Only geometry, separators, the portrait footprint
 * and the green bullet/number markers are newsroom-specific.
 *
 * Responsive strategy (desktop presentation only, not a mobile redesign): the roster
 * is 3 -> 2 -> 1 entries per row (the accepted equivalent of the reference's
 * 6/4/2/1 logical-column behavior); an entry is a portrait column beside a text
 * column and stacks only at the smallest supported desktop widths. */

.dn-newsroom__layout {
    padding: 40px 0 72px;
}

/* --- Hero: eyebrow + serif title + introduction | vertical rule + quote ---- */

.dn-newsroom__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 0 56px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--dn-rule-subtle);
}

.dn-newsroom__hero-copy {
    min-width: 0;
}

.dn-newsroom__hero-copy .dn-kicker {
    margin-bottom: 18px;
}

.dn-newsroom__intro {
    max-width: 46em;
    margin: 22px 0 0;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-body);
    font-size: 16px;
    line-height: 1.55;
}

.dn-newsroom__intro + .dn-newsroom__intro {
    margin-top: 10px;
}

/* The AI-persona disclosure is part of the introduction copy: same typography, one step
 * quieter than the paragraph above it (Owner QA, Prompt 1495.2). No existing NEWS token is this
 * mid-grey (`--dn-text-secondary` is the darker #5b6472 of the paragraph above), so the value is
 * a newsroom-specific literal. */
.dn-newsroom__disclosure {
    color: #7f8189;
}

.dn-newsroom__mission {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0 0 0 44px;
    border-left: 1px solid var(--dn-rule-subtle);
}

.dn-newsroom__mission blockquote {
    margin: 0;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-serif);
    font-size: 23px;
    font-style: italic;
    line-height: 1.4;
}

.dn-newsroom__mission figcaption {
    margin-top: 22px;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-body);
    font-size: 13px;
}

.dn-newsroom__mission figcaption::before {
    content: "\2014\00a0";
}

/* --- Roster: portrait + text entries with hairline separators ------------- */

.dn-newsroom__roster {
    padding-top: 36px;
}

.dn-newsroom__roster .dn-kicker,
.dn-newsroom__principles .dn-kicker {
    margin-bottom: 8px;
}

/* Vertical separators sit on each entry's left border. The grid is pulled left by
 * exactly one entry's left padding + border and clipped by the frame, so the first
 * entry of every row starts flush with the container edge and shows no rule, while
 * the entries after it get a hairline -- for any number of columns. */
.dn-newsroom__roster-frame {
    overflow: hidden;
}

.dn-newsroom__grid {
    --dn-entry-gutter: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 0 calc(-1 * (var(--dn-entry-gutter) + 1px));
    padding: 0;
    list-style: none;
}

.dn-editorial-card {
    display: grid;
    grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
    gap: 22px;
    align-items: start;
    min-width: 0;
    padding: 28px var(--dn-entry-gutter) 34px var(--dn-entry-gutter);
    border-bottom: 1px solid var(--dn-rule-subtle);
    border-left: 1px solid var(--dn-rule-subtle);
}

.dn-editorial-card__portrait {
    width: 100%;
    aspect-ratio: 145 / 270;
    overflow: hidden;
    border: 1px solid var(--dn-rule-subtle);
    background: var(--dn-surface-panel);
}

.dn-editorial-card__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dn-editorial-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-serif);
    font-size: 56px;
    line-height: 1;
}

.dn-editorial-card__body {
    min-width: 0;
}

.dn-editorial-card__name {
    margin: 0 0 6px;
    color: var(--dn-text-primary);
    font-family: var(--dn-font-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.dn-editorial-card__role {
    margin: 0 0 14px;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-body);
    font-size: 14px;
    line-height: 1.35;
}

.dn-editorial-card__description {
    margin: 0;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-body);
    font-size: 13px;
    line-height: 1.55;
}

/* Lower metadata: thin separator + green-bullet labelled lines. */
.dn-editorial-card__details {
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--dn-rule-subtle);
    list-style: none;
}

.dn-editorial-card__details li {
    position: relative;
    padding-left: 18px;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-body);
    font-size: 13px;
    line-height: 1.5;
}

.dn-editorial-card__details li + li {
    margin-top: 8px;
}

.dn-editorial-card__details li::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dn-accent-primary);
}

.dn-editorial-card__details strong {
    color: var(--dn-text-primary);
    font-weight: 700;
}

/* Optional public quote: restrained italic editorial serif, set apart from the labelled
 * details. It gets its own hairline only when it directly follows the description (no detail
 * list above it to provide the separation). */
.dn-editorial-card__quote {
    margin: 16px 0 0;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-serif);
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
}

.dn-editorial-card__role + .dn-editorial-card__quote,
.dn-editorial-card__description + .dn-editorial-card__quote {
    padding-top: 14px;
    border-top: 1px solid var(--dn-rule-subtle);
}

.dn-newsroom__empty {
    margin: 12px 0 0;
    padding: 32px 0;
    border-top: 1px solid var(--dn-rule-subtle);
    border-bottom: 1px solid var(--dn-rule-subtle);
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-serif);
    font-size: 18px;
    line-height: 1.45;
}

/* --- "Как устроена редакция": three numbered principles ------------------- */

.dn-newsroom__principles {
    padding-top: 36px;
}

.dn-newsroom__principles-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.dn-newsroom__principle {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 0 32px;
    border-left: 1px solid var(--dn-rule-subtle);
}

.dn-newsroom__principle:first-child {
    padding-left: 0;
    border-left: 0;
}

.dn-newsroom__principle:last-child {
    padding-right: 0;
}

.dn-newsroom__principle-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dn-accent-primary);
    color: var(--dn-surface-page);
    font-family: var(--dn-font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.dn-newsroom__principle h3 {
    margin: 4px 0 8px;
    color: var(--dn-text-primary);
    font-family: var(--dn-font-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.dn-newsroom__principle p {
    margin: 0;
    color: var(--dn-text-secondary);
    font-family: var(--dn-font-body);
    font-size: 13px;
    line-height: 1.55;
}

/* --- Responsive collapse -------------------------------------------------- */

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

@media (max-width: 900px) {
    .dn-newsroom__hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .dn-newsroom__mission {
        margin-top: 32px;
        padding: 28px 0 0;
        border-top: 1px solid var(--dn-rule-subtle);
        border-left: 0;
    }

    .dn-newsroom__principles-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .dn-newsroom__principle,
    .dn-newsroom__principle:first-child,
    .dn-newsroom__principle:last-child {
        padding: 0;
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .dn-newsroom__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .dn-newsroom__layout {
        padding: 24px 0 48px;
    }

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

    .dn-editorial-card__portrait {
        max-width: 140px;
    }
}
