/* Connecticut Christmas trees. Page-scoped styles; shared site CSS loads first. */
.ct-trees {
  --tr-green: #174a36;
  --tr-dark: #17382c;
  --tr-red: #982b3e;
  --tr-brass: #956724;
  --tr-muted: #526056;
  background: #fffdf8;
  color: var(--tr-dark);
}

.ct-trees .tr-shell {
  width: min(77rem, calc(100% - 4rem));
  margin-inline: auto;
}

.ct-trees .tr-page h1,
.ct-trees .tr-page h2,
.ct-trees .tr-page h3,
.ct-trees .tr-page h4 {
  color: inherit;
  line-height: 1.18;
}

.ct-trees .tr-page p {
  max-width: none;
  line-height: 1.75;
}

.ct-trees .tr-page a {
  color: var(--tr-green);
  text-underline-offset: 0.2em;
}

.ct-trees .tr-page a:hover {
  color: var(--tr-red);
}

.ct-trees .tr-page :focus-visible {
  outline: 3px solid var(--tr-red);
  outline-offset: 5px;
}

.ct-trees .tr-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  align-items: center;
  gap: 3rem;
  margin: 3.5rem 0 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 4px solid var(--tr-green);
}

.ct-trees .tr-kicker {
  margin: 0 0 0.8rem;
  color: var(--tr-red);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ct-trees .tr-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4.9vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ct-trees .tr-state {
  margin: 0.8rem 0 1.4rem;
  color: var(--tr-brass);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
}

.ct-trees .tr-lead {
  margin: 0;
  font-size: 1.05rem;
}

.ct-trees .tr-hero-foot {
  margin-top: 1.8rem;
  color: var(--tr-muted);
  font-size: 0.77rem;
}

.ct-trees .tr-photo {
  margin: 0;
}

.ct-trees .tr-photo picture {
  display: block;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--tr-brass);
}

.ct-trees .tr-photo img {
  width: 100%;
  height: auto;
}

.ct-trees .tr-photo figcaption {
  margin-top: 0.65rem;
  color: var(--tr-muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.ct-trees .tr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

.ct-trees .tr-main,
.ct-trees .tr-sidebar {
  min-width: 0;
}

.ct-trees .tr-intro h2,
.ct-trees .tr-section h2,
.ct-trees .tr-after h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.ct-trees .tr-season {
  margin-top: 1.8rem;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--tr-brass);
  color: var(--tr-muted);
  font-size: 0.87rem;
}

.ct-trees .tr-season strong {
  color: var(--tr-dark);
}

.ct-trees .tr-section {
  margin-top: 3.2rem;
}

.ct-trees .tr-section-title {
  padding: 1.5rem 0;
  border-top: 1px solid #b8c7ba;
}

.ct-trees .tr-section-title > p:last-child {
  margin: 0;
  color: var(--tr-muted);
  font-size: 0.92rem;
}

.ct-trees .tr-listing {
  margin: 0 0 0.7rem;
  border: 1px solid #c3cfc5;
  border-left: 4px solid var(--tr-green);
  background: #fff;
}

.ct-trees .tr-listing > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem 1.1rem;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 1.4rem;
  cursor: pointer;
  list-style: none;
}

.ct-trees .tr-listing > summary:hover {
  background: #f6f8f5;
}

.ct-trees .tr-listing > summary::-webkit-details-marker,
.ct-trees .tr-faq summary::-webkit-details-marker {
  display: none;
}

.ct-trees .tr-listing > summary::marker,
.ct-trees .tr-faq summary::marker {
  content: "";
}

.ct-trees .tr-town {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--tr-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.ct-trees .tr-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
}

.ct-trees .tr-kind {
  color: var(--tr-red);
  font-size: 0.76rem;
  line-height: 1.45;
  font-weight: 650;
}

.ct-trees .tr-plus {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
}

.ct-trees .tr-plus::before,
.ct-trees .tr-plus::after {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 1.1rem;
  height: 2px;
  background: var(--tr-green);
  content: "";
}

.ct-trees .tr-plus::after {
  transform: rotate(90deg);
}

.ct-trees .tr-listing[open] .tr-plus::after {
  transform: rotate(0);
}

.ct-trees .tr-detail {
  padding: 1.6rem 1.4rem 1.8rem;
  border-top: 1px solid #dce3dd;
  font-size: 0.95rem;
}

.ct-trees .tr-detail h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.ct-trees .tr-note {
  margin: 1.4rem 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--tr-brass);
}

.ct-trees .tr-note h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 0.87rem;
}

.ct-trees .tr-note p {
  margin: 0;
  color: var(--tr-muted);
  font-size: 0.87rem;
}

.ct-trees .tr-site {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.ct-trees .tr-fields .tr-listing {
  border-left-color: var(--tr-brass);
}

.ct-trees .tr-side {
  margin-bottom: 1.7rem;
  padding: 1.5rem;
  border: 1px solid #c3cfc5;
  background: #fff;
}

.ct-trees .tr-side h2 {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  font-weight: 500;
}

.ct-trees .tr-side h3 {
  margin: 1.3rem 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.ct-trees .tr-side p {
  margin: 0 0 1rem;
  font-size: 0.87rem;
}

.ct-trees .tr-other {
  border-color: var(--tr-green);
  background: var(--tr-green);
  color: #fff;
}

.ct-trees .tr-other .tr-kicker {
  color: #f2d29a;
}

.ct-trees .tr-other a {
  color: #fff;
}

.ct-trees .tr-other a:hover {
  color: #f2d29a;
}

.ct-trees .tr-other :focus-visible {
  outline-color: #f2d29a;
}

.ct-trees .tr-other ul {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.ct-trees .tr-other li {
  padding: 0.8rem 0;
  border-top: 1px solid #53806b;
  font-size: 0.94rem;
}

.ct-trees .tr-faq details {
  margin: 0;
  border-top: 1px solid #dce3dd;
}

.ct-trees .tr-faq summary {
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.ct-trees .tr-faq summary::after {
  margin-left: 0.5rem;
  color: var(--tr-red);
  content: "+";
}

.ct-trees .tr-faq details[open] summary::after {
  content: "−";
}

.ct-trees .tr-after {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 3px solid var(--tr-red);
}

@media (max-width: 65rem) {
  .ct-trees .tr-hero {
    gap: 2rem;
  }

  .ct-trees .tr-layout {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 2rem;
  }

  .ct-trees .tr-listing > summary {
    grid-template-columns: minmax(0, 1fr) 1.1rem;
    gap: 0.8rem;
  }

  .ct-trees .tr-kind {
    grid-column: 1;
  }

  .ct-trees .tr-plus {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 48rem) {
  .ct-trees .tr-shell {
    width: calc(100% - 2rem);
  }

  .ct-trees .tr-hero {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
    gap: 1.5rem;
  }

  .ct-trees .tr-hero h1 {
    font-size: clamp(2.7rem, 9vw, 4.5rem);
  }

  .ct-trees .tr-hero-copy {
    max-width: 34rem;
  }

  .ct-trees .tr-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ct-trees .tr-listing > summary {
    padding: 1.2rem;
  }

  .ct-trees .tr-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .ct-trees .tr-side {
    margin: 0;
  }

  .ct-trees .tr-faq {
    grid-column: 1 / -1;
  }
}

@media (max-width: 35rem) {
  .ct-trees .tr-sidebar {
    grid-template-columns: 1fr;
  }

  .ct-trees .tr-faq {
    grid-column: auto;
  }
}
