/* Public interior pages: shared hierarchy, square surfaces and readable controls.
   Homepage and member administration intentionally do not carry data-public-page. */
body[data-public-page] { background:#f5f9fc; color:#183047; }
body[data-public-page] :is(h1,h2,h3) { text-wrap:balance; }
body[data-public-page] :is(p,li) { line-height:1.7; }
body[data-public-page] :is(input:not([type=checkbox]):not([type=hidden]),select,textarea) { font-size:16px; border-radius:0; }
body[data-public-page] :is(a,button,input,select,textarea,summary,[role=button]):focus-visible { outline:3px solid #237aa2; outline-offset:4px; }
body[data-public-page] :is(.page-header,.members-header,.results-header,.vault-hero) { padding-block:32px; margin-bottom:24px; background:#e8f2f9; color:#17334b; border:0; box-shadow:none; }
body[data-public-page] :is(.page-header,.members-header,.results-header,.vault-hero)::after { animation:none; }
body[data-public-page] :is(.page-header,.members-header,.results-header,.vault-hero) :is(h1,p,.vault-title,.vault-subtitle,.members-title,.members-subtitle) { color:#17334b; }
body[data-public-page] :is(.members-title,.vault-title,.page-title,.results-header h1) { font-size:clamp(30px,4vw,46px); line-height:1.15; letter-spacing:-.025em; }
body[data-public-page] :is(.detail-card,.sidebar-card,.result-card,.unit-card,.leader-card,.hof-plate,.sidecard,.dossier,.news-story,.reporting-form-card) { border-radius:0; border:1px solid #d6e2e9; box-shadow:none; }
body[data-public-page] :is(.filter-chip,.vault-pill,.vault-tag,.year-chip,.classification-badge,.filter-tab,.time-label-inline) { border-radius:0; }
body[data-public-page] :is(.filter-chip,.filter-tab,.month-navigation a) { min-height:44px; }
body[data-public-page] :is(.month-block,.event-section,.protection-content h2) { scroll-margin-top:110px; }
/* Schedule: filters and dates carry the hierarchy. */
[data-public-page=events] .page-title-wrap { margin-block:24px 16px; }
[data-public-page=events] .page-title-wrap h1 { font-size:clamp(30px,4vw,44px); }
[data-public-page=events] .schedule-hero { padding:24px; margin-block:20px; background:#e9f5f1; color:#183f37; border:1px solid #c6e0d7; box-shadow:none; }
[data-public-page=events] .schedule-hero::before,[data-public-page=events] .schedule-hero::after { display:none; }
[data-public-page=events] .hero-title { font-size:clamp(23px,3vw,32px); color:#183f37; margin-block:10px; }
[data-public-page=events] .hero-kicker { color:#245d4e; }
[data-public-page=events] .hero-sub { color:#375c53; font-size:16px; }
[data-public-page=events] .hero-actions { gap:8px; }
[data-public-page=events] .btn-hero { background:#fff; color:#244c65; border:1px solid #afc4ce; padding:10px 14px; font-weight:600; }
[data-public-page=events] .upcoming-shell { background:white; border:1px solid #c6d9d2; box-shadow:none; }
[data-public-page=events] .upcoming-link { padding:16px; }
[data-public-page=events] .upcoming-title { color:#163950; font-size:18px; font-weight:600; }
[data-public-page=events] .upcoming-meta { color:#506678; }
[data-public-page=events] .filter-tabs { gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.month-navigation { display:flex; gap:10px; flex-wrap:wrap; padding:12px 0 24px; }
.month-navigation a { display:inline-flex; align-items:center; padding:8px 14px; color:#264cb0; background:white; border:1px solid #b9cbd9; font-weight:600; }
[data-public-page=events] .month-header { background:#deedf6; color:#183b55; box-shadow:none; border:0; font-weight:700; }
[data-public-page=events] :is(.event-card,.event-list-item) { border:1px solid #d4e0e8; border-radius:0; box-shadow:none; }
/* Results and archives retain links inside native keyboard-accessible disclosures. */
.public-fold { margin:0 0 18px; border:1px solid #ccdce7; background:white; }
.public-fold > summary { display:flex; align-items:center; justify-content:space-between; gap:20px; cursor:pointer; padding:20px 24px; color:#203d58; background:#edf4fa; font-size:18px; font-weight:600; list-style:none; }
.public-fold > summary::-webkit-details-marker { display:none; }
.public-fold > summary::after { content:'+'; flex:none; font-size:25px; line-height:1; }
.public-fold[open] > summary::after { content:'\2212'; }
.public-fold > :not(summary) { margin:0; }
[data-public-page=results] .event-section { padding:20px; border:0; box-shadow:none; }
[data-public-page=results] .event-header { background:white; color:#19354d; padding:12px 0 20px; }
[data-public-page=results] .event-header h2 { font-size:21px; }
[data-public-page=results] .class-header { background:#e4f2ed; color:#204d40; padding:14px 18px; border:0; }
[data-public-page=results] .result-item { border:0; border-bottom:1px solid #e0e8ee; padding:14px 18px; box-shadow:none; }
[data-public-page=results] .result-item:nth-child(even) { background:#f3f7fa; }
[data-public-page=results] .result-stats { display:grid; grid-template-columns:repeat(2,minmax(72px,1fr)); gap:14px; }
[data-public-page=results] .result-stat { text-align:right; }
[data-public-page=results] .result-stat-value { font-variant-numeric:tabular-nums; font-size:20px; }
[data-public-page=results] .year-nav { gap:12px; flex-wrap:wrap; margin-block:0 24px; }
/* Directory: one filtering area, compact discipline controls and consistent images. */
[data-public-page=members] .members-header-visual { display:none; }
[data-public-page=members] .members-filters { padding:24px; background:white; border:1px solid #cbdde8; box-shadow:none; }
[data-public-page=members] .members-stats { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 0; }
[data-public-page=members] .stat-card { display:flex; flex:1 1 150px; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:10px 14px; background:#f1f6fa; color:#24475f; border:1px solid #c6d7e3; box-shadow:none; transform:none; }
[data-public-page=members] .stat-card::before { display:none; }
[data-public-page=members] .stat-card.active { background:#e2eee9; color:#174e3d; border-color:#3c8064; }
[data-public-page=members] .stat-card :is(.stat-icon,.stat-value,.stat-label) { margin:0; font-size:16px; color:inherit; }
[data-public-page=members] .stat-card .stat-icon { width:auto; height:auto; background:none; }
[data-public-page=members] .unit-card__image { aspect-ratio:3/2; height:auto; }
[data-public-page=members] .unit-card__image img { width:100%; height:100%; object-fit:cover; }
[data-public-page=members] .unit-card__name { font-size:22px; line-height:1.25; }
[data-public-page=members] .unit-card:hover { box-shadow:0 5px 18px #18304712; }
/* Unit and event pages: practical information first. */
[data-public-page=member_details] .unit-header { display:flex; align-items:center; gap:32px; padding:28px; background:#e8f2f9; border:0; }
[data-public-page=member_details] .unit-photo { width:clamp(180px,30vw,340px); height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:0; border:0; }
[data-public-page=member_details] .unit-name { font-size:clamp(30px,4vw,46px); }
[data-public-page=member_details] .show-section { background:white; padding:28px; border:1px solid #d0e1eb; }
[data-public-page=member_details] .unit-meta { background:#f0f5f8; padding:22px; box-shadow:none; border:0; font-size:15px; }
[data-public-page=member_details] .public-fold .year-divider { display:none; }
[data-public-page=member_details] .public-fold .results-grid { padding:20px; }
[data-public-page=member_details] .unit-tabs { flex-wrap:wrap; }
[data-public-page=event_details] .event-detail-header { padding:28px; background:#e8f2f9; color:#183b55; box-shadow:none; border:0; }
[data-public-page=event_details] .event-detail-header h1 { font-size:clamp(30px,4vw,44px); color:#183b55; }
[data-public-page=event_details] .detail-card__header { background:#eef5f9; color:#203e54; border-bottom:1px solid #d4e2eb; }
[data-public-page=event_details] .sidebar-card { background:#f1f7f9; }
[data-public-page=event_details] .event-description { max-width:75ch; font-size:17px; }
/* Editorial pages. */
.news-index { max-width:1000px; margin:32px auto; }
.news-index .news-story { padding:28px 0; margin:0; background:transparent; border:0; border-bottom:1px solid #cbdde7; }
.news-index .news-lead { padding:32px; margin-bottom:16px; background:#e7f3ef; border:1px solid #c8e0d6; }
.news-index .news-story h2 { font-size:clamp(24px,3vw,32px); margin:10px 0; }
.news-index .news-story h2 a { color:#1d3b51; }
.news-index .news-story p { max-width:75ch; font-size:18px; }
.news-read { display:inline-flex; gap:10px; align-items:center; padding-block:12px; color:#264bab; font-weight:600; }
.news-article { width:min(100% - 40px,820px); margin:40px auto 70px; }
.news-article header { padding-block:32px; border-bottom:1px solid #ccdae3; }
.news-article h1 { font-size:clamp(32px,5vw,52px); line-height:1.13; margin:14px 0 24px; }
.news-article-body { padding-top:28px; font-size:19px; line-height:1.85; overflow-wrap:anywhere; }
[data-public-page=about] .hero--about { min-height:320px; }
[data-public-page=about] .hero--about::before { background:linear-gradient(90deg,rgba(12,34,49,.85),rgba(12,34,49,.5)); }
[data-public-page=about] .hero--about :is(h1,p) { color:white; animation:none; opacity:1; }
[data-public-page=about] :is(.leader-card,.hof-plate) { background:transparent; border:0; border-bottom:1px solid #cbdce5; padding:20px; box-shadow:none; transform:none; }
[data-public-page=about] .leaders-grid { gap:8px 28px; }
[data-public-page=about] .hof-plates { background:#e7f3ef; padding:24px; }
[data-public-page=history] .vault-command { padding:22px; background:white; border:1px solid #cfdee8; box-shadow:none; }
[data-public-page=history] .vault-eyebrow { gap:12px; }
[data-public-page=history] .vault-eyebrow :is(.vault-pill,.vault-tag) { background:none; border:0; padding:0; color:#315c74; }
.archive-year-filter { display:flex; align-items:center; gap:12px; font-weight:600; }
.archive-year-filter select { padding:10px; border:1px solid #a9becd; background:white; color:#183047; min-width:140px; }
[data-public-page=history_details] .vault-hero { padding-block:28px; }
[data-public-page=history_details] .details-grid { grid-template-columns:minmax(0,3fr) minmax(230px,1fr); gap:32px; }
[data-public-page=history_details] .dossier { padding:28px; background:white; }
[data-public-page=history_details] .dossier-content { max-width:74ch; font-size:18px; line-height:1.8; }
[data-public-page=history_details] .top-media { max-width:1100px; margin:24px auto; }
[data-public-page=history_details] .top-media__img { max-height:540px; object-fit:contain; background:#e4eef4; }
/* Safety and account forms: quiet, predictable and readable. */
[data-public-page=codeOfConduct] .container-narrow { max-width:900px; }
[data-public-page=codeOfConduct] .protection-content { font-size:18px; }
[data-public-page=codeOfConduct] .protection-content h2 { margin-top:36px; }
.policy-navigation { display:flex; flex-wrap:wrap; gap:10px 20px; padding-bottom:24px; border-bottom:1px solid #cadce8; }
.policy-navigation a { display:inline-flex; align-items:center; min-height:44px; }
[data-public-page=codeOfConduct] .report-card { background:#eaf3f8; border:1px solid #c5dce9; box-shadow:none; }
[data-public-page=ProtectionReporting] .reporting-wrap { max-width:850px; }
[data-public-page=ProtectionReporting] .reporting-intro { padding:20px 0; background:transparent; border:0; box-shadow:none; }
[data-public-page=ProtectionReporting] .reporting-form-card { padding:28px; background:white; }
body[data-public-page] .btn-submit-report { background:#294db5; color:#fff; border:1px solid #294db5; font-size:17px; min-height:48px; }
body[data-public-page] :is(.login-wrapper,.register-wrapper) { padding:40px 20px 60px; background:#edf4f9; }
body[data-public-page] :is(.login-card,.register-card,.forgot-card) { width:100%; max-width:600px; margin-inline:auto; padding:32px; background:white; color:#1d3449; border:1px solid #c6d9e6; border-radius:0; box-shadow:0 8px 30px #1830470a; }
body[data-public-page] :is(.login-card,.register-card,.forgot-card)::before { display:none; }
body[data-public-page] :is(.login-card,.register-card,.forgot-card) :is(h1,h2,h3,label) { color:#203c52; }
body[data-public-page] :is(.login-card,.register-card,.forgot-card,.reporting-form-card) :is(input:not([type=checkbox]):not([type=hidden]),textarea,select) { background:#fff; color:#192f43; border:1px solid #8099ad; padding:12px; min-height:48px; }
body[data-public-page] :is(.login-card,.register-card,.forgot-card,.reporting-form-card) label { font-size:16px; font-weight:600; }
body[data-public-page] :is(.btn-login-submit,.btn-register-submit,.btn-reset) { color:white; background:#294db5; font-size:17px; min-height:48px; border-radius:0; }
@media(max-width:767px) {
 body[data-public-page] :is(.members-header,.results-header,.vault-hero,.page-header) { padding-block:24px; }
 [data-public-page=events] .schedule-hero__inner { grid-template-columns:1fr; gap:18px; }
 [data-public-page=events] .schedule-hero { padding:18px; }
 [data-public-page=members] .members-filters { padding:18px; }
 [data-public-page=member_details] .unit-header { flex-direction:column; align-items:stretch; padding:20px; gap:20px; }
 [data-public-page=member_details] .unit-photo { width:100%; max-height:350px; }
 [data-public-page=history_details] .details-grid { grid-template-columns:1fr; }
 .public-fold > summary { padding:16px; font-size:17px; }
 [data-public-page=results] .event-section { padding:12px; }
 [data-public-page=results] .result-item { padding:12px; }
 .news-index .news-lead { padding:22px; }
 body[data-public-page] :is(.login-card,.register-card,.forgot-card,.reporting-form-card) { padding:22px; }
}
@media(prefers-reduced-motion:reduce) { body[data-public-page] *,body[data-public-page] *::before,body[data-public-page] *::after { animation:none!important; scroll-behavior:auto!important; } }
[data-public-page=forgotPass] .form-submit { background:#294db5; color:white; border-radius:0; font-size:17px; min-height:48px; }
/* Retire legacy decorative effects on the interior pages. */
body[data-public-page] { --radius-sm:0px; --radius-md:0px; --radius-lg:0px; --radius-xl:0px; --radius-2xl:0px; --radius-full:0px; }
body[data-public-page] *,body[data-public-page] *::before,body[data-public-page] *::after { text-shadow:none!important; }
body[data-public-page] :is(button,a,section,article,.members-filters,.members-kicker,.entries-wrap,.upcoming-shell,.upcoming-link,.schedule-hero,.stat-card,.stats-strip,.sidebar-stat__icon,.hero-pill,.vault-command,.video-bar) { border-radius:0!important; }
body[data-public-page] :is(h1,h2,h3,h4) { font-weight:700; }
body[data-public-page] :is(.members-header,.results-header,.vault-hero) { background-image:none; }
body[data-public-page] :is(.members-header,.results-header,.vault-hero)::before { display:none; }
[data-public-page=about] .hero--about .hero-backdrop::before { opacity:1; filter:saturate(.9); }
[data-public-page=about] .hero--about .hero-backdrop::after { background:linear-gradient(90deg,rgba(10,31,47,.86),rgba(10,31,47,.64)); }
[data-public-page=about] .mission-phrase { opacity:1; animation:none; filter:none; }
[data-public-page=members] .stat-card::after { display:none; }
[data-public-page=members] .stat-card :is(.stat-card__icon,.stat-card__value,.stat-card__label) { margin:0; color:inherit; transform:none; }
[data-public-page=members] .stat-card .stat-card__icon { width:auto; height:auto; font-size:18px; background:none; box-shadow:none; }
[data-public-page=members] .stat-card .stat-card__value { font-size:19px; line-height:1.2; }
[data-public-page=members] .stat-card .stat-card__label { font-size:13px; letter-spacing:0; text-transform:none; }
[data-public-page=events] .filter-tab.active { color:white; background:#294db5; }
[data-public-page=events] .filter-tab.active .event-count { color:white; background:#ffffff24; }
[data-public-page=events] .image-credit { background:#102a40e6; color:white; padding:6px 10px; }
[data-public-page=events] .image-credit a { color:white; }
[data-public-page=results] .recap-btn { background:#294db5; color:white; border:1px solid #294db5; box-shadow:none; }
[data-public-page=results] .recap-btn:hover { background:#1d3990; color:white; }
[data-public-page=event_details] .entries-wrap { background:white; box-shadow:none; border:1px solid #d1e1eb; }
[data-public-page=event_details] .entries-empty { padding:32px 20px; }
[data-public-page=history_details] .vault-eyebrow :is(.vault-pill,.vault-tag) { background:transparent; color:#315c74; box-shadow:none; border:0; }
[data-public-page=history] .vault-search { min-width:0; flex-wrap:wrap; padding:0; }
[data-public-page=history] .vault-search input { min-width:0; flex:1 1 140px; width:100%; padding:12px; border:1px solid #aabfce; font-weight:400; }
[data-public-page=history] .vault-search > i { display:none; }
[data-public-page=history] :is(.btn-vault-solid,.filter-chip.is-active) { color:white; background:#294db5; border:1px solid #294db5; }
[data-public-page=history] :is(.history-feature,.history-card,.video-card) { background:white; color:#1e3c52; border:1px solid #ccdde7; box-shadow:none; }
[data-public-page=history] .history-feature { background:#e6f2ed; padding:28px; }
[data-public-page=history] .history-feature__badge { position:static; width:fit-content; background:#1e624a; color:white; margin-bottom:16px; }
[data-public-page=history] .history-feature::before,[data-public-page=history] .history-feature::after { display:none; }
[data-public-page=history] :is(.history-feature,.history-card) :is(h2,h3,p,.history-feature__cta,.history-card__cta) { color:#203f54; }
[data-public-page=history] .history-feature__poster { background:#d4e7e0; border:0; box-shadow:none; min-height:180px; }
[data-public-page=history] .history-feature__poster img { width:100%; height:240px; object-fit:cover; }
[data-public-page=history] .history-card__icon img { width:100%; height:100%; object-fit:cover; }
[data-public-page=history] .history-card__icon:has(img) { width:120px; height:100px; padding:0; flex:none; }
[data-public-page=history] :is(.pill,.history-pill,.video-pill) { background:transparent; color:#476174; border:0; padding:4px 0; box-shadow:none; border-radius:0; }
[data-public-page=history] .video-bar select { min-width:0!important; max-width:100%; }
[data-public-page=history_details] :is(.top-media__card,.top-media__bar) { background:#e6f0f6; box-shadow:none; border-radius:0; }
[data-public-page=ProtectionReporting] .reporting-wrap { padding-top:16px; }
[data-public-page=ProtectionReporting] .shield-icon { display:none; }
@media(max-width:767px) {
 [data-public-page=history] .history-feature { display:flex; flex-direction:column; padding:20px; gap:16px; }
 [data-public-page=history] .history-feature__right { width:100%; }
 [data-public-page=history] .history-feature__badge { margin:0; }
 [data-public-page=history] .vault-command { padding:16px; }
 [data-public-page=history] .vault-search button { flex:1 1 100%; min-height:44px; }
}
[data-public-page=member_details] .unit-tabs { background:#e3edf5; box-shadow:none; border:1px solid #c6d9e7; }
[data-public-page=member_details] .unit-tabs .nav-link { color:#25465e; background:white; min-height:48px; font-size:15px; font-weight:600; box-shadow:none; }
[data-public-page=member_details] .unit-tabs .nav-link.active { background:#294db5; color:white; }
[data-public-page=member_details] .unit-tabs .nav-link:hover { background:#d5e6f2; color:#17394f; }
[data-public-page=member_details] .classification-badge { color:#224f42; background:#dbeee5; box-shadow:none; border:1px solid #bad6c8; }
[data-public-page=member_details] .accolades-section { border:1px solid #c6ded4; background:#eaf4ef; box-shadow:none; padding:24px; }
[data-public-page=forgotPass] .forgot-container { padding:40px 20px 60px; }
@media(max-width:767px) { [data-public-page=member_details] .unit-tabs .nav-item { flex:1 1 40%; } }
/* Get Directions: the page's main action. Same treatment as the homepage "Event & schedule" button (.day-button-primary). */
[data-public-page=event_details] .btn-event-primary { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:12px 20px; font-family:inherit; font-size:.9rem; font-weight:600; letter-spacing:0; background:var(--theme-primary); color:var(--theme-on-primary); border:1px solid var(--theme-primary); box-shadow:none; text-decoration:none; transform:none; }
[data-public-page=event_details] .btn-event-primary::before { display:none; }
[data-public-page=event_details] .btn-event-primary:hover { background:var(--theme-primary-hover); border-color:var(--theme-primary-hover); color:var(--theme-on-primary); transform:translateY(-1px); box-shadow:none; }
[data-public-page=event_details] .btn-event-secondary { background:white; color:#24465e; border:1px solid #a8bfd0; box-shadow:none; }
[data-public-page=codeOfConduct] .btn-report { background:#294db5; color:white; box-shadow:none; }
@media(max-width:767px) { [data-public-page=event_details] .event-detail-actions { display:flex; flex-wrap:wrap; gap:10px; } [data-public-page=event_details] .event-detail-actions > :not(.btn-event-ghost) { flex:1 1 135px; padding:12px; font-size:15px; justify-content:center; } }
/* Show the complete unit photo, including wide group shots and logos. */
[data-public-page=members] .unit-card__image { background:#edf3f7; }
[data-public-page=members] .unit-card__image img { object-fit:contain; object-position:center; }
[data-public-page=members] .unit-card:hover .unit-card__image img { transform:none; }
[data-public-page=member_details] .unit-photo { object-fit:contain; background:#edf3f7; }
/* Contrast pairs for shared public badges. Never use page ink on a solid accent. */
body :is(.unit-type-badge,.avatar--navy,.avatar--teal,.avatar--orange,.avatar--crimson) {
 background:var(--theme-primary); color:var(--theme-on-primary); box-shadow:none;
}
body .unit-type-badge--winds,body .avatar--teal { background:var(--theme-accent); color:var(--theme-on-primary); }
body .hof-plate .hof-plate-icon { background:var(--theme-accent); color:var(--theme-on-primary); box-shadow:none; }
body :is(.card-gradient-header,.show-card__head) { background:var(--theme-primary); color:var(--theme-on-primary); }
body :is(.card-gradient-header,.show-card__head) :is(h2,h3,h4,i,span,a) { color:inherit; }
body :is(.badge--gold,.badge--orange,.badge--teal,.badge--crimson,.badge--role) {
 background:#e4edf9; color:#254787; border:1px solid #c7d6eb;
}
body .badge--teal { background:#dfefe7; color:#21533f; border-color:#bfdaca; }
body :is(.unit-type-badge,.avatar,.hof-plate-icon,.badge) > i { color:inherit; opacity:1; }
body .btn-secondary.btn-results-accent,body .btn-watch:hover { background:var(--theme-primary); color:var(--theme-on-primary); }
[data-public-page=members] .clear-filters:hover { background:var(--theme-primary); color:var(--theme-on-primary); }
/* Align every Hall of Fame trophy to the same inset, independent of name length. */
body .hof-plate { display:grid; grid-template-columns:28px minmax(0,1fr); align-items:start; justify-content:start; gap:12px; text-align:left; }
body .hof-plate .hof-plate-icon { width:28px; height:28px; margin:0; }
body .hof-plate-copy { min-width:0; text-align:left; padding-top:4px; }

/* September review: explicit contrast pairs and consistent readable controls. */
body[data-public-page] :is(button,input,select,textarea) { font-family:inherit; }
body[data-public-page] :is(.event-card-cta,.year-btn.active,.year-btn:hover,.load-more-btn) {
  background:#294db5; color:#fff; border-color:#294db5;
}
body[data-public-page] :is(.event-card-cta,.year-btn.active,.year-btn:hover,.load-more-btn) :is(i,span) { color:inherit; }
body[data-public-page] .year-nav .dropdown > .year-btn { background:#294db5; color:#fff; }
body[data-public-page] .event-type-pill { background:#e5edf9; color:#254787; border:1px solid #bccce6; }
body[data-public-page] .event-type-guard { background:#e0f0e9; color:#205642; border-color:#aecfbe; }
body[data-public-page] .event-type-perc { background:#eae5f5; color:#51406d; border-color:#cbbfdf; }
body[data-public-page] .event-type-champs { background:#fff0d2; color:#654a16; border-color:#dec799; }
[data-public-page=events] .event-title { white-space:normal; overflow:visible; text-overflow:clip; line-height:1.4; }
[data-public-page=history] .history-feature { grid-template-columns:minmax(0,1fr) minmax(180px,280px); align-items:center; gap:28px; }
[data-public-page=history] .history-feature__left { padding-top:0; }
[data-public-page=history] .history-feature__badge { display:inline-block; height:auto; align-self:start; padding:6px 10px; font-size:13px; }
[data-public-page=history] .vault-eyebrow { display:flex; flex-wrap:wrap; align-items:center; }
[data-public-page=ProtectionReporting] textarea.form-control { min-height:180px; resize:vertical; line-height:1.6; }
[data-public-page=results] .public-fold .event-header h2,
[data-public-page=results] .public-fold .event-header .event-date { display:none; }
[data-public-page=results] .public-fold .event-header { padding:0 0 12px; }
[data-public-page=results] .result-unit { min-width:0; flex:1; }
[data-public-page=results] .result-unit a { overflow-wrap:break-word; }
[data-public-page=codeOfConduct] .policy-navigation a:not(.btn-report) { padding:8px 2px; background:none; border:0; border-bottom:2px solid transparent; }
@media(max-width:767px) {
 [data-public-page=history] .history-feature { gap:20px; }
 [data-public-page=results] .event-section { padding:8px; }
 [data-public-page=results] .result-item { display:flex; flex-wrap:nowrap; align-items:center; gap:10px; padding:12px 8px; }
 [data-public-page=results] .result-unit { font-size:16px; }
 [data-public-page=results] .result-stats { flex:none; grid-template-columns:repeat(2,52px); gap:6px; }
 [data-public-page=results] .result-stat-value { font-size:17px; }
}

/* Shared title pairing, matching the homepage: Outfit + italic Georgia. */
:root { --public-title-font: 'Outfit', sans-serif; --public-accent-font: Georgia, 'Times New Roman', serif; }
body .public-title { display:block; font-family:var(--public-title-font); font-size:clamp(30px,4.2vw,56px); font-weight:600; line-height:1.08; letter-spacing:-.04em; margin:0 0 22px; text-align:left; overflow-wrap:break-word; }
/* One-line title: bold words + green italic accent word(s), e.g. "Our <em>Mission</em>" */
body .public-title > span { display:inline; font-family:inherit; color:inherit; }
body .public-title > em { display:inline; font-family:var(--public-accent-font); font-style:italic; font-weight:400; letter-spacing:-.03em; color:#0f715b; }
/* Name titles (event, unit, archive post): small green italic label above the name */
body .public-title--label > em { display:block; margin:0 0 6px; font-size:.42em; line-height:1.3; letter-spacing:0; }
body .public-title--label > span { display:block; }
body[data-public-page=about] .hero--about .public-title > em { color:#87ebcf; }
body .home-intro h1 em,body .news-page h1 em,body .floor-feature h2 em { font-family:var(--public-accent-font); }
body .news-page h1 em { color:#0f715b; } /* match the green accent on other page titles */
body .results-header__inner { justify-content:flex-start; text-align:left; }
body .results-event-link { display:inline-flex; min-height:44px; align-items:center; color:#294db5; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:600px) { body .public-title { font-size:clamp(28px,7.5vw,38px); margin-bottom:18px; } }

body[data-public-page=about] .hero--about .hero-subtitle {
 font-family:var(--font-body); font-size:clamp(18px,2vw,22px); font-weight:400;
 line-height:1.65; text-align:left; letter-spacing:0; max-width:68ch;
}
body[data-public-page=about] .hero--about .mission-phrase { font:inherit; }
body[data-public-page=history] .vault-inner { max-width:980px; text-align:left; }
body[data-public-page=history] .vault-subtitle { margin-left:0; text-align:left; }
.mobile-nav-brand { display:block; padding:18px 24px; }
.mobile-nav-brand img { display:block; width:110px; height:auto; }
@media(max-width:767px) {
 [data-public-page=events] .filter-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 [data-public-page=events] .filter-tab { justify-content:center; width:100%; }
 [data-public-page=events] .schedule-hero .hero-actions { display:none; }
}

/* ===== TICKER =====
   Fixed "SCGC Updates" label on the left, scrolling items with gold separators,
   and a pause button (required for moving text; also auto-paused for reduced motion). */
body .ticker { --ticker-bg:#2f50ad; --ticker-label-bg:#1d3478; --ticker-gold:#f2c14e;
  display:flex; align-items:stretch; background:var(--ticker-bg); color:#fff; padding:0; min-height:44px; overflow:hidden; position:relative; z-index:100; }
body .ticker::before, body .ticker::after { display:none; }
body .ticker-label { flex:none; display:flex; align-items:center; gap:8px; margin:0; padding:0 18px 0 16px; background:var(--ticker-label-bg);
  font:700 .78rem/1 var(--font-body, 'DM Sans', sans-serif); letter-spacing:.12em; text-transform:uppercase; color:#fff; position:relative; z-index:2; }
body .ticker-label i { color:var(--ticker-gold); font-size:1.05rem; }
body .ticker-label::after { content:''; position:absolute; top:0; bottom:0; right:-28px; width:28px; background:linear-gradient(to right, var(--ticker-bg), rgba(47,80,173,0)); pointer-events:none; }
body .ticker-viewport { flex:1; min-width:0; overflow:hidden; display:flex; align-items:center; position:relative; }
body .ticker-viewport::after { content:''; position:absolute; top:0; bottom:0; right:0; width:40px; background:linear-gradient(to left, var(--ticker-bg), rgba(47,80,173,0)); pointer-events:none; }
body .ticker-track { display:flex; width:max-content; animation:ticker-scroll 50s linear infinite; }
body .ticker:hover .ticker-track, body .ticker.is-paused .ticker-track { animation-play-state:paused; }
body .ticker-list { display:flex; margin:0; padding:0; list-style:none; }
body .ticker .ticker-item { display:flex; align-items:center; background:none; border:0; border-radius:0; margin:0; padding:0 0 0 28px; color:#fff;
  font-weight:600; font-size:.95rem; letter-spacing:.01em; white-space:nowrap; }
body .ticker .ticker-item::before { content:''; width:6px; height:6px; margin-right:28px; border-radius:50%; background:var(--ticker-gold); flex:none; }
body .ticker-text { display:inline-block; }
body .ticker-text::first-letter { text-transform:uppercase; }
body .ticker-toggle { flex:none; width:44px; border:0; border-left:1px solid rgba(255,255,255,.18); background:var(--ticker-label-bg); color:#fff; font-size:1.2rem; cursor:pointer; display:flex; align-items:center; justify-content:center; }
body .ticker-toggle:hover { color:var(--ticker-gold); }
body .ticker-toggle:focus-visible { outline:3px solid var(--ticker-gold); outline-offset:-3px; }
@media (max-width:600px) {
  body .ticker-label { padding:0 12px; }
  body .ticker-label span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  body .ticker .ticker-item { font-size:.9rem; padding-left:22px; }
  body .ticker .ticker-item::before { margin-right:22px; }
}
@media (prefers-reduced-motion: reduce) { body .ticker-track { animation-play-state:paused; } }

/* ===== PHOTO HERO =====
   Interior page header with a championship photo (includes/photo-hero.php), matching the About page. */
body .photo-hero { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:flex-end; min-height:260px; padding:56px 0 44px; margin:0 0 28px;
  background:#0f2638 var(--hero-bg, none) center 35% / cover no-repeat; color:#fff; }
body .photo-hero::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(10,31,47,.88),rgba(10,31,47,.6)); }
body .photo-hero__inner { width:100%; }
body .photo-hero .public-title { color:#fff; margin:0; }
body .photo-hero .public-title > em { color:#87ebcf; }
body .photo-hero__subtitle { margin:14px 0 0; max-width:62ch; font-size:clamp(17px,1.6vw,20px); line-height:1.55; color:rgba(255,255,255,.9); }
/* News uses a narrower 880px column: line the title up with it */
body[data-public-page=news] .photo-hero__inner { max-width:880px; padding:0 32px; }
body[data-public-page=news] .news-page { padding-top:0; }
@media (max-width:600px) { body .photo-hero { min-height:200px; padding:40px 0 30px; margin-bottom:20px; }
  body[data-public-page=news] .photo-hero__inner { padding:0 20px; } }

/* ===== PARTICIPANT PROTECTION: jump links + report buttons ===== */
[data-public-page=codeOfConduct] .policy-navigation { align-items:center; gap:6px 24px; }
[data-public-page=codeOfConduct] .policy-navigation a:not(.btn-report) { color:#17334b; font-weight:600; text-decoration:none; transition:border-color .15s, color .15s; }
[data-public-page=codeOfConduct] .policy-navigation a:not(.btn-report):hover { border-color:#294db5; color:#294db5; }
[data-public-page=codeOfConduct] .btn-report { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:10px 20px; background:#294db5; color:#fff; border:0; font-weight:700; text-decoration:none; box-shadow:none; transform:none; }
[data-public-page=codeOfConduct] .btn-report:hover { background:#1f3d93; color:#fff; transform:none; box-shadow:none; }
[data-public-page=codeOfConduct] :is(.btn-report, .policy-navigation a):focus-visible { outline:3px solid #f2c14e; outline-offset:2px; }
[data-public-page=codeOfConduct] .policy-navigation .btn-report { margin-left:auto; }
[data-public-page=codeOfConduct] .report-card { display:grid; grid-template-columns:1fr auto; align-items:center; gap:8px 28px; text-align:left; padding:24px 28px; background:#eef4fb; border:1px solid #c5d6ea; position:relative; overflow:hidden; }
[data-public-page=codeOfConduct] .report-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:5px; background:#294db5; }
[data-public-page=codeOfConduct] .report-card h3 { grid-column:1; margin:0; color:#17334b; font-size:1.25rem; display:flex; align-items:center; gap:8px; }
[data-public-page=codeOfConduct] .report-card h3 i { color:#294db5; }
[data-public-page=codeOfConduct] .report-card p { grid-column:1; margin:0; color:#334d65; }
[data-public-page=codeOfConduct] .report-card .btn-report { grid-column:2; grid-row:1 / span 2; padding:14px 24px; font-size:1.05rem; }
@media (max-width:640px) {
  [data-public-page=codeOfConduct] .policy-navigation .btn-report { margin-left:0; }
  [data-public-page=codeOfConduct] .report-card { grid-template-columns:1fr; padding:20px; }
  [data-public-page=codeOfConduct] .report-card .btn-report { grid-column:1; grid-row:auto; justify-content:center; margin-top:8px; }
}

/* ===== EVENT DETAILS: eyebrow, Venue TBA, Quick Info note ===== */
/* Eyebrow sits above the h1 (the h1 holds only the event name) */
[data-public-page=event_details] .event-detail-eyebrow { margin:0 0 6px; font-family:var(--public-accent-font); font-style:italic; font-weight:400; font-size:clamp(16px,1.7vw,19px); line-height:1.3; color:#0f715b; }
/* Muted, non-clickable chips for a venue that isn't set yet */
[data-public-page=event_details] .event-chip--tba { background:transparent; color:var(--theme-muted); border:1px dashed rgba(var(--theme-muted-rgb),.55); box-shadow:none; }
[data-public-page=event_details] .event-chip--tba i { color:var(--theme-muted); }
[data-public-page=event_details] .sidebar-note { display:flex; gap:10px; align-items:flex-start; margin:0; padding:12px 14px; background:rgba(var(--theme-primary-rgb),.06); border-left:3px solid rgba(var(--theme-muted-rgb),.45); color:var(--theme-muted); font-size:.9rem; line-height:1.5; }
[data-public-page=event_details] .sidebar-note i { margin-top:2px; }
[data-public-page=event_details] .sidebar-note + .sidebar-stat { margin-top:6px; }
/* Homepage "Next on the floor": Venue TBA takes the Directions button's slot */
.showday-actions .day-chip-muted { display:inline-flex; min-height:48px; align-items:center; justify-content:center; gap:9px; padding:12px 16px; border:1px dashed rgba(var(--theme-muted-rgb),.6); color:var(--theme-muted); font-size:.8rem; font-weight:600; cursor:default; user-select:none; }
.showday-layout .showday-actions .day-chip-muted { color:rgba(255,255,255,.78); border-color:rgba(255,255,255,.45); } /* dark hero panel */
/* No description, documents, or entries yet: Quick Info takes the left column instead of leaving it blank */
[data-public-page=event_details] .event-detail-layout--sidebar-only { grid-template-columns:minmax(0,560px); }
/* ===== UNIT TILE =====
   Generated placeholder for units without a photo (includes/unit-tile.php).
   Gradient by type, angle varies per unit (--tile-angle); initials bleed off the bottom-right corner. */
body .unit-tile { --tile-from: var(--theme-primary); --tile-to: var(--theme-lilac); position:relative; display:block; width:100%; height:100%; overflow:hidden;
  container-type:size; background:linear-gradient(var(--tile-angle, 120deg), var(--tile-from), var(--tile-to)); color:#fff; }
body .unit-tile[hidden] { display:none; }
body .unit-tile--perc { --tile-from: var(--theme-midnight); --tile-to: var(--theme-primary); }
body .unit-tile--winds { --tile-from: #87ebcf; --tile-to: var(--theme-lilac); }
body .unit-tile__mark { position:absolute; left:6%; top:50%; transform:translateY(-50%); font-size:88cqh; line-height:1; color:#fff; opacity:.12; pointer-events:none; }
body .unit-tile__initials { position:absolute; right:-.05em; bottom:-.17em; font-family:'DM Sans', var(--font-body, sans-serif); font-weight:700; font-size:66cqh;
  line-height:1; letter-spacing:-.06em; color:#fff; white-space:nowrap; text-shadow:0 2px 18px rgba(19,39,68,.18); pointer-events:none; }
[data-public-page=members] .unit-card__image .unit-tile { position:absolute; inset:0; }
[data-public-page=members] .unit-card__image { position:relative; }
/* Unit page header: the tile takes the photo's size (see .unit-photo rules above) */
[data-public-page=member_details] .unit-photo--tile { flex-shrink:0; background:linear-gradient(var(--tile-angle, 120deg), var(--tile-from), var(--tile-to)); }
/* ===== RESULTS ROWS: Place · Unit · Score =====
   Placement badge first; medals (gold/silver/bronze) only at Championships events. */
[data-public-page=results] .result-item { display:grid; grid-template-columns:40px minmax(0,1fr) auto; align-items:center; gap:14px; }
[data-public-page=results] .result-item--head { padding-top:8px; padding-bottom:8px; background:transparent !important; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--theme-muted); }
[data-public-page=results] .result-item--head span:last-child { text-align:right; }
[data-public-page=results] .result-item--head:hover { background:transparent; }
[data-public-page=results] .place-badge { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50% !important;
  font-weight:700; font-size:.95rem; font-variant-numeric:tabular-nums; line-height:1; color:var(--theme-ink); background:#fff; border:1px solid var(--theme-border); }
[data-public-page=results] .place-badge--none { border-style:dashed; color:var(--theme-muted); background:transparent; }
[data-public-page=results] .place-badge--gold { background:linear-gradient(135deg,#f7dc7a,#d9a520); border-color:#b8870f; color:#3d2c00; }
[data-public-page=results] .place-badge--silver { background:linear-gradient(135deg,#f1f3f6,#b5bec9); border-color:#8f99a6; color:#23303d; }
[data-public-page=results] .place-badge--bronze { background:linear-gradient(135deg,#f0c49b,#b87333); border-color:#8f5522; color:#fff; }
[data-public-page=results] .result-score { text-align:right; font-variant-numeric:tabular-nums; font-size:18px; font-weight:700; color:var(--theme-ink); white-space:nowrap; }
[data-public-page=results] .result-noshow { font-size:.9rem; font-weight:500; color:var(--theme-muted); }
[data-public-page=results] .result-item--noshow .result-unit a { color:var(--theme-muted); }
/* Selected year in "View Results by Year": white text on the blue highlight */
[data-public-page=results] .dropdown-item.active, [data-public-page=results] .dropdown-item.active:hover { background:var(--theme-primary); color:#fff; }
@media (max-width:640px) {
  [data-public-page=results] .event-section { padding:6px; }
  [data-public-page=results] .class-header { padding:10px 8px; }
  [data-public-page=results] .result-item { display:grid; grid-template-columns:30px minmax(0,1fr) auto; gap:10px; padding:10px 6px; }
  [data-public-page=results] .result-item--head { padding:6px; font-size:.6rem; letter-spacing:.02em; }
  [data-public-page=results] .place-badge { width:30px; height:30px; font-size:.85rem; }
  [data-public-page=results] .result-unit { font-size:15px; line-height:1.3; }
  [data-public-page=results] .result-score { font-size:16px; }
  [data-public-page=results] .score-badge { padding:3px 7px; font-size:.65rem; }
}
