/**
 * Doctor LOR site layer — 1:1 with Joomla yoo_chester / dove.
 * Loaded after design.css. Do not use for other SAD337 sites.
 */
body.sad337-design {
  --container: 980px;
  --pad: 30px;
  --color-brand: #2d5a71;
  --color-brand-dark: #102028;
  --color-accent: #e31e24;
  --color-header: #5f95d3;
  --color-navbar: #f1ecde;
  --color-navbar-border: #394977;
  --color-footer-dark: #374977;
  --color-warning-bar: #008dd2;
  --color-page: #fdfbf5;
  --font-body: "Roboto", sans-serif;
  --font-display: "Roboto Condensed", sans-serif;
}

@media (min-width: 1220px) {
  body.sad337-design {
    --container: 1080px;
    --pad: 20px;
  }
}

body.sad337-design .site-container {
  max-width: var(--container);
  width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
  box-sizing: border-box;
}

/* ========== Header / logo-box ========== */
body.sad337-design .site-top.logo-box,
body.sad337-design .logo-box {
  padding: 36px 16px;
  background: #5f95d3;
  color: #222;
}

body.sad337-design .site-top:not(:has(.site-top-banner__extra)) {
  padding: 36px 16px;
  border-bottom: 0;
  background: #5f95d3;
}

body.sad337-design h2.main-name,
body.sad337-design .main-name {
  margin: 0 0 10px;
  padding: 0 0 10px;
  font-size: 62px;
  line-height: 1;
  color: #fefefe;
  font-family: var(--font-display);
  font-weight: 700;
}

body.sad337-design .mainname-text {
  font-size: 24px;
  line-height: 28px;
  color: #fefefe;
  font-family: var(--font-display);
  font-weight: 400;
}

body.sad337-design p.main-vremya,
body.sad337-design .main-vremya {
  margin: 0 0 15px;
  font-size: 27px;
  line-height: 28px;
  color: #fefefe;
  font-family: var(--font-display);
  text-align: right;
}

body.sad337-design p.main-time,
body.sad337-design .main-time {
  margin: 15px 0 7px;
  font-size: 31px;
  line-height: 28px;
  color: #fefefe;
  font-family: var(--font-display);
  text-align: right;
}

body.sad337-design p.main-tel,
body.sad337-design .main-tel {
  margin: 15px 0;
  font-size: 42px;
  line-height: 28px;
  color: #fefefe;
  font-family: var(--font-display);
  text-align: right;
}

body.sad337-design .header-logo,
body.sad337-design img.header-logo {
  max-width: 168px;
  width: 168px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

body.sad337-design .logo_pc .sad337-slideshow,
body.sad337-design .site-top-banner__col--logo .sad337-slideshow,
body.sad337-design .site-top-banner__col--logo .uk-slideshow,
body.sad337-design .sad337-header-logos {
  width: 168px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

body.sad337-design .sad337-header-logos .sad337-slideshow__viewport,
body.sad337-design .sad337-header-logos .sad337-slideshow__track,
body.sad337-design .sad337-header-logos .sad337-slideshow__slide,
body.sad337-design .sad337-header-logos .sad337-slideshow__figure {
  min-height: 0;
  height: auto;
}

body.sad337-design .sad337-header-logos .sad337-slideshow__slide {
  display: none;
}

body.sad337-design .sad337-header-logos .sad337-slideshow__slide.is-active {
  display: block;
}

body.sad337-design .sad337-header-logos .sad337-slideshow__figure img,
body.sad337-design .sad337-header-logos img.header-logo {
  width: 168px;
  max-width: 168px;
  max-height: none;
  height: auto;
  object-fit: contain;
}

body.sad337-design .sad337-header-logos .sad337-slideshow__nav,
body.sad337-design .sad337-header-logos .sad337-slideshow__dots {
  display: none;
}

body.sad337-design .site-top-banner,
body.sad337-design .logo_pc .uk-grid,
body.sad337-design .logo_pc {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
}

body.sad337-design .site-top-banner__col--logo,
body.sad337-design .site-top-banner__col--title,
body.sad337-design .site-top-banner__col--contact {
  min-width: 0;
}

body.sad337-design .site-top-banner__col--w-2-10,
body.sad337-design .site-top-banner__col--logo.site-top-banner__col--w-2-10 {
  flex: 0 0 20%;
  max-width: 20%;
}

body.sad337-design .site-top-banner__col--w-4-10,
body.sad337-design .site-top-banner__col--title.site-top-banner__col--w-4-10,
body.sad337-design .site-top-banner__col--contact.site-top-banner__col--w-4-10 {
  flex: 0 0 40%;
  max-width: 40%;
}

body.sad337-design .site-top-banner__col--w-1-5 {
  flex: 0 0 20%;
  max-width: 20%;
}

body.sad337-design .site-top-banner__col--w-3-10 {
  flex: 0 0 30%;
  max-width: 30%;
}

body.sad337-design .site-top-banner__col--logo {
  text-align: center;
  padding-right: 15px;
}

body.sad337-design .site-top-banner__col--title {
  text-align: left;
  padding-left: 15px;
  padding-right: 15px;
}

body.sad337-design .site-top-banner__col--contact,
body.sad337-design .site-top-banner__contacts {
  text-align: right;
  padding-left: 15px;
}

body.sad337-design .site-top-banner__contacts {
  margin-top: 0;
}

body.sad337-design .site-top-banner hr,
body.sad337-design #tm-top-a hr {
  background: #ffffff;
  border: 0;
  height: 2px;
  margin: 5px 0;
}

/* ========== Navbar ========== */
body.sad337-design .site-navbar,
body.sad337-design .tm-navbar-container {
  background: #f1ecde;
  padding: 10px 0;
  border-top: 0;
  border-bottom: 1px solid #394977;
  box-shadow: none;
}

body.sad337-design .site-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 50px;
  padding: 0;
  position: relative;
}

body.sad337-design .primary-nav {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

body.sad337-design .primary-nav > ul,
body.sad337-design .primary-nav .menu,
body.sad337-design .primary-nav .uk-navbar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  float: none;
}

