/* Homepage only. Uses the original site's palette and typefaces. */
.billa-slideshow {
  --slideshow-ink: var(--billa-white);
  --slideshow-overlay: linear-gradient(90deg, color-mix(in srgb, var(--billa-primary) 76%, transparent), color-mix(in srgb, var(--billa-primary) 18%, transparent)), linear-gradient(0deg, color-mix(in srgb, var(--billa-primary) 50%, transparent), transparent 40%);
  --slideshow-line: color-mix(in srgb, var(--billa-white) 45%, transparent);
  position: relative;
  margin-top: 84px;
  height: 80vh;
  height: 80svh;
  min-height: 540px;
  overflow: hidden;
  background: var(--billa-primary);
  color: var(--slideshow-ink);
  touch-action: pan-y;
  isolation: isolate;
}
.billa-slideshow__slides, .billa-slideshow__slide { position: absolute; inset: 0; }
.billa-slideshow__slide { overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 1000ms ease, visibility 1000ms; pointer-events: none; }
.billa-slideshow__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.billa-slideshow__slide::after { content: ""; position: absolute; inset: 0; background: var(--slideshow-overlay); pointer-events: none; }
.billa-slideshow__image { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.billa-slideshow__slide.is-active .billa-slideshow__image { animation: billa-slide-zoom 7s linear forwards; }
.billa-slideshow__content { position: absolute; z-index: 1; left: max(8%, calc((100% - 1240px) / 2)); right: 8%; top: calc(50% - 24px); transform: translateY(-50%); display: block; max-width: 790px; padding-block: 20px; }
.billa-slideshow__category { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0; margin-bottom: 22px; }
.billa-slideshow__title { color: var(--slideshow-ink); font-size: 72px; line-height: 1.03; letter-spacing: 0; font-weight: 400; overflow-wrap: anywhere; }
.billa-slideshow__subtitle { font-family: var(--font-display); font-size: 30px; line-height: 1.2; margin-top: 22px; }
.billa-slideshow__description { font-size: 16px; line-height: 1.65; max-width: 49ch; margin-top: 16px; color: color-mix(in srgb, var(--slideshow-ink) 85%, transparent); }
.billa-slideshow__cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 30px; padding: 14px 22px; border: 1px solid var(--slideshow-line); font-size: 13px; font-weight: 400; background: color-mix(in srgb, var(--billa-primary) 12%, transparent); transition: color .25s, background .25s; }
.billa-slideshow__cta span { font-size: 22px; line-height: 1; }
.billa-slideshow__content:hover .billa-slideshow__cta { color: var(--billa-primary); background: var(--slideshow-ink); }
.billa-slideshow__slide.is-active .billa-slideshow__content { animation: billa-slide-enter 850ms var(--ease) both; }
.billa-slideshow button { color: var(--slideshow-ink); border: 0; cursor: pointer; background: transparent; padding: 0; }
.billa-slideshow__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 56px; display: grid; place-items: center; transition: background .25s; }
.billa-slideshow__arrow:hover { background: color-mix(in srgb, var(--billa-primary) 40%, transparent); }
.billa-slideshow__arrow svg { width: 26px; height: 26px; }
.billa-slideshow__arrow--prev { left: 16px; }
.billa-slideshow__arrow--next { right: 16px; }
.billa-slideshow__bottom { position: absolute; z-index: 3; bottom: 24px; left: 8%; right: 8%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.billa-slideshow__count { font-size: 12px; min-width: 55px; font-variant-numeric: tabular-nums; }
.billa-slideshow__dots { display: flex; gap: 2px; }
.billa-slideshow__dot { width: 38px; height: 44px; display: grid; place-items: center; }
.billa-slideshow__dot::after { content: ""; width: 6px; height: 6px; border: 1px solid var(--slideshow-ink); border-radius: 50%; transition: background .3s, width .3s; }
.billa-slideshow__dot[aria-pressed="true"]::after { background: var(--slideshow-ink); width: 22px; border-radius: 4px; }
.billa-slideshow__pause { width: 55px; height: 44px; font-size: 18px; }
.billa-slideshow a:focus-visible, .billa-slideshow button:focus-visible, .billa-slideshow:focus-visible { outline: 2px solid var(--slideshow-ink); outline-offset: -3px; }
@keyframes billa-slide-zoom { from { transform: scale(1); } to { transform: scale(1.055); } }
@keyframes billa-slide-enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 960px) {
  .billa-slideshow__title { font-size: 56px; }
  .billa-slideshow__content { left: 10%; right: 10%; }
}
@media (max-width: 600px) {
  .billa-slideshow { min-height: 500px; }
  .billa-slideshow__title { font-size: 36px; }
  .billa-slideshow__subtitle { font-size: 24px; margin-top: 18px; }
  .billa-slideshow__description { font-size: 14px; }
  .billa-slideshow__category { font-size: 10px; margin-bottom: 18px; }
  .billa-slideshow__content { left: 9%; right: 9%; padding-bottom: 40px; }
  .billa-slideshow__cta { margin-top: 24px; padding: 12px 16px; }
  .billa-slideshow__arrow { top: auto; bottom: 22px; transform: none; width: 38px; height: 44px; }
  .billa-slideshow__arrow--prev { left: 4px; }
  .billa-slideshow__arrow--next { right: 4px; }
  .billa-slideshow__bottom { left: 44px; right: 44px; bottom: 22px; gap: 4px; }
  .billa-slideshow__count { min-width: 40px; font-size: 10px; }
  .billa-slideshow__dot { width: 30px; }
  .billa-slideshow__pause { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .billa-slideshow__slide, .billa-slideshow__cta, .billa-slideshow__dot::after { transition: none; }
  .billa-slideshow__slide.is-active .billa-slideshow__image, .billa-slideshow__slide.is-active .billa-slideshow__content { animation: none; }
}

/* Preserve the original introduction without repeating the slideshow photo. */
.hero--text-only { min-height: 0; background: var(--billa-primary); }
.hero--text-only::after { display: none; }
.hero--text-only .hero__content { padding: 4rem 5vw; }
.hero--text-only .hero__brand { font-size: 64px; letter-spacing: 0; text-indent: 0; text-shadow: none; }
@media (max-width: 600px) {
  .hero--text-only .hero__content { padding: 3rem 5vw; }
  .hero--text-only .hero__brand { font-size: 48px; }
}
