/* Salute to Life site styles.
   The MudTheme in MainLayout sets the palette, type scale and radius. This file adds the
   site's own .stl-* pieces from the design, and small overrides that make MudBlazor's
   components match the design (square badges, callouts, 44px controls). Breakpoints
   follow MudBlazor's: md at 960px and sm at 600px. The logo's follow the room its
   lockups need. */

/* ---------- Brand typeface (licensed for web use) ----------
   Its @font-face rules are in App.razor, so they use the same fingerprinted font addresses
   as the preloads there. Font addresses here aren't fingerprinted, so each font would
   download twice. */

:root {
  --stl-navy: #0b1f3a;
  --stl-gray-700: #3a4554;
  --stl-gray-300: #b9c6d8;
  --stl-gray-200: #d5dbe3;
  --stl-gray-100: #eef2f7;
  --stl-radius: 4.5px;
  /* Material "error outline", drawn as a mask so it takes the text color */
  --stl-error-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3C/svg%3E");
}

/* ---------- Page shell ---------- */
.stl-site { min-height: 100vh; display: flex; flex-direction: column; font-family: var(--mud-typography-default-family); font-weight: 500; font-size: 16px; line-height: 1.45; color: var(--mud-palette-text-primary); background: var(--mud-palette-background); -webkit-font-smoothing: antialiased; }
.stl-site main { flex: 1; outline: none; }
.stl-site *, .stl-site *::before, .stl-site *::after { box-sizing: border-box; }
.stl-site [hidden] { display: none !important; }
.stl-site :focus-visible { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }
.stl-skip { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 12px 16px; background: #fff; color: var(--mud-palette-primary); font-weight: 900; }
.stl-skip:focus { left: 16px; }

/* MudContainer: a 1056px content column with 80 / 40 / 16px gutters */
.stl-site .stl-container { max-width: 1216px; padding-inline: 80px; }
@media (max-width: 1099.98px) { .stl-site .stl-container { padding-inline: 40px; } }
@media (max-width: 599.98px) { .stl-site .stl-container { padding-inline: 16px; } }

.stl-section { padding-block: 88px; }
.stl-section-tight { padding-block: 56px; }
.stl-section-subtle { background: var(--mud-palette-background-gray); }
.stl-section-divided { border-top: 1px solid var(--mud-palette-lines-default); }
.stl-page-hero { padding-bottom: 64px; }
.stl-section-flush-top { padding-top: 48px; }
@media (max-width: 599.98px) {
  .stl-section { padding-block: 56px; }
  .stl-section-tight { padding-block: 40px; }
  .stl-page-hero { padding-bottom: 48px; }
}

.stl-stack { display: flex; flex-direction: column; gap: 16px; }
.stl-stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stl-stack-md { display: flex; flex-direction: column; gap: 24px; }
.stl-stack-lg { display: flex; flex-direction: column; gap: 40px; }
.stl-stack-xl { display: flex; flex-direction: column; gap: 56px; }
.stl-stack-xxl { display: flex; flex-direction: column; gap: 80px; }
.stl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 8px; }
.stl-row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.stl-align-start { align-self: flex-start; }
.stl-fill { height: 100%; }
.stl-column { display: flex; flex-direction: column; }
.stl-space-above { margin-top: 16px !important; }
.stl-space-above-sm { margin-top: 8px !important; }
.stl-questions { display: flex; flex: 1 1 420px; flex-direction: column; gap: 4px; }
.stl-numbered-card { display: flex; gap: 16px; height: 100%; }
.stl-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stl-table-caption { caption-side: bottom; padding-top: 8px; color: var(--mud-palette-text-secondary); font-size: 13px; line-height: 1.6; text-align: left; }
.stl-stat-note.stl-stat-note-flush { margin-top: -8px; }
.stl-site .stl-gap-lg { gap: 24px; }
.stl-stack-xs { display: flex; flex-direction: column; gap: 4px; }
.stl-row-bottom { align-items: flex-end; }
.stl-row-tight { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.stl-list.stl-list-cards { gap: 16px; }
.stl-list.stl-list-cards > li { display: block; padding: 0; }
.stl-empty-text { max-width: 520px; }
.stl-actions-center { justify-content: center; }
/* The search button keeps the one 44px button size, centered beside the taller search field */
.stl-search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stl-site .stl-search .stl-search-field { flex: 1 1 320px; margin-bottom: 0; }
.stl-faq .stl-panel-content { max-width: 680px; }
.stl-faq-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 24px; }