body.sad337-design .primary-nav a,
body.sad337-design .primary-nav .menu > li > a,
body.sad337-design .primary-nav .uk-navbar-nav > li > a {
  display: block;
  box-sizing: border-box;
  position: relative;
  height: 32px;
  padding: 0 9px;
  margin: 6px 0;
  line-height: 27px;
  color: #2b2a29;
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  text-align: center;
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
  overflow: visible;
}

body.sad337-design .primary-nav .menu > li > a:before,
body.sad337-design .primary-nav .uk-navbar-nav > li > a:before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  height: 32px;
  width: 0;
  background: rgba(255, 255, 255, 0);
  transition: width 0.4s;
  border-radius: 12px;
  margin-top: -8px;
  z-index: -1;
}

body.sad337-design .primary-nav .menu > li:hover > a,
body.sad337-design .primary-nav .menu > li > a:hover,
body.sad337-design .primary-nav .menu > li > a:focus,
body.sad337-design .primary-nav .uk-navbar-nav > li:hover > a,
body.sad337-design .primary-nav a:hover,
body.sad337-design .primary-nav a:focus {
  background: transparent;
  color: #e31e24;
  outline: none;
  text-decoration: none;
  box-shadow: none;
}

body.sad337-design .primary-nav .menu > li:hover > a:before,
body.sad337-design .primary-nav .menu > li > a:focus:before,
body.sad337-design .primary-nav .uk-navbar-nav > li:hover > a:before {
  width: 100%;
}

body.sad337-design .primary-nav .menu > li.current-menu-item > a,
body.sad337-design .primary-nav .menu > li.current_page_item > a,
body.sad337-design .primary-nav .menu > li.current-menu-ancestor > a,
body.sad337-design .primary-nav .uk-navbar-nav > li.current-menu-item > a,
body.sad337-design .primary-nav .uk-navbar-nav > li.uk-active > a {
  background: transparent;
  color: #e11e24;
  font-size: 18px;
  text-decoration: none;
}

body.sad337-design .primary-nav .current-menu-item > a:before,
body.sad337-design .primary-nav .current_page_item > a:before {
  width: 100%;
}

body.sad337-design .primary-nav .sub-menu {
  background: #fff;
  border: 1px solid #dfceb2;
}

body.sad337-design .menu-toggle {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #222;
  display: none;
  align-items: center;
  justify-content: center;
}

body.sad337-design .menu-toggle__bars,
body.sad337-design .menu-toggle__bars::before,
body.sad337-design .menu-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
}

body.sad337-design .menu-toggle__bars {
  position: relative;
}

body.sad337-design .menu-toggle__bars::before,
body.sad337-design .menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

body.sad337-design .menu-toggle__bars::before {
  top: -7px;
}

body.sad337-design .menu-toggle__bars::after {
  top: 7px;
}

body.sad337-design .logo_mobile {
  display: none;
  width: 100%;
  text-align: center;
}

body.sad337-design .logo_mobile__logo {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

body.sad337-design .logo_mobile__text {
  text-align: center;
}

body.sad337-design h2.tel-name,
body.sad337-design .tel-name {
  font-size: 30px;
  line-height: 1;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  margin: 8px 0 -4px;
  padding: 0;
}

body.sad337-design .telname-text {
  font-size: 18px;
  line-height: 22px;
  color: #fff;
  font-family: var(--font-display);
  text-align: center;
}

/* Search — UIkit compact icon that expands */
body.sad337-design .site-navbar__search {
  flex: 0 0 auto;
  margin-left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

body.sad337-design .site-navbar__search .search-form,
body.sad337-design .site-navbar__search form.uk-search,
body.sad337-design .site-navbar__search .uk-search,
body.sad337-design .site-navbar__search .site-search__form {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 0;
}

body.sad337-design .site-navbar__search input[type="search"],
body.sad337-design .site-navbar__search input[type="text"],
body.sad337-design .site-navbar__search .uk-search-field,
body.sad337-design .site-navbar__search .site-search__field {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 40px;
  height: 30px;
  padding: 0 30px 0 0 !important;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font: inherit;
  line-height: 30px;
  color: #666;
  max-width: none;
  min-width: 0;
  cursor: pointer;
  transition: width 0.2s linear;
  box-shadow: none;
}

body.sad337-design .site-navbar__search input[type="search"]::placeholder,
body.sad337-design .site-navbar__search input[type="text"]::placeholder {
  color: transparent;
}

body.sad337-design .site-navbar__search input[type="search"]:focus,
body.sad337-design .site-navbar__search input[type="text"]:focus {
  width: 140px;
  outline: 0;
  cursor: text;
}

body.sad337-design .site-navbar__search input[type="search"]:focus::placeholder {
  color: #bbb;
}

body.sad337-design .site-navbar__search .search-submit,
body.sad337-design .site-navbar__search button[type="submit"],
body.sad337-design .site-navbar__search .site-search__submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  color: #2b2a29;
}

body.sad337-design .site-navbar__search .search-submit::before,
body.sad337-design .site-navbar__search .search-submit__icon {
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  text-indent: 0;
  background: #2b2a29;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") center / contain no-repeat;
}

/* ========== Hero / top-b ========== */
body.sad337-design .site-top-b,
body.sad337-design #tm-top-b,
body.sad337-design .tm-block-top-b {
  background: #f1ecde;
  margin-top: 20px;
  padding: 20px 0;
}

body.sad337-design .site-top-b .site-container,
body.sad337-design #tm-top-b .uk-container {
  max-width: var(--container);
}

body.sad337-design .sad337-slideshow,
body.sad337-design .site-top-b .sad337-slideshow {
  margin: 0;
}

body.sad337-design .site-top-b .sad337-slideshow,
body.sad337-design .site-top-b .sad337-slideshow__viewport,
body.sad337-design .site-top-b .sad337-slideshow__track {
  min-height: 0;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

body.sad337-design .site-top-b .sad337-slideshow .sad337-cols,
body.sad337-design .site-top-b .sad337-slideshow__figure .sad337-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  align-items: center;
}

