﻿.component-hero-section {
  position: relative;
  width: 100%;
  min-height: 200px;
  box-sizing: border-box;
  isolation: isolate;
  /* ---------- Media layer (image / video + overlay) ---------- */
  /* ---------- Content ---------- */
  /* ---------- Modifiers ---------- */
  /* ---------- Alternative layout: content below the hero ---------- */
}
.component-hero-section .hero-section-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.component-hero-section .hero-section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.component-hero-section .hero-section-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--modified-primary-color);
}
.component-hero-section .component-hero-section-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 100px;
  padding-bottom: 20px;
}
.component-hero-section .component-hero-section-content .component-hero-section-content-inner {
  max-width: 550px;
}
.component-hero-section .pre-title {
  font-family: "Caveat";
  color: var(--tertiary-color);
  font-weight: normal;
  font-size: 2em;
  margin: 20px 0 0;
}
.component-hero-section .title {
  text-transform: uppercase;
  font-size: 2.5em;
  margin: 20px 0;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  color: white;
}
.component-hero-section .hero-section-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.component-hero-section .hero-section-buttons .hero-section-cta {
  display: flex;
}
.component-hero-section .white-transparent-btn {
  color: white;
  border-color: white;
}
.component-hero-section.smaller-paddings {
  padding-top: 50px;
  padding-bottom: 30px;
}
.component-hero-section.curved-bottom .hero-section-media {
  clip-path: ellipse(80% 95% at 37% 5%);
}
.component-hero-section.curved-bottom .component-hero-section-content {
  padding-bottom: 50px;
}
.component-hero-section.layout-content-below {
  min-height: 0;
  padding: 0;
}
.component-hero-section.layout-content-below .hero-section-media {
  position: relative;
  height: clamp(250px, 35vw, 450px);
}
.component-hero-section.layout-content-below.smaller-paddings .hero-section-media {
  height: clamp(180px, 25vw, 320px);
}
.component-hero-section.layout-content-below .component-hero-section-content, .component-hero-section.layout-content-below.curved-bottom .component-hero-section-content {
  padding-top: 20px;
  padding-bottom: 10px;
}
.component-hero-section.layout-content-below .title {
  /*color: inherit;*/
  color: var(--primary-color);
}
.component-hero-section.layout-content-below .white-transparent-btn {
  color: var(--primary-color, currentColor);
  border-color: currentColor;
}

@media (max-width: 768px) {
  .component-hero-section {
    margin-bottom: 20px;
  }
  .component-hero-section .hero-section-buttons {
    margin-top: 0;
  }
  .component-hero-section .title {
    font-size: 2em;
  }
  .component-hero-section .component-hero-section-content {
    padding-top: 140px;
    box-sizing: border-box;
  }
  .component-hero-section.curved-bottom {
    clip-path: ellipse(110% 95% at 37% 5%);
  }
}
@media (max-width: 560px) {
  .component-hero-section.curved-bottom {
    clip-path: ellipse(140% 95% at 37% 5%);
  }
  .component-hero-section.curved-bottom .component-hero-section-content {
    padding-bottom: 30px;
  }
}