.stl-show-mobile { display: none; }
@media (max-width: 959.98px) {
  .stl-hide-mobile { display: none !important; }
  .stl-show-mobile { display: inline; }
}

/* MudGrid: items line up at the top or middle as the design does */
.stl-site .mud-grid.stl-grid-center { align-items: center; }
.stl-site .mud-grid.stl-grid-start { align-items: flex-start; }
.stl-site .mud-grid.stl-grid-stretch { align-items: stretch; }

/* ---------- MudText ---------- */
.stl-site .mud-typography { margin: 0; }
.stl-site .mud-typography-h1, .stl-site .mud-typography-h2, .stl-site .mud-typography-h3, .stl-site .mud-typography-overline { color: var(--mud-palette-primary); }
.stl-site .mud-typography-h4, .stl-site .mud-typography-h5, .stl-site .mud-typography-h6 { color: var(--stl-navy); }
.stl-site .mud-typography-subtitle1 { color: var(--stl-gray-700); max-width: 46em; }
.stl-site .mud-typography-caption { color: var(--mud-palette-text-secondary); }
.stl-site p.mud-typography-caption { display: block; }
.stl-lead { max-width: 560px; }
@media (max-width: 599.98px) {
  .stl-site .mud-typography-h1 { font-size: 36px; }
  .stl-site .mud-typography-h2 { font-size: 30px; }
  .stl-site .mud-typography-h3 { font-size: 26px; }
  .stl-site .mud-typography-h4 { font-size: 21px; }
}
.stl-text-strong { color: var(--stl-navy); font-weight: 900; }
.stl-text-secondary { color: var(--mud-palette-text-secondary); }
.stl-block { display: block; }
.stl-nowrap { white-space: nowrap; }
.stl-rule { display: block; width: 48px; height: 4px; margin: 0; border: 0; background: var(--mud-palette-secondary); }
.stl-prose { max-width: 720px; }
.stl-site .stl-prose p { margin: 0 0 16px; }
.stl-site .stl-prose p:last-child { margin-bottom: 0; }
.stl-measure { max-width: 760px; }
.stl-mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

