.rules-page { color: #292d34; }
.rules-page section[id] { scroll-margin-top: 7rem; }
.rules-hero-content { padding-top: 10rem; padding-bottom: 7rem; }
.rules-hero .overlay::before { background: rgba(15, 24, 27, .56); }
.rules-title { font-size: clamp(2.5rem, 4.5vw, 4.4rem); font-weight: 600; line-height: 1.12; }
.rules-title em { display: block; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.rules-lead { font-size: 1.2rem; line-height: 1.7; }
.rules-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rules-section-heading { max-width: 48rem; }
.rules-route { --route-color: #00749e; padding: 2rem; border: 1px solid #dce0dd; border-top: 4px solid var(--route-color); border-radius: .5rem; background: #fff; }
.rules-route-short { --route-color: #b50069; }
.rules-route-intro { --route-color: #a55b00; }
.rules-route-label { color: var(--route-color); font-size: .85rem; font-weight: 600; }
.rules-route h3 { font-size: 1.8rem; }
.rules-distance { color: var(--route-color); font-size: 3rem; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.rules-distance span { font-size: 1rem; letter-spacing: 0; font-weight: 500; }
.rules-route-description { min-height: 5.5rem; line-height: 1.8; }
.rules-route-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid #e6e8e5; }
.rules-route-facts dt { font-weight: 400; }
.rules-route-facts dd { margin: 0; text-align: right; font-weight: 600; white-space: nowrap; }
.rules-edition-note { padding: 1.25rem 1.5rem; border-left: 3px solid #a98645; background: #f5f3ec; font-size: .95rem; }
.rules-faq-section { background: #f3f4f1; }
.rules-topic-nav { position: sticky; top: 8rem; }
.rules-topic-nav a { display: flex; gap: .85rem; align-items: baseline; padding: .9rem 0; color: #292d34; border-bottom: 1px solid #d4dad3; font-size: .95rem; line-height: 1.5; }
.rules-topic-nav a:hover { color: #00602a; }
.rules-topic-nav a span { color: #6b5832; font-family: 'Instrument Serif', Georgia, serif; font-size: 1.3rem; }
.rules-faq-group { padding: 0; margin-bottom: 4rem; }
.rules-faq-group:last-child { margin-bottom: 0; }
.rules-group-heading { display: flex; align-items: flex-start; gap: 1.25rem; }
.rules-group-number { color: #6b5832; font-size: 2.5rem; line-height: 1.15; font-family: 'Instrument Serif', Georgia, serif; }
.rules-group-heading h3 { font-size: 1.5rem; }
.rules-group-heading p { font-size: .95rem; }
.rules-questions { border: 1px solid #dce0dd; border-radius: .5rem; overflow: hidden; background: #fff; }
.rules-question + .rules-question { border-top: 1px solid #dce0dd; }
.rules-question summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem; cursor: pointer; list-style: none; font-weight: 600; line-height: 1.6; }
.rules-question summary::-webkit-details-marker { display: none; }
.rules-question summary:hover { background: #f7f8f6; }
.rules-question summary:focus-visible { outline: 3px solid #00602a; outline-offset: -4px; }
.rules-question[open] summary { color: #00602a; }
.rules-question-icon { position: relative; width: 1.1rem; height: 1.1rem; flex: 0 0 1.1rem; }
.rules-question-icon::before, .rules-question-icon::after { content: ''; position: absolute; background: currentColor; }
.rules-question-icon::before { width: 100%; height: 2px; top: calc(50% - 1px); left: 0; }
.rules-question-icon::after { width: 2px; height: 100%; left: calc(50% - 1px); top: 0; }
.rules-question[open] .rules-question-icon::after { display: none; }
.rules-answer { padding: 0 1.5rem 1.5rem; line-height: 1.85; }
.rules-answer p { margin-bottom: 1rem; }
.rules-answer > :last-child { margin-bottom: 0; }
.rules-answer ul { padding-left: 1.5rem; }
.rules-answer li + li { margin-top: .5rem; }
.rules-sms { padding: 1rem 1.25rem; border-left: 3px solid #00602a; background: #f0f5f0; font-weight: 600; overflow-wrap: anywhere; }
.rules-footer { background: #1e2128; }
@media (max-width: 991.98px) {
    .rules-topic-nav { position: static; display: flex; flex-wrap: wrap; gap: .75rem; }
    .rules-topic-nav > p { width: 100%; margin-bottom: .25rem !important; }
    .rules-topic-nav a { padding: .75rem 1rem; background: #fff; border: 1px solid #d4dad3; border-radius: .3rem; }
    .rules-route-description { min-height: 0; }
}
@media (max-width: 767.98px) {
    .rules-page { font-size: 1.5rem; }
    .rules-hero-content { padding-top: 12rem; padding-bottom: 6rem; }
    .rules-title { font-size: 4rem; }
    .rules-lead { font-size: 1.6rem; }
    .rules-eyebrow, .rules-route-label { font-size: 1.3rem; }
    .rules-page h2 { font-size: 2.6rem; }
    .rules-route h3 { font-size: 2.3rem; }
    .rules-distance { font-size: 4rem; }
    .rules-distance span { font-size: 1.5rem; }
    .rules-edition-note, .rules-topic-nav a, .rules-group-heading p { font-size: 1.4rem; }
    .rules-topic-nav a span { font-size: 1.7rem; }
    .rules-group-heading h3 { font-size: 2rem; }
    .rules-group-number { font-size: 3.2rem; }
    .rules-page .btn { font-size: 1.2rem; white-space: normal; }
    .rules-question summary { gap: 1.25rem; padding: 1.5rem; }
    .rules-question-icon { width: 1.4rem; height: 1.4rem; flex-basis: 1.4rem; }
    .rules-answer ul { padding-left: 2rem; }
}
