.drevesart-hero {
  --dh-gold: #e0b56f;
  --dh-ink: #0a0b0b;
  --dh-cream: #f5efe7;
  --dh-gutter: 4%;
  --dh-size-label: var(--dh-size-label-desktop, 15px);
  --dh-size-title: var(--dh-size-title-desktop, 60px);
  --dh-size-text: var(--dh-size-text-desktop, 18px);
  --dh-size-button: var(--dh-size-button-desktop, 16px);
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--dh-ink);
  color: var(--dh-cream);
  text-align: left;
}

.drevesart-hero__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  direction: ltr;
}

.drevesart-hero__track::-webkit-scrollbar { display: none; }

.drevesart-hero__slide {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(29rem, 45vw, 64rem);
  min-width: 0;
  background: var(--dh-ink);
  scroll-snap-align: start;
}

.drevesart-hero .drevesart-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.drevesart-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(10 11 11 / 60%), rgb(10 11 11 / 35%) 26%, transparent 60%);
  z-index: 1;
}

.drevesart-hero__content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(2.5rem, 7vw, 8rem) var(--dh-gutter) clamp(5.5rem, 11vw, 12.5rem);
  overflow-wrap: anywhere;
}

.drevesart-hero .drevesart-hero__label {
  margin: 0 0 clamp(0.9rem, 1.8vw, 2rem);
  color: var(--dh-gold);
  font: 700 var(--dh-size-label)/1.35 "Manrope", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.drevesart-hero .drevesart-hero__title {
  max-width: 48%;
  margin: 0 0 clamp(1rem, 2vw, 2.25rem);
  color: var(--dh-cream);
  font: 500 var(--dh-size-title)/1.05 "Cormorant Garamond", Georgia, serif;
}

.drevesart-hero .drevesart-hero__text {
  max-width: 47%;
  margin: 0 0 clamp(1.5rem, 2.8vw, 3.3rem);
  color: var(--dh-cream);
  font: 400 var(--dh-size-text)/1.4 system-ui, sans-serif;
}

.drevesart-hero .drevesart-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: clamp(0.85rem, 1.1vw, 1.35rem) clamp(1.15rem, 2vw, 2.6rem);
  border-radius: var(--dh-button-radius, 4px);
  background: var(--dh-gold);
  color: #111;
  font: 600 var(--dh-size-button)/1.35 system-ui, sans-serif;
  text-decoration: none;
}

.drevesart-hero .drevesart-hero__link:hover {
  background: var(--dh-cream);
  color: #111;
}

.drevesart-hero__controls {
  position: absolute;
  z-index: 3;
  inset: auto 0 clamp(0.85rem, 3.4vw, 4.25rem);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: var(--dh-gutter) 3%;
  pointer-events: none;
}

.drevesart-hero__controls[hidden] { display: none; }
.drevesart-hero__dots, .drevesart-hero__arrows { display: flex; gap: 0.35rem; }

.drevesart-hero .drevesart-hero__controls button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: clamp(44px, 3.2vw, 68px);
  height: clamp(44px, 3.2vw, 68px);
  padding: 0;
  border: 1px solid currentColor;
  border-radius: var(--dh-button-radius, 4px);
  background: rgb(10 11 11 / 35%);
  color: var(--dh-cream);
  font: 400 1.65rem/1 system-ui, sans-serif;
  cursor: pointer;
  pointer-events: auto;
}

.drevesart-hero .drevesart-hero__dots button {
  width: 30px;
  border-color: transparent;
  background: transparent;
}

.drevesart-hero__dots button::before {
  content: "";
  width: clamp(9px, 0.9vw, 16px);
  height: clamp(9px, 0.9vw, 16px);
  border-radius: 50%;
  background: #a29c93;
}

.drevesart-hero__dots button[aria-current="true"]::before { background: var(--dh-gold); }
.drevesart-hero .drevesart-hero__arrows button:disabled { opacity: 0.48; cursor: default; }
.drevesart-hero :focus-visible { outline: 2px solid var(--dh-gold); outline-offset: 3px; }
.drevesart-hero .drevesart-hero__track:focus-visible { outline-offset: -3px; }

@media (max-width: 767px) {
  .drevesart-hero {
    --dh-gutter: 6%;
    --dh-size-label: var(--dh-size-label-mobile, 12px);
    --dh-size-title: var(--dh-size-title-mobile, 34px);
    --dh-size-text: var(--dh-size-text-mobile, 15px);
    --dh-size-button: var(--dh-size-button-mobile, 14px);
  }
  .drevesart-hero__slide { align-items: flex-end; min-height: 35rem; }
  .drevesart-hero__slide::before {
    background: linear-gradient(0deg, #0a0b0b 7%, rgb(10 11 11 / 90%) 35%, transparent 80%);
  }
  .drevesart-hero .drevesart-hero__image { object-position: 77% top; }
  .drevesart-hero .drevesart-hero__title,
  .drevesart-hero .drevesart-hero__text { max-width: 100%; }
}
