/* НГА · визуальное обновление, октябрь 2026.
   Подключается после style.css; исходная разметка и логика сохранены. */
:root {
  --primary: #122d47;
  --primary-light: #1d4666;
  --primary-hover: #0c2237;
  --accent: #1769a5;
  --accent-hover: #105383;
  --accent-light: #edf4f9;
  --accent-gradient: linear-gradient(110deg, #1769a5, #1769a5);
  --secondary: #6c993c;
  --secondary-light: #eff5e9;
  --secondary-gradient: linear-gradient(110deg, #638d38, #638d38);
  --text-dark: #172f46;
  --text-muted: #607183;
  --bg-body: #f8fafb;
  --card-bg: #fff;
  --card-border: #e1e8ed;
  --shadow: 0 8px 28px -18px rgb(20 48 72 / 18%);
  --radius: 16px;
  --transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body { line-height: 1.65; }
::selection { background: #daeacb; color: #122d47; }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 4px; }
p, .card-text, .card-title, .section-subtitle, .about-text p,
.member-card-desc-horizontal, .structure-card-desc-horizontal,
.direction-desc, .direction-title, .about-description, .about-full-description,
.contacts-content, .staff-card-name, .staff-card-position,
.event-card-horizontal .event-title, .event-card-horizontal .event-description,
.director-message, .membership-list li, .fee-item,
.news-modal-text, .news-modal-title, .hero-left p,
.member-card-name-horizontal, .structure-card-position-horizontal,
.structure-card-name-horizontal, .structure-card-desc-horizontal {
  text-align: left; text-justify: auto;
}
:is(a, button, input, textarea, select):focus-visible { outline: 3px solid #78a64a; outline-offset: 4px; }
:is(section, [id]) { scroll-margin-top: 110px; }
.container, .docs-page .container-full { width: 100%; max-width: 1328px; padding: 0 40px; }
.parallax-bg { display: none; }
.header, .header:hover { background: rgb(255 255 255 / 97%); border-bottom: 1px solid #e3e9ed; padding: 12px 0; backdrop-filter: blur(16px); }
.header .container { flex-direction: row; flex-wrap: nowrap; gap: 24px; min-height: 62px; }
.logo { gap: 12px; flex: 0 0 auto; }
.header .logo-img { height: 62px; width: 62px; object-fit: contain; }
.brand-name { display: block; font-size: 12px; line-height: 1.4; font-weight: 650; letter-spacing: -.15px; color: #213b50; max-width: 172px; }
nav { gap: 4px; flex-wrap: nowrap; }
nav a { font-size: 13px; padding: 9px 12px; color: #526475; font-weight: 550; border-radius: 7px; white-space: nowrap; }
nav a:hover, nav a.active, nav a.active:hover { background: #f0f5f8; color: #155f97; border-radius: 7px; }
nav a::before, nav a.active::after { display: none; }
nav > a[data-i18n="nav_join"] { background: #edf4e7; color: #426b27; }
nav > a[data-i18n="nav_join"]:hover, nav > a[data-i18n="nav_join"].active { background: #dfebd4; }
.lang-switcher { margin-left: 12px; padding-left: 14px; border-left: 1px solid #dfe6eb; gap: 0; }
.lang-link, .lang-link.active { font-size: 11px; padding: 5px 7px; color: #647587; background: transparent; border-radius: 4px; }
.lang-link.active { color: #183e5f; background: #edf2f6; font-weight: 700; }
.lang-link:hover { color: #1769a5; background: #edf2f6; }
.lang-divider { color: #bdc7ce; font-size: 11px; }
.header .nav-toggle { display: none; }
.btn, button:not(.calendar-controls button), .resource-card .btn {
  color: #fff; background: var(--accent); border: 1px solid transparent;
  border-radius: 8px; padding: 12px 21px; font-size: 14px; font-weight: 600;
  box-shadow: none; animation: none; letter-spacing: 0; min-height: 46px;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1.4;
  transition: var(--transition);
}
.btn:hover, button:not(.calendar-controls button):hover, .resource-card .btn:hover {
  background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgb(18 45 71 / 10%);
}
button:disabled, .btn:disabled { opacity: .45; cursor: default; transform: none !important; box-shadow: none !important; }
.section { padding: 68px 0; }
body > .section:first-of-type { padding-top: 138px !important; min-height: 65vh; }
.section-title { font-size: clamp(28px, 3vw, 36px); letter-spacing: -1.1px; line-height: 1.2; font-weight: 700; color: var(--primary); margin-bottom: 16px; background: none; -webkit-text-fill-color: currentColor; }
h1.section-title { font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -1.6px; }
.section-subtitle { color: #607183; font-size: 16px; line-height: 1.65; max-width: 650px; }
.hero-with-news { min-height: auto; padding: 122px 0 0; color: var(--primary); }
.hero-news-wrapper { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(315px, 1fr); gap: 24px; align-items: stretch; }
.hero-left {
  position: relative; min-height: 548px; padding: 46px 42px 40px;
  overflow: hidden; border-radius: 18px; align-items: flex-start; justify-content: center;
  background: linear-gradient(105deg, #12314dfc 0%, #12314df5 48%, #12314dbb 73%, #12314d66 100%), url('../images/background.jpeg') right 42% / cover no-repeat;
}
.hero-left::before { content: ''; position: absolute; width: 340px; height: 340px; right: -155px; bottom: -160px; border: 1px solid #9bbc7350; border-radius: 50%; box-shadow: 0 0 0 36px #91b55d0e, 0 0 0 72px #91b55d0b; pointer-events: none; }
.hero-left h1 { font-size: clamp(35px, 3.75vw, 49px); line-height: 1.15; letter-spacing: -1.9px; font-weight: 650; color: #fff; max-width: 650px; margin: 0 0 24px; opacity: 1; animation: none; background: none; -webkit-text-fill-color: currentColor; position: relative; }
.hero-left p { color: #d2dfe9; font-size: 16px; max-width: 560px; line-height: 1.75; margin-bottom: 30px; opacity: 1; animation: none; position: relative; }
.hero-left .btn-group { gap: 9px; opacity: 1; animation: none; justify-content: flex-start; position: relative; }
.hero-left .btn { background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 24%); color: #fff; padding: 11px 15px; font-size: 12px; }
.hero-left .btn:first-child { background: #c6dfab; border-color: #c6dfab; color: #23432c; }
.hero-left .btn:hover { background: #fff; border-color: #fff; color: #163a57; }
.news-right { width: auto; min-width: 0; max-width: none; max-height: none; overflow: visible; background: #fff; border: 1px solid #e1e8ed; border-radius: 18px; padding: 25px 26px 16px; backdrop-filter: none; opacity: 1; animation: none; }
.news-right-header { gap: 10px; align-items: center; padding-bottom: 20px; margin-bottom: 0; border-bottom: 1px solid #e6ecf0; }
.news-right-title { color: var(--primary); font-size: 16px; font-weight: 650; }
.news-right-all { color: #1769a5; font-size: 11px; white-space: nowrap; }
.news-right-all:hover { color: #10466e; text-decoration: underline; }
.news-sidebar-list { gap: 0; }
.news-sidebar-item { position: relative; padding: 20px 18px 20px 0; background: transparent; border: 0; border-bottom: 1px solid #e7edf0; border-radius: 0; gap: 14px; color: var(--primary); }
.news-sidebar-item:last-child { border-bottom: 0; }
.news-sidebar-item::after { content: '↗'; position: absolute; right: 0; top: 40px; color: #729444; font-size: 15px; }
.news-sidebar-item:hover { transform: none; background: transparent; color: var(--accent); border-left-color: transparent; }
.news-sidebar-item > div { display: flex; flex-direction: column; }
.news-sidebar-title { font-size: 14px; font-weight: 600; line-height: 1.5; margin: 0; -webkit-line-clamp: 2; }
.news-sidebar-date { color: #73818d; font-size: 11px; order: -1; margin-bottom: 7px; font-variant-numeric: tabular-nums; }
.news-sidebar-img { border-radius: 6px; }
.about-director-grid { grid-template-columns: 1.12fr 1fr; gap: 64px; margin: 0; align-items: center; }
.about-col > div[style] { text-align: left !important; }
.about-col .section-subtitle { margin: 0 !important; font-size: 16px; }
.about-text p { font-size: 15px; line-height: 1.8; color: #536575; }
.about-text strong { color: var(--primary); font-weight: 650; }
.badge-group { gap: 10px !important; justify-content: flex-start; }
.badge { border-radius: 6px; padding: 6px 13px; font-size: 12px; }
.badge-primary { color: #426b27; background: #eaf2e2; }
.badge-light { color: #235d85; background: #eaf2f8; }
.director-card { background: #edf3f7; border: 1px solid #e0e9ef; box-shadow: none; padding: 30px; border-radius: 14px; display: grid; grid-template-columns: 68px 1fr; gap: 22px 18px; }
.director-title { grid-column: 2; grid-row: 1; align-self: center; font-size: 19px; line-height: 1.4; font-weight: 650; border: 0; margin: 0; padding: 0; }
.director-photo-placeholder { grid-column: 1; grid-row: 1; width: 68px; height: 68px; border: 1px solid #d1dee7; border-radius: 50%; margin: 0; background: #e0eaf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23738ca0' stroke-width='1.4'%3E%3Ccircle cx='32' cy='23' r='10'/%3E%3Cpath d='M13 54v-4a19 19 0 0 1 38 0v4'/%3E%3C/svg%3E") center/50px no-repeat; }
.director-message { grid-column: 1 / -1; font-size: 14px; color: #51697a; line-height: 1.8; }
.director-message em { font-style: normal; }
.resources-grid { gap: 20px; max-width: none; }
.card, .membership-card, .about-block, .staff-card, .event-card-horizontal, .event-card, .events-list-column, .calendar-wrapper-compact, .day-events-compact { box-shadow: none; border: 1px solid var(--card-border); background: #fff; backdrop-filter: none; border-radius: 14px; }
.card::before { display: none; }
.card:hover, .membership-card:hover, .about-block:hover, .staff-card:hover { transform: none; box-shadow: none; }
.resource-card { position: relative; padding: 30px 28px 26px; text-align: left; align-items: flex-start; gap: 0; border-top: 3px solid #8aaf66; }
.resource-card:nth-child(2) { border-top-color: #65a5ca; }
.resource-card:nth-child(3) { border-top-color: #3d6c91; }
.resource-card::after { content: ''; height: 42px; width: 42px; margin-bottom: 22px; order: -1; border-radius: 10px; background: #eff5e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%235a8634' stroke-width='1.5'%3E%3Cpath d='M5 8h14v14H5zM19 14h5l4 5v3h-9M5 14h14'/%3E%3Ccircle cx='10' cy='24' r='3' fill='%23eff5e9'/%3E%3Ccircle cx='24' cy='24' r='3' fill='%23eff5e9'/%3E%3C/svg%3E") center/28px no-repeat; }
.resource-card:nth-child(2)::after { background-color: #ecf4f9; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231769a5' stroke-width='1.5'%3E%3Cpath d='M16 8C11 5 7 5 3 7v19c4-2 8-2 13 1 5-3 9-3 13-1V7c-4-2-8-2-13 1ZM16 8v19M7 12l5 1M7 17l5 1M20 13l5-1M20 18l5-1'/%3E%3C/svg%3E"); }
.resource-card:nth-child(3)::after { background-color: #edf2f7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%233d6c91' stroke-width='1.5'%3E%3Cpath d='m3 9 8-4 10 4 8-4v22l-8 4-10-4-8 4V9ZM11 5v22M21 9v22' transform='translate(0 -2)'/%3E%3C/svg%3E"); }
.resource-card:hover { border-color: #a4bfcd; transform: none; }
.resource-title { font-size: 19px; font-weight: 650; line-height: 1.4; text-align: left; margin-bottom: 12px; max-width: 280px; }
.resource-description { font-size: 14px; line-height: 1.8; color: #617282; margin-bottom: 24px; }
.resource-card .btn { background: transparent; color: #1769a5 !important; border: 0; box-shadow: none; font-size: 13px; padding: 0; min-height: 30px; border-radius: 0; margin-top: 0; }
.resource-card .btn:hover { background: none; color: #10466e !important; box-shadow: none; transform: none; text-decoration: underline; }
body:has(.hero-with-news) > .section:nth-of-type(3) { background: #eff4f7; border-top: 1px solid #e4ebef; border-bottom: 1px solid #e4ebef; }
.homepage-events { gap: 20px; }
.event-card-horizontal { padding: 26px; }
.event-card-horizontal .event-card-date, .event-card-date, .event-item-date-compact { background: #edf3f8; border-radius: 10px; border: 1px solid #e1eaf0; color: #1769a5; }
.event-card-horizontal .event-card-day, .event-card-day { color: #1769a5; font-weight: 600; }
.event-card-horizontal .event-card-month, .event-card-month { color: #5a7690; }
.event-card-horizontal .event-title { font-size: 19px; line-height: 1.4; font-weight: 650; }
.event-card-horizontal .event-description { color: #617282; font-size: 14px; line-height: 1.7; }
.event-card-horizontal .event-time { background: #f1f5ed; color: #547d33; font-size: 12px; }
.quick-nav { justify-content: flex-start !important; gap: 8px !important; padding-bottom: 26px; border-bottom: 1px solid #dde5eb; }
.quick-nav .btn { padding: 10px 16px !important; background: #eef3f7; border: 1px solid #dbe5ed; color: #295b7d; border-radius: 7px; font-size: 13px !important; }
.quick-nav .btn:hover { background: #e0ecf4; }
.about-full-description { max-width: none !important; color: #526575; font-size: 15px; line-height: 1.85; padding: 6px 0 16px; }
.about-full-description li { text-align: left; }
.about-block { padding: 30px; margin-bottom: 32px; }
.about-block-title { font-size: 25px; font-weight: 650; line-height: 1.3; border: 0; letter-spacing: -.55px; margin-bottom: 20px; padding: 0; }
.docs-cards-grid, .directions-grid { gap: 18px; }
.doc-card, .direction-card { background: #f7f9fb; border: 1px solid #e1e8ed; border-radius: 10px; padding: 24px; }
.doc-card:hover, .direction-card:hover { transform: none; box-shadow: none; border-color: #9fbdcd; }
.doc-card-icon { font-size: 30px; margin-bottom: 12px; }
.doc-card-title { font-size: 17px; line-height: 1.4; }
.doc-card-desc, .direction-desc { font-size: 14px; line-height: 1.75; color: #607183; }
.direction-title { font-size: 17px; font-weight: 650; line-height: 1.4; }
.member-card-horizontal, .structure-card-horizontal { border: 1px solid #e1e8ed; background: #fff; border-radius: 10px; padding: 24px; gap: 24px; }
.member-card-horizontal:not(.member-hidden) { max-height: none; }
.member-card-horizontal:hover, .structure-card-horizontal:hover { box-shadow: none; transform: none; border-color: #b9cdd8; }
.member-card-name-horizontal, .structure-card-name-horizontal { font-size: 18px; line-height: 1.45; }
.structure-card-position-horizontal { color: #587f37; font-size: 11px; line-height: 1.5; margin-bottom: 5px; }
.member-card-desc-horizontal, .structure-card-desc-horizontal { font-size: 14px; line-height: 1.75; color: #617282; }
.search, .modal-content .search, input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select { background: #fff; border: 1px solid #cfdce5; border-radius: 8px; box-shadow: none; color: #203c51; font-family: inherit; font-size: 15px; }
.search:focus, .modal-content .search:focus, input:focus, textarea:focus, select:focus { border-color: #1769a5; box-shadow: 0 0 0 3px #1769a512; }
#search { max-width: 700px; display: block; margin-left: auto; margin-right: auto; }
.news-grid { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.news-grid .card { padding: 28px; border-left: 1px solid #e1e8ed; }
.news-grid .card:hover { transform: none; border-color: #9ebfce; box-shadow: none; }
.news-grid .card .card-title { font-size: 21px; line-height: 1.45; text-align: left; }
.news-grid .card .card-text { font-size: 14px; line-height: 1.8; text-align: left; color: #617282; }
.card-date, .news-modal-date { color: #788795; font-size: 12px; }
.news-text { -webkit-line-clamp: 3; max-height: 5.4em; }
.news-modal-content, .modal-content { border-radius: 16px; box-shadow: 0 24px 80px #142d4740; }
.news-modal-title { line-height: 1.3; letter-spacing: -.6px; }
.news-modal-text { line-height: 1.85; color: #516575; }
.events-layout { gap: 24px; max-width: none; }
.events-list-column { max-height: 650px; }
.calendar-wrapper-compact { padding: 22px; }
.calendar-header-compact { padding-bottom: 14px; border-bottom: 1px solid #e7edf1; }
.calendar-month-title-compact { font-size: 18px; }
.calendar-day-compact { border-radius: 6px; }
.calendar-day-compact.has-event, .calendar-day-compact.event { background: #e8f1e0; color: #426a29; }
.calendar-day-compact.selected { background: #1769a5; color: #fff; }
.events-list-header { padding: 22px; }
.events-count-badge { background: #edf4e7; color: #527636; }
.event-item-compact { border-radius: 8px; border: 1px solid #e7edf1; background: #fbfcfd; padding: 15px; }
.event-item-title-compact { font-size: 14px; line-height: 1.5; }
.event-item-desc-compact { color: #677b8c; font-size: 12px; }
.events-list-nav button, .btn-calendar-nav-compact { min-height: 36px !important; border-radius: 7px !important; }
.membership-grid-top { gap: 24px; max-width: none; }
.membership-bottom { max-width: none; }
.membership-card { padding: 30px; }
.membership-card h3 { font-size: 21px; line-height: 1.4; font-weight: 650; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { font-size: 13px; margin-bottom: 8px; color: #506779; }
.membership-list li { font-size: 14px; line-height: 1.8; padding-top: 8px; padding-bottom: 8px; }
.fee-item { padding: 16px 0; font-size: 14px; border-bottom: 1px solid #e5ecf0; }
.fee-table-wrapper { margin-top: 20px; border: 1px solid #dde6ec; border-radius: 10px; }
.fee-table { font-size: 14px; }
.fee-table thead { background: #edf3f7; color: #294e6b; }
.fee-table thead th { padding: 16px; color: #294e6b; font-size: 13px; line-height: 1.5; }
.fee-table tbody td { padding: 14px 16px; border-bottom: 1px solid #e8eef2; line-height: 1.6; }
.fee-table tbody tr:nth-child(even) { background: #f9fbfc; }
.contacts-two-column { gap: 40px; margin-top: 40px; align-items: start; }
.contacts-left { padding: 28px; border: 1px solid #e0e8ed; background: #fff; border-radius: 14px; }
.contacts-item { padding: 22px 0; gap: 16px; }
.contacts-item:first-child { padding-top: 0; }
.contacts-label { font-size: 12px; color: #6c8192; min-width: 140px; }
.contacts-content { font-size: 14px; line-height: 1.8; }
.contacts-content .footer-link { display: block; color: #1769a5; font-size: 14px; text-align: left !important; }
.contacts-staff-title { font-size: 26px; line-height: 1.3; border: 0; text-align: left; }
.staff-card { padding: 22px; gap: 18px; }
.staff-card-photo, .staff-card-photo .staff-photo-img { width: 70px; height: 70px; min-width: 70px; }
.staff-card-position { font-size: 10px; line-height: 1.6; color: #597d3b; }
.staff-card-name { font-size: 17px; line-height: 1.45; margin: 6px 0; }
.staff-card-email { font-size: 13px; overflow-wrap: anywhere; }
.docs-grid { gap: 22px; max-width: none; justify-content: flex-start; }
.doc-card-item { flex: 0 0 calc((100% - 88px) / 5); width: auto; border: 1px solid #dfe8ed; border-radius: 12px; box-shadow: none; padding: 18px; }
.doc-card-item:hover { transform: translateY(-2px); box-shadow: 0 8px 25px #193b5310; }
.doc-card-title-item { font-size: 13px; text-align: left; line-height: 1.6; }
.doc-card-image { aspect-ratio: 3/4; border-radius: 6px; background: #f4f6f7; }
.doc-card-btn { background: #1769a5; box-shadow: none; border-radius: 6px; }
.admin-tabs { gap: 8px; border: 0; }
.admin-tab { background: #edf3f7 !important; color: #305876 !important; border: 1px solid #dce5ec !important; border-radius: 7px !important; box-shadow: none !important; }
.admin-tab.active { background: #1769a5 !important; color: white !important; }
.admin-section { box-shadow: none; border: 1px solid #e0e8ee; border-radius: 12px; }
.admin-section-title { background: #f0f5f8; color: #21445f; border-radius: 12px 12px 0 0; }
.footer { background: #122d47; border-top: 4px solid #80a65b; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { grid-template-columns: 1fr 1fr 1.15fr; gap: 60px; border-color: #ffffff1a; padding-bottom: 34px; }
.footer-col { align-items: flex-start; gap: 9px; }
.footer-logo-img { height: 62px; }
.footer-desc { max-width: 230px; font-size: 13px; color: #d5e1e9; opacity: 1; }
.footer-title { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.footer-link, .footer-legal .footer-link, .footer-text { font-size: 12px; line-height: 1.7; color: #c3d1dc; }
.footer-contacts .footer-link, .footer-contacts .footer-text { color: #c3d1dc !important; }
.footer-link:hover { color: white; transform: none; text-decoration: underline; }
.footer-social-link { width: 32px; height: 32px; border-radius: 8px; background: #ffffff10; }
.footer-bottom { padding-top: 22px; font-size: 11px; color: #98aebe; }
#goTopBtn { min-height: 40px; padding: 10px 17px; font-size: 12px; border-radius: 8px; background: #1769a5; box-shadow: 0 3px 15px #122d4720; animation: none; bottom: 22px; right: 22px; }
@media (max-width: 1180px) {
  .brand-name { display: none; }
  .hero-left { padding: 34px; }
  .hero-left h1 { font-size: 40px; }
  .hero-left .btn { padding: 11px 13px; }
  .hero-news-wrapper { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; }
  .about-director-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .container, .docs-page .container-full { padding: 0 24px; }
  .header .container { gap: 12px; }
  nav a { padding: 9px 8px; font-size: 12px; }
  .lang-switcher { padding-left: 8px; margin-left: 6px; }
  .hero-with-news { padding-top: 112px; }
  .hero-news-wrapper { grid-template-columns: 1fr; gap: 20px; }
  .hero-left { min-height: 420px; padding: 38px; }
  .hero-left h1 { font-size: 44px; max-width: 650px; }
  .news-right { width: 100%; padding: 22px 26px 8px; max-height: none; }
  .news-sidebar-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .news-sidebar-item:nth-last-child(2) { border-bottom: none; }
  .news-sidebar-item { min-height: 114px; }
  .about-director-grid { grid-template-columns: 1fr; gap: 34px; }
  .resources-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .resource-card { padding: 23px 20px; }
  .resource-title { font-size: 17px; }
  .resource-description { font-size: 13px; }
  .events-layout { flex-direction: column; }
  .calendar-column { width: 100%; min-width: 0; flex-direction: row; }
  .calendar-wrapper-compact, .day-events-compact { min-width: 0; }
  .doc-card-item { flex-basis: calc((100% - 44px) / 3); }
  .footer-grid { gap: 32px; }
  .contacts-two-column { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header { padding: 9px 0; }
  .header .container { flex-wrap: wrap; min-height: 52px; justify-content: space-between; }
  .header .logo-img { width: 48px; height: 48px; }
  .brand-name { display: block; max-width: 180px; font-size: 11px; }
  nav { width: 100%; flex-wrap: wrap; gap: 4px; padding: 12px 0 8px; border-top: 1px solid #e6ecf0; }
  nav > a { flex: 1 0 30%; font-size: 13px; padding: 10px; text-align: center; }
  .lang-switcher { margin-left: auto; border: 0; padding: 8px 0 0; }
  .header.has-mobile-menu nav { display: none; }
  .header.has-mobile-menu.menu-open nav { display: flex; }
  .header.has-mobile-menu .nav-toggle { display: flex; width: 40px; min-height: 40px; height: 40px; align-items: center; justify-content: center; padding: 9px; border: 1px solid #dce5ec; background: #f6f9fb; color: #204762; border-radius: 8px; box-shadow: none; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .menu-open .nav-toggle .menu-middle { opacity: 0; }
  .menu-open .nav-toggle .menu-top { transform: translateY(6px) rotate(45deg); transform-origin: center; }
  .menu-open .nav-toggle .menu-bottom { transform: translateY(-6px) rotate(-45deg); transform-origin: center; }
  .header.menu-open.header-hidden { transform: none; }
  .hero-with-news { padding-top: 98px; }
  body > .section:first-of-type { padding-top: 114px !important; }
  .section { padding: 48px 0; }
  .hero-left { padding: 32px; min-height: 450px; }
  .hero-left h1 { font-size: 39px; }
  .resources-grid { grid-template-columns: 1fr; gap: 16px; }
  .resource-card { padding: 26px; }
  .resource-title { max-width: none; font-size: 21px; }
  .resource-description { font-size: 14px; }
  .docs-cards-grid { grid-template-columns: 1fr; }
  .directions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .membership-grid-top { flex-direction: column; }
  .footer .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; gap: 34px; }
  .footer-col { align-items: flex-start; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-title, .footer-desc, .footer-link, .footer-text { text-align: left !important; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .card { padding: 26px; }
}
@media (max-width: 480px) {
  .container, .docs-page .container-full { padding: 0 18px; }
  .hero-left { padding: 30px 24px; min-height: 466px; border-radius: 12px; }
  .hero-left h1 { font-size: clamp(29px, 8vw, 37px); line-height: 1.2; letter-spacing: -1.1px; margin-bottom: 22px; }
  .hero-left p { font-size: 14px; line-height: 1.8; margin-bottom: 26px; }
  .hero-left .btn-group { gap: 8px; }
  .hero-left .btn { font-size: 11px; padding: 10px 12px; min-height: 40px; }
  .news-right { padding: 22px 22px 8px; border-radius: 12px; }
  .news-sidebar-list { display: flex; gap: 0; }
  .news-sidebar-item { min-height: 0; padding-top: 19px; padding-bottom: 19px; }
  .news-sidebar-item:nth-last-child(2) { border-bottom: 1px solid #e7edf0; }
  .news-sidebar-title { font-size: 14px; }
  .section-title { font-size: 28px; letter-spacing: -.8px; }
  h1.section-title { font-size: 34px; letter-spacing: -1px; }
  .section-subtitle { font-size: 14px; }
  .director-card { padding: 24px; grid-template-columns: 52px 1fr; gap: 22px 14px; }
  .director-photo-placeholder { width: 52px; height: 52px; background-size: 40px; }
  .director-title { font-size: 17px; }
  .director-message { font-size: 13px; }
  .about-block { padding: 22px 18px; }
  .about-block-title { font-size: 22px; }
  .directions-grid { grid-template-columns: 1fr; }
  .direction-card { padding: 22px; }
  .member-card-horizontal, .structure-card-horizontal { align-items: flex-start; padding: 20px; gap: 18px; }
  .member-card-body-horizontal, .structure-card-body-horizontal { text-align: left; }
  .quick-nav .btn { padding: 9px 12px !important; font-size: 11px !important; }
  .membership-card { padding: 24px 20px; }
  .membership-card h3 { font-size: 19px; }
  .membership-list li { font-size: 14px; }
  .fee-table { min-width: 520px; }
  .fee-table thead th, .fee-table tbody td { padding: 12px; }
  .contacts-left { padding: 22px; }
  .contacts-item { padding: 19px 0; }
  .staff-card { flex-direction: row; text-align: left; align-items: flex-start; padding: 20px; }
  .staff-card-photo, .staff-card-photo .staff-photo-img { width: 48px; height: 48px; min-width: 48px; }
  .staff-card-body { min-width: 0; text-align: left; }
  .staff-card-position, .staff-card-name, .staff-card-phone, .staff-card-email { text-align: left !important; }
  .staff-card-name { font-size: 15px; }
  .staff-card-email { font-size: 11px; }
  .calendar-column { flex-direction: column; }
  .doc-card-item { flex-basis: calc((100% - 14px) / 2); padding: 12px; }
  .docs-grid { gap: 14px; }
  .doc-card-title-item { font-size: 12px; }
  .footer { padding-top: 36px; }
  .footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-title { margin-bottom: 5px; }
  .footer-bottom { font-size: 10px; }
  .event-card-horizontal { padding: 22px; }
  .news-grid .card { padding: 22px; }
  .news-grid .card .card-title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
