@charset "UTF-8";

:root {
    --ink: #24372f;
    --forest: #294b3f;
    --forest-dark: #1d342c;
    --brick: #b85c45;
    --gold: #d1a45f;
    --paper: #f5f1e8;
    --paper-deep: #ebe4d6;
    --muted: #718078;
    --line: rgba(36, 55, 47, .17);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--brick); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 16px; color: white; background: var(--forest-dark); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.top-note { color: #f6f0e6; background: var(--forest-dark); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.top-note .container { display: flex; justify-content: space-between; padding-block: 8px; }
.site-header { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--forest-dark); font: 700 31px/1 var(--serif); text-decoration: none; white-space: nowrap; }
.site-brand img { width: 52px; height: 52px; object-fit: contain; }
.site-brand small { display: block; margin-top: 6px; color: var(--muted); font: 700 9px/1.2 var(--sans); letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); font-size: 13px; text-decoration: none; }
.header-search { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.header-search input { width: 126px; padding: 8px 4px; border: 0; outline: 0; background: transparent; font-size: 12px; }
.header-search button { border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.menu-toggle { display: none; }
.cover-story { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 510px; padding-block: 52px 40px; gap: 42px; }
.cover-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 10px 0 46px 6.5%; }
.kicker { display: block; color: var(--brick); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; }
.cover-copy h1 { max-width: 560px; margin: 23px 0 18px; color: var(--forest-dark); font: 400 clamp(52px, 6vw, 82px)/.98 var(--serif); letter-spacing: -.045em; }
.cover-copy h1 span { color: var(--brick); }
.cover-copy > p { max-width: 390px; margin: 0; color: #607067; font-size: 15px; }
.cover-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; width: fit-content; min-width: 240px; margin-top: 30px; padding: 12px 0; border-bottom: 1px solid var(--brick); color: var(--forest-dark); font-size: 13px; text-decoration: none; }
.cover-link b { color: var(--brick); font-size: 18px; }
.cover-index { position: absolute; right: 0; bottom: 0; left: 6.5%; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.cover-image { position: relative; min-height: 410px; margin: 0; overflow: hidden; background: var(--forest); }
.cover-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(18, 33, 27, .5)); content: ""; pointer-events: none; }
.cover-image img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.cover-image figcaption { position: absolute; z-index: 1; right: 24px; bottom: 20px; color: white; font-size: 9px; letter-spacing: .17em; }
.ticker-line { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .13em; }
.ticker-line span:first-child { color: var(--brick); font-weight: 700; }
.latest-section { padding-block: 82px 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 8px 0 0; font: 400 42px/1.1 var(--serif); letter-spacing: -.025em; }
.section-heading > a { padding-bottom: 6px; color: var(--forest); font-size: 12px; text-decoration: none; }
.section-heading > a b { margin-left: 14px; color: var(--brick); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; }
.story-image { display: block; overflow: hidden; background: var(--paper-deep); }
.story-image img { width: 100%; aspect-ratio: 1.48; object-fit: cover; transition: transform .45s ease; }
.story-image:hover img { transform: scale(1.035); }
.story-copy { padding: 14px 2px 0; }
.story-meta, .article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 10px; }
.story-copy h3 { margin: 10px 0 8px; font: 400 24px/1.18 var(--serif); }
.story-copy h3 a { text-decoration: none; }
.story-copy p { margin: 0; color: #66736b; font-size: 13px; }
.story-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.story-tags a { padding: 3px 9px; border: 1px solid var(--line); border-radius: 20px; color: var(--forest); font-size: 9px; text-decoration: none; }
.popular-section { padding-block: 68px 76px; color: var(--paper); background: var(--forest-dark); }
.popular-section .kicker { color: var(--gold); }
.popular-section .section-heading h2 { color: var(--paper); }
.popular-section .section-heading > span { color: #c0ccc3; font-size: 12px; }
.popular-list { border-top: 1px solid rgba(255,255,255,.2); }
.rank-story { display: grid; grid-template-columns: 62px 1fr 28px; align-items: center; gap: 16px; padding: 18px 8px; border-bottom: 1px solid rgba(255,255,255,.2); color: var(--paper); text-decoration: none; }
.rank { color: var(--gold); font: 400 18px var(--serif); }
.rank-story h3 { margin: 0; font: 400 22px/1.25 var(--serif); }
.rank-arrow { color: var(--gold); }
.tag-blocks { padding-block: 80px; }
.tag-block { padding-block: 26px; border-bottom: 1px solid var(--line); }
.tag-block-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.tag-block-heading h2 { margin: 0; font: 400 30px var(--serif); }
.tag-block-heading a { color: var(--brick); font-size: 12px; text-decoration: none; }
.tag-block .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inner-page { padding-block: 34px 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { text-decoration: none; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: start; gap: 58px; }
.main-column { min-width: 0; }
.list-heading { margin-bottom: 30px; }
.list-heading h1, .full-article h1, .inner-page > h1 { margin: 12px 0; font: 400 clamp(38px, 5vw, 62px)/1.05 var(--serif); letter-spacing: -.03em; }
.list-heading p { color: var(--muted); }
.tag-sidebar { position: sticky; top: 24px; padding: 22px; background: var(--paper-deep); }
.tag-sidebar h2 { margin: 8px 0 14px; font: 400 24px var(--serif); }
.tag-sidebar nav { display: grid; }
.tag-sidebar nav a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; text-decoration: none; }
.tag-sidebar nav b { color: var(--brick); font-weight: 500; }
.tag-sidebar p { color: var(--muted); font-size: 11px; }
.large-search { display: flex; margin-bottom: 28px; border-bottom: 1px solid var(--forest); }
.large-search input { flex: 1; min-width: 0; padding: 13px 6px; border: 0; outline: 0; background: transparent; }
.large-search button { padding: 10px 14px; border: 0; color: white; background: var(--forest); cursor: pointer; }
.empty-state { padding: 28px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination a, .pagination span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); text-decoration: none; }
.pagination [aria-current="page"] { color: white; background: var(--forest); }
.tag-seo { margin-top: 34px; color: var(--muted); font-size: 13px; }
.full-article { max-width: 800px; margin-inline: auto; }
.full-article h1 { margin-block: 20px; }
.article-meta { margin-bottom: 26px; }
.article-hero { width: 100%; max-height: 570px; margin-bottom: 34px; object-fit: cover; }
.prose { max-width: 760px; margin-inline: auto; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-top: 1.8em; font-family: var(--serif); font-weight: 400; line-height: 1.2; }
.prose img { height: auto; margin-block: 24px; }
.prose a { color: var(--brick); }
.legal-prose { margin-inline: 0; }
.related { margin-top: 68px; }
.comment-trap { display: none; }
.comments { max-width: 800px; margin: 54px auto; }
.comment, .comment-form, .comment-success, .comment-error { overflow-wrap: anywhere; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: grid; gap: 6px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); background: #fffdf8; }
.comment-form button { width: fit-content; padding: 10px 18px; border: 0; color: white; background: var(--forest); cursor: pointer; }
.comment-success { color: var(--forest); }
.comment-error { color: #9f3f32; }
.comment-pagination { display: flex; gap: 10px; }
.site-footer { padding-block: 54px 20px; color: var(--paper); background: #192c25; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; }
.footer-brand > a { font: 400 42px var(--serif); text-decoration: none; }
.footer-brand > a span { margin-left: 10px; color: var(--gold); font: 18px var(--sans); }
.footer-brand p { max-width: 390px; color: #c1c9c2; font-size: 13px; }
.footer-brand small { color: #9eaaa2; font-size: 10px; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links .kicker { color: var(--gold); }
.footer-links a { color: #e5e8e2; font-size: 12px; text-decoration: none; }
.footer-signoff { align-self: center; justify-self: end; color: var(--gold); font-size: 10px; letter-spacing: .15em; }
.footer-signoff b { display: block; color: var(--paper); font: 400 48px var(--serif); letter-spacing: 0; }
.analytics-area { padding-top: 24px; color: var(--paper); }
.cookie-banner { position: fixed; z-index: 10; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 920px; margin-inline: auto; padding: 18px 22px; border: 1px solid rgba(255,255,255,.18); color: var(--paper); background: var(--forest-dark); box-shadow: 0 12px 40px rgba(0,0,0,.22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.cookie-banner p { margin: 4px 0 0; color: #c5cec7; font-size: 11px; }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; flex-shrink: 0; gap: 8px; }
.cookie-actions button { padding: 9px 12px; border: 1px solid #8b9b8f; color: white; background: transparent; font-size: 11px; cursor: pointer; }
.cookie-actions button:first-child { border-color: var(--gold); color: var(--forest-dark); background: var(--gold); }
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); }
.error-content { width: min(600px, calc(100% - 40px)); padding: 40px; text-align: center; }
.error-content .site-brand { justify-content: center; }
.error-code { display: block; margin-top: 42px; color: var(--brick); font: 400 100px/.9 var(--serif); }
.error-content h1 { font: 400 38px/1.15 var(--serif); }
.error-content p { color: var(--muted); }

@media (max-width: 900px) {
    .container { width: min(100% - 40px, 720px); }
    .site-header { min-height: 82px; gap: 16px; }
    .site-brand { font-size: 27px; }
    .site-brand img { width: 46px; height: 46px; }
    .main-nav { gap: 16px; }
    .header-search input { width: 100px; }
    .cover-story { grid-template-columns: .9fr 1.1fr; gap: 24px; min-height: 430px; padding-top: 36px; }
    .cover-copy h1 { font-size: clamp(48px, 7vw, 68px); }
    .cover-image, .cover-image img { min-height: 350px; }
    .content-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 28px; }
}
@media (max-width: 680px) {
    .container { width: calc(100% - 36px); }
    .top-note .container { padding-block: 7px; font-size: 9px; }
    .site-header { position: relative; min-height: 74px; flex-wrap: wrap; justify-content: space-between; padding-block: 11px; }
    .site-brand { gap: 8px; font-size: 25px; }
    .site-brand img { width: 42px; height: 42px; }
    .site-brand small { font-size: 8px; }
    .menu-toggle { display: inline-block; padding: 8px 10px; border: 1px solid var(--line); color: var(--forest); background: transparent; font-size: 12px; }
    .main-nav { position: absolute; z-index: 5; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; padding: 12px 18px; border: 1px solid var(--line); background: var(--paper); }
    .main-nav.is-open { display: grid; gap: 0; }
    .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
    .main-nav a:last-child { border: 0; }
    .header-search { flex: 0 0 100%; order: 3; }
    .header-search input { width: 100%; }
    .cover-story { display: flex; flex-direction: column; gap: 20px; padding-block: 28px 24px; }
    .cover-copy { padding: 14px 0 42px; }
    .cover-copy h1 { margin-block: 16px 12px; font-size: clamp(48px, 14vw, 70px); }
    .cover-copy > p { font-size: 14px; }
    .cover-link { margin-top: 20px; }
    .cover-index { left: 0; }
    .cover-image, .cover-image img { min-height: 260px; max-height: 330px; }
    .ticker-line { flex-wrap: wrap; font-size: 8px; }
    .ticker-line span:nth-child(2) { order: 3; flex: 1 0 100%; }
    .latest-section, .tag-blocks { padding-block: 54px; }
    .section-heading { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 22px; }
    .section-heading h2 { font-size: 35px; }
    .home-grid, .tag-block .story-grid, .story-grid { grid-template-columns: 1fr; gap: 25px; }
    .story-copy h3 { font-size: 23px; }
    .popular-section { padding-block: 48px; }
    .rank-story { grid-template-columns: 38px 1fr 22px; gap: 10px; padding-block: 15px; }
    .rank-story h3 { font-size: 18px; }
    .tag-block-heading h2 { font-size: 25px; }
    .content-layout { grid-template-columns: 1fr; gap: 38px; }
    .tag-sidebar { position: static; }
    .inner-page { padding-block: 24px 56px; }
    .breadcrumbs { margin-bottom: 24px; }
    .list-heading h1, .full-article h1, .inner-page > h1 { font-size: 42px; }
    .prose { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-signoff { grid-column: 1 / -1; justify-self: start; }
    .cookie-banner { right: 10px; bottom: 10px; left: 10px; align-items: start; flex-direction: column; gap: 12px; padding: 16px; }
    .cookie-actions { width: 100%; }
    .cookie-actions button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Визуальная система журнала «Между строк». */
:root {
    --ink: #182238;
    --forest: #243b65;
    --forest-dark: #17233c;
    --brick: #c45732;
    --gold: #e3a052;
    --paper: #faf7f0;
    --paper-deep: #efe8da;
    --muted: #74766f;
    --line: rgba(24, 34, 56, .16);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
}
body { background: #faf7f0; }
.top-note { color: #f8f4ed; background: #182238; letter-spacing: .17em; }
.site-header { min-height: 112px; border-bottom: 0; }
.site-brand { color: #182238; font-size: 34px; letter-spacing: -.06em; }
.site-brand small { color: #c45732; font-size: 8px; letter-spacing: .2em; }
.main-nav { gap: 30px; }
.main-nav a { font-weight: 600; }
.header-search { border: 1px solid var(--line); border-radius: 99px; padding-inline: 12px; }
.masthead-story { display: grid; grid-template-columns: .92fr 1.08fr; gap: 5%; min-height: 580px; padding-block: 28px 58px; }
.masthead-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 28px 0 72px 7%; }
.issue-label, .eyebrow { color: #c45732; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.masthead-copy h1 { margin: 22px 0 18px; color: #182238; font: 400 clamp(54px, 6vw, 82px)/.99 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
.masthead-copy h1 em { color: #c45732; font-weight: 400; }
.masthead-copy > p { max-width: 385px; color: #646960; font-size: 15px; }
.read-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; width: 226px; margin-top: 18px; padding: 14px 0; border-bottom: 1px solid #c45732; color: #182238; font-size: 13px; font-weight: 700; text-decoration: none; }
.read-link span { color: #c45732; font-size: 18px; }
.cover-caption { position: absolute; right: 0; bottom: 0; left: 7%; display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--line); color: #74766f; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.masthead-image { position: relative; align-self: stretch; min-height: 500px; margin: 0; overflow: hidden; background: #ded0b9; }
.masthead-image img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.masthead-image figcaption { position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; color: white; background: rgba(24,34,56,.82); font-size: 9px; letter-spacing: .17em; }
.issue-ribbon { border-block: 1px solid var(--line); }
.issue-ribbon .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 55px; color: #182238; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.issue-ribbon b { color: #c45732; font-size: 13px; }
.latest-section { padding-block: 84px 96px; }
.section-heading { align-items: end; margin-bottom: 34px; }
.section-heading h2 { color: #182238; font: 400 43px/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.section-heading > a { border-bottom: 1px solid #c45732; color: #182238; }
.home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.story-card { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.story-image { background: #efe8da; }
.story-image img { aspect-ratio: 1.32; }
.story-copy h3 { color: #182238; font: 400 25px/1.16 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.story-copy p { color: #646960; line-height: 1.65; }
.story-tags a { border-color: #ded7c9; border-radius: 2px; color: #243b65; }
.popular-section { padding-block: 75px; color: #faf7f0; background: #182238; }
.popular-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; }
.popular-intro .eyebrow { color: #e3a052; }
.popular-intro h2 { margin: 20px 0; font: 400 clamp(35px, 4vw, 54px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.popular-intro p { max-width: 300px; color: #c2c7ce; font-size: 13px; }
.popular-list { border-top: 1px solid rgba(255,255,255,.24); }
.rank-story { grid-template-columns: 44px 1fr 24px; padding: 20px 4px; }
.rank { color: #e3a052; font-size: 15px; }
.rank-title { font: 400 21px/1.3 Georgia, "Times New Roman", serif; }
.rank-arrow { color: #e3a052; }
.tag-blocks { padding-block: 72px; }
.tag-block-heading h2 { color: #182238; }
.tag-sidebar { background: #efe8da; }
.site-footer { background: #121b2d; }
.footer-signoff { color: #e3a052; }
.footer-signoff b { font-family: Georgia, "Times New Roman", serif; }
.cookie-banner { background: #182238; }
.pagination [aria-current="page"], .large-search button { background: #243b65; }

@media (max-width: 900px) {
    .masthead-story { min-height: 470px; gap: 4%; }
    .masthead-copy { padding-left: 0; }
    .masthead-copy h1 { font-size: clamp(50px, 7vw, 68px); }
    .masthead-image, .masthead-image img { min-height: 410px; }
    .cover-caption { left: 0; }
    .popular-inner { gap: 5%; }
}
@media (max-width: 680px) {
    .site-header { min-height: 80px; }
    .site-brand { font-size: 27px; }
    .masthead-story { display: flex; flex-direction: column; gap: 25px; padding-block: 18px 28px; }
    .masthead-copy { padding: 20px 0 62px; }
    .masthead-copy h1 { margin-block: 16px; font-size: clamp(52px, 14vw, 72px); }
    .masthead-image, .masthead-image img { min-height: 280px; max-height: 380px; }
    .cover-caption { left: 0; font-size: 8px; }
    .issue-ribbon .container { min-height: 46px; gap: 5px; font-size: 8px; letter-spacing: .1em; }
    .issue-ribbon b { font-size: 10px; }
    .latest-section { padding-block: 58px; }
    .section-heading h2 { font-size: 36px; }
    .home-grid, .story-grid, .tag-block .story-grid { grid-template-columns: 1fr; }
    .popular-inner { grid-template-columns: 1fr; gap: 30px; }
    .popular-intro h2 { font-size: 42px; }
    .rank-title { font-size: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
