/* Maryland Christmas lights. All custom styles are scoped to this page. */
.md-lights {
  --ml-ink: #302728;
  --ml-wine: #8e203b;
  --ml-dark: #61152b;
  --ml-gold: #f4c864;
  --ml-teal: #12616a;
  --ml-line: #ded7d3;
  background: #fffdf9;
  color: var(--ml-ink);
}

.md-lights .site-header {
  background: rgba(255, 253, 249, .96);
  border-bottom-color: var(--ml-line);
}

.md-lights a {
  color: var(--ml-wine);
}

.md-lights a:hover {
  color: var(--ml-dark);
}

.md-lights :focus-visible {
  outline: 3px solid var(--ml-teal);
  outline-offset: 4px;
}

.md-lights .ml-page {
  padding: 1.5rem 0 4rem;
}

.md-lights .ml-shell {
  width: min(100% - 2rem, 78rem);
  margin-inline: auto;
}

.md-lights .ml-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.5rem;
  font-size: .8rem;
}

.md-lights .ml-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.md-lights .ml-hero-copy {
  align-self: center;
  padding: 1.75rem 1.5rem;
  background: var(--ml-wine);
  color: #fff;
  border-radius: 8px;
}

.md-lights .ml-kicker {
  margin: 0 0 .65rem;
  color: var(--ml-wine);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.md-lights .ml-hero .ml-kicker {
  color: var(--ml-gold);
}

.md-lights h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  line-height: 1.04;
  font-weight: 600;
  color: #fff;
}

.md-lights .ml-deck {
  font-size: 1.15rem;
  line-height: 1.5;
}

.md-lights .ml-hero-copy > p:last-of-type {
  font-size: .95rem;
}

.md-lights .ml-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}

.md-lights .ml-hero-tags span {
  padding: .35rem .65rem;
  border: 1px solid #d78b9d;
  border-radius: 4px;
  font-size: .75rem;
}

.md-lights .ml-photo {
  margin: 0;
  min-width: 0;
}

.md-lights .ml-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.md-lights .ml-photo figcaption {
  margin-top: .65rem;
  font-size: .72rem;
  color: #675b5b;
}

.md-lights .ml-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

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

.md-lights h2 {
  margin: 0 0 .85rem;
  color: var(--ml-ink);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  line-height: 1.2;
}

.md-lights h3 {
  margin: 0 0 .65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
}

.md-lights p {
  margin: 0 0 1rem;
}

.md-lights .ml-season {
  margin: 1.5rem 0 0;
  padding: .2rem 0 .2rem 1.1rem;
  border-left: 4px solid #bd8c26;
  font-size: .9rem;
}

.md-lights .ml-group {
  --ml-group-color: var(--ml-wine);
  margin-top: 2.6rem;
}

.md-lights .ml-group--walk {
  --ml-group-color: var(--ml-teal);
}

.md-lights .ml-group--town {
  --ml-group-color: #6b4580;
}

.md-lights .ml-group-heading {
  padding-bottom: .4rem;
  border-bottom: 3px solid var(--ml-group-color);
}

.md-lights .ml-group-heading .ml-kicker {
  color: var(--ml-group-color);
}

.md-lights .ml-group-heading > p:last-child {
  font-size: .92rem;
}

.md-lights .ml-display {
  margin-top: .8rem;
  border: 1px solid var(--ml-line);
  border-left: 4px solid var(--ml-group-color);
  border-radius: 0 6px 6px 0;
  background: #fff;
  overflow: hidden;
}

.md-lights .ml-display summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.25rem;
  gap: .6rem 1rem;
  align-items: center;
  padding: 1.25rem 1rem;
  cursor: pointer;
  list-style: none;
}

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

.md-lights .ml-display summary:hover,
.md-lights .ml-display[open] summary {
  background: #faf7f3;
}

.md-lights .ml-display-heading {
  grid-column: 1;
  min-width: 0;
}

.md-lights .ml-location,
.md-lights .ml-name,
.md-lights .ml-place {
  display: block;
}

.md-lights .ml-location {
  color: #6b5b5d;
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .025em;
}

