:root {
  --bg: #efefef;
  --card: #ffffff;
  --text: #222222;
  --muted: #7b7b7b;
  --line: #dddddd;
  --blue: #1699ff;
  --yellow: #f5b400;
  --shadow: 0 4px 14px rgba(0,0,0,.10);
  --radius: 22px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Geologica', sans-serif;
  min-width: 320px;
  padding-bottom: 92px;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

a { 
  text-decoration: none; 
  color: var(--blue);
}

a[href^="tel:"] {
  color: var(--text);
}

a[href^="tel:"]:hover {
  color: var(--blue);
}



.site-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.top-header {
  position: relative;
  z-index: 1200;
  background: transparent;
  border-bottom: 0;
}

.top-header .header-box {
  padding: 12px 24px 14px;
  transition: .2s ease;
  min-height: 150px;
}

.top-header.is-scrolled .header-box {
  padding: 12px 0 14px;
}

.scroll-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1350;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  transform: translateY(-8px);
}

.scroll-header.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-header-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
}

.scroll-header-box {
  min-height: 64px;
  background: rgba(247,247,247,.96);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
  display: grid;
  grid-template-columns: 64px 1fr 48px;
  align-items: center;
  column-gap: 18px;
  padding: 10px 22px;
}

.scroll-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-brand .brand-logo {
  width: 42px;
  flex-basis: 42px;
}

.scroll-emergency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1;
  color: #2f2f2f;
}

.scroll-emergency span {
  min-width: 0;
}

.scroll-emergency strong {
  white-space: nowrap;
}

.scroll-emergency strong {
  color: var(--yellow);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
}

.scroll-header .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  justify-self: end;
}

.scroll-header .header-action i {
  font-size: 30px !important;
  line-height: 1;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 74px;
  flex: 0 0 74px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-title {
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #666;
}

.brand-sub {
  margin-top: 4px;
  font-size: 8px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
}

.brand-sub span:nth-child(1){ color:#1398ff; }
.brand-sub span:nth-child(2){ color:#f7b400; margin-left:8px; }
.brand-sub span:nth-child(3){ color:#8dc500; margin-left:8px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.contact-col {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  min-width: 0;
  gap: 0 16px;
}

.contact-col h6 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  width: 100%;
  flex-basis: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 11px;
  color: #333;
  font-size: 13px;
  line-height: 1.3;
}

.contact-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: block;
  margin-top: 1px;
}

.header-divider {
  height: 1px;
  background: #d9d9d9;
  margin: 18px 0 10px;
}

.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 34px;
}

.desktop-header {
  position: relative;
}

.desktop-nav {
  display: flex;
  gap: 42px;
  flex-wrap: nowrap;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  white-space: nowrap;
}

.desktop-nav .nav-item {
  position: relative;
}

.desktop-nav .nav-item > a {
  color: #303030;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav .nav-item.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s ease;
}

.desktop-nav .nav-item.has-dropdown:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  z-index: 1295;
  padding: 14px 20px 14px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}

.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown ul.sub_menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown ul.sub_menu li {
  margin: 0;
  padding: 0;
}

.nav-dropdown ul.sub_menu li a {
  display: block;
  padding: 7px 0;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.nav-dropdown ul.sub_menu li a:hover {
  color: var(--blue);
}

.nav-megamenu-backdrop {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 100vw;
  background: #efefef;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 10px 20px -6px rgba(0,0,0,.12);
  height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity .2s ease, visibility .2s ease, height .2s ease;
  z-index: 1190;
}

.nav-megamenu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.socials a:hover,
.header-action:hover,
.dropdown-toggle-link:hover {
  color: var(--blue);
}

.socials {
  display: flex;
  gap: 16px;
  font-size: 16px;
  align-items: center;
}

.socials a,
.header-action,
.dropdown-toggle-link {
  color: #555;
  transition: .2s ease;
}

.dropdown-toggle-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: #222;
}

.desktop-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.desktop-brand-col {
  flex: 0 0 auto;
  padding-top: 0;
}

.desktop-brand-col .brand-logo {
  width: 220px;
  flex: 0 0 220px;
}

.desktop-contact-row {
  flex: 1 1 auto;
  padding-top: 0;
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: auto;
}

.burger-desktop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.burger-desktop .bi-list,
.header-action .bi-list {
  font-size: 28px !important;
  line-height: 1;
}

