@charset "UTF-8";
.wp-block-heading.is-style-hoyry-heading-viiva:before {
  display: none;
}
.wp-block-heading.is-style-hoyry-heading-viiva:after {
  content: "";
  display: block;
  margin-top: 0.4em;
  width: 166px;
  height: 8px;
  background-image: var(--hoyry-viiva-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.wp-block-heading.is-style-hoyry-heading-viiva.has-text-align-center:after {
  margin-left: auto;
  margin-right: auto;
}
.wp-block-heading.is-style-hoyry-heading-viiva.has-text-align-right:after {
  margin-left: auto;
  margin-right: 0;
}
.wp-block-heading.is-style-hoyry-heading-pieni-viiva:before {
  display: none;
}
.wp-block-heading.is-style-hoyry-heading-pieni-viiva:after {
  content: "";
  display: block;
  margin-top: 0.2em;
  width: 97px;
  height: 5px;
  background-image: var(--hoyry-viiva-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.wp-block-heading.is-style-hoyry-heading-pieni-viiva.has-text-align-center:after {
  margin-left: auto;
  margin-right: auto;
}
.wp-block-heading.is-style-hoyry-heading-pieni-viiva.has-text-align-right:after {
  margin-left: auto;
  margin-right: 0;
}

.wp-block-hoyry-testimonial .hoyry-testimonial .hoyry-testimonial-texts {
  text-align: center;
}
.wp-block-hoyry-testimonial .hoyry-testimonial .hoyry-testimonial-texts:before {
  content: "“";
  display: block;
  text-align: center;
  line-height: 1;
  font-family: var(--wp--preset--font-family--signika-negative);
  font-size: clamp(3.875rem, 3.605rem + 1.351vw, 5.125rem);
  color: var(--wp--preset--color--custom-lohi);
  font-weight: 600;
  margin-bottom: -0.32em;
}
.wp-block-hoyry-testimonial .hoyry-testimonial .hoyry-testimonial-texts .hoyry-testimonial-text {
  text-align: center;
}
.wp-block-hoyry-testimonial .hoyry-testimonial .hoyry-testimonial-texts .hoyry-testimonial-person {
  justify-content: center;
}

.wp-block-hoyry-highlight-carousel.is-style-hoyry-highlight-carousel-oletus .hoyry-highlight-carousel-block .hoyry-highlight-carousel-slide-container,
.wp-block-hoyry-highlight-carousel:not([class*=is-style-hoyry-]) .hoyry-highlight-carousel-block .hoyry-highlight-carousel-slide-container {
  position: relative;
}
.wp-block-hoyry-highlight-carousel.is-style-hoyry-highlight-carousel-oletus .hoyry-highlight-carousel-block .hoyry-highlight-carousel-slide-container:before,
.wp-block-hoyry-highlight-carousel:not([class*=is-style-hoyry-]) .hoyry-highlight-carousel-block .hoyry-highlight-carousel-slide-container:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  right: 60%;
  width: 13%;
  background-image: var(--hoyry-home-hero-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 1023px) {
  .wp-block-hoyry-highlight-carousel.is-style-hoyry-highlight-carousel-oletus .hoyry-highlight-carousel-block .hoyry-highlight-carousel-slide-container:before,
  .wp-block-hoyry-highlight-carousel:not([class*=is-style-hoyry-]) .hoyry-highlight-carousel-block .hoyry-highlight-carousel-slide-container:before {
    right: 0;
    left: 0;
    bottom: initial;
    top: 40vh;
    width: 100vw;
    height: 15vh;
    background-image: var(--hoyry-home-hero-bg-mobile-url);
  }
}

.wp-block-group.is-style-hoyry-group-grafiikkatausta {
  background-image: var(--hoyry-group-bg-left-url), var(--hoyry-group-bg-right-url) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 19% auto, 22% auto !important;
  background-position: left bottom, right bottom !important;
}
@media (max-width: 1200px) {
  .wp-block-group.is-style-hoyry-group-grafiikkatausta {
    background-size: 21% auto, 24% auto !important;
  }
}
@media (max-width: 1000px) {
  .wp-block-group.is-style-hoyry-group-grafiikkatausta {
    background-size: 23% auto, 26% auto !important;
  }
}
@media (max-width: 800px) {
  .wp-block-group.is-style-hoyry-group-grafiikkatausta {
    background-size: 25% auto, 28% auto !important;
  }
}
@media (max-width: 600px) {
  .wp-block-group.is-style-hoyry-group-grafiikkatausta {
    background-size: 27% auto, 30% auto !important;
  }
}
.wp-block-group.is-style-hoyry-group-vihrea-grafiikkatausta {
  background-color: var(--wp--preset--color--custom-meri) !important;
  background-image: var(--hoyry-group-green-bg-top-url), var(--hoyry-group-green-bg-bottom-url) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 30% auto, 30% auto !important;
  background-position: top right, bottom left !important;
}
@media (max-width: 1200px) {
  .wp-block-group.is-style-hoyry-group-vihrea-grafiikkatausta {
    background-size: 35% auto, 35% auto !important;
  }
}
@media (max-width: 1000px) {
  .wp-block-group.is-style-hoyry-group-vihrea-grafiikkatausta {
    background-size: 40% auto, 40% auto !important;
  }
}
@media (max-width: 800px) {
  .wp-block-group.is-style-hoyry-group-vihrea-grafiikkatausta {
    background-size: 45% auto, 45% auto !important;
  }
}
@media (max-width: 600px) {
  .wp-block-group.is-style-hoyry-group-vihrea-grafiikkatausta {
    background-size: 50% auto, 50% auto !important;
  }
}

.hoyry-contact-template-part {
  position: relative;
  overflow: hidden;
}
.hoyry-contact-template-part:after {
  content: "";
  display: block;
  background-image: var(--hoyry-group-bg-right-url);
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 23%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  transform: scaleX(-1);
}
@media (max-width: 1100px) {
  .hoyry-contact-template-part:after {
    width: 25%;
  }
}
@media (max-width: 900px) {
  .hoyry-contact-template-part:after {
    width: 40%;
  }
}
@media (max-width: 700px) {
  .hoyry-contact-template-part:after {
    width: 45%;
  }
}
@media (max-width: 500px) {
  .hoyry-contact-template-part:after {
    width: 50%;
  }
}
@media (max-width: 900px) {
  .hoyry-contact-template-part .wp-block-columns.hoyry-contact-form {
    flex-wrap: wrap !important;
  }
  .hoyry-contact-template-part .wp-block-columns.hoyry-contact-form:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
  .hoyry-contact-template-part .wp-block-columns.hoyry-contact-form > .wp-block-column:first-child {
    order: 2 !important;
  }
  .hoyry-contact-template-part .wp-block-columns.hoyry-contact-form > .wp-block-column:last-child {
    order: 1 !important;
  }
}

.wp-block-post-terms a {
  pointer-events: none;
  text-decoration: none !important;
  text-transform: uppercase;
}
.wp-block-post-terms.taxonomy-post_tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.wp-block-post-terms.taxonomy-post_tag a {
  all: unset;
  background-color: var(--wp--preset--color--custom-meri);
  color: #fff;
  padding: 1em 2em;
  border-radius: 30px;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.2;
  pointer-events: none;
}
.wp-block-post-terms.taxonomy-post_tag .wp-block-post-terms__separator {
  display: none;
}

.wp-block-hoyry-call-to-action.is-style-hoyry-call-to-action-ota-yhteytta .call-to-action-block {
  overflow: visible;
}
.wp-block-hoyry-call-to-action.is-style-hoyry-call-to-action-ota-yhteytta .call-to-action-block .call-to-action-image {
  margin-top: -3.18em;
}
@media (max-width: 800px) {
  .wp-block-hoyry-call-to-action.is-style-hoyry-call-to-action-ota-yhteytta .call-to-action-block .call-to-action-image {
    margin-top: 1em;
    align-self: flex-start;
    padding: 0 !important;
  }
}

.wp-block-hoyry-highlight-carousel.is-style-hoyry-highlight-carousel-tarina .embla__slide {
  margin: 0 1px;
}

.wp-block-column .wp-block-hoyry-listing-content.hoyry-listing-supports-carousel .hoyry-listing-carousel {
  overflow: hidden;
}

form[action*="sotemuotoilu-oy.creamailer.fi"] {
  max-width: 30em;
  margin-left: auto;
  margin-right: auto;
  --hoyry-form-submit-button-wrapper-justify-content: center;
  --hoyry-form-submit-button-margin-top: .5em;
}
form[action*="sotemuotoilu-oy.creamailer.fi"] div:first-of-type {
  display: flex;
  flex-direction: column;
  text-align: center;
}
form[action*="sotemuotoilu-oy.creamailer.fi"] div:first-of-type label {
  font-size: var(--wp--preset--font-size--custom-8);
  font-family: var(--wp--preset--font-family--signika-negative);
  font-weight: 600;
  margin-bottom: 0.5em;
}
form[action*="sotemuotoilu-oy.creamailer.fi"] .hoyry-form-checkbox {
  margin-top: 0.5em;
}
