/* Heart of American Homes site stylesheet.
   One file, loaded on every page, in cascade order:
     1. Base: the Bootstrap 3, theme (style-main) and utility rules the markup actually uses, extracted on 2026-10-17.
        Icons are inline SVG via hoah_icon(); no icon font files are loaded.
     2. Site: layout, sections, cards, board roster, gallery, footer (formerly style.css).
     3. Accent: the theme colour rules still in use, recoloured to muted red #A8232F (formerly theme-skin-red.css).
     4. Components: header/nav, hero carousel, native carousels, dialogs, focus styles (formerly native-components.css).
     5. Miles To Home: campaign layout, donation controls and progress, scoped to .mth-page. */

/* ================================================================
   1. Base (extracted Bootstrap + theme rules)
   ================================================================ */

/* ---- from bootstrap.min.css ---- */
html { font-family: sans-serif; text-size-adjust: 100%; }
body { margin: 0px; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
[hidden], template { display: none; }
a { background-color: transparent; }
a:active, a:hover { outline: 0px; }
b, strong { font-weight: 700; }
h1 { margin: 0.67em 0px; font-size: 2em; }
img { border: 0px; }
svg:not(:root) { overflow: hidden; }
figure { margin: 1em 40px; }
button, input, optgroup, select, textarea { margin: 0px; font: inherit; color: inherit; }
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { appearance: button; cursor: pointer; }
input { line-height: normal; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0px; }
input[type="search"] { box-sizing: content-box; appearance: textfield; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { appearance: none; }
fieldset { padding: 0.35em 0.625em 0.75em; margin: 0px 2px; border: 1px solid silver; }
legend { padding: 0px; border: 0px; }
@media print {
*, ::after, ::before { color: rgb(0, 0, 0) !important; text-shadow: none !important; background: 0px 0px !important; box-shadow: none !important; }
a, a:visited { text-decoration: underline; }
a[href]::after { content: " (" attr(href) ")"; }
a[href^="javascript:"]::after, a[href^="#"]::after { content: ""; }
img, tr { break-inside: avoid; }
img { max-width: 100% !important; }
h2, h3, p { orphans: 3; widows: 3; }
h2, h3 { break-after: avoid; }
}
* { box-sizing: border-box; }
::after, ::before { box-sizing: border-box; }
html { font-size: 10px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
a { color: rgb(51, 122, 183); text-decoration: none; }
a:focus, a:hover { color: rgb(35, 82, 124); text-decoration: underline; }
a:focus { outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px; }
figure { margin: 0px; }
img { vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); border: 0px; }
.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; }
.h1, .h2, .h3, h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; }
.h4, .h5, h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; }
.h1, h1 { font-size: 36px; }
.h2, h2 { font-size: 30px; }
.h3, h3 { font-size: 24px; }
.h4, h4 { font-size: 18px; }
.h5, h5 { font-size: 14px; }
p { margin: 0px 0px 10px; }
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
ol, ul { margin-top: 0px; margin-bottom: 10px; }
ol ol, ol ul, ul ol, ul ul { margin-bottom: 0px; }
.list-inline { padding-left: 0px; margin-left: -5px; list-style: none; }
.list-inline > li { display: inline-block; padding-right: 5px; padding-left: 5px; }
dl { margin-top: 0px; margin-bottom: 20px; }
dd, dt { line-height: 1.42857; }
dt { font-weight: 700; }
dd { margin-left: 0px; }
.container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 768px) {
.container { width: 750px; }
}
@media (min-width: 992px) {
.container { width: 970px; }
}
@media (min-width: 1200px) {
.container { width: 1170px; }
}
.row { margin-right: -15px; margin-left: -15px; }
.col-md-10, .col-md-2, .col-md-3, .col-md-6, .col-md-8, .col-sm-12, .col-sm-4, .col-sm-6, .col-sm-8, .col-xs-12 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; }
.col-xs-12 { float: left; }
.col-xs-12 { width: 100%; }
@media (min-width: 768px) {
.col-sm-12, .col-sm-4, .col-sm-6, .col-sm-8 { float: left; }
.col-sm-12 { width: 100%; }
.col-sm-8 { width: 66.6667%; }
.col-sm-6 { width: 50%; }
.col-sm-4 { width: 33.3333%; }
}
@media (min-width: 992px) {
.col-md-10, .col-md-2, .col-md-3, .col-md-6, .col-md-8 { float: left; }
.col-md-10 { width: 83.3333%; }
.col-md-8 { width: 66.6667%; }
.col-md-6 { width: 50%; }
.col-md-3 { width: 25%; }
.col-md-2 { width: 16.6667%; }
.col-md-offset-1 { margin-left: 8.33333%; }
}
fieldset { min-width: 0px; padding: 0px; margin: 0px; border: 0px; }
legend { display: block; width: 100%; padding: 0px; margin-bottom: 20px; font-size: 21px; line-height: inherit; color: rgb(51, 51, 51); border-width: 0px 0px 1px; border-style: none none solid; border-color: currentcolor currentcolor rgb(229, 229, 229); border-image: initial; }
label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700; }
input[type="search"] { box-sizing: border-box; }
input[type="checkbox"], input[type="radio"] { margin: 4px 0px 0px; line-height: normal; }
input[type="file"]:focus, input[type="checkbox"]:focus, input[type="radio"]:focus { outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px; }
.form-control { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857; color: rgb(85, 85, 85); background-color: rgb(255, 255, 255); background-image: none; border: 1px solid rgb(204, 204, 204); border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
.form-control:focus { border-color: rgb(102, 175, 233); outline: 0px; box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset, rgba(102, 175, 233, 0.6) 0px 0px 8px; }
.form-control::-webkit-input-placeholder { color: rgb(153, 153, 153); }
input[type="search"] { appearance: none; }
.btn { display: inline-block; padding: 6px 12px; margin-bottom: 0px; font-size: 14px; font-weight: 400; line-height: 1.42857; text-align: center; white-space: nowrap; vertical-align: middle; touch-action: manipulation; cursor: pointer; user-select: none; background-image: none; border: 1px solid transparent; border-radius: 4px; }
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus { outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px; }
.btn.focus, .btn:focus, .btn:hover { color: rgb(51, 51, 51); text-decoration: none; }
.btn.active, .btn:active { background-image: none; outline: 0px; box-shadow: rgba(0, 0, 0, 0.125) 0px 3px 5px inset; }
.btn-default { color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); border-color: rgb(204, 204, 204); }
.btn-default.focus, .btn-default:focus { color: rgb(51, 51, 51); background-color: rgb(230, 230, 230); border-color: rgb(140, 140, 140); }
.btn-default:hover { color: rgb(51, 51, 51); background-color: rgb(230, 230, 230); border-color: rgb(173, 173, 173); }
.btn-default.active, .btn-default:active { color: rgb(51, 51, 51); background-color: rgb(230, 230, 230); border-color: rgb(173, 173, 173); }
.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover { color: rgb(51, 51, 51); background-color: rgb(212, 212, 212); border-color: rgb(140, 140, 140); }
.btn-default.active, .btn-default:active { background-image: none; }
.btn-xs { padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 3px; }
.progress { height: 20px; margin-bottom: 20px; overflow: hidden; background-color: rgb(245, 245, 245); border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px inset; }
.progress-bar { float: left; width: 0px; height: 100%; font-size: 12px; line-height: 20px; color: rgb(255, 255, 255); text-align: center; background-color: rgb(51, 122, 183); box-shadow: rgba(0, 0, 0, 0.15) 0px -1px 0px inset; transition: width 0.6s; }
.media { margin-top: 15px; }
.media:first-child { margin-top: 0px; }
.media, .media-body { overflow: hidden; zoom: 1; }
.media-body { width: 10000px; }
.media-left, .media > .pull-left { padding-right: 10px; }
.media-body, .media-left { display: table-cell; vertical-align: top; }
.clearfix::after, .clearfix::before, .container::after, .container::before, .nav::after, .nav::before, .row::after, .row::before { display: table; content: " "; }
.clearfix::after, .container::after, .nav::after, .row::after { clear: both; }
.pull-right { float: right !important; }
.pull-left { float: left !important; }
@media (max-width: 767px) {
.hidden-xs { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
.hidden-sm { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
.hidden-md { display: none !important; }
}
@media (min-width: 1200px) {
.hidden-lg { display: none !important; }
}

/* ---- from utility-classes.css ---- */
.text-gray { color: rgb(128, 128, 128) !important; }
.text-white { color: rgb(255, 255, 255) !important; }
.bg-light { background-color: rgb(245, 245, 245) !important; }
.bg-silver-light { background-color: rgb(247, 248, 250) !important; }
.font-weight-500 { font-weight: 500 !important; }
.font-weight-600 { font-weight: 600 !important; }
.font-11 { font-size: 11px !important; }
.font-15 { font-size: 15px !important; }
.font-26 { font-size: 26px !important; }
.font-36 { font-size: 2.57143rem !important; }
.font-42 { font-size: 3rem !important; }
.mt-5 { margin-top: 5px !important; }
.no-border { border-width: medium !important; border-style: none !important; border-color: currentcolor !important; border-image: initial !important; }
.no-bg { background: none !important; }
.img-fullwidth { width: 100% !important; }
@media only screen and (max-width: 991px) {
.sm-text-center { text-align: center !important; }
.sm-pull-none, .pull-left.flip.sm-pull-none, .pull-right.flip.sm-pull-none { float: none !important; }
}

/* ---- from style-main.css ---- */
::selection { background: rgb(51, 51, 51); color: rgb(255, 255, 255); text-shadow: none; }
::-webkit-selection { background: rgb(51, 51, 51); color: rgb(255, 255, 255); text-shadow: none; }
html { font-size: 100%; }
body { line-height: 1.7; color: rgb(102, 102, 102); font-size: 14px; font-family: "Open Sans", sans-serif; background-color: rgb(255, 255, 255); }
a { color: rgb(128, 128, 128); text-decoration: none; }
a:hover, a:focus { color: rgb(89, 89, 89); text-decoration: none; }
a img { border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; }
img { max-width: 100%; }
h1, .h1 { font-size: 3.4rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 14px; }
h1, h2, .h1, .h2 { font-family: "Playfair Display", serif; font-weight: 600; line-height: 1.42857; color: rgb(51, 51, 51); }
h3, h4, h5, h6, .h3, .h4, .h5 { font-family: "Playfair Display", serif; font-weight: 600; line-height: 1.42857; color: rgb(51, 51, 51); }
p, pre, ul, ol, dl, dd, blockquote, address, table, fieldset, form { margin-bottom: 10px; }
html { font-size: 100%; max-width: 100%; }
@media only screen and (max-width: 991px) {
html { font-size: 90%; }
}
@media only screen and (max-width: 767px) {
html { font-size: 85%; }
}
@media only screen and (max-width: 479px) {
html { font-size: 80%; }
}
html, html a { -webkit-font-smoothing: antialiased; }
body { max-width: 100%; overflow-x: hidden; }
strong { color: rgb(85, 85, 85); }
img { max-width: 100%; }
ul, ol { list-style: none; margin: 0px; padding: 0px; }
.line-bottom { position: relative; margin-bottom: 30px; padding-bottom: 10px; }
.line-bottom::after { bottom: -1px; content: ""; height: 2px; left: 0px; position: absolute; width: 50px; }
.opening-hours ul li { padding: 4px 0px 10px !important; }
ul, ol { list-style: none; margin: 0px; padding: 0px; }
ul ul, ol ul { margin-left: 15px; }
ul.list { list-style: outside none none; margin-top: 13px; padding-left: 0px; }
ul.list li { margin: 5px 0px; font-weight: 500; position: relative; }
ul.list li a { text-decoration: none; transition: 300ms ease-in; }
section { position: relative; }
section > .container { padding-top: 60px; padding-bottom: 60px; }
.scrollToTop { background: rgba(0, 0, 0, 0.1); bottom: 15px; display: none; height: 50px; padding: 2px; position: fixed; right: 15px; text-align: center; text-decoration: none; width: 50px; z-index: 99999; }
.scrollToTop:hover { background: rgba(0, 0, 0, 0.6); text-decoration: none; }
.header-top { padding: 5px 0px; }
.site-brand img { max-height: 38px; }
.header-nav .header-nav-wrapper .site-nav { padding: 0px; }
.header-nav { position: relative; }
.header-nav .header-nav-wrapper .site-nav { padding: 0px; }
.site-menu > li > a { color: rgb(51, 51, 51); font-size: 13px; font-weight: 600; }
@media only screen and (max-width: 900px) {
.site-menu { background: rgb(255, 255, 255); }
}
.header-nav { transition: 0.4s ease-in-out; }
.form-control { border-radius: 0px; box-shadow: none; height: 45px; }
label { font-weight: normal; }
.form-control:focus, form input[type="text"]:focus, form input[type="email"]:focus, form input[type="number"]:focus, form input[type="url"]:focus, form input[type="search"]:focus, form input[type="tel"]:focus, form input[type="password"]:focus, form input[type="date"]:focus, form input[type="color"]:focus, form select:focus, form textarea:focus { color: rgb(64, 64, 64); border-color: rgba(0, 0, 0, 0.3); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 3px; outline: none; }
form label { font-weight: bold; }
.photo-grid.gutter-small .gallery-item { padding-right: 2px; padding-bottom: 2px; }
.photo-grid .gallery-item { width: 25%; }
.photo-grid.grid-4 .gallery-item { width: 25%; }
@media only screen and (max-width: 991px) {
.photo-grid .gallery-item { width: 33.333% !important; }
}
@media only screen and (max-width: 767px) {
.photo-grid .gallery-item { width: 50% !important; }
}
@media only screen and (max-width: 479px) {
.photo-grid .gallery-item { width: 100% !important; }
}
.photo-grid .gallery-item { overflow: hidden; }
.photo-grid .gallery-item .thumb { position: relative; overflow: hidden; }
.photo-grid .gallery-item .overlay-shade { position: absolute; display: inline-block; vertical-align: middle; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 12; background-color: rgb(255, 255, 255); opacity: 0; transition: opacity 0.3s ease-in-out; }
.photo-grid .gallery-item:hover .overlay-shade { border: 8px solid rgb(238, 238, 238); opacity: 0.9; }
.photo-grid .gallery-item .icons-holder { position: absolute; top: 0%; left: 50%; display: inline-block; width: auto; height: 36px; vertical-align: middle; z-index: 130; transition: 0.3s ease-in-out; }
.photo-grid .gallery-item .icons-holder .icons-holder-inner { position: relative; display: inline-block; vertical-align: middle; margin: -18px 0px 0px -50%; }
.photo-grid .gallery-item .icons-holder .icons-holder-inner a { opacity: 0; transition: 0.3s ease-in-out; }
.photo-grid .gallery-item:hover .icons-holder { top: 50%; }
.photo-grid .gallery-item:hover .icons-holder .icons-holder-inner a { opacity: 1; }
.gallery-item .thumb img { transition: 300ms ease-in-out; }
.gallery-item:hover .thumb img { transform: scale3d(1.2, 1.25, 1.2); }
.causes .progress-item .progress-bar .percent { background-color: rgba(255, 255, 255, 0.9); border: 2px solid; color: rgb(51, 51, 51); font-size: 10px; line-height: 8px; padding: 8px 5px; position: absolute; right: -10px; text-align: center; top: -7px; }
.causes .progress-item .progress { background-color: rgb(239, 239, 239); border-bottom: 1px solid rgb(211, 211, 211); box-shadow: none; height: 15px; }
.causes .thumb { position: relative; overflow: hidden; }
.causes .thumb img { transition: 500ms; }
.causes:hover .thumb img { transform: scale(1.1); }
.btn-default { color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); border-color: rgb(204, 204, 204); }
.btn-default:focus, .btn-default.focus { color: rgb(51, 51, 51); background-color: rgb(230, 230, 230); border-color: rgb(140, 140, 140); }
.btn-default:hover { color: rgb(51, 51, 51); background-color: rgb(230, 230, 230); border-color: rgb(173, 173, 173); }
.btn-default:active, .btn-default.active { color: rgb(51, 51, 51); background-color: rgb(230, 230, 230); border-color: rgb(173, 173, 173); }
.btn-default:active:hover, .btn-default.active:hover, .btn-default:active:focus, .btn-default.active:focus, .btn-default:active.focus, .btn-default.active.focus { color: rgb(51, 51, 51); background-color: rgb(212, 212, 212); border-color: rgb(140, 140, 140); }
.btn-default:active, .btn-default.active { background-image: none; }
.btn-default:hover { background-color: rgb(238, 238, 238); border-color: rgb(238, 238, 238); }
.btn-dark { color: rgb(255, 255, 255); background-color: rgb(34, 34, 34); border-color: rgb(34, 34, 34); }
.btn-dark:focus, .btn-dark.focus { color: rgb(255, 255, 255); background-color: rgb(9, 9, 9); border-color: rgb(0, 0, 0); }
.btn-dark:hover { color: rgb(255, 255, 255); background-color: rgb(9, 9, 9); border-color: rgb(4, 4, 4); }
.btn-dark:active, .btn-dark.active { color: rgb(255, 255, 255); background-color: rgb(9, 9, 9); border-color: rgb(4, 4, 4); }
.btn-dark:active:hover, .btn-dark.active:hover, .btn-dark:active:focus, .btn-dark.active:focus, .btn-dark:active.focus, .btn-dark.active.focus { color: rgb(255, 255, 255); background-color: rgb(0, 0, 0); border-color: rgb(0, 0, 0); }
.btn-dark:active, .btn-dark.active { background-image: none; }
.btn-flat { border-radius: 0px; }
.btn { font-size: 13px; padding: 8px 22px; }
.btn-xs { font-size: 11px; padding: 3px 14px; }
.clients-logo .item { background: rgb(238, 238, 238); border-color: transparent; box-shadow: rgb(255, 255, 255) 0px 0px 0px 10px; margin-bottom: 30px; padding: 10px; transition: 0.3s; }
.clients-logo img { width: auto; display: inline; opacity: 0.6; }
.clients-logo img:hover { opacity: 1; }
.clients-logo.transparent .item { background: none 0px 0px repeat scroll transparent; box-shadow: none; margin-bottom: 10px; }
.funfact { transition: 0.5s; }
.funfact h2 { position: relative; }
.funfact h2::after { bottom: 0px; }
.icon-box { margin-bottom: 30px; }
.icon-box.left { text-align: left; }
.progress-item { margin-top: 20px; }
.progress-item .progress { background-color: rgb(248, 248, 248); box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 1px inset; border-radius: 0px; height: 14px; margin-bottom: 15px; overflow: visible; }
.progress-item .progress-bar { font-size: 11px; padding-left: 10px; position: relative; text-align: left; width: 0px; line-height: 14px; transition: 1s; }
.progress-item .progress-bar .percent { background-color: rgb(255, 87, 34); border-radius: 0px 7px 7px 0px; padding: 0px 8px; position: absolute; right: -10px; top: 0px; }
.section-title { margin-bottom: 30px; }
.styled-icons a { color: rgb(51, 51, 51); font-size: 18px; height: 32px; line-height: 32px; width: 32px; float: left; margin: 5px 7px 5px 0px; text-align: center; transition: 0.3s ease-in-out; }
.styled-icons a:hover { color: rgb(102, 102, 102); }
.styled-icons.icon-dark a { background-color: rgb(51, 51, 51); color: rgb(238, 238, 238); display: block; font-size: 18px; height: 36px; line-height: 36px; width: 36px; }
.styled-icons.icon-dark a:hover { color: rgb(94, 94, 94); }
.styled-icons.icon-circled a { border-radius: 50%; }
.styled-icons.icon-sm a { font-size: 13px; height: 30px; line-height: 30px; margin: 2px 7px 2px 0px; width: 30px; }
.styled-icons li { display: inline-block; margin-bottom: 0px; margin-top: 0px; }
.widget .list-border li { border-bottom: 1px dashed rgb(211, 211, 211); }
.widget.dark .list-border li { border-bottom: 1px dashed rgb(64, 64, 64); }
.widget { margin-bottom: 30px; }
.widget .widget-title { margin-top: 0px; margin-bottom: 20px; }
.widget ul li { margin-bottom: 5px; padding-bottom: 5px; }
.widget ul.list li, .widget .post { margin-bottom: 8px; padding-bottom: 8px; }
.widget .styled-icons li { margin-bottom: 0px; padding-bottom: 0px; }
.widget .styled-icons li a { margin-bottom: 0px; }
.widget.dark .widget-title { color: rgb(255, 255, 255); }
.widget.dark .widget-title.line-bottom { border-bottom: 1px solid rgb(68, 68, 68); }
.widget.no-border ul li { border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; padding-bottom: 0px; margin-bottom: 0px; }
.footer { background: rgb(250, 250, 250); }
.footer a { color: rgb(128, 128, 128); }
.footer a:focus, .footer a:hover, .footer a:active { color: rgb(102, 102, 102); }
.footer .widget .widget-title { margin-top: 0px; }

/* ---- from custom-bootstrap-margin-padding.css ---- */
.m-0 { margin: 0px !important; }
.p-5 { padding: 5px !important; }
.mt-0 { margin-top: 0px !important; }
.mt-5 { margin-top: 5px !important; }
.mb-0 { margin-bottom: 0px !important; }
.pr-10 { padding-right: 10px !important; }
.pl-10 { padding-left: 10px !important; }
@media (max-width: 991px) {
.mt-sm-10 { margin-top: 10px !important; }
.mb-sm-10 { margin-bottom: 10px !important; }
}

/* ================================================================
   2. Site styles
   ================================================================ */
.funfact .animate-number::before {
  content: "$";
  margin-right: .15em;
}
/* Homepage donation card; all rules stay scoped to this section. */
#donate {
  padding: 72px 0 80px;
  background: #edf2f6;
}
#donate .home-donate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
#donate .home-donate-copy h2 { margin: 0 0 24px; font-size: 38px; line-height: 1.2; color: #0b2340; }
#donate .home-donate-copy p { max-width: 30em; margin: 0 0 18px; color: #243341; font-size: 17px; line-height: 1.7; }
#donate .home-gift {
  min-width: 0;
  padding: 32px 36px 28px;
  background: #fff;
  border: 1px solid #cfd7de;
  border-top: 4px solid #0b2340;
}
#donate .home-gift h3 { font: 700 20px/1.3 'Open Sans', sans-serif; margin: 0 0 22px; color: #0b2340; }
#donate .home-gift > .donation-error, #donate .home-gift > .donation-status { margin: 0 0 20px; }
#donate label, #donate .donation-label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
#donate .donation-note { margin: 20px 0 16px; }
#donate label span { font-weight: 400; color: #666; }
#donate .donation-note input {
  height: 52px;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