.contacts-toggle-inline {
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
  padding-bottom: 2px;
}

.contacts-expanded-inline {
  display: none;
  padding-top: 22px;
}

.dropdown-menu {
  z-index: 1220;
}

.offcanvas {
  z-index: 1400;
}

.offcanvas.offcanvas-end {
  border: 0;
}

.offcanvas-header {
  min-height: 55px;
  padding: 0 0 12px;
  align-items: flex-start;
}

.offcanvas-backdrop {
  z-index: 1390;
  background-color: var(--bg);
  
}

.offcanvas-backdrop.show {
  opacity: 1;
}

.offcanvas-backdrop {
  top: var(--menu-top, 0px);
  height: calc(100dvh - var(--menu-top, 0px));
}

.top-header.menu-open,
.top-header:has(.dropdown-menu.show) {
  z-index: 1310;
}

.tablet-header {
  display: none;
}

.tablet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 2px;
}

.tablet-brand {
  gap: 12px;
  min-height: 58px;
}

.tablet-brand .brand-logo {
  width: 62px;
  flex-basis: 62px;
}

.tablet-brand .brand-title {
  font-size: 18px;
  line-height: .96;
}

.tablet-brand .brand-sub {
  font-size: 8px;
  letter-spacing: .02em;
  margin-top: 3px;
}

.tablet-title-drop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: #2e2e2e;
  padding-top: 6px;
}

.tablet-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.tablet-actions .header-action i {
  font-size: 30px !important;
}

.tablet-dropdown-menu {
  width: min(100vw - 32px, 720px);
  min-width: min(100vw - 32px, 720px);
  inset: 100% auto auto 50% !important;
  transform: translateX(-50%);
  margin-top: 12px !important;
}

.tablet-contact-dropdown {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.tablet-contact-shell {
  background: #efefef;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 14px 24px rgba(0,0,0,.12);
  padding: 18px 26px 16px;
}

.tablet-contact-shell .contact-grid {
  gap: 18px 24px;
}

.tablet-contact-shell .header-divider {
  margin: 14px 0 12px;
}

.tablet-contact-shell .tablet-actions {
  gap: 18px;
}

.mobile-topline {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}

.mobile-emergency {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.1;
}

.mobile-emergency strong {
  color: var(--yellow);
  font-size: 18px;
  white-space: nowrap;
}

.mobile-header-bar {
  display: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
}

.mobile-header-card {
  background: #f7f7f7;
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow);
  padding: 0 14px;
}

.mobile-title-drop {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #222;
}

.mobile-brand .brand-logo { width: 44px; height: 44px; flex-basis: 44px; }
.mobile-brand .brand-title { display: none; }
.mobile-brand .brand-sub { display: none; }

.card-ui {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  height: 100%;
}

