:root {
    --paper: #fbf8f2;
    --surface: #fffdf9;
    --ink: #192b3b;
    --muted: #63717a;
    --line: #deded5;
    --accent: #386b5a;
    --soft: #e9eee7;
    --coral: #d9775b;
    --display: Georgia, "Times New Roman", serif;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.top-note { background: var(--ink); color: #f5f1e9; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.top-note .container { display: flex; justify-content: space-between; padding-block: 10px; }
.site-header { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 26px; border-bottom: 1px solid var(--line); }
.site-brand { display: flex; align-items: center; gap: 12px; font: 25px var(--display); white-space: nowrap; }
.site-brand img { width: 48px; height: 48px; object-fit: contain; }
.site-brand small { display: block; margin-top: 4px; color: var(--muted); font: 9px "Segoe UI", Arial, sans-serif; letter-spacing: .13em; }
.main-nav { display: flex; gap: 28px; font-size: 13px; }
.header-search { display: flex; width: 230px; border-bottom: 1px solid #9da9a4; }
.header-search input { width: 100%; min-width: 0; padding: 9px 4px; border: 0; background: transparent; }
.header-search button { border: 0; background: transparent; color: var(--accent); font-size: 22px; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7%; align-items: center; padding-block: 62px 52px; }
.hero-copy { padding-block: 20px; }
.eyebrow, .kicker { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.hero h1 { max-width: 560px; margin: 18px 0; font: clamp(48px, 6vw, 76px)/.99 var(--display); letter-spacing: -.045em; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-copy > p { max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.button-link { display: inline-flex; align-items: center; gap: 26px; margin-top: 20px; padding: 14px 18px; background: var(--accent); color: white; font-size: 13px; }
.button-link:hover { background: var(--ink); color: white; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 38px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.proof-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #a9b8ac; border-radius: 50%; color: var(--accent); }
.hero-image { position: relative; margin: 0; }
.hero-image img { display: block; width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.image-caption { position: absolute; right: 0; bottom: 0; padding: 11px 15px; background: var(--surface); color: var(--muted); font-size: 10px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.principles > div { padding: 23px 26px; border-right: 1px solid var(--line); }
.principles > div:first-child { padding-left: 0; }
.principles > div:last-child { border: 0; }
.principles span { display: block; margin-bottom: 12px; color: var(--coral); font: 20px var(--display); }
.principles strong { font: 17px var(--display); }
.principles p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.section { padding-block: 60px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 8px 0 0; font: 38px var(--display); }
.section-heading > a { color: var(--accent); font-size: 12px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.article-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); }
.article-image { display: block; overflow: hidden; background: var(--soft); }
.article-image img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; transition: transform .25s; }
.article-image:hover img { transform: scale(1.03); }
.article-copy { padding: 19px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 10px; }
.article-card h3 { margin: 12px 0 8px; font: 23px/1.2 var(--display); }
.article-copy > p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag-list a { padding: 5px 8px; background: var(--soft); color: #395a4e; font-size: 10px; }
.popular-band { padding-block: 44px; background: #e9eee7; }
.popular-inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; }
.popular-inner h2 { margin: 8px 0; font: 34px var(--display); }
.popular-inner p { color: var(--muted); font-size: 12px; }
.popular-inner ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.popular-inner li { border-top: 1px solid #ccd6cd; }
.popular-inner li a { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; font: 16px var(--display); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.topic-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.topic-card > span { font: 20px var(--display); }
.topic-card small { color: var(--muted); font-size: 11px; }
.topic-card b { position: absolute; top: 20px; right: 20px; color: var(--coral); }
.inner-page { padding-block: 28px 72px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; color: var(--muted); font-size: 12px; }
.page-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 48px; }
.main-column { min-width: 0; }
.full-article h1, .list-heading h1, .main-column > h1 { margin: 12px 0 20px; font: clamp(38px,5vw,58px)/1.08 var(--display); }
.article-hero { display: block; width: 100%; max-height: 540px; margin: 24px 0; object-fit: cover; }
.prose { color: #344a55; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.prose h2, .prose h3 { color: var(--ink); font-family: var(--display); line-height: 1.2; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose > * + * { margin-top: 1em; }
.tag-sidebar { height: max-content; padding: 22px; background: var(--soft); }
.tag-sidebar h2 { font: 24px var(--display); }
.tag-sidebar nav { display: grid; }
.tag-sidebar nav a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #cbd7cd; font-size: 12px; }
.tag-sidebar nav b { color: var(--accent); }
.list-heading > p, .tag-seo { color: var(--muted); line-height: 1.7; }
.large-search { display: flex; gap: 10px; margin-bottom: 24px; }
.large-search input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--line); background: var(--surface); }
.large-search button, .cookie-actions button { padding: 11px 16px; border: 0; background: var(--accent); color: white; }
.empty-state { padding: 25px; background: var(--soft); color: var(--muted); line-height: 1.7; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination a, .pagination span { padding: 9px 13px; border: 1px solid var(--line); }
.pagination [aria-current=page] { background: var(--accent); color: white; }
.tag-seo { margin-top: 30px; }
.site-footer { padding: 44px 0 24px; background: var(--ink); color: #f3f0e9; }
.footer-grid { display: grid; grid-template-columns: 1fr 220px; gap: 50px; }
.footer-brand > a { font: 32px var(--display); }
.footer-brand > a span { margin-left: 10px; color: #d99273; }
.footer-brand p { max-width: 420px; color: #bdc7c5; line-height: 1.7; }
.footer-brand small, .footer-links { font-size: 12px; }
.footer-links { display: grid; align-content: start; gap: 13px; }
.footer-links .kicker { color: #b9caba; }
.analytics-area { margin-top: 28px; }
.cookie-banner { position: fixed; z-index: 20; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; width: min(850px, calc(100% - 40px)); padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 10px 35px #182b3b24; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cookie-banner p a { text-decoration: underline; }
.cookie-actions { display: flex; flex-shrink: 0; gap: 8px; }
.cookie-actions button:last-child { background: #e4e9e4; color: var(--ink); }
.skip-link, .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; }
.skip-link:focus { z-index: 50; width: auto; height: auto; clip: auto; margin: 8px; padding: 10px; background: white; }
.comments { margin-top: 36px; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-form, .feedback-form { display: grid; gap: 13px; }
.comment-form label, .feedback-field { display: grid; gap: 6px; }
.comment-form input, .comment-form textarea, .feedback-field input, .feedback-field textarea { width: 100%; padding: 11px; border: 1px solid var(--line); background: var(--surface); }
.comment-success, .comment-error { padding: 12px; background: var(--soft); }
.comment-trap { display: none; }
.feedback-consent { font-size: 12px; }
.feedback-error { color: #a23b32; }
.feedback-success { color: var(--accent); }
.feedback-preview { color: var(--muted); }
.feedback-submit { padding: 12px; border: 0; background: var(--accent); color: white; }
.error-page { display: grid; min-height: 100vh; place-items: center; }
.error-content { width: min(560px, calc(100% - 40px)); padding: 50px 0; text-align: center; }
.error-code { display: block; margin-top: 25px; color: var(--accent); font: 100px var(--display); }
.error-content h1 { margin: 0 0 12px; font: 34px var(--display); }
.error-content p { margin-bottom: 24px; color: var(--muted); }
.pill-link { display: inline-block; padding: 13px 20px; background: var(--accent); color: white; }
.related { margin-top: 44px; }
@media (max-width: 900px) {
    .container { width: min(100% - 40px, 720px); }
    .site-header { flex-wrap: wrap; padding-block: 14px; }
    .main-nav { order: 3; width: 100%; justify-content: center; }
    .hero { grid-template-columns: 1fr; gap: 28px; }
    .hero-copy { max-width: 650px; }
    .page-layout { grid-template-columns: 1fr; }
    .tag-sidebar { order: 2; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 32px); }
    .top-note .container span:last-child { display: none; }
    .site-header { gap: 12px; }
    .site-brand { font-size: 21px; }
    .site-brand img { width: 42px; height: 42px; }
    .header-search { width: 150px; }
    .main-nav { justify-content: space-between; gap: 14px; font-size: 12px; }
    .hero { padding-block: 38px; }
    .hero h1 { font-size: 48px; }
    .hero-image img { aspect-ratio: 1.15; }
    .principles { grid-template-columns: 1fr; }
    .principles > div, .principles > div:first-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .principles > div:last-child { border: 0; }
    .article-grid, .topic-grid, .popular-inner ol { grid-template-columns: 1fr; }
    .section { padding-block: 40px; }
    .section-heading h2, .popular-inner h2 { font-size: 30px; }
    .popular-inner { grid-template-columns: 1fr; gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cookie-banner { right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; width: calc(100% - 24px); gap: 13px; }
    .cookie-actions button { flex: 1; }
    .full-article h1, .list-heading h1, .main-column > h1 { font-size: 39px; }
}

/* Совместимые классы карточек в списках и страницах статей. */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.story-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.story-image { display: block; overflow: hidden; background: var(--soft); }
.story-image img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.story-copy { padding: 18px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 10px; }
.story-card h3 { margin: 12px 0 8px; font: 22px/1.25 var(--display); }
.story-copy > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.story-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.story-tags a { padding: 5px 8px; background: var(--soft); color: #395a4e; font-size: 10px; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 48px; }
.list-heading { margin-bottom: 28px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-title h2 { margin: 8px 0 0; font: 34px var(--display); }
.popular-section { padding-block: 44px; background: var(--soft); }
.popular-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 24px; }
.rank-story { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid #ccd6cd; }
.rank { color: var(--coral); font: 28px var(--display); }
.rank-story h3 { flex: 1; font: 18px var(--display); }
.tag-block { padding-block: 40px; }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .story-grid, .popular-list { grid-template-columns: 1fr; } }
