/* Montana snow tubing: scoped winter styling. */
.montana-snow {
  --st-ink: #102d48;
  --st-blue: #164c76;
  --st-red: #be2639;
  --st-line: #bccbd5;
  background: #fff;
  color: var(--st-ink);
}

.st-page,
.st-page * {
  box-sizing: border-box;
}

.st-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  padding-bottom: 4rem;
}

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

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

.st-page a:hover {
  color: var(--st-red);
}

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

.st-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-block: 1.5rem;
  font-size: 0.88rem;
}

.st-title-row {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 2rem;
  align-items: end;
  padding: 1rem 0 2.25rem;
}

.st-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.st-hero h1 {
  margin: 0;
  color: var(--st-ink);
  font-size: clamp(3.1rem, 6.8vw, 5.8rem);
  line-height: 0.99;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.st-hero-note {
  border-left: 5px solid var(--st-red);
  padding-left: 1.4rem;
}

.st-hero-note p {
  margin: 0 0 0.8rem;
  font-size: 1.9rem;
  line-height: 1.18;
  font-weight: 800;
}

.st-hero-note span {
  display: block;
  font-size: 0.9rem;
}

.st-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--st-ink);
}

.st-photo picture {
  display: block;
}

.st-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.st-photo figcaption {
  padding: 0.8rem 1.25rem;
  color: #fff;
  font-size: 0.75rem;
}

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

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

.st-page h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  line-height: 1.2;
  color: var(--st-ink);
  letter-spacing: -0.025em;
}

.st-page h3 {
  line-height: 1.35;
  color: var(--st-ink);
}

.st-page p {
  margin-top: 0;
}

.st-intro p:last-child {
  margin-bottom: 0;
}

.st-weather {
  margin: 1.8rem 0 2.7rem;
  border-top: 3px solid var(--st-red);
  border-bottom: 1px solid var(--st-line);
  padding: 1.1rem 0;
}

.st-weather strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--st-red);
  font-size: 1.1rem;
}

.st-weather p {
  margin-bottom: 0;
}

.st-listings {
  margin-bottom: 2.5rem;
}

.st-listings > h2 {
  font-size: 1.45rem;
  padding-bottom: 0.9rem;
  border-bottom: 3px solid var(--st-ink);
}

.st-card {
  border: 1px solid var(--st-line);
  border-left: 5px solid var(--st-blue);
  border-radius: 0.5rem;
  margin-top: 1rem;
  background: #fff;
}

.st-card[open] {
  border-left-color: var(--st-red);
  box-shadow: 0 6px 24px rgb(16 45 72 / 9%);
}

.st-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  column-gap: 1rem;
  padding: 1.4rem;
  cursor: pointer;
  list-style: none;
}

.st-card summary::-webkit-details-marker {
  display: none;
}

.st-card summary:hover .st-name {
  color: var(--st-red);
}

.st-card-heading {
  display: block;
}

.st-region {
  display: block;
  color: var(--st-blue);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  margin-bottom: 0.3rem;
}

.st-name {
  display: block;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.st-access {
  grid-column: 1;
  justify-self: start;
  margin-top: 0.75rem;
  border: 1px solid var(--st-blue);
  border-radius: 0.25rem;
  padding: 0.2rem 0.65rem;
  color: var(--st-blue);
  font-size: 0.76rem;
  font-weight: 750;
}

.st-toggle {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 1.3rem;
  height: 1.3rem;
}

.st-toggle::before,
.st-toggle::after {
  content: "";
  position: absolute;
  background: var(--st-red);
  border-radius: 1px;
}

.st-toggle::before {
  width: 100%;
  height: 3px;
  top: calc(50% - 1.5px);
}

.st-toggle::after {
  height: 100%;
  width: 3px;
  left: calc(50% - 1.5px);
}

.st-card[open] .st-toggle::after {
  display: none;
}

.st-details {
  padding: 0 1.4rem 1.5rem;
}

.st-details h3 {
  margin: 0 0 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--st-line);
  font-size: 1.15rem;
}

.st-note {
  border-left: 3px solid var(--st-red);
  padding-left: 1rem;
  margin: 1.3rem 0;
}

.st-note h4 {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: var(--st-red);
}

.st-note p {
  margin: 0;
  font-size: 0.93rem;
}

.st-website {
  display: inline-block;
  font-weight: 750;
}

.st-explore {
  background: var(--st-ink);
  border-radius: 0.75rem;
  padding: 1.6rem;
  color: #fff;
}

.st-explore h2,
.st-explore .st-kicker {
  color: #fff;
}

.st-explore h2 {
  font-size: 1.6rem;
}

.st-explore a,
.st-explore a:hover {
  color: #fff;
}

.st-explore a:hover {
  text-decoration-thickness: 2px;
}

.st-state {
  display: block;
  padding-bottom: 1rem;
  font-weight: 750;
}

.st-explore ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.st-explore li {
  border-top: 1px solid rgb(255 255 255 / 25%);
}

.st-explore li a {
  display: block;
  padding-block: 0.8rem;
  font-size: 0.94rem;
  text-decoration: none;
}

.st-planner {
  margin-top: 2rem;
  border-top: 5px solid var(--st-red);
  padding-top: 1.4rem;
}

.st-planner h2,
.st-faq h2 {
  font-size: 1.5rem;
}

.st-planner h3 {
  font-size: 1rem;
  margin: 1.2rem 0 0.45rem;
}

.st-planner p {
  font-size: 0.93rem;
}

.st-faq {
  margin-top: 2rem;
}

.st-faq details {
  border-top: 1px solid var(--st-line);
  padding-block: 0.9rem;
}

.st-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
}

.st-faq summary::-webkit-details-marker {
  display: none;
}

.st-faq p {
  font-size: 0.91rem;
  margin: 0.7rem 0 0;
}

.st-more {
  margin-top: 3rem;
  border-top: 3px solid var(--st-blue);
  padding-top: 1.5rem;
}

.st-more h2 {
  font-size: 1.5rem;
}

@media (max-width: 60rem) {
  .st-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .st-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
    align-items: start;
  }

  .st-planner,
  .st-faq {
    margin-top: 0;
  }

  .st-title-row {
    grid-template-columns: 1fr 14rem;
  }
}

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

  .st-breadcrumb {
    font-size: 0.8rem;
    gap: 0.45rem;
    padding-block: 1.2rem;
  }

  .st-title-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
  }

  .st-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.3rem);
  }

  .st-hero-note {
    padding-left: 1rem;
  }

  .st-hero-note p {
    font-size: 1.25rem;
  }

  .st-photo {
    border-radius: 0.7rem;
  }

  .st-photo figcaption {
    padding: 0.75rem 0.9rem;
  }

  .st-layout {
    margin-top: 2rem;
  }

  .st-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .st-card summary {
    padding: 1.1rem;
  }

  .st-name {
    font-size: 1.22rem;
  }

  .st-details {
    padding: 0 1.1rem 1.25rem;
  }
}
