/* Allegheny Trailrunners. Matches the old Jupiter theme look (IM Fell English SC titles, Libre Baskerville text,
   white header, dark grey footer, coral and orange buttons) with accessible colors and a real mobile layout. */

@font-face { font-family: "IM Fell English SC"; src: url(/assets/fonts/im-fell-english-sc.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url(/assets/fonts/libre-baskerville.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url(/assets/fonts/libre-baskerville-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #222;
  --text: #333;
  --muted: #555;
  --line: #ddd;
  --tint: #f5f5f5;
  --link: #4f4cc9;          /* the old lavender #9492f5, darkened to read on white */
  --red: #c8372d;           /* old coral "danger" buttons, darkened for white text */
  --red-hover: #a92d24;
  --orange: #ff9900;        /* old "warning" buttons; dark text on it */
  --orange-hover: #f08c00;
  --orange-text: #a65300;   /* orange used as text on white */
  --orange-light: #ffb13b;  /* orange text on photos */
  --green: #2e7d32;
  --blue: #4b49c8;
  --footer: #404040;
  --subfooter: #383838;
  --display: "IM Fell English SC", Georgia, serif;
  --body: "Libre Baskerville", Georgia, serif;
  --wrap: 1140px;
  --pad: 24px;
  --header-h: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font: 400 17px/1.75 var(--body); color: var(--text); background: #fff; }
img, iframe, video { max-width: 100%; }
button, input, textarea, select { font-family: inherit; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #2f2ca3; }
:focus-visible { outline: 3px solid #4f4cc9; outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); text-wrap: balance; margin: 0 0 16px; line-height: 1.2; }
p, li { text-wrap: pretty; }
main p, main li, main td, main h1, main h2, main h3, main h4, main h5 { overflow-wrap: break-word; }
main a { overflow-wrap: anywhere; }
p { margin: 0 0 18px; }
ul, ol { margin: 0 0 20px; padding-left: 1.4em; }
li { margin-bottom: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px auto; max-width: var(--wrap); }
strong, b { font-weight: 700; }
blockquote { margin: 24px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); font-style: italic; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #000; color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
.tc { text-align: center; }
.tr { text-align: right; }
.c-red { color: #c62828; }
.c-orange { color: var(--orange-text); }
.c-blue { color: #1f4fbf; }
.c-green { color: var(--green); }
.icon { flex: none; vertical-align: middle; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: calc(760px + var(--pad) * 2); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #eee; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: 250px; height: auto; display: block; }
.nav-toggle { display: none; }
.site-nav .menu { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav .has-sub { position: relative; display: flex; align-items: center; }
.site-nav a.top { display: block; padding: 10px 6px 10px 14px; color: #444; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-nav .has-sub.is-active > a.top { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-nav a.top:hover { color: var(--red); }
.sub-toggle { background: none; border: 0; padding: 8px 6px; color: #666; cursor: pointer; display: flex; border-radius: 4px; }
.sub-toggle .icon { transition: transform .2s; }
.site-nav .sub { position: absolute; top: 100%; left: 0; min-width: 290px; list-style: none; margin: 0; padding: 10px 0; background: #333; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 10; }
.site-nav .sub-right { left: auto; right: 0; }
.site-nav .sub a { display: block; padding: 10px 22px; color: #fff; font-size: 15px; line-height: 1.45; text-decoration: none; white-space: nowrap; }
.site-nav .sub a:hover, .site-nav .sub a[aria-current] { background: #444; color: var(--orange-light); }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub.open > .sub, .site-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .has-sub.open > .sub-toggle .icon { transform: rotate(180deg); }
.nav-cta { margin-left: 12px; }
.cta-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--orange); color: #1a1a1a; font: 700 15px/1 var(--body); cursor: pointer; }
.cta-btn:hover { background: var(--orange-hover); }

/* ---------- sections ---------- */
main { display: block; }
section.row { padding: 40px 0; }
section:is(.row, .band):not(.has-bg):not(.tint) + section:is(.row, .band):not(.has-bg):not(.tint) { padding-top: 8px; }
section.row.full:not(.has-bg):not(.tint) + section:is(.row, .band):not(.has-bg):not(.tint) { padding-top: 48px; }
section.row.full { padding: 0; }
/* a section that ends in a heading belongs to the section after it */
section:not(.has-bg):has(> .wrap > .cols.one > :is(h2, h3, .ornament):last-child) { padding-bottom: 0; }
section:not(.has-bg):has(> .wrap > .cols.one > :is(h2, h3, .ornament):last-child) + section:not(.has-bg) { padding-top: 16px; }
section.row.full > .wrap { max-width: 1440px; padding: 0; }
section.band { padding: 56px 0; }
section.band.tint { background: var(--tint); }
.band.has-bg { position: relative; display: flex; align-items: center; min-height: min(var(--minh, 560px), 80vh); padding: 96px 0; color: #fff; overflow: hidden; isolation: isolate; background: #2b2b2b; }
.band.has-bg .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .25) 100%); }
.band.has-bg.photo-only { min-height: min(var(--minh, 480px), 62vh); padding: 0; }
.band.has-bg.photo-only::after { display: none; }
.band.has-bg h1, .band.has-bg h2, .band.has-bg h3, .band.has-bg p, .band.has-bg li { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.band.has-bg a:not(.btn) { color: #fff; }
.band.has-bg .wrap { position: relative; }
section > .wrap > :last-child, .text > :last-child, .col > :last-child, .cols > :last-child { margin-bottom: 0; }

.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; align-items: start; }
.cols.one { display: block; }
.cols.one.w10 { max-width: 83.333%; margin-inline: auto; }
.cols.one.w8 { max-width: 720px; margin-inline: auto; }
.cols.one.w6 { max-width: 640px; margin-inline: auto; }
.cols.one.w4 { max-width: 480px; margin-inline: auto; }
.cols.one > .text { max-width: 720px; margin-inline: auto; }
.col { min-width: 0; }
.col.s1 { grid-column: span 1; } .col.s2 { grid-column: span 2; } .col.s3 { grid-column: span 3; } .col.s4 { grid-column: span 4; }
.col.s5 { grid-column: span 5; } .col.s6 { grid-column: span 6; } .col.s7 { grid-column: span 7; } .col.s8 { grid-column: span 8; }
.col.s9 { grid-column: span 9; } .col.s10 { grid-column: span 10; } .col.s11 { grid-column: span 11; } .col.s12 { grid-column: span 12; }
.cols > * + * { margin-top: 0; }
.cols.one > * + * { margin-top: 24px; }
.col > * + * { margin-top: 20px; }

/* ---------- type ---------- */
.fancy { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.12; }
.fancy-xl { font-size: clamp(38px, 4.6vw, 62px); }
.fancy-l { font-size: clamp(30px, 3.2vw, 42px); }
.fancy-m { font-size: clamp(28px, 2.6vw, 34px); }
.fancy-s { font-size: 26px; }
.ta-center { text-align: center; }
.ta-left { text-align: left; }
.ta-right { text-align: right; }
h1:not(.fancy), .text h2, h2:not(.fancy) { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 38px); line-height: 1.18; }
h1:not(.fancy) { font-size: clamp(36px, 4vw, 52px); }
.text h3, h3 { font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: .01em; }
.text h4, h4, .text h5, h5, h6 { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.text h2, .text h3, .text h4 { margin-top: 36px; }
.text > :first-child { margin-top: 0; }
.text h5 + h5 { margin-top: -4px; }
.text p:empty { display: none; }
.text img.alignright, .text .wp-fig.alignright { float: right; margin: 6px 0 20px 32px; max-width: 45%; }
.text img.alignleft, .text .wp-fig.alignleft { float: left; margin: 6px 32px 20px 0; max-width: 45%; }
.text img.aligncenter, .text .wp-fig.aligncenter { display: block; margin: 24px auto; }
.text::after { content: ""; display: table; clear: both; }
.text img { border-radius: 2px; }
.text a.lb { display: inline-block; }
.text a:has(> img.alignright) { float: right; margin: 6px 0 20px 32px; max-width: 45%; }
.text a:has(> img.alignleft) { float: left; margin: 6px 32px 20px 0; max-width: 45%; }
.text a:has(> img.alignright) img, .text a:has(> img.alignleft) img { float: none; margin: 0; max-width: 100%; }
.text figure { margin: 24px 0; }
figure { margin: 0; }
figcaption { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 8px; text-align: center; }
.wp-fig img { display: block; width: 100%; }
.single-img { text-align: center; }
.single-img.a-left { text-align: left; }
.single-img.a-right { text-align: right; }
.single-img img { display: inline-block; }
.ornament { display: flex; align-items: center; gap: 20px; justify-content: center; text-align: center; margin: 24px 0; }
.ornament::before, .ornament::after { content: ""; flex: 1; max-width: 220px; border-top: 3px double #999; }
.sep-title { display: flex; align-items: center; gap: 20px; text-align: center; font-size: 21px; margin: 32px 0 24px; }
.sep-title::before, .sep-title::after { content: ""; flex: 1; border-top: 2px solid var(--line); }
blockquote.pull { font-size: 20px; line-height: 1.6; border-left-color: var(--red); }
.post-date { font-size: 17px; opacity: .95; }
.band.has-bg h1.fancy { font-size: clamp(38px, 4.6vw, 62px); }
section.page-title { padding-bottom: 0; }
.privacy .text h2 { font-size: clamp(26px, 2.6vw, 32px); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 24px 16px; justify-content: center; align-items: center; margin: 28px 0 0; }
.text .btns { margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 12px 28px; border: 0; border-radius: 6px; font: 700 16px/1.3 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn.long { white-space: normal; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); color: #fff; }
.btn-orange { background: var(--orange); color: #1a1a1a; }
.btn-orange:hover { background: var(--orange-hover); color: #1a1a1a; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #24692a; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #3b39a8; color: #fff; }
.btn-dark { background: #333; color: #fff; }
.btn-dark:hover { background: #111; color: #fff; }

/* ---------- home ---------- */
.home-band { text-align: center; }
.home-band .wrap { max-width: 980px; }
.home-band::after { background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .35) 100%); }
.race-date { font: 700 22px/1.3 var(--body); letter-spacing: .04em; color: var(--orange-light) !important; margin-bottom: 12px; }
.home-band h1, .home-band h2 { font-size: clamp(42px, 5.6vw, 72px); margin-bottom: 16px; }
.race-sub { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; margin: 0 auto; max-width: 720px; }

/* ---------- embeds ---------- */
.embed { position: relative; width: 100%; aspect-ratio: var(--ratio, 16/9); background: #eee; max-width: 1140px; margin: 0 auto; }
.embed[style*="--h"] { aspect-ratio: auto; height: min(var(--h), 78vh); }
.embed-doc { max-width: 900px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-link { text-align: center; font-size: 16px; margin: 0 0 12px !important; }
.embed-link a { display: inline-flex; align-items: center; min-height: 44px; }
.video { position: relative; aspect-ratio: 16/9; background: #000; margin: 0 auto; max-width: 1140px; }
.row.full .video { max-width: none; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 60px; margin: -30px 0 0 -42px; border-radius: 14px; background: #e62117; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transition: transform .15s; }
.yt-play::after { content: ""; position: absolute; left: 34px; top: 18px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play { transform: scale(1.06); }
.yt-title { position: absolute; left: 0; right: 0; top: 0; padding: 18px 24px 40px; color: #fff; font: 700 18px/1.4 var(--body); text-align: left; background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.spark-card { display: block; max-width: 820px; margin: 0 auto; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); }
.spark-card img { display: block; width: 100%; }
.social-card { text-align: center; padding: 40px 32px; background: var(--tint); border-radius: 8px; max-width: 640px; margin: 0 auto; }
.social-card .btns { margin-top: 20px; }
.social-row { display: flex; justify-content: center; gap: 16px; margin: 16px 0; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #333; color: #fff; }
.social-row a:hover { background: var(--red); }

/* ---------- galleries and sliders ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.slider { position: relative; max-width: 1140px; margin: 0 auto; }
.slider .slides { display: grid; }
.slider .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; display: flex; align-items: center; justify-content: center; }
.slider .slide.is-active { opacity: 1; visibility: visible; }
.slider .slide img { display: block; width: 100%; }
.hero-slider .slide img { aspect-ratio: 16/8; object-fit: cover; }
.slider button { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.slider button:hover { background: rgba(0, 0, 0, .8); }
.sl-prev { left: 12px; }
.sl-next { right: 12px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- cards ---------- */
.circle-card { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); text-align: center; }
.circle-card .circle-img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; transition: transform .25s, box-shadow .25s; }
.circle-card:hover .circle-img { transform: scale(1.03); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.circle-title { font: 700 20px/1.3 var(--body); text-transform: uppercase; letter-spacing: .04em; }
.circle-card:hover .circle-title { color: var(--red); }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; margin-top: 32px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 2px 14px rgba(0, 0, 0, .08); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.post-card-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; }
.post-card-title { font: 400 26px/1.2 var(--display); }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; font-size: 16px; }
.recent h2 { margin-bottom: 0; }
.icon-box { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--red); text-align: center; }
.icon-box h4 { color: var(--ink); margin: 0; letter-spacing: .06em; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; min-width: 560px; }
.table-wrap th { background: #333; color: #fff; text-align: left; padding: 10px 12px; font-weight: 700; }
.table-wrap td { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: #fafafa; }
.table-wrap td.tc, .table-wrap th.tc { text-align: center; }
.table-wrap ul { margin: 8px 0 0; }
.agenda-row { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); max-width: 820px; margin: 0 auto; }
.agenda-t, .agenda-d { line-height: 1.6; }

/* ---------- contact form ---------- */
.contact-form { max-width: 720px; margin: 0 auto; }
.contact-form form { display: grid; gap: 22px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.contact-form legend, .contact-form label { font-weight: 700; font-size: 16px; color: var(--ink); }
.contact-form legend { margin-bottom: 8px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .two label { font-weight: 400; color: var(--muted); }
.contact-form label { display: grid; gap: 8px; }
.contact-form .l { display: block; }
.contact-form .hint { font-weight: 400; color: var(--muted); font-size: 15px; line-height: 1.5; }
.contact-form .req { color: var(--red); }
.contact-form input, .contact-form textarea { width: 100%; font: 400 17px/1.5 var(--body); color: var(--ink); padding: 12px 14px; min-height: 50px; border: 1px solid #aaa; border-radius: 6px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--link); outline: 2px solid var(--link); outline-offset: 0; }
.contact-form .form-submit { margin: 6px 0 0; }
.contact-form .form-note { margin: 0; color: var(--muted); font-size: 16px; }
.alert { padding: 24px 28px; border-radius: 8px; margin-bottom: 24px; }
.alert p { margin: 0; }
.alert ul { margin: 8px 0 0; }
.alert.ok { display: flex; gap: 14px; align-items: center; background: #e9f5ea; color: #1d4d20; border: 1px solid #b9dcbb; font-size: 18px; }
.alert.err { background: #fdecea; color: #7a1c14; border: 1px solid #f3c2bc; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: #d0d0d0; font-size: 16px; line-height: 1.7; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange-light); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.site-footer p, .site-footer li { color: #d0d0d0; }
.f-logo { width: 260px; filter: invert(1); margin-bottom: 20px; display: block; }
.f-social, .f-contact { display: flex; flex-direction: column; gap: 8px; margin: 0 0 8px; }
.f-social a, .f-contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.f-privacy { margin: 0; }
.f-privacy a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.f-sponsor { text-align: center; }
.f-title { font: 400 32px/1.2 var(--display); color: #fff; margin-bottom: 24px; }
.f-sponsor-logo { display: inline-block; }
.f-sponsor-logo img { width: 240px; }
.f-ts { display: inline-block; margin-bottom: 16px; }
.f-ts img { width: 150px; }
.site-footer ul { padding-left: 1.2em; }
.sub-footer { background: var(--subfooter); padding: 18px var(--pad); }
.site-copyright { margin: 0; text-align: center; font-size: 10px; line-height: 1.6; letter-spacing: .06em; color: #c8c8c8; }

/* Cassus Media badge (standard on every client site) */
.cassus-media-badge { width: 100%; height: 100px; background-color: #000; display: flex; justify-content: center; align-items: center; padding: 15px 0; }
.cassus-media-badge img { width: 180px; height: auto; aspect-ratio: 3/1; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .logo img { width: 210px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 6px; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 8px 0 40px; border-top: 1px solid #eee; display: none; }
  .site-nav.open { display: block; }
  .site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--pad); }
  .site-nav .has-sub { flex-wrap: wrap; border-bottom: 1px solid #eee; }
  .site-nav a.top { flex: 1; padding: 16px 0; font-size: 17px; }
  .sub-toggle { width: 48px; height: 48px; align-items: center; justify-content: center; }
  .site-nav .sub { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--tint); padding: 4px 0; display: none; border-radius: 6px; margin-bottom: 12px; }
  .site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub { display: none; }
  .site-nav .has-sub.open > .sub { display: block; }
  .site-nav .sub a { color: var(--ink); font-size: 16px; padding: 12px 18px; white-space: normal; }
  .site-nav .sub a:hover, .site-nav .sub a[aria-current] { background: #eaeaea; color: var(--ink); }
  .nav-cta { margin: 20px 0 0; border: 0 !important; }
  .cta-btn { width: 100%; justify-content: center; min-height: 52px; font-size: 17px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 800px) {
  :root { --pad: 20px; }
  body { font-size: 17px; }
  .cols { display: block; }
  .cols > .col + .col { margin-top: 32px; }
  .col.gap { display: none; }
  .cols.one.w10, .cols.one.w8, .cols.one.w6, .cols.one.w4 { max-width: none; }
  section.row { padding: 32px 0; }
  section.band { padding: 48px 0; }
  .band.has-bg { min-height: min(var(--minh, 560px), 72vh); padding: 72px 0; }
  .band.has-bg.photo-only { min-height: 280px; }
  .text img.alignright, .text img.alignleft, .text .wp-fig.alignright, .text .wp-fig.alignleft, .text a:has(> img.alignright), .text a:has(> img.alignleft) { float: none; display: block; margin: 20px auto; max-width: 100%; width: fit-content; }
  .footer-cols { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .f-sponsor { text-align: left; }
  .agenda-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-form .two { grid-template-columns: 1fr; }
  .btns { flex-direction: column; align-items: stretch; gap: 24px; }
  .btns .btn { width: 100%; }
  .circle-card .circle-img { width: 200px; height: 200px; }
  .embed[style*="--h"] { height: min(var(--h), 70vh); }
  .yt-title { font-size: 15px; padding: 12px 16px 30px; }
  h1:not(.fancy), .fancy-xl, .band.has-bg h1.fancy, .home-band h1, .home-band h2 { font-size: 34px; }
  .fancy-l, .text h2, h2:not(.fancy) { font-size: 28px; }
  .fancy-m { font-size: 25px; }
  .text h3, h3 { font-size: 20px; }
  .yt-play { width: 68px; height: 48px; margin: -24px 0 0 -34px; }
  .yt-play::after { left: 27px; top: 14px; border-width: 10px 0 10px 16px; }
}
@media (max-width: 420px) {
  .logo img { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
