@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');


:root {
    --black: #111;
    --gray: #666;
    --light: #eeeeee;
    --paper: #f8f8f5;
}


* {
    box-sizing: border-box;
}


html {
    background: #ddd;
}


body {
    margin: 0;

    background:
        radial-gradient(
            rgba(0,0,0,.035) 1px,
            transparent 1px
        );

    background-size: 4px 4px;

    color: var(--black);

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


.top {
    max-width: 1200px;

    margin: 24px auto 0;

    border: 2px solid #222;

    background: var(--paper);
}


.topline {
    height: 48px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 0 30px;

    font-family: Arial, sans-serif;

    font-size: 18px;
    font-weight: 600;
}


.masthead {
    min-height: 175px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 50px;

    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}


.logo {
    text-align: center;
}


.logo-main {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(70px, 10vw, 130px);

    font-weight: 800;

    letter-spacing: -9px;

    line-height: .8;
}


.logo-sub {
    margin-top: 28px;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(36px, 5vw, 70px);

    font-weight: 800;

    letter-spacing: -4px;
}


.medal {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 6px double #777;

    color: #555;

    font-size: 44px;
}


.description {
    padding: 8px 15px;

    background: #ddd;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .5px;
}


.navigation {
    max-width: 1200px;

    margin: 12px auto;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
}


.navigation a {
    padding: 12px 20px;

    color: #111;

    text-decoration: none;

    text-transform: uppercase;

    font-family: Oswald, Arial, sans-serif;

    font-weight: 600;

    font-size: 15px;

    border-right: 1px solid #aaa;
}


.navigation a:hover {
    background: #111;
    color: white;
}


.newspaper {
    max-width: 1200px;

    margin: auto;

    /* padding: 0 18px 50px; */
}


.breaking {
    border: 2px solid #111;

    margin-bottom: 18px;

    display: flex;
}


.breaking-title {
    padding: 10px 18px;

    background: #111;

    color: white;

    font-family: Oswald, sans-serif;

    font-size: 19px;

    white-space: nowrap;
}


.ticker {
    padding: 10px 18px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 17px;
}


.lead-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 20px;

    margin-bottom: 25px;
}


.main-article {
    min-height: 400px;

    border-top: 5px solid #111;

    border-bottom: 2px solid #111;

    padding: 20px;
}


.main-image {
    width: 100%;

    max-height: 350px;

    object-fit: cover;

    filter: grayscale(100%);
}


.article-category {
    margin: 15px 0 5px;

    font-family: Oswald, sans-serif;

    text-transform: uppercase;

    font-size: 14px;

    font-weight: 700;
}


.main-title {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(30px, 4vw, 52px);

    line-height: 1.05;
}


.article-description {
    margin-top: 15px;

    font-size: 18px;

    line-height: 1.5;

    column-count: 2;

    column-gap: 25px;
}


.article-meta {
    margin-top: 20px;

    color: #666;

    font-family: Arial, sans-serif;

    font-size: 12px;
}


.sidebar {
    border-left: 2px solid #111;

    padding-left: 20px;
}


.sidebar-title {
    padding-bottom: 10px;

    border-bottom: 5px solid #111;

    font-family: Oswald, sans-serif;

    font-size: 27px;

    font-weight: 700;
}


.important-item {
    padding: 17px 0;

    border-bottom: 1px dotted #555;
}


.important-item a {
    color: #111;

    text-decoration: none;

    font-family: "Playfair Display", serif;

    font-size: 21px;

    line-height: 1.2;
}


.important-item a:hover {
    text-decoration: underline;
}


.section-heading {
    margin-top: 20px;
    margin-bottom: 15px;

    padding: 9px 0;

    border-top: 5px solid #111;
    border-bottom: 2px solid #111;

    font-family: Oswald, sans-serif;

    font-size: 29px;

    font-weight: 700;
}


.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 0;
}


.news-card {
    min-height: 250px;

    padding: 18px;

    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}


.news-card:nth-child(3n + 1) {
    border-left: 1px solid #999;
}


.news-card-category {
    font-family: Oswald, sans-serif;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.news-card h3 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 24px;

    line-height: 1.15;
}


