/**
 * ds-raduga-ostrov вЂ” visual parity with Joomla YOOtheme Chester dove (solstomfon / Philosopher).
 * Loads after theme.css + design.css.
 */

:root {
  --raduga-brand: #2d5a71;
  --raduga-brand-dark: #102028;
  --raduga-accent: #4488bb;
  --raduga-logo-border: #2D5A71;
  --raduga-logo-bg: #ffffff;
  --raduga-h1: #003399;
  --raduga-h1-home: #0066cc;
  --raduga-text: #222222;
  --raduga-muted: #666666;
  --raduga-heading: #444444;
  --raduga-border: #dddddd;
  --raduga-salat: #caf0e4;
  --raduga-nav-font: "Roboto Condensed", "PT Sans Narrow", sans-serif;
  --container: 1180px;
  --link: var(--raduga-brand);
  --text: var(--raduga-text);
  --muted: var(--raduga-muted);
  --border: var(--raduga-border);
  --color-brand: var(--raduga-brand);
  --color-brand-light: var(--raduga-accent);
  --color-page: transparent;
}

/* ----- Base / fonts ----- */
html {
  overflow-x: hidden;
}

html {
  font-size: 16px;
}

body.sad337-preset-strict,
body.sad337-design.sad337-preset-strict {
  margin: 0;
  color: var(--raduga-text);
  font: 400 16px / 20px "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff url("../images/solstomfon.jpg") center top no-repeat fixed;
  overflow-x: hidden;
  max-width: 100%;
}

body.sad337-preset-strict a,
body.sad337-design.sad337-preset-strict a {
  color: var(--raduga-brand);
  text-decoration: none;
}

body.sad337-preset-strict a:hover,
body.sad337-design.sad337-preset-strict a:hover {
  color: var(--raduga-brand-dark);
  text-decoration: underline;
}

body.sad337-preset-strict h1,
body.sad337-preset-strict h2,
body.sad337-preset-strict h3,
body.sad337-preset-strict h4,
body.sad337-preset-strict .entry__title,
body.sad337-preset-strict .sidebar-block__title {
  font-family: Philosopher, "Open Sans", sans-serif;
  font-weight: 300;
  color: var(--raduga-heading);
  line-height: 1.15;
}

body.sad337-preset-strict h1,
body.sad337-preset-strict .entry__title {
  font-size: 28px;
  line-height: 30px;
  color: #003399;
  margin: 0 0 10px;
  padding: 0 0 10px;
  text-align: center;
  border-bottom: 1px solid #027ef2;
  font-family: Philosopher, "Open Sans", sans-serif;
  font-weight: 300;
}

body.sad337-design.sad337-preset-strict h1,
body.sad337-design.sad337-preset-strict .entry__title,
body.sad337-design.sad337-preset-strict .entry__content > h1:first-child {
  color: #003399;
  font-family: Philosopher, "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 30px;
  text-align: center;
  border-bottom: 1px solid #027ef2;
  padding-bottom: 10px;
}

body.sad337-preset-strict h2 {
  font-size: 24px;
  line-height: 26px;
  color: #603729;
  padding-bottom: 10px;
}

body.sad337-preset-strict h3 {
  font-size: 22px;
  line-height: 24px;
  color: #0066cc;
}

body.sad337-preset-strict .entry__content table th,
body.sad337-preset-strict .entry__content table td {
  padding: 8px;
  border: 1px solid #ccc;
  vertical-align: top;
}

body.sad337-preset-strict .entry__content table tr > *:first-child {
  background: #f7f7f7;
  font-weight: 600;
}

body.sad337-preset-strict .site-container {
  max-width: var(--container);
}