/* Links (inline links stay plain anchors so they inherit the paragraph's size) */
.stl-link { color: var(--mud-palette-primary); text-decoration: underline; text-underline-offset: 3px; }
.stl-link:hover { color: var(--stl-navy); }
.stl-link-plain { display: inline-flex; align-items: center; gap: 8px; color: var(--mud-palette-primary); font-weight: 900; text-decoration: none; }
.stl-link-plain:hover { color: var(--mud-palette-primary); text-decoration: underline; text-underline-offset: 3px; }
.stl-band-primary .stl-link-light { color: #fff; font-weight: 900; }
/* Phone numbers don't break at their hyphens. Walk-in contacts link published text, which can be long */
.stl-site a[href^="tel:"] { white-space: nowrap; }
.stl-site .stl-contact a[href^="tel:"] { white-space: normal; }

/* MudIcon sizes used by the design */
.stl-site .stl-icon-feature { font-size: 32px; color: var(--mud-palette-primary); }
.stl-site .stl-confirmation-icon { font-size: 48px; color: var(--mud-palette-primary); }

/* ---------- MudButton / MudIconButton: 44px targets ---------- */
.stl-site .mud-button:not(.mud-icon-button) { min-height: 44px; padding: 12px 20px; white-space: nowrap; text-decoration: none; }
.stl-site .mud-button-root .mud-button-label { gap: 0; }
/* Below 360px, long labels wrap rather than force the page wider than the screen */
@media (max-width: 359.98px) {
  .stl-site .mud-button:not(.mud-icon-button) { padding-inline: 12px; white-space: normal; }
}
/* Elevation 0 everywhere: MudBlazor draws filled-button shadows outside the theme */
.stl-site .mud-button-filled, .stl-site .mud-button-filled:hover, .stl-site .mud-button-filled:focus-visible, .stl-site .mud-button-filled:active { box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .stl-site .mud-button-outlined.mud-button-outlined-primary:hover { background-color: var(--mud-palette-background-gray); }
}
/* Icon buttons are 44px squares with the buttons' corners; MudBlazor draws them round */
.stl-site .stl-arrow { width: 44px; height: 44px; padding: 0; border-radius: var(--stl-radius); background: #fff; }

/* ---------- Header (MudAppBar look, Elevation 0) ---------- */
.stl-header { position: relative; z-index: 10; background: var(--mud-palette-appbar-background); color: var(--mud-palette-appbar-text); border-bottom: 1px solid var(--mud-palette-lines-default); }
.stl-header-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* The logo shrinks rather than push the menu button off a narrow (320px or less) screen */
.stl-logo { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; padding: 27px 27px 27px 0; }
.stl-logo img, .stl-footer-logo img { display: block; max-width: 100%; height: auto; }
.stl-logo .stl-logo-full, .stl-footer-logo .stl-logo-full { width: 360px; }
.stl-logo .stl-logo-compact, .stl-footer-logo .stl-logo-compact { display: none; width: 160px; }
.stl-header-actions { display: flex; align-items: center; gap: 8px; }
.stl-header-nav { border-top: 1px solid var(--mud-palette-lines-default); }
.stl-header-nav .stl-container { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.stl-nav-link { position: relative; display: inline-flex; align-items: center; min-height: 56px; padding: 0 12px; color: var(--stl-navy); font-size: 16px; font-weight: 900; text-decoration: none; }
.stl-nav-link:first-child { padding-left: 0; }
.stl-nav-link:hover, .stl-nav-link.active { color: var(--mud-palette-primary); }
.stl-nav-link.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 4px; background: var(--mud-palette-secondary); }
.stl-nav-link.active:first-child::after { left: 0; }

/* Mobile menu: a native details disclosure, positioned under the header */
.stl-menu { display: none; }
.stl-menu > summary { list-style: none; }
.stl-menu > summary::-webkit-details-marker { display: none; }
.stl-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--stl-radius); color: var(--stl-navy); cursor: pointer; }
.stl-menu-toggle:hover { background: var(--stl-gray-100); }
.stl-menu-icon-close, .stl-menu[open] .stl-menu-icon-open { display: none; }
.stl-menu[open] .stl-menu-icon-close { display: block; }
.stl-drawer { position: absolute; left: 0; right: 0; top: 100%; padding-bottom: 24px; background: #fff; border-top: 1px solid var(--mud-palette-lines-default); border-bottom: 1px solid var(--mud-palette-lines-default); }
.stl-drawer-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 16px; border-bottom: 1px solid var(--mud-palette-lines-default); color: var(--stl-navy); font-size: 17px; font-weight: 900; text-decoration: none; }
.stl-drawer-link:hover { background: var(--mud-palette-background-gray); color: var(--stl-navy); }
.stl-drawer-link.active, .stl-drawer-link.active:hover { color: var(--mud-palette-primary); box-shadow: inset 4px 0 0 var(--mud-palette-secondary); }
.stl-drawer-link .mud-icon-root { color: var(--mud-palette-text-secondary); }
.stl-drawer-actions { display: flex; flex-direction: column; gap: 12px; padding: 24px 16px 0; }
@media (max-width: 959.98px) {
  .stl-header-top { gap: 8px; }
  .stl-header-nav { display: none; }
  .stl-menu { display: block; }
}
/* The Full lockup (360px plus 27px clear space) stays until the Join and menu buttons
   leave less room than that; the footer's stays until its column does */
