:root {
  --blue: #246c96;
  --panel: #37698f;
  --red: #a00303;
  --ink: #333;
  --text: #555;
  --muted: #777;
  --gray: #f5f5f5;
  --line: #e2e2e2;
  --white: #fff;
  --footer: #222;
  --footer-bar: #171717;
  --sky: #9cc3e6;
  --sans: "Open Sans", Arial, sans-serif;
  --page: 1200px;
  --wrap: 1080px;
  --shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sky); color: var(--text); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--sky) url("/uploads/8d8833eff4f076f89a3db7a65e181551ddebd2e0751a27e07781908628932ab4.webp") center / cover no-repeat; }
#cbc-page { display: block; width: 100%; min-height: 100vh; background: none; color: var(--text); font: 16px/1.75 var(--sans); text-align: left; animation: none; color-scheme: light; }
.cbc-site { max-width: var(--page); margin: 0 auto; background: var(--white); box-shadow: 0 0 24px rgba(0, 0, 0, 0.18); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--blue); }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; color: var(--blue); line-height: 1.3; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin: 0 auto; }
.narrow { max-width: 820px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 8px 16px; background: var(--white); }

.btn { display: inline-block; padding: 0.55em 1.5em; border: 2px solid var(--red); border-radius: 4px; background: var(--red); color: var(--white); font: 600 15px/1.4 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.btn:hover, .btn:focus-visible { background: var(--blue); border-color: var(--blue); color: var(--white); }
.more { font-weight: 600; text-decoration: none; }

/* Header */
.site-header { position: relative; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0 10px; }
.site-header__logo img { width: 240px; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav a, .nav__label { color: #666; font: 600 14px/2.4 var(--sans); text-decoration: none; cursor: pointer; }
.nav a:hover, .nav a[aria-current] { color: var(--red); }
.nav__item--sub > a::after, .nav__label::after { content: " ▾"; font-size: 11px; }
.nav__sub { display: none; position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 220px; margin: 0; padding: 10px 0; list-style: none; background: var(--white); border-top: 3px solid var(--red); box-shadow: var(--shadow); }
.nav__sub a { display: block; padding: 4px 18px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { display: block; }
.nav-toggle { display: none; position: absolute; right: 12px; top: 22px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--red); }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -7px; }
.nav-toggle span:first-child::after { left: 0; top: 7px; }

/* Home */
.welcome-panel { padding: 48px 32px; text-align: center; box-shadow: var(--shadow); }
.welcome-panel h1 { margin-bottom: 0.3em; }
.welcome-panel p { max-width: 640px; margin: 0 auto 1.4em; font-size: 1.1rem; }
.times-panel { margin-top: 24px; padding: 32px; background: var(--panel); color: var(--white); text-align: center; }
.times-panel h2 { margin: 0 0 0.2em; color: var(--white); font-size: 1.6rem; }
.times-panel h2 + p { margin-bottom: 1em; font-size: 1.05rem; }
.times-panel ul { margin: 0 0 0.8em; padding: 0; list-style: none; font-weight: 700; }
.times-panel em { display: block; margin-bottom: 0.8em; }
.times-panel a { color: #ffd1d1; font-weight: 700; font-size: 1.1rem; }
.times-panel a:hover { color: var(--white); }
.watch { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.live { display: grid; place-content: center; justify-items: center; gap: 10px; aspect-ratio: 16 / 9; padding: 24px; background: linear-gradient(135deg, var(--panel), #1f4a6b); color: var(--white); text-align: center; text-decoration: none; box-shadow: var(--shadow); }
.live:hover { color: var(--white); }
.live__play { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform 0.2s ease; }
.live__play::after { content: ""; width: 20px; height: 24px; margin-left: 5px; background: var(--white); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.live:hover .live__play, .live:focus-visible .live__play { transform: scale(1.08); }
.live__title { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 600; line-height: 1.3; }
.live__note { max-width: 34ch; font-size: 15px; line-height: 1.5; opacity: 0.9; }
.live .btn { margin-top: 6px; }
.live:hover .btn { background: var(--blue); border-color: var(--white); }
.give { display: block; border: 3px solid #2fb15d; border-radius: 20px; overflow: hidden; }
.give:hover { border-color: var(--blue); }
.blurbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.blurb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 16px; }
.blurb h2 { font-size: 1.3rem; }
.blurb h2 a { color: var(--blue); text-decoration: none; }
.blurb h2 a:hover { color: var(--red); }

/* Bands & pages */
.band { padding: 56px 0; }
.band--gray { background: var(--gray); }
.page-title { padding: 44px 0 0; }
.page-title h1 { margin: 0; }
.page-title:last-child { padding-bottom: 72px; }
.page-title p { margin: 0.4em 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose--post { font-size: 17px; }
.times-list { margin: 0 0 1.4em; padding: 0; list-style: none; }
.times-list li { color: var(--blue); font-size: 1.3rem; line-height: 1.6; }
.times-list small { display: block; font-size: 1rem; }
.photo { width: 100%; box-shadow: var(--shadow); }
.photo--top { margin-bottom: 32px; }
.photo--logo { max-width: 420px; margin: 0 auto 32px; box-shadow: none; }
.visit dt { font-weight: 700; color: var(--ink); }
.visit dd { margin: 0 0 1em; }
.map-link { display: inline-block; margin-top: 4px; }
.form { display: grid; gap: 14px; max-width: 640px; }
.form h2 { font-size: 1.4rem; }
.form label span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form textarea, .form select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; background: var(--gray); font: 16px/1.4 var(--sans); color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: var(--white); }
.form button { justify-self: start; }

/* Posts */
.meta { margin: 0 0 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.post-img { width: 100%; margin: 0 0 32px; box-shadow: var(--shadow); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-weight: 600; }
.post-nav small { display: block; font-weight: 400; color: var(--muted); }
.post-nav .next { text-align: right; grid-column: 2; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 48px 0 32px; }
.site-footer h2 { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: #ff8a8a; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--white); }
.site-footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.site-footer__links a { text-decoration: none; }
.site-footer__bottom { background: var(--footer-bar); }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px 0; font-size: 13px; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 900px) {
  .watch, .blurbs, .split, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-header__bar { align-items: flex-start; }
  .site-header__logo img { width: 180px; }
  .site-nav { display: none; width: 100%; padding-bottom: 12px; }
  .site-nav.is-open { display: block; }
  .nav { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav__sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 4px 12px; min-width: 0; }
  .nav__item--sub > a::after, .nav__label::after { content: ""; }
  .band { padding: 40px 0; }
  .welcome-panel { padding: 36px 18px; }
  .times-panel { padding: 24px 16px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { grid-column: 1; text-align: left; }
}
