.ostrov-header {
  --ostrov-header-height: 82px;
  height: var(--ostrov-header-height);
  position: relative;
  z-index: 1030;
  background: #101010;
}
.ostrov-header-bar {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  background: #101010;
  color: #fff;
  border-bottom: 1px solid #292929;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
  font-family: Montserrat, Arial, sans-serif;
  text-align: left;
}
.ostrov-header-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  min-height: var(--ostrov-header-height);
  padding: 0 24px;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
}
.ostrov-header-logo {
  display: block;
  flex: 0 1 227px;
  min-width: 0;
  margin: 0;
}
.ostrov-header-logo img {
  display: block;
  width: 100%;
  max-width: 227px;
  height: auto;
}
.ostrov-header-menu {
  margin: 0 auto;
  min-width: 0;
}
.ostrov-header-links, .ostrov-header-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ostrov-header-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  width: max-content;
}
.ostrov-header-links > li {
  position: relative;
  margin: 0;
  padding: 0;
}
.ostrov-header-links > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--ostrov-header-height);
  color: #f4f4f4;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.ostrov-header-links > li.active > a,
.ostrov-header-links > li > a:hover,
.ostrov-header-links > li > a:focus-visible {
  color: #e8b6a9;
}
.ostrov-header-caret {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  flex: 0 0 8px;
}
.ostrov-menu-group.open .ostrov-header-caret {
  transform: translateY(2px) rotate(225deg);
}
.ostrov-header-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  padding: 5px 0;
  background: #fff;
  border-top: 3px solid #8d171a;
  box-shadow: 0 8px 24px #0004;
}
.ostrov-menu-group.open > .ostrov-header-submenu { display: block; }
.ostrov-header-submenu a {
  display: block;
  padding: 12px 18px;
  color: #252525;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
}
.ostrov-header-submenu a:hover,
.ostrov-header-submenu a:focus-visible,
.ostrov-header-submenu .active > a { background: #f6eeee; color: #8d171a; }
.ostrov-header-reserve {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #a52225;
  border-radius: 4px;
  background: #8d171a;
  color: #fff;
  font: 600 14px/1.3 Montserrat, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  margin-left: auto;
}
.ostrov-header-reserve:hover { background: #a52225; }
.ostrov-header-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.ostrov-header-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  transition: transform .15s, opacity .15s;
}
.ostrov-header-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ostrov-header-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ostrov-header-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.ostrov-header :focus-visible { outline: 2px solid #e8b6a9; outline-offset: 3px; }
@media (max-width: 1319px) {
  .ostrov-header { --ostrov-header-height: 68px; }
  .ostrov-header-inner { gap: 12px; padding: 0 16px; }
  .ostrov-header-toggle { display: block; }
  .ostrov-header-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--ostrov-header-height));
    max-height: calc(100dvh - var(--ostrov-header-height));
    overflow: auto;
    overscroll-behavior: contain;
    background: #101010;
    border-top: 1px solid #333;
  }
  .ostrov-header-menu.ostrov-expanded { display: block; }
  .ostrov-header-links { display: block; width: 100%; }
  .ostrov-header-links > li { border-bottom: 1px solid #333; }
  .ostrov-header-links > li > a { min-height: 52px; padding: 12px 24px; justify-content: space-between; white-space: normal; }
  .ostrov-header-submenu { position: static; min-width: 0; border-top: 0; background: #242424; box-shadow: none; }
  .ostrov-header-submenu a { color: #fff; padding-left: 40px; }
}
@media (max-width: 480px) {
  .ostrov-header { --ostrov-header-height: 64px; }
  .ostrov-header-inner { gap: 8px; padding: 0 10px; }
  .ostrov-header-reserve { font-size: 12px; padding: 8px 10px; }
}

#ostrov-main-content > .ostrov-hero {
  --ostrov-home-header-height: 82px;
  display: grid;
  grid-template-rows: minmax(330px, 1fr) auto;
  min-height: calc(100vh - var(--ostrov-home-header-height));
  min-height: calc(100dvh - var(--ostrov-home-header-height));
}
#ostrov-main-content > .ostrov-hero:has(.ostrov-home-promo-heading) {
  grid-template-rows: minmax(330px, 1fr) auto auto;
}
#ostrov-main-content .ostrov-hero-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
}
#ostrov-main-content .ostrov-hero-visual .ostrov-hero-default,
#ostrov-main-content .ostrov-hero-visual .promo-web-slider {
  height: auto;
  min-height: 0;
  max-height: none;
}
#ostrov-main-content .ostrov-hero-default-inner {
  padding: 32px 24px;
}
#ostrov-main-content .ostrov-hero .promo-web-container {
  padding-top: 32px;
  padding-bottom: 48px;
  overflow-y: auto;
}
#ostrov-main-content .ostrov-hero-info-inner {
  padding: 14px 20px;
  gap: 16px;
  align-items: center;
}
@media (max-width: 1319px) {
  #ostrov-main-content > .ostrov-hero { --ostrov-home-header-height: 68px; }
}
@media (max-width: 767px) {
  #ostrov-main-content > .ostrov-hero {
    grid-template-rows: minmax(340px, 1fr) auto;
  }
  #ostrov-main-content > .ostrov-hero:has(.ostrov-home-promo-heading) {
    grid-template-rows: minmax(340px, 1fr) auto auto;
  }
  #ostrov-main-content .ostrov-hero-visual.has-mobile-menu {
    grid-template-rows: minmax(0, 1fr) auto;
  }
  #ostrov-main-content .ostrov-hero-mobile-menu {
    position: relative;
    inset: auto;
    flex-direction: row;
    padding: 8px 12px;
    background: #211b17;
  }
  #ostrov-main-content .ostrov-hero-mobile-menu a {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  #ostrov-main-content .ostrov-hero-visual.has-mobile-menu .promo-web-dots { bottom: 13px; }
  #ostrov-main-content .ostrov-hero-info-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    gap: 10px 8px;
    font-size: 13px;
    line-height: 1.35;
  }
  #ostrov-main-content .ostrov-hero-info-inner small { font-size: 12px; line-height: 1.35; }
  #ostrov-main-content .ostrov-hero-info-inner > :last-child {
    grid-column: 1 / -1;
    border-top: 1px solid #ffffff26;
    padding-top: 8px;
  }
  #ostrov-main-content .ostrov-hero-info-inner a { font-size: 16px; }
  #ostrov-main-content .ostrov-hero-info-inner > :last-child small { margin-top: 2px; }
}
@media (max-width: 480px) {
  #ostrov-main-content > .ostrov-hero { --ostrov-home-header-height: 64px; }
}