@media (max-width: 639.98px) {
  .stl-logo { padding: 12px 12px 12px 0; }
  .stl-logo .stl-logo-full { display: none; }
  .stl-logo .stl-logo-compact { display: block; }
}
@media (max-width: 439.98px) {
  .stl-footer-logo { padding: 12px 12px 12px 0; }
  .stl-footer-logo .stl-logo-full { display: none; }
  .stl-footer-logo .stl-logo-compact { display: block; }
}

/* ---------- MudCard / MudPaper (Outlined, Elevation 0) ---------- */
.stl-site .mud-card { min-width: 0; }
.stl-site .mud-card .mud-card-content { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.stl-site .mud-card .mud-card-content.stl-card-content-roomy { gap: 16px; padding: 32px; }
.stl-site .mud-card .mud-card-actions { flex-wrap: wrap; gap: 8px; padding: 0 24px 24px; }
.stl-site .mud-card-content .mud-card-content { padding: 0; }
.stl-paper-subtle { background: var(--mud-palette-background-gray) !important; border-radius: 0 !important; }
.stl-site .stl-pad { padding: 24px; }
.stl-site .stl-pad-sm { padding: 20px; }
.stl-site .stl-pad-lg { padding: 32px; }
@media (max-width: 599.98px) {
  .stl-site .mud-card .mud-card-content.stl-card-content-roomy, .stl-site .stl-pad-lg { padding: 24px; }
}
.stl-confirmation { flex: 1; }

/* Photos (MudImage) */
.stl-site .stl-photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--stl-radius); background: var(--stl-gray-100); }
.stl-photo-framed { border: 1px solid var(--mud-palette-lines-default); }
.stl-ratio-1x1 { aspect-ratio: 1 / 1; }
.stl-ratio-16x9 { aspect-ratio: 16 / 9; }
.stl-ratio-4x3 { aspect-ratio: 4 / 3; }
.stl-ratio-3x2 { aspect-ratio: 3 / 2; }
.stl-ratio-2x1 { aspect-ratio: 2 / 1; }
.stl-figure { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.stl-figure figcaption { color: var(--mud-palette-text-secondary); font-size: 13px; line-height: 1.6; }

/* Videos (YouTubeVideo): a 16:9 frame with the photos' corners */
.stl-video { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--stl-radius); background: var(--stl-gray-100); }
.stl-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- MudStaticTextField (Variant.Outlined, label always on the border) ---------- */
.stl-site .mud-input-control.mud-input-outlined-with-label { margin-top: 0; }
.stl-site .mud-input.mud-input-outlined { font-size: 16px; font-weight: 500; line-height: 1.45; }
.stl-site .mud-input > input.mud-input-root-outlined { padding: 16px 14px; }
/* The floating label is drawn at 75%: 17.33px becomes the design's 13px, matching the border's notch */
.stl-site .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol { font-size: 17.33px; }
.stl-site .mud-input.mud-input-outlined > .mud-input-outlined-border legend { font-size: 13px; }
.stl-site .mud-input > input.mud-input-root::placeholder { color: var(--mud-palette-text-secondary); opacity: 1; }
.stl-site .mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined { color: var(--mud-palette-text-secondary); }
.stl-site .mud-input-control:focus-within > .mud-input-control-input-container > .mud-input-label-outlined { color: var(--mud-palette-primary); }
@media (hover: hover) and (pointer: fine) {
  .stl-site .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border { border-color: var(--stl-navy); }
}
.stl-site .mud-input.mud-input-outlined.mud-input-error .mud-input-outlined-border { border-width: 2px; }
/* Errors keep a gray label and body-colored text after a red icon: red text this small fails contrast */
.stl-site .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol.mud-input-error { color: var(--mud-palette-text-secondary) !important; }
.stl-site .mud-input-helper-text { padding: 0; color: var(--mud-palette-text-secondary); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: normal; }
.stl-site .mud-input-helper-text.mud-input-error { color: var(--mud-palette-text-primary) !important; }
.stl-site .mud-input-helper-text.mud-input-error .me-auto { display: flex; align-items: flex-start; gap: 6px; }
.stl-site .mud-input-helper-text.mud-input-error .me-auto::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--mud-palette-secondary); -webkit-mask: var(--stl-error-icon) center / contain no-repeat; mask: var(--stl-error-icon) center / contain no-repeat; }
.stl-site .mud-input-control-helper-container { margin-top: 4px; padding-inline: 14px; }

