.kortti-1 {
  overflow: hidden;
}
.kortti-1__body {
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: var(--space-m);
}
.kortti-1__text {
  line-height: 1.2;
}
.kortti-1__link {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}
.kortti-1__link:hover {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--primary-hover);
}
@media only screen and (max-width: 768px) {
  .kortti-1__body {
    padding: 0px;
  }
}
.repeater-container:nth-child(2n) {
  flex-direction: row-reverse !important;
}
.stuk--hero {
  position: relative;
}
.stuk--hero__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.stuk--hero__teksti-yla {
  color: var(--primary-light);
  text-transform: uppercase;
}
.stuk--hero__h1 {
  color: var(--white);
}
.stuk--hero__h1 u {
  text-decoration-thickness: 4px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--secondary);
}
.stuk--hero__teksti {
  color: var(--primary-light);
  max-width: 70ch;
  margin-top: var(--space-s);
}
.btn--white:hover {
  color: var(--shade-black) !important;
}
.stuk--hero {
  background-color: var(--base);
}
.stuk--hero__teksti-yla {
  z-index: 10;
}
.stuk--hero__h1 {
  z-index: 10;
}
.stuk--hero__teksti {
  z-index: 10;
}
.stuk--hero::before {
  content: "";
  background-image: url('https://www.studioukkonen.fi/wp-content/uploads/stuk-tausta-vektori.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 0.05;
  background-position: 100% 100%;
  z-index: 1;
}
/* Blogi hero */
@media (min-width: 330px) {
  .blogi-hero__meta > *::before {
    content: "//";
    margin: 0 0.5em 0 0.5em;
  }
}
@media (max-width: 329px) {
  .blogi-hero__meta > *::before {
    content: " ";
    margin: 0 0.5em 0 0.5em;
  }
}
.blogi-hero__meta > *:first-of-type::before {
  display: none;
}
.blogi-hero__category span a {
  color: var(--white);
  position: relative;
}
.blogi-hero__author-name span a {
  color: var(--white);
  position: relative;
}
.blogi-hero__category span a:hover::after, .blogi-hero__author-name span a:hover::after {
  content: "";
  display: flex;
  width: 100%;
  height: 1.5px;
  background-color: var(--white);
  position: absolute;
  bottom: -0.2em;
}
/* Blogi Body */
.blogi-body__content p:first-child {
  margin-top: 0px;
}
.blogi-body__content h2 {
  margin-top: 2.2em;
}
.blogi-body__content h3 {
  margin-top: 1.8em;
}
.blogi-body__content ul li {
  padding-bottom: 0.5em;
}
.blogi-body__content ol li {
  padding-bottom: 0.5em;
}
/* WP Grid Builder */
.wpgb-facet .wpgb-checkbox-facet .wpgb-checkbox-control {
  border-radius: 0px !important;
}
.wpgb-facet .wpgb-hierarchical-list {
  display: inline-flex !important;
  flex-wrap: wrap;
}
.wpgb-facet .wpgb-hierarchical-list li {
  display: block;
  margin: 0px 24px 16px 0px !important;
  padding: 0;
  line-height: 1;
  list-style: none;
}
/* WP Amelia */
.amelia-v2-booking #amelia-container.am-fs__wrapper {
  margin: 0px !important;
}
.amelia-v2-booking #amelia-container.am-fs__wrapper {
  border-radius: 0px !important;
}
.amelia-v2-booking #amelia-container .am-fs-sb {
  border-radius: 0px !important;
}