.md-lights .ml-name {
  margin: .35rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ml-group-color);
}

.md-lights .ml-place {
  font-size: .8rem;
  color: #655a59;
}

.md-lights .ml-type {
  grid-column: 1;
  justify-self: start;
  font-size: .68rem;
  font-weight: 700;
  padding: .25rem .55rem;
  color: #fff;
  background: var(--ml-group-color);
  border-radius: 3px;
}

.md-lights .ml-toggle {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--ml-group-color);
}

.md-lights .ml-toggle::before,
.md-lights .ml-toggle::after {
  position: absolute;
  content: "";
  inset: 50% 0 auto;
  height: 2px;
  background: currentColor;
}

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

.md-lights .ml-display[open] .ml-toggle::after {
  transform: rotate(0deg);
}

.md-lights .ml-details {
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--ml-line);
  font-size: .94rem;
}

.md-lights .ml-note {
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ml-group-color);
}

.md-lights .ml-note h4 {
  margin: 0 0 .4rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.md-lights .ml-note p {
  margin: 0;
  font-size: .88rem;
}

.md-lights .ml-event-link {
  display: inline-block;
  padding: .7rem 1rem;
  background: var(--ml-group-color);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 650;
  font-size: .85rem;
}

.md-lights .ml-event-link:hover {
  background: var(--ml-ink);
  color: #fff;
}

.md-lights .ml-sidebar {
  display: grid;
  gap: 1.6rem;
}

.md-lights .ml-sidebar h2 {
  font-size: 1.6rem;
}

.md-lights .ml-activities {
  padding: 1.6rem;
  color: #fff;
  background: var(--ml-dark);
  border-top: 5px solid var(--ml-gold);
  border-radius: 6px;
}

.md-lights .ml-activities h2 {
  color: #fff;
}

.md-lights .ml-activities .ml-kicker {
  color: var(--ml-gold);
}

.md-lights .ml-activities ul {
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.md-lights .ml-activities li + li {
  border-top: 1px solid #aa6375;
}

.md-lights .ml-activities a {
  display: block;
  padding: .85rem 0;
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
}

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

.md-lights .ml-planner,
.md-lights .ml-faq {
  padding: 1.5rem;
  border: 1px solid var(--ml-line);
  border-top: 4px solid var(--ml-teal);
  border-radius: 6px;
}

.md-lights .ml-planner h3 {
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ml-teal);
}

.md-lights .ml-sidebar p {
  font-size: .88rem;
}

.md-lights .ml-planner > p:last-child {
  margin-bottom: 0;
}

.md-lights .ml-faq {
  border-top-color: var(--ml-wine);
}

.md-lights .ml-faq details {
  padding: .9rem 0;
  border-bottom: 1px solid var(--ml-line);
}

.md-lights .ml-faq details:last-child {
  border: 0;
  padding-bottom: 0;
}

.md-lights .ml-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: .9rem;
}

.md-lights .ml-faq details p {
  margin: .9rem 0 0;
}

.md-lights .ml-next {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 4px solid var(--ml-wine);
}

.md-lights .site-footer {
  background: #f4f0eb;
}

@media (min-width: 40.0625rem) {
  .md-lights .ml-shell {
    width: min(100% - 3rem, 78rem);
  }

  .md-lights .ml-hero-copy {
    padding: 2rem;
  }

  .md-lights .ml-display summary {
    grid-template-columns: minmax(0, 1fr) auto 1.25rem;
    padding: 1.35rem 1.5rem;
  }

  .md-lights .ml-type {
    grid-column: 2;
    grid-row: 1;
  }

  .md-lights .ml-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .md-lights .ml-details {
    padding: 1.75rem 1.5rem;
  }
}

@media (min-width: 64rem) {
  .md-lights .ml-hero {
    grid-template-columns: .86fr 1.4fr;
    gap: 1.5rem;
    align-items: center;
  }

  .md-lights .ml-hero-copy {
    padding: 2.25rem;
  }

  .md-lights .ml-layout {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: 3rem;
  }
}
