@charset "UTF-8";
:root {
    --paper: #1148d5;
    --surface: rgba(255, 255, 255, 0.1);
    --surface-hover: rgba(255, 255, 255, 0.17);
    --ink: #fff;
    --muted: #d5e4ff;
    --accent: #7ec2f5;
    --link: #c2ebff;
    --action: #b60097;
    --action-hover: #97007d;
    --line: rgba(255, 255, 255, 0.24);
    --focus: #bce9ff;
    --radius: 16px;
    --font: Arial, 'Helvetica Neue', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input {
    font: inherit;
}
button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
img {
    max-width: 100%;
    height: auto;
}

iframe {
    border: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}
a,
button {
    touch-action: manipulation;
}
.container {
    width: min(1160px, calc(100% - 72px));
    margin-inline: auto;
}
.icon {
    width: 22px;
    height: 22px;
    flex: none;
    vertical-align: middle;
}
.rotate {
    transform: rotate(180deg);
}
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: 20px;
    top: -70px;
    z-index: 20;
    background: var(--action);
    color: #fff;
    padding: 12px 20px;
}
.skip-link:focus {
    top: 12px;
}
.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 77, 0.12);
}
.header-inner {
    height: 108px;
    display: flex;
    align-items: center;
    gap: 36px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    line-height: 0.96;
    flex-shrink: 0;
}
.brand-symbol {
    width: 47px;
    height: 57px;
    background: var(--action);
    border-radius: 25px 25px 5px 25px;
    display: grid;
    place-items: center;
    color: #fff;
}
.brand-symbol .icon {
    width: 29px;
    height: 29px;
}
.brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}
.brand-name > span {
    display: block;
}
.brand-dot {
    color: var(--accent);
}
.brand-description {
    max-width: 190px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    padding-left: 25px;
    border-left: 1px solid var(--line);
}
.header-nav {
    margin-left: auto;
    display: flex;
    gap: 42px;
    align-items: center;
    font-size: 13px;
}
.nav-current {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}
.nav-dot,
.small-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}
.header-years {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.archive-hero {
    display: grid;
    grid-template-columns: 1fr 278px;
    gap: 64px;
    padding: 65px 0 50px;
    align-items: end;
}
.eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1.5;
}
.hero-copy > .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 25px;
}
.archive-hero h1 {
    font-size: clamp(56px, 7.2vw, 94px);
    font-weight: 700;
    letter-spacing: -5px;
    line-height: 0.98;
    margin: 0;
}
.archive-hero h1 em {
    font-style: normal;
    color: var(--accent);
}
.hero-description {
    font-size: 16px;
    line-height: 1.65;
    margin: 23px 0 0;
    color: var(--muted);
}
.hero-stat {
    padding: 22px 0 5px;
    border-top: 1px solid var(--line);
    margin-bottom: 4px;
}
.stat-caption {
    font-size: 11px;
    letter-spacing: 0.7px;
}
.hero-stat > strong {
    display: block;
    font-weight: 500;
    font-size: 94px;
    line-height: 1.18;
    letter-spacing: -7px;
    margin-top: 10px;
    font-variant-numeric: tabular-nums;
}
.hero-stat > strong > span {
    font-size: 52px;
    color: var(--accent);
    vertical-align: top;
    line-height: 1.5;
    margin-left: 5px;
    letter-spacing: -2px;
}
.stat-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
}
.stat-arrow {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    transform: rotate(45deg);
}
.search-form {
    display: flex;
    align-items: center;
    gap: 17px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 9px 9px 9px 21px;
    border-radius: var(--radius);
    margin-bottom: 48px;
}
.search-form > .icon {
    color: var(--muted);
    width: 21px;
    height: 21px;
}
.search-form input[type='search'] {
    min-width: 0;
    width: 100%;
    padding: 12px 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--ink);
}
.search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(126, 194, 245, 0.22);
}
.search-form input::placeholder {
    color: var(--muted);
    opacity: 1;
}
.button {
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    padding: 12px 23px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    min-height: 44px;
}
.button-dark {
    color: #fff;
    background: var(--action);
}
.button-dark:hover {
    background: var(--action-hover);
}
.button .icon {
    width: 20px;
    height: 20px;
}
.archive-layout {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 57px;
    align-items: start;
}
.year-sidebar {
    position: sticky;
    top: 28px;
    padding: 4px 0;
}
.sidebar-heading {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}
.sidebar-heading .icon {
    width: 18px;
    height: 18px;
    color: var(--muted);
}
.sidebar-heading h2 {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.year-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.year-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 13px;
    font-size: 14px;
    min-height: 43px;
    border-radius: 10px;
    transition: background 0.15s;
}
.year-link:hover {
    background: var(--surface-hover);
}
.year-link.active {
    background: var(--action);
    color: #fff;
    font-weight: 700;
}
.year-count {
    font-size: 11px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.active .year-count {
    color: #fff;
}
.sidebar-note {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.7;
    border-top: 1px solid var(--line);
    margin: 24px 0 0;
    padding-top: 20px;
}
.results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 23px;
}
.results-heading .eyebrow {
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 4px;
}
.results-heading h2 {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin: 0;
    outline: none;
}
.result-count {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    padding-bottom: 2px;
}
.news-list {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    overflow: hidden;
}
.news-card {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 28px;
    border-bottom: 1px solid var(--line);
}
.news-card-body {
    min-width: 0;
    flex: 1;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.5;
}
.card-meta time {
    white-space: nowrap;
}
.card-category {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.meta-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
.news-card h3 {
    font-size: 22px;
    line-height: 1.28;
    letter-spacing: -0.5px;
    font-weight: 600;
    margin: 12px 0 11px;
}
.news-card h3 a {
    transition: color 0.15s;
}
.news-card h3 a:hover {
    color: var(--link);
}
.card-excerpt {
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
    font-size: 11px;
    font-weight: 700;
}
.read-link .icon {
    width: 17px;
    height: 17px;
    transition: transform 0.15s;
}
.read-link:hover {
    color: #fff;
}
.read-link:hover .icon {
    transform: translateX(3px);
}
.card-image {
    width: 170px;
    height: 140px;
    flex: 0 0 170px;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 77, 0.22);
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}
.card-image:hover img {
    transform: scale(1.04);
}
.pagination {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}
.page-control {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    min-height: 42px;
}
.page-control .icon {
    width: 17px;
    height: 17px;
}
.page-control.disabled {
    color: #8baaff;
}
.page-control:not(.disabled):hover {
    color: var(--link);
}
.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}
.page-number {
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 12px;
}
.page-number.current {
    background: var(--action);
    color: #fff;
    font-weight: 700;
}
.page-number:not(.current):hover {
    border-color: var(--line);
    background: var(--surface-hover);
}
.ellipsis {
    padding: 0 2px;
    color: var(--muted);
}
.pagination-note {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin: 17px 0 0;
}
.query-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    align-items: center;
    font-size: 13px;
    margin-bottom: 19px;
    color: var(--muted);
}
.query-summary strong {
    color: var(--ink);
    overflow-wrap: anywhere;
}
.query-summary a {
    margin-left: auto;
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 11px;
    color: var(--link);
}
.query-summary .icon {
    width: 15px;
    height: 15px;
}
.empty-state {
    text-align: center;
    padding: 70px 25px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.empty-state h3 {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin: 20px 0 8px;
}
.empty-state p {
    color: var(--muted);
    font-size: 14px;
    max-width: 360px;
    margin: 0 auto 25px;
}
.empty-icon {
    width: 64px;
    height: 64px;
    background: var(--surface);
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 50%;
}
.empty-icon .icon {
    width: 26px;
    height: 26px;
}
.ajax-error {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: #840a91;
    color: #fff;
    padding: 14px 18px;
    margin: 0 0 25px;
    font-size: 13px;
}
.ajax-error a {
    text-decoration: underline;
}
.ajax-error[hidden] {
    display: none;
}
#archive-content {
    transition: opacity 0.15s;
}
#archive-content[aria-busy='true'] {
    opacity: 0.48;
}
.site-footer {
    margin-top: 100px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 77, 0.12);
}
.footer-sponsor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 116px;
    padding: 25px 0 20px;
}
.footer-sponsor span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.footer-sponsor img {
    display: block;
    width: min(270px, 45vw);
    height: auto;
}
.footer-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 112px;
    font-size: 11px;
    color: var(--muted);
}
.footer-inner {
    border-top: 1px solid var(--line);
}
.footer-brand {
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.7px;
    color: var(--ink);
}
.footer-brand span {
    color: var(--accent);
}
.footer-inner > span {
    margin-left: auto;
}
.footer-inner p {
    margin: 0;
}
.article-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 35px 0;
    color: var(--muted);
    font-size: 11px;
    border-bottom: 1px solid var(--line);
}
.back-link {
    font-size: 12px;
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--ink);
    white-space: nowrap;
}
.back-link .icon {
    width: 18px;
    height: 18px;
}
.back-link:hover {
    color: var(--link);
}
.article-page {
    max-width: 820px;
    margin: 0 auto;
}
.article-header {
    padding-top: 45px;
}
.article-header .eyebrow {
    color: var(--link);
    margin: 0 0 18px;
}
.article-header h1 {
    font-size: clamp(30px, 3.7vw, 49px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -1.8px;
    margin: 0;
    overflow-wrap: anywhere;
}
.article-rule {
    border-bottom: 1px solid var(--line);
    padding-top: 30px;
    position: relative;
    margin-bottom: 34px;
}
.article-rule span {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 3px;
    width: 44px;
    background: var(--accent);
}
.article-content {
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
    color: #f4f8ff;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
}
.article-content p {
    margin: 0 0 1.3em;
}
.article-content > div {
    margin-bottom: 1em;
}
.article-content h3,
.article-content h4,
.article-content h5 {
    font-size: 23px;
    color: var(--ink);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.4px;
    margin: 1.7em 0 0.8em;
}
.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin: 1em 0 1.5em;
}
.article-content li {
    padding-left: 3px;
    margin: 0.4em 0;
}
.article-content a:not([data-lightbox]) {
    color: var(--link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.article-content img {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.article-content a[data-lightbox] {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    cursor: zoom-in;
}
.article-content pre {
    white-space: pre-wrap;
}
.article-content .table-scroll {
    overflow: auto;
    max-width: 100%;
    margin: 22px 0;
    border: 1px solid var(--line);
    border-radius: 6px;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(0, 0, 77, 0.14);
}
.article-content td,
.article-content th {
    padding: 13px 15px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-width: 115px;
}
.article-content td:last-child {
    border-right: 0;
}
.article-content tr:last-child td {
    border-bottom: 0;
}
.article-content table p {
    margin: 0;
}
.article-content table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.08);
}
.article-content .news-video {
    border: 0;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 24px 0;
    background: #09267b;
    border-radius: 12px;
}
.article-content .news-document {
    border: 1px solid var(--line);
    width: 100%;
    height: 620px;
    margin: 24px 0;
}
.news-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.news-gallery > div {
    flex: 1 1 220px;
    max-width: 100%;
}
.news-gallery img {
    object-fit: contain;
}
.image-caption {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}
.article-content dl {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px 16px 0;
    max-width: 100%;
}
.article-content dt {
    margin: 0;
}
.article-content dd {
    margin: 0;
}
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    border-top: 1px solid var(--line);
    padding-top: 32px;
    margin-top: 56px;
}
.article-navigation a {
    display: block;
}
.article-navigation .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}
.article-navigation .icon {
    width: 17px;
    height: 17px;
}
.article-navigation strong {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    margin-top: 12px;
}
.article-navigation a:last-child {
    text-align: right;
}
.article-navigation a:last-child .eyebrow {
    justify-content: flex-end;
}
.article-navigation a:hover strong {
    color: var(--link);
}
.error-page {
    padding: 100px 0 110px;
    max-width: 750px;
}
.error-page h1 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 20px 0;
}
.error-page p {
    color: var(--muted);
    margin: 0 0 28px;
}
.error-page > .eyebrow {
    color: var(--accent);
}
.lightbox {
    padding: 48px 20px 20px;
    border: 0;
    border-radius: 8px;
    background: #00004df5;
    color: #fff;
    max-width: 95vw;
    max-height: 95dvh;
    box-shadow: 0 20px 100px #0006;
}
.lightbox::backdrop {
    background: #000035d9;
}
.lightbox > img {
    display: block;
    max-width: calc(95vw - 40px);
    max-height: calc(95dvh - 125px);
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
}
.lightbox-close {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #fff;
}
.lightbox-original {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    margin: 14px auto 0;
}
.lightbox-original .icon {
    width: 16px;
    height: 16px;
}

