:root {
    --paper: #f8f7f1;
    --surface: #fffef9;
    --ink: #243a2d;
    --muted: #7d8577;
    --line: #dedfd1;
    --accent: #42634a;
    --soft: #e9eddf;
    --display: Georgia, "Times New Roman", serif;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 15px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 4px;
}
a:hover {
    text-decoration: underline;
}
button, input {
    font: inherit;
}
button, input, a {
    outline-offset: 5px;
}
button {
    cursor: pointer;
}
img {
    max-width: 100%;
    height: auto;
}
figure, h1, h2, h3, p {
    margin: 0;
}
.container {
    width: min(1280px, calc(100% - 96px));
    margin-inline: auto;
}
.top-note {
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    letter-spacing: 0.6px;
    color: var(--muted);
    padding: 12px 0;
}
.top-note .container {
    display: flex;
    justify-content: space-between;
}
.site-header {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    border-bottom: 1px solid var(--line);
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 39px;
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1;
    flex-shrink: 0;
}
.site-brand img {
    width: 53px;
    height: 53px;
    object-fit: contain;
}
.site-brand small {
    display: block;
    margin-top: 8px;
    font: 9px "Segoe UI", sans-serif;
    letter-spacing: 1.4px;
    color: var(--muted);
}
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 12px;
}
.header-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    max-width: 195px;
}
.header-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 9px 0;
    font-size: 11px;
}
.header-search button {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 20px;
}
.kicker {
    display: block;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 1.8px;
    line-height: 1.6;
}
.editorial-hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 55px;
    align-items: center;
    padding-block: 52px;
}
.hero-intro h1 {
    font: 59px/1.06 var(--display);
    letter-spacing: -2.6px;
    margin: 25px 0;
}
.hero-intro h1 em {
    font-weight: 400;
    color: #708161;
}
.hero-intro p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 13px;
    max-width: 350px;
}
.round-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 235px;
    margin-top: 35px;
    font-size: 12px;
}
.round-link b {
    border: 1px solid var(--accent);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 400;
}
.hero-picture img {
    display: block;
    width: 100%;
    border-radius: 150px 0 0 0;
}
.hero-picture figcaption {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--muted);
    margin-top: 16px;
    letter-spacing: 0.4px;
    gap: 20px;
}
.editorial-divider {
    display: flex;
    justify-content: space-between;
    border-block: 1px solid var(--line);
    padding-block: 18px;
    font-size: 10px;
    color: var(--muted);
}
.latest-section, .tag-block {
    padding-block: 55px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.section-title h2 {
    font: 35px/1.2 var(--display);
    letter-spacing: -1px;
}
.section-title a, .section-title > span {
    font-size: 11px;
    color: var(--muted);
}
.story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 26px;
}
.home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.story-card {
    min-width: 0;
}
.story-image {
    display: block;
    overflow: hidden;
    background: var(--soft);
}
.story-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
    transition: transform 350ms ease;
}
.story-image:hover img {
    transform: scale(1.03);
}
.story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 9px;
    margin: 18px 0 13px;
}
.story-card h3 {
    font: 25px/1.22 var(--display);
    letter-spacing: -0.4px;
}
.story-copy > p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 13px;
}
.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}
.story-tags a {
    font-size: 9px;
    background: var(--soft);
    padding: 5px 9px;
    border-radius: 2px;
}
.popular-section {
    background: var(--soft);
    padding-block: 45px;
}
.popular-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 50px;
}
.rank-story {
    display: flex;
    align-items: center;
    gap: 22px;
    border-top: 1px solid var(--line);
    padding: 24px 0;
}
.rank {
    font: 39px var(--display);
    color: #9eab90;
}
.rank-story h3 {
    font: 20px/1.4 var(--display);
}
.rank-story > span:last-child {
    margin-left: auto;
}
.inner-page {
    padding-block: 28px 70px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 45px;
    line-height: 1.8;
}
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 60px;
}
.main-column {
    min-width: 0;
}
.main-column > h1, .list-heading h1, .full-article h1 {
    font: 46px/1.12 var(--display);
    letter-spacing: -1.7px;
    margin-bottom: 24px;
    overflow-wrap: anywhere;
}
.list-heading {
    margin-bottom: 35px;
}
.list-heading .kicker {
    margin-bottom: 15px;
}
.list-heading > p {
    color: var(--muted);
    font-size: 12px;
}
.tag-sidebar {
    border-top: 2px solid var(--ink);
    padding-top: 20px;
    align-self: start;
    position: sticky;
    top: 30px;
}
.tag-sidebar h2 {
    font: 26px/1.2 var(--display);
    margin: 14px 0 25px;
}
.tag-sidebar nav a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-block: 13px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.tag-sidebar nav a[aria-current] {
    color: var(--accent);
    font-weight: 700;
    background: var(--soft);
    padding-inline: 9px;
}
.tag-sidebar nav b {
    color: var(--muted);
    font-weight: 400;
}
.tag-sidebar > p {
    font: italic 17px/1.6 var(--display);
    color: var(--muted);
    margin-top: 30px;
}
.full-article > .story-tags {
    margin: 0 0 22px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 30px;
}
.article-hero {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 35px;
}
.prose {
    font: 18px/1.9 var(--display);
    overflow-wrap: anywhere;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.25;
    margin: 40px 0 20px;
}
.prose h2 {
    font-size: 32px;
}
.prose h3 {
    font-size: 26px;
}
.prose p, .prose ul, .prose ol {
    margin: 0 0 25px;
}
.prose a {
    text-decoration: underline;
    color: var(--accent);
}
.prose img {
    height: auto;
}
.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 10px 25px;
    margin: 30px 0;
    background: var(--soft);
    font-style: italic;
}
.prose blockquote p {
    margin: 0;
}
.prose pre {
    background: var(--soft);
    padding: 22px;
    font-size: 13px;
    overflow-x: auto;
    line-height: 1.7;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    font: 13px/1.7 "Segoe UI", sans-serif;
    margin-block: 25px;
}
.prose th, .prose td {
    border: 1px solid var(--line);
    padding: 12px 16px;
}
.legal-prose {
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
}
.related {
    border-top: 1px solid var(--line);
    margin-top: 60px;
    padding-top: 35px;
}
.tag-seo {
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 40px;
    padding-top: 25px;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    font-size: 12px;
}
.pagination [aria-current] {
    background: var(--ink);
    color: var(--paper);
}
.large-search {
    display: flex;
    margin-bottom: 35px;
    border: 1px solid var(--line);
}
.large-search input {
    width: 100%;
    min-width: 0;
    padding: 16px;
    border: 0;
    background: var(--surface);
    color: var(--ink);
}
.large-search button {
    border: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 15px 20px;
}
.empty-state {
    padding: 45px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}
