/* Massachusetts Christmas lights. Load after /style/style.css. */
.ma-lights {
  --ml-red: #981f3c;
  --ml-red-dark: #74182f;
  --ml-gold: #e9ad39;
  --ml-ink: #242a36;
  --ml-muted: #555c68;
  --ml-line: #d9dbe0;
  background: #ffffff;
  color: var(--ml-ink);
}

.ma-lights .ml-page {
  padding-bottom: 4rem;
}
.ma-lights .ml-shell {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}
.ma-lights .ml-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.78rem;
}
.ma-lights .ml-breadcrumb a {
  color: var(--ml-red);
}
.ma-lights .ml-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  align-items: center;
  gap: 36px;
  padding: 22px 0 30px;
  border-block: 1px solid var(--ml-line);
}
.ma-lights .ml-kicker {
  margin: 0 0 14px;
  color: var(--ml-red);
  font: 750 0.7rem/1.5 system-ui, sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.ma-lights h1 {
  margin: 0;
  color: var(--ml-red);
  font: 750 clamp(2.65rem, 4.4vw, 4.4rem)/1.06 Georgia, serif;
  letter-spacing: -0.04em;
}
.ma-lights .ml-deck {
  margin: 24px 0;
  color: var(--ml-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.ma-lights .ml-hero-note {
  padding-top: 16px;
  border-top: 4px solid var(--ml-gold);
  color: var(--ml-ink);
  font-size: 0.76rem;
  font-weight: 700;
}
.ma-lights .ml-photo {
  margin: 0;
  min-width: 0;
}
.ma-lights .ml-photo picture {
  display: block;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.ma-lights .ml-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.ma-lights .ml-photo figcaption {
  padding: 10px 14px;
  background: var(--ml-ink);
  color: white;
  border-bottom: 4px solid var(--ml-gold);
  font-size: 0.67rem;
  line-height: 1.5;
}
.ma-lights h2 {
  margin: 0 0 14px;
  color: var(--ml-ink);
  font: 700 clamp(1.6rem, 2.5vw, 2.1rem)/1.2 Georgia, serif;
  letter-spacing: -0.02em;
}
.ma-lights .ml-intro {
  max-width: 900px;
  margin: 38px 0;
}
.ma-lights .ml-intro p:not(.ml-kicker) {
  color: var(--ml-muted);
  line-height: 1.8;
}
.ma-lights .ml-season-note {
  border-left: 3px solid var(--ml-gold);
  padding-left: 16px;
  font-size: 0.84rem;
}
.ma-lights .ml-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 44px;
}
.ma-lights .ml-main, .ma-lights .ml-sidebar {
  min-width: 0;
}
.ma-lights .ml-listings {
  margin-bottom: 40px;
}
.ma-lights .ml-section-heading {
  padding: 20px 0 12px;
  border-top: 4px solid var(--ml-red);
}
.ma-lights .ml-section-heading p {
  margin: 0 0 14px;
  color: var(--ml-muted);
  font-size: 0.87rem;
}
.ma-lights .ml-display {
  margin-bottom: 13px;
  border: 1px solid var(--ml-line);
  border-left: 5px solid var(--ml-gold);
  border-radius: 0 7px 7px 0;
  background: white;
  overflow: hidden;
}
.ma-lights .ml-display--drive {
  border-left-color: var(--ml-red);
}
.ma-lights .ml-display > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px 28px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  list-style: none;
  cursor: pointer;
}
.ma-lights summary::-webkit-details-marker {
  display: none;
}
.ma-lights .ml-listing-title {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.ma-lights .ml-region {
  color: var(--ml-red);
  font: 750 0.66rem/1.5 system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ma-lights .ml-name {
  color: var(--ml-ink);
  font: 700 1.24rem/1.28 Georgia, serif;
}
.ma-lights .ml-place {
  color: var(--ml-muted);
  font-size: 0.75rem;
}
.ma-lights .ml-format {
  padding: 6px 8px;
  border: 1px solid var(--ml-red);
  color: var(--ml-red);
  border-radius: 4px;
  font: 700 0.68rem/1.5 system-ui, sans-serif;
  text-align: center;
}
.ma-lights .ml-display--drive .ml-format {
  background: var(--ml-red);
  color: white;
}
.ma-lights .ml-toggle {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ml-red);
}
.ma-lights .ml-toggle::before, .ma-lights .ml-toggle::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  top: 13px;
  left: 8px;
  background: white;
}
.ma-lights .ml-toggle::after {
  transform: rotate(90deg);
}
.ma-lights .ml-display[open] .ml-toggle::after {
  display: none;
}
.ma-lights .ml-display > summary:hover .ml-name {
  color: var(--ml-red);
}
.ma-lights .ml-display[open] > summary {
  border-bottom: 1px solid var(--ml-line);
}
.ma-lights .ml-details {
  padding: 24px;
  font-size: 0.91rem;
  line-height: 1.8;
}
.ma-lights .ml-details h3 {
  margin: 0 0 14px;
  color: var(--ml-red);
  font-size: 1.06rem;
}
.ma-lights .ml-visit-note {
  border-left: 3px solid var(--ml-gold);
  padding-left: 16px;
  margin: 23px 0;
}
.ma-lights .ml-visit-note h4 {
  margin: 0 0 7px;
  color: var(--ml-ink);
  font-size: 0.86rem;
}
.ma-lights .ml-visit-note p {
  margin: 0;
}
.ma-lights .ml-event-link {
  display: inline-block;
  border-radius: 4px;
  background: var(--ml-red);
  padding: 11px 17px;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.5;
  text-decoration: none;
}
.ma-lights .ml-event-link:hover {
  color: white;
  background: var(--ml-red-dark);
}
.ma-lights .ml-next {
  padding-top: 25px;
  border-top: 4px solid var(--ml-gold);
}
.ma-lights .ml-next p:not(.ml-kicker) {
  color: var(--ml-muted);
  line-height: 1.8;
}
.ma-lights .ml-next a {
  color: var(--ml-red);
}
.ma-lights .ml-next a:hover {
  color: var(--ml-red-dark);
}
.ma-lights .ml-sidebar section + section {
  margin-top: 26px;
}
.ma-lights .ml-activities {
  padding: 25px 22px 12px;
  background: var(--ml-red);
  border-radius: 8px;
  color: white;
  border-top: 5px solid var(--ml-gold);
}
.ma-lights .ml-activities .ml-kicker, .ma-lights .ml-activities h2 {
  color: white;
}
.ma-lights .ml-sidebar h2 {
  font-size: 1.6rem;
}
.ma-lights .ml-activities ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.ma-lights .ml-activities li {
  border-top: 1px solid #c86e83;
}
.ma-lights .ml-activities a {
  display: block;
  padding: 13px 0;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 650;
}
.ma-lights .ml-activities a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ma-lights .ml-planner {
  border-bottom: 3px solid var(--ml-gold);
  padding: 10px 0 24px;
}
.ma-lights .ml-planner h3 {
  margin: 22px 0 7px;
  color: var(--ml-red);
  font-size: 0.88rem;
}
.ma-lights .ml-planner p:not(.ml-kicker) {
  color: var(--ml-muted);
  font-size: 0.83rem;
  line-height: 1.8;
  margin: 0;
}
.ma-lights .ml-faq details {
  border-top: 1px solid var(--ml-line);
}
.ma-lights .ml-faq summary {
  padding: 15px 0;
  color: var(--ml-red);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.ma-lights .ml-faq p {
  color: var(--ml-muted);
  font-size: 0.83rem;
  line-height: 1.8;
}
.ma-lights .ml-page a:focus-visible, .ma-lights summary:focus-visible {
  outline: 3px solid var(--ml-red);
  outline-offset: 4px;
}
.ma-lights .ml-activities a:focus-visible {
  outline-color: white;
}

@media (max-width: 64rem) {
  .ma-lights .ml-hero {
  grid-template-columns: 0.9fr 1.2fr;
  gap: 24px;
}
  .ma-lights .ml-layout {
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 28px;
}
  .ma-lights .ml-display > summary {
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 10px 16px;
}
  .ma-lights .ml-format {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}
  .ma-lights .ml-toggle {
  grid-column: 2;
  grid-row: 1 / 3;
}
}

@media (max-width: 48rem) {
  .ma-lights .ml-hero, .ma-lights .ml-layout {
  grid-template-columns: minmax(0, 1fr);
}
  .ma-lights .ml-hero {
  padding-top: 12px;
  gap: 22px;
}
  .ma-lights .ml-hero-copy {
  max-width: 38rem;
}
  .ma-lights h1 {
  font-size: clamp(2.6rem, 8vw, 3.7rem);
}
  .ma-lights .ml-deck {
  margin: 18px 0;
}
  .ma-lights .ml-hero-note {
  margin-bottom: 0;
}
  .ma-lights .ml-layout {
  gap: 35px;
}
  .ma-lights .ml-sidebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
  .ma-lights .ml-sidebar section + section {
  margin-top: 0;
}
  .ma-lights .ml-faq {
  grid-column: 1 / -1;
}
}

@media (max-width: 40rem) {
  .ma-lights .ml-shell {
  width: calc(100% - 32px);
}
  .ma-lights .ml-breadcrumb {
  font-size: 0.73rem;
  padding-block: 16px;
}
  .ma-lights .ml-photo {
  width: min(100%, 380px);
  margin-inline: auto;
}
  .ma-lights .ml-intro {
  margin-block: 30px;
}
  .ma-lights .ml-display > summary {
  padding: 18px 16px;
}
  .ma-lights .ml-name {
  font-size: 1.17rem;
}
  .ma-lights .ml-details {
  padding: 20px 16px;
}
  .ma-lights .ml-sidebar {
  grid-template-columns: minmax(0, 1fr);
}
  .ma-lights .ml-faq {
  grid-column: auto;
}
}
