/* new */
p,
li {
  color: var(--color-main-dark-gray);
  text-wrap: pretty;

  &:last-of-type {
    margin-bottom: 0 !important;
  }
}

h1,
h2,
h3,
h4 {
  color: var(--color-main-dark-gray);
  text-wrap: pretty;
}



.section__global_padding {
  padding-top: var(--global-padding);
  padding-bottom: var(--global-padding);

  @media screen and (min-width: 40em) {
    padding-top: calc(var(--global-padding) * 2.5);
    padding-bottom: calc(var(--global-padding) * 2.5);
  }
}

.hero__generic {
  p {
    font-size: 1.25rem;
    color: var(--color-main-dark-gray);
    margin-bottom: 0;
  }

  .btngroup {
    margin-top: calc(var(--global-padding) / 2);

    .button {
      margin-bottom: 0;
    }
  }


}

.h__subheading {
  text-transform: uppercase;
  color: var(--color-main-accent);
  letter-spacing: 0.1rem;
  margin-bottom: calc(var(--global-padding) / 2);
}

.faq .accordion-title {
  padding: 1rem 3rem 1rem 0rem;
}

video,
.video {
  border-radius: 0.25rem;
  box-shadow: 0 1rem 5rem 0 hsl(var(--color-main-accent-hsl) / 0.5);
}

.video-wrap {
  --video-tint: rgba(244, 192, 210, 0.35);
  --play-size: clamp(3rem, 6vw, 4.25rem);
  --fx-time: 0.25s;

  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.25rem;
  /* overflow: hidden; */
  background: #000;
  isolation: isolate;

  .video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .video-overlay {
    position: absolute;
    inset: 0;
    background: var(--video-tint);
    z-index: 2;
    opacity: 1;
    transition: opacity var(--fx-time) ease;
    cursor: pointer;
  }

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--play-size);
    height: var(--play-size);
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 1;
    pointer-events: none;
    transition: opacity var(--fx-time) ease;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='white' d='M320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM448 320L240 448L240 192L448 320z'/%3E%3C/svg%3E");
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
  }

  &.is-playing {
    .video-overlay {
      opacity: 0;
      pointer-events: none;
    }

    &::before {
      opacity: 0;
    }
  }

  &:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  @media (hover: hover) {

    &:hover,
    &:focus-within {
      .video-overlay {
        opacity: 0;
      }
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .video-overlay,
    &::before {
      transition: none;
    }
  }
}

/* utilities 2026 until recode */
/* foudnation fix for new stuff */
.flex {
  gap: var(--gap);
  place-items: var(--align);
  flex-direction: row;
}

@media screen and (max-width: 63.9875em) {
  .sm-flex-col {
    flex-direction: column;
    gap: var(--gap-sm, 0.5rem);
    /* temp */
  }
}

.flex::before,
.flex::after {
  content: none;
}

/* end fix */

.aligner {
  height: 100%;
}

.mt-4 {
  margin-top: calc(var(--global-padding) * 2);
}

@media screen and (min-width: 64em) {
  .lg-pr-4 {
    padding-right: 4rem;
  }
}

/* orders */
.order-0 {
  order: 0;
}

.order-1 {
  order: 1;
}

@media screen and (min-width: 40em) {
  .md-order-0 {
    order: 0;
  }

  .md-order-1 {
    order: 1;
  }

  .md-flex-col {
    flex-direction: row;
  }
}

.accordion-title::before {
  content: "\203A";
}

/* typo */
.text-xl {
  font-size: 18px;
  line-height: 1.6;
}

/* list */

.custom-count-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: item;
  margin-top: calc(var(--global-padding) * 2.5);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;

  &.cols-1 {
    grid-template-columns: 1fr;
  }

  .font-metropolis {
    font-size: 24px;
    margin-bottom: 0.5rem;
    font-weight: 500
  }

  li {
    counter-increment: item;
    position: relative;
    margin: 0;
    padding-left: 3.95rem;
    /* room for circle */
    min-height: 2.5rem;
    line-height: 1.2;
    display: flex;
    /* align-items: center; */


  }

  li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0%;
    transform: translateY(-0.75rem);
    width: 3rem;
    height: 3rem;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: metropolisregular, sans-serif;
    line-height: 1;
    font-weight: 700;
    color: white;
    background: var(--color-main-accent);
  }
}