body.sad337-design .site-top-b .sad337-slideshow__figure,
body.sad337-design .site-top-b .sad337-slideshow__figure--html {
  text-align: left;
}

body.sad337-design .site-top-b .sad337-slideshow img,
body.sad337-design .site-top-b .sad337-slideshow__figure img {
  width: auto;
  max-width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  display: block;
}

body.sad337-design .site-top-b .sad337-slideshow__dots {
  background: transparent;
  padding: 8px 0 0;
}

body.sad337-design div.slider1-bigtext,
body.sad337-design .slider1-bigtext {
  color: #374977;
  font-size: 38px;
  line-height: 37px;
  font-family: var(--font-display);
  margin-bottom: 35px;
}

body.sad337-design div.slider1-ts,
body.sad337-design .slider1-ts {
  font-size: 16px;
  margin-bottom: 19px;
  color: #222;
}

body.sad337-design .slider2-bigtext,
body.sad337-design div.slider2-bigtext {
  font-family: var(--font-display);
  font-weight: 400;
  color: #374977;
  text-align: center;
  font-size: 35px;
  line-height: 1;
  margin: 0 0 19px;
}

/* ========== Content typography ========== */
body.sad337-design .site-content {
  background: transparent;
  padding: 20px 0 40px;
}

body.sad337-design .breadcrumbs-wrap,
body.sad337-design .breadcrumbs,
body.sad337-design .site-breadcrumbs {
  display: none;
}

body.sad337-design .entry-title,
body.sad337-design .page-title,
body.sad337-design h1,
body.sad337-design .uk-article-title,
body.sad337-design .uk-h1 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 30px;
  color: #003399;
  text-transform: none;
}

body.sad337-design h2,
body.sad337-design .uk-h2 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 26px;
  color: #603729;
  text-transform: none;
}

body.sad337-design h2.main-name,
body.sad337-design .main-name {
  color: #fefefe;
  font-size: 62px;
  line-height: 1;
  font-weight: 700;
}