.news-card h3 a {
    color: #111;

    text-decoration: none;
}


.news-card h3 a:hover {
    text-decoration: underline;
}


.news-card p {
    font-size: 15px;

    line-height: 1.4;

    color: #333;
}


.news-card time {
    color: #777;

    font-family: Arial, sans-serif;

    font-size: 11px;
}


.news-card img {
    width: 100%;

    height: 150px;

    object-fit: cover;

    filter: grayscale(100%);

    margin-bottom: 10px;
}


.live-indicator {
    position: fixed;

    right: 20px;
    bottom: 20px;

    padding: 9px 13px;

    background: #111;

    color: white;

    font-family: Arial, sans-serif;

    font-size: 12px;

    font-weight: bold;

    box-shadow: 0 3px 15px rgba(0,0,0,.25);
}


.live-indicator span {
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 5px;

    background: #2eb82e;

    border-radius: 50%;
}


.live-indicator.offline span {
    background: #d33;
}


footer {
    max-width: 1200px;

    margin: 0 auto;

    padding: 25px;

    border-top: 5px solid #111;

    display: flex;

    justify-content: space-between;

    font-family: Oswald, sans-serif;

    font-size: 13px;
}


.loading {
    padding: 60px;

    text-align: center;

    color: #777;
}


@media (max-width: 800px) {

    .top {
        margin-top: 0;
    }

    .topline {
        font-size: 13px;
        padding: 0 12px;
    }

    .masthead {
        min-height: 130px;
        gap: 10px;
    }

    .medal {
        width: 55px;
        height: 55px;
        font-size: 25px;
    }

    .logo-main {
        font-size: 65px;
    }

    .logo-sub {
        font-size: 34px;
        margin-top: 20px;
    }

    .navigation a {
        padding: 9px 12px;
        font-size: 13px;
    }

    .lead-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-left: 0;
        border-top: 2px solid #111;
        padding-left: 0;
        padding-top: 20px;
    }

    .article-description {
        column-count: 1;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card,
    .news-card:nth-child(3n + 1) {
        border-left: 1px solid #999;
    }

    footer {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================================
   ПРО НАС
   ========================================================= */

.about-page {
    padding-bottom: 40px;
}


.about-header {
    max-width: 900px;

    margin: 0 auto 45px;
}


.about-lead {
    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 27px;

    line-height: 1.35;

    margin-bottom: 18px;
}


.about-header p:not(.about-lead) {
    font-size: 18px;

    line-height: 1.65;
}


.journalists {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0;
}


.journalist {
    display: grid;

    grid-template-columns: 110px 1fr;

    gap: 22px;

    padding: 25px;

    border-bottom: 1px solid #777;

    border-right: 1px solid #777;
}


.journalist:nth-child(odd) {
    border-left: 1px solid #777;
}


.journalist-photo {
    width: 100px;
    height: 100px;

    display: flex;

    justify-content: center;
    align-items: center;

    border: 2px solid #111;

    background:
        repeating-linear-gradient(
            45deg,
            #ddd,
            #ddd 3px,
            #f5f5f5 3px,
            #f5f5f5 6px
        );

    color: #111;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 27px;

    font-weight: 700;
}


.journalist-role {
    margin-bottom: 6px;

    color: #555;

    font-family:
        Oswald,
        Arial,
        sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .5px;
}


.journalist h2 {
    margin: 0 0 12px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 29px;

    line-height: 1.1;
}


.journalist p {
    margin: 0 0 10px;

    font-size: 15px;

    line-height: 1.5;

    color: #333;
}


.empty-editorial {
    padding: 70px 20px;

    text-align: center;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 24px;

    color: #555;
}


.read-more {
    color: #111;

    font-family:
        Oswald,
        Arial,
        sans-serif;

    font-weight: 600;

    text-transform: uppercase;

    text-decoration: none;

    border-bottom: 1px solid #111;
}


.read-more:hover {
    color: #555;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 800px) {

    .journalists {
        grid-template-columns: 1fr;
    }


    .journalist {
        border-left: 1px solid #777;

        grid-template-columns: 85px 1fr;
    }


    .journalist-photo {
        width: 75px;
        height: 75px;

        font-size: 21px;
    }


    .journalist h2 {
        font-size: 24px;
    }


    .about-lead {
        font-size: 22px;
    }
}


.main-image {
    width: 100%;

    max-height: 440px;

    object-fit: cover;

    display: block;

    filter: grayscale(100%);

    margin-bottom: 18px;

    transition:
        filter .25s ease,
        transform .25s ease;
}


.main-article:hover .main-image {
    filter: grayscale(70%);
}


.news-card img {
    width: 100%;

    height: 180px;

    object-fit: cover;

    display: block;

    margin-bottom: 13px;

    filter: grayscale(100%);

    transition:
        filter .25s ease,
        transform .25s ease;
}


.news-card:hover img {
    filter: grayscale(55%);
}


@media (max-width: 800px) {

    .main-image {
        max-height: 280px;
    }

    .news-card img {
        height: 220px;
    }
}

.article-page {
    max-width: 1200px;
    margin: 25px auto;
    padding: 24px;
    background: var(--paper);
    border-top: 5px solid var(--black);
    border-bottom: 2px solid var(--black);
}

.article-page .main-title { margin-top: 18px; }
.article-page .article-meta { margin-bottom: 24px; }
.article-cover, .article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}
.article-body {
    font-size: 20px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.article-page button {
    padding: 10px 18px;
    font: inherit;
    cursor: pointer;
}
@media (max-width: 800px) {
    .article-page { padding: 18px 12px; }
    .article-body { font-size: 18px; }
}

.main-title a { color: inherit; text-decoration: none; }
.main-title a:hover { text-decoration: underline; }

/* Responsive newspaper layout: keep the masthead, stories and reader within
   the viewport without hiding overflow or disabling browser zoom. */
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
.logo, .main-article, .sidebar, .news-card, .journalist-content, .ticker { min-width: 0; }
.main-title, .news-card h3, .important-item a, .article-meta,
.journalist h2, .journalist p, .about-header { overflow-wrap: anywhere; }
.journalist-photo { overflow: hidden; flex-shrink: 0; }
.journalist-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.navigation a:focus-visible, .read-more:focus-visible, button:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 3px;
}
#loadMore {
    display: block;
    min-height: 48px;
    margin: 28px auto 12px;
    padding: 12px 28px;
    border: 2px solid var(--black);
    border-radius: 0;
    background: var(--paper);
    color: var(--black);
    font: 600 16px Oswald, Arial, sans-serif;
    cursor: pointer;
}
#loadMore[hidden] { display: none; }
#loadMore:disabled { opacity: .55; cursor: wait; }
#archiveStatus { text-align: center; padding: 0 12px; font-size: 15px; line-height: 1.5; }
.article-body { max-width: 72ch; margin-inline: auto; }
.article-page > .read-more { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 601px) and (max-width: 1024px) {
    .newspaper { padding: 0 20px 32px; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-card, .news-card:nth-child(3n + 1) { border-left: 0; }
    .news-card:nth-child(odd) { border-left: 1px solid #999; }
    .journalists { grid-template-columns: 1fr; }
    .journalist { border-left: 1px solid #777; }
    .masthead { gap: 20px; padding: 24px 16px; }
    .medal { flex-shrink: 0; }
    .logo-sub { font-size: clamp(32px, 5.8vw, 58px); letter-spacing: -.04em; }
}

@media (max-width: 900px) {
    .lead-grid { grid-template-columns: minmax(0, 1fr); }
    .article-description { column-count: 1; }
    .sidebar {
        border-left: 0;
        border-top: 2px solid var(--black);
        padding: 20px 0 0;
    }
    .topline { height: auto; min-height: 48px; gap: 16px; padding-block: 10px; }
    .topline span:last-child { flex-shrink: 0; }
}

@media (max-width: 600px) {
    .top { margin: 0; border-width: 0 0 2px; }
    .topline {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 11px;
        line-height: 1.5;
        gap: 14px;
    }
    .masthead {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) 30px;
        min-height: 140px;
        gap: 8px;
        padding: 24px 12px 20px;
    }
    .medal { width: 30px; height: 30px; border-width: 3px; font-size: 17px; }
    .logo-main {
        font-size: clamp(56px, 17vw, 92px);
        letter-spacing: -.07em;
        line-height: .9;
    }
    .logo-sub {
        margin-top: 12px;
        font-size: clamp(20px, 5.7vw, 34px);
        letter-spacing: -.045em;
        line-height: 1.15;
    }
    .description { padding: 10px 16px; font-size: 10px; line-height: 1.6; letter-spacing: .15px; }
    .navigation {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin: 0 0 18px;
        background: var(--paper);
    }
    .navigation a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 10px 4px;
        font-size: clamp(10px, 2.8vw, 14px);
        text-align: center;
        line-height: 1.35;
        border-bottom: 1px solid #aaa;
    }
    .navigation a:nth-child(4n) { border-right: 0; }
    .navigation a:nth-last-child(-n + 4) { border-bottom: 0; }
    .newspaper { padding: 0 14px 30px; }
    .breaking { flex-direction: column; margin-bottom: 20px; }
    .breaking-title { padding: 8px 12px; font-size: 15px; letter-spacing: .5px; }
    .ticker { padding: 11px 12px; font-size: 15px; line-height: 1.45; }
    .lead-grid { gap: 24px; margin-bottom: 28px; }
    .main-article { min-height: 0; padding: 16px 0 20px; }
    .main-image { max-height: none; aspect-ratio: 16 / 10; margin-bottom: 16px; }
    .article-category { margin-top: 12px; font-size: 13px; }
    .main-title { font-size: clamp(28px, 7.8vw, 40px); line-height: 1.15; }
    .article-description { font-size: 17px; line-height: 1.65; margin-block: 14px; }
    .article-meta { font-size: 12px; line-height: 1.6; margin-top: 14px; }
    .read-more { line-height: 1.5; }
    .main-article .read-more { display: inline-flex; align-items: center; min-height: 44px; }
    .sidebar-title { font-size: 24px; }
    .important-item { padding: 16px 0; }
    .important-item a { display: block; font-size: 21px; line-height: 1.35; }
    .section-heading { font-size: 24px; padding-block: 10px; }
    .news-grid { grid-template-columns: minmax(0, 1fr); }
    .news-card, .news-card:nth-child(3n + 1) {
        min-height: 0;
        padding: 20px 0;
        border-left: 0;
        border-right: 0;
    }
    .news-card img { height: auto; aspect-ratio: 16 / 10; margin-bottom: 14px; }
    .news-card h3 { font-size: 25px; line-height: 1.25; }
    .news-card p { font-size: 16px; line-height: 1.6; margin-block: 12px; }
    .news-card time { font-size: 12px; }
    #loadMore { width: 100%; }
    .about-header { margin-bottom: 28px; }
    .about-lead { font-size: 23px; line-height: 1.45; }
    .about-header p:not(.about-lead) { font-size: 17px; line-height: 1.65; }
    .journalists { grid-template-columns: minmax(0, 1fr); }
    .journalist {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 6px 16px;
        padding: 24px 0;
        border-left: 0;
        border-right: 0;
    }
    .journalist:nth-child(odd) { border-left: 0; }
    .journalist-content { display: contents; }
    .journalist-photo { width: 76px; height: 86px; grid-row: 1 / span 2; align-self: start; }
    .journalist-role { grid-column: 2; font-size: 11px; line-height: 1.5; margin: 0; align-self: end; }
    .journalist h2 { grid-column: 2; font-size: 25px; line-height: 1.15; margin: 0 0 14px; }
    .journalist p { grid-column: 1 / -1; margin: 10px 0 0; font-size: 16px; line-height: 1.65; }
    .article-page { margin: 0; padding: 16px; border-top-width: 3px; }
    .article-page .main-title { margin-top: 14px; }
    .article-body { font-size: 18px; line-height: 1.75; }
    .article-body p { margin-block: 1.15em; }
    .article-cover, .article-body img { margin-block: 20px; }
    .article-page button { min-height: 44px; }
    .loading, .empty-editorial { padding: 36px 12px; }
    footer { padding: 22px 14px; gap: 8px; font-size: 12px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