body::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 550px;
    z-index: -1;
    pointer-events: none;
    background: url('../img/pesenka-goda-rays.png') top left/clamp(520px, 60vw, 1000px)
        auto no-repeat;
    opacity: 0.24;
}
.news-card:last-child {
    border-bottom: 0;
}
.read-link {
    color: var(--link);
}
.article-content > :last-child {
    margin-bottom: 0;
}
.search-form input[type='search']::-webkit-search-cancel-button {
    filter: brightness(0) invert(1);
}

@media (min-width: 1500px) {
    .container {
        width: min(1240px, calc(100% - 96px));
    }
    .archive-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 76px;
    }
}

@media (max-width: 900px) {
    .container {
        width: calc(100% - 44px);
    }
    .header-inner {
        gap: 22px;
        height: 94px;
    }
    .brand-description {
        font-size: 11px;
        max-width: 165px;
        padding-left: 20px;
    }
    .header-nav {
        gap: 24px;
    }
    .archive-hero {
        grid-template-columns: 1fr 225px;
        gap: 35px;
        padding-top: 48px;
    }
    .archive-hero h1 {
        letter-spacing: -3.5px;
    }
    .hero-stat > strong {
        font-size: 82px;
    }
    .archive-layout {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 32px;
    }
    .news-card {
        gap: 20px;
    }
    .news-card h3 {
        font-size: 20px;
    }
    .card-image {
        width: 130px;
        height: 124px;
        flex-basis: 130px;
    }
    .card-excerpt {
        -webkit-line-clamp: 2;
    }
    .card-category {
        display: none;
    }
    .meta-separator {
        display: none;
    }
    .page-number {
        min-width: 30px;
        height: 35px;
    }
    .page-numbers {
        gap: 2px;
    }
    .page-control {
        font-size: 11px;
    }
    .footer-inner {
        gap: 22px;
    }
}