.card-ui.small-pad { padding: 18px; }
.card-ui h3,
.card-ui h4,
.card-ui h5 {
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero-map {
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(22,153,255,.08), rgba(22,153,255,0)),
    repeating-linear-gradient(0deg, #f5f5f5 0, #f5f5f5 36px, #ececec 36px, #ececec 37px),
    repeating-linear-gradient(90deg, #f5f5f5 0, #f5f5f5 36px, #ececec 36px, #ececec 37px);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.map-point {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.map-point.blue { background: #4ea8ff; }
.map-point.green { background: #7fc95a; }
.map-point.pink { background: #ff6b95; }

.stats-row {
  font-size: 14px;
  color: #444;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.application-list {
  width: 100%;
  height: 100%;
  max-height: 356px;
  overflow: hidden;
}

#StatemebtList {
  height: 100%;
  max-height: 356px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #b7dff5 transparent;
}

#StatemebtList::-webkit-scrollbar {
  width: 8px;
}

#StatemebtList::-webkit-scrollbar-track {
  background: transparent;
}

#StatemebtList::-webkit-scrollbar-thumb {
  background: #b7dff5;
  border-radius: 999px;
}

.StatemebtListItem {
  box-sizing: border-box;
}

.statement-card {
  background: #dff0fb;
  border-radius: 18px;
  padding: 14px 18px 12px;
  margin: 0 0 12px;
  box-sizing: border-box;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.statement-card:last-child {
  margin-bottom: 0;
}

.statement-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.statement-card__status {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  color: #2da4e8;
}

.statement-card__date {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f1f1f;
  white-space: nowrap;
}

.statement-card__address {
  font-size: 15px;
  line-height: 1.35;
  color: #4f4f4f;
}

.statement-card__number {
  text-align: right;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #2da4e8;
  margin-top: auto;
}

.statement-hint {
  background: #ffffff;
  border: 1px solid #cfcfcf;
  border-radius: 9px;
  padding: 10px 14px 9px;
  min-width: 160px;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  box-sizing: border-box;
  text-align: left;
}

.statement-hint__top {
  display: block;
  margin-bottom: 4px;
  text-align: left;
}

.statement-hint__status {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  color: #2da4e8;
  text-align: left;
}

.statement-hint__number {
  text-align: left;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #2da4e8;
}

.list_descussed .statement-card__status,
.list_descussed .statement-card__number,
.hint_descussed .statement-hint__status,
.hint_descussed .statement-hint__number {
  color: #1699ff;
}

.list_exec .statement-card__status,
.list_exec .statement-card__number,
.hint_exec .statement-hint__status,
.hint_exec .statement-hint__number {
  color: #8dc500;
}

.list_plan .statement-card__status,
.list_plan .statement-card__number,
.list_new .statement-card__status,
.list_new .statement-card__number,
.hint_plan .statement-hint__status,
.hint_plan .statement-hint__number,
.hint_new .statement-hint__status,
.hint_new .statement-hint__number {
  color: #f5b400;
}

.hint_descussed,
.hint_exec,
.hint_plan,
.hint_new {
  background: #ffffff;
}

.application-item .status { color: var(--blue); font-weight: 700; }
.application-item .meta { color: #7f7f7f; font-size: 13px; }

.yellow-number {
  color: var(--yellow);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin: 4px 0 14px;
}

.btn-yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
}

.btn-yellow:hover {
  background: #e2a500;
  border-color: #e2a500;
  color: #fff;
}

.announcement-item,
.news-item {
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.announcement-item:last-child,
.news-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.announcement-item a:hover,
.news-item a:hover {
  text-decoration: underline;
}


.announcement-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.announcement-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 100%;
}

.announcement-content h5 {
  margin-bottom: 10px;
  line-height: 1.25;
}

.announcement-content .side-text {
  margin-bottom: 12px;
  line-height: 1.45;
}

.announcement-content .card-link {
  margin-top: auto;
}

.announcement-card:last-child { margin-bottom: 0; }

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background:
    linear-gradient(130deg, rgba(0,0,0,.55), rgba(0,0,0,.05)),
    linear-gradient(90deg, #1f1f1f 0 14%, #9e8d3e 14% 22%, #d7d7d7 22% 48%, #b7b7b7 48% 52%, #efefef 52% 100%);
  background-size: cover;
  overflow: hidden;
}

.card-link,
.muted-link {
  color: #888;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card-text {
  margin-bottom: 0;
}

.feature-card-link {
  margin-top: auto;
}

.card-link:hover,
.muted-link:hover { color: var(--blue); }

.mini-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin-bottom: 14px;
}

.mini-title i { color: var(--blue); }

.mini-title-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
}

.faq-list p,
.news-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.news-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-card__date {
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1.2;
}

.news-card__body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.news-card__thumb {
  flex: 0 0 160px;
  width: 160px;
  max-width: 160px;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f5f8;
}

.news-card__img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-card__content {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card__title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.news-card__title:hover {
  text-decoration: underline;
}

.news-card__announce {
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.45;
}

.news-card__more {
  color: #888;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.news-card__more:hover {
  color: var(--blue);
}

@media (max-width: 767px) {
  .news-card__body {
    flex-direction: column;
  }

  .news-card__thumb {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }

  .news-card__img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.news-list p,
.muted-text,
.side-text {
  color: #6f6f6f;
}

.gallery-shot {
  width: 100%;
  aspect-ratio: 1 / .86;
  border-radius: 18px;
  background: linear-gradient(180deg, #5db4ff 0%, #b8dcff 34%, #769f4c 35%, #8f7d56 70%, #d7d7d7 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: #222;
  min-height: 96px;
}

.quick-btn i { color: var(--blue); font-size: 26px; }

.quick-btn-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: block;
}

.pagination-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
}

.pager-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: 0 0 auto;
}

