/* Connecticut snow tubing. All custom rules are scoped to this page. */
.ct-tubing {
  --st-navy: #132d4c;
  --st-blue: #155d8b;
  --st-teal: #007a7d;
  --st-purple: #593a83;
  --st-yellow: #ffd75c;
  --st-ink: #203346;
  --st-muted: #526373;
  color: var(--st-ink);
  background: #fff;
}

.ct-tubing .st-page {
  padding-block: 2rem 4rem;
}

.ct-tubing .st-shell {
  width: min(76rem, calc(100% - 3rem));
  margin-inline: auto;
}

.ct-tubing .st-page h1,
.ct-tubing .st-page h2,
.ct-tubing .st-page h3 {
  color: inherit;
  line-height: 1.2;
}

.ct-tubing .st-page p {
  max-width: none;
  line-height: 1.75;
}

.ct-tubing .st-page a {
  color: var(--st-blue);
  text-underline-offset: 0.22em;
}

.ct-tubing .st-page a:hover {
  color: var(--st-purple);
}

.ct-tubing .st-page :focus-visible {
  outline: 3px solid var(--st-teal);
  outline-offset: 4px;
}

.ct-tubing .st-eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--st-teal);
}

.ct-tubing .st-hero {
  margin-bottom: 3rem;
}

.ct-tubing .st-hero-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border-top: 6px solid #38d7db;
  background: var(--st-navy);
  color: #fff;
}

.ct-tubing .st-hero-heading .st-eyebrow {
  color: #79edf0;
}

.ct-tubing .st-hero-heading h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.ct-tubing .st-hero-line {
  margin: 0;
  border-left: 3px solid var(--st-yellow);
  padding-left: 1.4rem;
  color: var(--st-yellow);
  font-size: 1.1rem;
}

.ct-tubing .st-photo {
  margin: 1.25rem auto 0;
  width: min(100%, 61rem);
}

.ct-tubing .st-photo img {
  width: 100%;
  height: auto;
}

.ct-tubing .st-photo figcaption {
  margin-top: 0.65rem;
  color: var(--st-muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.ct-tubing .st-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  align-items: start;
  gap: 3rem;
}

.ct-tubing .st-main,
.ct-tubing .st-sidebar {
  min-width: 0;
}

.ct-tubing .st-main h2 {
  margin: 0 0 1rem;
  color: var(--st-navy);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 500;
}

.ct-tubing .st-reviewed {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--st-teal);
  color: var(--st-muted);
  font-size: 0.88rem;
}

.ct-tubing .st-reviewed strong {
  color: var(--st-ink);
}

.ct-tubing .st-venues,
.ct-tubing .st-compare,
.ct-tubing .st-faq,
.ct-tubing .st-finish {
  margin-top: 2.8rem;
}

.ct-tubing .st-section-heading > p {
  color: var(--st-muted);
  font-size: 0.92rem;
}

.ct-tubing .st-venue {
  --st-accent: #155d8b;
  margin: 1.2rem 0;
  border: 1px solid #b6c6d5;
  border-top: 5px solid var(--st-accent);
  background: #fff;
}

.ct-tubing .st-powder {
  --st-accent: #593a83;
}

.ct-tubing .st-venue > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 1.2rem;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--st-accent);
  color: #fff;
  list-style: none;
  cursor: pointer;
}

.ct-tubing .st-venue > summary:hover {
  box-shadow: inset 0 0 0 3px var(--st-yellow);
}

.ct-tubing .st-venue summary::-webkit-details-marker,
.ct-tubing .st-faq summary::-webkit-details-marker {
  display: none;
}

.ct-tubing .st-venue summary::marker,
.ct-tubing .st-faq summary::marker {
  content: "";
}

.ct-tubing .st-town,
.ct-tubing .st-name {
  display: block;
}

.ct-tubing .st-town {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
}

.ct-tubing .st-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
}

.ct-tubing .st-type {
  max-width: 9rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--st-yellow);
  color: var(--st-yellow);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ct-tubing .st-toggle {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
}

.ct-tubing .st-toggle::before,
.ct-tubing .st-toggle::after {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 1.2rem;
  height: 2px;
  background: #fff;
  content: "";
}

.ct-tubing .st-toggle::after {
  transform: rotate(90deg);
}

.ct-tubing .st-venue[open] .st-toggle::after {
  transform: rotate(0);
}

.ct-tubing .st-detail {
  padding: 1.5rem;
  font-size: 0.95rem;
}

.ct-tubing .st-detail > p:first-child {
  margin-top: 0;
}

.ct-tubing .st-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.ct-tubing .st-facts > div {
  padding-top: 0.8rem;
  border-top: 3px solid var(--st-accent);
}

.ct-tubing .st-facts dt {
  color: var(--st-accent);
  font-size: 0.77rem;
  font-weight: 750;
}