/* Native select styled to match the outlined text field */
.stl-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stl-select { position: relative; }
.stl-select-input { display: block; width: 100%; height: 56px; margin: 0; padding: 16px 44px 16px 14px; border: 1px solid var(--mud-palette-lines-inputs); border-radius: var(--stl-radius); background: #fff; color: var(--mud-palette-text-primary); font: inherit; font-size: 16px; line-height: 1.2; -webkit-appearance: none; appearance: none; cursor: pointer; }
.stl-select-input:hover { border-color: var(--stl-navy); }
.stl-select-input:focus { outline: none; border: 2px solid var(--mud-palette-primary); padding: 15px 43px 15px 13px; }
.stl-select-input.invalid { border: 2px solid var(--mud-palette-secondary); padding: 15px 43px 15px 13px; }
.stl-select-label { position: absolute; top: -7px; left: 9px; padding: 0 5px; background: #fff; color: var(--mud-palette-text-secondary); font-size: 13px; line-height: 15px; pointer-events: none; }
.stl-select:focus-within .stl-select-label { color: var(--mud-palette-primary); }
.stl-select-icon { position: absolute; top: 16px; right: 12px; color: var(--mud-palette-text-secondary); pointer-events: none; }

/* Native radio buttons and checkboxes in brand blue, 44px rows */
.stl-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.stl-legend { padding: 0; margin-bottom: 4px; color: var(--stl-navy); font-size: 16px; font-weight: 900; }
.stl-radio, .stl-checkbox { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: 16px; line-height: 1.45; cursor: pointer; }
.stl-radio input, .stl-checkbox input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--mud-palette-primary); cursor: pointer; }
.stl-checkbox input.invalid { outline: 2px solid var(--mud-palette-secondary); outline-offset: 2px; }
.stl-radio-group { display: flex; flex-wrap: wrap; column-gap: 32px; }
.stl-radio-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.stl-fieldset.stl-fieldset-error { padding-left: 16px; border-left: 4px solid var(--mud-palette-secondary); }
.stl-field-error { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 0; color: var(--mud-palette-text-primary); font-size: 13px; line-height: 1.5; }
.stl-field-error .mud-icon-root { flex: none; color: var(--mud-palette-secondary); }
.stl-help { margin: 0; color: var(--mud-palette-text-secondary); font-size: 13px; line-height: 1.5; }
.stl-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.stl-form-grid > .span-2 { grid-column: span 2; }
.stl-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.stl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 599.98px) {
  .stl-form-grid, .stl-radio-columns { grid-template-columns: minmax(0, 1fr); }
  .stl-form-grid > .span-2 { grid-column: auto; }
  /* An empty cell that ends a two-column row; in one column it would only add a gap */
  .stl-form-grid > .stl-form-spacer { display: none; }
}