body.sad337-design h2.tel-name {
  font-size: 30px;
  line-height: 1;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

body.sad337-design h3,
body.sad337-design .uk-h3 {
  margin: 0 0 10px;
  padding: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 24px;
  color: #2b2a29;
}

body.sad337-design h4,
body.sad337-design .uk-h4 {
  margin: 0 0 10px;
  padding: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 22px;
}

body.sad337-design .entry-content,
body.sad337-design .site-main {
  font-size: 14px;
  line-height: 19px;
}

body.sad337-design .entry-content a,
body.sad337-design .site-main a {
  color: #2d5a71;
  text-decoration: none;
}

body.sad337-design .entry-content a:hover,
body.sad337-design .site-main a:hover {
  color: #102028;
  text-decoration: underline;
}

/* ========== Buttons ========== */
body.sad337-design .uk-button,
body.sad337-design a.uk-button,
body.sad337-design .btn,
body.sad337-design a.btn {
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  padding: 0 12px;
  min-height: 30px;
  line-height: 30px;
  font-size: 14px;
  font-family: var(--font-body);
  text-align: center;
  text-decoration: none !important;
  vertical-align: middle;
  border: 1px solid #666;
  background: transparent;
  color: #666 !important;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: color 0.4s, background 0.2s;
}

body.sad337-design .uk-button-primary,
body.sad337-design a.uk-button-primary,
body.sad337-design .new-primary {
  background-color: #006031;
  background-image: none;
  color: #fff !important;
  border-color: transparent;
}

body.sad337-design .btn-primary,
body.sad337-design a.btn-primary {
  background-color: #2d5a71;
  background-image: linear-gradient(to bottom, #2d5a71, #172e3a);
  color: #fff !important;
  border-color: #172e3a;
  padding: 4px 12px;
  min-height: 32px;
  line-height: 22px;
  font-size: 15px;
}

body.sad337-design .uk-button-primary:hover,
body.sad337-design a.uk-button-primary:hover,
body.sad337-design .new-primary:hover,
body.sad337-design .wpcf7-submit:hover,
body.sad337-design button[type="submit"]:hover,
body.sad337-design input[type="submit"]:hover {
  background-color: #172e3a;
  background-image: none;
  color: #fff !important;
  border-color: transparent;
}

body.sad337-design .btn-primary:hover,
body.sad337-design a.btn-primary:hover {
  background-color: #172e3a;
  background-image: none;
  color: #fff !important;
  border-color: #172e3a;
}

body.sad337-design .uk-button-success,
body.sad337-design a.uk-button-success,
body.sad337-design .btn-success,
body.sad337-design a.btn-success {
  background-color: #8ac187;
  color: #fff !important;
  border-color: transparent;
}

body.sad337-design .uk-button-success:hover,
body.sad337-design a.uk-button-success:hover,
body.sad337-design .btn-success:hover,
body.sad337-design a.btn-success:hover {
  background-color: #83ae81;
  color: #fff !important;
}

body.sad337-design .uk-button-danger,
body.sad337-design a.uk-button-danger,
body.sad337-design .btn-danger,
body.sad337-design a.btn-danger,
body.sad337-design a[href*="med.ax"],
body.sad337-design a[href*="booking.medflex"] {
  background-color: #c74044;
  color: #fff !important;
  border-color: transparent;
  display: inline-block;
  padding: 0 12px;
  min-height: 30px;
  line-height: 30px;
  text-decoration: none !important;
}

body.sad337-design .uk-button-danger:hover,
body.sad337-design a.uk-button-danger:hover,
body.sad337-design a[href*="med.ax"]:hover,
body.sad337-design a[href*="booking.medflex"]:hover {
  background-color: #ac4245;
  color: #fff !important;
  text-decoration: none !important;
}

body.sad337-design .btn:hover,
body.sad337-design a.btn:hover,
body.sad337-design .wp-block-button__link:hover {
  background: #172e3a;
  background-image: none;
  color: #fff !important;
}

body.sad337-design a.uk-button-success:hover,
body.sad337-design .uk-button-success:hover,
body.sad337-design a.btn-success:hover {
  background: #83ae81;
}

body.sad337-design a.uk-button-danger:hover,
body.sad337-design .uk-button-danger:hover,
body.sad337-design a.btn-danger:hover {
  background: #ac4245;
}

body.sad337-design .wpcf7-submit,
body.sad337-design button[type="submit"],
body.sad337-design input[type="submit"] {
  background: #2d5a71;
  color: #fff !important;
  border: 0;
  border-radius: 0;
  padding: 4px 12px;
}

/* ========== Dove content blocks ========== */
body.sad337-design .spr {
  padding: 20px;
  border: 1px solid #2b2a29;
  background: #f1ecde;
}

body.sad337-design .box-note {
  margin: 20px 0;
  padding: 10px;
  border-radius: 12px;
  background: #e8dabf;
  color: #000;
}

body.sad337-design .main-top {
  overflow: visible;
  max-width: 100%;
}

body.sad337-design .announce-box,
body.sad337-design .main-top > div[style*="ff9900"] {
  background: #fbf0e3;
  border: 5px solid #ff9900;
  border-radius: 20px;
  padding: 20px;
  color: #000;
  font-weight: 500;
  margin: 0 0 20px;
}

body.sad337-design .announce-box p,
body.sad337-design .main-top .announce-box p {
  margin: 0 0 10px;
}

body.sad337-design .announce-box h4,
body.sad337-design .main-top .announce-box h4 {
  color: #000;
  font-size: 20px;
  line-height: 22px;
  margin: 0 0 10px;
  padding: 0;
}

body.sad337-design .promo-text p,
body.sad337-design div.promo-text p {
  background-color: #374977;
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 34px;
  padding: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1;
}

body.sad337-design .pluso,
body.sad337-design .plusoru,
body.sad337-design .next-block.plusoru {
  display: none !important;
}

body.sad337-design .sad337-yandex-map {
  display: block;
  width: 100%;
  height: 400px;
  margin: 0 0 20px;
}

body.sad337-design .next-block .sad337-yandex-map {
  margin-bottom: 0;
}

body.sad337-design .next-block,
body.sad337-design div.next-block {
  margin-bottom: 20px;
}

body.sad337-design .block-bonus,
body.sad337-design .block-ugn,
body.sad337-design .block-skidky,
body.sad337-design div.block-bonus,
body.sad337-design div.block-ugn,
body.sad337-design div.block-skidky,
body.sad337-design .entry__content .block-bonus.sad337-cols,
body.sad337-design .entry-content .block-bonus.sad337-cols,
body.sad337-design .entry__content .block-ugn.sad337-cols,
body.sad337-design .entry-content .block-ugn.sad337-cols,
body.sad337-design .entry__content .block-skidky.sad337-cols,
body.sad337-design .entry-content .block-skidky.sad337-cols {
  display: block;
  grid-template-columns: none;
  gap: 0;
  background: #f1ecde;
  border: 1px solid #2b2a29;
}

body.sad337-design .block-skidky,
body.sad337-design div.block-skidky,
body.sad337-design .entry__content .block-skidky.sad337-cols {
  background: transparent;
  border: 0;
}

body.sad337-design .bonus-img,
body.sad337-design div.bonus-img {
  display: block;
  width: 73%;
  position: relative;
  margin: 23px auto;
}

body.sad337-design .bonus-img img,
body.sad337-design .ugn-img img,
body.sad337-design .skidky-img img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

body.sad337-design .bonus-text p,
body.sad337-design div.bonus-text p {
  color: #374977;
  text-align: center;
  font-family: var(--font-display);
  font-size: 33px;
  line-height: 1.1;
  margin: 0 0 16px;
}

body.sad337-design .ugn-img,
body.sad337-design div.ugn-img {
  display: block;
  width: 45%;
  margin: 20px auto;
}

body.sad337-design .ugn-text p,
body.sad337-design div.ugn-text p {
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.1;
  margin: 0 0 8px;
}

body.sad337-design .block-ugn > p,
body.sad337-design div.block-ugn > p {
  margin: 0;
  line-height: 0;
}

body.sad337-design .block-ugn a.btn.btn-primary,
body.sad337-design div.block-ugn a.btn.btn-primary {
  margin: 0 auto 8px;
  display: block;
  max-width: none;
  width: max-content;
  box-sizing: content-box;
  overflow: visible;
  min-height: 0;
  padding: 4px 12px;
}

body.sad337-design .skidky-img,
body.sad337-design div.skidky-img {
  display: block;
  width: 50%;
  margin: 15px auto;
}

body.sad337-design .next-block.skidky a.btn.btn-primary {
  margin: 0 auto 15px;
  display: block;
  max-width: 154px;
  width: max-content;
  box-sizing: content-box;
  overflow: visible;
}

body.sad337-design .kanyk {
  background: #f1ecde;
  border: 1px solid #9d9e9e;
  padding: 18px;
}

body.sad337-design .kanyk > .sad337-cols,
body.sad337-design .entry__content .kanyk > .sad337-cols,
body.sad337-design .entry-content .kanyk > .sad337-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  align-items: center;
}

body.sad337-design img.priemnaya-img,
body.sad337-design .vzr img {
  border: 1px solid #374977;
}

body.sad337-design .spets-img,
body.sad337-design div.spets-img {
  display: block;
  width: 75%;
  margin: 0 auto 15px;
}

body.sad337-design .spets-name p,
body.sad337-design div.spets-name p {
  color: #374977;
  font-size: 16px;
  line-height: 1;
  font-family: var(--font-display);
  text-align: center;
  font-weight: 700;
}

body.sad337-design .kanyk-bigtext,
body.sad337-design div.kanyk-bigtext {
  font-family: var(--font-display);
  color: #374977;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
}

body.sad337-design .protsent-big,
body.sad337-design .protsent-big p {
  color: #e31e24;
}

body.sad337-design .protsent-small,
body.sad337-design .protsent-small p {
  color: #ef7f1a;
}

body.sad337-design .skidky-protsent p {
  text-align: center;
  font-size: 50px;
  line-height: 1;
  font-family: var(--font-display);
  margin-bottom: 3px;
}

body.sad337-design .skidky-text p {
  font-family: var(--font-display);
  text-align: center;
  font-size: 20px;
  line-height: 1;
}

body.sad337-design .next-block.skidky > .sad337-cols,
body.sad337-design .entry__content .next-block.skidky > .sad337-cols,
body.sad337-design .entry-content .next-block.skidky > .sad337-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
}