#donate .preset-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
#donate fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#donate legend { border: 0; padding: 0; }
#donate .preset-option { position: relative; margin: 0; cursor: pointer; }
#donate .preset-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
#donate .preset-option span { display: block; background: #fff; border-color: #0b2340; color: #0b2340; }
#donate .preset-option:hover span { background: #eef2f5; }
#donate .preset-option input:checked + span { background: #0b2340 !important; border-color: #0b2340 !important; color: #fff; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #0b2340; }
#donate .preset-option input:focus-visible + span { outline: 3px solid #0b2340; outline-offset: 3px; }
#donate .donation-status { padding: 12px; background: #eef2f5; border-radius: 6px; }
#donate .donation-cause { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; padding: 8px 12px; background: #eef2f5; color: #0b2340; border-radius: 6px; }
#donate .donation-cause[hidden] { display: none; }
#donate .donation-cause span { min-width: 0; overflow-wrap: anywhere; }
#donate .donation-cause a { display: inline-flex; align-items: center; min-height: 44px; color: #0b2340; text-decoration: underline; flex-shrink: 0; }
#donate .donation-cause a:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }
#donate .donation-checkout-note { margin: 12px 0 0; text-align: center; font-size: 13px; color: #666; }
#donate .btn {
  min-height: 52px;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
}
#donate .custom-donation-full {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e7e7e7;
}
#donate .custom-donation-input { position: relative; min-width: 0; }
#donate .custom-donation-input span {
  position: absolute;
  top: 13px;
  left: 14px;
  font-size: 18px;
  color: #666;
}
#donate .custom-input {
  height: 52px;
  padding: 12px 14px 12px 30px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
