:root {
  --ploj-yellow: #f4ee20;
  --ploj-dark: #171819;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  overflow-x: hidden;
}

[data-bg] {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1 !important;
}

[class*="preloaded"] {
  opacity: 1 !important;
  transform: none !important;
}

.static-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100% !important;
  min-height: 240px;
  margin: 0 !important;
  padding: 0 !important;
}

.static-gallery li {
  position: relative !important;
  display: block !important;
  width: auto !important;
  min-height: 240px;
  opacity: 1 !important;
}

.static-gallery li > div {
  position: absolute;
  inset: 0;
}

#index-loader {
  display: none !important;
}

#ol-preloader,
#popup-info-container[style*="visibility: hidden"] {
  display: none !important;
}

#index #harmonika-container {
  display: block !important;
  width: 100% !important;
}

#index .harmonika-preloaded {
  opacity: 1 !important;
  transform: none !important;
}

#index #harmonika-logo img {
  opacity: .5;
  transform: none;
}

@media (min-width: 1025px) {
  #index #harmonika > ul > li {
    transition: flex 520ms cubic-bezier(.22, .61, .36, 1), filter 320ms ease !important;
  }

  #index #harmonika > ul > li:not(.active) .image {
    transition: filter 320ms ease, transform 520ms cubic-bezier(.22, .61, .36, 1);
  }

  #index #harmonika > ul:has(> li.active) > li:not(.active) .image {
    filter: brightness(.42);
  }

  #index #harmonika > ul > li.active .image {
    transform: scale(1.025);
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  #index #harmonika > ul > li .image {
    transition: filter 300ms ease, transform 420ms cubic-bezier(.22, .61, .36, 1) !important;
  }

  #index #harmonika > ul > li.active .image {
    filter: brightness(.68) !important;
    transform: scale(1.045) !important;
  }

  #index #harmonika > ul > li.active h3 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
  }
}

@media (prefers-reduced-motion: reduce) {
  #index #harmonika > ul > li,
  #index #harmonika > ul > li .image {
    transition-duration: 1ms !important;
  }
}

body:not(#index) > #harmonika-container {
  display: none !important;
}

body:not(#index).static-menu-open > #harmonika-container {
  display: block !important;
  width: 100% !important;
}

body.static-mobile-menu-open #mobile-menu-container {
  display: block !important;
}

.static-mobile-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1600px) and (min-width: 761px) {
  #index #harmonika-container ul li h3 {
    font-size: 16px !important;
  }
}

img[data-static-fallback="true"] {
  object-fit: cover;
  object-position: center;
}

[data-podstran][role="link"] {
  cursor: pointer;
}

#podstran-nav [data-podstran] > a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.static-tile-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

[data-podstran][role="link"]:focus-visible {
  outline: 3px solid var(--ploj-yellow);
  outline-offset: 3px;
}

.static-subpage-panel {
  box-sizing: border-box;
  width: 100%;
  padding: 56px 64px;
  background: var(--ploj-yellow);
  color: #171819;
  font-size: 17px;
  line-height: 1.65;
}

.static-subpage-panel h2 {
  margin: 0 0 24px;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 34px;
  text-transform: uppercase;
}

.static-subpage-panel h3 {
  margin: 24px 0 10px;
  font-size: 19px;
}

.static-subpage-panel p,
.static-subpage-panel ul {
  margin: 0 0 20px;
}

.static-subpage-panel li {
  margin: 7px 0;
}

.static-subpage-panel a {
  color: #171819;
  font-weight: 700;
}

.static-company-data dl {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) 1fr;
  gap: 12px 24px;
  margin: 0;
}

.static-company-data dt {
  font-weight: 700;
}

.static-company-data dd {
  margin: 0;
}

.static-location-panel iframe {
  width: 100%;
  height: 360px;
  margin: 12px 0 24px;
  border: 0;
}

.static-action-link {
  display: inline-block;
  padding: 15px 22px;
  background: #222;
  color: #fff !important;
  text-decoration: none;
}

.static-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
}

.static-contacts-grid h2 {
  grid-column: 1 / -1;
}

.static-contacts-grid section {
  border-top: 1px solid rgba(0, 0, 0, 0.35);
}

@media (min-width: 761px) {
  #header-nav > ul > li {
    position: relative;
  }

  #header-nav .nav-dropdown {
    right: 0 !important;
    left: auto !important;
    box-sizing: border-box;
    max-width: calc(100vw - 40px);
    transform: translateY(8px) !important;
  }

  #header-nav > ul > li:hover .nav-dropdown,
  #header-nav > ul > li:focus-within .nav-dropdown {
    transform: translateY(0) !important;
  }
}

.static-contact-notice {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 38px;
  border-left: 5px solid var(--ploj-yellow);
  background: #f3f3f3;
  color: #222;
}

.static-contact-notice h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
}

.static-contact-notice a {
  color: #111;
  font-weight: 700;
}

.static-europe-map {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  padding: 50px;
  background: #e8e8e8;
  text-align: center;
}

.static-europe-map__mark {
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border-radius: 50%;
  background: var(--ploj-yellow);
  color: #171819;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.static-europe-map p {
  max-width: 760px;
  margin: 0;
  line-height: 1.8;
}

@media (max-width: 760px) {
  #index #harmonika-container ul {
    display: grid !important;
    grid-template-columns: 1fr;
    height: auto !important;
  }

  #index #harmonika-container ul li {
    display: block !important;
    width: 100% !important;
    min-height: 150px;
  }

  #index #harmonika-container ul li h3 {
    font-size: 25px !important;
  }

  #harmonika-logo {
    pointer-events: none;
  }

  .static-contact-notice {
    margin: 0 18px;
    padding: 26px 22px;
  }

  .static-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .static-gallery li {
    min-height: 170px;
  }

  .static-subpage-panel {
    padding: 32px 24px;
    font-size: 16px;
  }

  .static-subpage-panel h2 {
    font-size: 29px;
  }

  .static-company-data dl,
  .static-contacts-grid {
    grid-template-columns: 1fr;
  }

  .static-company-data dd {
    margin: -8px 0 10px;
  }

  .static-contacts-grid h2 {
    grid-column: auto;
  }

  .static-location-panel iframe {
    height: 300px;
  }
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