body.sad337-design .next-block.spr,
body.sad337-design .spr {
  padding: 20px;
  border: 1px solid #2b2a29;
  background: #f1ecde;
}

body.sad337-design .spr .sad337-slideshow,
body.sad337-design .spr .sad337-slideshow__viewport,
body.sad337-design .spr .sad337-slideshow__track,
body.sad337-design .spr .sad337-slideshow__figure,
body.sad337-design .spr .sad337-slideshow__figure--html {
  min-height: 0;
  overflow: visible;
  margin: 0;
  background: transparent;
  border-radius: 0;
  text-align: left;
}

body.sad337-design .spr .sad337-slideshow__dots,
body.sad337-design .spr .sad337-slideshow__nav {
  display: none;
}

body.sad337-design .entry__content .spr .sad337-cols,
body.sad337-design .entry-content .spr .sad337-cols,
body.sad337-design .entry__content .spr .sad337-slideshow .sad337-cols,
body.sad337-design .entry-content .spr .sad337-slideshow .sad337-cols,
body.sad337-design .spr .sad337-slideshow .sad337-cols {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px 25px;
  align-items: start;
  margin-bottom: 0;
}

body.sad337-design .spr .sad337-slideshow img {
  width: auto;
  max-width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  display: block;
}

body.sad337-design .sad337-slideset.sad337-slideshow,
body.sad337-design .entry-content .sad337-slideset,
body.sad337-design .entry__content .sad337-slideset {
  min-height: 0;
  overflow: visible;
  margin: 0 0 20px;
  background: transparent;
  border-radius: 0;
}

body.sad337-design .sad337-slideset .sad337-slideshow__viewport,
body.sad337-design .sad337-slideset .sad337-slideshow__track,
body.sad337-design .sad337-slideset .sad337-slideshow__figure {
  min-height: 0;
  overflow: visible;
  text-align: center;
}

body.sad337-design .sad337-slideset .sad337-slideshow__figure img {
  width: auto;
  max-width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  margin: 0 auto 15px;
}

body.sad337-design .sad337-slideset__grid,
body.sad337-design .sad337-slideset__grid--cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: stretch;
}

body.sad337-design .sad337-slideset__item,
body.sad337-design .sad337-slideset .uk-panel-box {
  display: block;
  padding: 16px;
  background: #faf5ef;
  color: #222;
  border-bottom: #0085f6 solid 4px;
  margin-top: 20px;
  text-align: center;
  box-sizing: border-box;
}

body.sad337-design .sad337-slideset .uk-panel-title {
  font-size: 20px;
  line-height: 27px;
  font-family: var(--font-display);
  font-weight: 400;
  color: #222;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 4px;
  margin: 0 0 15px;
}

body.sad337-design .sad337-slideset .uk-button-success,
body.sad337-design .sad337-slideset a.uk-button-success {
  background-color: #8ac187;
  color: #fff !important;
}

body.sad337-design .sad337-slideset .uk-button-danger,
body.sad337-design .sad337-slideset a.uk-button-danger {
  background-color: #c74044;
  color: #fff !important;
}

body.sad337-design .sad337-slideset .sad337-slideshow__dots {
  background: transparent;
  padding: 12px 0 0;
}

body.sad337-design .entry__content .slider2-ol ol,
body.sad337-design .entry-content .slider2-ol ol,
body.sad337-design div.slider2-ol ol,
body.sad337-design .slider2-ol ol {
  margin: 0 0 16px 20px;
  padding: 0;
  list-style: none;
  counter-reset: myCounter;
}

body.sad337-design .entry__content .slider2-ol ol li,
body.sad337-design .slider2-ol ol li,
body.sad337-design div.slider2-ol ol li {
  list-style: none;
  margin: 0 0 5px;
  padding: 0;
  border: 1px solid #2b2a29;
  color: #2b2a29;
  background: #fff;
  font-size: 21px;
  line-height: 24px;
  font-family: var(--font-body);
  overflow: visible;
}

body.sad337-design .slider2-ol ol li::before,
body.sad337-design div.slider2-ol ol li:before {
  margin-right: 15px;
  text-align: center;
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 33px;
  font-size: 21px;
  font-weight: 700;
  counter-increment: myCounter;
  content: counter(myCounter);
  background: #fff;
  color: #e31e24;
  border-radius: 16px;
  border: 1px solid #e21e24;
  position: relative;
  left: -18px;
  top: 0;
  box-sizing: border-box;
  vertical-align: top;
}

