/* South Dakota Christmas lights. Every rule is scoped to this page. */
.sd-lights {
  --sd-night: #102738;
  --sd-ink: #183144;
  --sd-gold: #f5c66a;
  --sd-muted: #506375;
  --sd-line: #d7dfe4;
  background: #f5f7f8;
  color: var(--sd-ink);
}

.sd-lights .sd-shell {
  width: min(76rem, calc(100% - 3rem));
  margin-inline: auto;
}

.sd-lights .sd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--sd-muted);
}

.sd-lights .sd-hero {
  background: var(--sd-night);
  color: #fff;
  padding: 2rem 2.5rem 0;
  border-radius: 0.35rem;
  overflow: hidden;
}

.sd-lights .sd-hero-top,
.sd-lights .sd-hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sd-lights .sd-eyebrow {
  margin: 0 0 0.8rem;
  font: 700 0.72rem/1.5 var(--font-body);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #815714;
}

.sd-lights .sd-hero .sd-eyebrow {
  color: var(--sd-gold);
  margin: 0;
}

.sd-lights .sd-season {
  color: #c1d0da;
  font-size: 0.78rem;
}

.sd-lights .sd-hero-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: end;
  padding: 2.2rem 0 2.5rem;
}

.sd-lights h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.4rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
  color: #fff;
}

.sd-lights h1 em {
  color: var(--sd-gold);
  font-weight: 500;
}

.sd-lights .sd-hero-heading > p {
  color: #d4e0e7;
  margin: 0 0 0.25rem;
  line-height: 1.8;
  max-width: 29rem;
}

.sd-lights .sd-hero-photo {
  margin: 0;
}

.sd-lights .sd-hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 0.2rem;
}

.sd-lights .sd-hero-photo figcaption {
  font-size: 0.72rem;
  color: #c1d0da;
  padding-top: 0.65rem;
}

.sd-lights .sd-hero-foot {
  justify-content: flex-start;
  flex-wrap: wrap;
  column-gap: 2.5rem;
  padding: 1rem 0 1.4rem;
  color: #f3dbaa;
  font-size: 0.8rem;
}

.sd-lights .sd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 3.5rem;
  margin: 3.5rem 0 4rem;
  align-items: start;
}

.sd-lights .sd-main,
.sd-lights .sd-sidebar {
  min-width: 0;
}

.sd-lights h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--sd-ink);
}

.sd-lights .sd-intro p:not(.sd-eyebrow),
.sd-lights .sd-section-heading > p:last-child {
  color: var(--sd-muted);
}

.sd-lights .sd-displays {
  margin-top: 2.8rem;
}

.sd-lights .sd-season-note {
  border-left: 3px solid #b78020;
  padding: 0.4rem 0 0.4rem 1.1rem;
  font-size: 0.88rem;
  color: var(--sd-muted);
  margin: 1.5rem 0;
}

.sd-lights .sd-display {
  border: 1px solid var(--sd-line);
  border-left: 4px solid #1d6875;
  background: #fff;
  margin-bottom: 0.85rem;
  border-radius: 0.25rem;
  overflow: hidden;
}

.sd-lights .sd-parades .sd-display {
  border-left-color: #a46a16;
}

.sd-lights .sd-display > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  list-style: none;
}

.sd-lights summary::-webkit-details-marker {
  display: none;
}

.sd-lights .sd-display > summary:hover {
  background: #f4f8fa;
}

.sd-lights .sd-display-copy {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  min-width: 0;
}

.sd-lights .sd-location {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--sd-muted);
  letter-spacing: 0.02em;
}

.sd-lights .sd-display-name {
  font: 500 1.45rem/1.2 var(--font-display);
  color: var(--sd-ink);
}

.sd-lights .sd-type {
  color: #23606b;
  font-size: 0.72rem;
  font-weight: 700;
}

.sd-lights .sd-toggle {
  position: relative;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border: 1px solid #b7c7d2;
  border-radius: 50%;
}

.sd-lights .sd-toggle::before,
.sd-lights .sd-toggle::after {
  content: "";
  position: absolute;
  background: var(--sd-ink);
  inset: calc(50% - 1px) 0.55rem auto;
  height: 2px;
}

.sd-lights .sd-toggle::after {
  transform: rotate(90deg);
}