.pager-pages {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  font-size: 15px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pager-pages::-webkit-scrollbar {
  display: none;
}

.pager-pages a {
  color: var(--blue);
  flex: 0 0 auto;
}

.pager-pages a.active { font-size: 34px; line-height: 1; }




.footer-copy {
  color: #a0a0a0;
  text-align: center;
  padding: 26px 0 20px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  font-size: 14px;
}

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1140;
  display: none;
  padding: 0 0 env(safe-area-inset-bottom);
}

.mobile-dock .dock-inner {
  background: #f5f5f5;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 14px rgba(0,0,0,.10);
  padding: 10px 12px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: start;
}

.dock-item {
  text-align: center;
  color: #2a2a2a;
  font-size: 11px;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.dock-item span {
  display: block;
  text-align: center;
}

.dock-item i {
  display: block;
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 2px;
}

.dock-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin-bottom: 2px;
}

.dock-item i {
  display: block;
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 4px;
}

.dock-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto 4px;
}

.offcanvas-menu,
.contact-dropdown-panel {
  background: transparent;
}

#siteMenu {
  --offset: max(calc((100vw - 1168px) / 2), 16px);
  --menu-top: 0px;
  top: var(--menu-top);
  height: calc(100dvh - var(--menu-top));
  left: var(--offset);
  right: var(--offset);
  width: auto;
  padding: 18px 0 24px;
  background: transparent;
}

#siteMenu .offcanvas-header {
  padding: 0 0 24px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.offcanvas-brand {
  width: 34px;
  flex: 0 0 34px;
}

.offcanvas-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.offcanvas-emergency {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  line-height: 1.2;
  color: #2f2f2f;
  flex: 1;
  text-align: center;
}

.offcanvas-emergency strong {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

#siteMenu .btn-close {
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231699ff' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M2 2l12 12M14 2L2 14'/%3e%3c/svg%3e");
  --bs-btn-close-opacity: 1;
  --bs-btn-close-hover-opacity: 1;
  --bs-btn-close-focus-shadow: none;
  width: .875rem;
  height: .875rem;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

#siteMenu .offcanvas-body {
  padding: 0;
}

#siteMenu .btn-close {
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231699ff' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M2 2l12 12M14 2L2 14'/%3e%3c/svg%3e");
  --bs-btn-close-opacity: 1;
  --bs-btn-close-hover-opacity: 1;
  --bs-btn-close-focus-shadow: none;
  width: .875rem;
  height: .875rem;
  padding: 0;
  margin: 0 0 0 auto;
}

.menu-stack {
  max-width: 360px;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.menu-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}

.menu-contacts {
  display: none;
  padding-top: 10px;
}

.menu-contacts-card {
  padding: 18px 20px;
}

.menu-contacts-card .contact-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.menu-contacts-card .contact-item:last-child {
  margin-bottom: 0;
}

body.menu-contacts-visible .menu-contacts {
  display: block;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  color: #222;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.menu-head .left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.menu-head i.chev {
  color: var(--blue);
  transition: transform .2s ease;
}

.menu-head.collapsed i.chev {
  transform: rotate(-90deg);
}

.menu-head:not(.collapsed) i.chev {
  transform: rotate(0);
}

.menu-head.collapsed + .submenu-list {
  display: none;
}

.menu-head:not(.collapsed) + .submenu-list {
  display: block;
}

.menu-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}

.submenu-list {
  padding: 0 18px 16px 54px;
}

.menu-card .collapse:not(.show) {
  display: none;
}

.submenu-list a {
  display: block;
  padding: 9px 0;
  color: #555;
  font-size: 16px;
}

.submenu-list a:hover { color: var(--blue); }

.contact-dropdown-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
  min-width: min(100vw - 32px, 1080px);
  max-width: 1080px;
}

.contact-dropdown-card .logo-col {
  min-width: 220px;
}