/* ---------- MudChip: square badges and 44px filter links ---------- */
.stl-site .mud-chip.stl-badge { height: 24px; margin: 0; padding: 0 8px; border-radius: 0; font-size: 11px; line-height: 1; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.stl-site .mud-chip.stl-badge .mud-chip-content { gap: 6px; }
.stl-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.stl-site .mud-chip.stl-filter { height: auto; min-height: 44px; margin: 0; padding: 0 16px; border: 1px solid var(--mud-palette-lines-inputs); border-radius: var(--stl-radius); background: #fff; color: var(--stl-navy); font-size: 16px; font-weight: 900; text-decoration: none; cursor: pointer; }
.stl-site .mud-chip.stl-filter:hover { background: var(--mud-palette-background-gray); }
.stl-site .mud-chip.stl-filter.stl-selected { background: var(--mud-palette-primary); border-color: var(--mud-palette-primary); color: #fff; }

/* ---------- MudAlert (Variant.Text) as the design system's callout ---------- */
.stl-site .mud-alert.stl-callout { padding: 16px 16px 16px 20px; border-left: 4px solid var(--mud-palette-primary); border-radius: 0; background: var(--mud-palette-background-gray); color: var(--mud-palette-text-primary); font-size: 14px; line-height: 1.45; }
.stl-site .mud-alert.stl-callout .mud-alert-icon { margin-right: 12px; margin-inline-end: 12px; padding: 0; color: var(--mud-palette-primary); }
.stl-site .mud-alert.stl-callout .mud-alert-message { padding: 0; }
.stl-site .mud-alert.stl-callout-accent { border-left-color: var(--mud-palette-secondary); }
.stl-site .mud-alert.stl-callout-accent .mud-alert-icon { color: var(--mud-palette-secondary); }
.stl-callout strong { color: var(--stl-navy); font-weight: 900; }
.stl-callout p { margin: 0; }
.stl-error-list { margin: 4px 0 0; padding-left: 20px; }
.stl-callout-narrow { max-width: 560px; }

/* ---------- Expandable panels (native details; MudExpansionPanels needs interactivity) ---------- */
.stl-panels { border: 1px solid var(--mud-palette-lines-default); border-radius: var(--stl-radius); background: #fff; }
.stl-panels > * + * { border-top: 1px solid var(--mud-palette-lines-default); }
.stl-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 24px; color: var(--stl-navy); font-size: 17px; font-weight: 900; text-decoration: none; list-style: none; cursor: pointer; }
.stl-panel-header::-webkit-details-marker { display: none; }
.stl-panel-header:hover { background: var(--mud-palette-background-gray); color: var(--stl-navy); }
.stl-panel-header .mud-icon-root { flex: none; color: var(--mud-palette-text-secondary); transition: transform 0.2s; }
.stl-panel[open] > .stl-panel-header .stl-panel-icon { transform: rotate(180deg); }
.stl-panel-content { display: flex; flex-direction: column; gap: 12px; padding: 0 24px 24px; }
@media (max-width: 599.98px) {
  .stl-panel-header { padding-inline: 16px; }
  .stl-panel-content { padding: 0 16px 16px; }
}

/* ---------- MudSimpleTable ---------- */
.stl-table-scroll { overflow-x: auto; }
.stl-site .stl-table table { min-width: 520px; }
.stl-site .stl-table table * tr > th, .stl-site .stl-table table * tr > td { padding: 12px 8px; border-bottom: 1px solid var(--mud-palette-lines-default); vertical-align: top; }
.stl-site .stl-table table thead tr > th { border-bottom-color: var(--stl-navy); color: var(--stl-navy); font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: bottom; }
.stl-site .stl-table table tbody th { color: var(--stl-navy); font-size: 14px; font-weight: 900; }
.stl-site .stl-table table tbody > tr:last-child > td, .stl-site .stl-table table tbody > tr:last-child > th { border-bottom: 1px solid var(--mud-palette-lines-default); }
/* Phones fit the table to the screen: a scrolled table also scrolls its caption out of view */
@media (max-width: 599.98px) {
  .stl-site .stl-table table { min-width: 0; }
}

/* ---------- Lists ---------- */
.stl-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.stl-list > li { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; }
.stl-list-dense > li { gap: 12px; padding: 6px 0; }
.stl-list-divided > li + li { border-top: 1px solid var(--mud-palette-lines-default); }
.stl-list-steps { gap: 20px; }
.stl-list-steps > li { padding: 0; }
.stl-list .stl-list-icon { flex: none; color: var(--mud-palette-primary); }
.stl-contact { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.stl-numeral { flex: none; width: 40px; color: var(--mud-palette-primary); font-size: 32px; line-height: 1; font-weight: 900; }
.stl-numeral-small { width: 28px; font-size: 17px; line-height: 1.45; }

/* ---------- Bands, stats and dates ---------- */
.stl-band-primary { background: var(--mud-palette-primary); color: #fff; }
.stl-site .stl-band-primary .mud-typography-h2, .stl-site .stl-band-primary .mud-typography-h3, .stl-site .stl-band-primary .mud-typography-body1 { color: #fff; }
.stl-band-primary :focus-visible { outline-color: #fff; }
.stl-band-primary .mud-card :focus-visible { outline-color: var(--mud-palette-primary); }
.stl-site .stl-band-primary .mud-card .mud-typography-body1 { color: var(--mud-palette-text-primary); }
.stl-stat-value, .stl-stat-label { margin: 0; }
.stl-stat-value { font-size: 46px; line-height: 1; font-weight: 900; letter-spacing: -0.01em; }
.stl-stat-label { margin-top: 8px; font-size: 16px; line-height: 1.45; }
.stl-stat-note { margin: 24px 0 0; color: var(--mud-palette-text-secondary); font-size: 14px; line-height: 1.4; }
.stl-band-primary .stl-stat-note { color: var(--stl-gray-200); }
.stl-stats-ruled { border-top: 1px solid var(--mud-palette-lines-default); border-bottom: 1px solid var(--mud-palette-lines-default); }
.stl-stats-ruled .stl-stat { padding: 24px 24px 24px 0; }
.stl-stats-ruled .stl-stat-value { color: var(--mud-palette-primary); }
.stl-date { flex: none; width: 76px; padding: 12px 8px; background: var(--mud-palette-background-gray); text-align: center; }
.stl-date-month { display: block; color: var(--mud-palette-primary); font-size: 12px; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.stl-date-day { display: block; margin-top: 4px; color: var(--stl-navy); font-size: 32px; line-height: 1; font-weight: 900; }
/* A drive over several days: the tile widens, and the day range is a step smaller */
.stl-date-range { width: auto; min-width: 76px; padding-inline: 10px; }
.stl-date-range .stl-date-day { font-size: 24px; white-space: nowrap; }
.stl-drive-group { display: flex; flex-direction: column; gap: 12px; }
.stl-drive { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.stl-drive-body { display: flex; flex: 1 1 320px; flex-direction: column; gap: 6px; min-width: 0; }
.stl-drive-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.stl-drive-meta > span, .stl-icon-text { display: inline-flex; align-items: center; gap: 6px; }
/* A hosted document: what it covers, beside its download button, which wraps below when narrow */
.stl-document { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.stl-document-body { display: flex; flex: 1 1 320px; flex-direction: column; gap: 6px; min-width: 0; }
.stl-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; text-align: center; }

/* Story slider: CSS scroll-snap, swipes without JavaScript */
.stl-slider { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.stl-slider::-webkit-scrollbar { display: none; }
.stl-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-margin-top: 24px; }
.stl-carousel-media { position: relative; }
.stl-carousel-arrows { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }

/* ---------- "On this page" ---------- */
.stl-toc-title { margin-bottom: 12px !important; }
.stl-toc { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--mud-palette-lines-default); }
.stl-toc a { display: block; margin-left: -1px; padding: 8px 0 8px 16px; border-left: 1px solid transparent; color: var(--mud-palette-text-primary); font-size: 16px; text-decoration: none; }
.stl-toc a.stl-toc-child { padding-left: 32px; font-size: 14px; }
.stl-toc a:hover { color: var(--mud-palette-primary); border-left-color: var(--mud-palette-primary); }
.stl-toc a.active { padding-left: 15px; border-left: 2px solid var(--mud-palette-secondary); color: var(--mud-palette-primary); font-weight: 900; }
.stl-toc a.stl-toc-child.active { padding-left: 31px; }
.stl-toc-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 32px; align-items: start; }
.stl-toc-layout > .stl-toc-rail { grid-column: 1; grid-row: 1; position: sticky; top: 24px; }
.stl-toc-layout > .stl-toc-content { grid-column: 2; grid-row: 1; min-width: 0; }
.stl-toc-bar { display: none; }
.stl-toc-sticky { position: sticky; top: 24px; align-self: flex-start; }
.stl-anchor { scroll-margin-top: 24px; }
@media (max-width: 959.98px) {
  .stl-toc-sticky { position: static; }
  .stl-toc-layout { grid-template-columns: minmax(0, 1fr); }
  .stl-toc-layout > .stl-toc-rail { display: none; }
  .stl-toc-layout > .stl-toc-content { grid-column: 1; grid-row: 2; }
  .stl-toc-layout > .stl-toc-content > section { scroll-margin-top: 88px; }
  .stl-toc-bar { position: sticky; top: 0; z-index: 4; display: flex; gap: 8px; overflow-x: auto; margin: -24px -40px 40px; padding: 12px 40px; background: #fff; border-bottom: 1px solid var(--mud-palette-lines-default); }
  .stl-toc-bar .mud-chip { flex: none; white-space: nowrap; }
}
@media (max-width: 599.98px) {
  .stl-toc-bar { margin-inline: -16px; padding-inline: 16px; }
}

/* ---------- Join confirmation ---------- */
.stl-next-steps { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.stl-next-steps li { position: relative; min-height: 28px; padding: 2px 0 0 44px; font-size: 16px; line-height: 1.5; counter-increment: step; }
.stl-next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mud-palette-primary); color: #fff; font-size: 14px; font-weight: 900; }
.stl-next-steps strong { color: var(--stl-navy); font-weight: 900; }
.stl-share { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding: 24px; border-radius: var(--stl-radius); }
.stl-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stl-share-row > .mud-input-control { flex: 1 1 220px; }

/* ---------- Footer ---------- */
.stl-footer { background: var(--stl-navy); color: var(--stl-gray-200); border-top: 4px solid var(--mud-palette-secondary); }
.stl-footer-body { padding-top: 48px; padding-bottom: 8px; }
.stl-footer a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.stl-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.stl-footer :focus-visible { outline-color: #fff; }
.stl-footer-logo { display: block; line-height: 0; padding: 27px 27px 27px 0; }
.stl-footer-logo .stl-logo-compact { width: 160px; }
.stl-site .stl-footer-blurb { max-width: 360px; color: var(--stl-gray-200); }
.stl-footer-social { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.stl-footer-heading { margin: 0 0 16px; color: var(--stl-gray-300); font-size: 12px; line-height: 1.2; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.stl-footer-social .stl-footer-heading { margin: 0; }
.stl-footer-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.stl-footer-note { color: var(--stl-gray-300); font-size: 13px; }
.stl-footer-cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px; }
.stl-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--stl-gray-700); color: var(--stl-gray-300); font-size: 13px; }
.stl-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stl-social-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--stl-gray-700); border-radius: var(--stl-radius); color: #fff; }
.stl-footer .stl-social-link:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--stl-gray-300); text-decoration: none; }
@media (max-width: 959.98px) {
  .stl-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 24px; }
  .stl-footer-cols > :last-child { grid-column: span 2; }
}
@media (max-width: 599.98px) {
  .stl-footer-cols { grid-template-columns: minmax(0, 1fr); }
  .stl-footer-cols > :last-child { grid-column: auto; }
}
