/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

/* ---------- Header ---------- */

:root {
  --q2-header-height: 132px;
  /* Shared outer edge: 18px on phones, up to 64px on desktop. */
  --q2-page-gutter: clamp(18px, 4.45vw, 64px);
  --q2-header-gap: clamp(20px, 2.25vw, 32px);
  --q2-section-gap: clamp(28px, 3.35vw, 48px);
  --pico-font-family-sans-serif:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pico-font-family-display:
    "Manrope", "Inter", sans-serif;
  --forum-font-display: var(--pico-font-family-display);
}

/* Manrope ships as SemiBold/Bold here — map light display headings up to 600 */
h1 {
  font-weight: 600;
}

#header,
body.header-transparent #header,
body.header-transparent.scrolled #header,
body.header-transparent:has(.hero, #blog-hero) #header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(34, 42, 53, 0.1);
}

/* Offset page content so it isn't hidden under the fixed header */
#page-wrapper {
  padding-top: calc(var(--q2-header-height) + var(--q2-header-gap));
}

#header .navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  min-height: var(--q2-header-height);
  padding-inline: var(--q2-page-gutter);
  padding-block: 16px;
  box-sizing: border-box;
}

#header .navbar-section.logo {
  justify-self: start;
}

#header .navbar-brand img,
#header .navbar-brand svg,
.overlay .mobile-logo img,
.overlay .mobile-logo svg {
  height: 48px;
  width: auto;
}

#header .navbar-section.desktop-menu {
  justify-self: center;
}

#header .navbar-section.actions {
  justify-self: end;
  margin-left: 0;
}

/* Keep full header height while scrolling (disable Quark shrink-on-scroll) */
.header-animated.scrolled #header .navbar {
  min-height: var(--q2-header-height);
}

/* Dark nav text on solid white (overrides transparent-over-hero light text) */
body.header-dark:not(.scrolled) #header,
body.header-dark:not(.scrolled) #header .navbar-brand,
body.header-dark:not(.scrolled) #header .lang-switcher__link,
body.header-dark:not(.scrolled) #header .login-status-wrapper,
body.header-dark:not(.scrolled) #header .dropmenu > ul > li > a {
  color: #111111;
}

body.header-dark:not(.scrolled) #header .navbar-brand svg path {
  fill: #111111;
}

/* Header nav: underline on hover/active, no pill */
#header .dropmenu > ul > li > a {
  background: transparent;
  border-radius: 0;
  font-size: 20px;
  text-decoration: none;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 3px;
}

#header .dropmenu > ul > li > a:hover,
#header .dropmenu > ul > li > a.active,
#header .dropmenu > ul > li > a.active:hover {
  background: transparent;
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
}

body.header-dark:not(.scrolled) #header .dropmenu > ul > li > a.active,
body.header-light:not(.scrolled) #header .dropmenu > ul > li > a.active,
body.header-dark:not(.scrolled) #header .dropmenu > ul > li > a:hover:not(.active),
body.header-light:not(.scrolled) #header .dropmenu > ul > li > a:hover:not(.active) {
  color: inherit;
}