body.sad337-design .uk-overlay-scale {
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

body.sad337-design a:hover .uk-overlay-scale,
body.sad337-design .uk-overlay-hover:hover .uk-overlay-scale {
  transform: scale(1.1);
}

body.sad337-design .sad337-gallery,
body.sad337-design .gallery {
  display: grid;
  gap: 16px;
}

body.sad337-design .sad337-gallery:not([class*="sad337-gallery--cols"]),
body.sad337-design .gallery {
  grid-template-columns: repeat(2, 1fr);
}

body.sad337-design .entry__content .sad337-gallery--cols-1,
body.sad337-design .sad337-gallery--cols-1 {
  grid-template-columns: 1fr;
}

body.sad337-design .entry__content .sad337-gallery--cols-2,
body.sad337-design .sad337-gallery--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

body.sad337-design .entry__content .sad337-gallery--cols-3,
body.sad337-design .sad337-gallery--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

body.sad337-design .entry__content .sad337-gallery--cols-4,
body.sad337-design .sad337-gallery--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

body.sad337-design .entry__content .sad337-gallery__thumb,
body.sad337-design .sad337-gallery__thumb {
  height: auto;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

body.sad337-design .entry__content .sad337-gallery__thumb img,
body.sad337-design .sad337-gallery__thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

body.sad337-design .news-archive__excerpt .sad337-gallery__thumb {
  height: 120px;
  overflow: hidden;
}

body.sad337-design .news-archive__excerpt .sad337-gallery__thumb img {
  height: 100%;
  object-fit: cover;
}

body.sad337-design table th {
  background: #faf5ef;
  font-family: var(--font-display);
}

body.sad337-design ul.spravk {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
}

body.sad337-design ul.spravk li {
  display: inline-block;
}

body.sad337-design ul.spravk li a.btn.btn-primary {
  padding: 0 4px;
  margin: 2px 1px;
}

body.sad337-design .uk-panel-title {
  font-size: 20px;
  line-height: 27px;
  font-family: var(--font-display);
  font-weight: 400;
  color: #222;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 4px;
  margin: 0 0 15px;
}

body.sad337-design .sad337-grid {
  display: grid;
  gap: 25px;
  margin: 20px 0;
  text-align: center;
}

body.sad337-design .sad337-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

body.sad337-design .sad337-grid__col--panel,
body.sad337-design .uk-panel-box-primary {
  padding: 16px;
  background-color: #f1ecde;
  color: #666;
  border: 1px solid #ccc;
  border-radius: 0;
  text-align: center;
}

body.sad337-design .sad337-grid__title {
  margin: 0 0 15px;
  font-size: 20px;
  line-height: 27px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: #222;
  text-align: center;
}

body.sad337-design .sad337-grid__col--panel img,
body.sad337-design .sad337-grid__col--panel .wp-block-image {
  display: block;
  margin: 0 auto 15px;
}

body.sad337-design .sad337-grid__col--panel img {
  width: 146px;
  height: 146px;
  object-fit: cover;
  max-width: 146px;
}

body.sad337-design .sad337-grid__content a,
body.sad337-design .entry__content .sad337-grid__content a {
  display: inline-block;
  box-sizing: border-box;
  padding: 0 12px;
  min-height: 30px;
  line-height: 30px;
  background-color: #8ac187;
  color: #fff !important;
  border: 1px solid transparent;
  text-decoration: none !important;
  font-size: 14px;
  font-family: var(--font-body);
}

body.sad337-design .sad337-grid__content a:hover,
body.sad337-design .entry__content .sad337-grid__content a:hover {
  background-color: #83ae81;
  color: #fff !important;
  text-decoration: none !important;
}

body.sad337-design .entry__content .sad337-cols,
body.sad337-design .entry-content .sad337-cols {
  display: grid;
  gap: 20px 24px;
  margin-bottom: 1.25rem;
}

body.sad337-design .entry__content .sad337-cols:has(> :nth-child(4)),
body.sad337-design .entry-content .sad337-cols:has(> :nth-child(4)) {
  grid-template-columns: repeat(4, 1fr);
}

body.sad337-design .entry__content .sad337-cols:has(> :nth-child(3):last-child),
body.sad337-design .entry-content .sad337-cols:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

body.sad337-design .entry__content .sad337-cols:has(> :nth-child(2):last-child),
body.sad337-design .entry-content .sad337-cols:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

body.sad337-design .entry__content .spr .sad337-cols:has(> :nth-child(2):last-child),
body.sad337-design .entry-content .spr .sad337-cols:has(> :nth-child(2):last-child),
body.sad337-design .entry__content .spr .sad337-slideshow .sad337-cols:has(> :nth-child(2):last-child),
body.sad337-design .entry-content .spr .sad337-slideshow .sad337-cols:has(> :nth-child(2):last-child) {
  grid-template-columns: 2fr 3fr;
  gap: 20px 25px;
  align-items: start;
  margin-bottom: 0;
}

body.sad337-design .spr .slider2-ol + p:empty {
  display: none;
  margin: 0;
}

body.sad337-design .site-top-b a.btn.btn-primary,
body.sad337-design .site-top-b .sad337-slideshow a.btn-primary,
body.sad337-design .slider1-ts + a.btn-primary {
  display: inline-block;
  padding: 4px 12px;
  min-height: 32px;
  line-height: 22px;
  background-color: #2d5a71;
  background-image: linear-gradient(to bottom, #2d5a71, #172e3a);
  color: #fff !important;
  border: 1px solid #172e3a;
  text-decoration: none !important;
}

body.sad337-design .site-top-b a.btn.btn-primary:hover,
body.sad337-design .site-top-b .sad337-slideshow a.btn-primary:hover {
  background-color: #172e3a;
  background-image: none;
  color: #fff !important;
}

/* ========== Footer ========== */
body.sad337-design .fondark {
  padding: 16px;
  background: #374977;
  color: #000;
  margin: 8px 0 0;
}

body.sad337-design .fondark .site-bottom-d,
body.sad337-design #tm-bottom-d {
  background: transparent;
  padding: 0;
  color: #fdfdfd;
}

body.sad337-design .fondark h3,
body.sad337-design #tm-bottom-d h3,
body.sad337-design .fondark .uk-panel-title {
  color: #fefefe;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: 16px;
  line-height: 1;
  margin: 0 0 10px;
  padding: 0;
  text-transform: none;
  text-align: left;
}

body.sad337-design .fondark ul,
body.sad337-design #tm-bottom-d ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sad337-design .fondark li,
body.sad337-design #tm-bottom-d li {
  color: #fdfdfd;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 4px;
}

body.sad337-design a.bottom-links,
body.sad337-design .bottom-links,
body.sad337-design .fondark a {
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
}

body.sad337-design a.bottom-links:hover,
body.sad337-design a:hover.bottom-links,
body.sad337-design .fondark a:hover {
  color: #fff !important;
  text-decoration: underline;
}

body.sad337-design .fondark .sad337-cols,
body.sad337-design #tm-bottom-d .sad337-cols,
body.sad337-design .fondark .uk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body.sad337-design .fonlight,
body.sad337-design .site-footer-wrap {
  padding: 20px 0;
  background: #fff;
  color: #222;
}

body.sad337-design .site-footer,
body.sad337-design .tm-footer {
  position: relative;
  background: transparent;
  border: 0;
  color: #222;
  padding: 0;
}

body.sad337-design p.footer-varning,
body.sad337-design .footer-varning {
  background: #008dd2;
  color: #fff;
  display: block;
  width: auto;
  font-size: 17px;
  line-height: 1;
  padding: 11px;
  margin: -15px 0 15px;
  font-family: var(--font-body);
  text-align: center;
}

body.sad337-design .site-footer p.site-footer__disclaimer:not(.footer-varning) {
  display: none;
}

body.sad337-design .site-footer a {
  color: #2d5a71;
}

body.sad337-design .site-footer .sad337-cols.site-footer__columns,
body.sad337-design .site-footer__columns {
  display: grid;
  grid-template-columns: 3fr 4fr 2fr 1fr;
  gap: 20px 16px;
  align-items: start;
  margin: 20px 0 0;
}

body.sad337-design .site-footer .site-footer__col--copy {
  text-align: left;
  line-height: 1.45;
}

body.sad337-design .site-footer .site-footer__columns > :nth-child(2) {
  text-align: center;
}

body.sad337-design .site-footer .site-footer__columns > :nth-child(3) {
  text-align: right;
}

body.sad337-design .site-footer .site-footer__columns > :nth-child(3) p {
  text-align: right;
  margin: 0 0 8px;
}

body.sad337-design .site-footer .site-footer__columns > :nth-child(3) img {
  float: right;
  margin: 0;
  max-width: 88px;
  height: auto;
}

body.sad337-design .site-footer .mceNonEditable {
  text-align: center;
}

body.sad337-design .site-footer .mceNonEditable img {
  display: inline-block;
  vertical-align: middle;
  width: 88px;
  height: 31px;
}

body.sad337-design .site-footer .sad337-cols details,
body.sad337-design .site-footer .sad337-cols details * {
  color: #222 !important;
}

body.sad337-design .site-footer .sad337-cols details {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  max-width: 100%;
}

body.sad337-design .site-footer .sad337-cols details summary {
  display: block;
  background: #eeede0;
  cursor: pointer;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 5px 0 10px;
  padding: 5px 20px;
  border: 1px solid #000;
  border-radius: 0;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  color: #222 !important;
  list-style: none;
}

body.sad337-design .site-footer .sad337-cols details summary::-webkit-details-marker {
  display: none;
}

body.sad337-design .site-footer .sad337-cols details > :not(summary) {
  padding: 6px 0 16px;
  background: transparent;
  font-size: 15px;
  line-height: 1.4;
  text-transform: none;
  text-align: left;
}

body.sad337-design .tm-totop-scroller {
  position: absolute;
  top: 65px;
  right: 0;
  width: 40px;
  height: 40px;
  color: #005b5b;
  text-decoration: none;
  z-index: 2;
}

body.sad337-design .tm-totop-scroller::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #8eb9b1;
  border-radius: 50%;
  background: #e8e8e8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23005B5B' d='M6 1 L1 6 L2.2 7.2 L6 3.4 L9.8 7.2 L11 6 Z'/></svg>");
  background-repeat: no-repeat;
  background-position: center 12px;
  background-size: 12px 8px;
}