#donate .custom-btn { width: 100%; white-space: nowrap; background: #0b2340; border-color: #0b2340; color: #fff; }
#donate .custom-btn:hover:not(:disabled), #donate .custom-btn:focus-visible:not(:disabled), #donate .custom-btn:active:not(:disabled) { background: #071a31; border-color: #071a31; }
#donate .custom-btn:disabled { background: #737f8b; border-color: #737f8b; opacity: 1; }
#donate .donation-error { margin: 10px 0 0; color: #a51919; font-size: 14px; }
#donate [hidden] { display: none; }
#donate .btn:focus-visible, #donate .form-control:focus-visible {
  outline: 3px solid #333 !important;
  outline-offset: 3px;
}
@media (max-width: 991px) {
  #donate { padding: 56px 0 64px; }
  #donate .home-donate-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  #donate { padding: 44px 0 52px; }
  #donate .home-gift { padding: 24px 22px; }
  #donate .home-donate-copy h2 { font-size: 28px; }
  #donate .preset-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Shared help row under both donation forms. */
[data-donation-flow] .donation-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #cfd7de;
  color: #58697c;
  font: 400 13px/1.5 'Open Sans', sans-serif;
  text-align: center;
}
[data-donation-flow] .donation-help-links { display: inline-flex; align-items: center; gap: 10px; }
[data-donation-flow] .donation-help a { display: inline-flex; align-items: center; min-height: 44px; color: #0b2340; text-decoration: underline; }
[data-donation-flow] .donation-help a:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }
/* Keep donation actions consistent with the navy Stripe checkout button. */

/* Homepage hero donation button. */
.home-hero .hero-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b2340;
  border-color: #0b2340;
  color: #fff !important;
  min-height: 48px;
  margin: 0;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  transition: background-color .2s ease, border-color .2s ease;
}

/* Hover state */
.home-hero .hero-donate:hover,
.home-hero .hero-donate:focus-visible {
  background: #071a31;
  border-color: #071a31;
}
.home-hero .hero-donate:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }

/* ==========================================================================
   Homepage rhythm: shared section spacing, titles and content widths.
   ========================================================================== */
section > .container { padding-top: 60px; padding-bottom: 60px; }
#donate > .container { padding-top: 0; padding-bottom: 0; }
.section-title { margin-bottom: 36px; }
.section-title h2 { font-size: 32px; line-height: 1.25; margin-bottom: 4px; }
.section-title p { max-width: 42em; margin: 14px auto 0; font-size: 15px; }
@media (max-width: 767px) {
  section > .container { padding-top: 44px; padding-bottom: 44px; }
  .section-title { margin-bottom: 26px; }
  .section-title h2 { font-size: 26px; }
}

/* About: logo beside the welcome text; no empty grid columns. */
.about-section > .container { padding-top: 56px; padding-bottom: 56px; }
.about-row { display: flex; align-items: center; flex-wrap: wrap; }
.about-row::before, .about-row::after { display: none; }
.about-logo { max-width: 250px; margin: 0 auto; }
.about-logo img { display: block; width: 100%; height: auto; }
.about-details h2 { font-size: 34px; line-height: 1.2; margin-bottom: 6px; }
.about-details h3 { font-size: 22px; line-height: 1.3; margin-bottom: 18px; }
.about-details p { font-size: 15px; line-height: 1.75; max-width: 64em; }
.about-details p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .about-section > .container { padding-top: 40px; padding-bottom: 44px; }
  .about-row > [class*="col-"] { flex: 0 0 100%; width: 100%; }
  .about-logo { max-width: 170px; margin-bottom: 22px; }
  .about-details h2, .about-details h3 { text-align: center; }
  .about-details h2 { font-size: 28px; }
  .about-details h3 { font-size: 20px; }
}