/* ---------- Language switcher ---------- */

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switcher__list {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid transparent;
  color: inherit;
  font-family: var(--pico-font-family-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.lang-switcher__link:hover,
.lang-switcher__link:focus-visible {
  opacity: 1;
  outline: none;
}

.lang-switcher__link.is-active {
  opacity: 1;
  border-color: currentColor;
}

.lang-switcher--labeled {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.lang-switcher__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.mobile-lang-switcher {
  margin-top: 2rem;
}

/* ---------- Hero Slider ---------- */

.hero.hero-slider {
  position: relative;
  padding-block: 0;
  min-height: 0;
  color: #fff;
  padding-inline: var(--q2-page-gutter);
  background: #ffffff;
}

.hero.hero-slider::before {
  display: none;
}

/* Content section gutter */
#body-wrapper {
  padding-inline: var(--q2-page-gutter);
}

.hero.hero-slider .hero-slider__swiper,
.hero.hero-slider .hero-slider__slide {
  /* A minimum image height; longer text is allowed to increase it. */
  min-height: clamp(320px, 65svh, 760px);
  height: auto;
}

.hero-slider__slide {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #0b0d10;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-slider__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.hero.hero-slider .hero-slider__content.container {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-block: clamp(32px, 8svh, 96px) clamp(48px, 8svh, 96px);
  padding-inline: clamp(24px, 6vw, 96px);
  box-sizing: border-box;
  text-align: left;
}

.hero-slider__title {
  margin: 0 0 0.75rem;
  color: inherit;
  font-size: clamp(30px, 4.9vw, 70px);
  line-height: 1.12;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero.hero-slider p.hero-slider__text {
  margin: 0;
  margin-inline: 0 !important;
  margin-left: 0;
  margin-right: 0;
  max-width: 38rem;
  width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.25vw, 32px);
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.hero-slider__nav {
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remove Swiper's default font chevrons */
.hero-slider__nav::after {
  display: none;
  content: none;
}

.hero-slider__nav img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  pointer-events: none;
  filter: none;
}

.hero-slider .swiper-button-prev {
  left: 1rem;
}

.hero-slider .swiper-button-next {
  right: 1rem;
}

@media (max-width: 640px) {
  .hero-slider__nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__swiper .swiper-slide {
    transition: none !important;
  }

  .hero-slider__video {
    display: none;
  }
}

/* ---------- Media cards (heading, image, subtitle; 3-col from lg) ---------- */

.media-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  row-gap: var(--q2-section-gap);
  column-gap: clamp(24px, 2.8vw, 40px);
  padding-inline: var(--q2-page-gutter);
  margin: 0;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .media-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.media-card-row > .modular-media-card {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.modular-media-card {
  margin: 0;
  padding: 0;
  background: transparent;
}

.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(34, 42, 53, 0.12);
  overflow: hidden;
}

.media-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.media-card__title {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-bottom: 0.75rem;
  color: #111111;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.media-card__subtitle {
  margin: 0 0 0.75rem;
  color: #111111;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.4;
}

.media-card__subtitle:last-child {
  margin-bottom: 0;
}

.media-card__text {
  margin: 0;
  color: #111111;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
}

.media-card__text p {
  margin: 0 0 0.75rem;
  color: inherit;
}

.media-card__text p:last-child {
  margin-bottom: 0;
}

.media-card__media {
  flex: 0 0 auto;
}

.media-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}


/* ---------- Heading + video (below media cards) ---------- */

.heading-video {
  padding-inline: var(--q2-page-gutter);
  padding-block: var(--q2-section-gap);
  box-sizing: border-box;
}

.heading-video__title {
  margin: 0 0 1.25rem;
  color: #000000;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: left;
}

.heading-video__player {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000000;
}

/* ---------- Features page (SVG icon + text cards) ---------- */

.features-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.features-page__header {
  margin-bottom: 1.75rem;
}

.features-page__title {
  margin: 0;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: #111111;
}

.features-page__intro {
  margin-bottom: 2rem;
  max-width: 42rem;
  color: #111111;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(34, 42, 53, 0.12);
  box-sizing: border-box;
}

.feature-card__icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  color: #111111;
}

.feature-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-card__icon svg [fill="#ffffff"],
.feature-card__icon svg [fill="#FFFFFF"],
.feature-card__icon svg [fill="#fff"],
.feature-card__icon svg [fill="#FFF"],
.feature-card__icon svg [fill="#333"],
.feature-card__icon svg [fill="#333333"] {
  fill: currentColor;
}

.feature-card__icon svg [stroke="#ffffff"],
.feature-card__icon svg [stroke="#FFFFFF"],
.feature-card__icon svg [stroke="#fff"],
.feature-card__icon svg [stroke="#FFF"] {
  stroke: currentColor;
}

.feature-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.feature-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
}

.feature-card__text {
  margin: 0;
  color: #111111;
  font-size: clamp(0.875rem, 1.1vw, 0.9875rem);
  line-height: 1.55;
}

