/* Shared public-site refresh. Loaded after the legacy responsive styles. */
:root { --navy:#172c3e; --ink:#233644; --muted:#596873; --cream:#f7f5ef; --red:#ad3c31; --line:#dedfd9; }
body { color:var(--ink); background:var(--cream); font:16px/1.65 Arial,Helvetica,sans-serif; }
*, *::before, *::after { box-sizing:border-box; }
a { color:#954036; text-underline-offset:4px; }
a:hover { color:var(--navy); }
:focus-visible { outline:3px solid #bf872b; outline-offset:4px; }
img { max-width:100%; height:auto; }
#header { height:auto; padding:23px 0; background:var(--navy); line-height:normal; }
#header_restraint,#menu_restraint,#content,#content_more,#footer_restraint,#sponsor_restraint,#page_restraint { max-width:1200px; padding-left:32px; padding-right:32px; }
#header_restraint { min-height:72px; }
.sbha_logo_header { width:100px; height:72px; object-fit:contain; background:white; border:0; border-radius:3px; }
#header h1 { font:700 clamp(20px,2.4vw,29px)/1.25 Georgia,serif; padding:4px 0 0 122px; margin:0; letter-spacing:-.5px; }
#header h2 { font:13px/1.5 Arial,sans-serif; color:#d7c7aa; padding:8px 0 0 122px; margin:0; letter-spacing:1.2px; }
#menu { background:#fff; border-bottom:1px solid var(--line); position:relative; z-index:100; }
#menu .main-menu { display:flex; justify-content:space-between; width:100%; }
#menu ul li { position:relative; padding:0; }
#menu ul li a { padding:12px 9px; color:var(--navy); font:600 14px/24px Arial,sans-serif; }
#menu ul li a:hover,#menu ul li a[aria-expanded="true"] { background:var(--cream); color:var(--red); }
.carot { color:inherit; font-size:10px; }
#menu .submenu { position:absolute; top:100%; left:0; display:block; float:none; width:260px; padding:8px; background:white; border:1px solid var(--line); border-radius:0 0 6px 6px; box-shadow:0 16px 30px #172c3e1a; }
#menu li:last-child .submenu { left:auto; right:0; }
#menu .submenu li { display:block; }
#menu .submenu li a { font:400 14px/1.45 Arial,sans-serif; padding:10px 12px; }
.submenu[hidden] { display:none !important; }
#page { background:var(--cream); padding:48px 0; }
#content h1,#content h2,#sponsors h1 { font-family:Georgia,serif; color:var(--navy); line-height:1.2; letter-spacing:-.6px; }
#content h1 { font-size:34px; margin:0 0 26px; }
#content h2 { font-size:29px; }
#content p,#articles .article_story,#articles .article_title,#articles .article_timestamp,#sponsors,#content .regional_club,#content .contact_number { font-family:Arial,Helvetica,sans-serif; }
#content p { line-height:1.75; }
#content table { max-width:100%; border-collapse:collapse; font-size:14px; }
#content td,#content th { padding:10px; }
.table_headers,.calendar_header,.day_of_week { background:var(--navy); color:#fff; }
.table_rows { background:#fff; }
.alt_table_rows { background:#eeeee7; }
#content input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),#content select,#content textarea { max-width:100%; border:1px solid #aab2b5; border-radius:4px; padding:10px 12px; font:inherit; background:#fff; color:var(--ink); }
#content input[type=submit],.button { display:inline-flex; align-items:center; justify-content:center; gap:14px; border:1px solid var(--red); background:var(--red); color:white; padding:13px 20px; border-radius:4px; font:600 14px/1.5 Arial,sans-serif; text-decoration:none; cursor:pointer; }
#content input[type=submit]:hover,.button:hover { background:#903129; color:white; }
.table_row { height:auto; min-height:48px; display:flow-root; }
#content .event,#content .region_club,#content .contact_group,#content .sbha_region { background:white; border:1px solid var(--line); border-radius:6px; padding:22px; }
#articles .article { background:white; border:1px solid var(--line); padding:26px; margin-bottom:20px; border-radius:6px; }
#articles .article_timestamp { color:var(--muted); font-size:12px; }
#articles .article_picture { padding-top:0; }
#articles .article_picture img { border:0; border-radius:3px; }
#sponsors { padding:45px 0 10px; border-top:1px solid var(--line); }
#sponsors h1 { text-align:center; font-size:30px; margin-bottom:32px; }
#gold_sponsors { width:100%; }
#sponsors .gold_sponsor { display:flex; align-items:center; gap:28px; float:none; width:100%; padding:24px; background:white; border:1px solid var(--line); border-radius:6px; margin-bottom:20px; }
#sponsors .gold_sponsor_logo { float:none; width:28%; }
#sponsors .gold_sponsor_text { float:none; width:72%; font-size:14px; }
#other_sponsors { display:flex; flex-wrap:wrap; justify-content:center; gap:24px; }
#sponsors .sponsor { float:none; width:140px; padding:16px; align-content:center; }
#sponsors .sponsor_logo { width:auto; max-height:130px; object-fit:contain; }
#footer { padding:42px 0; background:var(--navy); color:#e1e6e8; border:0; }
#footer a { color:#e1e6e8; }
#footer a:hover { color:#e6c998; }
#footer_menu { width:60%; }
#footer_menu li a,#events_area .footer_event { font:14px/1.7 Arial,sans-serif; }
#footer_menu li a { padding:4px 0; }
.footer_headers { padding:0 16px 16px 0; box-sizing:border-box; }
.footer_headers h1,#events_area h1 { font:700 18px/1.4 Georgia,serif; color:white; }
#events_area { width:40%; padding:0 0 0 28px; background:transparent; border:0; border-left:1px solid #ffffff30; }
#events_area .footer_events { padding:0; }
#social_media { clear:both; padding-top:20px; }
#social_media img { width:34px; border-radius:4px; }
#copyright { height:auto; padding:18px 24px; font:12px/1.6 Arial,sans-serif; background:#112333; color:#d1d9de; }
.background_parallax { display:none; }
/* Homepage */
.home-hero { display:grid; grid-template-columns:1fr 1fr; background:var(--navy); color:white; }
.hero-copy { padding:64px 44px 60px max(32px,calc((100vw - 1136px)/2)); }
.eyebrow { font:700 11px/1.5 Arial,sans-serif !important; text-transform:uppercase; letter-spacing:1.8px; color:var(--red); margin:0 0 14px; }
.hero-copy .eyebrow { color:#d9c6a3; }
.hero-copy h1 { font:400 clamp(40px,4.6vw,68px)/1.05 Georgia,serif; letter-spacing:-2px; margin:22px 0; }
.hero-copy > p:not(.eyebrow) { max-width:440px; font-size:16px; line-height:1.8; color:#d1dbe0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0; }
.button-outline { background:transparent; border-color:#89959d; }
.button-outline:hover { background:#ffffff15; }
.hero-note { display:block; font-size:11px; letter-spacing:1.4px; text-transform:uppercase; color:#d9c6a3; }
.hero-photo { position:relative; margin:0; min-width:0; overflow:hidden; background:#334638; }
.hero-photo img { width:100%; height:100%; object-fit:cover; object-position:60% center; display:block; }
.hero-photo figcaption { position:absolute; bottom:0; left:0; right:0; padding:40px 24px 18px; background:linear-gradient(transparent,#000b); color:white; font-size:12px; }
.home-page #page { padding-top:0; }
.home-shortcuts { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid var(--line); padding:30px 0; margin-bottom:55px; }
.home-shortcuts > a { display:flex; flex-direction:column; padding:8px 28px; border-right:1px solid var(--line); color:var(--ink); text-decoration:none; }
.home-shortcuts > a:first-child { padding-left:0; }
.home-shortcuts > a:last-child { border:0; }
.home-shortcuts strong { font:700 23px/1.4 Georgia,serif; }
.home-shortcuts strong span { float:right; color:var(--red); }
.home-shortcuts > a > span:last-child { color:var(--muted); font-size:13px; margin-top:6px; }
.home-shortcuts a:hover strong { color:var(--red); }
.home-shortcuts .eyebrow { margin-bottom:8px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:26px; }
.section-heading h2 { margin:0; font-size:36px !important; }
.section-heading a { font-size:14px; white-space:nowrap; }
.home-page #articles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.home-page #articles > p { display:none; }
.home-page #articles .article { display:flex; flex-direction:column; padding:0; overflow:hidden; margin:0; }
.home-page #articles .article_picture { float:none; width:100%; }
.home-page #articles .article_picture img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; border-radius:0; }
.home-page #articles .article_container { width:100%; float:none; padding:24px; }
.home-page #articles h2 { margin:0 0 12px; font-size:24px; }
.home-page #articles .article_story { font-size:14px; line-height:1.75; margin-top:14px; overflow-wrap:anywhere; }
.home-about { display:grid; grid-template-columns:1fr 1fr; gap:65px; padding:65px 0; margin-top:55px; border-top:1px solid var(--line); }
.home-about h2 { margin:0 0 20px; }
.home-about p { font-size:15px; }
#regional_map { background:#fff; padding:15px; border:1px solid var(--line); border-radius:6px; }
@media(max-width:1024px) {
 #menu ul li a { padding:12px 5px; font-size:13px; }
 .hero-copy { padding:40px 28px; }
 .hero-actions { flex-direction:column; align-items:flex-start; }
 .home-page #articles { gap:16px; }
 .home-page #articles .article_container { padding:18px; }
 .footer_headers { width:50%; }
}
@media(max-width:767px) {
 #header,#menu { display:none; }
 #mobile { position:relative; z-index:110; display:flow-root; height:auto; min-height:68px; background:var(--navy); padding:10px 18px; }
 #mobile_button { display:block; border:1px solid #ffffff55; border-radius:4px; background:transparent; height:44px; width:44px; padding:8px; cursor:pointer; }
 #mobile .menu_line { display:block; width:100%; height:2px; margin:4px 0; padding:0; }
 #mobile .menu_line:last-child { display:none; }
 #mobile_header { font:700 25px/44px Georgia,serif; margin-left:16px; text-decoration:none; color:white; }
 #mobile_menu { width:100%; float:none; background:var(--navy); }
 #mobile_menu ul { background:var(--navy); list-style:none; }
 #mobile_menu li { background:transparent; padding:0; }
 #mobile_menu li a { display:block; padding:8px 12px; font:15px/28px Arial,sans-serif; }
 #mobile_menu .submenu { padding:4px 0 4px 16px; background:#ffffff08; }
 #mobile_menu .submenu a { font-size:14px; }
 #header_restraint,#content,#content_more,#footer_restraint,#sponsor_restraint,#page_restraint { padding-left:22px; padding-right:22px; }
 #page { padding:30px 0; }
 #content { overflow-x:auto; }
 #content h1 { font-size:28px; }
 .home-hero { grid-template-columns:1fr; }
 .hero-copy { padding:40px 24px; }
 .hero-copy h1 { font-size:49px; }
 .hero-actions { flex-direction:row; }
 .hero-photo { height:260px; }
 .hero-photo img { object-position:center; }
 .home-shortcuts { grid-template-columns:1fr; padding:10px 0; margin-bottom:36px; }
 .home-shortcuts > a,.home-shortcuts > a:first-child { padding:20px 0; border-right:0; border-bottom:1px solid var(--line); }
 .home-shortcuts strong { font-size:23px; }
 .section-heading h2 { font-size:29px !important; }
 .home-page #articles { grid-template-columns:1fr; gap:22px; }
 .home-page #articles .article_container { padding:24px; }
 .home-about { grid-template-columns:1fr; gap:35px; padding:40px 0; margin-top:40px; }
 #footer_menu,#events_area { width:100%; float:none; }
 #footer_menu { display:flow-root; }
 #events_area { border-left:0; border-top:1px solid #ffffff30; padding:22px 0 0; margin-top:20px; }
 #sponsors .gold_sponsor { flex-direction:column; gap:16px; }
 #sponsors .gold_sponsor_logo,#sponsors .gold_sponsor_text { width:100%; }
 #sponsors .sponsor_logo { max-width:200px; }
 #sponsors .sponsor { width:110px; }
 .table_title,.table_input { width:100%; float:none; }
}
/* Event calendar: full event names on desktop, compact counts and agenda on phones. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.calendar-page #page { padding-top:42px; }
.schedule-intro { margin-bottom:28px; }
#content .schedule-intro h1 { margin-bottom:12px; font-size:40px; }
.schedule-intro > p:last-child { color:var(--muted); margin:0; }
.calendar-filters { display:flex; align-items:flex-end; flex-wrap:wrap; gap:16px; margin-bottom:30px; }
.calendar-filters > div { min-width:130px; }
.calendar-filters > div:first-of-type { flex:1; max-width:300px; }
.calendar-filters label { display:block; font-size:12px; font-weight:700; margin-bottom:6px; }
#content .calendar-filters select,#content .calendar-filters input { width:100%; height:46px; }
#content .calendar-filters input[type=number] { max-width:110px; }
.calendar-filters .button { min-height:46px; }
.calendar-shell { background:white; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.calendar-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:24px; }
#content .calendar-toolbar h2 { font-size:30px; margin:0; }
.calendar-toolbar nav { display:flex; gap:8px; }
.calendar-control { display:inline-flex; justify-content:center; align-items:center; padding:8px 12px; min-height:42px; border:1px solid var(--line); border-radius:4px; color:var(--navy); text-decoration:none; font-size:13px; white-space:nowrap; }
.calendar-control:hover { background:var(--cream); border-color:var(--navy); }
#content .calendar-grid { width:100%; table-layout:fixed; border-collapse:collapse; }
#content .calendar-grid th { background:var(--navy); color:#fff; padding:12px 4px; font-size:12px; font-weight:600; text-align:center; }
.calendar-grid abbr { text-decoration:none; }
#content .calendar-grid td { border:1px solid var(--line); padding:10px; height:112px; vertical-align:top; background:#fff; }
#content .calendar-grid .calendar-blank { background:#f4f4f0; }
.calendar-number { display:inline-flex; justify-content:center; align-items:center; width:27px; height:27px; font-size:13px; font-weight:600; }
.is-today .calendar-number { background:var(--navy); color:white; border-radius:50%; }
.calendar-day-events { margin:6px 0 0; padding:0; list-style:none; }
.calendar-day-events li + li { margin-top:5px; }
.calendar-day-events a { display:block; padding:5px 7px; font-size:11px; line-height:1.5; border-left:3px solid var(--red); background:#f6ebe7; border-radius:2px; color:#773127; text-decoration:none; overflow-wrap:anywhere; }
.calendar-day-events a:hover { background:#eddbd5; text-decoration:underline; }
.calendar-mobile-count { display:none; }
.calendar-legend { display:flex; gap:20px; align-items:center; padding:16px 24px; font-size:12px; color:var(--muted); }
.calendar-legend > span { display:flex; align-items:center; gap:7px; }
.calendar-legend i { width:10px; height:10px; display:inline-block; border-radius:50%; background:var(--navy); }
.calendar-legend .legend-event { background:var(--red); border-radius:2px; }
.calendar-legend a { margin-left:auto; }
.calendar-agenda { margin-top:42px; scroll-margin-top:20px; }
#content .calendar-agenda .section-heading h2 { font-size:28px !important; margin:0; }
.calendar-agenda .section-heading > span { font-size:13px; color:var(--muted); }
.calendar-event { display:flex; align-items:center; gap:22px; background:white; border:1px solid var(--line); border-radius:6px; padding:24px; margin-bottom:14px; scroll-margin-top:20px; }
.calendar-event:target { outline:2px solid var(--red); outline-offset:2px; }
.calendar-date-badge { width:62px; flex:none; border:1px solid var(--line); border-radius:5px; text-align:center; overflow:hidden; }
.calendar-date-badge span { display:block; background:var(--navy); color:white; font-size:11px; text-transform:uppercase; padding:3px; letter-spacing:1px; }
.calendar-date-badge strong { display:block; font:700 28px/1.6 Georgia,serif; }
.calendar-event-info { flex:1; min-width:0; }
.calendar-event h3 { font:700 20px/1.3 Georgia,serif; margin:0 0 8px; }
.calendar-event h3 a { color:var(--navy); text-decoration:none; }
.calendar-event h3 a:hover { text-decoration:underline; }
#content .calendar-event p { margin:2px 0; font-size:13px; color:var(--muted); line-height:1.6; }
#content .calendar-event .calendar-event-dates { color:var(--ink); font-weight:600; }
.calendar-details { font-size:13px; font-weight:600; white-space:nowrap; }
.calendar-empty { background:#fff; border:1px dashed #b8bebd; border-radius:6px; padding:32px; text-align:center; }
.calendar-empty h3 { font:700 22px/1.4 Georgia,serif; margin:0 0 8px; }
#content .calendar-empty p { margin:0; color:var(--muted); font-size:14px; }
@media(max-width:767px) {
 #content .schedule-intro h1 { font-size:30px; }
 .calendar-filters { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
 .calendar-filters > div { min-width:0; }
 .calendar-filters > div:first-of-type { max-width:none; grid-column:1/-1; }
 #content .calendar-filters input[type=number] { max-width:none; }
 .calendar-filters .button { grid-column:1/-1; }
 .calendar-toolbar { flex-direction:column; align-items:stretch; gap:16px; padding:20px 12px; }
 #content .calendar-toolbar h2 { font-size:26px; text-align:center; }
 .calendar-toolbar nav { justify-content:center; }
 .calendar-control { padding:8px 10px; }
 .calendar-control span { display:none; }
 #content .calendar-grid td { padding:4px 2px; height:68px; text-align:center; }
 #content .calendar-grid th { font-size:10px; padding:10px 1px; }
 .calendar-number { font-size:12px; width:24px; height:24px; }
 .calendar-day-events { display:none; }
 .calendar-mobile-count { display:block; width:24px; margin:3px auto 0; border-radius:3px; font-size:11px; font-weight:700; line-height:24px; background:#f6ebe7; color:#773127; text-decoration:none; }
 .calendar-legend { gap:10px; flex-wrap:wrap; padding:14px 12px; font-size:11px; }
 .calendar-legend a { margin-left:0; }
 .calendar-event { display:grid; grid-template-columns:48px minmax(0,1fr); gap:14px; padding:18px 14px; align-items:start; }
 .calendar-date-badge { width:48px; }
 .calendar-event h3 { font-size:18px; }
 .calendar-details { grid-column:2; }
}
/* Profiles, event details and standings */
.detail-heading { padding:8px 0 28px; margin-bottom:28px; border-bottom:1px solid var(--line); }
#content .detail-heading h1 { font-size:clamp(32px,4vw,48px); max-width:900px; margin:0; }
#content .detail-heading > p:last-child:not(.eyebrow) { color:var(--muted); margin:16px 0 0; }
.detail-page #content { padding-bottom:42px; }
.detail-page .section-heading { margin:36px 0 20px; }
.detail-page .section-heading h2 { font-size:30px !important; margin:0; }
.detail-chip { display:inline-block; padding:7px 12px; background:#e8ece8; color:var(--navy); border-radius:30px; font-size:12px; font-weight:600; }
#content .detail-table { width:100%; background:white; border:1px solid var(--line); margin-bottom:24px; font-size:14px; }
#content .detail-table td,#content .detail-table th { padding:16px 20px; border-bottom:1px solid var(--line); vertical-align:middle; overflow-wrap:anywhere; }
#content .detail-table .records { background:var(--navy); color:white; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; }
#content .detail-table tr.table_rows { background:#fff; }
#content .detail-table tr.alt_table_rows { background:#f0f2ed; }
#content .detail-table a { text-decoration:none; font-weight:600; }
#content .detail-table a:hover { text-decoration:underline; }
.profile-panel { display:flex; gap:32px; align-items:flex-start; padding:28px; border:1px solid var(--line); border-radius:8px; background:white; margin-bottom:40px; }
.profile-photo { flex:1; min-width:0; }
.profile-photo .plain_photo { width:100%; max-height:560px; object-fit:contain; border-radius:5px; display:block; background:var(--cream); }
#content .profile-facts { flex:1; min-width:0; margin:0; border:0; }
#content .profile-facts td,#content .event-facts td { background:white; }
#content .profile-facts td:first-child:not([colspan]),#content .event-facts td:first-child:not([colspan]) { font-size:12px; font-weight:600; color:var(--muted); width:32%; }
#content .profile-facts td { padding:12px 14px; }
.event-highlights { display:grid; grid-template-columns:1fr 2fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden; margin-bottom:32px; }
.event-highlights > div { background:var(--navy); padding:24px; }
.event-highlights span { display:block; color:#d4c5a7; text-transform:uppercase; letter-spacing:1.5px; font-size:10px; font-weight:700; margin-bottom:9px; }
.event-highlights strong { display:block; color:white; font:400 22px/1.4 Georgia,serif; overflow-wrap:anywhere; }
.event-detail-grid { display:grid; grid-template-columns:1.15fr 1fr; gap:28px; align-items:start; }
.event-facts { min-width:0; }
.event-location-panel { background:white; border:1px solid var(--line); padding:24px; border-radius:6px; }
.event-location-panel:empty { display:none; }
.event-location-panel #club_map { float:none; width:100%; }
.event-location-panel h2 { margin:8px 0; }
.event-location-panel p { font-size:14px; overflow-wrap:anywhere; }
.event-location-panel iframe { border-radius:5px; max-width:100%; }
#content .event-facts h2 { font-size:23px; margin:5px 0; }
.result-link,.back-link { display:inline-block; padding:9px 14px; background:#f0e8df; border-radius:4px; font-size:13px; text-decoration:none; }
.standings-tabs { display:flex; gap:8px; margin:0 0 28px; border-bottom:1px solid var(--line); padding-bottom:16px; }
.standings-tabs a { padding:12px 20px; border:1px solid var(--line); border-radius:4px; text-decoration:none; color:var(--navy); font-size:14px; font-weight:600; background:white; }
.standings-tabs a[aria-current] { background:var(--navy); color:white; border-color:var(--navy); }
.standings-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.standings-card { display:flex; flex-direction:column; padding:28px; border:1px solid var(--line); border-top:3px solid #b89a68; border-radius:5px; background:white; text-decoration:none; color:var(--navy); }
#content .standings-card h2 { font-size:27px; margin:10px 0 30px; }
.standings-card > span:last-child { margin-top:auto; font-size:13px; color:var(--red); }
.standings-card b { float:right; }
.standings-card:hover { border-color:var(--red); background:#fdfbf7; }
.standings-summary { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:20px; font-size:13px; color:var(--muted); }
.points-pill { display:block; width:fit-content; min-width:62px; margin:auto; padding:6px 14px; background:#e8ece8; color:var(--navy); border-radius:25px; text-align:center; font-weight:700; font-size:17px; font-variant-numeric:tabular-nums; }
.points-detail .detail-table tr:nth-child(2) .points-pill { background:#eee1c5; color:#5d451b; }
@media(max-width:900px) {
 .standings-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .event-detail-grid { grid-template-columns:1fr; }
 .profile-panel { gap:16px; padding:20px; }
}
@media(max-width:600px) {
 .detail-heading { padding-bottom:22px; margin-bottom:22px; }
 .profile-panel { display:block; padding:16px; }
 .profile-photo { margin-bottom:22px; }
 .event-highlights { grid-template-columns:1fr; }
 .event-highlights > div { padding:18px 22px; }
 #content .detail-table td,#content .detail-table th { padding:12px 9px; font-size:12px; }
 #content .profile-facts td { padding:12px 8px; }
 .detail-page .section-heading { flex-wrap:wrap; }
 .standings-cards { grid-template-columns:1fr; }
 .standings-tabs a { padding:10px 12px; font-size:12px; }
 .standings-summary { align-items:flex-start; flex-direction:column; }
 .event-location-panel { padding:18px; }
 .points-pill { min-width:46px; padding:5px 9px; font-size:15px; }
}
@media(max-width:600px) {
 #content .profile-facts td:first-child:not([colspan]) { width:42%; overflow-wrap:normal; }
}
/* Contain legacy floated footer columns even when a clearing element is missing. */
#footer, #footer_restraint, #footer_menu { display:flow-root; }
#footer .footer_event { overflow-wrap:anywhere; }
/* Archive entries share the calendar agenda layout without fixed-width separators. */
.archive-count { align-self:center; margin-left:auto; font-size:13px; color:var(--muted); }
#content .archive-events h2 { font:700 21px/1.35 Georgia,serif; margin:0 0 8px; overflow-wrap:anywhere; }
.archive-events h2 a { color:var(--navy); text-decoration:none; }
.archive-events h2 a:hover { text-decoration:underline; }
@media(max-width:767px) {
 .archive-filters .archive-count { margin-left:0; grid-column:1/-1; }
 #content .archive-events h2 { font-size:18px; }
}
/* Club profile */
.club-overview { display:grid; grid-template-columns:1.05fr 1fr; gap:28px; align-items:start; }
.club-location,.club-contacts-panel { background:#fff; border:1px solid var(--line); border-radius:7px; padding:28px; min-width:0; }
#content .club-overview h2 { margin:8px 0 16px; font-size:29px; }
.club-location iframe { width:100%; height:330px; border:0; display:block; border-radius:5px; margin:22px 0; }
.club-location > p:not(.eyebrow) { font-size:14px; color:var(--muted); }
.club-contact-card { display:grid; grid-template-columns:60px minmax(0,1fr); gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.club-contact-card:last-child { border-bottom:0; padding-bottom:0; }
.club-contact-avatar { width:60px; height:60px; border-radius:50%; object-fit:cover; }
.contact-initial { display:grid; place-items:center; background:var(--navy); color:#e5cfab; font:700 26px Georgia,serif; }
.club-contact-card h3 { font:700 21px/1.3 Georgia,serif; margin:0 0 12px; }
#content .club-contact-card p { margin:5px 0; font-size:13px; overflow-wrap:anywhere; }
.club-contact-card p > span { color:var(--muted); display:inline-block; min-width:40px; }
.club-contact-card a { text-decoration:none; }
.club-contact-card a:hover { text-decoration:underline; }
.club-email-link { display:inline-block; margin-top:12px; font-size:13px; font-weight:700; }
.club-schedule { padding-top:46px; margin-top:42px; border-top:1px solid var(--line); }
#content .club-schedule .schedule-intro h1 { font-size:32px; }
@media(max-width:850px) { .club-overview { grid-template-columns:1fr; } }
@media(max-width:600px) {
 .club-location,.club-contacts-panel { padding:22px 18px; }
 .club-location iframe { height:260px; }
 .club-contact-card { grid-template-columns:44px minmax(0,1fr); gap:12px; }
 .club-contact-avatar { width:44px; height:44px; }
 .club-contact-card h3 { font-size:19px; }
}
/* Region directories */
.region-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:0 0 38px; }
.region-state-group { margin-bottom:42px; }
.region-state-group .section-heading > span { font-size:13px; color:var(--muted); }
.region-club-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.region-club-card { display:flex; flex-direction:column; border:1px solid var(--line); background:#fff; border-radius:7px; overflow:hidden; }
.region-club-image { background:#eef0e9; height:190px; }
.region-club-image img { width:100%; height:100%; object-fit:cover; display:block; }
.region-club-image.region-logo { display:grid; place-items:center; background:var(--navy); height:150px; }
.region-club-image.region-logo img { width:112px; height:auto; max-height:105px; object-fit:contain; border-radius:3px; }
.region-club-copy { padding:26px; display:flex; flex-direction:column; flex:1; }
.region-club-copy h3 { font:700 25px/1.3 Georgia,serif; margin:0 0 14px; }
.region-club-copy h3 a { color:var(--navy); text-decoration:none; }
.region-club-copy a:hover { text-decoration:underline; }
#content .region-club-copy p:not(.eyebrow) { font-size:14px; margin:0 0 18px; color:var(--muted); overflow-wrap:anywhere; }
.region-club-contact span { display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:4px; }
.region-club-link { margin-top:auto; padding-top:18px; border-top:1px solid var(--line); text-decoration:none; font-size:13px; font-weight:700; }
.region-club-link > span { float:right; }
.region-index-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:36px; }
#content .region-index-grid .sbha_region { float:none; width:auto; margin:0; padding:26px; display:flex; flex-direction:column; border-top:3px solid #b89a68; }
.region-index-grid h3 { font:700 27px/1.3 Georgia,serif; margin:0 0 16px; }
.region-index-grid ul { padding-left:20px; margin:0 0 20px; font-size:14px; }
.region-index-grid .sbha_region > p:last-of-type { margin-top:auto; font-size:13px; }
.region-index-grid .sbha_region > br { display:none; }
.region-directory #regional_map { max-width:850px; margin:0 auto; }
@media(max-width:900px) { .region-index-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .region-club-grid,.region-index-grid { grid-template-columns:1fr; }
 .region-toolbar { flex-wrap:wrap; }
 .region-club-copy { padding:22px; }
 .region-club-copy h3 { font-size:23px; }
}
/* Photo galleries and full-size viewer */
.album-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.album-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:7px; overflow:hidden; text-decoration:none; color:var(--navy); }
.album-card > img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.album-copy { display:flex; flex-direction:column; flex:1; padding:24px; }
#content .album-copy h2 { font-size:25px; margin:0 0 28px; }
.album-open { font-size:13px; color:var(--red); margin-top:auto; padding-top:16px; border-top:1px solid var(--line); }
.album-open > span { float:right; }
.album-card:hover { border-color:var(--red); }
.album-placeholder { display:flex; flex-direction:column; justify-content:center; align-items:center; aspect-ratio:4/3; background:var(--navy); color:#e6d0ac; font:700 44px Georgia,serif; }
.album-placeholder span { font:12px Arial,sans-serif; letter-spacing:2px; text-transform:uppercase; margin-top:16px; }
.gallery-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:28px; font-size:13px; color:var(--muted); }
.photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.photo-tile { margin:0; min-width:0; background:white; border:1px solid var(--line); border-radius:5px; overflow:hidden; }
.gallery-photo-link { position:relative; display:block; background:var(--navy); }
.gallery-photo-link img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.photo-enlarge { position:absolute; bottom:12px; right:12px; padding:7px 10px; border-radius:3px; font-size:11px; color:white; background:#172c3ee6; }
.gallery-photo-link:hover .photo-enlarge { background:var(--red); }
.photo-tile figcaption { padding:15px 18px; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.photo-viewer { width:min(1200px,96vw); max-width:96vw; max-height:94vh; padding:18px; border:1px solid #ffffff33; border-radius:8px; background:#112333; color:#fff; }
.photo-viewer::backdrop { background:#07121cec; }
.viewer-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.viewer-count { font-size:13px; color:#d4dee5; }
.photo-viewer button { border:1px solid #ffffff60; border-radius:4px; background:#ffffff10; color:#fff; padding:10px 15px; font:600 14px Arial,sans-serif; cursor:pointer; min-height:44px; }
.photo-viewer button:hover { background:#ffffff25; }
.photo-viewer button:disabled { opacity:.3; cursor:default; }
.viewer-stage { display:grid; grid-template-columns:48px minmax(0,1fr) 48px; gap:12px; align-items:center; }
.viewer-image { display:block; width:100%; height:65vh; object-fit:contain; }
.viewer-caption { text-align:center; font-size:14px; max-width:850px; margin:16px auto; overflow-wrap:anywhere; }
.photo-viewer .viewer-original { display:block; text-align:center; color:#e8cfa5; font-size:12px; }
.single-gallery-photo { margin:0; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:white; }
.single-gallery-photo > div { padding:24px; background:var(--navy); }
.single-gallery-photo img { display:block; max-height:80vh; width:100%; object-fit:contain; }
.single-gallery-photo figcaption { padding:22px 28px; font-size:15px; }
@media(max-width:900px) { .album-grid,.photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .album-grid { grid-template-columns:1fr; }
 .photo-grid { gap:12px; }
 .gallery-toolbar { align-items:flex-start; flex-direction:column; }
 .photo-tile figcaption { padding:12px; font-size:12px; }
 .photo-enlarge { bottom:6px; right:6px; font-size:10px; padding:5px 7px; }
 .photo-viewer { padding:12px; }
 .viewer-stage { grid-template-columns:1fr 1fr; gap:12px; }
 .viewer-image { grid-column:1/-1; grid-row:1; height:55vh; }
 .viewer-prev,.viewer-next { grid-row:2; }
 .viewer-caption { font-size:12px; }
 .single-gallery-photo > div { padding:10px; }
}
/* Association leadership directories */
.officer-introduction { max-width:820px; color:var(--muted); font-size:15px; line-height:1.8; margin-top:18px; }
.officer-navigation { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 32px; }
.officer-navigation a { display:block; padding:11px 18px; border:1px solid var(--line); border-radius:4px; background:#fff; color:var(--navy); text-decoration:none; font-size:13px; font-weight:600; }
.officer-navigation a:hover { border-color:var(--navy); }
.officer-navigation a[aria-current="page"] { background:var(--navy); color:#fff; }
.officer-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.officer-card { display:flex; flex-direction:column; background:white; border:1px solid var(--line); border-top:3px solid #b89a68; border-radius:6px; padding:26px; min-width:0; }
.officer-card-top { display:flex; flex-direction:column; align-items:flex-start; gap:22px; }
.officer-portrait { width:112px; height:112px; border-radius:50%; object-fit:cover; object-position:center; background:var(--cream); }
.officer-initials { display:grid; place-items:center; background:var(--navy); color:#e6d0ac; font:400 36px Georgia,serif; }
#content .officer-role { font:700 11px/1.5 Arial,sans-serif; letter-spacing:1.2px; text-transform:uppercase; color:var(--red); margin:0 0 10px; }
#content .officer-card h2 { font:700 27px/1.25 Georgia,serif; margin:0 0 28px; overflow-wrap:anywhere; }
.officer-card-action { margin-top:auto; padding-top:18px; border-top:1px solid var(--line); font-size:13px; }
.officer-card-action a { display:block; text-decoration:none; font-weight:600; }
.officer-card-action a:hover { text-decoration:underline; }
.officer-card-action a > span[aria-hidden] { float:right; }
.officer-card-action > span { color:var(--muted); }
.officer-group-photo { margin:0 0 32px; padding:18px; background:#fff; border:1px solid var(--line); border-radius:6px; }
.officer-group-photo img { display:block; width:100%; max-height:550px; object-fit:contain; }
@media(max-width:950px) { .officer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .officer-grid { grid-template-columns:1fr; gap:18px; }
 .officer-card { padding:24px; }
 .officer-navigation { gap:8px; }
 .officer-navigation a { padding:10px 12px; font-size:12px; }
 .officer-portrait { width:90px; height:90px; }
}
