/* M1: shared public design */
body[class*="header-v"] {
  --m1-site-ink: #122e49;
  --m1-site-muted: #486076;
  --m1-site-blue: #005b9c;
  --m1-site-red: #c82b3d;
  --m1-site-line: #d9e4ef;
  --m1-site-panel: #f1f6fb;
  --m1-site-radius: 14px;
  --m1-site-shadow: 0 8px 26px rgba(15, 52, 81, .07);
}
body[class*="header-v"] :is(.body,#footer,header) a:focus-visible,
body[class*="header-v"] :is(.body,#footer,header) button:focus-visible {
  outline: 2px solid #2181c2;
  outline-offset: 3px;
}
body[class*="header-v"] header .menu-row { box-shadow: inset 0 -1px 0 rgba(13, 47, 78, .14); }
body[class*="header-v"] :is(header,#headerfixed) .mega-menu a { font-weight: 600; }
body[class*="header-v"] .page-top .breadcrumb { color: var(--m1-site-muted); }
body[class*="header-v"] .page-top .breadcrumb a { color: var(--m1-site-blue); }
body[class*="header-v"] .page-top .page-top-main {
  padding: clamp(17px, 2.6vw, 29px) clamp(15px, 3vw, 30px);
  border: 1px solid var(--m1-site-line);
  border-left: 4px solid var(--m1-site-red);
  border-radius: 0 var(--m1-site-radius) var(--m1-site-radius) 0;
  background: linear-gradient(105deg, #eaf3fb, #f8fafc 76%);
}
body[class*="header-v"] .page-top h1 {
  margin: 0;
  color: var(--m1-site-ink);
  font-size: clamp(25px, 3.35vw, 43px);
  font-weight: 710;
  line-height: 1.19;
  overflow-wrap: anywhere;
}
body[class*="header-v"] .right_block :is(.detail,.content,.text_before_items,.text_after_items) :is(h2,h3) {
  color: var(--m1-site-ink);
  line-height: 1.24;
}
body[class*="header-v"] :is(.item-views,.catalog.detail) .item :is(.title,.title a,.title a span),
body[class*="header-v"] .m1-objects .m1-objects__title { color: var(--m1-site-ink); }
body[class*="header-v"] :is(.item-views,.catalog.detail) .item .title a:hover { color: var(--m1-site-blue); }
body[class*="header-v"] .item-views:is(.catalog,.list-type-block,.table-elements) .item,
body[class*="header-v"] .m1-home-band .section_item,
body[class*="header-v"] .catalog.detail > .item,
body[class*="header-v"] .m1-objects .m1-objects__card {
  border: 1px solid var(--m1-site-line);
  border-radius: var(--m1-site-radius);
  background-color: #fff;
  box-shadow: var(--m1-site-shadow);
  transition: border-color .18s ease, box-shadow .18s ease;
}
body[class*="header-v"] .item-views:is(.catalog,.list-type-block,.table-elements) .item:hover,
body[class*="header-v"] .m1-home-band .section_item:hover,
body[class*="header-v"] .m1-objects .m1-objects__card:hover {
  border-color: #9fbdd4;
  box-shadow: 0 12px 30px rgba(15, 52, 81, .13);
}
body[class*="header-v"] .m1-objects .m1-objects__media { border-radius: 13px 13px 0 0; }
body[class*="header-v"] .bx_filter .bx_filter_section,
body[class*="header-v"] .right_block .side-menu,
body[class*="header-v"] .left_block .side-menu {
  border: 1px solid var(--m1-site-line);
  border-radius: 12px;
  background-color: var(--m1-site-panel);
}
body[class*="header-v"] .right_block :is(.tabs,.nav-tabs) { border-color: var(--m1-site-line); }
body[class*="header-v"] .right_block :is(.btn,.btn.btn-default),
body[class*="header-v"] .contacts-page-map-inline .btn { border-radius: 8px; }
body[class*="header-v"] .right_block :is(.form-control,input[type="text"],textarea) { border-radius: 7px; }
body[class*="header-v"] .right_block :is(.form-control,input[type="text"],textarea):focus { border-color: #578fb6; }
body[class*="header-v"] .m1-home-band { border-bottom-color: var(--m1-site-line); }
body[class*="header-v"] .m1-home-band-2,
body[class*="header-v"] .m1-home-partners { background-color: var(--m1-site-panel); }
body[class*="header-v"] .m1-home-band-1,
body[class*="header-v"] .m1-home-band-3 { background-color: #fff; }
body[class*="header-v"] .m1-home-band .title_block { display: flow-root; }
body[class*="header-v"] .m1-home-title,
body[class*="header-v"] #m1-front-library-followup .m1-front-heading h2,
body[class*="header-v"] .m1-partner-heading h2,
body[class*="header-v"] .m1-home-bottom h3 {
  color: var(--m1-site-ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 710;
  line-height: 1.18;
}
body[class*="header-v"] :is(.m1-home-title,#m1-front-library-followup .m1-front-heading h2,.m1-partner-heading h2)::before {
  content: "";
  display: block;
  width: 29px;
  height: 3px;
  margin: 0 0 9px;
  border-radius: 2px;
  background: var(--m1-site-red);
}
body[class*="header-v"] .m1-home-subtitle {
  display: block;
  margin-top: 6px;
  color: var(--m1-site-muted);
  font-size: .49em;
  font-weight: 550;
  letter-spacing: 0;
}
body[class*="header-v"] .m1-home-partners { padding-top: clamp(22px, 4vw, 45px); }
body[class*="header-v"] .m1-partner-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
}
body[class*="header-v"] .m1-partner-heading h2 { margin: 0; }
body[class*="header-v"] .m1-home-partners > .drag-block { background: transparent; border: 0; }
body[class*="header-v"] .m1-home-partners .item img { opacity: .8; transition: opacity .18s ease; }
body[class*="header-v"] .m1-home-partners .item:hover img { opacity: 1; }
body[class*="header-v"] .m1-home-bottom {
  background: linear-gradient(105deg, #f5f9fd, #fff 78%);
  border-top: 1px solid var(--m1-site-line);
  scroll-margin-top: 90px;
}
body[class*="header-v"] .m1-home-bottom > .drag-block { background: transparent; }
body[class*="header-v"] #footer {
  border-top: 3px solid #2874ab;
  background: #112b44;
}
body[class*="header-v"] #footer :is(.copy,.copyright,.bottom-under,.address) { color: #bad0e2; }
body[class*="header-v"] #footer :is(a,.white) { color: #f3f8fc; }
body[class*="header-v"] #footer a:hover { color: #a7d8fb; }
@media (max-width: 600px) {
  body[class*="header-v"] .page-top .page-top-main { padding: 14px; }
  body[class*="header-v"] .m1-home-band .title_block :is(.all_link,.all-link) { margin-bottom: 8px; }
  body[class*="header-v"] #m1-front-library-followup .m1-front-heading { flex-wrap: wrap; gap: 8px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  body[class*="header-v"] :is(.item-views .item,.m1-objects__card,.m1-front-card,.m1-home-partners .item img) { transition: none; }
}
/* End M1: shared public design */

/* M1: header dropdown typography */
body[class*="header-v"] :is(header,#headerfixed) .mega-menu .dropdown-menu a {
  font-weight: 400;
}
body[class*="header-v"] :is(header,#headerfixed) .mega-menu .wide_menu > .wrap > .dropdown-menu > li > a,
body[class*="header-v"] :is(header,#headerfixed) .mega-menu .dropdown-menu .dropdown-submenu > a {
  font-weight: 600;
}
body[class*="header-v"] :is(header,#headerfixed) .mega-menu .wide_menu .dropdown-menu .dropdown-menu a:not(:hover,:focus-visible) {
  color: #3c5368;
}
body[class*="header-v"] :is(header,#headerfixed) .mega-menu .dropdown-menu li.active > a,
body[class*="header-v"] :is(header,#headerfixed) .mega-menu .dropdown-menu li.selected > a {
  font-weight: 600;
  color: var(--m1-site-blue);
}
#mobilemenu .menu .dropdown > li > a.dark-color {
  font-weight: 400;
}
#mobilemenu .menu .dropdown > li > a.dark-color.parent,
#mobilemenu .menu .dropdown > li.selected > a.dark-color {
  font-weight: 600;
}
header .phone .dropdown .more_phone > a,
#headerfixed .phone .dropdown .more_phone > a,
#mobileheader .dropdown-mobile-phone .more_phone > a,
#mobilemenu .menu.phones .dropdown > li > a.phone {
  font-weight: 500;
}