/* ----- Logo / header strip (.logo-box) ----- */
body.sad337-preset-strict .site-header {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

body.sad337-preset-strict .site-top,
body.sad337-design.sad337-preset-strict .site-top,
body.sad337-preset-strict .site-top:not(:has(.site-top-banner__extra)) {
  padding: 16px;
  background: transparent;
  color: var(--raduga-heading);
  border-bottom: 0;
}

body.sad337-preset-strict .site-top__inner {
  max-width: var(--container);
  width: calc(100% - 0px);
  margin: 0 auto;
  padding: 0;
}

body.sad337-preset-strict .site-top-banner__col--logo .mbdou,
body.sad337-preset-strict .site-top-banner__col--logo h2,
body.sad337-preset-strict .site-top-banner__col--title h2,
body.sad337-preset-strict .site-top .mbdou,
body.sad337-preset-strict .site-top h2 {
  font-family: Philosopher, "Open Sans", sans-serif;
  font-weight: 400;
  color: var(--raduga-h1-home);
  text-align: center;
}

body.sad337-preset-strict .site-top em,
body.sad337-preset-strict .site-top i,
body.sad337-preset-strict .site-top [style*="color: #d"],
body.sad337-preset-strict .site-top .founder,
body.sad337-preset-strict .site-top p em {
  color: #dd0055;
}

body.sad337-preset-strict .site-top a {
  color: var(--raduga-accent);
}

body.sad337-preset-strict .site-top a:hover {
  color: var(--raduga-brand);
}

/* Match Joomla logo-box — no forced empty height */
body.sad337-preset-strict .site-top__inner,
body.sad337-preset-strict .site-top-banner {
  min-height: 0;
}

body.sad337-preset-strict .site-top-banner {
  align-items: flex-start;
}

body.sad337-preset-strict .site-top .sad337-slideshow,
body.sad337-preset-strict .site-top-banner__col--logo .sad337-slideshow,
body.sad337-preset-strict .site-top-banner__col--title .sad337-slideshow {
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
}

body.sad337-preset-strict .site-top .sad337-slideshow,
body.sad337-preset-strict .site-top .sad337-slideshow__viewport,
body.sad337-preset-strict .site-top .sad337-slideshow__track {
  background: transparent;
  min-height: 0;
}

body.sad337-preset-strict .site-top .sad337-slideshow__figure img,
body.sad337-preset-strict .site-top .sad337-slideshow__triptych img,
body.sad337-preset-strict .site-top .sad337-slideshow__triptych .site-top-banner__head-img {
  object-fit: contain;
  width: auto;
  max-width: 33.33%;
  height: auto;
  max-height: none;
}

body.sad337-preset-strict .site-top .sad337-slideshow__figure img {
  max-width: 100%;
}

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

/* ----- Navbar pills (Chester dove) ----- */
body.sad337-preset-strict .site-navbar,
body.sad337-design.sad337-preset-strict .site-navbar {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  position: relative;
  top: auto;
  z-index: 200;
}

body.sad337-preset-strict.raduga-nav-stuck .site-navbar {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(45, 90, 113, 0.12);
}

body.sad337-preset-strict .site-navbar__inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 48px 0 12px;
  min-height: 52px;
}

body.sad337-preset-strict .primary-nav > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sad337-preset-strict .primary-nav > ul > li {
  position: relative;
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

body.sad337-preset-strict .primary-nav > ul > li > a,
body.sad337-design.sad337-preset-strict .primary-nav a {
  display: block;
  box-sizing: border-box;
  height: 32px;
  padding: 0 8px;
  margin: 10px 0;
  line-height: 27px;
  color: #000;
  font-size: 18px;
  letter-spacing: 0;
  font-family: var(--raduga-nav-font);
  font-weight: 400;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #c09e58;
  border-radius: 12px;
  background: #fbebb4;
  box-shadow: none;
  transition: color 0.15s ease, background-color 0.15s ease;
  position: relative;
  overflow: hidden;
}

body.sad337-preset-strict .primary-nav > ul > li > a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: rgba(255, 248, 238, 0.2);
  transition: width 0.4s ease;
  border-radius: 12px;
  z-index: -1;
}

body.sad337-preset-strict .primary-nav > ul > li:hover > a,
body.sad337-preset-strict .primary-nav > ul > li > a:focus,
body.sad337-preset-strict .primary-nav > ul > li.current-menu-item > a,
body.sad337-preset-strict .primary-nav > ul > li.current_page_item > a,
body.sad337-preset-strict .primary-nav > ul > li.current-menu-ancestor > a,
body.sad337-design.sad337-preset-strict .primary-nav > ul > li:hover > a,
body.sad337-design.sad337-preset-strict .primary-nav > ul > li > a:focus,
body.sad337-design.sad337-preset-strict .primary-nav > ul > li.current-menu-item > a,
body.sad337-design.sad337-preset-strict .primary-nav > ul > li.current_page_item > a,
body.sad337-design.sad337-preset-strict .primary-nav a:hover,
body.sad337-design.sad337-preset-strict .primary-nav a:focus,
body.sad337-design.sad337-preset-strict .primary-nav .current-menu-item > a,
body.sad337-design.sad337-preset-strict .primary-nav .current_page_item > a {
  background-color: #f1e9d9;
  color: #000;
  box-shadow: none;
  text-decoration: none;
}