.list-inline-sep {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.section-hidden-mobile { display: block; }
.section-mobile-feed { display: none; }

@media (max-width: 1200px) {
  .desktop-nav {
    gap: 20px;
    flex-wrap: wrap;
  }
}


@media (min-width: 1141px) {
  .scroll-header-shell { padding: 0; }
  .scroll-header-box {
    min-height: 62px;
    grid-template-columns: 72px 1fr 54px;
    padding: 10px 44px 10px 26px;
  }
  .scroll-brand { justify-content: flex-start; }
  .scroll-emergency { font-size: 15px; }
  .scroll-emergency strong { font-size: 18px; }
}

@media (min-width: 721px) and (max-width: 1140px) {
  .scroll-header-shell { padding: 0; }
  .scroll-header-box {
    min-height: 62px;
    grid-template-columns: 58px 1fr 48px;
    padding: 10px 28px 10px 18px;
  }
  .scroll-brand .brand-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .scroll-emergency {
    font-size: 14px;
    gap: 8px;
    white-space: nowrap;
    justify-content: flex-start;
    line-height: 1.2;
  }
  .scroll-emergency span {
    white-space: normal;
  }
  .scroll-emergency strong { font-size: 16px; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .top-header .header-box {
    padding-left: 24px;
    padding-right: 24px;
  }
  .top-header.is-scrolled .header-box {
    padding-left: 24px;
    padding-right: 24px;
  }
  .content-columns.sidebar-right-merged > .content-sidebar-left {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .content-columns.sidebar-right-merged > .content-main {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .content-columns.sidebar-right-merged > .content-sidebar-right {
    display: none;
  }
  .feature-cards-row {
    flex-direction: column;
  }
  .feature-cards-row > [class*="col-"] {
    width: 100%;
  }
  .feature-card {
    min-height: 0;
    padding: 22px 20px;
  }
  .feature-card .mini-title {
    min-height: 0;
    margin-bottom: 14px;
  }
  .feature-card-text {
    min-height: 0;
    line-height: 1.45;
    margin-bottom: 16px;
  }
  .feature-card-link {
    margin-top: 0;
  }
  .announcement-content h5 {
    font-size: 20px;
    min-height: 0;
    margin-bottom: 10px;
  }
  .announcement-content .side-text {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .announcement-content .card-link {
    margin-top: 0;
  }
}

@media (min-width: 961px) {
  .burger-desktop { display: none !important; }
  .desktop-header { display: block; }
  .mobile-topline,
  .mobile-header-bar { display: none !important; }
}

@media (max-width: 991.98px) {
  .section-hidden-mobile { display: block; }
  .section-mobile-feed { display: none; }
  .desktop-only { display: none !important; }
  .mobile-dock { display: block; }
  .tablet-hidden-block,
  .mobile-dock-duplicate {
    display: none !important;
  }
  .content-columns.sidebar-right-merged > .content-sidebar-right {
    display: none !important;
  }
  .site-shell { padding: 0 16px; }
  .top-header .header-box {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top-header.is-scrolled .header-box {
    padding-left: 16px;
    padding-right: 16px;
  }
  .content-columns {
    display: flex;
    flex-wrap: wrap;
  }
  .content-columns > .content-sidebar-left,
  .content-columns > .content-sidebar-right,
  .content-columns > .content-main {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .content-sidebar-left {
    order: 1;
  }
  .content-sidebar-right {
    order: 2;
  }
  .content-main {
    order: 3;
  }
  .announcement-card {
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
  }
  .announcement-card .thumb-wrap {
    width: 140px;
  }
  .announcement-card .thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .announcement-content h5 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.25;
  }
  .announcement-content .side-text {
    font-size: 14px;
    line-height: 1.45;
  }
  .thumb { border-radius: 16px; }
  .card-ui {
    padding: 18px 16px;
    border-radius: 20px;
  }
  .pagination-ui { gap: 12px; }
  .pager-btn { width: 46px; height: 46px; }
  .pager-pages { gap: 12px; }
  .pager-pages a.active { font-size: 28px; }
  .footer-copy { margin-bottom: 74px; }
}

@media (max-width: 767.98px) {
  .content-sidebar-right {
    display: flex;
    flex-direction: column;
  }
  .content-sidebar-right .card-ui:last-child {
    order: -1;
    margin-bottom: 16px;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .desktop-header { display: block; }
  .mobile-topline,
  .mobile-header-bar { display: none !important; }
  .desktop-nav { display: none; }
  .header-bottom { justify-content: flex-end; }
  .desktop-top {
    gap: 24px;
    align-items: flex-start;
  }
  .desktop-contact-row {
    max-width: 640px;
  }
  .contact-grid {
    gap: 18px;
  }
  .contact-col h6 {
    font-size: 13px;
    margin-bottom: 9px;
  }
  .contact-item {
    font-size: 13px;
    margin-bottom: 9px;
  }
  .desktop-brand-col .brand-logo {
    width: 190px;
    flex-basis: 190px;
  }
  .brand-title {
    font-size: 18px;
  }
  .brand-sub {
    font-size: 8px;
    margin-top: 3px;
  }
  .header-divider {
    margin: 14px 0 12px;
  }
  .header-bottom {
    min-height: 34px;
  }
  .burger-desktop {
    display: inline-flex !important;
  }
  .feature-card {
    min-height: 100%;
    padding: 20px 18px;
  }
  .feature-card .mini-title {
    min-height: 28px;
    margin-bottom: 12px;
  }
  .feature-card-text {
    min-height: 76px;
    line-height: 1.4;
  }
}

@media (min-width: 541px) and (max-width: 720px) {
  #siteMenu {
    height: calc(100dvh - var(--menu-top) - 16px);
    padding: 0 0 24px;
  }
  #siteMenu .offcanvas-header {
    padding: 0 0 12px;
  }
  .menu-stack {
    max-width: 100%;
  }
  .scroll-header-shell {
    padding: 0;
  }
  .scroll-header-box {
    min-height: 62px;
    grid-template-columns: 46px 1fr 36px;
    column-gap: 12px;
    padding: 10px 18px 10px 16px;
  }
  .scroll-brand {
    justify-content: flex-start;
  }
  .scroll-brand .brand-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .scroll-emergency {
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
    justify-content: flex-start;
    line-height: 1.2;
  }
  .scroll-emergency span {
    white-space: normal;
  }
  .scroll-emergency strong {
    font-size: 15px;
  }
  .scroll-header .header-action {
    width: 32px;
    height: 32px;
  }
  .scroll-header .header-action i {
    font-size: 28px !important;
  }
  .top-header {
    background: rgba(239,239,239,.96);
    border-bottom: 0;
    backdrop-filter: blur(10px);
  }
  .top-header .header-box {
    padding: 14px 16px 14px;
    min-height: 150px;
  }
  .top-header.is-scrolled .header-box {
    padding: 10px 16px 12px;
  }
  .desktop-header { display: block; }
  .mobile-topline,
  .mobile-header-bar { display: none !important; }
  .site-shell {
    padding: 0 16px;
  }
  .desktop-top {
    display: grid;
    grid-template-columns: minmax(170px, auto) 180px;
    align-items: start;
    gap: 0;
  }
  .desktop-brand-col {
    width: auto;
    flex: 0 0 auto;
    padding-top: 0;
  }
  .desktop-brand-col .brand-logo {
    width: 170px;
    flex-basis: 170px;
  }
  .desktop-contact-row { display: none; }
  .contacts-toggle-inline {
    display: flex;
  }
  .contacts-expanded-inline {
    padding-top: 16px;
  }
  .contacts-expanded-inline.is-open {
    display: block;
  }
  .contacts-expanded-inline .contact-grid {
    gap: 24px;
  }
  .header-divider {
    margin: 14px 0 10px;
  }
  .desktop-nav { display: none; }
  .header-bottom { justify-content: flex-end; }
  .desktop-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .burger-desktop { display: inline-flex !important; }
}

@media (max-width: 540px) {
  #siteMenu {
    --offset: 16px;
    height: calc(100dvh - var(--menu-top) - 12px);
    padding: 0 0 16px;
  }
  #siteMenu .offcanvas-header {
    padding: 0 0 10px;
  }
  .menu-stack {
    max-width: 100%;
  }
  .top-header {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
  }
  .top-header .header-box {
    background: #f7f7f7;
    border-radius: 0 0 28px 28px;
    box-shadow: var(--shadow);
    padding: 10px 16px 10px 14px;
    min-height: 64px;
  }
  .top-header.is-scrolled .header-box {
    padding: 10px 16px 10px 14px;
  }
  .mobile-topline {
    display: grid;
    grid-template-columns: 42px 1fr 34px;
    column-gap: 8px;
    align-items: center;
    padding: 0;
  }
  .mobile-brand .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .mobile-emergency {
    gap: 8px;
    font-size: 11px;
    justify-content: center;
  }
  .mobile-emergency strong {
    font-size: 14px;
  }
  .mobile-topline .header-action {
    width: 30px;
    height: 30px;
    justify-self: end;
  }
  .mobile-topline .header-action i {
    font-size: 26px !important;
  }
  .desktop-header,
  .mobile-header-bar { display: none !important; }
  .scroll-header {
    top: 0;
  }
  .scroll-header-shell {
    padding: 0;
  }
  .scroll-header-box {
    min-height: 64px;
    grid-template-columns: 42px 1fr 34px;
    column-gap: 8px;
    padding: 10px 16px 10px 14px;
  }
  .scroll-brand {
    justify-content: flex-start;
  }
  .scroll-brand .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .scroll-emergency {
    gap: 8px;
    font-size: 11px;
    white-space: nowrap;
    justify-content: flex-start;
    line-height: 1.2;
  }
  .scroll-emergency span {
    white-space: normal;
  }
  .scroll-emergency strong {
    font-size: 14px;
  }
  .scroll-header .header-action {
    width: 30px;
    height: 30px;
  }
  .scroll-header .header-action i {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  body { padding-bottom: 100px; }
  .menu-contacts-card {
    padding: 16px 18px;
  }
  .announcement-card {
    grid-template-columns: 1fr;
  }
  .announcement-card .thumb {
    width: 76px;
    height: 76px;
    aspect-ratio: 1 / 1;
  }
  .announcement-card .thumb-wrap {
    width: 76px;
  }
  .announcement-content h5 {
    font-size: 18px;
  }
    .card-ui h3 { font-size: 28px; }
  .contact-dropdown-card { padding: 18px 16px; }
}

@media (max-width: 380px) {
  .scroll-emergency {
    white-space: normal;
    flex-wrap: wrap;
  }
  .scroll-emergency strong {
    width: 100%;
  }
}
/* Compatibility: old submenu inside new offcanvas */
.submenu-list ul.sub_menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.submenu-list ul.sub_menu li {
  margin: 0;
  padding: 0;
}
.submenu-list ul.sub_menu li a {
  display: block;
  padding: 9px 0;
  color: #555;
  font-size: 16px;
  text-decoration: none;
}
.submenu-list ul.sub_menu li a:hover {
  color: var(--blue);
}

/* Compatibility: old voting bars */
div.color_0, div.color_1, div.color_2, div.color_3, div.color_4 {
  border-radius: 2px;
}

/* Compatibility: old manager block */
.manager img {
  border-radius: 12px;
  max-width: 100%;
}

/* Announce cards from legacy HTML tables */
.announce table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}

.announce table tbody,
.announce table tr {
  display: contents;
}

.announce table td {
  display: block;
  padding: 0 !important;
  border: none !important;
  vertical-align: top;
}

.announce table td:first-child {
  width: 140px !important;
  flex: 0 0 140px;
}

.announce table td:first-child img {
  width: 100% !important;
  height: auto !important;
  max-width: 140px !important;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.announce table td:last-child {
  min-width: 0;
}

.announce table td:last-child p {
  color: #6f6f6f;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.announce table td:last-child a {
  color: #888;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.announce table td:last-child a:hover {
  color: var(--blue);
}

.announce table + p {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.announce p:has(b) {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--text);
}

.announce p:has(b) font,
.announce p:has(b) b {
  color: var(--text) !important;
  font-size: 18px !important;
}

.announce br,
.announce div {
  display: none;
}

.announce p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .announce table {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }
  .announce table td:first-child {
    width: 76px !important;
    flex: 0 0 76px;
  }
  .announce table td:first-child img {
    max-width: 76px !important;
    aspect-ratio: 1 / 1;
  }
}
/* Custom Lightbox */
.custom-lightbox{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;display:none!important;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease}
.custom-lightbox.show{display:flex!important;opacity:1}
.lightbox-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.85)}
.lightbox-content{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;max-width:90vw;max-height:90vh;background:#fff;padding:8px;border-radius:16px;box-shadow:0 25px 50px rgba(0,0,0,.5)}
.lightbox-img{max-width:calc(90vw - 16px);max-height:calc(85vh - 16px);border-radius:12px;display:block}
.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:#0d6efd;color:#fff;border:none;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.lightbox-prev{left:-64px}
.lightbox-next{right:-64px}
@media (max-width:768px){.lightbox-prev{left:8px}.lightbox-next{right:8px}.lightbox-img{max-width:95vw;max-height:80vh}}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin-bottom: 0;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.1;
  color: #8C8C8B;
  margin-bottom: 18px;
}

.breadcrumb-item a {
  color: #8C8C8B;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #1A1A18;
  font-weight: 300;
}

.breadcrumb-sep {
  color: #8C8C8B;
  font-size: 10px;
  line-height: 1;
}

.breadcrumb-sep.breadcrumb-sep-active {
  color: #1A1A18;
}
