/* North Dakota snow tubing. Load after /style/style.css. */
body.nd-snow {
    --snow-navy: #122b4a;
    --snow-blue: #1558ad;
    --snow-orange: #ad3c16;
    --snow-ink: #263e58;
    --snow-muted: #4e6379;
    --snow-line: #cad4e0;
    --wrap: 78rem;
    --indigo: #1558ad;
    --indigo-deep: #103f7d;
    --fleece-bay: #122b4a;
    --fleece-brown: #4e6379;
    --fleece-silver: #4e6379;
    --fleece-beige: #cad4e0;
    --fleece-card: #ffffff;
    background: #ffffff;
    color: var(--snow-ink);
}

.nd-snow .site-header {
    background: #122b4a;
    border-bottom: 1px solid #38506e;
}

.nd-snow .wordmark,
.nd-snow .wordmark:hover,
.nd-snow .wordmark .sub,
.nd-snow .nav-links a,
.nd-snow .nav-toggle {
    color: #ffffff;
}

.nd-snow .nav-links a:hover {
    color: #ffffff;
    background: #1558ad;
}

.nd-snow .site-footer {
    color: #ffffff;
    background: #122b4a;
    border: 0;
}

.nd-snow .footer-links a {
    color: #ffffff;
}

.nds-page {
    padding: 0 0 5rem;
}

.nds-shell {
    max-width: 78rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.nds-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-block: 1.25rem 2rem;
    color: var(--snow-muted);
    font-size: 0.8rem;
}

.nds-page p {
    margin: 0 0 1rem;
}

.nds-page h1,
.nds-page h2,
.nds-page h3 {
    color: var(--snow-navy);
}

.nds-page h2 {
    margin: 0 0 1rem;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.nds-page a {
    text-underline-offset: 0.2em;
}

.nds-page a:focus-visible,
.nds-page summary:focus-visible {
    outline: 3px solid var(--snow-orange);
    outline-offset: 4px;
}

.nds-page .nds-eyebrow {
    margin-bottom: 0.8rem;
    color: var(--snow-orange);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nds-hero {
    overflow: hidden;
    border: 1px solid var(--snow-line);
    border-top: 6px solid var(--snow-blue);
    border-radius: 0 0 0.6rem 0.6rem;
}

.nds-hero-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr);
    align-items: end;
    gap: 3rem;
    padding: 2.25rem 2.5rem;
}

.nds-hero h1 {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.nds-hero-heading .nds-hero-intro {
    margin-bottom: 0.2rem;
    color: var(--snow-muted);
    font-size: 1rem;
}

.nds-photo {
    margin: 0 1rem;
}

.nds-photo picture {
    display: block;
    background: #122b4a;
    overflow: hidden;
    border-radius: 0.3rem;
}

.nds-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 28rem;
    object-fit: cover;
    object-position: center;
}

.nds-photo figcaption {
    padding: 0.65rem 0.25rem;
    color: var(--snow-muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

.nds-hero-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 0.5rem;
    padding: 1.1rem 2rem;
    background: var(--snow-blue);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

.nds-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    align-items: start;
    gap: 3.5rem;
    padding-top: 3.5rem;
}

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

.nds-intro > p:not(.nds-eyebrow),
.nds-pack p,
.nds-next p {
    color: var(--snow-muted);
}

.nds-intro .nds-conditions {
    padding: 1rem 0 1rem 1.25rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--snow-orange);
    font-size: 0.9rem;
}

.nds-tubing,
.nds-sledding,
.nds-pack,
.nds-next {
    margin-top: 3rem;
}

.nds-section-heading {
    margin-bottom: 1.5rem;
}

.nds-section-heading > p:last-child {
    color: var(--snow-muted);
    font-size: 0.9rem;
}

.nds-hill {
    margin-bottom: 1rem;
    border: 1px solid var(--snow-line);
    border-radius: 0.4rem;
    overflow: hidden;
}

.nds-hill > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--snow-navy);
    color: #ffffff;
    list-style: none;
    cursor: pointer;
}

.nds-hill > summary:hover {
    background: #1d426e;
}

.nds-hill > summary:focus-visible {
    outline-offset: -5px;
    outline-color: #ffffff;
}

.nds-hill > summary::-webkit-details-marker {
    display: none;
}

.nds-location,
.nds-name,
.nds-format {
    display: block;
}