.ct-tubing .st-facts dd {
  margin: 0.4rem 0 0;
  font-size: 0.87rem;
  line-height: 1.65;
}

.ct-tubing .st-venue-note {
  margin: 1.7rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--st-yellow);
}

.ct-tubing .st-venue-note h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

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

.ct-tubing .st-address {
  color: var(--st-muted);
  font-size: 0.83rem;
}

.ct-tubing .st-host {
  display: inline-block;
  padding: 0.6rem 0;
  font-weight: 700;
  font-size: 0.87rem;
}

.ct-tubing .st-small-riders {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-top: 4px solid var(--st-yellow);
  background: var(--st-navy);
  color: #fff;
}

.ct-tubing .st-small-riders .st-eyebrow,
.ct-tubing .st-small-riders a {
  color: var(--st-yellow);
}

.ct-tubing .st-small-riders a:hover {
  color: #fff;
}

.ct-tubing .st-small-riders h3 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 500;
}

.ct-tubing .st-small-riders p,
.ct-tubing .st-small-riders a {
  font-size: 0.87rem;
}

.ct-tubing .st-table-wrap {
  overflow-x: auto;
}

.ct-tubing .st-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.65;
}

.ct-tubing .st-compare caption {
  text-align: left;
  padding: 0 0 0.8rem;
  color: var(--st-muted);
}

.ct-tubing .st-compare th,
.ct-tubing .st-compare td {
  padding: 0.9rem;
  border-bottom: 1px solid #b6c6d5;
  text-align: left;
  vertical-align: top;
}

.ct-tubing .st-compare thead {
  background: var(--st-navy);
  color: #fff;
}

.ct-tubing .st-compare tbody th {
  color: var(--st-blue);
}

.ct-tubing .st-table-note {
  color: var(--st-muted);
  font-size: 0.8rem;
}

.ct-tubing .st-faq details {
  margin: 0;
  border-top: 1px solid #b6c6d5;
}

.ct-tubing .st-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.ct-tubing .st-faq summary::after {
  color: var(--st-blue);
  content: "+";
}

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

.ct-tubing .st-faq details p {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--st-muted);
}

.ct-tubing .st-finish {
  padding-top: 1.8rem;
  border-top: 4px solid var(--st-teal);
}

.ct-tubing .st-side {
  margin-bottom: 1.6rem;
  padding: 1.5rem;
}

.ct-tubing .st-side h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 500;
}

.ct-tubing .st-side p,
.ct-tubing .st-side li {
  font-size: 0.88rem;
}

.ct-tubing .st-side ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ct-tubing .st-side li {
  padding: 0.85rem 0;
  border-top: 1px solid currentColor;
  line-height: 1.6;
}

.ct-tubing .st-other {
  border-top: 5px solid var(--st-yellow);
  background: var(--st-blue);
  color: #fff;
}

.ct-tubing .st-other .st-eyebrow,
.ct-tubing .st-other a {
  color: #fff;
}

.ct-tubing .st-other a:hover {
  color: var(--st-yellow);
}

.ct-tubing .st-pack {
  background: var(--st-yellow);
  color: var(--st-navy);
}

.ct-tubing .st-pack .st-eyebrow {
  color: var(--st-navy);
}

.ct-tubing .st-night {
  border-top: 5px solid #79edf0;
  background: var(--st-purple);
  color: #fff;
}

.ct-tubing .st-night .st-eyebrow {
  color: #79edf0;
}

.ct-tubing .st-other :focus-visible,
.ct-tubing .st-venue > summary:focus-visible,
.ct-tubing .st-small-riders :focus-visible {
  outline-color: var(--st-yellow);
}

@media (max-width: 65rem) {
  .ct-tubing .st-layout {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 1.75rem;
  }

  .ct-tubing .st-venue > summary {
    grid-template-columns: minmax(0, 1fr) 1.2rem;
  }

  .ct-tubing .st-type {
    grid-column: 1;
    max-width: none;
  }

  .ct-tubing .st-toggle {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

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

  .ct-tubing .st-page {
    padding-top: 1.25rem;
  }

  .ct-tubing .st-hero-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.6rem;
  }

  .ct-tubing .st-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .ct-tubing .st-side {
    margin: 0;
  }

  .ct-tubing .st-night {
    grid-column: 1 / -1;
  }
}

@media (max-width: 35rem) {
  .ct-tubing .st-facts,
  .ct-tubing .st-sidebar {
    grid-template-columns: 1fr;
  }

  .ct-tubing .st-night {
    grid-column: auto;
  }

  .ct-tubing .st-detail,
  .ct-tubing .st-venue > summary {
    padding: 1.2rem;
  }

  .ct-tubing .st-compare th,
  .ct-tubing .st-compare td {
    padding: 0.7rem 0.55rem;
  }
}
