html {
  scroll-behavior: smooth;
}

.hoyry-header-sticky .wp-block-group.alignfull.hide-on-mobile.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.wp-container-1.is-position-sticky {
  background: #00433F !important;
}

@media (max-width: 768px) {
  .hoyry-header-sticky .wp-block-group.alignfull.hide-on-mobile.has-custom-tausta-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.wp-container-4.is-position-sticky.wp-block-group.alignfull.hide-on-mobile.has-custom-tausta-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.wp-container-4.is-position-sticky.wp-block-group.alignfull.hide-on-mobile.has-custom-tausta-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.wp-container-4.is-position-sticky {
    background: #00433F !important;
  }
  .hoyry-header-sticky .lang-dropdown-toggle {
    color: white !important;
  }
}
header.wp-block-template-part {
  position: fixed !important;
  width: 100% !important;
}
header.wp-block-template-part .wp-block-group.alignfull.hide-on-mobile.has-custom-toissijainen-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.wp-container-1.is-position-sticky {
  background: transparent !important;
}
header.wp-block-template-part .wp-block-group.alignfull.hide-on-mobile.has-custom-tausta-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.wp-container-4.is-position-sticky {
  background: transparent !important;
}

.is-style-hoyry-button-nuoli .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 48px;
  margin-right: 0.5em;
  background-image: url("https://tyven.kinsta.cloud/wp-content/uploads/2025/08/Calendar-2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.is-style-default.wp-block-hoyry-image-gallery .hoyry-image-gallery-image img {
  border-radius: 20px !important;
}
.is-style-default.wp-block-hoyry-image-gallery .hoyry-image-gallery-image {
  max-height: 677px !important;
}

@media (min-width: 768px) {
  .is-style-kohdenosto.wp-block-hoyry-image-gallery .hoyry-image-gallery-image {
    min-height: 619px;
  }
}

@media (min-width: 768px) {
  .wp-block-group.kohteennosto {
    margin-left: -90px !important;
  }
  .wp-block-group.kohteennosto2 {
    margin-right: -90px !important;
    z-index: 9 !important;
  }
}
.fluentform .hoyry-form-select:after {
  background: #A1DCBF !important;
}

.mapboxgl-popup-content strong {
  font-family: "IvyPresto Display";
  font-size: 24px !important;
  font-style: normal;
  font-weight: 400;
  color: #00433F;
}
.mapboxgl-popup-content p {
  color: #00433F;
  font-family: Nexa;
  font-size: 18px !important;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
}

.wp-block-social-links .wp-social-link svg {
  height: 30px;
  width: 30px;
}

@media (max-width: 768px) {
  .mobiilijarjestys {
    display: flex;
    flex-direction: column-reverse;
  }
  .lang-dropdown-toggle {
    color: white !important;
  }
}
.mapboxgl-canvas {
  overscroll-behavior: none !important;
}

.hoyry-highlight-carousel-slide-content.is-layout-flow {
  width: 100% !important;
  margin: 0 !important;
}

.hoyry-highlight-carousel-slide.embla__slide.wp-block-hoyry-highlight-carousel-item.is-in-view {
  overflow: hidden !important;
}

.wp-block-media-text__media {
  height: 791px !important;
}
.wp-block-media-text__media img {
  border-radius: 20px !important;
}

@media (max-width: 768px) {
  .hoyry-highlight-carousel-dots.embla__dots {
    position: static !important;
    margin-top: 1rem !important;
  }
  .wp-block-media-text__media {
    height: 300px !important;
  }
}
