:root {
  --red: #b11f34;
  --red-hover: #d02a42;
  --ink: #333;
  --muted: #777;
  --line: #e6e6e6;
  --paper: #fff;
}
@font-face { font-family: "Marnii Icons"; src: url("../fonts/marnii-icomoon.849d6c033088.woff") format("woff"); font-weight: normal; font-style: normal; font-display: block; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 "Open Sans", Arial, sans-serif; }
input, button, select { font: inherit; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }
img { max-width: 100%; }
.container { width: min(1250px, calc(100% - 40px)); margin-inline: auto; }

.site-header { background: #fff; }
.header-top { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 45px; color: var(--ink); min-width: 0; flex: 0 1 470px; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 89px; height: 90px; object-fit: contain; flex: none; }
.brand-text { display: block; font-size: 36px; line-height: 1.08; font-weight: 700; white-space: nowrap; }
.brand-text small { display: block; max-width: 285px; margin-top: 4px; font-size: 12px; font-weight: 400; line-height: 1.35; white-space: normal; }
.header-info { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(18px, 3.2vw, 55px); flex: 1; }
.header-detail { display: flex; align-items: flex-start; gap: 13px; white-space: nowrap; }
.detail-icon { width: 25px; color: #333; font-size: 29px; line-height: 25px; text-align: center; }
.detail-title { display: block; color: #333; font-size: 16px; font-weight: 700; }
.detail-sub { display: block; margin-top: 8px; color: #777; font-size: 13px; }
.detail-link { color: var(--red); text-decoration: underline; }
.header-tools { min-width: 222px; display: flex; flex-direction: column; gap: 5px; }
.language-choice { display: flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 15px; }
.language-choice > span { font-size: 24px; line-height: 28px; }
.language-choice strong { font-weight: 700; }
.language-choice select { width: 160px; min-width: 0; height: 29px; padding: 3px 7px; border: 0; background: #f1f1f1; color: #666; font-size: 12px; }
.accessibility-button { display: flex; align-items: center; gap: 11px; margin-left: 37px; padding: 0; border: 0; background: none; color: #111; text-align: left; font-size: 14px; line-height: 1.15; font-weight: 700; cursor: pointer; }
.accessibility-button-mobile { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.accessibility-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--red); color: #fff; font-size: 20px; font-weight: 700; }
.menu-toggle { display: none; padding: 8px 12px; border: 1px solid var(--red); background: #fff; color: var(--red); font-size: 26px; cursor: pointer; }
.site-nav { background: var(--red); }
.nav-inner { min-height: 65px; display: flex; align-items: stretch; justify-content: space-between; gap: 4px; }
.nav-inner > a, .nav-trigger { display: grid; place-items: center; max-width: 180px; padding: 8px 14px; color: #fff; text-align: center; font: 700 15px/1.3 "Open Sans",Arial,sans-serif; }
.nav-inner > a:hover, .nav-inner > a:focus-visible, .nav-trigger:hover, .nav-trigger:focus-visible, .nav-entry.is-open > .nav-trigger { background: #92182a; color: #fff; }
.nav-entry { position: relative; display: flex; min-width: 0; }
.nav-trigger { position: relative; width: 100%; height: 100%; border: 0; background: none; cursor: pointer; }
.nav-chevron { position: absolute; right: 3px; bottom: 6px; font-size: 16px; line-height: 1; }
.nav-dropdown { position: absolute; z-index: 40; top: 100%; left: 0; width: max(255px,100%); max-width: 340px; background: #790b1c; box-shadow: 0 9px 18px #0003; }
.nav-dropdown[hidden] { display: none; }
.nav-dropdown a { display: block; padding: 15px 18px; border-bottom: 1px solid #590716; color: #fff; font-size: 14px; line-height: 1.4; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: #9b1629; color: #fff; }
.nav-entry.is-open .nav-chevron { transform: rotate(180deg); }
.nav-inner > a.nav-callback { display: none; }
.nav-entry[data-slug="osnovnyye_svedeniya"] { order: 1; }
.nav-entry[data-slug="struktura_instituta"] { order: 2; }
.nav-inner > a[data-slug="nauchnaya_deyatelnost"] { order: 3; }
.nav-inner > a[data-slug="publikatsii"] { order: 4; }
.nav-entry[data-slug="zhurnal"] { order: 5; }
.nav-entry[data-slug="komitet"] { order: 6; max-width: 260px; }
.nav-entry[data-slug="komitet"] .nav-trigger { max-width: 260px; }
.nav-inner > a[data-slug="kontakty"] { order: 7; }
.nav-search { position: relative; order: 8; display: flex; align-items: center; margin-left: auto; }
.nav-search input { position: absolute; z-index: 4; top: 100%; right: 0; width: 0; height: 42px; padding: 0; border: 0; opacity: 0; transition: width .2s, opacity .2s; }
.nav-search.open input, .nav-search:focus-within input { width: 230px; padding: 8px 12px; border: 1px solid var(--red); background: #fff; opacity: 1; }
.nav-search button { width: 46px; height: 100%; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.nav-search button:hover { background: #92182a; }

.stage-note { margin: 0 0 24px; padding: 8px 12px; background: #fff4f2; border-left: 3px solid var(--red); color: #694047; font-size: 12px; }
.home-main { position: relative; }
.home-main .stage-note { position: absolute; z-index: 3; top: 14px; right: max(20px, calc((100vw - 1250px) / 2)); margin: 0; background: rgba(255,255,255,.93); }
.hero { height: 548px; background-position: center center; background-size: cover; background-repeat: no-repeat; border-bottom: 4px solid var(--red); }
.hero-inner { height: 100%; }
.hero-panel { width: 500px; height: 100%; padding: 54px 45px 55px; background: rgba(0,0,0,.66); color: #fff; }
.hero-pretitle { margin: 0 0 14px; font: 400 25px/1.2 "Noto Serif", Georgia, serif; }
.hero-pretitle span, .activity-pretitle span { color: var(--red); }
.hero h1 { margin: 0; font-size: 35px; line-height: 1.26; font-weight: 700; letter-spacing: -.4px; }
.hero-button { display: inline-block; margin-top: 64px; padding: 14px 20px; border: 1px solid #fff; color: #fff; text-transform: uppercase; font-size: 14px; font-weight: 700; }
.hero-button:hover { background: #fff; color: var(--red); }

.activity-section { padding: 95px 0 100px; background: #fff; }
.activity-layout { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: clamp(50px, 9.5vw, 140px); align-items: start; }
.activity-pretitle { margin: 0 0 14px; font: 400 24px/1.3 "Noto Serif", Georgia, serif; }
.activity-copy h2, .home-history h2 { margin: 0 0 35px; font-size: 45px; line-height: 1.12; font-weight: 700; }
.activity-text { font-size: 15px; line-height: 1.55; text-align: justify; }
.activity-text p { margin: 0 0 24px; }
.outline-button { display: inline-block; min-width: 215px; padding: 14px 24px; border: 1px solid #444; color: #333; text-align: center; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.outline-button:hover { border-color: var(--red); color: var(--red); }
.activity-copy .outline-button { margin-top: 36px; }
.direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; }
.direction-card { position: relative; display: flex; align-items: flex-end; min-height: 207px; padding: 17px 20px; overflow: hidden; background-color: #ddd; background-size: cover; background-position: center; color: #fff; }
.direction-card::before { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.direction-card span { position: relative; z-index: 1; font-size: 18px; font-weight: 700; line-height: 1.25; }
.direction-card:hover { color: #fff; filter: brightness(1.08); }
.home-news { padding: 92px 0 98px; background: #f5f5f5; }
.home-news h2 { margin: 0 0 40px; text-align: center; font-size: 48px; line-height: 1.2; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.content-card { min-width: 0; background: #fff; border: 1px solid var(--line); }
.card-image { display: block; aspect-ratio: 1.66; overflow: hidden; background: #eee; }
.card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person-card .card-image { display: flex; justify-content: center; align-items: flex-start; height: 300px; aspect-ratio: auto; }
.person-card .card-image img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.news-list { display: grid; gap: 30px; margin: 30px 0; }
.news-list-item { display: flex; align-items: flex-start; gap: 24px; min-height: 196px; padding: 8px; border: 1px solid #dcdcdc; color: #333; text-decoration: none; }
.news-list-item:hover { color: #333; }
.news-list-image { flex: 0 0 250px; }
.news-list-image img { display: block; width: 250px; max-width: 100%; height: 180px; object-fit: cover; }
.news-list-content { display: block; min-width: 0; margin: 8px 10px 8px 0; }
.news-list-content strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; }
.news-list-item:hover .news-list-content strong { text-decoration: underline; }
.news-list-content time { display: block; margin-top: 20px; color: #999; font-size: 13px; }
.news-show-more { display: block; width: max-content; margin: 22px auto 0; padding: 11px 22px; border: 1px solid var(--red); color: var(--red); font-weight: 600; }
.news-show-more:hover { background: var(--red); color: #fff; }
.project-timeline { display: grid; gap: 30px; margin: 30px 0; }
.project-year { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 40px; min-width: 0; padding: 25px 30px; background: #f5f5f5; color: #111; }
.project-year-marker { position: relative; text-align: center; }
.project-year-marker::after { content: ""; position: absolute; z-index: 0; top: 74px; left: calc(50% - 2px); width: 4px; height: calc(100% + 55px); background: #ccc; }
.project-year:last-child .project-year-marker::after { display: none; }
.project-year-marker h2 { margin: 0; font-size: 35px; line-height: 1; }
.project-year-dot { position: relative; z-index: 1; display: block; width: 32px; height: 32px; margin: 8px auto 0; border: 5px solid #fff; border-radius: 50%; background: var(--red); box-shadow: 0 2px 8px #0006; }
.project-entry { margin: 0 0 20px; font-size: 15px; line-height: 1.5; }
.project-entry h3 { margin: 0 0 5px; font-size: 18px; line-height: 1.35; font-weight: 600; }
.project-entry h3 a { color: #111; }
.project-entry h3 a:hover { color: var(--red); text-decoration: underline; }
.project-entry p { margin: 0; }
.project-show-all { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--red); font: inherit; text-decoration: underline; cursor: pointer; }
.person-position { margin: 8px 0 0; font-size: 21px; font-weight: 600; color: var(--red); }
.management-list { display: grid; gap: 28px; }
.management-card { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 28px; padding: 24px; background: #f5f5f5; }
.management-photo { display: block; align-self: start; background: #ececec; }
.management-photo img { display: block; width: 100%; height: auto; }
.management-copy { min-width: 0; font-size: 15px; line-height: 1.55; }
.management-copy h2 { margin: 0 0 6px; font-size: 23px; line-height: 1.25; }
.management-copy h2 a { color: #222; }
.management-position { margin: 0 0 16px; font-size: 18px; font-weight: 700; }
.management-bio p { margin: 0 0 14px; }
.management-contacts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 15px; }
.management-contacts a { color: var(--red); text-decoration: underline; }
.card-body { padding: 26px 28px; }
.card-body time, .card-meta { color: #999; font-size: 13px; font-weight: 600; }
.card-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.card-body h2, .card-body h3 { margin: 10px 0; font-size: 19px; line-height: 1.35; font-weight: 700; }
.card-body h2 a, .card-body h3 a { color: #222; }
.card-body p { margin: 0; color: #666; font-size: 14px; }
.file-badge { display: inline-block; margin-top: 15px; color: var(--red); font-size: 12px; }
.news-footer { margin-top: 35px; text-align: center; }
.home-history { padding: 90px 0; }
.history-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; }
.home-history p:not(.activity-pretitle) { line-height: 1.7; }
.history-picture { position: relative; width: min(100%, 330px); margin-top: 15px; padding: 32px 0 0 32px; }
.history-picture::before { content: ""; position: absolute; top: 0; left: 0; width: 82%; height: 82%; background: var(--red); }
.history-picture img { position: relative; display: block; width: 100%; height: auto; }
.history-copy .activity-pretitle { margin-bottom: 30px; font-family: "Noto Serif", Georgia, serif; }
.history-copy h2 { margin-bottom: 40px; font-size: 55px; }
.history-copy p:not(.activity-pretitle) { margin: 0 0 20px; text-align: justify; }
.history-actions { display: flex; flex-wrap: wrap; gap: 35px; margin-top: 55px; }
.history-actions a { min-width: 270px; text-align: center; text-transform: uppercase; font-size: 15px; font-weight: 700; }
.history-primary-button { display: inline-block; padding: 17px 25px; background: var(--red); color: #fff; }
.history-primary-button:hover { background: #8f1128; color: #fff; }

.main-content { min-height: 60vh; padding-top: 26px; padding-bottom: 90px; }
.breadcrumbs { margin: 0 0 44px; padding: 10px 5px; background: #f5f5f5; color: #777; font-size: 13px; }
.breadcrumbs span { margin: 0 8px; }
.breadcrumbs a { color: var(--red); }
.inner-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 30px; align-items: start; }
.inner-layout.without-sidebar { grid-template-columns: minmax(0, 1fr); }
.section-sidebar { display: flex; flex-direction: column; }
.sidebar-heading { display: block; padding: 20px 18px; background: var(--red); color: #fff; font-size: 18px; font-weight: 700; }
.sidebar-heading:hover { color: #fff; background: #951a2c; }
.sidebar-link { display: block; min-height: 50px; padding: 15px 18px; border-bottom: 1px solid #d5d5d5; background: #f3f3f3; color: #111; font-size: 14px; font-weight: 700; }
.sidebar-link:hover, .sidebar-link.is-current { background: #e7e7e7; color: var(--red); }
.inner-content { min-width: 0; }
.inner-content .page-heading { padding: 0 0 30px; }
.inner-content .page-heading h1 { margin-top: 0; }
.inner-content.article { max-width: none; margin: 0; }
.inner-content .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.institute-intro-images { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.institute-intro-images img { display: block; width: min(448px,100%); height: auto; }
.page-heading { padding: 25px 0 35px; }
.page-heading h1 { max-width: 1120px; margin: 5px 0 15px; font-size: clamp(32px,3.6vw,46px); line-height: 1.2; overflow-wrap: anywhere; }
.page-heading p { max-width: 860px; color: var(--muted); }
.eyebrow { color: var(--red); font: 400 18px/1.3 "Noto Serif",Georgia,serif; }
.section-intro { margin: 0 0 30px; }
.journal-issues-intro { margin: 0 0 28px; font-size: 16px; line-height: 1.55; }
.journal-issues-intro img { display: block; width: min(512px, 100%); height: auto; margin: 0 auto 55px; }
.journal-issues-intro p { margin: 0; }
.journal-issue { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.journal-issue a { color: var(--red); text-decoration: underline; }
.science-reports > div > p:has(> b) { text-align: center; }
.science-reports .cont-flex { display: grid; grid-template-columns: minmax(0, 1fr) 25%; gap: 40px; }
.science-reports .cont-flex--col { min-width: 0; }
.science-reports .cont-flex--col p { margin: 0 0 18px; }
@media (max-width: 700px) { .science-reports .cont-flex { grid-template-columns: 1fr; gap: 20px; } }
.section-card { min-height: 150px; }
.directions-layout .page-heading { text-align: center; }
.directions-layout .page-heading h1 { margin-inline: auto; }
.directions-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 25px 0 0; }
.direction-service-card { position: relative; display: block; min-width: 0; height: 100%; padding-bottom: 85px; overflow: hidden; color: #333; text-decoration: none; }
.direction-service-card:hover { color: #333; }
.direction-service-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.direction-service-image { display: block; width: 100%; aspect-ratio: 10 / 7; object-fit: cover; object-position: center top; }
.publication-service-grid .direction-service-image { background: #f6f5f3; object-fit: contain; }
.direction-service-content { position: absolute; right: 0; bottom: 0; left: 0; display: block; padding: 26px; border: 1px solid #e1e1e1; background: #fff; transition: padding .25s ease; }
.direction-service-name { display: block; min-height: 48px; font-size: 18px; font-weight: 600; line-height: 1.2; }
.direction-service-footer { display: block; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.direction-service-footer .outline-button { min-width: 215px; margin-top: 20px; }
.direction-service-card:hover .direction-service-footer, .direction-service-card:focus-visible .direction-service-footer { max-height: 75px; }
@media (hover: none) { .direction-service-footer { max-height: 75px; } }
.article { max-width: 920px; margin: auto; }
.article .page-heading { padding-top: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: #999; font-size: 13px; }
.article-cover { margin: 0 0 28px; }
.article-cover img { display: block; max-width: 100%; height: auto; }
.article-cover figcaption { margin-top: 7px; color: var(--muted); font-size: 12px; }
.news-article-cover { float: right; width: min(300px, 38%); margin: 0 0 20px 30px; }
.news-article-cover img { width: 100%; }
.news-article-body { padding-top: 0; text-align: justify; }
.news-article-body p { margin: 0 0 20px; }
.news-article-body p:has(> img) { text-align: center; }
.news-article-end { clear: both; display: grid; justify-items: start; gap: 28px; margin-top: 35px; }
.news-article-end time { color: #555; }
.news-article-end .outline-button { min-width: 0; }
.article-lead { font-size: 18px; line-height: 1.65; }
.article-body { padding: 10px 0; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.article-body img { max-width: 100%; height: auto; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body td, .article-body th { padding: 8px; border: 1px solid var(--line); }
.article-body a { text-decoration: underline; }
.publication-rules-body .btn-with-description { display: flex; align-items: center; gap: 16px; margin-bottom: 42px; }
.publication-rules-body .btn-with-description .btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 232px; padding: 14px 20px; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; }
.publication-rules-body .btn-with-description .btn-primary:hover, .publication-rules-body .btn-with-description .btn-primary:focus-visible { background: #951a2c; color: #fff; }
.publication-rules-body .btn-description { color: var(--muted); }
.publication-rules-body { font-size: 14px; line-height: 1.5; }
.publication-rules-body .rules-center { text-align: center; }
.publication-rules-body .rules-justify { text-align: justify; }
.committee-charter-body { font-size: 14px; line-height: 1.45; text-align: justify; }
.committee-charter-body ul { padding-left: 20px; list-style: none; }
.committee-charter-body ul > li { position: relative; margin-bottom: 8px; }
.committee-charter-body ul > li::before { content: ""; position: absolute; top: .55em; left: -20px; width: 7px; height: 7px; background: var(--red); }
.committee-charter-body ol { padding-left: 20px; }
.regional-offices-page .page-heading { padding-bottom: 0; }
.regional-offices-page .page-heading h1 { max-width: 700px; }
.regional-offices-body { font-size: 14px; line-height: 1.45; }
.regional-offices-body .regional-center { margin: 0 0 50px; text-align: center; }
.regional-offices-body .regional-justify { margin: 0 0 12px; text-align: justify; }
@media (max-width: 700px) { .publication-rules-body .btn-with-description { flex-wrap: wrap; } }
.history-article-body .text-block { margin-bottom: 20px; text-align: justify; }
.history-article-body .text-block--with-image { margin-bottom: 40px; text-align: justify; }
.history-article-body .text-block-image-left { float: left; margin: 7px 20px 7px 0; }
.history-article-body .text-block-image-right { float: right; margin: 7px 0 7px 20px; }
@media (max-width: 560px) {
  .history-article-body .text-block-image-left, .history-article-body .text-block-image-right { float: none; display: block; max-width: 100%; height: auto; margin: 12px auto; }
}
.contact-main .page-heading { text-align: center; }
.contact-main .page-heading h1 { margin-inline: auto; }
.contact-page-body { font-size: 15px; line-height: 1.5; }
.contact-page-body .contacts-office__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 30px; align-items: start; }
.contact-page-body .contacts-office__col { min-width: 0; padding: 24px 26px 28px; border: 1px solid #e1e1e1; background: #fff; }
.contact-page-body .contacts-office__title { margin-bottom: 20px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.contact-page-body .property__it { display: flex; align-items: center; margin: 0; }
.contact-page-body .property__it + .property__it { margin-top: 14px; }
.contact-page-body .property__icon { color: #999; width: 18px; min-width: 18px; margin-right: 12px; font-size: 18px; }
.contact-page-body .property__it.email .property__icon::before { content: "✉"; }
.contact-page-body .property__it.address .property__icon::before { content: "⌖"; }
.contact-page-body .property__it.timetable .property__icon::before { content: "◷"; }
.contact-page-body .property__it.phone .property__icon::before { content: "☎"; }
.contact-page-body .property__value-list { min-width: 0; max-width: calc(100% - 30px); }
.contact-page-body .property__value-it { display: flex; align-items: center; flex-wrap: wrap; }
.contact-page-body .property__value-it + .property__value-it { margin-top: 2px; }
.contact-page-body .property__value-it__description { margin-left: 5px; color: #333; font-size: 15px; line-height: 1.5; }
.contact-page-body .soc-list { margin-top: 10px; }
.contact-page-body .soc-it._vk { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #336699; color: #fff; text-decoration: none; }
.contact-page-body .soc-it._vk .icon-vk::before { content: "\e908"; font: normal 25px/1 "Marnii Icons"; }
.contact-page-body .contacts-office__requisites table { display: table; width: 100%; table-layout: fixed; }
.contact-page-body .contacts-office__requisites td { padding: 7px 10px; border: 1px solid #333; vertical-align: middle; }
.contact-page-body .contacts-office__requisites td p { margin: 0; }
.contact-page-body .contacts-office__requisites td:first-child { width: 34%; font-weight: 400; }
.office-map { margin-top: 30px; }
.office-map iframe { display: block; width: 100%; height: 460px; border: 1px solid var(--line); }
.office-map p { margin: 8px 0 0; text-align: right; }
.attachment { margin: 25px 0; padding: 20px; background: #f8f1f2; border-left: 4px solid var(--red); }
.attachment strong, .attachment a { display: block; }
.source-note { margin-top: 40px; color: var(--muted); font-size: 13px; }
.flash-messages { margin: 18px auto; width: min(1250px,calc(100% - 40px)); }
.flash-message { margin: 0 0 8px; padding: 12px 16px; border-left: 4px solid var(--red); background: #f6f1f2; }
.flash-success { border-color: #267b48; background: #eff8f1; }
.contact-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.contact-section h2 { margin: 0 0 20px; font-size: 30px; }
.contact-form, .callback-dialog form { display: grid; gap: 17px; }
.contact-form label, .callback-dialog label { display: grid; gap: 7px; font-weight: 700; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .callback-dialog input:not([type="checkbox"]) { width: 100%; padding: 11px 12px; border: 1px solid #bbb; border-radius: 0; background: #fff; color: #222; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus, .callback-dialog input:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { margin: -8px 0 0; color: #666; font-size: 13px; }
.contact-form .consent-label, .callback-dialog .consent-label { display: block; font-size: 13px; font-weight: 400; }
.consent-label input { margin-right: 6px; }
.form-submit { justify-self: start; padding: 12px 22px; border: 0; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }
.form-submit:hover { background: #92182a; }
.form-errors { color: #a2182a; font-size: 14px; }
.honeypot { position: absolute !important; left: -10000px; width: 1px !important; height: 1px !important; opacity: 0; }
.callback-dialog { width: min(460px,calc(100% - 30px)); max-height: calc(100% - 30px); padding: 30px; border: 0; box-shadow: 0 14px 60px #0005; }
.callback-dialog::backdrop { background: #0009; }
.callback-dialog h2 { margin: 0 0 10px; font-size: 30px; }
.callback-dialog p { margin: 0 0 20px; }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: none; color: #333; font-size: 28px; cursor: pointer; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 36px 0; }
.pagination a { padding: 8px 13px; border: 1px solid var(--line); color: var(--red); }
.search-form { display: flex; max-width: 700px; margin: 0 0 28px; }
.search-form input { min-width: 0; flex: 1; padding: 10px 13px; border: 1px solid var(--line); }
.search-form button { padding: 10px 18px; border: 0; background: var(--red); color: #fff; cursor: pointer; }
.search-results article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.search-results h2 { margin: 6px 0; font-size: 21px; }
.search-results p { margin: 0; color: var(--muted); }

.pre-footer-ornament { height: 50px; background: #fff url("../img/pre_footer_img.c8a0c6f3f05e.jpg") repeat-x center top; }
.site-footer { padding: 56px 0 22px; background: #303030; color: #eee; }
.footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 50px; row-gap: 55px; }
.footer-links, .footer-directions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.footer-links a, .footer-directions-title { color: #f5f5f5; font-size: 16px; font-weight: 700; }
.footer-directions a:not(.footer-directions-title) { color: #bbb; font-size: 14px; }
.footer-directions a:not(.footer-directions-title)::before { content: "- "; }
.footer-counter { justify-self: center; align-self: start; }
.footer-counter img { display: block; width: 88px; height: 120px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 30px; padding-top: 18px; border-top: 1px solid #555; }
.footer-bottom small { color: #aaa; font-size: 13px; line-height: 1.5; }
.footer-bottom a { color: #bbb; text-decoration: underline; }
.footer-developer { align-self: center; flex: none; color: #aaa !important; font-size: 13px; text-decoration: none !important; }
[hidden] { display: none !important; }
.access-panel { position: sticky; top: 0; z-index: 100; padding: 12px 0; border-bottom: 3px solid #111; background: #fff; color: #111; font: 16px/1.4 Arial, sans-serif; }
.access-panel-inner { display: grid; gap: 12px; }
.access-panel-heading, .access-panel-primary, .access-panel-actions, .access-panel-secondary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.access-panel-playback { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.access-panel-heading { justify-content: space-between; }
.access-panel-heading strong { font-size: 21px; }
.access-panel-heading a { color: #111; text-decoration: underline; }
.access-panel fieldset { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.access-panel legend { float: left; margin: 0 10px 0 0; padding: 0; font-weight: 700; }
.access-panel button { min-height: 40px; padding: 6px 12px; border: 2px solid #333; border-radius: 4px; background: #fff; color: #111; font: inherit; font-weight: 600; cursor: pointer; }
.access-panel button:hover, .access-panel button:focus-visible, .access-panel a:focus-visible { outline: 3px solid #0066bb; outline-offset: 2px; }
.access-panel button.is-selected { outline: 3px solid #0066bb; outline-offset: 1px; }
.access-panel [data-access-value="black"] { background: #000; color: #fff; }
.access-panel [data-access-value="blue"] { background: #cce8ff; color: #002d59; }
.access-panel [data-access-value="yellow"] { background: #fff7a3; color: #111; }
.access-panel [data-access-value="green"] { background: #071f13; color: #c6ffce; }
.access-panel-extra { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid #999; }
.access-panel-status { margin: 0; min-height: 1.4em; }
.access-panel-status:empty { display: none; }
.access-panel .access-selection-play { position: fixed; z-index: 110; min-height: 40px; padding: 7px 12px; border: 2px solid #111; background: #fff; color: #111; box-shadow: 0 4px 16px #0003; }
.access-readbar { display: none; }
html[data-accessibility="on"] .access-readbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; width: 100%; margin: 12px 0 24px; }
html[data-accessibility="on"] .access-readbar button { min-height: 42px; padding: 5px 14px; border: 1px solid currentColor; border-radius: 3px; cursor: pointer; }
html[data-accessibility="on"] .access-readbar button:focus-visible { outline: 3px solid #0066bb; outline-offset: 2px; }
html[data-accessibility="on"] .access-readbar progress { width: 150px; height: 12px; accent-color: currentColor; }
html[data-accessibility="on"] .access-readbar [data-read-status] { flex-basis: 100%; text-align: right; font-size: 14px !important; }
html[data-accessibility="on"] .hero-panel .access-readbar { justify-content: flex-start; }
html[data-accessibility="on"] .hero-panel .access-readbar [data-read-status] { text-align: left; }
html[data-accessibility="on"] { --access-bg: #fff; --access-fg: #111; --access-link: #0645ad; --access-scale: 1; --access-line-height: 1.45; --access-spacing: normal; }
html[data-accessibility="on"][data-access-color="black"] { --access-bg: #000; --access-fg: #fff; --access-link: #ffeb3b; }
html[data-accessibility="on"][data-access-color="blue"] { --access-bg: #cce8ff; --access-fg: #002d59; --access-link: #003d80; }
html[data-accessibility="on"][data-access-color="yellow"] { --access-bg: #fff7a3; --access-fg: #111; --access-link: #142d70; }
html[data-accessibility="on"][data-access-color="green"] { --access-bg: #071f13; --access-fg: #c6ffce; --access-link: #a6ff75; }
html[data-accessibility="on"][data-access-size="150"] { --access-scale: 1.5; }
html[data-accessibility="on"][data-access-size="200"] { --access-scale: 2; }
html[data-accessibility="on"][data-access-spacing="medium"] { --access-spacing: .08em; }
html[data-accessibility="on"][data-access-spacing="wide"] { --access-spacing: .16em; }
html[data-accessibility="on"][data-access-line="medium"] { --access-line-height: 1.7; }
html[data-accessibility="on"][data-access-line="wide"] { --access-line-height: 2; }
html[data-accessibility="on"] body { background: var(--access-bg) !important; color: var(--access-fg) !important; letter-spacing: var(--access-spacing); }
html[data-accessibility="on"][data-access-family="serif"] body,
html[data-accessibility="on"][data-access-family="serif"] :is(input,button,select,textarea) { font-family: Georgia, "Times New Roman", serif !important; }
html[data-accessibility="on"] :is(header,main,footer,dialog),
html[data-accessibility="on"] :is(header,main,footer,dialog) * { background-color: var(--access-bg) !important; color: var(--access-fg) !important; border-color: var(--access-fg) !important; box-shadow: none !important; }
html[data-accessibility="on"] :is(header,main,footer,dialog) a { color: var(--access-link) !important; text-decoration: underline !important; }
html[data-accessibility="on"] :is(header,main,footer,dialog) :is(div,span,p,a,li,td,th,label,button,input,textarea,select,blockquote) { font-size: calc(18px * var(--access-scale)) !important; line-height: var(--access-line-height) !important; }
html[data-accessibility="on"] :is(header,main,footer,dialog) h1 { font-size: calc(36px * var(--access-scale)) !important; line-height: 1.2 !important; }
html[data-accessibility="on"] :is(header,main,footer,dialog) h2 { font-size: calc(28px * var(--access-scale)) !important; line-height: 1.25 !important; }
html[data-accessibility="on"] :is(header,main,footer,dialog) h3 { font-size: calc(23px * var(--access-scale)) !important; line-height: 1.3 !important; }
html[data-accessibility="on"] .brand-text { white-space: normal; }
html[data-accessibility="on"] .nav-inner { flex-wrap: wrap; }
html[data-accessibility="on"] :is(header,main,footer,dialog) * { overflow-wrap: anywhere; }
html[data-accessibility="on"] :is(header,main,footer,dialog) :is(img,iframe,video,canvas) { max-width: 100%; }
html[data-accessibility="on"][data-access-images="mono"] :is(header,main,footer,dialog) :is(img,iframe,video,canvas) { filter: grayscale(1) !important; }
html[data-accessibility="on"][data-access-images="none"] :is(header,main,footer,dialog) :is(img,picture,svg,iframe,video,canvas) { display: none !important; }
html[data-accessibility="on"][data-access-images="none"] :is(header,main,footer,dialog) * { background-image: none !important; }
html[data-accessibility="on"] .pre-footer-ornament { display: none; }

@media (max-width: 1170px) {
  .brand { gap: 18px; flex-basis: 390px; }
  .brand-text { font-size: 31px; }
  .header-info { gap: 18px; }
  .address-detail { display: none; }
  .activity-layout { gap: 50px; }
}
@media (max-width: 850px) {
  .directions-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .project-year { gap: 20px; padding: 20px 15px; }
  .news-list-item { display: block; }
  .news-list-image { display: block; width: max-content; max-width: 100%; }
  .news-list-content { margin: 12px 8px; }
  .header-top { position: relative; }
  .accessibility-button-mobile { display: flex; position: absolute; right: 62px; top: 50%; transform: translateY(-50%); margin: 0; }
  .contact-page-body .contacts-office__row { grid-template-columns: 1fr; }
  .header-top { min-height: 105px; }
  .brand-logo { width: 70px; height: 71px; }
  .brand-text { font-size: 28px; }
  .brand-text small { font-size: 10px; }
  .header-info { display: none; }
  .menu-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-inner { display: flex; flex-direction: column; align-items: stretch; padding: 10px 0; }
  .nav-inner > a { max-width: none !important; justify-content: start; padding: 11px 12px; text-align: left; }
  .nav-entry { display: block; width: 100%; max-width: none !important; }
  .nav-trigger { display: block; max-width: none; min-height: 44px; padding: 11px 24px 11px 12px; text-align: left; }
  .nav-chevron { top: 50%; right: 12px; bottom: auto; transform: translateY(-50%); }
  .nav-entry.is-open .nav-chevron { transform: translateY(-50%) rotate(180deg); }
  .nav-dropdown { position: static; width: 100%; max-width: none; box-shadow: none; }
  .nav-dropdown a { padding-left: 27px; }
  .nav-inner > a.nav-callback { display: grid; }
  .nav-search { width: 100%; height: 46px; margin: 0; }
  .nav-search input { position: static; width: 100%; height: 40px; padding: 8px 12px; border: 1px solid var(--red); opacity: 1; }
  .nav-search button { height: 40px; }
  .activity-layout { grid-template-columns: 1fr; }
  .activity-copy { max-width: 650px; }
  .direction-grid { max-width: 700px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .inner-layout { grid-template-columns: 1fr; gap: 35px; }
  .section-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sidebar-heading { grid-column: 1/-1; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-counter { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .directions-service-grid { grid-template-columns: 1fr; }
  .direction-service-card { padding-bottom: 0; }
  .direction-service-content { position: relative; padding: 18px; }
  .direction-service-name { min-height: 0; }
  .direction-service-footer { max-height: none; }
  .direction-service-footer .outline-button { min-width: 0; width: 100%; }
  .project-year { grid-template-columns: 70px minmax(0, 1fr); gap: 15px; }
  .project-year-marker h2 { font-size: 24px; }
  .project-year-marker::after { top: 62px; }
  .project-entry h3 { font-size: 16px; }
  .news-article-cover { float: none; width: min(300px, 100%); margin: 0 auto 25px; }
  .management-card { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .management-photo { width: min(200px,100%); }
  .contact-page-body .contacts-office__col { padding: 18px; }
  .contact-page-body .contacts-office__requisites table { display: block; }
  .contact-page-body .contacts-office__requisites tr { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
  .contact-page-body .contacts-office__requisites td { display: block; width: 100% !important; border: 0; padding: 5px 0; }
  .contact-page-body .contacts-office__requisites td:first-child { padding-top: 12px; }
  .contact-page-body .contacts-office__requisites td:last-child { padding-bottom: 12px; }
  .office-map iframe { height: 320px; }
  .container { width: min(100% - 28px,1250px); }
  .header-top { position: relative; min-height: 90px; gap: 10px; }
  .brand { flex: 1; gap: 8px; padding-right: 44px; }
  .brand-logo { width: 58px; height: 59px; }
  .brand-text { min-width: 0; font-size: 19px; }
  .brand-text small { max-width: 210px; font-size: 8px; }
  .menu-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 4px 9px; font-size: 23px; }
  .hero { height: 480px; background-position: 58% center; }
  .hero-panel { width: min(100%,420px); padding: 43px 26px; }
  .hero-pretitle { font-size: 21px; }
  .hero h1 { font-size: 29px; }
  .hero-button { margin-top: 25px; }
  .home-main .stage-note { top: auto; bottom: 8px; right: 12px; max-width: 260px; font-size: 10px; }
  .activity-section, .home-news, .home-history { padding: 60px 0; }
  .activity-copy h2, .home-history h2 { font-size: 34px; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 205px; }
  .home-news h2 { font-size: 35px; }
  .card-grid, .history-layout { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
  .inner-content .card-grid, .section-sidebar { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { grid-column: auto; display: block; margin-top: 16px; }
  .footer-developer { display: block; margin-top: 16px; }
  .page-heading h1 { font-size: 32px; }
}