body.sad337-design .tm-totop-scroller:hover,
body.sad337-design .tm-totop-scroller:hover::before {
  color: #cecece;
  text-decoration: none;
}

/* Keep header name/phone colors if global h2/p rules bleed */
body.sad337-design .logo-box h2.main-name,
body.sad337-design .logo-box .main-name,
body.sad337-design .logo-box .mainname-text,
body.sad337-design .logo-box .main-vremya,
body.sad337-design .logo-box .main-time,
body.sad337-design .logo-box .main-tel {
  color: #fefefe;
}

/* ========== Responsive: Joomla header 800px, offcanvas nav 959px ========== */
@media (max-width: 1024px) {
  body.sad337-design .fondark .sad337-cols,
  body.sad337-design #tm-bottom-d .sad337-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 801px) {
  body.sad337-design .logo_pc {
    display: flex !important;
  }

  body.sad337-design .logo_mobile {
    display: none !important;
  }
}

@media (max-width: 959px) {
  body.sad337-design .menu-toggle {
    display: inline-flex;
  }

  body.sad337-design .primary-nav {
    display: none;
    width: 100%;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  body.sad337-design.nav-open .primary-nav {
    display: block;
  }

  body.sad337-design .primary-nav > ul,
  body.sad337-design .primary-nav .menu,
  body.sad337-design .primary-nav .uk-navbar-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  body.sad337-design .site-navbar__inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
  }

  body.sad337-design .site-navbar__search {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    margin-left: auto;
    min-width: 0;
  }
}

