@font-face {
  font-family: Montserrat;
  src: url(montserrat-cyrillic.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Montserrat;
  src: url(montserrat-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --base: #e8f1fb;
  --ink: #172e49;
  --muted: #425b75;
  --accent: #155b91;
  --focus: #176daf;
  --edge: #fff;
  --seam: #668ab52c;
  --glass: #f9fcffc9;
  --pin: #f0f6fc;
  --red: #b71d16;
  --red-gradient: linear-gradient(135deg, #b71d16, #d82019 72%, #df342c);
  --shadow: 0 14px 40px #31578413, 0 1px 2px #31578412;
  --title-font: Montserrat, "Segoe UI", Arial, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--base);
  scroll-padding-top: 24px;
}
*, *::before, *::after { box-sizing: border-box }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 0 400px, #cde7fb 0, transparent 43%),
    radial-gradient(ellipse at 100% 660px, #e4e1fa 0, transparent 48%),
    linear-gradient(165deg, #edf5ff 10%, var(--base) 60%, #eaf4fb);
}
h1, h2, h3, p, figure { margin: 0 }
h1, h2, h3 { font-family: var(--title-font); letter-spacing: -.04em }
a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }
button, input { font: inherit }
button { cursor: pointer }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px }
::selection { background: #cfe7fd; color: #14304b }
.wrap { width: min(100% - 96px, 1250px); margin-inline: auto }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 10; padding: 12px 16px; background: #fff; border-radius: 10px; transform: translateY(-150%) }
.skip-link:focus { transform: none }

.edition-bar { background: #182e49; color: #f4f8ff; font-size: 13px }
.edition-inner, .edition-location, .edition-social { display: flex; align-items: center }
.edition-inner { min-height: 38px; gap: 13px }
.edition-location, .edition-social { gap: 6px; font-weight: 650 }
.edition-location svg, .edition-social svg { width: 15px; height: 15px; color: #b2d5f2 }
.edition-region { color: #bed1e6; border-left: 1px solid #b9cfe65c; padding-left: 13px }
.edition-social { margin-left: auto }
.edition-social:hover { text-decoration: underline }
.masthead { background: #f9fcffe3; border-bottom: 1px solid var(--edge); box-shadow: 0 4px 22px #4159820b }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; min-height: 79px }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 12px; color: #fff; background: var(--red-gradient); box-shadow: 0 6px 16px #aa27242e }
.brand-mark svg { width: 26px; height: 26px }
.brand b, .brand small { display: block; white-space: nowrap }
.brand b { font: 800 22px/1.06 var(--title-font); letter-spacing: -.055em }
.brand small { font-size: 12px; margin-top: 4px; color: var(--muted) }
.main-nav { display: flex; align-items: center; gap: 4px }
.main-nav a { padding: 10px 13px; border-radius: 9px; white-space: nowrap; font-size: 14px; font-weight: 650 }
.main-nav a:hover, .main-nav a[aria-current] { background: #e1effb; color: var(--accent) }
.masthead-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px }
.icon-button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--seam); border-radius: 10px; color: var(--ink); background: #f4f9ff }
.icon-button:hover { background: #e1effb }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 15px; border-radius: 10px; width: fit-content; background: var(--red-gradient); color: #fff; font-size: 14px; font-weight: 700 }
.button:hover { background: var(--red) }
.button svg { width: 17px; height: 17px }
.contact-button { white-space: nowrap }

main { min-height: 62vh; padding-bottom: 68px }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 452px;
  margin-top: 24px;
  border-radius: 21px;
  background: #152e4e;
  color: #fff;
  box-shadow: 0 20px 50px #173b642a;
}
.hero-photo { position: absolute; z-index: -2; top: 0; right: 0; width: 76%; height: 100%; object-fit: cover; object-position: center 54% }
.hero::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg,#142e4e 4%,#142e4efb 23%,#142e4ed6 42%,#142e4e2b 75%,#142e4e18),
              linear-gradient(0deg,#142e4ebd,transparent 22%);
}
.hero-copy { padding: 47px 48px 55px; max-width: 635px }
.hero-topic { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #bfdcff65; background: #eaf4ff22; border-radius: 8px; font-size: 13px; font-weight: 650; color: #fff }
.hero-topic:hover { background: #eaf4ff3e }
.hero-topic svg { width: 15px; height: 15px }
.hero h1 { margin: 16px 0; font-size: clamp(37px, 5vw, 70px); font-weight: 840; line-height: .99; letter-spacing: -.069em; max-width: 11ch; text-wrap: balance }
.hero p { max-width: 39ch; color: #e7f0fc; line-height: 1.56; font-size: 16px }
.hero-button { margin-top: 23px; background: #f7fbff; color: #172e49; padding: 12px 16px }
.hero-button:hover { background: #e0f1ff }
.hero-caption { position: absolute; right: 14px; bottom: 11px; color: #fff; background: #11253dc9; font-size: 11px; padding: 5px 8px; border-radius: 5px }
.hero-caption a:hover { text-decoration: underline }

.home-content { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(285px, 1fr); gap: 30px; margin-top: 35px }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px }
.section-heading h2 { font-size: clamp(24px, 3vw, 33px); font-weight: 800; line-height: 1.14 }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 720 }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px }
.text-link svg { width: 17px; height: 17px; flex: none }
.news-grid, .guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.story-card, .event-card, .telegram-panel, .article-text {
  border-radius: 14px;
  background: linear-gradient(130deg, #fff9, #fff0 56%), var(--glass);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
}
.story-card { overflow: hidden; min-height: 165px }
.story-card > a { display: flex; flex-direction: column; height: 100%; min-height: inherit }
.story-card:hover, .event-card:hover { border-color: #a4c8e5; background-color: #fff; transform: translateY(-2px) }
.story-card, .event-card, .button { transition: background-color .18s ease, border-color .18s ease, transform .18s ease }
.story-card a:focus-visible, .event-card a:focus-visible { outline-offset: -4px }
.story-image { width: 100%; aspect-ratio: 2.1; object-fit: cover; object-position: center 43%; background: #cddcec }
.story-body { display: flex; flex-direction: column; flex: 1; padding: 18px 19px 17px }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 12px; font-weight: 730; color: var(--accent) }
.card-meta time { color: var(--muted); font-weight: 530 }
.card-meta time::before { content: "·"; margin-right: 9px }
.story-body h3 { margin-top: 8px; font-size: clamp(17px, 2vw, 21px); line-height: 1.23; font-weight: 780 }
.story-body p { padding-top: 9px; padding-bottom: 12px; font-size: 14px; color: var(--muted); line-height: 1.48 }
.story-arrow { margin-top: auto; color: var(--accent); align-self: flex-end; display: flex }
.story-arrow svg { width: 18px; height: 18px }
.home-news .story-image { display: none }

.events-list, .archive-events { display: grid; gap: 10px }
.event-card a { display: flex; align-items: center; padding: 12px; gap: 12px }
.event-date { display: grid; justify-items: center; flex: none; min-width: 56px; padding: 5px 6px 6px; border-radius: 10px; color: var(--accent); background: #dceefd; border: 1px solid #fff; line-height: 1.07 }
.event-date strong { font: 780 24px/1.05 var(--title-font) }
.event-date small { font-size: 11px; font-weight: 650 }
.event-content { display: grid; gap: 4px; flex: 1; line-height: 1.25 }
.event-type { font-size: 11px; font-weight: 730; color: var(--accent) }
.event-content strong { font-size: 15px }
.event-content small { color: var(--muted); font-size: 12px }
.event-card a > svg { width: 17px; height: 17px; flex: none; color: var(--accent) }
.telegram-panel { margin-top: 16px; padding: 20px; background-color: #dceefe }
.telegram-mark { display: inline-grid; place-items: center; background: #196098; color: white; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 9px }
.telegram-panel h3 { font-size: 19px; font-weight: 760 }
.telegram-panel p { margin: 6px 0 10px; font-size: 14px; color: var(--muted) }
.guide-section { margin-top: 42px }
.guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }

.page-intro, .article-page { max-width: 895px; margin: 36px auto 0 }
.page-intro { margin-inline: 0; margin-bottom: 25px }
.breadcrumb { display: inline-block; font-weight: 650; font-size: 14px; color: var(--accent); margin-bottom: 18px }
.breadcrumb:hover { text-decoration: underline; text-underline-offset: 3px }
.page-intro h1, .article-head h1 { max-width: 23ch; font-size: clamp(34px, 5.3vw, 63px); line-height: 1.05; font-weight: 820; letter-spacing: -.06em; overflow-wrap: anywhere }
.page-intro p, .article-intro { margin-top: 14px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.5 }
.page-intro .button { margin-top: 20px }
.archive-events { max-width: 800px }
.article-head .card-meta { margin-bottom: 8px }
.article-figure { margin-top: 21px }
.article-figure img { width: 100%; max-height: 480px; border-radius: 17px; object-fit: cover; background: #d3e5f5 }
.article-figure figcaption { padding: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5 }
.article-figure a { text-decoration: underline; text-underline-offset: 3px }
.article-text { margin-top: 24px; padding: clamp(17px, 4vw, 37px); max-width: 895px; font-size: 17px; line-height: 1.66 }
.article-text p + p { margin-top: 15px }
.article-text h2 { margin-top: 24px; font-size: 24px }
.article-text h2:first-child { margin-top: 0 }
.article-text li a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px }
.article-text li svg { width: 15px; height: 15px; vertical-align: middle }
.event-detail { display: flex; align-items: center; gap: 7px; margin-top: 13px; font-weight: 670; color: var(--accent); line-height: 1.4 }
.event-detail svg { flex: none }
.telegram-copy > p { white-space: pre-wrap; overflow-wrap: anywhere }
.telegram-original { padding-top: 14px; border-top: 1px solid var(--seam) }
.telegram-embed { display: block; width: 100%; max-width: 650px; margin-top: 20px; border: 0; border-radius: 12px }
.news-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 0; color: var(--muted); font-size: 14px }
.news-pagination a:last-child { justify-self: end }

.footer { background: #f1f7fdda; border-top: 1px solid #fff }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 95px; gap: 22px }
.footer-inner > small { color: var(--muted); font-size: 13px }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--accent); font-size: 14px; font-weight: 650 }
.footer-links a:hover { text-decoration: underline }
.search-dialog { width: min(100% - 30px, 600px); max-height: min(80dvh, 700px); border: 1px solid #fff; border-radius: 17px; background: #f6fbff; color: var(--ink); padding: 22px; box-shadow: 0 30px 90px #10223b55 }
.search-dialog::backdrop { background: #13233891; backdrop-filter: blur(4px) }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px }
.dialog-head h2 { font-size: 24px }
#search-query { width: 100%; min-height: 46px; padding: 8px 10px; border: 1px solid #a6bfd9; border-radius: 9px; color: var(--ink); background: #fff }
.search-status { margin-top: 14px; color: var(--muted); font-size: 14px }
#search-results { list-style: none; padding-left: 0; margin: 8px 0 0 }
#search-results li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--seam); font-weight: 690 }
#search-results li a:hover { color: var(--accent); text-decoration: underline }
#search-results li span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; font-weight: 590 }
@media (max-width: 960px) {
  .wrap { width: min(100% - 48px, 1250px) }
  .masthead-inner { gap: 14px }
  .main-nav a { padding: 9px }
  .home-content { gap: 18px }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1250px) }
  .edition-region { display: none }
  .masthead-inner { grid-template-columns: 1fr auto; padding-block: 10px 6px; gap: 8px }
  .masthead-actions { grid-row: 1; grid-column: 2 }
  .main-nav { grid-row: 2; grid-column: 1/-1; margin: 0 -3px; gap: 12px }
  .main-nav a { padding: 9px 7px }
  .contact-button { padding: 10px; font-size: 12px }
  .contact-button svg { display: none }
  .icon-button { width: 39px; height: 39px }
  .masthead-actions { gap: 6px }
  .brand-mark { width: 38px; height: 38px }
  .brand b { font-size: 20px }
  .brand small { font-size: 11px }
  .hero { align-items: end; min-height: 428px; margin-top: 16px; border-radius: 16px }
  .hero-photo { width: 100%; height: 74%; object-position: center 44% }
  .hero::before { background: linear-gradient(0deg, #142e4e 12%, #142e4efa 28%, #142e4ea6 55%, #142e4e1f 91%) }
  .hero-copy { padding: 90px 22px 52px }
  .hero h1 { max-width: 12ch; margin-block: 11px; font-size: clamp(38px, 9vw, 53px) }
  .hero p { font-size: 15px }
  .hero-caption { right: 8px; bottom: 8px; font-size: 10px }
  .home-content { grid-template-columns: 1fr; gap: 23px; margin-top: 27px }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .footer-inner { flex-wrap: wrap; padding-block: 16px; gap: 12px }
  .footer-inner > small { width: 100% }
}
@media (max-width: 490px) {
  .news-grid, .guide-grid { grid-template-columns: 1fr; gap: 10px }
  .home-news .story-card { min-height: 0 }
  .home-news .story-card > a { min-height: 0 }
  .story-body { padding: 13px 14px }
  .story-body h3 { font-size: 19px }
  .section-heading .text-link { font-size: 12px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important }
}