body.sad337-preset-strict .primary-nav > ul > li:hover > a::before,
body.sad337-preset-strict .primary-nav > ul > li > a:focus::before,
body.sad337-preset-strict .primary-nav > ul > li.current-menu-item > a::before,
body.sad337-preset-strict .primary-nav > ul > li.current_page_item > a::before,
body.sad337-preset-strict .primary-nav > ul > li.current-menu-ancestor > a::before {
  width: 100%;
}

body.sad337-preset-strict .site-top img,
body.sad337-preset-strict .site-top-banner img {
  max-width: 100%;
  height: auto;
}

body.sad337-preset-strict .primary-nav > ul > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  opacity: 0.7;
}

body.sad337-preset-strict .primary-nav .sub-menu {
  background: #fff;
  border: 1px solid var(--raduga-border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(45, 90, 113, 0.12);
  padding: 6px 0;
  min-width: 220px;
}

body.sad337-preset-strict .primary-nav .sub-menu a {
  height: auto;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: var(--raduga-heading);
}

body.sad337-preset-strict .primary-nav .sub-menu a::before {
  display: none;
}

body.sad337-preset-strict .primary-nav .sub-menu a:hover,
body.sad337-preset-strict .primary-nav .sub-menu a:focus {
  background: #f3f9fd;
  color: var(--raduga-brand);
}

body.sad337-preset-strict .menu-toggle {
  border: 1px solid var(--raduga-border);
  border-radius: 12px;
  color: var(--raduga-accent);
  font-family: var(--raduga-nav-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #fff;
}

/* ----- Search icon in navbar (UIkit / dove) ----- */
body.sad337-preset-strict .site-navbar__search {
  position: absolute;
  top: 0;
  right: 12px;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 5;
}

body.sad337-preset-strict .site-navbar__search .site-search__form,
body.sad337-preset-strict .site-search__form--icon,
body.sad337-design.sad337-preset-strict .site-navbar__search .site-search__form {
  position: relative;
  display: inline-block;
  margin: 0;
  max-width: none;
  width: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 0;
}

body.sad337-preset-strict .site-navbar__search .site-search__form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: currentColor;
  color: var(--raduga-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' stroke='black' stroke-width='2'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' stroke='black' stroke-width='2'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  pointer-events: none;
  z-index: 0;
}

body.sad337-preset-strict .site-navbar__search .site-search__field,
body.sad337-preset-strict .site-search__form--icon .site-search__field {
  box-sizing: border-box;
  width: 40px;
  height: 30px;
  margin: 0;
  padding: 0 30px 0 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--raduga-muted);
  font: inherit;
  font-size: 14px;
  line-height: 30px;
  vertical-align: middle;
  cursor: pointer;
  transition: width 0.2s linear;
  -webkit-appearance: none;
  appearance: none;
  z-index: 1;
  position: relative;
  flex: none;
  min-width: 0;
  outline: 0;
}

body.sad337-preset-strict .site-navbar__search .site-search__field::placeholder {
  color: transparent;
}

body.sad337-preset-strict .site-navbar__search .site-search__field:focus,
body.sad337-preset-strict .site-navbar__search .site-search__form.is-active .site-search__field,
body.sad337-preset-strict .site-navbar__search .site-search__field:not(:placeholder-shown) {
  width: 140px;
  outline: 0 !important;
  box-shadow: none !important;
  cursor: text;
  border-color: transparent !important;
}

body.sad337-preset-strict .site-navbar__search .site-search__field:focus::placeholder,
body.sad337-preset-strict .site-navbar__search .site-search__form.is-active .site-search__field::placeholder {
  color: #bbbbbb;
}

/* Submit is sr-only; Enter submits. Icon is decorative ::before. */
body.sad337-preset-strict .site-navbar__search .site-search__submit,
body.sad337-preset-strict .site-search__form--icon .site-search__submit {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: transparent;
}

body.sad337-preset-strict .site-navbar__search .site-search__icon {
  display: none;
}

/* Search results page still uses full form in content */
body.sad337-preset-strict .entry--search .site-search__form:not(.site-search__form--icon),
body.sad337-preset-strict .entry__content > .site-search__form {
  max-width: 480px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

@media (max-width: 900px) {
  body.sad337-preset-strict .site-navbar__inner {
    justify-content: flex-start;
    padding: 8px 52px 8px 12px;
    min-height: 48px;
  }

  body.sad337-preset-strict .site-navbar__search {
    right: 10px;
  }
}

/* ----- Layout / Chester 1-4 / 1-2 / 1-4 (~25/50/25) ----- */
@media (min-width: 901px) {
  body.sad337-preset-strict .site-layout:not(.site-layout--full):not(.site-layout--three) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 0 20px;
  }

  body.sad337-preset-strict .site-layout--three {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    gap: 0 20px;
  }
}

body.sad337-preset-strict .site-layout--full {
  grid-template-columns: minmax(0, 1fr);
}

body.sad337-preset-strict .site-content {
  padding: 16px 0 24px;
}

body.sad337-preset-strict .site-main {
  padding: 0 0 0 40px;
}

body.sad337-design.sad337-preset-strict .entry,
body.sad337-preset-strict .entry {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

body.sad337-preset-strict .entry__content {
  background: transparent;
  padding: 0;
}

body.sad337-design.sad337-preset-strict .breadcrumbs-wrap,
body.sad337-preset-strict .breadcrumbs-wrap {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.sad337-preset-strict .breadcrumbs {
  font-size: 13px;
  color: var(--raduga-muted);
  margin: 0 0 12px;
}

/* Sidebar panels — transparent wrapper (inner HTML keeps own backgrounds) */
body.sad337-preset-strict .site-sidebar .sidebar-block:not(.sidebar-block--menu),
body.sad337-preset-strict .site-sidebar-b .sidebar-block:not(.sidebar-block--menu),
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-block:not(.sidebar-block--menu),
body.sad337-design.sad337-preset-strict .site-sidebar-b .sidebar-block:not(.sidebar-block--menu) {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 16px;
  box-shadow: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-block--menu,
body.sad337-preset-strict .site-sidebar-b .sidebar-block--menu,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-block--menu {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 10px 0 16px;
  box-shadow: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-block__title,
body.sad337-preset-strict .site-sidebar-b .sidebar-block__title {
  font-family: Philosopher, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--raduga-accent);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

/* ----- Sidebar menu pills (Chester dove uk-nav-side) ----- */
body.sad337-preset-strict .site-sidebar .sidebar-menu,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 2px 0;
  padding: 4px 22px 4px 16px;
  background: #fbebb4;
  border: 1px solid #c09e58;
  border-radius: 12px;
  box-shadow: none;
  color: #444444;
  font-family: var(--raduga-nav-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 18px;
  text-decoration: none;
  transition:
    background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 5px 8px 5px 16px;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__link,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__link--label,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__link,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__link--label {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:hover,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row:hover,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:hover,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row:hover {
  background: #f6deaf;
  color: #000;
  text-decoration: none;
  outline: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:focus,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:focus-visible,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:focus,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:focus-visible {
  outline: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row:hover .sidebar-menu__link,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row:hover .sidebar-menu__link--label {
  color: #000;
  text-decoration: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-item > a.sidebar-menu__link,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-item > .sidebar-menu__row,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-ancestor > .sidebar-menu__row,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-item > a.sidebar-menu__link,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-item > .sidebar-menu__row,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-ancestor > .sidebar-menu__row {
  background: #f6deaf;
  color: #000;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-item > .sidebar-menu__row .sidebar-menu__link,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-item > .sidebar-menu__row .sidebar-menu__link--label,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li.current-menu-ancestor > .sidebar-menu__row .sidebar-menu__link {
  color: #000;
}

/* Toggle "+" inside pill (dove uk-nav-parent-icon) */
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle {
  flex: 0 0 24px;
  width: 24px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #444444;
  cursor: pointer;
  line-height: 18px;
  align-self: center;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle:hover,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle:focus {
  background: transparent;
  color: #000;
  outline: none;
  box-shadow: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle-icon,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle-icon {
  display: none !important;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle::after,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row .sidebar-menu__toggle::after {
  content: "+";
  display: block;
  width: 24px;
  font-family: var(--raduga-nav-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  color: inherit;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li.menu-item-has-children.is-open > .sidebar-menu__row .sidebar-menu__toggle::after,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li.menu-item-has-children.is-open > .sidebar-menu__row .sidebar-menu__toggle::after {
  content: "_";
  margin-top: -8px;
}

/* Sub-menu вЂ” JS drives height; only horizontal padding (vertical pad on children) */
body.sad337-preset-strict .site-sidebar .sidebar-menu .menu-item-has-children > .sub-menu,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu .menu-item-has-children > .sub-menu {
  display: block !important;
  visibility: visible;
  box-sizing: border-box;
  overflow: hidden;
  height: 0;
  opacity: 0;
  margin: 0;
  padding: 0 0 0 15px;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  transition: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu .menu-item-has-children.is-open > .sub-menu,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu .menu-item-has-children.is-open > .sub-menu {
  pointer-events: auto;
}

body.sad337-preset-strict:not(.raduga-sidebar-ready) .site-sidebar .sidebar-menu .menu-item-has-children.is-open > .sub-menu,
body.sad337-design.sad337-preset-strict:not(.raduga-sidebar-ready) .site-sidebar .sidebar-menu .menu-item-has-children.is-open > .sub-menu {
  height: auto;
  opacity: 1;
  overflow: visible;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu > li:first-child,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu > li:first-child {
  margin-top: 5px;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu > li:last-child,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu > li:last-child {
  margin-bottom: 5px;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu .sidebar-menu__link,
body.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu a,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu .sidebar-menu__link {
  display: block;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #666666;
  font-family: var(--raduga-nav-font);
  font-size: 16px;
  font-weight: 300;
  line-height: 18px;
  text-decoration: none;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu .sidebar-menu__link:hover,
body.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu .sidebar-menu__link:focus,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu .sidebar-menu__link:hover,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu .sidebar-menu__link:focus {
  background: transparent;
  color: #000;
  text-decoration: none;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu .sub-menu .current-menu-item > .sidebar-menu__link {
  color: #000;
}

/* ----- Content helpers (Joomla custom classes) ----- */
body.sad337-preset-strict .salat {
  background: var(--raduga-salat);
  margin: 10px 0;
  padding: 10px;
}

body.sad337-preset-strict .fonsalat {
  background: linear-gradient(
    to right,
    rgba(202, 240, 228, 1) 0%,
    rgba(238, 251, 247, 1) 25%,
    rgba(238, 251, 247, 1) 76%,
    rgba(202, 240, 228, 1) 100%
  );
}

body.sad337-preset-strict .ol1 {
  margin: 0 0 1rem 1.25em;
  padding: 0;
}

body.sad337-preset-strict .ol1 a {
  color: var(--raduga-accent);
}

body.sad337-preset-strict .entry__content table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

body.sad337-preset-strict .entry__content table th,
body.sad337-preset-strict .entry__content table td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  vertical-align: top;
}

body.sad337-preset-strict .entry__content {
  overflow-wrap: anywhere;
}

body.sad337-preset-strict .entry__content .aligncenter,
body.sad337-preset-strict .entry__content img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Notice / warning boxes often used on home */
body.sad337-preset-strict .entry__content [style*="border: 5px solid #ff9900"],
body.sad337-preset-strict .entry__content [style*="border:5px solid #ff9900"] {
  box-sizing: border-box;
}

/* ----- Galleries / widgetkit-like ----- */
body.sad337-preset-strict .sad337-gallery {
  margin: 1rem 0 1.5rem;
  gap: 10px;
}

body.sad337-preset-strict .sad337-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.sad337-preset-strict .sad337-gallery__item:hover .sad337-gallery__thumb img {
  opacity: 0.88;
  transform: scale(1.03);
}

/* News as details/summary (migrated accordion) */
body.sad337-preset-strict .main-top {
  margin: 0 0 20px;
}

body.sad337-preset-strict .main-top__title {
  margin: 0 0 15px;
  font-size: 20px;
  line-height: 27px;
  font-weight: 400;
  font-family: Philosopher, "Open Sans", sans-serif;
  text-transform: uppercase;
  color: var(--raduga-heading);
}

body.sad337-preset-strict .main-top details,
body.sad337-preset-strict .entry__content details {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0 0 10px;
  padding: 0;
}

body.sad337-preset-strict .main-top details summary,
body.sad337-preset-strict .entry__content details summary {
  cursor: pointer;
  list-style: none;
  margin: 5px 0 10px;
  padding: 5px 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: var(--raduga-text);
  background: #eeede0;
}

body.sad337-preset-strict .main-top details summary::-webkit-details-marker {
  display: none;
}

body.sad337-preset-strict .main-top details[open] summary,
body.sad337-preset-strict .entry__content details[open] summary {
  background: #eeede0;
  border-bottom: 0;
}

body.sad337-preset-strict .main-top details > *:not(summary),
body.sad337-preset-strict .entry__content details > *:not(summary) {
  padding: 6px 0 16px;
}

/* Main-bottom CTA images */
body.sad337-preset-strict .main-bottom .sad337-cols {
  align-items: center;
  justify-content: center;
  gap: 24px;
}

body.sad337-preset-strict .main-bottom img {
  max-width: 100%;
  height: auto;
}

body.sad337-preset-strict .main-bottom a:hover img {
  opacity: 0.92;
}

/* ----- Bottom / disclaimer ----- */
body.sad337-preset-strict .site-bottom-b,
body.sad337-preset-strict #tm-bottom-b {
  margin: 16px 0;
}

body.sad337-preset-strict .box-note,
body.sad337-preset-strict .site-bottom-b .sidebar-block,
body.sad337-preset-strict .site-bottom-b .footer-block__content > div {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  padding: 12px 16px;
  color: var(--raduga-heading);
  font-size: 14px;
  line-height: 1.45;
}

/* ----- Footer ----- */
body.sad337-preset-strict .site-footer {
  border-top: 0;
  background: transparent;
  padding: 0 0 24px;
  color: var(--raduga-heading);
}

body.sad337-preset-strict .fondark,
body.sad337-preset-strict .footer-block--main .fondark {
  padding: 16px;
  background: #0066cc;
  color: #fff;
}

body.sad337-preset-strict .fondark a {
  color: #fff;
  text-decoration: underline;
}

body.sad337-preset-strict .fonlight,
body.sad337-preset-strict .footer-block .fonlight {
  background: #c7eafe;
  color: var(--raduga-heading);
  padding: 16px;
}

body.sad337-preset-strict .site-footer .btn.btn-default {
  border-radius: 12px;
  border-color: var(--raduga-border);
  color: var(--raduga-accent);
  font-family: var(--raduga-nav-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.sad337-preset-strict .site-footer .btn.btn-default:hover {
  color: var(--raduga-brand);
  background: rgba(255, 248, 238, 0.2);
}

/* ----- News archive list (Joomla category blog rows) ----- */
body.sad337-preset-strict .news-archive {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5e5e5;
}

body.sad337-preset-strict .news-archive__item,
body.sad337-preset-strict .news-list__item {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

body.sad337-preset-strict .news-archive__item:nth-child(even),
body.sad337-preset-strict .news-list__item:nth-child(even) {
  background: #f7f7f7;
}

body.sad337-preset-strict .news-archive__title,
body.sad337-preset-strict .news-list__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

body.sad337-preset-strict .news-archive__title a,
body.sad337-preset-strict .news-list__title a {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: var(--raduga-brand);
  text-decoration: none;
}

body.sad337-preset-strict .news-archive__title a:hover,
body.sad337-preset-strict .news-list__title a:hover {
  color: var(--raduga-h1);
  text-decoration: underline;
}

body.sad337-preset-strict .news-archive__excerpt,
body.sad337-preset-strict .news-archive__more {
  display: none;
}

/* ----- Forms (CF7) ----- */
body.sad337-preset-strict .wpcf7 input[type="text"],
body.sad337-preset-strict .wpcf7 input[type="email"],
body.sad337-preset-strict .wpcf7 input[type="tel"],
body.sad337-preset-strict .wpcf7 textarea,
body.sad337-preset-strict .wpcf7 select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 10px;
  font: 300 15px / 1.4 "Open Sans", sans-serif;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.sad337-preset-strict .wpcf7-captcha-row {
  display: block;
  margin: 10px 0;
}

body.sad337-preset-strict .wpcf7-captcha-row .ysc-cf7-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
}

body.sad337-preset-strict .wpcf7-captcha-row img,
body.sad337-preset-strict .wpcf7-captcha-row .wpcf7-captchac {
  display: none;
}

body.sad337-preset-strict .wpcf7-captcha-row input[type="text"],
body.sad337-preset-strict .wpcf7-captcha-row .wpcf7-captchar {
  width: 8rem;
  min-width: 6rem;
  max-width: 10rem;
  flex: 0 0 auto;
  margin: 0;
}

body.sad337-preset-strict .wpcf7 input[type="submit"] {
  background: var(--raduga-accent);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 10px 20px;
  font-family: var(--raduga-nav-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

body.sad337-preset-strict .wpcf7 input[type="submit"]:hover {
  background: var(--raduga-brand);
}

/* ----- Pagination ----- */
body.sad337-preset-strict .navigation.pagination .nav-links,
body.sad337-preset-strict .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 1.5rem 0;
}

body.sad337-preset-strict .navigation.pagination a,
body.sad337-preset-strict .navigation.pagination span,
body.sad337-preset-strict .page-numbers {
  display: inline-block;
  min-width: 32px;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid var(--raduga-border);
  border-radius: 8px;
  color: var(--raduga-accent);
  text-decoration: none;
  font-family: var(--raduga-nav-font);
}

body.sad337-preset-strict .navigation.pagination .current,
body.sad337-preset-strict .page-numbers.current {
  background: rgba(204, 206, 161, 0.35);
  color: var(--raduga-brand);
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  body.sad337-preset-strict .site-layout {
    grid-template-columns: 1fr;
  }

  body.sad337-preset-strict .site-sidebar {
    order: 2;
  }

  body.sad337-preset-strict .site-main {
    order: 1;
  }
}

@media (max-width: 680px) {
  body.sad337-preset-strict .site-top {
    padding: 12px;
  }

  body.sad337-preset-strict .primary-nav {
    width: 100%;
  }

  body.nav-open.sad337-preset-strict .primary-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  body.sad337-preset-strict .primary-nav > ul > li > a {
    margin: 4px 0;
    text-align: center;
  }

  body.sad337-preset-strict h1,
  body.sad337-preset-strict .entry__title {
    font-size: 24px;
    line-height: 28px;
  }

  body.sad337-preset-strict .entry__content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Kumil: hide full-width search band; search lives in navbar */
body.sad337-preset-strict .site-header > .site-search {
  display: none;
}

/* Dove sidebar pill — gold like uk-nav-side */
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row {
  background: #fbebb4;
  border: 1px solid #c09e58;
  color: #222;
  padding: 4px 22px 4px 16px;
  margin: 4px 0;
  font-size: 17px;
  line-height: 19px;
}

body.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:hover,
body.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row:hover,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > a.sidebar-menu__link:hover,
body.sad337-design.sad337-preset-strict .site-sidebar .sidebar-menu > li > .sidebar-menu__row:hover {
  background: #f6deaf;
  color: #000;
}

body.sad337-preset-strict .site-sidebar .sidebar-block__title {
  font-family: Philosopher, sans-serif;
  color: #003399;
  font-size: 18px;
  font-weight: 300;
}

/* ----- Kumil dove: panels, buttons, content slideshow ----- */
body.sad337-preset-strict .sad337-grid__col--panel,
body.sad337-design.sad337-preset-strict .sad337-grid__col--panel {
  background: #FAF5EF;
  border: 0;
  border-bottom: 4px solid #0085F6;
  border-radius: 0;
  padding: 16px;
  box-shadow: none;
}

body.sad337-preset-strict .btn.btn-primary,
body.sad337-preset-strict a.btn.btn-primary,
body.sad337-preset-strict .btn-primary,
body.sad337-design.sad337-preset-strict .btn.btn-primary,
body.sad337-design.sad337-preset-strict a.btn.btn-primary {
  display: inline-block;
  margin: 6px 0 0;
  padding: 4px 12px;
  border: 0;
  border-radius: 0;
  background: #2D5A71;
  color: #fff !important;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
}

body.sad337-preset-strict .btn.btn-primary:hover,
body.sad337-preset-strict a.btn.btn-primary:hover,
body.sad337-preset-strict .btn-primary:hover,
body.sad337-design.sad337-preset-strict .btn.btn-primary:hover,
body.sad337-design.sad337-preset-strict a.btn.btn-primary:hover {
  background: #264B5F;
  color: #fff !important;
}

/* Panel "Read more" / readmore links as primary buttons */
body.sad337-preset-strict .sad337-grid__col--panel > p > a:only-child,
body.sad337-preset-strict .sad337-grid__col--panel a.readmore {
  display: inline-block;
  margin: 6px 0 0;
  padding: 4px 12px;
  border: 0;
  background: #2D5A71;
  color: #fff !important;
  text-decoration: none !important;
}

body.sad337-preset-strict .sad337-grid__col--panel > p > a:only-child:hover,
body.sad337-preset-strict .sad337-grid__col--panel a.readmore:hover {
  background: #264B5F;
}

/* Content slideshow: no forced 400px gap */
body.sad337-preset-strict .site-main .sad337-slideshow,
body.sad337-preset-strict .site-main .sad337-slideshow__viewport,
body.sad337-preset-strict .site-main .sad337-slideshow__track,
body.sad337-preset-strict .main-top .sad337-slideshow,
body.sad337-preset-strict .main-top .sad337-slideshow__viewport,
body.sad337-preset-strict .main-top .sad337-slideshow__track,
body.sad337-preset-strict .main-bottom .sad337-slideshow,
body.sad337-preset-strict .main-bottom .sad337-slideshow__viewport,
body.sad337-preset-strict .main-bottom .sad337-slideshow__track,
body.sad337-preset-strict .sidebar-block .sad337-slideshow,
body.sad337-preset-strict .sidebar-block .sad337-slideshow__viewport,
body.sad337-preset-strict .sidebar-block .sad337-slideshow__track,
body.sad337-preset-strict .entry__content .sad337-slideshow,
body.sad337-preset-strict .entry__content .sad337-slideshow__viewport,
body.sad337-preset-strict .entry__content .sad337-slideshow__track {
  min-height: 0;
}

body.sad337-preset-strict .site-main .sad337-slideshow__figure img,
body.sad337-preset-strict .main-top .sad337-slideshow__figure img,
body.sad337-preset-strict .main-bottom .sad337-slideshow__figure img,
body.sad337-preset-strict .sidebar-block .sad337-slideshow__figure img,
body.sad337-preset-strict .entry__content .sad337-slideshow__figure img {
  max-height: none;
  height: auto;
  width: 100%;
  object-fit: contain;
}

body.sad337-preset-strict .site-main .sad337-slideshow__dots,
body.sad337-preset-strict .main-top .sad337-slideshow__dots,
body.sad337-preset-strict .main-bottom .sad337-slideshow__dots,
body.sad337-preset-strict .sidebar-block .sad337-slideshow__dots,
body.sad337-preset-strict .entry__content .sad337-slideshow__dots {
  background: transparent;
  padding: 8px 0 0;
}

@media (min-width: 1200px) {
  body.sad337-preset-strict .primary-nav > ul > li > a,
  body.sad337-design.sad337-preset-strict .primary-nav > ul > li > a {
    font-size: 14px;
    padding: 0 10px;
  }
}

@media (max-width: 900px) {
  body.sad337-preset-strict .primary-nav > ul {
    flex-wrap: wrap;
  }

  body.sad337-preset-strict .primary-nav > ul > li > a {
    white-space: normal;
  }
}


/* ----- Raduga nameheader / top title ----- */
body.sad337-preset-strict .nameheader,
body.sad337-preset-strict .site-top .nameheader {
  font-family: Philosopher, "Open Sans", sans-serif;
  font-weight: 300;
  color: #003399;
  line-height: 1.25;
}

body.sad337-preset-strict .site-top-banner__col--title .nameheader {
  font-size: 18px;
}

/* Active primary nav dove */
body.sad337-preset-strict .primary-nav > ul > li.current-menu-item > a,
body.sad337-preset-strict .primary-nav > ul > li.current_page_item > a,
body.sad337-design.sad337-preset-strict .primary-nav > ul > li.current-menu-item > a {
  background-color: #f3ebdc;
  color: #000;
}

/* Primary nav padding closer to dove */
body.sad337-preset-strict .primary-nav > ul > li > a,
body.sad337-design.sad337-preset-strict .primary-nav a {
  padding: 0 12px;
}

@media (min-width: 1200px) {
  body.sad337-preset-strict .primary-nav > ul > li > a,
  body.sad337-design.sad337-preset-strict .primary-nav > ul > li > a {
    font-size: 18px;
    padding: 0 12px;
  }
}