/* Fundraisers: equal-height cards with aligned figures and buttons. */
.fundraisers-section .native-carousel { padding-bottom: 4px; }
.fundraiser-carousel > .item { display: flex; }
.fund-card { display: flex; flex-direction: column; width: 100%; max-width: none; margin: 0; background: #fff; border: 1px solid #e3e7eb; border-radius: 6px; overflow: hidden; }
.fund-thumb { aspect-ratio: 4 / 3; background: #eef2f5; }
.fund-thumb picture, .fund-thumb img { display: block; width: 100%; height: 100%; }
.fund-thumb img { object-fit: cover; }
.fund-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 22px; }
.fund-title { margin: 0 0 12px; font-size: 17px; line-height: 1.3; color: #0b2340; }
.fund-figures { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.fund-figures div { display: flex; align-items: baseline; gap: 6px; }
.fund-figures dt { font-weight: 400; color: #555; font-size: 14px; }
.fund-figures dd { margin: 0; font-size: 20px; font-weight: 700; color: #A8232F; }
.fund-card .progress-item { margin: 0; }
.fund-text { flex: 1 1 auto; margin: 16px 0 18px; font-size: 14px; line-height: 1.7; }
.fund-donate { align-self: flex-start; min-height: 44px; padding: 10px 20px; font-size: 15px; font-weight: 700; border-radius: 4px; background: #fff; border: 2px solid #0b2340; color: #0b2340; }
.fund-donate:hover, .fund-donate:focus, .fund-donate:active { background: #0b2340; border-color: #0b2340; color: #fff; }
.fund-donate:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }
.fund-donate .icon { margin-right: 6px; }
.fund-actions { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.fund-copy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 12px; border: 1px solid #ccd5dd; border-radius: 4px; background: #fff; color: #0b2340; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.fund-copy:hover { border-color: #0b2340; background: #edf2f6; }
.fund-copy:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }
.fund-copy svg { flex-shrink: 0; }
.fund-share-fallback { flex-basis: 100%; min-width: 0; }
.fund-share-fallback label { display: block; margin: 0 0 5px; font-size: 13px; }
.fund-share-fallback input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #ccd5dd; border-radius: 4px; font-size: 16px; color: #0b2340; }
@media (min-width: 750px) { .fund-title { min-height: 2.6em; } }
@media (max-width: 749px) {
  /* One card per view: let each card take its own height instead of the tallest card's. */
  .fundraiser-carousel { align-items: flex-start; }
  .fund-text { flex: 0 0 auto; }
  .fund-body { padding: 16px 18px 18px; }
  .fund-donate { align-self: stretch; }
}

/* Impact figures: navy band in the shared header language. */
.impact-band { background: #0b2340; color: #fff; }
.impact-band > .container { padding-top: 44px; padding-bottom: 36px; }
.impact-band .funfact h2 { font-size: 44px; line-height: 1.1; letter-spacing: .01em; }
.impact-band .funfact h5 { margin: 6px 0 0; font-size: 13px; letter-spacing: .14em; }
@media (max-width: 767px) { .impact-band .funfact { padding: 10px 0; } .impact-band .funfact h2 { font-size: 36px; } }

/* Mission: one row of four, no empty events column. */
.mission-section > .container { padding-top: 48px; padding-bottom: 40px; }
.mission-section h3 { font-size: 22px; margin-bottom: 26px; }
.mission-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mission-list .icon-box { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; background: #FFFFFF; border: 1px solid #CFD7DE; border-radius: 4px; }
.mission-list .media-left { padding: 0; display: block; }
.mission-list .icon-box .icon { display: block; font-size: 30px; line-height: 1; color: #A8232F !important; }
.mission-list h4 { margin: 0; line-height: 1.35; color: #0B2340; }
@media (max-width: 991px) { .mission-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .mission-list { grid-template-columns: 1fr; } }

/* Board search: hidden until JavaScript enables it; filters cards in place. */
.board-search { max-width: 560px; margin: -8px auto 28px; }
.board-search[hidden] { display: none; }
.board-search label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #0b2340; }
.board-search-field { display: flex; align-items: stretch; border: 2px solid #cfd7de; border-radius: 4px; background: #fff; transition: border-color .15s ease; }
.board-search-field:focus-within { border-color: #0b2340; }
.board-search-input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px; border: 0; border-radius: 4px 0 0 4px; background: transparent; font-size: 16px; color: #333; box-shadow: none; -webkit-appearance: none; appearance: none; }
.board-search-input::-webkit-search-cancel-button, .board-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.board-search-input::placeholder { color: #767f88; opacity: 1; }
.board-search-input:focus { outline: none; }
.board-search-field:focus-within { box-shadow: 0 0 0 3px rgba(11, 35, 64, .18); }
.board-search-clear { flex: 0 0 auto; min-width: 72px; min-height: 44px; margin: 2px; padding: 0 14px; border: 0; border-radius: 3px; background: #0b2340; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.board-search-clear:hover, .board-search-clear:focus { background: #071a31; color: #fff; }
.board-search-clear:focus-visible { outline: 3px solid #0b2340; outline-offset: 2px; }
.board-search-clear[hidden] { display: none; }
.board-search-status { min-height: 1.5em; margin: 8px 0 0; font-size: 14px; color: #555; }
.board-search-status:empty { margin-top: 0; min-height: 0; }
.board-member[hidden] { display: none !important; }
@media (max-width: 767px) {
  .board-search { margin: -4px 0 20px; max-width: none; }
  .board-search-input { height: 46px; }
  .board-search-clear { margin: 1px; }
}

/* Board roster: compact cards with visible roles; every member is always listed. */
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.board-member { background: #fff; border: 1px solid #e3e7eb; border-radius: 6px; overflow: hidden; }
.board-member:focus { outline: 3px solid #0b2340 !important; outline-offset: 2px; }
.board-photo { aspect-ratio: 1 / 1; background: #eef2f5; }
.board-photo picture, .board-photo img { display: block; width: 100%; height: 100%; }
.board-photo img { object-fit: cover; object-position: center top; }
.board-text { padding: 14px 16px 16px; }
.board-name { margin: 0 0 2px; font-family: 'Open Sans', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.3; color: #0b2340; }
.board-role { margin: 0; font-size: 13px; line-height: 1.45; color: #666; }
.board-links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.board-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; min-height: 40px; padding: 0 11px; border: 1px solid #cfd7de; border-radius: 20px; color: #0b2340; font-size: 14px; text-decoration: none; }
.board-link:hover, .board-link:focus, .board-link:active { background: #0b2340; border-color: #0b2340; color: #fff; text-decoration: none; }
.board-link:focus-visible { outline: 3px solid #0b2340; outline-offset: 2px; }
.board-link-bio span { font-size: 13px; font-weight: 600; }
.board-bio { display: none; margin-top: 28px; padding: 24px 28px; background: #fff; border-left: 4px solid #0b2340; }
.board-bio:target { display: block; }
.board-bio h3, .biography-dialog h3 { margin-top: 0; font-size: 22px; color: #0b2340; }
.board-bio-role { font-weight: 600; color: #0b2340; }
@media (max-width: 991px) {
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .board-member { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 10px 8px 8px; }
  .board-photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
  .board-text { padding: 0; }
  .board-name { font-size: 15px; }
  .board-role { font-size: 12.5px; }
  .board-links { margin-top: 6px; gap: 4px; }
  .board-link { padding: 0 9px; }
  .board-bio { padding: 18px; }
}
@media (max-width: 599px) { .board-grid { grid-template-columns: 1fr; } }

/* Gallery and sponsors share the same title treatment and spacing. */
#gallery .section-content { margin-top: -4px; }
.sponsors-section > .container { padding-top: 48px; padding-bottom: 56px; }
.sponsor-carousel .item { display: flex; align-items: center; justify-content: center; min-height: 70px; }
.sponsor-carousel .item a { display: block; }
.sponsor-carousel .item a:focus-visible { outline: 3px solid #0b2340; outline-offset: 4px; }
.clients-logo img { opacity: .8; }
.clients-logo a:hover img, .clients-logo a:focus img { opacity: 1; }

/* Footer: navy, matching the shared header and campaign bands. */
.footer-main { padding-top: 56px; padding-bottom: 20px; }
.footer-logo { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 0 18px; }
.footer-address { margin: 0 0 10px; color: #c3cfdc; }
.footer-contact { list-style: none; margin: 0 0 16px; padding: 0; }
.footer-contact li { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.footer-contact a { color: #dce5ee !important; overflow-wrap: anywhere; }
.footer-contact a:hover, .footer-contact a:focus-visible { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.footer .text-gray, .footer .list a, .footer .opening-hours li span, .footer .opening-hours .value { color: #c3cfdc; }
.footer a:hover, .footer a:focus { color: #fff; }
.footer a:focus-visible, .footer .styled-icons a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.footer .widget.dark .list-border li, .footer .widget .list-border li { border-bottom-color: rgba(255, 255, 255, .16); }
.footer-social { margin: 2px 0 0; }
.footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; float: none; margin-left: 0; line-height: 1; width: 32px; height: 32px; padding: 0; border: 1px solid #8fa1b5; background: transparent; color: #eef3f8; }
.footer .footer-social .icon { display: block; width: 16px; height: 16px; }
.footer .footer-social a:hover, .footer .footer-social a:focus-visible { border-color: #fff; background: #eef3f8; color: #0b2340; }
.footer .list-border { margin: 0; padding: 0; }
.footer .widget .list-border li { margin: 0; padding: 8px 0 !important; line-height: 24px; }
.footer-bottom { background: #071a31; }
.footer-bottom .container { padding-top: 14px; padding-bottom: 14px; }
.footer-bottom p { color: #8fa1b5; }
.scrollToTop { background: rgba(11, 35, 64, .85); border-radius: 4px; color: #fff; }
.scrollToTop:hover, .scrollToTop:focus { background: #0b2340; }
.scrollToTop:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) { .footer-main { padding-top: 40px; } .footer-logo { max-width: 240px; } }

/* Palette pass: navy section titles with a short red rule, navy progress and buttons,
   muted-red roles, framed sponsor logos, centred final roster row. */
.section-title h2, .section-title h2 .text-theme-colored { color: #0b2340 !important; }
.section-title h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0; background: #a8232f; }
.fund-card .progress-bar { background: #0b2340 !important; }
.fund-donate { background: #0b2340; color: #fff; }
.fund-donate:hover, .fund-donate:focus, .fund-donate:active { background: #071a31; border-color: #071a31; }
.board-role { color: #a8232f; font-weight: 600; }
.board-member { border-color: transparent; box-shadow: 0 2px 10px rgba(7, 26, 49, .08); }
.board-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.board-grid > .board-member { flex: 0 0 calc((100% - 60px) / 4); }
@media (max-width: 991px) { .board-grid > .board-member { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 767px) { .board-grid > .board-member { flex-basis: calc((100% - 8px) / 2); } }
@media (max-width: 599px) { .board-grid > .board-member { flex-basis: 100%; } }
.sponsor-carousel .item a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 96px; padding: 14px 20px; background: #fff; border: 1px solid #cfd7de; border-radius: 4px; }
/* Progress percentage: plain navy label under the end of the fill instead of the theme's boxed pill. */
.fundraisers-section .fund-card .progress-item .progress { position: relative; height: 10px; margin: 0 0 26px; border: 0; border-radius: 5px; background: #e6ebf0; box-shadow: none; overflow: visible; }
.fundraisers-section .fund-card .progress-item .progress-bar { position: relative; height: 10px; padding: 0; border-radius: 5px; }
.fundraisers-section .fund-card .progress-item .progress-bar .percent { position: absolute; top: calc(100% + 6px); right: 0; left: auto; padding: 0; background: none !important; border: 0 !important; border-radius: 0; color: #0b2340; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; }
.fundraisers-section .fund-card .fund-text { margin-top: 30px; }
.sponsors-section .sponsor-carousel .item img { width: auto; max-width: 100%; height: auto; max-height: 56px; object-fit: contain; }
/* Four wider sponsor slots per view so wide wordmark logos stay legible. */
@media (min-width: 960px) { .sponsors-section .sponsor-carousel { --items: 4; } }

/* Inline SVG icons (hoah_icon) sized like the icon-font glyphs they replaced. */
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -.15em; }
.styled-icons a .icon, .site-nav-icon .icon { width: 1.15em; height: 1.15em; vertical-align: middle; }
.board-link .icon { width: 16px; height: 16px; }
.footer-contact .icon { flex-shrink: 0; width: 20px; height: 20px; margin: 0; color: #eef3f8 !important; }
.scrollToTop .icon { width: 32px; height: 32px; margin-top: 7px; }
.impact-band .funfact .icon { display: block; width: 40px; height: 40px; margin: 0 auto 8px; opacity: .85; }

/* ================================================================
   3. Theme accent colour rules
   ================================================================ */

/* ---- from theme-skin-red.css ---- */
.text-theme-colored { color: rgb(168, 35, 47) !important; }
.bg-theme-colored { background-color: rgb(168, 35, 47) !important; }
.progress-item .progress-bar .percent { background: rgb(168, 35, 47); }
.causes .progress-item .progress-bar .percent { border-color: rgb(168, 35, 47) !important; }
.widget .tags a:hover, .progress-item .progress-bar, .widget.dark .tags a:hover, .line-bottom::after, .line-bottom::before, .line-bottom-center::after, .line-bottom-center::before { background: rgb(168, 35, 47); }
.site-nav .site-menu > li.active > a, .site-nav .site-menu > li:hover > a, .site-nav .site-menu ul.dropdown li:hover > a { background: rgb(168, 35, 47); color: rgb(255, 255, 255); }
.widget .line-bottom::after { border: 1px solid rgb(168, 35, 47); }
.btn-dark.btn-theme-colored { color: rgb(255, 255, 255); background-color: rgb(168, 35, 47); border-color: rgb(168, 35, 47); }
.btn-dark.btn-theme-colored:focus, .btn-dark.btn-theme-colored.focus { color: rgb(255, 255, 255); background-color: rgb(140, 29, 39); border-color: rgb(123, 9, 29); }
.btn-dark.btn-theme-colored:hover { color: rgb(255, 255, 255); background-color: rgb(140, 29, 39); border-color: rgb(185, 14, 43); }
.btn-dark.btn-theme-colored:active, .btn-dark.btn-theme-colored.active { color: rgb(255, 255, 255); background-color: rgb(140, 29, 39); border-color: rgb(185, 14, 43); }
.btn-dark.btn-theme-colored:active:hover, .btn-dark.btn-theme-colored.active:hover, .btn-dark.btn-theme-colored:active:focus, .btn-dark.btn-theme-colored.active:focus, .btn-dark.btn-theme-colored:active.focus, .btn-dark.btn-theme-colored.active.focus { color: rgb(255, 255, 255); background-color: rgb(162, 12, 37); border-color: rgb(123, 9, 29); }
.btn-dark.btn-theme-colored:active, .btn-dark.btn-theme-colored.active { background-image: none; }
.btn-theme-colored { color: rgb(255, 255, 255); background-color: rgb(168, 35, 47); border-color: rgb(168, 35, 47); }
.btn-theme-colored:focus, .btn-theme-colored.focus { color: rgb(255, 255, 255); background-color: rgb(140, 29, 39); border-color: rgb(123, 9, 29); }
.btn-theme-colored:hover { color: rgb(255, 255, 255); background-color: rgb(140, 29, 39); border-color: rgb(185, 14, 43); }
.btn-theme-colored:active, .btn-theme-colored.active { color: rgb(255, 255, 255); background-color: rgb(140, 29, 39); border-color: rgb(185, 14, 43); }
.btn-theme-colored:active:hover, .btn-theme-colored.active:hover, .btn-theme-colored:active:focus, .btn-theme-colored.active:focus, .btn-theme-colored:active.focus, .btn-theme-colored.active.focus { color: rgb(255, 255, 255); background-color: rgb(162, 12, 37); border-color: rgb(123, 9, 29); }
.btn-theme-colored:active, .btn-theme-colored.active { background-image: none; }
.icon-theme-colored a { color: rgb(168, 35, 47); }
.icon-theme-colored.icon-dark a { background-color: rgb(168, 35, 47); color: rgb(255, 255, 255); }
.icon-theme-colored.icon-dark a:hover { background-color: rgb(140, 29, 39); color: rgb(230, 230, 230); }
.icon-theme-colored a:hover { color: rgb(140, 29, 39); }

/* ================================================================
   4. Components: header, hero, carousels, dialogs, focus
   ================================================================ */
/* Native replacements for the theme's JavaScript widgets. Layout/theme CSS is retained. */
body { overflow-x: clip; }
.header { position: sticky; top: calc(-1 * var(--header-strip-height, 0px)); z-index: 1000; }
section[id] { scroll-margin-top: calc(var(--nav-height, 72px) + 8px); }
.site-nav, .site-nav * { box-sizing: border-box; }
.site-nav { display: flow-root; width: 100%; position: relative; font-family: 'Open Sans', sans-serif; }
.site-brand { margin: 18px 30px 0 0; float: left; color: #666; font-size: 24px; font-weight: 600; line-height: 1.3; }
.site-menu { float: right; margin: 0; padding: 0; list-style: none; }
.site-menu > li { display: inline-block; float: left; padding: 18px 0; }
.site-menu > li > a { display: inline-block; padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; line-height: 1.42857143; color: #333; }
/* The theme disables outlines with !important, so visible focus rings must be marked the same way. */
.site-menu a:focus-visible, .site-brand:focus-visible, .nav-toggle:focus-visible { outline: 3px solid #0b2340; outline-offset: 2px; }
.nav-toggle { display: none; float: right; width: 60px; height: 46px; padding: 13px 0 0; margin: 0; border: 0; background: transparent; cursor: pointer; }
.nav-toggle em { display: block; width: 20px; height: 3px; margin: 3.5px 20px 0; background: #666; }
.nav-toggle[hidden] { display: none; }
#footer { background-image: url('../images/footer-bg.png'); background-color: #0b2340; background-blend-mode: soft-light; }
.scrollToTop.is-visible { display: block; }
@media (max-width: 991px) {
  .site-brand { margin: 8px 30px 10px 20px; max-width: calc(100% - 50px); font-size: 20px; line-height: 1.55; }
  .nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .site-menu { clear: both; width: 100%; float: none; max-height: min(400px, 65dvh); overflow-y: auto; background: #fff; }
  .nav-ready .site-menu { display: none; }
  .nav-ready .site-nav.is-open .site-menu { display: block; }
  .site-menu > li { display: block; width: 100%; padding: 0; }
  .site-menu > li > a { display: block; width: 100%; padding: 12px 20px; border-radius: 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
  .site-menu > li:first-child > a { border-top: 1px solid #f0f0f0; }
}
/* Shared foundation header: navy contact strip and compact mobile controls. */
.header {
  --header-navy: #0b2340;
  --header-navy-deep: #071a31;
  --header-red: #a8232f;
  --header-rule: #cfd7de;
  --header-focus: #a8232f;
  --header-font: "Open Sans", Arial, sans-serif;
}
.header .header-top.bg-theme-colored { background: var(--header-navy) !important; }
.header .header-top .icon-theme-colored a { background: transparent; }
.header .header-top .btn.bg-light { background: #fff !important; color: var(--header-navy); font-weight: 700; }
.header .header-nav-wrapper { background: #fff !important; border-bottom: 1px solid var(--header-rule); }
.header .site-menu > li > a { color: var(--header-navy); border-radius: 0; }
.header .site-menu > li.active > a,
.header .site-menu > li:hover > a { background: transparent; color: var(--header-red); box-shadow: inset 0 -2px 0 var(--header-red); }
.header .site-menu > li > a:focus-visible, .header .header-top a:focus-visible { outline: 3px solid var(--header-focus); outline-offset: 2px; }
.header .header-top a:focus-visible { outline-color: #fff; }
.header .site-nav .nav-toggle em { background: var(--header-navy); }
.header .site-brand-compact, .header .site-nav-icon, .header .site-nav-donate { display: none; }
/* Keep the wide logo and full navigation on one row at small desktop widths. */
@media (min-width: 992px) and (max-width: 1199px) {
  .header .site-brand { margin-right: 16px; }
  .header .site-brand img { max-height: 30px; }
  .header .site-menu > li > a { padding: 8px 10px; }
}

/* Phones and tablets share one compact row with the brand, contact icons, Donate and Menu. */
@media (max-width: 991px) {
  .header .header-top { display: none; }

  .header .site-nav { display: flex; align-items: center; flex-wrap: wrap; min-height: 56px; padding: 0; }
  .header .site-nav .site-brand { order: 1; flex: 0 1 auto; min-width: 0; display: flex; align-items: center; margin: 0 12px 0 0; padding: 6px 0; }
  .header .site-nav .site-brand > img, .header .site-nav .site-brand > picture { display: none; }
  .header .site-nav .site-brand:focus-visible { outline: 3px solid var(--header-focus); outline-offset: 2px; }
  .header .site-brand-compact { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .header .site-brand-compact img { width: 36px; height: 36px; flex: 0 0 36px; }
  .header .site-brand-compact span { font: 700 12px/1.2 var(--header-font); color: var(--header-navy); max-width: 10.5em; }
  .header .site-nav .site-menu { order: 2; display: flex; margin-left: auto; float: none; }
  .header .site-nav .site-menu > li { float: none; padding: 0; }
  .header .site-nav .site-menu > li > a { padding: 8px 10px; font-size: 13px; }
  /* Facebook and phone: bold solid glyphs, nothing drawn around them, with clear air between the tap targets. */
  .header .site-nav-icon { order: 3; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 44px; margin: 0 0 0 8px; border-radius: 4px; color: var(--header-navy); text-decoration: none; }
  .header .site-nav-icon .icon { width: 20px; height: 20px; }
  .header .site-nav-icon:hover, .header .site-nav-icon:focus { color: var(--header-red); text-decoration: none; }
  .header .site-nav-icon:focus-visible { outline: 3px solid var(--header-focus); outline-offset: -2px; }
  .header .site-nav .site-menu { margin-right: 4px; }
  .header .site-nav-donate { order: 4; display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 0 10px; padding: 0 12px; border-radius: 2px; background: var(--header-navy); color: #fff; font: 600 13px/1 var(--header-font); text-decoration: none; white-space: nowrap; }
  .header .site-nav-donate:hover, .header .site-nav-donate:focus { background: var(--header-navy-deep); color: #fff; text-decoration: none; }
  .header .site-nav-donate:focus-visible { outline: 3px solid var(--header-navy); outline-offset: 2px; }
}

/* Phones read "Donate" in the header; the hero's full-width Donate Now sits directly below, and the
   shorter label keeps the wordmark on two lines beside the round contact buttons. */
@media (max-width: 479px) {
  .header .site-nav-donate-now { display: none; }
}
@media (max-width: 420px) {
  .header .site-brand-compact span { font-size: 11px; max-width: none; }
  .header .site-nav-icon { margin-left: 6px; }
  .header .site-nav-icon .icon { width: 19px; height: 19px; }
  .header .site-nav-donate { margin-left: 8px; }
}
/* Narrow phones (iPhone SE and mini included): tighten the control cluster so the wordmark keeps two or three lines. */
@media (max-width: 389px) {
  .header .site-nav-icon { width: 36px; margin-left: 4px; }
  .header .site-nav-icon .icon { width: 18px; height: 18px; }
  .header .site-nav-donate { margin-left: 6px; padding: 0 10px; }
  .header .site-brand-compact { gap: 6px; }
  .header .site-brand-compact img { width: 32px; height: 32px; flex-basis: 32px; }
  .header .site-brand-compact span { font-size: 10px; }
}

/* Collapse navigation through the tablet breakpoint, including the homepage's longer menu. */
@media (max-width: 991px) {
  .header .site-nav .site-brand { flex: 1 1 0; margin-right: 8px; }
  .header .site-nav .nav-toggle { order: 5; float: none; flex-shrink: 0; width: 48px; height: 48px; margin: 0 -8px 0 6px; padding: 0; }
  .header .site-nav .nav-toggle:focus-visible { outline: 3px solid var(--header-focus); outline-offset: -3px; }
  .header .site-nav .nav-toggle em { width: 22px; flex: 0 0 3px; margin: 0; }
  /* The native toggle manages visibility; without JavaScript links remain available. */
  .header .site-nav .site-menu { order: 6; flex: 1 1 100%; margin: 0; display: block; }
  .nav-ready .header .site-nav .site-menu { display: none; }
  .nav-ready .header .site-nav.is-open .site-menu { display: block; }
  .header .site-nav .site-menu > li { width: 100%; }
  .header .site-nav .site-menu > li > a { width: 100%; padding: 12px 20px; font-size: 14px; display: block; }
}

/* <picture> wrappers for the WebP copies generate no box, so flex items, floats and absolute
   positioning keep applying to the <img> exactly as before. */
.hero-slide > picture, .gallery-item .thumb picture, .sponsor-carousel .item picture, .site-brand > picture, .about-logo picture, .footer-main picture { display: contents; }

/* Homepage hero: three photographic slides, each with one calm caption panel. */
.home-hero { position: relative; height: clamp(520px, 46vw, 680px); overflow: hidden; background: #0b2340; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
/* The image overflows the top so the scroll drift never exposes the background. */
.hero-image { position: absolute; left: 0; top: -100px; width: 100%; height: calc(100% + 100px); object-fit: cover; object-position: center; transform: translateY(var(--hero-drift, 0px)); }
.hero-image-last { object-position: center 30%; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 35, 64, .05) 0%, rgba(11, 35, 64, .38) 100%); pointer-events: none; }
.hero-caption-wrap { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; padding-bottom: 72px; }
.hero-caption-wrap > .container { width: 100%; }
.hero-caption { max-width: 560px; padding: 30px 34px 32px; border-left: 5px solid #a8232f; border-radius: 4px; background: rgba(255, 255, 255, .94); color: #333; box-shadow: 0 14px 40px rgba(7, 26, 49, .28); font-family: 'Open Sans', sans-serif; }
.hero-caption p { margin: 0; }
.hero-kicker { margin-bottom: 8px !important; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a8232f; }
.hero-title { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #0b2340; }
.hero-subtitle { margin-top: 10px !important; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.3; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a8232f; }
.hero-description { margin-top: 14px !important; max-width: 32em; font-size: 17px; line-height: 1.6; color: #444; }
.hero-caption .hero-donate { margin-top: 22px; }
.hero-caption-center { margin: 0 auto; border-left: 0; border-top: 5px solid #a8232f; text-align: center; }
.hero-caption-center .hero-description { margin-left: auto; margin-right: auto; }
.hero-caption-right { margin-left: auto; border-left: 0; border-right: 5px solid #a8232f; text-align: right; }
.hero-caption-right .hero-description { margin-left: auto; }
.hero-controls { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; padding: 3px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(11,35,64,.88); }
.hero-controls[hidden] { display: none; }
.hero-controls button { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; cursor: pointer; transition: background-color .2s ease; }
.hero-controls button:hover { background: rgba(255,255,255,.15); }
.hero-controls button:focus-visible { outline: 2px solid white; outline-offset: -3px; }
.hero-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-dots { display: flex; }
.hero-dots button::before { content: ''; width: 8px; height: 8px; border: 1.5px solid white; border-radius: 50%; }
.hero-dots button[aria-pressed="true"]::before { background: white; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.hero-controls .hero-pause { margin-left: 4px; position: relative; }
.hero-pause::before { content: ''; position: absolute; left: -3px; height: 20px; width: 1px; background: rgba(255,255,255,.3); }
.hero-pause .icon-play, .hero-pause[data-paused="true"] .icon-pause { display: none; }
.hero-pause[data-paused="true"] .icon-play { display: block; }
@media (max-width: 991px) {
  .hero-caption { max-width: 520px; padding: 24px 26px 26px; }
  .hero-description { font-size: 16px; }
}
@media (max-width: 767px) {
  .home-hero { height: min(600px, 140vw); }
  .hero-caption-wrap { align-items: flex-end; padding-bottom: 82px; }
  .hero-caption, .hero-caption-center, .hero-caption-right { max-width: none; margin: 0; padding: 20px 20px 22px; text-align: left; border: 0; border-left: 5px solid #a8232f; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-subtitle { font-size: 15px; }
  .hero-kicker { font-size: 13px; }
  .hero-description { margin-top: 10px !important; font-size: 15px; line-height: 1.55; }
  .hero-caption .hero-donate { margin-top: 16px; width: 100%; }
}
/* Scroll snap gives touch, trackpad, keyboard and no-JS scrolling without clones. */
.carousel-shell { position: relative; }
/* position: relative keeps absolutely positioned descendants (visually hidden labels) inside the scroller's clip. */
.native-carousel { --items: 1; position: relative; display: flex; gap: 15px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.native-carousel::-webkit-scrollbar { display: none; }
.native-carousel > .item { flex: 0 0 calc((100% - (var(--items) - 1) * 15px) / var(--items)); min-width: 0; scroll-snap-align: start; }
.native-carousel > .item img { display: block; width: 100%; }
.native-carousel:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }
.carousel-controls { position: absolute; right: 0; bottom: -28px; display: flex; gap: 4px; }
.carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #0b2340; font-size: 22px; cursor: pointer; }
.carousel-controls button:hover { background: #e2e7ec; }
.carousel-controls button:focus-visible { outline: 3px solid #0b2340; }
.carousel-controls .carousel-pause { font-size: 14px; }
@media (min-width: 600px) { .sponsor-carousel { --items: 2; } }
@media (min-width: 750px) { .fundraiser-carousel { --items: 2; } .sponsor-carousel { --items: 3; } }
@media (min-width: 960px) { .sponsor-carousel { --items: 4; } }
@media (min-width: 1170px) { .fundraiser-carousel { --items: 3; } .sponsor-carousel { --items: 6; } }
/* Keep the legacy nested sponsor container inside both narrower Bootstrap grids. */
@media (min-width: 768px) and (max-width: 1199px) { #sponsors .container .container { max-width: 100%; } }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid::before, .photo-grid::after { display: none; }
.photo-grid.grid-4 > .gallery-item { width: auto !important; }
.photo-grid .thumb { cursor: zoom-in; }
.photo-grid .gallery-item:focus-within .icons-holder { top: 50%; }
.photo-grid [data-gallery]:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.photo-grid .gallery-item:focus-within .icons-holder .icons-holder-inner a { opacity: 1; }
@media (max-width: 991px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Phones: one primary photo with a preview of the next; native scroll snap, no autoplay. */
.gallery-controls[hidden] { display: none; }
@media (max-width: 767px) {
  .photo-grid { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .photo-grid::-webkit-scrollbar { display: none; }
  /* Trailing spacer lets the last photo snap to the start like the others. */
  .photo-grid::after { content: ""; display: block; flex: 0 0 calc(14% - 10px); }
  .photo-grid > .gallery-item { flex: 0 0 86%; min-width: 0; scroll-snap-align: start; }
  .photo-grid:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }
  .gallery-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
  .gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid #0b2340; border-radius: 50%; background: #fff; color: #0b2340; cursor: pointer; }
  .gallery-controls button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .gallery-controls button:hover { background: #0b2340; color: #fff; }
  .gallery-controls button[aria-disabled="true"] { opacity: .35; cursor: default; background: #fff; color: #0b2340; }
  .gallery-controls button:focus-visible { outline: 3px solid #0b2340; outline-offset: 3px; }
  .gallery-position { min-width: 7.5em; margin: 0; text-align: center; font-size: 14px; font-weight: 600; color: #0b2340; }
}
@media (min-width: 768px) { .gallery-controls { display: none; } }
/* Native modal focus containment, Escape handling and inert page background. */
.site-dialog { position: fixed; inset: 0; margin: auto; padding: 48px 24px 24px; width: min(700px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 6px; color: #555; background: #fff; box-shadow: 0 20px 80px #0006; }
.site-dialog::backdrop { background: rgba(0,0,0,.8); }
.site-dialog button { border: 0; cursor: pointer; }
.site-dialog [hidden] { display: none; }
.dialog-close { position: absolute; top: 4px; right: 6px; width: 44px; height: 44px; font-size: 30px; background: transparent; color: inherit; }
.site-dialog button:focus-visible { outline: 3px solid #0b2340; outline-offset: -3px; }
.site-dialog h3 { margin-top: 0; }
body.dialog-open { overflow: hidden; }
.photo-dialog { width: min(1024px, calc(100% - 24px)); padding: 48px 12px 12px; text-align: center; background: #111; color: #fff; }
.photo-dialog img { display: block; margin: auto; max-width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; }
.photo-dialog-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 8px; }
.photo-dialog-nav button { width: 44px; height: 44px; font-size: 28px; background: transparent; color: white; }
.photo-dialog button:focus-visible { outline-color: white; }
.native-progress-ready { transform: scaleX(0); transform-origin: left; }
.native-progress-ready.is-inview { transform: scaleX(1); transition: transform 1.2s ease; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-image, .hero-controls button, .native-progress-ready.is-inview { transition: none; }
  .hero-image { transform: none; }
  .home-hero .hero-donate:hover { transform: none; }
  .photo-grid .gallery-item:hover .thumb img { transform: none; }
}

/* Shared donation status, using the Miles To Home confirmation design. */
.mth-skip-link { position: absolute; left: 16px; top: -200px; z-index: 10000; padding: 12px 18px; background: #0b2340; color: #fff; font: 600 14px/1.4 'Open Sans', Arial, sans-serif; }
.mth-skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }
.donation-confirmation { padding: 64px 0 80px; background: #eef2f5; min-height: 60vh; font: 400 16px/1.7 'Open Sans', Arial, sans-serif; color: #1f2d3a; }
.donation-confirmation:focus { outline: none; }
.donation-confirmation > .container { padding-top: 0; padding-bottom: 0; }
.donation-confirmation-card { max-width: 680px; margin: 0 auto; padding: clamp(24px, 5vw, 48px); background: #fff; border-top: 4px solid #0b2340; overflow-wrap: anywhere; }
.donation-confirmation p { margin: 0 0 1em; }
.donation-confirmation-label { font-size: 14px; font-weight: 600; color: #0b2340; }
.donation-confirmation h1 { margin: 8px 0 24px; font: 700 46px/1.02 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; letter-spacing: .005em; color: #0b2340; max-width: 14em; }
.donation-details { margin: 24px 0; padding: 20px 0; border-top: 1px solid #cfd7de; border-bottom: 1px solid #cfd7de; }
.donation-details > div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.donation-details > div:last-child { margin-bottom: 0; }
.donation-details dt { font-weight: 400; }
.donation-details dd { min-width: 0; margin: 0; font-weight: 600; color: #0b2340; text-align: right; }
.donation-details > .donation-details-note { flex-direction: column; gap: 4px; }
.donation-details-note dd { text-align: left; white-space: pre-wrap; }
.donation-confirmation-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.donation-confirmation a { color: #0b2340; text-decoration: underline; text-underline-offset: 3px; }
.donation-confirmation a:hover { color: #a8232f; }
.donation-confirmation :focus-visible { outline: 3px solid #a8232f; outline-offset: 3px; }
.donation-confirmation .donation-status-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 2px solid #0b2340; border-radius: 2px; font: 600 15px/1.3 'Open Sans', Arial, sans-serif; text-align: center; text-decoration: none; background: #0b2340; color: #fff; }
.donation-confirmation .donation-status-button:hover { background: #071a31; border-color: #071a31; color: #fff; }
.donation-confirmation .donation-status-button-outline { background: transparent; color: #0b2340; }
.donation-confirmation .donation-status-button-outline:hover { background: #0b2340; color: #fff; }
.donation-confirmation .donation-confirmation-help { margin-top: 12px; font-size: 14px; color: #566573; }
@media (max-width: 767px) {
  .donation-confirmation { font-size: 15px; }
  .donation-confirmation h1 { font-size: 34px; }
  .donation-confirmation-actions { gap: 10px; }
  .donation-confirmation .donation-status-button { flex: 1 1 100%; }
}

/* ================================================================
   5. Miles To Home (scoped campaign styles)
   ================================================================ */

/* Miles To Home: event page styles.
   Everything is scoped under .mth-page so the rest of the foundation site is untouched. */

.mth-page {
  --mth-navy: #0b2340;
  --mth-navy-deep: #071a31;
  --mth-red: #a8232f;
  --mth-ink: #1f2d3a;
  --mth-muted: #566573;
  --mth-pale: #eef2f5;
  --mth-rule: #cfd7de;
  --mth-focus: #a8232f;
  --mth-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --mth-body: "Open Sans", Arial, sans-serif;
  --mth-road: repeating-linear-gradient(90deg, var(--mth-navy) 0 36px, transparent 36px 60px);
}


/* ---------- Base ---------- */
.mth-page .main-content { overflow: visible; }
.mth-page .mth-main { font: 400 16px/1.7 var(--mth-body); color: var(--mth-ink); }
.mth-page .mth-main:focus { outline: none; }
.mth-page .mth-main p { margin: 0 0 1em; }
.mth-page .mth-main a { color: var(--mth-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mth-page .mth-main a:hover { color: var(--mth-red); }
/* Keep campaign focus indicators visible across all control states. */
.mth-page .mth-main :focus-visible { outline: 3px solid var(--mth-focus) !important; outline-offset: 3px; }
.mth-page .mth-main section { scroll-margin-top: 96px; }
.mth-page .mth-main section > .container { padding-top: 0; padding-bottom: 0; }

.mth-page .mth-display { font-family: var(--mth-display); font-weight: 700; letter-spacing: .005em; color: var(--mth-navy); }
.mth-page .mth-main h1, .mth-page .mth-main h2, .mth-page .mth-main h3 { margin: 0; color: var(--mth-navy); }
.mth-page .mth-h2 { font-size: 46px; line-height: 1.02; margin: 0 0 18px; max-width: 14em; }

/* Buttons */
.mth-page .mth-btn, .mth-page .mth-main .mth-btn { text-decoration: none; }
.mth-page .mth-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: 2px; font: 600 15px/1.3 var(--mth-body); text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.mth-page .mth-main .mth-btn-primary { background: var(--mth-navy); border-color: var(--mth-navy); color: #fff; }
.mth-page .mth-main .mth-btn-primary:hover, .mth-page .mth-main .mth-btn-primary:focus-visible { background: var(--mth-navy-deep); border-color: var(--mth-navy-deep); color: #fff; }
.mth-page .mth-main .mth-btn-outline { background: transparent; border-color: var(--mth-navy); color: var(--mth-navy); }
.mth-page .mth-main .mth-btn-outline:hover, .mth-page .mth-main .mth-btn-outline:focus-visible { background: var(--mth-navy); color: #fff; }
.mth-page .mth-main .mth-btn-white { background: #fff; border-color: #fff; color: var(--mth-navy); }
.mth-page .mth-main .mth-btn-white:hover, .mth-page .mth-main .mth-btn-white:focus-visible { background: var(--mth-pale); border-color: var(--mth-pale); color: var(--mth-navy); }

/* Draft note */
.mth-page .mth-draft-note { margin: 0; padding: 9px 0; background: var(--mth-pale); color: var(--mth-navy); font-size: 13px; line-height: 1.5; border-bottom: 1px solid var(--mth-rule); }
.mth-page .mth-draft-note .container { display: block; }

/* ---------- Hero ---------- */
.mth-page .mth-hero { padding: 56px 0 64px; }
.mth-page .mth-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.mth-page .mth-hero-when { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 26px; font-size: 15px; color: var(--mth-muted); }
.mth-page .mth-hero-when time { color: var(--mth-red); font-weight: 700; }
.mth-page .mth-hero h1 { font-size: clamp(56px, 7vw, 96px); line-height: .92; text-transform: uppercase; margin: 0 0 18px; }
.mth-page .mth-slogan { font-size: 32px; font-weight: 600; line-height: 1.12; max-width: 18em; margin: 0 0 20px; }
.mth-page .mth-lead { font-size: 18px; line-height: 1.6; max-width: 32em; margin-bottom: 30px; }
.mth-page .mth-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.mth-page .mth-hero-art { margin: 0; }
.mth-page .mth-hero-art img { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 0 0 auto; }

/* One orchestrated entrance: the headline lines, then the rest. */
@media (prefers-reduced-motion: no-preference) {
  .mth-page .mth-hero h1, .mth-page .mth-slogan, .mth-page .mth-lead, .mth-page .mth-actions, .mth-page .mth-hero-when { animation: mth-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .mth-page .mth-hero-when { animation-delay: 0s; }
  .mth-page .mth-hero h1 { animation-delay: .08s; }
  .mth-page .mth-slogan { animation-delay: .2s; }
  .mth-page .mth-lead { animation-delay: .3s; }
  .mth-page .mth-actions { animation-delay: .38s; }
}
@keyframes mth-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Goal band ---------- */
.mth-page .mth-goal { background: var(--mth-navy); color: #fff; padding: 44px 0 48px; }
.mth-page .mth-goal-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; }
.mth-page .mth-goal .mth-goal-label { font: 600 15px/1.4 var(--mth-body); color: #fff; margin: 0 0 4px; }
.mth-page .mth-goal-amount { margin: 0; }
.mth-page .mth-goal-amount .mth-display { font-size: 92px; line-height: 1; color: #fff; letter-spacing: -.005em; }
.mth-page .mth-goal-text { margin: 0; max-width: 30em; font-size: 16px; line-height: 1.6; color: #d9e1ea; }
.mth-page .mth-mark { margin: 0; font-family: var(--mth-display); font-weight: 600; font-size: 28px; letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.mth-page .mth-mark i { font-style: normal; color: var(--mth-red); margin: 0 .35em; font-size: .7em; position: relative; top: -.1em; }

/* ---------- About + the two paths ---------- */
.mth-page .mth-about { padding: 72px 0 80px; }
.mth-page .mth-about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 72px; align-items: center; }
.mth-page .mth-about-copy p { font-size: 17px; line-height: 1.7; max-width: 36em; }
.mth-page .mth-about-copy p:last-child { margin-bottom: 0; }

.mth-page .mth-paths { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; margin-top: 56px; padding-top: 48px; }
.mth-page .mth-paths::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mth-road); }
.mth-page .mth-path { position: relative; }
.mth-page .mth-path + .mth-path { padding-left: 72px; border-left: 1px solid var(--mth-rule); margin-left: -72px; }
.mth-page .mth-path h3 { font-size: 40px; line-height: 1; margin: 0 0 14px; }
.mth-page .mth-path p { font-size: 16px; max-width: 30em; margin-bottom: 22px; }

/* ---------- Donate ---------- */
.mth-page .mth-donate { background: var(--mth-pale); padding: 72px 0 80px; }
.mth-page .mth-donate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
.mth-page .mth-donate-copy p { max-width: 30em; }

.mth-page .mth-gift { background: #fff; border: 1px solid var(--mth-rule); border-top: 4px solid var(--mth-navy); padding: 32px 36px 28px; }
.mth-page .mth-gift h3 { font: 700 20px/1.3 var(--mth-body); margin: 0 0 22px; }

.mth-page .mth-amounts { margin: 0; padding: 0; border: 0; min-width: 0; }
.mth-page .mth-amount-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mth-page .mth-amounts legend { grid-column: 1 / -1; width: auto; margin: 0 0 8px; padding: 0; border: 0; font: 600 14px/1.4 var(--mth-body); color: var(--mth-ink); }
.mth-page .mth-amount { position: relative; display: block; margin: 0; cursor: pointer; font-weight: 400; }
.mth-page .mth-amount input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mth-page .mth-amount span { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 2px solid var(--mth-rule); border-radius: 2px; background: #fff; font-size: 26px; font-weight: 600; line-height: 1; color: var(--mth-navy); transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
.mth-page .mth-amount:hover span { border-color: var(--mth-navy); }
.mth-page .mth-amount input:checked + span { background: var(--mth-navy); border-color: var(--mth-navy); color: #fff; }
.mth-page .mth-amount input:focus-visible + span { outline: 3px solid var(--mth-focus) !important; outline-offset: 3px; }

.mth-page .mth-custom { margin-top: 22px; }
.mth-page .mth-custom label { display: block; margin: 0 0 8px; font: 600 14px/1.4 var(--mth-body); color: var(--mth-ink); }
.mth-page .mth-custom-field { display: flex; align-items: stretch; border: 2px solid var(--mth-rule); border-radius: 2px; background: #fff; transition: border-color .12s ease; }
.mth-page .mth-custom-field:focus-within { border-color: var(--mth-navy); }
.mth-page .mth-custom-prefix { display: flex; align-items: center; padding: 0 14px; border-right: 2px solid var(--mth-rule); font-family: var(--mth-display); font-size: 24px; font-weight: 600; color: var(--mth-navy); background: var(--mth-pale); }
.mth-page .mth-custom-field input { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: 0; background: transparent; font-family: var(--mth-display); font-size: 26px; font-weight: 600; color: var(--mth-navy); box-shadow: none; }
.mth-page .mth-custom-field input::placeholder { color: #9aa7b3; font-weight: 500; }
.mth-page .mth-custom-field input:focus { outline: none; }
.mth-page .mth-hint { margin: 8px 0 0; font-size: 13px; color: var(--mth-muted); }
.mth-page .mth-error { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--mth-red); }
.mth-page .mth-error[hidden] { display: none; }

.mth-page .mth-gift-summary { margin: 22px 0 14px; padding-top: 18px; border-top: 1px solid var(--mth-rule); font-size: 16px; font-weight: 600; color: var(--mth-navy); }
.mth-page .mth-btn-checkout { width: 100%; background: var(--mth-navy); border-color: var(--mth-navy); color: #fff; }
.mth-page .mth-btn-checkout:hover:not(:disabled), .mth-page .mth-btn-checkout:focus-visible:not(:disabled) { background: var(--mth-navy-deep); border-color: var(--mth-navy-deep); }
.mth-page .mth-btn-checkout[disabled] { background: #737f8b; border-color: #737f8b; cursor: not-allowed; opacity: 1; }
.mth-page .mth-checkout-note { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--mth-muted); }

/* ---------- Join band ---------- */
.mth-page .mth-join { background: var(--mth-navy); color: #fff; padding: 72px 0 80px; }
.mth-page .mth-join .mth-h2, .mth-page .mth-join a:not(.mth-btn) { color: #fff; }
.mth-page .mth-join :focus-visible { outline-color: #fff !important; }
.mth-page .mth-join-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.mth-page .mth-join-copy p { max-width: 32em; font-size: 17px; line-height: 1.65; color: #e3e9f0; }
.mth-page .mth-join-copy .mth-btn { margin-top: 10px; }
.mth-page .mth-ways { list-style: none; margin: 0; padding: 0 0 0 48px; border-left: 1px solid rgba(255, 255, 255, .25); text-transform: uppercase; font-size: 104px; line-height: .9; color: #fff; }
.mth-page .mth-ways li:nth-child(2) { color: #e0606b; }

/* ---------- FAQ ---------- */
.mth-page .mth-faq { padding: 72px 0 88px; }
.mth-page .mth-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.mth-page .mth-faq-list details:first-child summary { padding-top: 12px; }
.mth-page .mth-faq-intro p { max-width: 24em; color: var(--mth-muted); }
.mth-page .mth-faq-list { border-top: 1px solid var(--mth-rule); }
.mth-page .mth-faq-list details { border-bottom: 1px solid var(--mth-rule); }
.mth-page .mth-faq-list summary { position: relative; list-style: none; padding: 20px 44px 20px 0; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--mth-navy); }
.mth-page .mth-faq-list summary::-webkit-details-marker { display: none; }
.mth-page .mth-faq-list summary::before,
.mth-page .mth-faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--mth-navy); transition: transform .2s ease; }
.mth-page .mth-faq-list summary::after { transform: rotate(90deg); }
.mth-page .mth-faq-list details[open] summary::after { transform: rotate(0); }
.mth-page .mth-faq-list summary:hover { color: var(--mth-red); }
.mth-page .mth-faq-answer { padding: 0 44px 22px 0; }
.mth-page .mth-faq-answer p { margin: 0; font-size: 16px; color: var(--mth-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .mth-page .mth-goal-amount .mth-display { font-size: 76px; }
  .mth-page .mth-ways { font-size: 88px; }
  .mth-page .mth-h2 { font-size: 40px; }
}

@media (max-width: 991px) {
  .mth-page .mth-hero { padding: 48px 0 56px; }
  .mth-page .mth-hero-grid { gap: 32px; }
  .mth-page .mth-hero-art img { max-width: 320px; }
  .mth-page .mth-slogan { font-size: 26px; }
  .mth-page .mth-goal-grid { grid-template-columns: auto minmax(0, 1fr); }
  .mth-page .mth-mark { grid-column: 1 / -1; font-size: 24px; }
  .mth-page .mth-about-grid, .mth-page .mth-donate-grid, .mth-page .mth-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mth-page .mth-paths { gap: 0 40px; }
  .mth-page .mth-path + .mth-path { padding-left: 40px; margin-left: -40px; }
  .mth-page .mth-join-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 32px 40px; }
  .mth-page .mth-ways { font-size: 72px; padding-left: 32px; }
  .mth-page .mth-about, .mth-page .mth-donate, .mth-page .mth-join, .mth-page .mth-faq { padding: 56px 0 64px; }
}

@media (max-width: 767px) {
  .mth-page .mth-main { font-size: 15px; }
  .mth-page .mth-draft-note { font-size: 12px; }

  .mth-page .mth-hero { padding: 24px 0 44px; }
  .mth-page .mth-hero-grid {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "art when" "title title" "slogan slogan" "actions actions" "lead lead";
    gap: 16px 18px;
    align-items: center;
  }
  .mth-page .mth-hero-copy { display: contents; }
  .mth-page .mth-hero-art { grid-area: art; }
  .mth-page .mth-hero-art img { max-width: 104px; margin: 0; }
  .mth-page .mth-hero-when { grid-area: when; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; margin: 0; }
  .mth-page .mth-hero-when time { font-size: 17px; }
  .mth-page .mth-hero h1 { grid-area: title; font-size: clamp(52px, 15vw, 68px); margin: 6px 0 0; }
  .mth-page .mth-slogan { grid-area: slogan; font-size: 24px; margin: 0; }
  .mth-page .mth-slogan span { display: block; }
  .mth-page .mth-actions { grid-area: actions; gap: 10px; }
  .mth-page .mth-actions .mth-btn { flex: 1 1 100%; }
  .mth-page .mth-lead { grid-area: lead; font-size: 16px; margin: 4px 0 0; }

  .mth-page .mth-goal { padding: 36px 0 40px; }
  .mth-page .mth-goal-grid { grid-template-columns: 1fr; gap: 16px; }
  .mth-page .mth-goal-amount .mth-display { font-size: 68px; }
  .mth-page .mth-goal-text { font-size: 15px; }
  .mth-page .mth-mark { font-size: 22px; }

  .mth-page .mth-h2 { font-size: 34px; }
  .mth-page .mth-about, .mth-page .mth-donate, .mth-page .mth-join, .mth-page .mth-faq { padding: 44px 0 52px; }
  .mth-page .mth-about-copy p { font-size: 16px; }
  .mth-page .mth-paths { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; padding-top: 40px; }
  .mth-page .mth-path + .mth-path { padding-left: 0; margin-left: 0; border-left: 0; padding-top: 36px; border-top: 1px solid var(--mth-rule); }
  .mth-page .mth-path h3 { font-size: 34px; }
  .mth-page .mth-path .mth-btn { width: 100%; }

  .mth-page .mth-gift { padding: 22px 18px 20px; margin: 0 -15px; border-left: 0; border-right: 0; }
  .mth-page .mth-amount-grid { gap: 8px; }
  .mth-page .mth-amount span { min-height: 52px; font-size: 23px; }
  .mth-page .mth-custom-field input { font-size: 23px; height: 50px; }

  .mth-page .mth-join-grid { grid-template-columns: 1fr; gap: 32px; }
  .mth-page .mth-join-copy .mth-btn { width: 100%; }
  .mth-page .mth-ways { display: flex; gap: 0 20px; flex-wrap: wrap; padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 52px; }

  .mth-page .mth-faq-list summary { font-size: 16px; padding: 16px 40px 16px 0; }
  .mth-page .mth-faq-answer { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mth-page .mth-main *, .mth-page .mth-main *::before, .mth-page .mth-main *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Donation office selection. */
.mth-page .mth-office { margin-top: 24px; }
.mth-page .mth-office label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.mth-page .mth-required { font-weight: 400; color: var(--mth-muted); }
.mth-page .mth-office select { display: block; width: 100%; min-height: 52px; padding: 12px; border: 2px solid var(--mth-rule); border-radius: 2px; background: #fff; color: var(--mth-navy); font: 400 16px/1.4 var(--mth-body); }
.mth-page .mth-office select:focus { outline: 3px solid var(--mth-focus); outline-offset: 2px; }
.mth-page .mth-office select[aria-invalid="true"], .mth-page .mth-custom-field:has(input[aria-invalid="true"]) { border-color: var(--mth-red); }
.mth-page .mth-form-message { padding: 14px; margin: 0 0 22px; background: var(--mth-pale); border-left: 3px solid var(--mth-navy); font-size: 14px; }
/* ---------- Standalone campaign sharing ---------- */
.mth-page .mth-share { padding: 44px 0 0; background: #fff; }
.mth-page .mth-share-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px 72px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--mth-rule); }
.mth-page .mth-share-copy h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.1; }
.mth-page .mth-share-copy p { margin: 0; max-width: 31em; color: var(--mth-muted); font-size: 15px; line-height: 1.6; }
.mth-page .mth-share-tools { min-width: 0; }
.mth-page .mth-share-tools label { display: block; margin: 0 0 8px; color: var(--mth-navy); font: 600 14px/1.4 var(--mth-body); }
.mth-page .mth-share-tools label span { font-weight: 400; color: var(--mth-muted); }
.mth-page .mth-share-row { display: flex; gap: 10px; }
.mth-page .mth-share-row select { flex: 1; min-width: 0; min-height: 50px; padding: 10px 12px; border: 1px solid var(--mth-rule); border-radius: 2px; background: #fff; color: var(--mth-navy); font: 400 16px/1.4 var(--mth-body); }
.mth-page .mth-share-row .mth-btn { flex: 0 0 auto; min-width: 136px; min-height: 50px; gap: 9px; padding: 10px 16px; font-size: 15px; }
.mth-page .mth-share-row svg { flex: 0 0 auto; }
.mth-page .mth-share-row select:focus-visible, .mth-page .mth-share-fallback input:focus-visible { outline: 3px solid var(--mth-focus); outline-offset: 2px; }
.mth-page .mth-share-status { min-height: 1.5em; margin: 6px 0 0; color: var(--mth-muted); font-size: 13px; line-height: 1.5; }
.mth-page .mth-share-fallback { margin-top: 10px; }
.mth-page .mth-share-fallback input { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--mth-rule); border-radius: 2px; background: var(--mth-pale); color: var(--mth-navy); font: 400 16px/1.4 var(--mth-body); }
.mth-page .mth-share [hidden] { display: none; }
@media (max-width: 991px) {
  .mth-page .mth-share-inner { gap: 24px 32px; }
}
@media (max-width: 767px) {
  .mth-page .mth-share { padding-top: 32px; }
  .mth-page .mth-share-inner { grid-template-columns: 1fr; gap: 22px; padding-bottom: 26px; }
  .mth-page .mth-share-copy h2 { font-size: 30px; }
  .mth-page .mth-share-row { gap: 8px; }
  .mth-page .mth-share-row .mth-btn { min-width: 114px; padding: 10px 12px; font-size: 14px; }
  .mth-page .mth-share-row select { padding-left: 8px; }
}

/* ---------- Progress: the route home ----------
   Campaign and office totals share one server-side snapshot. The road fills to the true
   percentage with a stroke offset; marker positions are sampled on the server. */
.mth-page .mth-progress { padding: 48px 0 40px; }
.mth-page .mth-progress .mth-goal-grid { padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.18); }
.mth-page .mth-journey { padding-top: 28px; }
.mth-page .mth-journey-figures { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin: 0 0 6px; }
.mth-page .mth-journey-figures p { margin: 0; color: #fff; }
.mth-page .mth-progress-raised, .mth-page .mth-progress-percent { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.mth-page .mth-progress-percent { justify-content: flex-end; text-align: right; }
.mth-page .mth-journey-figures .mth-display { color: #fff; font-size: 52px; line-height: 1; letter-spacing: -.005em; font-variant-numeric: tabular-nums; }
.mth-page .mth-progress-percent .mth-display { font-size: 40px; }
.mth-page .mth-journey-figures span { color: #c3cfdc; font-size: 15px; line-height: 1.4; }
.mth-page .mth-progress-unavailable { font-size: 18px; font-weight: 600; }

.mth-page .mth-route-stage { position: relative; }
.mth-page .mth-route { position: relative; width: 100%; aspect-ratio: var(--mth-route-ratio); }
.mth-page .mth-route-narrow { display: none; }
.mth-page .mth-route svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mth-page .mth-route-road { stroke: rgba(255,255,255,.17); stroke-width: 10; stroke-linecap: round; }
.mth-page .mth-route-dashes { stroke: rgba(255,255,255,.42); stroke-width: 1.5; stroke-dasharray: 9 11; }
.mth-page .mth-route-fill { stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: var(--mth-route-offset); }
.mth-page .mth-route > span { position: absolute; transform: translate(-50%, -50%); }
.mth-page .mth-route-start { width: 4px; height: 22px; border-radius: 2px; background: #fff; }
.mth-page .mth-route-post { width: 12px; height: 12px; border-radius: 50%; background: var(--mth-navy); border: 2px solid rgba(255,255,255,.7); }
.mth-page .mth-route-post.is-reached { background: #fff; border-color: #fff; box-shadow: 0 0 0 3px var(--mth-navy); }
.mth-page .mth-route-post b, .mth-page .mth-route-home b { position: absolute; left: 50%; bottom: calc(100% + 11px); transform: translateX(-50%); padding: 0 1px; color: #c3cfdc; font: 600 13px/1 var(--mth-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mth-page .mth-route-post.is-reached b { color: #fff; }
.mth-page .mth-route-home { width: 16px; height: 16px; }
.mth-page .mth-route .mth-route-house { position: absolute; left: 50%; bottom: 6px; width: 46px; height: 42px; transform: translateX(-50%); fill: rgba(255,255,255,.92); }
.mth-page .mth-route-door { fill: var(--mth-navy); }
.mth-page .mth-route-home b { top: calc(100% + 10px); bottom: auto; color: #fff; font-family: var(--mth-display); font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.mth-page .mth-route-home.is-reached .mth-route-house { fill: #fff; }
.mth-page .mth-route-home.is-reached .mth-route-door { fill: var(--mth-red); }
.mth-page .mth-route-walker { width: 34px; height: 34px; border-radius: 50%; background: var(--mth-red); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); color: #fff; }
.mth-page .mth-route-walker svg { position: absolute; inset: 50% auto auto 50%; width: calc(100% - 8px); height: calc(100% - 8px); transform: translate(-50%, -50%); }
/* One orchestrated moment: when the band is first seen, the road fills, then the marker arrives. */
@media (prefers-reduced-motion: no-preference) {
  .mth-page .mth-route-stage.is-inview .mth-route-fill { animation: mth-route-draw 1.5s cubic-bezier(.3, .6, .2, 1) both; }
  .mth-page .mth-route-stage.is-inview .mth-route-walker { animation: mth-route-arrive .45s cubic-bezier(.2, .8, .3, 1.3) 1.2s both; }
  .mth-page .mth-route-stage.is-inview .mth-route-post.is-reached { animation: mth-route-arrive .35s ease-out 1.1s both; }
  .mth-page .mth-route-stage.is-inview .mth-route-home.is-reached .mth-route-house { animation: mth-route-home .5s cubic-bezier(.2, .8, .3, 1.2) 1.3s both; }
}
@keyframes mth-route-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: var(--mth-route-offset); } }
@keyframes mth-route-home { from { transform: translateX(-50%) scale(.85); } to { transform: translateX(-50%) scale(1); } }
@keyframes mth-route-arrive { from { opacity: 0; transform: translate(-50%, -50%) scale(.3); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.mth-page .mth-progress-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-top: 8px; color: #c3cfdc; font-size: 13px; line-height: 1.55; }
.mth-page .mth-progress-meta p { margin: 0; }
.mth-page .mth-main .mth-progress-note { margin: 12px 0 0; color: #c3cfdc; font-size: 13px; line-height: 1.6; }

/* Office leaderboard: a full-width disclosure bar, collapsed by default. */
.mth-page .mth-office-progress { margin-top: 28px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; }
.mth-page .mth-office-progress summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 18px 12px 20px; list-style: none; color: #fff; cursor: pointer; border-radius: 3px; transition: background-color .15s ease; }
.mth-page .mth-office-progress summary::-webkit-details-marker { display: none; }
.mth-page .mth-office-progress summary:hover { background: rgba(255,255,255,.07); }
.mth-page .mth-office-progress summary:focus-visible { outline: 3px solid #fff !important; outline-offset: 2px; }
.mth-page .mth-office-progress[open] summary { border-bottom: 1px solid rgba(255,255,255,.2); border-radius: 3px 3px 0 0; }
.mth-page .mth-office-heading { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mth-page .mth-office-heading strong { color: #fff; font-family: var(--mth-display); font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
.mth-page .mth-office-heading span { color: #c3cfdc; font-size: 13px; line-height: 1.4; }
.mth-page .mth-office-toggle { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 8px 12px 8px 14px; border: 2px solid #fff; border-radius: 2px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.mth-page .mth-office-progress summary:hover .mth-office-toggle { background: #fff; color: var(--mth-navy); }
.mth-page .mth-office-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.mth-page .mth-office-toggle-hide, .mth-page .mth-office-progress[open] .mth-office-toggle-show { display: none; }
.mth-page .mth-office-progress[open] .mth-office-toggle-hide { display: inline; }
.mth-page .mth-office-progress[open] .mth-office-toggle svg { transform: rotate(180deg); }
.mth-page .mth-office-totals { display: grid; grid-auto-flow: column; grid-template-rows: repeat(6, auto); gap: 0 40px; list-style: none; margin: 0; padding: 10px 20px 18px; }
.mth-page .mth-office-totals li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "rank name amount" "rank bar bar"; align-items: baseline; column-gap: 10px; row-gap: 7px; padding: 13px 0 12px; border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 15px; }
.mth-page .mth-office-rank { grid-area: rank; color: #c3cfdc; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.mth-page .mth-office-name { grid-area: name; font-weight: 600; min-width: 0; }
.mth-page .mth-office-amount { grid-area: amount; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.mth-page .mth-office-bar { grid-area: bar; display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.mth-page .mth-office-bar span { display: block; height: 100%; border-radius: inherit; background: #fff; }
.mth-page .mth-office-progress .mth-progress-note { padding: 0 20px 18px; margin: 0; }

@media (max-width: 1199px) {
  .mth-page .mth-journey-figures .mth-display { font-size: 46px; }
  .mth-page .mth-progress-percent .mth-display { font-size: 34px; }
}
@media (max-width: 991px) {
  .mth-page .mth-progress .mth-goal-grid { padding-bottom: 24px; }
  .mth-page .mth-office-totals { grid-template-rows: repeat(9, auto); gap: 0 32px; }
  .mth-page .mth-progress-meta { flex-direction: column; }
}
@media (max-width: 767px) {
  .mth-page .mth-progress { padding: 36px 0 32px; }
  .mth-page .mth-journey { padding-top: 22px; }
  .mth-page .mth-route-wide { display: none; }
  .mth-page .mth-route-narrow { display: block; }
  .mth-page .mth-journey-figures { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 12px; }
  .mth-page .mth-journey-figures .mth-display { font-size: 48px; }
  .mth-page .mth-progress-percent { justify-content: flex-start; text-align: left; }
  .mth-page .mth-progress-percent .mth-display { font-size: 30px; }
  .mth-page .mth-journey-figures span { font-size: 14px; }
  .mth-page .mth-route-post b { font-size: 12px; bottom: calc(100% + 9px); }
  .mth-page .mth-route .mth-route-house { width: 40px; height: 36px; }
  .mth-page .mth-route-home b { font-size: 15px; top: calc(100% + 8px); }
  .mth-page .mth-route-walker { width: 32px; height: 32px; }
  .mth-page .mth-progress-meta { margin-top: 4px; font-size: 12px; }
  .mth-page .mth-office-progress { margin-top: 24px; }
  .mth-page .mth-office-progress summary { padding: 12px 14px 12px 16px; }
  .mth-page .mth-office-heading strong { font-size: 21px; }
  .mth-page .mth-office-heading span { font-size: 12px; }
  .mth-page .mth-office-toggle { padding: 9px 10px 9px 12px; font-size: 13px; gap: 8px; }
  .mth-page .mth-office-totals { grid-auto-flow: row; grid-template-rows: none; padding: 4px 16px 14px; }
  .mth-page .mth-office-totals li { padding: 12px 0 11px; font-size: 15px; }
  .mth-page .mth-office-progress .mth-progress-note { padding: 0 16px 16px; }
}