@media (max-width: 800px) {
  body.sad337-design {
    --pad: 15px;
  }

  body.sad337-design .logo_pc {
    display: none !important;
  }

  body.sad337-design .logo_mobile {
    display: block !important;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  body.sad337-design .sad337-header-logos,
  body.sad337-design .sad337-header-logos .sad337-slideshow__figure img,
  body.sad337-design .sad337-header-logos img.header-logo {
    width: 90px;
    max-width: 90px;
  }

  body.sad337-design .entry__content .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry__content .sad337-cols:has(> :nth-child(3):last-child),
  body.sad337-design .entry-content .sad337-cols:has(> :nth-child(3):last-child),
  body.sad337-design .entry__content .sad337-cols:has(> :nth-child(4)),
  body.sad337-design .entry-content .sad337-cols:has(> :nth-child(4)),
  body.sad337-design .kanyk > .sad337-cols,
  body.sad337-design .entry__content .kanyk > .sad337-cols,
  body.sad337-design .entry-content .kanyk > .sad337-cols,
  body.sad337-design .next-block > .sad337-cols,
  body.sad337-design .entry__content .next-block > .sad337-cols,
  body.sad337-design .entry-content .next-block > .sad337-cols,
  body.sad337-design .next-block.ugn > .sad337-cols,
  body.sad337-design .next-block.vzr > .sad337-cols,
  body.sad337-design .entry__content .spr .sad337-cols,
  body.sad337-design .entry-content .spr .sad337-cols,
  body.sad337-design .entry__content .spr .sad337-slideshow .sad337-cols,
  body.sad337-design .entry-content .spr .sad337-slideshow .sad337-cols,
  body.sad337-design .spr .sad337-slideshow .sad337-cols,
  body.sad337-design .entry__content .spr .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .spr .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry__content .spr .sad337-slideshow .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .spr .sad337-slideshow .sad337-cols:has(> :nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }

  body.sad337-design .entry__content .block-bonus.sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .block-bonus.sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry__content .block-ugn.sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .block-ugn.sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry__content .block-skidky.sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .block-skidky.sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry__content .block-skidky.sad337-cols:has(> :nth-child(3):last-child),
  body.sad337-design .entry-content .block-skidky.sad337-cols:has(> :nth-child(3):last-child),
  body.sad337-design .entry__content .block-bonus.sad337-cols:has(> :nth-child(3):last-child),
  body.sad337-design .entry-content .block-bonus.sad337-cols:has(> :nth-child(3):last-child),
  body.sad337-design .entry__content .block-bonus.sad337-cols,
  body.sad337-design .entry-content .block-bonus.sad337-cols,
  body.sad337-design .entry__content .block-ugn.sad337-cols,
  body.sad337-design .entry-content .block-ugn.sad337-cols,
  body.sad337-design .entry__content .block-skidky.sad337-cols,
  body.sad337-design .entry-content .block-skidky.sad337-cols {
    display: block;
    grid-template-columns: none;
  }

  body.sad337-design .entry__content .next-block.skidky > .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .next-block.skidky > .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .next-block.skidky > .sad337-cols,
  body.sad337-design .entry__content .next-block.skidky > .sad337-cols {
    grid-template-columns: 1fr 1fr;
  }

  body.sad337-design .slider2-bigtext,
  body.sad337-design div.slider2-bigtext {
    font-size: 26px;
    line-height: 1.15;
  }

  body.sad337-design .slider2-ol ol,
  body.sad337-design .entry__content .slider2-ol ol {
    margin-left: 18px;
    padding-left: 8px;
  }

  body.sad337-design .sad337-slideset__grid,
  body.sad337-design .sad337-slideset__grid--cols-3 {
    grid-template-columns: 1fr;
  }

  body.sad337-design .site-top.logo-box,
  body.sad337-design .logo-box,
  body.sad337-design .site-top:not(:has(.site-top-banner__extra)) {
    padding: 16px;
  }

  body.sad337-design .site-top-b .sad337-slideshow .sad337-cols,
  body.sad337-design .site-top-b .sad337-slideshow__figure .sad337-cols {
    grid-template-columns: 1fr;
  }

  body.sad337-design div.slider1-bigtext,
  body.sad337-design .slider1-bigtext {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  body.sad337-design .site-top-banner {
    flex-wrap: wrap;
  }

  body.sad337-design .site-top-banner__col--logo,
  body.sad337-design .site-top-banner__col--title,
  body.sad337-design .site-top-banner__col--contact,
  body.sad337-design .site-top-banner__col--w-2-10,
  body.sad337-design .site-top-banner__col--w-4-10,
  body.sad337-design .site-top-banner [class*="uk-width"] {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 8px 0 !important;
  }

  body.sad337-design h2.main-name,
  body.sad337-design .main-name,
  body.sad337-design .logo-box h2.main-name {
    font-size: 30px;
    line-height: 1;
    padding-bottom: 0;
    margin: 8px 0 -4px;
    text-align: center;
  }

  body.sad337-design .mainname-text {
    font-size: 18px;
    line-height: 22px;
    text-align: center;
  }

  body.sad337-design p.main-tel,
  body.sad337-design .main-tel {
    font-size: 26px;
    line-height: 1.2;
    margin: 8px 0;
  }

  body.sad337-design p.main-time,
  body.sad337-design .main-time,
  body.sad337-design p.main-vremya,
  body.sad337-design .main-vremya {
    text-align: center;
    margin: 4px 0;
    font-size: 18px;
    line-height: 22px;
  }

  body.sad337-design .header-logo,
  body.sad337-design img.header-logo {
    max-width: 90px;
    width: 90px;
  }

  body.sad337-design .site-footer .sad337-cols.site-footer__columns,
  body.sad337-design .site-footer__columns {
    grid-template-columns: 1fr;
  }

  body.sad337-design .site-footer .site-footer__columns > :nth-child(3),
  body.sad337-design .site-footer .site-footer__columns > :nth-child(3) p {
    text-align: center;
  }

  body.sad337-design .site-footer .site-footer__columns > :nth-child(3) img {
    float: none;
    display: block;
    margin: 0 auto;
  }

  body.sad337-design .site-footer .site-footer__columns > :nth-child(4) {
    display: none;
  }

  body.sad337-design .tm-totop-scroller {
    position: static;
    margin: 16px auto 0;
  }

  body.sad337-design .sad337-gallery,
  body.sad337-design .gallery,
  body.sad337-design .entry__content .sad337-gallery--cols-3,
  body.sad337-design .sad337-gallery--cols-3 {
    grid-template-columns: 1fr;
  }

  body.sad337-design .fondark .sad337-cols,
  body.sad337-design #tm-bottom-d .sad337-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body.sad337-design h2.main-name,
  body.sad337-design .main-name {
    font-size: 28px;
  }

  body.sad337-design .mainname-text {
    font-size: 16px;
    line-height: 20px;
  }

  body.sad337-design .header-logo,
  body.sad337-design img.header-logo,
  body.sad337-design .sad337-header-logos,
  body.sad337-design .sad337-header-logos img.header-logo {
    max-width: 90px;
    width: 90px;
  }

  body.sad337-design .entry__content .next-block.skidky > .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .entry-content .next-block.skidky > .sad337-cols:has(> :nth-child(2):last-child),
  body.sad337-design .next-block.skidky > .sad337-cols,
  body.sad337-design .entry__content .next-block.skidky > .sad337-cols {
    grid-template-columns: 1fr;
  }
}