@media (max-width: 650px) {
    .container {
        width: calc(100% - 36px);
    }
    .header-inner {
        height: 85px;
        gap: 15px;
    }
    .brand-name {
        font-size: 21px;
    }
    .brand-symbol {
        width: 38px;
        height: 47px;
    }
    .brand-symbol .icon {
        width: 24px;
        height: 24px;
    }
    .brand-description {
        display: none;
    }
    .header-nav {
        gap: 17px;
        font-size: 12px;
    }
    .header-years {
        font-size: 10px;
    }
    .archive-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 35px 0 27px;
    }
    .hero-copy > .eyebrow {
        font-size: 10px;
        margin-bottom: 19px;
    }
    .archive-hero h1 {
        font-size: clamp(50px, 16.15vw, 63px);
        letter-spacing: -3.6px;
        line-height: 1.01;
    }
    .hero-description {
        font-size: 13px;
        margin-top: 17px;
    }
    .hero-stat {
        display: flex;
        align-items: center;
        gap: 14px;
        border: 0;
        padding: 0;
        margin: 0;
    }
    .stat-caption,
    .stat-arrow {
        display: none;
    }
    .hero-stat > strong {
        font-size: 37px;
        line-height: 1;
        letter-spacing: -2px;
        margin: 0;
    }
    .hero-stat > strong > span {
        font-size: 25px;
        line-height: 1;
        margin-left: 3px;
    }
    .stat-bottom {
        font-size: 10px;
        line-height: 1.4;
        border-left: 1px solid var(--line);
        padding-left: 14px;
    }
    .search-form {
        padding: 6px 6px 6px 13px;
        gap: 11px;
        margin-bottom: 25px;
    }
    .search-form > .icon {
        width: 18px;
        height: 18px;
    }
    .search-form input[type='search'] {
        font-size: 12px;
        min-height: 40px;
        padding: 8px 0;
    }
    .search-form .button {
        font-size: 12px;
        padding: 10px 16px;
    }
    .search-form .button > span {
        display: none;
    }
    .archive-layout {
        display: block;
    }
    .year-sidebar {
        position: static;
        padding: 0 0 21px;
    }
    .sidebar-heading {
        display: none;
    }
    .year-nav {
        flex-direction: row;
        gap: 7px;
        overflow: auto;
        padding: 3px 0 8px;
        scrollbar-width: thin;
        scrollbar-color: #7ec2f5 transparent;
    }
    .year-link {
        white-space: nowrap;
        border: 1px solid var(--line);
        padding: 7px 12px;
        gap: 10px;
        flex-shrink: 0;
        font-size: 12px;
        min-height: 39px;
    }
    .year-link.active {
        border-color: var(--action);
    }
    .year-count {
        font-size: 10px;
    }
    .sidebar-note {
        display: none;
    }
    .results-heading {
        margin-bottom: 18px;
    }
    .results-heading h2 {
        font-size: 25px;
    }
    .results-heading .eyebrow {
        font-size: 9px;
    }
    .result-count {
        font-size: 10px;
    }
    .news-card {
        position: relative;
        padding: 22px 18px;
        gap: 14px;
        align-items: flex-start;
    }
    .news-card h3 {
        font-size: 19px;
        letter-spacing: -0.4px;
        line-height: 1.32;
        margin: 10px 0;
    }
    .card-meta {
        font-size: 10px;
    }
    .card-excerpt {
        font-size: 12px;
        line-height: 1.7;
    }
    .card-image {
        flex-basis: 92px;
        width: 92px;
        height: 105px;
        margin-top: 26px;
    }
    .read-link {
        font-size: 10px;
        margin-top: 15px;
    }
    .card-category {
        display: none;
    }
    .pagination {
        gap: 8px;
        margin-top: 25px;
    }
    .page-control > span {
        display: none;
    }
    .page-control {
        min-width: 30px;
        justify-content: center;
    }
    .page-numbers {
        gap: 3px;
    }
    .page-number {
        min-width: 31px;
        height: 35px;
        font-size: 11px;
    }
    .ellipsis {
        font-size: 12px;
    }
    .pagination-note {
        font-size: 10px;
    }
    .query-summary {
        font-size: 12px;
        align-items: flex-start;
    }
    .query-summary a {
        font-size: 10px;
        margin-left: 0;
    }
    .site-footer {
        margin-top: 60px;
    }
    .footer-inner {
        min-height: 125px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 5px 15px;
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .footer-brand {
        font-size: 18px;
    }
    .footer-inner p {
        grid-column: 1;
        font-size: 11px;
    }
    .footer-inner > span {
        grid-column: 2;
        grid-row: 1/3;
        font-size: 9px;
        text-align: right;
        max-width: 135px;
    }
    .article-topline {
        padding: 25px 0;
        align-items: flex-start;
    }
    .article-topline > span {
        text-align: right;
        font-size: 10px;
    }
    .back-link {
        font-size: 11px;
    }
    .article-header {
        padding-top: 30px;
    }
    .article-header h1 {
        font-size: 32px;
        line-height: 1.14;
        letter-spacing: -1.2px;
    }
    .article-header .eyebrow {
        font-size: 10px;
    }
    .article-rule {
        padding-top: 25px;
        margin-bottom: 26px;
    }
    .article-content {
        font-size: 15px;
        line-height: 1.8;
        padding: 21px 18px;
        border-radius: 16px;
    }
    .article-content h3,
    .article-content h4,
    .article-content h5 {
        font-size: 21px;
    }
    .article-content td,
    .article-content th {
        padding: 10px;
        font-size: 12px;
    }
    .article-content .news-document {
        height: 440px;
    }
    .article-navigation {
        gap: 22px;
        padding-top: 24px;
        margin-top: 35px;
    }
    .article-navigation strong {
        font-size: 13px;
    }
    .article-navigation .eyebrow {
        font-size: 9px;
    }
    .error-page {
        padding: 65px 0;
    }
    .empty-state {
        padding: 50px 18px;
    }
    .empty-state h3 {
        font-size: 22px;
    }
    .empty-state p {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .pagination {
        gap: 5px;
    }
    .page-control {
        min-width: 24px;
    }
    .page-numbers {
        gap: 1px;
    }
    .page-number {
        min-width: 26px;
    }
    .ellipsis {
        width: 10px;
        padding: 0;
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Полная версия сайта: главное меню, главная и статические страницы. */
.header-inner {
    min-height: 108px;
    height: auto;
    position: relative;
}
.brand {
    margin-right: 20px;
}
.main-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}
.main-menu > a,
.menu-parent > a {
    padding: 43px 0 39px;
    border-bottom: 3px solid transparent;
}
.main-menu > a:hover,
.menu-parent > a:hover,
.main-menu > a.active,
.menu-group.active > .menu-parent > a {
    color: var(--link);
    border-bottom-color: var(--accent);
}
.menu-group {
    position: relative;
}
.menu-parent {
    display: flex;
    align-items: center;
    gap: 3px;
}
.menu-parent button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 8px 2px;
}
.menu-parent button .icon {
    width: 13px;
    height: 13px;
    transform: rotate(90deg);
    transition: transform 0.16s;
}
.submenu {
    display: none;
    position: absolute;
    z-index: 15;
    top: calc(100% - 4px);
    left: -20px;
    width: 295px;
    padding: 10px;
    background: #0736b3;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(0, 0, 80, 0.32);
}
.submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 600;
}
.submenu a:hover {
    background: var(--surface-hover);
    color: var(--link);
}
.menu-group:hover .submenu,
.menu-group:focus-within .submenu,
.menu-group.is-open .submenu {
    display: block;
}
.menu-group.is-open .menu-parent button .icon {
    transform: rotate(-90deg);
}
.menu-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    background: var(--surface);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 11px;
}
.menu-toggle .icon {
    width: 24px;
    height: 24px;
}