.sd-lights details[open] > summary .sd-toggle::after {
  transform: rotate(0deg);
}

.sd-lights .sd-display[open] > summary {
  border-bottom: 1px solid var(--sd-line);
  background: #f4f8fa;
}

.sd-lights .sd-display-body {
  padding: 1.5rem;
  color: #43576a;
}

.sd-lights .sd-display-body h3 {
  margin: 0 0 1rem;
  font: 500 1.6rem/1.25 var(--font-display);
  color: var(--sd-ink);
}

.sd-lights .sd-visit-note {
  border-top: 1px solid var(--sd-line);
  margin: 1.3rem 0;
  padding-top: 1rem;
}

.sd-lights .sd-visit-note h4 {
  font-size: 0.8rem;
  color: #815714;
  margin: 0 0 0.35rem;
}

.sd-lights .sd-visit-note p {
  margin: 0;
  font-size: 0.92rem;
}

.sd-lights .sd-official {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 650;
  padding-block: 0.4rem;
  overflow-wrap: anywhere;
}

.sd-lights .sd-sidebar > section {
  margin-bottom: 1.5rem;
  padding: 1.6rem;
  border: 1px solid var(--sd-line);
  background: #fff;
}

.sd-lights .sd-sidebar h2 {
  font-size: 1.65rem;
}

.sd-lights .sd-sidebar p {
  font-size: 0.9rem;
}

.sd-lights .sd-sidebar .sd-side-activities {
  background: var(--sd-night);
  color: #d4e0e7;
  border: 0;
  border-top: 4px solid var(--sd-gold);
}

.sd-lights .sd-side-activities h2 {
  color: #fff;
}

.sd-lights .sd-side-activities .sd-eyebrow {
  color: var(--sd-gold);
}

.sd-lights .sd-side-activities ul {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.sd-lights .sd-side-activities li + li {
  border-top: 1px solid #3a4d5e;
}

.sd-lights .sd-side-activities a {
  color: #fff;
  display: block;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  text-decoration: none;
}

.sd-lights .sd-side-activities a:hover {
  color: var(--sd-gold);
  text-decoration: underline;
}

.sd-lights .sd-side-planner h3 {
  font: 650 0.9rem/1.5 var(--font-body);
  margin: 1.5rem 0 0.3rem;
}

.sd-lights .sd-side-planner h3 + p {
  margin-top: 0;
  color: var(--sd-muted);
}

.sd-lights .sd-faq details {
  border-top: 1px solid var(--sd-line);
  padding-block: 0.9rem;
}

.sd-lights .sd-faq summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
}

.sd-lights .sd-faq p {
  color: var(--sd-muted);
  margin-bottom: 0;
}

.sd-lights .sd-more {
  border-top: 3px solid #c28b2a;
  margin-top: 3rem;
  padding-top: 1.8rem;
}

.sd-lights :is(a, button, summary):focus-visible {
  outline: 3px solid #bb7915;
  outline-offset: 4px;
}

@media (max-width: 62rem) {
  .sd-lights .sd-layout {
    grid-template-columns: minmax(0, 1fr) 16rem;
    gap: 1.7rem;
  }

  .sd-lights .sd-hero-heading {
    gap: 1.5rem;
  }
}

@media (max-width: 48rem) {
  .sd-lights .sd-shell {
    width: min(100% - 2rem, 40rem);
  }

  .sd-lights .sd-hero {
    padding: 1.4rem 1.25rem 0;
  }

  .sd-lights .sd-hero-heading,
  .sd-lights .sd-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sd-lights .sd-hero-heading {
    padding: 1.7rem 0;
    gap: 1.2rem;
  }

  .sd-lights .sd-season {
    display: none;
  }

  .sd-lights .sd-layout {
    margin-top: 2.5rem;
    gap: 2.5rem;
  }

  .sd-lights .sd-sidebar {
    display: grid;
    gap: 1.2rem;
  }

  .sd-lights .sd-sidebar > section {
    margin-bottom: 0;
  }

  .sd-lights .sd-display > summary,
  .sd-lights .sd-display-body {
    padding: 1.15rem;
  }

  .sd-lights .sd-display-name {
    font-size: 1.3rem;
  }

  .sd-lights .sd-hero-foot {
    column-gap: 1rem;
    font-size: 0.7rem;
  }
}