.feature-card__text p {
  margin: 0 0 0.5rem;
  color: inherit;
}

.feature-card__text p:last-child {
  margin-bottom: 0;
}

.feature-card__text ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.feature-card__text li {
  margin: 0.2rem 0;
}

/* ---------- About page (alternating text + image cards) ---------- */

.about-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.about-page__header {
  margin-bottom: 1.75rem;
}

.about-page__title {
  margin: 0;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: #111111;
}

.about-page__intro {
  margin-bottom: 2rem;
  max-width: 42rem;
  color: #111111;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(34, 42, 53, 0.12);
  overflow: hidden;
  box-sizing: border-box;
}

.about-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  min-width: 0;
}

.about-card__title {
  margin: 0 0 0.75rem;
  color: #111111;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.about-card__text {
  margin: 0;
  color: #111111;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
}

.about-card__text p {
  margin: 0 0 0.75rem;
  color: inherit;
}

.about-card__text p:last-child {
  margin-bottom: 0;
}

.about-card__media {
  flex: 0 0 auto;
  min-width: 0;
}

.about-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 640px) {
  .about-card {
    flex-direction: row;
    align-items: stretch;
  }

  .about-card[data-image-position="left"] {
    flex-direction: row-reverse;
  }

  .about-card__body,
  .about-card__media {
    flex: 1 1 50%;
  }

  .about-card__media img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

/* ---------- Contact form ---------- */

#body-wrapper:has(#contact-wrapper) .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#body-wrapper:has(#contact-wrapper) .container > p {
  max-width: 40rem;
  width: 100%;
  margin-inline: auto;
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
  color: #111111;
}

#contact-wrapper.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 40rem;
}

.form-fieldset {
  max-width: 40rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

form[name="contact"] {
  max-width: 40rem;
  width: 100%;
  margin-top: 1.5rem;
  margin-inline: auto;
  text-align: left;
}

form[name="contact"] .form-field {
  margin-bottom: 1.15rem;
}

form[name="contact"] label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #111111;
}

form[name="contact"] input[type="text"],
form[name="contact"] input[type="email"],
form[name="contact"] textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(34, 42, 53, 0.18);
  background: #ffffff;
  color: #111111;
  font: inherit;
}

form[name="contact"] textarea {
  min-height: 8rem;
  resize: vertical;
}

form[name="contact"] .form-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

form[name="contact"] button,
form[name="contact"] input[type="submit"],
form[name="contact"] input[type="reset"] {
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(34, 42, 53, 0.18);
  background: #111111;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

form[name="contact"] input[type="reset"],
form[name="contact"] button[type="reset"] {
  background: #ffffff;
  color: #111111;
}

/* ---------- Default editor content (no card inset) ---------- */

#body-wrapper > .container > .content-item {
  margin-inline: 0;
  padding-inline: 24px;
  max-width: none;
}

/* ---------- Partners page (wrapping logo + text cards) ---------- */

.partners-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.partners-page__header {
  margin-bottom: 1.75rem;
}

.partners-page__title {
  margin: 0;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: #111111;
}

.partners-page__intro {
  margin-bottom: 2rem;
  max-width: 42rem;
  color: #111111;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: stretch;
}

.partner-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 260px;
  max-width: 100%;
  gap: 1rem;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(34, 42, 53, 0.12);
  box-sizing: border-box;
}

.partner-card__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 3.5rem;
  color: #111111;
}

.partner-card__logo svg,
.partner-card__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 2.75rem;
}

.partner-card__logo svg .cls-1,
.partner-card__logo svg [fill="#ffffff"],
.partner-card__logo svg [fill="#FFFFFF"],
.partner-card__logo svg [fill="#fff"],
.partner-card__logo svg [fill="#FFF"] {
  fill: currentColor;
}