.home-hero {
    min-height: 660px;
    padding: 72px 0 82px;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 70px;
    align-items: center;
}
.home-hero-copy > .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--link);
    margin: 0 0 27px;
}
.home-hero h1 {
    font-size: clamp(70px, 8vw, 120px);
    font-weight: 700;
    letter-spacing: -7px;
    line-height: 0.86;
    margin: 0;
}
.home-hero h1 em {
    font-style: normal;
    color: var(--accent);
}
.home-hero h1.home-official-logo {
    width: min(100%, 460px);
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
}
.home-official-logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 55, 0.22));
}
.home-hero-copy > p:not(.eyebrow) {
    max-width: 530px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    margin: 34px 0 0;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 38px;
}
.text-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--link);
    font-size: 12px;
    font-weight: 700;
}
.text-button .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.15s;
}
.text-button:hover .icon {
    transform: translateX(3px);
}
.home-collage {
    position: relative;
    height: 510px;
}
.collage-image {
    position: absolute;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 22px 55px rgba(0, 0, 80, 0.22);
}
.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}
.collage-image:hover img {
    transform: scale(1.035);
}
.collage-image-1 {
    width: 68%;
    height: 70%;
    right: 0;
    top: 0;
}
.collage-image-2 {
    width: 47%;
    height: 46%;
    left: 0;
    bottom: 0;
}
.collage-image-3 {
    width: 32%;
    height: 29%;
    right: 7%;
    bottom: 0;
}
.collage-image-4,
.collage-image-5 {
    display: none;
}
.collage-mark {
    position: absolute;
    left: 13%;
    top: 11%;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--action);
    border: 8px solid #1148d5;
}
.collage-mark .icon {
    width: 45px;
    height: 45px;
}

