/* Tennessee Christmas lights. Every custom selector is scoped to this page. */
.tn-lights {
  --tl-navy: #152b3b;
  --tl-red: #9b293d;
  --tl-gold: #f5cc74;
  --tl-green: #24664f;
  --tl-ink: #233340;
  --tl-muted: #52606a;
  --tl-rule: #d6dce0;
  background: #f8f9f9;
  color: var(--tl-ink);
}

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

.tn-lights .tl-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding-block: 1.4rem;
  color: var(--tl-muted);
  font-size: .82rem;
}

.tn-lights .tl-crumb a { color: var(--tl-ink); }

.tn-lights .tl-hero {
  padding: clamp(1.3rem, 3.6vw, 3rem);
  background: var(--tl-navy);
  color: #fff;
  border-top: 5px solid var(--tl-red);
}

.tn-lights .tl-headline {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.tn-lights .tl-eyebrow {
  margin: 0 0 .7rem;
  color: var(--tl-red);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tn-lights .tl-hero .tl-eyebrow { color: var(--tl-gold); }

.tn-lights .tl-hero h1 {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: clamp(2.9rem, 5.5vw, 5.1rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.tn-lights .tl-hero h1 em { color: var(--tl-gold); }

.tn-lights .tl-hero-intro h2 {
  margin: 0 0 .8rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.35;
}

.tn-lights .tl-hero-intro p { margin: 0; color: #e3e9ed; line-height: 1.7; }
.tn-lights .tl-hero-intro .tl-hero-line { margin-top: 1.1rem; color: var(--tl-gold); font-size: .78rem; }
.tn-lights .tl-photo { max-width: 62rem; margin: 0 auto; }
.tn-lights .tl-photo picture { display: block; }
.tn-lights .tl-photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.tn-lights .tl-photo figcaption { margin-top: .65rem; color: #c9d5dd; font-size: .72rem; line-height: 1.5; }

.tn-lights .tl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-block: 3.5rem 4rem;
}

.tn-lights .tl-main, .tn-lights .tl-sidebar { min-width: 0; }
.tn-lights .tl-main h2 { color: var(--tl-navy); font-size: clamp(1.75rem, 2.7vw, 2.4rem); line-height: 1.16; margin: 0 0 1rem; }
.tn-lights .tl-main p, .tn-lights .tl-sidebar p { line-height: 1.75; }
.tn-lights .tl-intro p:not(.tl-eyebrow) { color: var(--tl-muted); margin-block: 0 1rem; }
.tn-lights .tl-season-note { margin-block: 1.8rem 3rem; padding: 1.1rem 1.4rem; border-left: 4px solid var(--tl-red); background: #fff; box-shadow: 0 2px 10px #152b3b08; }
.tn-lights .tl-season-note strong { color: var(--tl-red); }
.tn-lights .tl-season-note p { margin: .4rem 0 0; font-size: .88rem; color: var(--tl-muted); }
.tn-lights .tl-region { margin-top: 3rem; }
.tn-lights .tl-region-head { border-top: 2px solid var(--tl-navy); padding-block: 1.2rem .8rem; }
.tn-lights .tl-region-head h2 { margin-bottom: .5rem; }
.tn-lights .tl-region-head > p:last-child { margin: 0 0 .65rem; color: var(--tl-muted); font-size: .88rem; }

.tn-lights .tl-display {
  margin: 0 0 .75rem;
  border: 1px solid var(--tl-rule);
  border-left: 4px solid var(--tl-red);
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.tn-lights .tl-display--walk { border-left-color: var(--tl-green); }
.tn-lights .tl-display--mixed { border-left-color: var(--tl-navy); }
.tn-lights .tl-display > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 1.2rem;
  gap: .9rem;
  align-items: center;
  padding: 1.25rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

.tn-lights summary::-webkit-details-marker { display: none; }
.tn-lights summary::marker { content: ''; }
.tn-lights .tl-display > summary:hover { background: #f2f5f6; }
.tn-lights .tl-display-name { display: grid; gap: .35rem; }
.tn-lights .tl-city { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--tl-muted); }
.tn-lights .tl-name { color: var(--tl-navy); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.tn-lights .tl-kind { padding: .3rem .55rem; border: 1px solid var(--tl-rule); color: var(--tl-muted); font-size: .66rem; font-weight: 650; white-space: nowrap; }
.tn-lights .tl-toggle { position: relative; width: 1rem; height: 1rem; }
.tn-lights .tl-toggle::before, .tn-lights .tl-toggle::after { content: ''; position: absolute; background: var(--tl-red); }
.tn-lights .tl-toggle::before { width: 1rem; height: 2px; top: 7px; left: 0; }
.tn-lights .tl-toggle::after { width: 2px; height: 1rem; left: 7px; top: 0; }
.tn-lights .tl-display[open] .tl-toggle::after { display: none; }
.tn-lights .tl-display[open] > summary { border-bottom: 1px solid var(--tl-rule); background: #f2f5f6; }
.tn-lights .tl-detail-body { padding: 1.5rem; }
.tn-lights .tl-detail-body h3 { margin: 0 0 .7rem; font-size: 1.35rem; color: var(--tl-navy); line-height: 1.3; }
.tn-lights .tl-detail-body > p { margin: 0 0 1.2rem; color: var(--tl-muted); }
.tn-lights .tl-visit-note { padding-left: 1rem; border-left: 2px solid #c79d43; margin-bottom: 1.3rem; }
.tn-lights .tl-visit-note h4 { margin: 0 0 .3rem; color: var(--tl-ink); font-family: var(--font-body); font-size: .8rem; }
.tn-lights .tl-visit-note p { margin: 0; font-size: .88rem; color: var(--tl-muted); }
.tn-lights .tl-official { display: inline-block; max-width: 100%; padding: .7rem 1rem; background: var(--tl-navy); color: #fff; font-size: .83rem; line-height: 1.5; text-decoration: none; }
.tn-lights .tl-official:hover { background: var(--tl-red); text-decoration: underline; }
.tn-lights .tl-sidebar section + section { margin-top: 2rem; }
.tn-lights .tl-sidebar h2 { font-size: 1.65rem; line-height: 1.18; margin: 0 0 1rem; }
.tn-lights .tl-activity-card { padding: 1.5rem; background: var(--tl-red); color: #fff; }
.tn-lights .tl-activity-card .tl-eyebrow { color: #ffe2ab; }
.tn-lights .tl-activity-card h2, .tn-lights .tl-activity-card p { color: #fff; }
.tn-lights .tl-activity-card p:not(.tl-eyebrow) { font-size: .86rem; }
.tn-lights .tl-activity-card ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.tn-lights .tl-activity-card li { border-top: 1px solid #ffffff55; }
.tn-lights .tl-activity-card a { display: block; padding: .8rem 0; color: #fff; font-size: .88rem; text-decoration: none; }
.tn-lights .tl-activity-card a:hover { text-decoration: underline; }
.tn-lights .tl-planning { border-top: 3px solid var(--tl-green); padding-top: 1.3rem; }
.tn-lights .tl-planning h3 { margin: 1.25rem 0 .3rem; font-family: var(--font-body); font-size: .9rem; color: var(--tl-green); }
.tn-lights .tl-planning p:not(.tl-eyebrow) { font-size: .88rem; margin: 0; color: var(--tl-muted); }
.tn-lights .tl-faq { border-top: 1px solid var(--tl-rule); padding-top: 1.3rem; }
.tn-lights .tl-faq details { border-bottom: 1px solid var(--tl-rule); }
.tn-lights .tl-faq summary { cursor: pointer; padding: .9rem 1.4rem .9rem 0; font-size: .86rem; font-weight: 650; position: relative; list-style: none; }
.tn-lights .tl-faq summary::after { content: '+'; position: absolute; right: 0; color: var(--tl-red); }
.tn-lights .tl-faq details[open] summary::after { content: '−'; }
.tn-lights .tl-faq details p { margin: 0 0 1rem; font-size: .83rem; color: var(--tl-muted); }
.tn-lights .tl-bottom { border-top: 3px solid var(--tl-red); margin-top: 3rem; padding-top: 1.5rem; }
.tn-lights .tl-bottom p:not(.tl-eyebrow) { color: var(--tl-muted); }
.tn-lights .tl-bottom a { color: var(--tl-red); text-underline-offset: 3px; }
.tn-lights .tl-page :focus-visible { outline: 3px solid #c58215; outline-offset: 4px; }

@media (max-width: 60rem) {
  .tn-lights .tl-layout { grid-template-columns: minmax(0, 1fr) 15rem; gap: 1.6rem; }
  .tn-lights .tl-headline { gap: 1.8rem; }
  .tn-lights .tl-display > summary { grid-template-columns: minmax(0, 1fr) 1rem; }
  .tn-lights .tl-kind { grid-column: 1; grid-row: 2; justify-self: start; }
  .tn-lights .tl-toggle { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 48rem) {
  .tn-lights .tl-shell { width: min(100% - 2rem, 76rem); }
  .tn-lights .tl-headline, .tn-lights .tl-layout { grid-template-columns: 1fr; }
  .tn-lights .tl-headline { gap: 1.5rem; }
  .tn-lights .tl-layout { margin-top: 2.2rem; gap: 2.5rem; }
  .tn-lights .tl-hero { padding: 1.35rem; }
  .tn-lights .tl-hero h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .tn-lights .tl-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .tn-lights .tl-sidebar section + section { margin-top: 0; }
  .tn-lights .tl-faq { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
  .tn-lights .tl-photo { max-width: 22rem; }
  .tn-lights .tl-sidebar { grid-template-columns: 1fr; }
  .tn-lights .tl-detail-body { padding: 1.15rem; }
  .tn-lights .tl-display > summary { padding: 1.1rem .95rem; gap: .55rem; }
  .tn-lights .tl-name { font-size: 1.2rem; }
  .tn-lights .tl-faq { grid-column: auto; }
}
