/* Holiday Happenings homepage rotation. All rules stay inside this component. */
.home .shh-home-slider {
  --shh-slider-ink: #221f1f;
  --shh-slider-cream: #f8f3e4;
  --shh-slider-gold: #d3c69e;
  --shh-slider-sage: #a9bca1;
  width: 100%;
  margin: 0;
  color: var(--shh-slider-cream);
  background: var(--shh-slider-ink);
  font-family: "Source Sans 3", "Source Sans Pro", Helvetica, Arial, sans-serif;
}

.home .shh-home-slider,
.home .shh-home-slider * {
  box-sizing: border-box;
}

.home .shh-home-slider__track {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .shh-home-slider__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(520px, 60vh);
  margin: 0;
  padding: 0;
  color: var(--shh-slider-cream);
  background: var(--shh-slider-ink);
}

.home .shh-home-slider:not(.is-enhanced) .shh-home-slider__slide + .shh-home-slider__slide {
  border-top: 1px solid var(--shh-slider-gold);
}

.home .shh-home-slider__slide[hidden] {
  display: none !important;
}

.home .shh-home-slider__media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: min(520px, 60vh);
  overflow: hidden;
  background: #fff;
}

.home .shh-home-slider__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(32px, 5vw, 72px);
  border: 0;
  object-fit: contain;
  object-position: center;
}

.home .shh-home-slider__slide--seasonal .shh-home-slider__media {
  background: var(--shh-slider-sage);
}

.home .shh-home-slider__slide--seasonal .shh-home-slider__media img {
  padding: 0;
  object-fit: cover;
}

.home .shh-home-slider__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(28px, 4vw, 64px);
}

.home .shh-home-slider__eyebrow {
  margin: 0 0 16px;
  color: var(--shh-slider-gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home .shh-home-slider__body h2,
.home .shh-home-slider__title {
  max-width: 15ch;
  margin: 0 0 20px;
  color: var(--shh-slider-cream);
  font-family: "Bricolage Grotesque", "Source Sans 3", sans-serif;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.home .shh-home-slider__body > p:not(.shh-home-slider__eyebrow) {
  max-width: 43ch;
  margin: 0 0 22px;
  color: var(--shh-slider-cream);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.home .shh-home-slider__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  margin-top: 4px;
  padding: 11px 19px;
  border: 1px solid var(--shh-slider-gold);
  border-radius: 3px;
  color: var(--shh-slider-ink);
  background: var(--shh-slider-gold);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
}

.home .shh-home-slider__cta:hover {
  color: var(--shh-slider-ink);
  background: var(--shh-slider-cream);
  border-color: var(--shh-slider-cream);
}

.home .shh-home-slider__controls {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid rgba(211, 198, 158, 0.3);
  color: var(--shh-slider-cream);
  background: var(--shh-slider-ink);
}

.home .shh-home-slider.is-enhanced .shh-home-slider__controls:not([hidden]) {
  display: flex;
}

.home .shh-home-slider button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(248, 243, 228, 0.5);
  border-radius: 3px;
  color: var(--shh-slider-cream);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  cursor: pointer;
}

.home .shh-home-slider button:hover,
.home .shh-home-slider [data-goto][aria-pressed="true"] {
  border-color: var(--shh-slider-gold);
  color: var(--shh-slider-ink);
  background: var(--shh-slider-gold);
}

.home .shh-home-slider [data-toggle] {
  min-width: 74px;
}

.home .shh-home-slider [data-status] {
  min-width: 78px;
  margin: 0 6px;
  color: var(--shh-slider-cream);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.home .shh-home-slider a:focus-visible,
.home .shh-home-slider button:focus-visible {
  outline: 3px solid var(--shh-slider-sage);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .home .shh-home-slider__slide {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .home .shh-home-slider__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .home .shh-home-slider__media img {
    padding: 28px 36px;
  }

  .home .shh-home-slider__body {
    padding: 28px 24px 32px;
  }

  .home .shh-home-slider__body h2,
  .home .shh-home-slider__title {
    max-width: 20ch;
    margin-bottom: 16px;
    font-size: clamp(29px, 7.5vw, 40px);
  }

  .home .shh-home-slider__body > p:not(.shh-home-slider__eyebrow) {
    font-size: 17px;
  }

  .home .shh-home-slider__controls {
    gap: 6px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home .shh-home-slider.is-enhanced .shh-home-slider__slide:not([hidden]) {
    animation: shh-home-slide-reveal 180ms ease-out;
  }

  @keyframes shh-home-slide-reveal {
    from { opacity: 0.65; }
    to { opacity: 1; }
  }
}

.home .shh-home-slider__caption { display:block; margin-top:16px; color:var(--shh-slider-cream); font-size:12px; line-height:1.5; }

/* Keep the four feature panels equal in size as the rotation advances. */
.home .shh-home-slider__slide { min-height: 430px; }
.home .shh-home-slider__media { min-height: 430px; background:#221f1f; }
.home .shh-home-slider__title { font-size:clamp(30px,3.1vw,48px); }
.home .shh-home-slider__media img { padding:0; object-fit:cover; object-position:50% 40%; }
.home .shh-home-slider__slide--contain .shh-home-slider__media img { object-fit:contain; }
@media(max-width:767px) {
 .home .shh-home-slider__slide { min-height:0; }
 .home .shh-home-slider__media { min-height:0; }
 .home .shh-home-slider__media img { padding:0; }
 .home .shh-home-slider__body { min-height:385px; }
 .home .shh-home-slider__title { font-size:clamp(29px,7.5vw,40px); }
}
