/* Veeta 6.8.31 — the homepage banner has a single layout owner.
 * The photograph is not recoloured. A warm, local scrim separates it from
 * the text; on mobile the picture gets its own space below the heading. */
.veeta-home-banner {
  --hero-paper: #fff7ef;
  --hero-ink: var(--veeta-burgundy, #3f1d2a);
  position: relative;
  isolation: isolate;
  min-height: 530px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--hero-paper);
}
.veeta-home-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    #fff7ef 0%,
    rgba(255,247,239,.98) 25%,
    rgba(255,247,239,.96) 36%,
    rgba(255,247,239,.84) 45%,
    rgba(255,247,239,.35) 57%,
    rgba(255,247,239,0) 72%);
}
.veeta-home-banner .veeta-home-banner__layout {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 26px;
  padding-block: 68px;
}
.veeta-home-banner__track,
.veeta-home-banner__slide { display: contents; }
.veeta-home-banner__media {
  touch-action: pan-y;
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
body.veeta-theme .veeta-home-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: none;
}
.veeta-home-banner__signature {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  width: min(100%, 550px);
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.veeta-home-banner__slide.is-active .veeta-home-banner__media,
.veeta-home-banner__slide.is-active .veeta-home-banner__signature {
  opacity: 1;
  visibility: visible;
}
.veeta-home-banner .veeta-home-banner__eyebrow {
  margin: 0;
  color: var(--hero-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.veeta-home-banner .veeta-home-banner__brand {
  display: inline-block;
  max-width: 100%;
  padding: 2px 17px 3px;
  border: 1px solid rgba(227,161,101,.18);
  border-radius: 8px 28px 28px 0;
  background: #fff;
  color: var(--veeta-orange, #e3a165);
  -webkit-text-fill-color: var(--veeta-orange, #e3a165);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
body.veeta-theme .veeta-home-banner__heading {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 570px);
  max-width: none;
  margin: 0;
  color: var(--hero-ink);
  -webkit-text-fill-color: var(--hero-ink);
  font-family: inherit;
  font-size: clamp(38px, 3.65vw, 56px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: none;
  visibility: visible;
  opacity: 1;
}
.veeta-home-banner__heading-line { display: block; }
body.veeta-theme .veeta-home-banner__heading .veeta-home-banner__heading-tail {
  display: block;
  margin-top: 10px;
  color: var(--veeta-brown, #914d1f);
  -webkit-text-fill-color: var(--veeta-brown, #914d1f);
  font-size: .78em;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.veeta-home-banner__controls {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100%, 550px);
  padding-top: 4px;
}
.veeta-home-banner__controls[hidden] { display: none; }
.veeta-home-banner__dots { display: flex; flex-wrap: wrap; gap: 2px; }
.veeta-home-banner__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: transparent;
  color: var(--hero-ink);
  cursor: pointer;
}
.veeta-home-banner__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--hero-ink);
  border-radius: 50%;
  background: transparent;
  transition: background .2s ease, width .2s ease;
}
.veeta-home-banner__dot.is-active::before {
  width: 24px;
  border-radius: 8px;
  background: var(--hero-ink);
}
.veeta-home-banner__controls button:hover { background: rgba(63,29,42,.07); }
.veeta-home-banner__controls button:focus-visible {
  outline: 2px solid var(--hero-ink);
  outline-offset: 3px;
}
.veeta-home-banner__controls .veeta-home-banner__pause { border: 1px solid rgba(63,29,42,.18); }
.veeta-home-banner__pause .veeta-home-banner__play-icon,
.veeta-home-banner__pause[aria-pressed="true"] .veeta-home-banner__pause-icon { display: none; }
.veeta-home-banner__pause[aria-pressed="true"] .veeta-home-banner__play-icon { display: block; }

@media (min-width: 800px) and (max-width: 1199px) {
  .veeta-home-banner { min-height: 490px; }
  .veeta-home-banner .veeta-home-banner__layout { padding-block: 60px; }
  body.veeta-theme .veeta-home-banner__heading { width: min(100%, 480px); font-size: 44px; }
  .veeta-home-banner__signature { width: min(100%, 480px); }
  .veeta-home-banner::after {
    background: linear-gradient(90deg, #fff7ef 0%, rgba(255,247,239,.98) 32%, rgba(255,247,239,.87) 48%, rgba(255,247,239,.2) 74%, rgba(255,247,239,0) 92%);
  }
}
@media (max-width: 799px) {
  .veeta-home-banner {
    --hero-photo-height: clamp(210px, 52vw, 310px);
    min-height: 0;
    align-items: start;
  }
  .veeta-home-banner .veeta-home-banner__layout {
    gap: 22px;
    padding-top: 38px;
    padding-bottom: calc(var(--hero-photo-height) + 22px);
  }
  .veeta-home-banner__media {
    top: auto;
    height: var(--hero-photo-height);
  }
  body.veeta-theme .veeta-home-banner__media img { object-position: 58% center; }
  .veeta-home-banner::after {
    top: auto;
    height: calc(var(--hero-photo-height) + 2px);
    background: linear-gradient(180deg, #fff7ef 0%, rgba(255,247,239,.65) 12%, rgba(255,247,239,0) 36%);
  }
  .veeta-home-banner .veeta-home-banner__brand { font-size: 28px; padding: 2px 13px 3px; }
  .veeta-home-banner .veeta-home-banner__eyebrow { font-size: 12px; }
  /* 6.8.32: centre the complete text group only in the mobile composition. */
  .veeta-home-banner__signature { gap: 10px 12px; width: 100%; justify-content: center; text-align: center; }
  body.veeta-theme .veeta-home-banner__heading { width: 100%; font-size: clamp(30px, 5.7vw, 44px); line-height: 1.16; letter-spacing: -.035em; text-align: center; }
  .veeta-home-banner__controls { padding-top: 0; width: 100%; justify-content: center; }
}
@media (max-width: 374px) {
  .veeta-home-banner .veeta-home-banner__layout { padding-top: 30px; gap: 18px; }
  body.veeta-theme .veeta-home-banner__heading { font-size: 28px; }
  .veeta-home-banner .veeta-home-banner__brand { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .veeta-home-banner__media,
  .veeta-home-banner__dot::before { transition: none; }
}
@media (forced-colors: active) {
  .veeta-home-banner__dot.is-active::before { background: CanvasText; }
}