.nds-location {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nds-name {
    margin-block: 0.35rem 0.5rem;
    font-size: 1.55rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.nds-format {
    font-size: 0.8rem;
    line-height: 1.5;
}

.nds-toggle {
    position: relative;
    flex: none;
    width: 2rem;
    height: 2rem;
    border: 1px solid #839bb7;
    border-radius: 50%;
}

.nds-toggle::before,
.nds-toggle::after {
    content: "";
    position: absolute;
    width: 0.8rem;
    height: 2px;
    top: calc(50% - 1px);
    left: calc(50% - 0.4rem);
    background: #ffffff;
}

.nds-toggle::after {
    transform: rotate(90deg);
}

.nds-hill[open] .nds-toggle::after {
    display: none;
}

.nds-hill-body {
    padding: 1.5rem;
    color: var(--snow-muted);
    font-size: 0.95rem;
}

.nds-address {
    font-size: 0.83rem;
    color: var(--snow-muted);
}

.nds-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    padding-block: 0.75rem;
    margin-top: 1rem;
    border-block: 1px solid var(--snow-line);
}

.nds-detail-grid h3 {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.95rem;
}

.nds-detail-grid p {
    font-size: 0.88rem;
}

.nds-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding-top: 1rem;
}

.nds-links a,
.nds-sled-card a {
    display: inline-block;
    padding-block: 0.45rem;
    font-size: 0.85rem;
    font-weight: 750;
}

.nds-sled-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.nds-sled-card {
    padding: 1.5rem;
    border: 1px solid var(--snow-line);
    border-top: 4px solid var(--snow-orange);
}

.nds-sled-card .nds-location {
    color: var(--snow-orange);
}

.nds-sled-card h3 {
    margin: 0.75rem 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.nds-sled-card p {
    color: var(--snow-muted);
    font-size: 0.9rem;
}

.nds-next {
    padding-top: 2rem;
    border-top: 1px solid var(--snow-line);
}

.nds-sidebar > section + section {
    margin-top: 2.5rem;
}

.nds-sidebar h2 {
    font-size: 1.4rem;
}

.nds-other {
    padding: 1.5rem;
    background: var(--snow-blue);
    border-radius: 0.4rem;
    color: #ffffff;
}

.nds-other h2,
.nds-other .nds-eyebrow,
.nds-other a,
.nds-other a:hover {
    color: #ffffff;
}

.nds-other ul {
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.nds-other li + li {
    border-top: 1px solid #6a93c8;
}

.nds-other a {
    display: block;
    padding-block: 0.85rem;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.nds-other a:hover {
    text-decoration: underline;
}

.nds-other a:focus-visible {
    outline-color: #ffffff;
}

.nds-brief {
    border-bottom: 3px solid var(--snow-orange);
    padding-bottom: 0.5rem;
}

.nds-brief p,
.nds-faq p {
    color: var(--snow-muted);
    font-size: 0.88rem;
}

.nds-faq details {
    border-top: 1px solid var(--snow-line);
}

.nds-faq summary {
    padding: 1rem 0;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--snow-navy);
}

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

    .nds-hero-heading {
        gap: 2rem;
        padding: 2rem;
    }

    .nds-sled-grid,
    .nds-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nds-detail-grid {
        gap: 0;
    }
}

@media (max-width: 52rem) {
    .nd-snow .nav-links {
        background: #122b4a;
    }

    .nds-hero-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .nds-hero-intro {
        max-width: 35rem;
    }

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

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

    .nds-sidebar > section + section {
        margin-top: 0;
    }

    .nds-faq {
        grid-column: 1 / -1;
    }

    .nds-sled-grid,
    .nds-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nds-detail-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 40rem) {
    .nds-shell {
        padding-inline: 1rem;
    }

    .nds-breadcrumb {
        padding-block: 1rem 1.5rem;
    }

    .nds-hero-heading {
        padding: 1.5rem 1.25rem;
    }

    .nds-hero h1 {
        font-size: clamp(2.15rem, 8.6vw, 3.2rem);
    }

    .nds-photo {
        max-width: 25rem;
        margin-inline: auto;
        padding-inline: 0.75rem;
    }

    .nds-photo img {
        height: auto;
        max-height: 29rem;
        aspect-ratio: 706 / 941;
        object-fit: cover;
    }

    .nds-hero-bottom {
        display: block;
        padding: 1rem 1.25rem;
    }

    .nds-hero-bottom span {
        display: block;
    }

    .nds-hero-bottom span + span {
        margin-top: 0.4rem;
    }

    .nds-layout {
        padding-top: 2.5rem;
    }

    .nds-hill > summary,
    .nds-hill-body,
    .nds-sled-card {
        padding: 1.25rem;
    }

    .nds-name {
        font-size: 1.35rem;
    }

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

    .nds-detail-grid {
        gap: 0;
    }

    .nds-faq {
        grid-column: auto;
    }
}
