/* Christmas trees in Wyoming: page-scoped styles. */
.wy-trees {
  --wt-pine: #204b3c;
  --wt-ink: #243a30;
  --wt-wine: #762b3c;
  --wt-line: #ccd7ce;
  background: #fff;
  color: var(--wt-ink);
}

.wy-trees .wt-page {
  padding-block: 0 60px;
}

.wy-trees .wt-shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.wy-trees .wt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 24px;
  font-size: .8rem;
}

.wy-trees .wt-hero {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 40px;
  padding-block: 18px 36px;
  border-bottom: 5px solid var(--wt-pine);
}

.wy-trees .wt-eyebrow {
  margin: 0 0 12px;
  color: var(--wt-wine);
  font: 700 .72rem/1.5 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wy-trees h1 {
  margin: 0 0 22px;
  color: var(--wt-pine);
  font-size: clamp(2.5rem, 4.7vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.wy-trees .wt-deck {
  max-width: 32rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

.wy-trees .wt-hero-foot {
  margin: 24px 0 0;
  color: var(--wt-wine);
  font-size: .8rem;
  font-weight: 700;
}

.wy-trees .wt-photo {
  margin: 0;
}

.wy-trees .wt-photo picture,
.wy-trees .wt-photo img {
  display: block;
  width: 100%;
}

.wy-trees .wt-photo img {
  height: auto;
  border-radius: 5px;
}

.wy-trees .wt-photo figcaption {
  margin-top: 8px;
  color: #56655b;
  font-size: .72rem;
}

.wy-trees .wt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 48px;
  align-items: start;
  margin-top: 42px;
}

.wy-trees .wt-main,
.wy-trees .wt-sidebar {
  min-width: 0;
}

.wy-trees h2 {
  margin: 0 0 18px;
  color: var(--wt-pine);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
}

.wy-trees p {
  margin: 0 0 18px;
}

.wy-trees .wt-intro {
  margin-bottom: 38px;
}

.wy-trees .wt-section-head {
  margin-bottom: 24px;
}

.wy-trees .wt-season-note {
  border-left: 3px solid var(--wt-wine);
  padding-left: 18px;
  margin-bottom: 30px;
  font-size: .88rem;
  color: #405749;
}

.wy-trees .wt-seller {
  border-top: 1px solid var(--wt-line);
}

.wy-trees .wt-seller:last-child {
  border-bottom: 1px solid var(--wt-line);
}

.wy-trees .wt-seller summary {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 18px;
  padding: 26px 12px 26px 0;
  list-style: none;
  cursor: pointer;
}

.wy-trees summary::-webkit-details-marker {
  display: none;
}

.wy-trees .wt-seller summary:hover {
  background: #f4f7f3;
}

.wy-trees .wt-town {
  color: var(--wt-wine);
  font-size: .8rem;
  font-weight: 700;
}

.wy-trees .wt-seller-heading {
  display: grid;
  gap: 8px;
}

.wy-trees .wt-name {
  font: 500 1.55rem/1.2 var(--font-display);
  color: var(--wt-pine);
}

.wy-trees .wt-format {
  color: #4e6456;
  font-size: .78rem;
}

.wy-trees .wt-plus {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  color: var(--wt-wine);
}

.wy-trees .wt-plus::before,
.wy-trees .wt-plus::after {
  content: '';
  position: absolute;
  inset: 12px 4px auto;
  height: 2px;
  background: currentColor;
}

.wy-trees .wt-plus::after {
  transform: rotate(90deg);
}

.wy-trees .wt-seller[open] .wt-plus::after {
  transform: rotate(0);
}

.wy-trees .wt-details {
  max-width: 690px;
  padding: 0 28px 30px 102px;
  font-size: .94rem;
  line-height: 1.8;
}

.wy-trees .wt-address {
  color: #4e6456;
  font-size: .78rem;
  font-weight: 600;
}

.wy-trees .wt-tip {
  margin-block: 24px;
  border-left: 2px solid var(--wt-pine);
  padding-left: 18px;
}

.wy-trees .wt-tip h3 {
  margin: 0 0 8px;
  font: 700 .84rem/1.4 var(--font-body);
}

.wy-trees .wt-tip p {
  margin: 0;
}

.wy-trees .wt-official {
  display: inline-block;
  padding: 10px 16px;
  background: var(--wt-pine);
  color: #fff;
  border-radius: 3px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}

.wy-trees .wt-official:hover {
  background: #14392a;
  color: #fff;
  text-decoration: underline;
}

.wy-trees .wt-forest {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 3px solid var(--wt-pine);
}

.wy-trees .wt-permits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}

.wy-trees .wt-permit {
  padding-block: 22px;
  border-top: 1px solid var(--wt-line);
}

.wy-trees .wt-region {
  color: var(--wt-wine);
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.wy-trees .wt-permit h3 {
  margin: 0 0 12px;
  font: 500 1.3rem/1.3 var(--font-display);
}

.wy-trees .wt-permit h3 a {
  color: var(--wt-pine);
}

.wy-trees .wt-permit p:last-child {
  margin: 0;
  font-size: .88rem;
}

.wy-trees .wt-forest-note {
  border-left: 3px solid var(--wt-wine);
  padding-left: 18px;
  font-size: .88rem;
  margin-top: 20px;
}

.wy-trees .wt-next {
  border-top: 1px solid var(--wt-line);
  margin-top: 40px;
  padding-top: 28px;
}

.wy-trees .wt-activities {
  background: var(--wt-wine);
  color: #fff;
  border-radius: 4px;
  padding: 26px;
}

.wy-trees .wt-activities h2,
.wy-trees .wt-activities .wt-eyebrow {
  color: #fff;
}

.wy-trees .wt-activities h2 {
  font-size: 1.65rem;
}

.wy-trees .wt-activities ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wy-trees .wt-activities li + li {
  border-top: 1px solid #aa6e7a;
}

.wy-trees .wt-activities a {
  display: block;
  color: #fff;
  padding-block: 12px;
  font-size: .92rem;
  text-decoration: none;
}

.wy-trees .wt-activities a:hover {
  text-decoration: underline;
}

.wy-trees .wt-shopping,
.wy-trees .wt-faq {
  margin-top: 32px;
  padding-top: 25px;
  border-top: 2px solid var(--wt-pine);
  font-size: .89rem;
}

.wy-trees .wt-shopping h2,
.wy-trees .wt-faq h2 {
  font-size: 1.6rem;
}

.wy-trees .wt-shopping h3 {
  margin: 24px 0 8px;
  font: 700 .89rem/1.4 var(--font-body);
}

.wy-trees .wt-faq details {
  border-bottom: 1px solid var(--wt-line);
}

.wy-trees .wt-faq summary {
  padding-block: 15px;
  font-weight: 700;
  cursor: pointer;
}

.wy-trees a:focus-visible,
.wy-trees summary:focus-visible {
  outline: 3px solid #a24f20;
  outline-offset: 4px;
}

@media (max-width: 62rem) {
  .wy-trees .wt-hero {
    gap: 24px;
  }

  .wy-trees .wt-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
  }

  .wy-trees .wt-seller summary {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 10px;
  }

  .wy-trees .wt-town {
    grid-column: 1;
  }

  .wy-trees .wt-plus {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .wy-trees .wt-details {
    padding-left: 0;
    padding-right: 20px;
  }
}

@media (max-width: 48rem) {
  .wy-trees .wt-hero,
  .wy-trees .wt-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wy-trees .wt-hero-copy {
    max-width: 34rem;
  }

  .wy-trees .wt-photo {
    max-width: 600px;
  }

  .wy-trees .wt-layout {
    gap: 38px;
  }
}

@media (max-width: 40rem) {
  .wy-trees .wt-shell {
    width: calc(100% - 32px);
  }

  .wy-trees .wt-photo {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .wy-trees .wt-permits {
    grid-template-columns: minmax(0, 1fr);
  }

  .wy-trees .wt-name {
    font-size: 1.4rem;
  }
}