.partner-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.partner-card__name {
  margin: 0 0 0.4rem;
  font-family: var(--pico-font-family-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
}

.partner-card__text {
  margin: 0;
  color: #111111;
  font-size: clamp(0.875rem, 1.1vw, 0.9875rem);
  line-height: 1.55;
}

.partner-card__text p {
  margin: 0 0 0.5rem;
  color: inherit;
}

.partner-card__text p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer bar ---------- */

#footer {
  text-align: left;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-logo {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 4.5rem;
  max-width: 100%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
  margin-left: auto;
}

.footer-links a {
  white-space: nowrap;
}


/* ---------- Responsive spacing and navigation ---------- */

/* Keep all slides as tall as the longest caption, without clipping text. */
.hero-slider__swiper .swiper-wrapper {
  align-items: stretch;
}

.hero.hero-slider {
  margin-bottom: var(--q2-section-gap);
}

/* The homepage modules are siblings under #start, not inside #body-wrapper.
   Remove any extra nested inset so captions/cards/video share one outer edge. */
#start > .modular-text {
  padding-inline: var(--q2-page-gutter);
  padding-block: 0 var(--q2-section-gap);
}

#start > .modular-text > .container {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  box-sizing: border-box;
}

#start > .modular-text .columns {
  margin-inline: 0;
}

#start > .modular-text .column {
  min-width: 0;
  padding-inline: 0;
}

#start > .modular-text .column > :first-child {
  margin-top: 0;
}

#start > .modular-text .column > :last-child {
  margin-bottom: 0;
}

#header .navbar {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  height: var(--q2-header-height);
  min-height: var(--q2-header-height);
  gap: clamp(12px, 2vw, 24px);
}

#header .navbar-section.logo,
#header .navbar-brand {
  min-width: 0;
}

#header .dropmenu > ul > li > a {
  font-size: clamp(16px, 1.4vw, 20px);
}

/* Compact header for laptops with limited vertical space. */
@media (min-width: 861px) and (max-height: 800px) {
  :root {
    --q2-header-height: 100px;
    --q2-header-gap: 16px;
  }
}

/* Match the theme's existing mobile navigation breakpoint. */
@media (max-width: 860px) {
  :root {
    --q2-header-height: 80px;
    --q2-header-gap: 20px;
  }

  #header .navbar {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 12px;
    padding-right: calc(var(--q2-page-gutter) + 56px);
  }

  #header .navbar-section.desktop-menu,
  #header .navbar-section.actions {
    display: none;
  }

  #header .navbar-brand img,
  #header .navbar-brand svg {
    height: auto;
    max-height: 40px;
    max-width: min(220px, 100%);
  }

  .mobile-menu {
    top: calc((var(--q2-header-height) - 44px) / 2);
    right: var(--q2-page-gutter);
  }

  .overlay {
    padding: calc(var(--q2-header-height) + 16px) var(--q2-page-gutter) 28px;
  }

  .overlay .mobile-logo img,
  .overlay .mobile-logo svg {
    max-width: 100%;
    height: auto;
    max-height: 40px;
  }

  .hero.hero-slider .hero-slider__content.container {
    padding-inline: clamp(20px, 5vw, 40px);
  }
}

@media (max-width: 600px) {
  :root {
    --q2-header-height: 72px;
    --q2-header-gap: 16px;
  }

  .hero.hero-slider .hero-slider__swiper,
  .hero.hero-slider .hero-slider__slide {
    min-height: clamp(300px, 58svh, 520px);
  }

  .hero.hero-slider .hero-slider__content.container {
    padding-block: 32px 48px;
  }

  .hero-slider__title {
    font-size: clamp(28px, 7.5vw, 42px);
  }

  .hero.hero-slider p.hero-slider__text {
    font-size: clamp(18px, 4.6vw, 22px);
    line-height: 1.4;
  }
}

/* Landscape phones: preserve readable text instead of forcing it into 65vh. */
@media (max-width: 860px) and (max-height: 500px) {
  :root {
    --q2-header-height: 64px;
    --q2-header-gap: 12px;
  }

  .hero.hero-slider .hero-slider__swiper,
  .hero.hero-slider .hero-slider__slide {
    min-height: 240px;
  }

  .hero.hero-slider .hero-slider__content.container {
    padding-block: 24px 40px;
  }
}
#start > .modular-text h2 {
  text-align: left;
  margin-inline: 0;
}