: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:#f6f3eb; --surface:#fffdf8; --ink:#1d3032; --muted:#657579; --line:#d9ded7; --accent:#c94e34; --soft:#dcebe5; --display:Georgia,"Times New Roman",serif; }
.travel-hero { position:relative; display:grid; grid-template-columns:.82fr 1.18fr; gap:5vw; align-items:center; padding-top:48px; padding-bottom:56px; }
.travel-copy { position:relative; z-index:1; padding:24px 0 30px; }
.travel-copy h1 { font:clamp(4rem,8vw,7.7rem)/.86 var(--display); letter-spacing:-.075em; margin:26px 0; }
.travel-copy h1 em,.trip-intro h2 em { color:var(--accent); font-weight:400; }
.travel-copy>p { color:var(--muted); max-width:370px; font-size:1.1rem; line-height:1.7; }
.travel-cta { display:inline-flex; align-items:center; gap:28px; margin-top:20px; padding:16px 20px; border-radius:4px; background:var(--ink); color:white; }
.travel-cta b { color:#f2a58e; font-size:1.3rem; }
.travel-note { margin-top:34px; color:var(--muted); font-size:.85rem; }
.route-dot { display:inline-block; width:9px; height:9px; background:var(--accent); border-radius:50%; margin-right:8px; }
.travel-image { margin:0; height:min(66vw,620px); min-height:420px; position:relative; overflow:hidden; border-radius:48% 48% 5px 5px; background:#b5c8bd; }
.travel-image img { width:100%; height:100%; object-fit:cover; }
.travel-image:after { content:""; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(17,39,43,.55)); pointer-events:none; }
.travel-image figcaption { position:absolute; z-index:1; bottom:24px; left:28px; right:28px; color:white; display:flex; justify-content:space-between; gap:12px; font-size:.72rem; letter-spacing:.08em; }
.hero-index { position:absolute; right:0; bottom:22px; font-size:.72rem; letter-spacing:.14em; color:var(--muted); }
.hero-index span { color:var(--accent); padding:0 8px; }
.trip-intro { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding-top:48px; padding-bottom:48px; display:grid; grid-template-columns:1fr 2fr auto; align-items:center; gap:20px; }
.trip-intro h2 { font:clamp(2rem,4vw,3.7rem)/1 var(--display); margin:0; letter-spacing:-.04em; }
.trip-intro>a { border-bottom:1px solid var(--accent); padding:10px 0; white-space:nowrap; }
.trip-intro>a span { color:var(--accent); margin-left:12px; }
.latest-section { padding-top:64px; padding-bottom:70px; }
.section-title h2 { font-family:var(--display); font-size:clamp(2rem,4vw,3rem); font-weight:400; margin:8px 0 0; }
.popular-section { background:#e6ebe5; padding:58px 0; }
.kicker { color:var(--accent); letter-spacing:.14em; font-size:.7rem; font-weight:700; }
.story-card { background:var(--surface); border:1px solid var(--line); }
.site-header { border-bottom:1px solid var(--line); }
.site-footer { background:#1d3032; color:#f6f3eb; }
.cookie-banner { border-color:var(--line); }
.inner-page { padding-top:40px; padding-bottom:80px; }
.editorial-page h1 { max-width:900px; font:clamp(3rem,7vw,6rem)/.98 var(--display); letter-spacing:-.055em; margin:20px 0 26px; }
.page-lead { max-width:760px; color:var(--muted); font:1.35rem/1.6 var(--display); }
@media (max-width:760px) { .travel-hero { grid-template-columns:1fr; gap:8px; padding-top:28px; } .travel-copy { padding-bottom:8px; } .travel-copy h1 { font-size:clamp(3.6rem,17vw,6rem); } .travel-image { min-height:330px; height:95vw; max-height:540px; } .hero-index { bottom:14px; } .trip-intro { grid-template-columns:1fr; padding-top:34px; padding-bottom:34px; } .trip-intro h2 { margin:8px 0; } .travel-image figcaption { left:16px; right:16px; bottom:16px; font-size:.62rem; } }
.menu-toggle { display:none; } @media(max-width:760px){ .menu-toggle{display:block;margin-left:auto;background:transparent;border:1px solid var(--line);padding:9px 12px;color:var(--ink)} .main-nav{display:none;position:absolute;z-index:5;top:100%;left:0;right:0;background:var(--surface);padding:20px;box-shadow:0 8px 20px #1d30321a} .main-nav.is-open{display:flex;flex-direction:column;gap:18px} .site-header{position:relative} }

/* Визуальный язык журнала о местах и впечатлениях */
:root { --paper:#f4f0e7; --surface:#fffdf8; --ink:#173b3e; --muted:#647777; --line:#d8d6c9; --accent:#cf593e; --soft:#dce8e2; }
.travel-hero { grid-template-columns:.92fr 1.08fr; gap:4vw; padding-top:58px; }
.travel-copy h1 { max-width:650px; font-size:clamp(3.8rem,7.4vw,7rem); line-height:.94; letter-spacing:-.065em; }
.travel-copy h1 em { color:var(--accent); }
.travel-image { height:min(59vw,590px); min-height:400px; border-radius:5px 120px 5px 5px; box-shadow:18px 18px 0 #dce8e2; }
.travel-image img { object-position:center; }
.travel-cta { border-radius:2px; background:var(--accent); color:#fffdf8; }
.travel-cta b { color:#ffe0a0; }
.route-dot { background:var(--accent); }
.trip-intro { border-color:var(--line); }
.popular-section { background:#e3e9e2; }
.story-card { border-radius:2px; overflow:hidden; box-shadow:0 12px 30px #173b3e0a; }
.story-image { display:block; overflow:hidden; }
.story-image img { transition:transform .35s ease; }
.story-card:hover .story-image img { transform:scale(1.035); }
.site-header { min-height:98px; }
.site-brand { color:var(--ink); }
.site-brand img { object-fit:contain; }
.site-footer { background:#173b3e; color:#f4f0e7; }
.footer-links .kicker { color:#ef9277; }
.cookie-banner { border:1px solid var(--line); box-shadow:0 16px 48px #173b3e26; }
.travel-note { letter-spacing:.01em; }
.inner-page { max-width:1000px; }
.editorial-page h1 { color:var(--ink); }
.prose a { color:#a83e2b; }
@media (max-width:760px) {
    .travel-hero { gap:18px; padding-top:30px; }
    .travel-copy h1 { max-width:560px; }
    .travel-image { border-radius:4px 72px 4px 4px; box-shadow:10px 10px 0 #dce8e2; }
    .hero-index { bottom:2px; }
}
@media (prefers-reduced-motion: reduce) {
    .story-image img { transition:none; }
}