.home-intro {
    background: #fff;
    color: #10235f;
    padding: 90px 0;
}
.split-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: start;
}
.split-section .eyebrow,
.section-heading .eyebrow {
    color: #5670b7;
    margin: 0 0 14px;
}
.split-section h2,
.section-heading h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -2.3px;
    margin: 0;
}
.rich-content {
    font-size: 18px;
    line-height: 1.85;
    color: #314579;
}
.rich-content h3 {
    font-size: 23px;
    color: #10235f;
    margin: 0 0 18px;
}
.rich-content p {
    margin: 0 0 1.35em;
}
.rich-content blockquote {
    margin: 28px 0 0;
    padding: 22px 25px;
    border-left: 4px solid #b60097;
    background: #eef5ff;
    color: #10235f;
}
.rich-content > :last-child {
    margin-bottom: 0;
}

.festival-video {
    padding-top: 95px;
}
.festival-video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #000;
    box-shadow: 0 24px 65px rgba(0, 0, 77, 0.25);
}
.festival-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.festival-video-caption {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 3px 0;
}
.festival-video-caption strong {
    font-size: 18px;
    line-height: 1.4;
}
.festival-video-caption time {
    flex: none;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-links,
.latest-news {
    padding-top: 95px;
}
.section-heading {
    margin-bottom: 35px;
}
.section-heading .eyebrow {
    color: var(--link);
}
.section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.section-grid > a {
    position: relative;
    min-height: 285px;
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 20px;
    transition:
        background 0.18s,
        transform 0.18s;
}
.section-grid > a:hover {
    background: var(--surface-hover);
    transform: translateY(-3px);
}
.section-grid > a > span {
    font-size: 11px;
    color: var(--link);
}
.section-grid h3 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -1px;
    margin: 52px 0 12px;
}
.section-grid p {
    color: var(--muted);
    font-size: 13px;
    max-width: 280px;
    margin: 0;
}
.section-grid > a > .icon {
    position: absolute;
    right: 27px;
    bottom: 26px;
}
.row-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
}
.latest-card {
    min-width: 0;
    border-right: 1px solid var(--line);
}
.latest-card:nth-child(3n) {
    border-right: 0;
}
.latest-card:nth-child(n + 4) {
    border-top: 1px solid var(--line);
}
.latest-card > div {
    padding: 25px;
}
.latest-card time {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.latest-card h3 {
    font-size: 19px;
    line-height: 1.35;
    margin: 13px 0 4px;
}
.latest-card h3 a:hover {
    color: var(--link);
}
.latest-image {
    display: block;
    height: 210px;
    overflow: hidden;
    background: rgba(0, 0, 77, 0.2);
}
.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.latest-card:not(:has(.latest-image)) {
    padding-top: 24px;
    min-height: 260px;
}

.page-hero {
    max-width: 930px;
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
    color: var(--link);
    margin: 0 0 17px;
}
.page-hero h1 {
    font-size: clamp(45px, 6vw, 82px);
    line-height: 1;
    letter-spacing: -4px;
    margin: 0;
}
.page-hero > p:last-child {
    font-size: 18px;
    color: var(--muted);
    max-width: 720px;
    margin: 25px 0 0;
}
.static-page {
    max-width: 920px;
    margin: 42px auto 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.static-page h2,
.static-page h3 {
    font-size: 26px;
    line-height: 1.3;
    margin: 1.6em 0 0.7em;
}
.static-page p {
    margin: 0 0 1.3em;
}
.static-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 13px;
}
.static-page td,
.static-page th {
    border: 1px solid var(--line);
    padding: 11px;
    vertical-align: top;
}
.static-page th {
    background: rgba(255, 255, 255, 0.11);
    text-align: left;
}
.application-meta {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: start;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.application-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 30px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin: 25px 0;
}
.application-fields p {
    margin: 0;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
}
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: start;
}
.contacts-layout {
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}
.contact-photo {
    aspect-ratio: 922/676;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 18px 45px rgba(0, 0, 77, 0.2);
}
.contact-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contacts-details .contact-card {
    grid-template-columns: 1fr;
    gap: 22px;
}
.contact-person h2 {
    font-size: 34px;
    margin: 0 0 5px;
}
.contact-person p {
    color: var(--muted);
}
.contact-list {
    display: grid;
    gap: 12px;
}
.contact-list a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--link);
}
.contact-list a:hover {
    background: var(--surface-hover);
}
.contact-list .icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 1050px) {
    .main-menu {
        gap: 13px;
        font-size: 11px;
    }
    .brand {
        margin-right: 5px;
    }
    .submenu {
        left: -12px;
    }
    .home-hero {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .home-hero h1 {
        letter-spacing: -5px;
    }
}
@media (max-width: 820px) {
    .header-inner {
        min-height: 86px;
        height: 86px;
    }
    .menu-toggle {
        display: grid;
        place-items: center;
    }
    .main-menu {
        display: none;
        position: absolute;
        z-index: 30;
        top: 76px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 12px;
        background: #0736b3;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0, 0, 80, 0.38);
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
        text-transform: none;
    }
    .main-menu.is-open {
        display: flex;
    }
    .main-menu > a,
    .menu-parent > a {
        padding: 11px 12px;
        border: 0;
        border-radius: 9px;
    }
    .main-menu > a:hover,
    .main-menu > a.active,
    .menu-parent > a:hover,
    .menu-group.active > .menu-parent > a {
        background: var(--surface-hover);
        border: 0;
    }
    .menu-parent {
        justify-content: space-between;
    }
    .menu-parent > a {
        flex: 1;
    }
    .menu-parent button {
        width: 42px;
    }
    .submenu {
        position: static;
        width: auto;
        margin: 0 7px 8px;
        padding: 5px 8px;
        border-radius: 10px;
        box-shadow: none;
        background: rgba(0, 0, 77, 0.18);
    }
    .menu-group:hover .submenu:not(:focus-within) {
        display: none;
    }
    .menu-group.is-open .submenu,
    .menu-group:focus-within .submenu {
        display: block;
    }
    .submenu a {
        font-size: 12px;
    }
    .home-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 50px 0 70px;
    }
    .home-hero-copy {
        max-width: 650px;
    }
    .home-hero h1.home-official-logo {
        width: min(100%, 430px);
    }
    .home-collage {
        height: 430px;
    }
    .collage-mark {
        left: 8%;
    }
    .split-section {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .section-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-grid > a:last-child {
        grid-column: 1/-1;
        min-height: 220px;
    }
    .latest-grid {
        grid-template-columns: 1fr 1fr;
    }
    .latest-card:nth-child(3n) {
        border-right: 1px solid var(--line);
    }
    .latest-card:nth-child(2n) {
        border-right: 0;
    }
    .latest-card:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
}
@media (max-width: 650px) {
    .home-hero {
        padding: 38px 0 52px;
        gap: 35px;
    }
    .home-hero h1 {
        font-size: 65px;
        letter-spacing: -4px;
    }
    .home-hero h1.home-official-logo {
        width: min(100%, 350px);
    }
    .home-hero-copy > p:not(.eyebrow) {
        font-size: 15px;
        margin-top: 25px;
    }
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-top: 29px;
    }
    .home-collage {
        height: 315px;
    }
    .collage-image-1 {
        width: 76%;
        height: 70%;
    }
    .collage-image-2 {
        width: 54%;
        height: 43%;
    }
    .collage-image-3 {
        width: 37%;
        height: 27%;
        right: 1%;
    }
    .collage-mark {
        width: 70px;
        height: 70px;
        border-width: 6px;
        top: 7%;
        left: 3%;
    }
    .collage-mark .icon {
        width: 32px;
        height: 32px;
    }
    .home-intro {
        padding: 62px 0;
    }
    .split-section h2,
    .section-heading h2 {
        font-size: 38px;
        letter-spacing: -1.4px;
    }
    .rich-content {
        font-size: 16px;
    }
    .festival-video,
    .section-links,
    .latest-news {
        padding-top: 65px;
    }
    .festival-video-frame {
        border-radius: 14px;
    }
    .festival-video-caption {
        flex-direction: column;
        gap: 7px;
        padding-top: 15px;
    }
    .section-grid {
        grid-template-columns: 1fr;
    }
    .section-grid > a,
    .section-grid > a:last-child {
        grid-column: auto;
        min-height: 230px;
    }
    .section-grid h3 {
        margin-top: 38px;
        font-size: 25px;
    }
    .row-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .latest-grid {
        grid-template-columns: 1fr;
    }
    .latest-card,
    .latest-card:nth-child(2n),
    .latest-card:nth-child(3n) {
        border-right: 0;
    }
    .latest-card:nth-child(n + 2) {
        border-top: 1px solid var(--line);
    }
    .latest-image {
        height: 205px;
    }
    .page-hero {
        padding: 48px 0 32px;
    }
    .page-hero h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }
    .page-hero > p:last-child {
        font-size: 15px;
    }
    .static-page {
        padding: 24px 18px;
        margin-top: 30px;
    }
    .application-meta,
    .contact-card {
        display: block;
    }
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-photo {
        max-width: 520px;
    }
    .application-fields {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .contact-person {
        margin-bottom: 28px;
    }
    .footer-sponsor {
        flex-direction: column;
        gap: 12px;
        padding: 28px 0;
    }
    .footer-sponsor img {
        width: min(280px, 75vw);
    }
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 25px 0;
    }
    .footer-inner > span {
        margin-left: 0;
    }
    .static-page table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.archive-hero h1.section-title {
    font-size: clamp(42px, 5.2vw, 72px);
    letter-spacing: -3px;
    overflow-wrap: anywhere;
}
@media (max-width: 650px) {
    .archive-hero h1.section-title {
        font-size: 42px;
        letter-spacing: -2px;
    }
}
@media (max-width: 820px) {
    .main-menu .menu-group.is-open > .submenu {
        display: block;
    }
}