@media screen and (max-width: 63.9875em) {
  .custom-count-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: calc(var(--global-padding));

    li {
      font-size: 16px;
      padding-left: 2.75rem;
      /* room for circle */
      min-height: 1.5rem;
    }

    li::before {
      transform: translateY(-0.2rem);
      width: 2rem;
      height: 2rem;
      font-size: 0.875rem;
    }
  }

  .md-flex-col {
    flex-direction: column;
  }
}


.hero-ratio-box {
  position: relative;
  width: 100%;
  overflow: hidden;

  &::before {
    content: "";
    display: block;
    padding-top: 48.611%;
  }
}



/* mobile ratio 1:1 */
@media (max-width: 639px) {
  .hero-ratio-box::before {
    padding-top: 100%;
  }
}

.hero-picture,
.hero-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

/* page specific */
/* about */
.slick__about {
  background-color: var(--color-main-accent-light-back);
}

.slick-slide,
.slick-slide img {
  height: clamp(320px, 40vw, 880px) !important;
}

.slick__about div img {
  display: block;
  width: auto;
  height: auto;
  max-height: 880px !important;
}

.slick__about div picture,
.slick__about div img {
  max-width: 100%;
}

.banner__cta {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  place-items: center;
  transition: all 150ms ease-in-out;

  h3 {
    font-size: 38px;
    margin-bottom: 2rem;
  }

  &:active span.fakebutton:not(:active) {
    translate: 0 3px;
  }


  span.fakebutton {
    padding: 0.75rem;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-main);
    transition: inherit !important;
    border-radius: 0.25rem;
    font-family: metropolisregular, arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    padding:
      1rem 2rem;
    font-size: 1rem;
    transition: translate 50ms ease-in-out;


    &:active {
      translate: 0 3px;
    }
  }

  &:hover {
    span.fakebutton {
      border-color: var(--color-main-accent);
      background: var(--color-main-accent);
      color: white;

    }
  }

}

/* host */


.card-container-flex {
  container-type: inline-size;
  container-name: card-container;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;

  .card {
    margin-bottom: 0;

    &.card-styled {
      color: var(--color-main-dark-gray);
      padding: 1rem 2rem;
      display: flex;
      flex-direction: column;
      place-items: center;
      border-radius: 0.25rem;
      border: 1px solid #c2c2c2;

      flex: 1 1 calc((100% - (2 * 2rem)) / 3);
      box-shadow: 0 .5rem 4rem 0 hsl(var(--color-main-accent-hsl) / 0.5);

      @media screen and (max-width: 63.999em) {
        flex: 1 1 calc((100% - (2 * 2rem)) /2);
        padding: 0.5rem 0.75rem;
        place-content: center;
      }

      @media screen and (max-width: 39.999em) {
        flex: 1 1 calc((100% - (2 * 2rem)) /2);
        padding: 0.5rem 0.75rem;

        svg {
          width: 2rem;
          height: 2rem;
        }
      }

      >div:first-of-type {
        /* font-family: metropolisregular, arial, sans-serif; */
        font-size: 18px;
        margin-bottom: 0.75rem;
        font-weight: semibold;

      }

      >div:nth-of-type(2) {
        font-size: 14px;
        line-height: 1.4;


      }

      svg {
        margin-top: 0.5rem;
        width: 3rem;
        height: 3rem;
        fill: var(--color-main-accent);
        margin-bottom: .6rem;

        @media screen and (max-width: 39.999em) {

          width: 2.5rem;
          height: 2.5rem;

        }
      }
    }
  }
}

@container card-container (min-width: 500px) {}