.site-footer {
    background: #e9eadf;
    padding: 55px 0 25px;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}
.footer-brand > a {
    font: 42px var(--display);
    letter-spacing: -1.8px;
    display: flex;
    justify-content: space-between;
    max-width: 320px;
}
.footer-brand p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 360px;
}
.footer-brand small {
    display: block;
    margin-top: 30px;
    font-size: 10px;
    color: var(--muted);
}
.footer-links {
    display: grid;
    gap: 13px;
    align-content: start;
    font-size: 11px;
}
.footer-links .kicker {
    margin-bottom: 8px;
}
.analytics-area {
    overflow-wrap: anywhere;
    margin-top: 20px;
}
.analytics-area img, .analytics-area iframe {
    max-width: 100%;
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin-inline: auto;
    max-width: 860px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 21px 25px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 8px 50px #0000001a;
    z-index: 20;
}
.cookie-banner strong {
    font-size: 12px;
}
.cookie-banner p {
    font-size: 10px;
    line-height: 1.6;
    color: var(--muted);
    margin-top: 7px;
}
.cookie-banner a {
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-actions button {
    border: 1px solid var(--line);
    padding: 10px 13px;
    background: transparent;
    color: var(--ink);
    font-size: 10px;
}
.cookie-actions button:first-child {
    background: var(--ink);
    color: var(--paper);
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--surface);
    padding: 15px;
    z-index: 100;
}
.skip-link:focus {
    top: 10px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
    background: var(--soft);
}
.error-content {
    max-width: 670px;
}
.error-code {
    display: block;
    font: 150px var(--display);
    margin-top: 40px;
    opacity: 0.5;
}
.error-content h1 {
    font: 40px/1.1 var(--display);
}
.error-content p {
    margin-block: 25px;
    line-height: 1.7;
}
.pill-link {
    display: inline-flex;
    padding: 15px 24px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 30px;
    font-size: 12px;
}
[hidden] {
    display: none !important;
}
@media (min-width: 1500px) {
    .hero-intro h1 {
        font-size: 70px;
    }
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 64px);
    }
    .header-search {
        display: none;
    }
    .hero-intro h1 {
        font-size: 49px;
    }
    .editorial-hero {
        gap: 30px;
    }
    .content-layout {
        grid-template-columns: minmax(0, 1fr) 190px;
        gap: 30px;
    }
}
@media (max-width: 760px) {
    .container {
        width: calc(100% - 40px);
    }
    .site-header {
        flex-wrap: wrap;
        gap: 25px;
        padding-block: 23px;
    }
    .site-brand {
        font-size: 33px;
    }
    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
        font-size: 11px;
    }
    .editorial-hero {
        grid-template-columns: 1fr;
        padding-block: 35px;
    }
    .hero-intro h1 {
        font-size: 55px;
    }
    .hero-picture img {
        border-top-left-radius: 90px;
    }
    .hero-intro p {
        max-width: 430px;
    }
    .editorial-divider {
        gap: 20px;
        line-height: 1.7;
    }
    .home-grid {
        grid-template-columns: 1fr 1fr;
    }
    .content-layout {
        grid-template-columns: 1fr;
    }
    .tag-sidebar {
        position: static;
        margin-top: 25px;
    }
    .tag-sidebar nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 25px;
    }
    .main-column > h1, .list-heading h1, .full-article h1 {
        font-size: 38px;
    }
    .popular-list {
        grid-template-columns: 1fr;
    }
    .section-title h2 {
        font-size: 30px;
    }
    .footer-grid {
        gap: 35px;
    }
    .cookie-banner {
        flex-wrap: wrap;
        gap: 15px;
        padding: 18px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}
@media (max-width: 480px) {
    .home-grid, .story-grid {
        grid-template-columns: 1fr;
    }
    .hero-intro h1 {
        font-size: 46px;
    }
    .section-title {
        flex-wrap: wrap;
        align-items: end;
    }
    .section-title > span {
        font-size: 9px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-picture figcaption {
        font-size: 8px;
    }
    .prose {
        font-size: 17px;
    }
    .prose h2 {
        font-size: 28px;
    }
    .latest-section, .tag-block {
        padding-block: 35px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .story-image img {
        transition: none;
    }
}

/* Комментарии к статьям. */
.comments {
    margin: 36px 0;
    padding: 24px 0;
    border-top: 1px solid currentColor;
    overflow-wrap: anywhere;
}
.comment {
    padding: 18px 0;
    border-bottom: 1px solid #8885;
}
.comment time {
    font-size: .85em;
    opacity: .7;
}
.comment p {
    white-space: normal;
}
.comment-form {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}
.comment-form label {
    display: grid;
    gap: 8px;
}
.comment-form input,
.comment-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #8888;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: inherit;
}
.comment-form textarea {
    resize: vertical;
}
.comment-form button {
    justify-self: start;
    padding: 12px 20px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.comment-form .comment-trap {
    display: none;
}
.comment-success {
    color: #176339;
}
.comment-error {
    color: #a12323;
}
.comment-pagination {
    margin: 20px 0;
}

:root {
    --paper: #f5f7fa;
    --surface: #ffffff;
    --ink: #101d32;
    --muted: #617087;
    --line: #dce4ee;
    --accent: #1976e8;
    --soft: #e8f1fc;
    --display: "Segoe UI", Arial, sans-serif;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
}
.site-header { min-height: 96px; border-bottom-color: var(--line); }
.site-brand { font-family: var(--display); font-size: 27px; letter-spacing: -1px; }
.site-brand img { width: 48px; height: 48px; }
.site-brand small { font-size: 8px; letter-spacing: 1.2px; }
.top-note { background: #101d32; color: #c7d5e8; border: 0; }
.main-nav { font-size: 13px; }
.front-page { display: grid; grid-template-columns: .82fr 1.18fr; gap: 32px 54px; align-items: center; padding-block: 50px 24px; }
.front-copy { padding: 25px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: 1.5px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #ff765f; box-shadow: 0 0 0 4px #ff765f24; }
.front-copy h1 { margin: 25px 0 20px; font-size: clamp(42px, 5vw, 69px); line-height: 1.02; letter-spacing: -3.5px; }
.front-copy h1 em { color: var(--accent); font-style: normal; }
.front-copy > p { max-width: 390px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.front-link { display: flex; align-items: center; justify-content: space-between; width: 260px; margin-top: 30px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 13px; font-weight: 650; }
.front-link span { color: var(--accent); font-size: 19px; }
.front-image { min-width: 0; }
.front-image img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 4px; }
.front-image figcaption { display: flex; justify-content: space-between; gap: 15px; margin-top: 12px; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.front-index { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); padding-block: 14px; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.latest-section { padding-block: 60px; }
.section-title h2 { font: 650 34px/1.2 var(--display); letter-spacing: -1.4px; margin-top: 8px; }
.section-title > a { color: var(--accent); }
.story-grid { gap: 34px 24px; }
.story-image { border-radius: 4px; }
.story-image img { aspect-ratio: 1.62; }
.story-card h3 { font: 650 22px/1.3 var(--display); letter-spacing: -.45px; }
.story-meta { margin: 14px 0 9px; }
.story-copy > p { font-size: 13px; }
.story-tags a { border-radius: 20px; }
.popular-section { background: #101d32; color: #fff; }
.popular-section .section-title > span { color: #b4c1d3; }
.popular-section .eyebrow { color: #7eb8ff; }
.rank-story { border-color: #ffffff2b; }
.rank-story h3 { font: 550 18px/1.4 var(--display); }
.rank { color: #7eb8ff; }
.tag-block { padding-block: 55px; }
.site-footer { background: #e8eef5; }
.cookie-banner { border-radius: 5px; }
.cookie-actions button { border-radius: 3px; }
.main-column > h1, .list-heading h1, .full-article h1 { font-family: var(--display); letter-spacing: -1.5px; }
.error-content { border-radius: 4px; }
@media (max-width: 900px) {
    .front-page { grid-template-columns: 1fr 1.1fr; gap: 25px; }
    .front-copy h1 { font-size: clamp(40px, 6vw, 58px); letter-spacing: -2px; }
}
@media (max-width: 700px) {
    .container { width: min(100% - 36px, 560px); }
    .site-header { min-height: 78px; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
    .site-brand { font-size: 23px; }
    .site-brand img { width: 42px; height: 42px; }
    .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
    .header-search { max-width: 150px; }
    .front-page { grid-template-columns: 1fr; padding-top: 30px; }
    .front-copy { padding: 0; }
    .front-copy h1 { font-size: clamp(43px, 11vw, 60px); margin-block: 20px 14px; }
    .front-image { grid-row: 2; }
    .front-image img { aspect-ratio: 1.3; }
    .front-index { overflow: auto; justify-content: flex-start; white-space: nowrap; }
    .front-index span { flex: 0 0 auto; }
    .section-title h2 { font-size: 27px; }
    .story-grid, .home-grid { grid-template-columns: 1fr; }
    .content-layout { grid-template-columns: 1fr; gap: 42px; }
    .tag-sidebar { position: static; }
    .popular-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 14px; padding: 17px; }
}
