/* =====================================================================
   Calvary SonRise — "New Every Morning" theme overlay
   Served from /Themes/Compass/Styles/cso-theme.css. Loaded ONLY when the preview cookie
   (cso-theme=on) is set — see cso-theme-gate.lava. Every rule is scoped to html.cso-theme.
   Tokens: Night Ink #141A3D · Bible Paper #F7F3EA · Limestone #E8DFCC · Sunrise Gold #FFCC00 (dark grounds only)
           Ochre #8A6400 · Covenant Blue #000099 (links) · Ember #B3412A (live only) · Slate #4E5163
           Hairline #D8CDB8 · Mist #C8BFB0. Fonts: Newsreader (display), Atkinson Hyperlegible Next (text).
   ===================================================================== */
html.cso-theme {
  --ink: #141A3D; --ink-2: #0B0F2A; --ink-line: #2E3560; --paper: #F7F3EA; --stone: #E8DFCC; --gold: #FFCC00;
  --ochre: #8A6400; --blue: #000099; --ember: #B3412A; --slate: #4E5163; --line: #D8CDB8; --mist: #C8BFB0; --white: #FFFFFF;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1248px;
  scroll-padding-top: 140px;
}

/* ---------- Base ---------- */
html.cso-theme body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html.cso-theme body, html.cso-theme .compass-main, html.cso-theme main.container { background: var(--paper); }
html.cso-theme h1, html.cso-theme h2, html.cso-theme h3, html.cso-theme h4, html.cso-theme .h1, html.cso-theme .h2, html.cso-theme .h3 {
  font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
html.cso-theme h5, html.cso-theme h6 { font-family: var(--sans); font-weight: 700; color: var(--ink); }
html.cso-theme a { color: var(--blue); text-underline-offset: 3px; }
html.cso-theme a:hover, html.cso-theme a:focus { color: var(--ink); }
html.cso-theme :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
html.cso-theme .sc, html.cso-theme .cso-sc { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-weight: 500; }
html.cso-theme hr { border-color: var(--line); }
html.cso-theme ::selection { background: var(--gold); color: var(--ink); }

/* ---------- Header (Compass #mainNav) ---------- */
html.cso-theme #mainNav { position: sticky !important; top: 0; background: var(--paper) !important; border: 0; border-bottom: 1px solid var(--line); box-shadow: none !important; min-height: 0; margin: 0; transition: none; }
html.cso-theme header.exclude-nav { margin-top: 0 !important; }
html.cso-theme #mainNav { height: auto !important; max-height: none !important; overflow: visible !important; z-index: 1030; width: auto !important; padding-right: 0 !important; }
html.cso-theme #mainNav > .container-fluid { width: auto; min-width: 0; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; align-items: center; box-sizing: border-box; }
html.cso-theme #mainNav #zone-nav, html.cso-theme #mainNav #zone-navlogo { min-width: 0; max-width: 100%; box-sizing: border-box; }
html.cso-theme #mainNav #zone-navlogo, html.cso-theme #mainNav #zone-nav { float: none; }
html.cso-theme #mainNav #zone-nav { margin-left: auto; }
html.cso-theme #mainNav .navbar-brand { height: auto; padding: 12px 0; }
html.cso-theme #mainNav .navbar-brand img { height: 56px; width: auto; max-width: none; }
html.cso-theme #mainNav.affix .navbar-brand img { height: 48px; }
html.cso-theme #mainNav .navbar-nav > li > a { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink) !important; text-transform: none; letter-spacing: 0; padding: 26px 14px !important; background: transparent !important; }
html.cso-theme #mainNav .navbar-nav > li > a:hover { color: var(--blue) !important; }
html.cso-theme #mainNav .navbar-nav > li.active > a, html.cso-theme #mainNav .navbar-nav > li.current > a { box-shadow: inset 0 -3px 0 var(--gold) !important; }
html.cso-theme #mainNav .dropdown-menu { background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--ink); border-radius: 0 0 3px 3px; box-shadow: none; padding: 6px 0; }
html.cso-theme #mainNav .dropdown-menu > li > a { font-family: var(--sans); font-size: 16px; color: var(--ink); padding: 10px 18px; }
html.cso-theme #mainNav .dropdown-menu > li > a:hover { background: var(--stone); color: var(--ink); }
html.cso-theme #mainNav .navbar-toggle { border: 1px solid var(--ink); border-radius: 2px; width: 48px; height: 48px; margin: 12px 0; background: transparent; }
html.cso-theme #mainNav .navbar-toggle span[class^="navbar-toggle__burger"] { background: var(--ink) !important; }
@media (max-width: 767px) {
  html.cso-theme #mainNav > .container-fluid { padding: 0 16px; }
  html.cso-theme #mainNav #zone-navlogo { flex: 1 1 auto; width: 100%; }
  html.cso-theme #mainNav .navbar-header { display: flex; align-items: center; width: 100%; float: none; margin: 0; }
  html.cso-theme #mainNav .navbar-header .navbar-brand { order: 1; }
  html.cso-theme #mainNav .navbar-toggle { position: static !important; transform: none !important; top: auto !important; right: auto !important; order: 2; margin: 0 0 0 auto; float: none; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 0; }
  html.cso-theme #mainNav .navbar-toggle span[class^="navbar-toggle__burger"] { position: static !important; display: block; width: 22px; height: 2px; margin: 0; transform: none !important; opacity: 1 !important; }
  html.cso-theme #mainNav .navbar-collapse.in, html.cso-theme #mainNav .navbar-collapse.collapsing { max-height: 70vh; overflow-y: auto; }
  html.cso-theme #mainNav #zone-nav { margin-left: 0; width: 100%; }
  html.cso-theme #mainNav .navbar-collapse { border-top: 1px solid var(--line); box-shadow: none; }
  html.cso-theme #mainNav .navbar-nav > li > a { padding: 14px 4px !important; border-bottom: 1px solid var(--line); }
  html.cso-theme #mainNav .navbar-brand img { height: 46px; }
}

/* Top bar (service times) and live bar — inserted into #mainNav by the gate block */
html.cso-theme .cso-topbar { width: 100%; flex: 0 0 100%; order: -1; background: var(--ink); color: var(--mist); font-family: var(--sans); font-size: 15px; line-height: 1.4; }
html.cso-theme #mainNav > .cso-topbar { margin: 0; }
html.cso-theme .cso-topbar__in { max-width: var(--wrap); margin: 0 auto; padding: 9px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
html.cso-theme .cso-topbar strong { color: var(--paper); font-weight: 700; }
html.cso-theme .cso-topbar a { color: var(--gold); font-weight: 700; text-decoration: none; margin-left: auto; }
html.cso-theme .cso-topbar a:hover { text-decoration: underline; color: var(--gold); }
html.cso-theme .cso-topbar--live { background: var(--ember); color: #FFFFFF; }
html.cso-theme .cso-topbar--live a { color: #FFFFFF; }
html.cso-theme .cso-topbar--live .cso-topbar__sun { width: 38px; height: 20px; display: block; }
html.cso-theme .cso-topbar--live b { letter-spacing: .07em; }
html.cso-theme .cso-topbar__times { display: flex; gap: 6px 22px; flex-wrap: wrap; }
html.cso-theme .cso-topbar__times--short, html.cso-theme .cso-topbar__short { display: none; }
@media (max-width: 640px) {
  /* Phone: one line — "Sun 9:30 AM  Wed 6:30 PM  Watch →" */
  html.cso-theme .cso-topbar__in { padding: 8px 16px; font-size: 14px; flex-wrap: nowrap; gap: 14px; white-space: nowrap; }
  html.cso-theme .cso-topbar__addr, html.cso-theme .cso-topbar__times, html.cso-theme .cso-topbar__long { display: none; }
  html.cso-theme .cso-topbar__times--short { display: flex; flex-wrap: nowrap; gap: 12px; min-width: 0; overflow: hidden; }
  html.cso-theme .cso-topbar__short { display: inline; }
  html.cso-theme .cso-topbar a { flex: 0 0 auto; }
  html.cso-theme .cso-topbar--live .cso-topbar__sun { width: 30px; height: 16px; }
}

/* ---------- Footer (colophon replaces the Compass footer block) ---------- */
html.cso-theme footer #connect { display: none !important; }
html.cso-theme footer { background: var(--ink); padding: 0; }
html.cso-theme .cso-colophon { background: var(--ink); color: var(--mist); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
html.cso-theme .cso-colophon__in { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px; }
html.cso-theme .cso-colophon__logo { height: 64px; width: auto; display: block; margin-bottom: 14px; }
html.cso-theme .cso-colophon__verse { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--paper); line-height: 1.4; }
/* The CSO motto (same treatment as the home motto band, recoloured for ink: gold carries the key words) */
html.cso-theme .cso-colophon__motto { margin: 0; font-style: normal; font-weight: 500; font-variant-caps: all-small-caps; letter-spacing: .07em; font-size: 22px; line-height: 1.3; color: var(--paper); max-width: 22em; }
html.cso-theme .cso-colophon__motto i { font-variant-caps: normal; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--mist); font-size: .7em; padding: 0 .06em; }
html.cso-theme .cso-colophon__motto b { font-weight: 500; color: var(--gold); }
html.cso-theme .cso-colophon h2 { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 18px; color: var(--gold); margin: 0 0 6px; }
html.cso-theme .cso-colophon p { margin: 0; color: var(--paper); }
html.cso-theme .cso-colophon a { color: var(--paper); }
html.cso-theme .cso-colophon a:hover { color: var(--gold); }
html.cso-theme .cso-colophon__social { display: flex; gap: 18px; margin-top: 12px; font-size: 22px; }
html.cso-theme .cso-colophon__fine { color: var(--mist) !important; font-size: 14px; margin-top: 10px !important; }
html.cso-theme .cso-colophon__horizon { display: block; width: 100%; height: auto; margin-top: 18px; }
html.cso-theme .compass-top { background: var(--ink) !important; border-radius: 2px !important; color: var(--paper) !important; }

/* ---------- Rock / Bootstrap pieces used across the site ---------- */
html.cso-theme .btn { font-family: var(--sans); font-weight: 700; border-radius: 2px; box-shadow: none; text-shadow: none; letter-spacing: 0; text-transform: none; }
html.cso-theme .btn:not(.btn-xs):not(.btn-sm):not(.btn-link) { font-size: 16px; padding: 12px 20px; min-height: 48px; }
html.cso-theme .btn-primary, html.cso-theme .btn-primary:focus { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html.cso-theme .btn-primary:hover, html.cso-theme .btn-primary:active { background: var(--ink-2); border-color: var(--ink-2); color: var(--paper); }
html.cso-theme .btn-default, html.cso-theme .btn-secondary { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
html.cso-theme .btn-default:hover, html.cso-theme .btn-secondary:hover { background: var(--stone); color: var(--ink); border-color: var(--ink); }
html.cso-theme .btn-link { color: var(--blue); font-weight: 700; }
html.cso-theme .btn-success { background: var(--ink); border-color: var(--ink); }
html.cso-theme .btn-danger { background: var(--ember); border-color: var(--ember); }
html.cso-theme .form-control { border: 1px solid var(--ink); border-radius: 2px; box-shadow: none; font-family: var(--sans); font-size: 17px; color: var(--ink); background: var(--white); height: auto; min-height: 46px; padding: 10px 12px; }
html.cso-theme .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(255, 204, 0, .55); }
html.cso-theme .input-group-addon { border-color: var(--ink); background: var(--stone); border-radius: 2px; color: var(--ink); }
html.cso-theme label, html.cso-theme .control-label { font-family: var(--sans); font-weight: 700; font-size: 16px; color: var(--ink); }
html.cso-theme .help-block { color: var(--slate); }
html.cso-theme .required-indicator::after, html.cso-theme .required .control-label::after { color: var(--ember); }
html.cso-theme .panel { border: 1px solid var(--line); border-radius: 2px; box-shadow: none; background: var(--white); }
html.cso-theme .panel-heading { background: var(--stone) !important; border-bottom: 1px solid var(--line); border-radius: 2px 2px 0 0; color: var(--ink); }
html.cso-theme .panel-title, html.cso-theme .panel-heading h1, html.cso-theme .panel-heading h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
html.cso-theme .well { background: var(--stone); border: 0; border-radius: 2px; box-shadow: none; }
html.cso-theme .alert { border-radius: 2px; border: 1px solid var(--line); box-shadow: none; color: var(--ink); }
html.cso-theme .alert-info { background: var(--stone); }
html.cso-theme .alert-warning { background: #FFF3C4; border-color: #E8CF6A; }
html.cso-theme .alert-danger, html.cso-theme .alert-validation { background: #F6E1DB; border-color: #E2B3A6; }
html.cso-theme .alert-success { background: #E6EEDC; border-color: #C6D5B3; }
html.cso-theme .table > thead > tr > th { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 17px; font-weight: 500; color: var(--ochre); border-bottom: 2px solid var(--ink); }
html.cso-theme .table > tbody > tr > td { border-top: 1px solid var(--line); }
/* Compass page-title band and breadcrumbs (standard Rock pages: registration, give, login, my account...) */
html.cso-theme header.c-page-title { background: var(--paper) !important; padding: 56px 24px 8px !important; text-align: left; border-bottom: 0; }
html.cso-theme header.c-page-title .fluid-container, html.cso-theme header.c-page-title .container { max-width: var(--wrap); margin: 0 auto; padding: 0; }
html.cso-theme header.c-page-title .row { margin: 0; }
html.cso-theme header.c-page-title .header-content-inner { padding: 0; }
html.cso-theme header.c-page-title .header-content .header-content-inner h1, html.cso-theme header.c-page-title h1.section-heading { font-family: var(--serif); font-weight: 500; text-transform: none; letter-spacing: -0.015em; font-size: clamp(40px, 6vw, 76px); line-height: 1; color: var(--ink); margin: 0; }
html.cso-theme header.c-page-title .header-content-inner h1::after { content: ''; display: block; width: 100%; height: 1px; background: var(--line); margin-top: 22px; }
html.cso-theme .breadcrumb-container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
html.cso-theme .breadcrumb > li + li::before { color: var(--mist); }
html.cso-theme .breadcrumb { background: transparent; padding: 14px 0 0; margin: 0; font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 17px; }
html.cso-theme .breadcrumb a { color: var(--ochre); text-decoration: none; }
html.cso-theme .nav-tabs { border-bottom: 3px solid var(--ink); }
html.cso-theme .nav-tabs > li > a { border: 0; border-radius: 3px 3px 0 0; background: var(--stone); color: var(--ink); font-weight: 700; margin-right: 4px; }
html.cso-theme .nav-tabs > li.active > a, html.cso-theme .nav-tabs > li.active > a:hover { background: var(--ink); color: var(--paper); border: 0; }
html.cso-theme .nav-pills > li.active > a { background: var(--ink); border-radius: 2px; }
html.cso-theme .pagination > li > a, html.cso-theme .pagination > li > span { color: var(--ink); border-color: var(--line); border-radius: 0 !important; }
html.cso-theme .pagination > .active > a { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html.cso-theme .modal-content { border-radius: 3px; border: 0; box-shadow: 0 24px 64px rgba(11, 15, 42, .35); }
html.cso-theme .modal-header { border-bottom: 1px solid var(--line); }
html.cso-theme .label, html.cso-theme .badge { border-radius: 2px; }
html.cso-theme .progress { border-radius: 0; height: 6px; background: var(--stone); box-shadow: none; }
html.cso-theme .progress-bar { background: var(--ochre); box-shadow: none; }

/* =====================================================================
   Phase 3/4 components (events, happenings, occurrence, watch) in the new language
   ===================================================================== */
html.cso-theme .cso-ev { --navy: var(--ink); --navy-deep: var(--ink-2); --navy-ink: var(--ink); --gold-ink: var(--ochre); --card: var(--white); --muted: var(--slate); --radius: 2px; --shadow: none;
  font-family: var(--sans); color: var(--ink); font-size: 18px; }
html.cso-theme .cso-ev h1, html.cso-theme .cso-ev h2, html.cso-theme .cso-ev h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
html.cso-theme .cso-ev .cso-eyebrow { font-family: var(--serif); font-variant-caps: all-small-caps; text-transform: none; letter-spacing: .09em; font-size: 19px; font-weight: 500; color: var(--ochre); }

/* Opening band: paper, not a glowing gradient */
html.cso-theme .cso-hero { background: var(--paper); color: var(--ink); margin-top: 0; padding: 52px 16px 0; border-bottom: 0; }
html.cso-theme .cso-hero h1 { color: var(--ink); font-size: clamp(52px, 7vw, 96px); line-height: .95; letter-spacing: -0.02em; }
html.cso-theme .cso-hero__lede { color: var(--slate); font-size: 20px; }
html.cso-theme .cso-tabs { gap: 4px; border-bottom: 3px solid var(--ink); }
html.cso-theme .cso-tab { background: var(--stone); color: var(--ink); border-radius: 3px 3px 0 0; font-family: var(--sans); font-size: 16px; padding: 12px 18px; }
html.cso-theme .cso-tab:hover { background: #DDD2BC; color: var(--ink); }
html.cso-theme .cso-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); padding-top: 14px; }
html.cso-theme .cso-tab i { display: none; }
html.cso-theme .cso-subscribe { color: var(--blue) !important; font-size: 15px; opacity: 1; padding-bottom: 12px; }
html.cso-theme .cso-body { background: var(--paper); padding-top: 24px; }

/* Filters: thumb-index tabs on a ruled line */
html.cso-theme .cso-filters { gap: 4px; align-items: flex-end; border-bottom: 3px solid var(--ink); margin-bottom: 28px; }
html.cso-theme .cso-filters__label { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 17px; color: var(--ochre); padding-bottom: 10px; margin-right: 8px; }
html.cso-theme .cso-chip { background: var(--stone); color: var(--ink); border: 0; border-radius: 3px 3px 0 0; font-family: var(--sans); font-weight: 700; font-size: 15px; padding: 11px 14px; }
html.cso-theme .cso-chip:hover { background: #DDD2BC; border: 0; }
html.cso-theme .cso-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); padding-top: 13px; }
html.cso-theme .cso-chip__dot { display: none; }
html.cso-theme .cso-filters__sep { width: 18px; height: 1px; background: transparent; }

/* Running heads */
html.cso-theme .cso-section-head { align-items: center; gap: 16px; margin: 36px 0 0; }
html.cso-theme .cso-section-head h2 { font-size: clamp(30px, 3.4vw, 40px); white-space: nowrap; }
html.cso-theme .cso-section-head::after { content: ''; flex: 1; height: 1px; background: var(--line); order: 1; }
html.cso-theme .cso-section-head p { order: 2; color: var(--slate); font-size: 15px; }

/* Featured: a solid ink entry — the one dark moment on the page */
html.cso-theme .cso-featured { background: var(--ink); color: var(--paper); border: 0; border-radius: 3px; box-shadow: none; padding: 32px; gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 8px; }
html.cso-theme .cso-featured__media { background: var(--paper); padding: 10px; aspect-ratio: auto; }
html.cso-theme .cso-featured__media img { position: static; display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }
html.cso-theme .cso-featured__body { padding: 0; }
html.cso-theme .cso-featured h2, html.cso-theme .cso-featured h2 a { color: var(--paper) !important; font-size: clamp(32px, 3.6vw, 46px); }
html.cso-theme .cso-flag { background: transparent; color: var(--gold); padding: 0; font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 19px; text-transform: none; font-weight: 500; }
html.cso-theme .cso-featured .cso-meta, html.cso-theme .cso-featured .cso-card__summary { color: var(--mist); }
html.cso-theme .cso-featured .cso-meta i { color: var(--gold); }
html.cso-theme .cso-featured .cso-btn--ghost { color: var(--paper) !important; border-color: var(--mist); }
html.cso-theme .cso-featured .cso-btn--ghost:hover { border-color: var(--paper); }

/* Event entries: a ruled list with chapter-style dates (re-flows the existing card markup) */
html.cso-theme #cso-grid { display: block; margin-bottom: 8px; }
html.cso-theme #cso-grid .cso-card { display: grid; grid-template-columns: 118px minmax(0, 1fr) minmax(0, 280px); grid-template-areas: "date body media"; column-gap: 28px; align-items: start;
  background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 26px 0; transform: none; }
html.cso-theme #cso-grid .cso-card:first-child { border-top: 2px solid var(--ink); }
html.cso-theme #cso-grid .cso-card:last-child { border-bottom: 1px solid var(--line); }
html.cso-theme #cso-grid .cso-card:hover { transform: none; box-shadow: none; }
html.cso-theme #cso-grid .cso-card__media { display: contents; }
html.cso-theme #cso-grid .cso-card__media img { grid-area: media; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--white); border: 1px solid var(--line); padding: 6px; box-sizing: border-box; }
html.cso-theme #cso-grid .cso-card__placeholder { grid-area: media; position: static; aspect-ratio: 16 / 9; background: var(--stone); color: var(--slate); font-family: var(--serif); font-size: 18px; border: 1px solid var(--line); }
html.cso-theme #cso-grid .cso-badge { grid-area: date; position: static; background: none; box-shadow: none; padding: 0; text-align: left; min-width: 0; color: var(--ink); }
html.cso-theme #cso-grid .cso-badge__mon { font-family: var(--serif); font-variant-caps: all-small-caps; text-transform: none; letter-spacing: .09em; font-size: 18px; font-weight: 500; color: var(--ochre); }
html.cso-theme #cso-grid .cso-badge__day { font-family: var(--serif); font-size: 68px; font-weight: 500; line-height: .9; margin-top: 4px; }
html.cso-theme #cso-grid .cso-badge--weekly .cso-badge__day { font-family: var(--serif); font-size: 52px; font-style: italic; font-weight: 400; margin-top: 4px; }
html.cso-theme #cso-grid .cso-card__body { grid-area: body; padding: 0; gap: 8px; }
html.cso-theme .cso-card__title { font-size: 30px; line-height: 1.1; }
html.cso-theme .cso-card__summary { color: var(--slate); font-size: 17px; -webkit-line-clamp: 4; }
html.cso-theme .cso-meta { font-size: 16px; color: var(--slate); gap: 4px; }
html.cso-theme .cso-meta i { color: var(--ochre); }
html.cso-theme .cso-tags { gap: 12px; }
html.cso-theme .cso-tag { background: transparent; padding: 0; border-radius: 0; color: var(--ochre); font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 17px; font-weight: 500; }
html.cso-theme .cso-status { font-size: 15px; }
html.cso-theme .cso-status::before { display: none; }
html.cso-theme .cso-status--open { color: var(--ink); }
html.cso-theme .cso-status--soon { color: var(--ember); }
html.cso-theme .cso-status--closed { color: var(--slate); }
@media (max-width: 760px) {
  html.cso-theme #cso-grid .cso-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "date" "media" "body"; row-gap: 14px; }
  html.cso-theme #cso-grid .cso-badge { display: flex; align-items: baseline; gap: 12px; }
  html.cso-theme #cso-grid .cso-badge__day { font-size: 54px; order: -1; }
}

/* Buttons */
html.cso-theme .cso-btn { border-radius: 2px; font-family: var(--sans); font-size: 16px; padding: 13px 20px; min-height: 48px; }
html.cso-theme .cso-btn--primary { background: var(--ink); color: var(--paper) !important; }
html.cso-theme .cso-btn--primary:hover { background: var(--ink-2); transform: none; }
html.cso-theme .cso-btn--ghost { background: transparent; color: var(--ink) !important; border: 2px solid var(--ink); }
html.cso-theme .cso-btn--ghost:hover { background: var(--stone); }
html.cso-theme .cso-btn--gold { background: var(--ink); color: var(--paper) !important; }
html.cso-theme .cso-btn--gold:hover { background: var(--ink-2); transform: none; }
html.cso-theme .cso-featured .cso-btn--gold, html.cso-theme .cso-hero--ink .cso-btn--gold, html.cso-theme #cso-watch .cso-hero .cso-btn--gold { background: var(--gold); color: var(--ink) !important; }

/* Weekly gatherings: an order of service */
html.cso-theme .cso-weekly { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; overflow: visible; }
html.cso-theme .cso-weekly__row { grid-template-columns: 170px minmax(0, 1fr) auto; padding: 14px 0; border-top: 1px solid var(--line); }
html.cso-theme .cso-weekly__row:first-child { border-top: 0; }
html.cso-theme .cso-weekly__when { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 20px; font-weight: 500; color: var(--ink); }
html.cso-theme .cso-weekly__when small { font-family: var(--serif); font-variant-caps: normal; font-style: italic; letter-spacing: 0; font-size: 18px; color: var(--ink); }
html.cso-theme .cso-weekly__name { font-family: var(--sans); font-weight: 700; font-size: 17px; }
html.cso-theme .cso-weekly__desc { color: var(--slate); font-size: 15px; }
html.cso-theme .cso-weekly__where { color: var(--slate); font-size: 15px; }

/* Calendar (FullCalendar) */
html.cso-theme .cso-cal { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; padding: 16px 0 0; }
html.cso-theme .cso-cal .fc { --fc-border-color: var(--line); --fc-today-bg-color: #EFE6D2; --fc-page-bg-color: var(--paper); --fc-neutral-bg-color: var(--stone); --fc-list-event-hover-bg-color: var(--stone);
  --fc-button-bg-color: var(--ink); --fc-button-border-color: var(--ink); --fc-button-hover-bg-color: var(--ink-2); --fc-button-hover-border-color: var(--ink-2); --fc-button-active-bg-color: var(--ink-2); --fc-button-active-border-color: var(--ink-2); font-family: var(--sans); }
html.cso-theme .cso-cal .fc .fc-toolbar-title { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--ink); }
html.cso-theme .cso-cal .fc .fc-button { border-radius: 2px !important; font-family: var(--sans); font-weight: 700; padding: 10px 14px; }
html.cso-theme .cso-cal .fc .fc-col-header-cell-cushion { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 17px; font-weight: 500; color: var(--ochre); }
html.cso-theme .cso-cal .fc .fc-daygrid-day-number { font-family: var(--serif); font-size: 19px; color: var(--ink); }
html.cso-theme .cso-cal .fc .fc-event { border-radius: 0 !important; }
html.cso-theme .cso-cal .fc .fc-daygrid-event-dot { display: none; }
html.cso-theme .cso-cal .fc .cso-ev-weekly, html.cso-theme .cso-cal .fc .cso-ev-weekly .fc-event-main { background: transparent !important; border-color: transparent !important; color: var(--ink) !important; }
html.cso-theme .cso-cal .fc .cso-ev-weekly .fc-event-title, html.cso-theme .cso-cal .fc .cso-ev-weekly .fc-event-time { color: var(--ink) !important; font-weight: 400; }
html.cso-theme .cso-cal .fc .cso-ev-special, html.cso-theme .cso-cal .fc .cso-ev-special .fc-event-main { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--paper) !important; }
html.cso-theme .cso-cal .fc .cso-ev-special .fc-event-title, html.cso-theme .cso-cal .fc .cso-ev-special .fc-event-time { color: var(--paper) !important; font-weight: 700; }
html.cso-theme .cso-cal .fc .fc-list-event-dot { border-color: var(--ochre) !important; }
html.cso-theme .cso-cal .fc .fc-list-day-cushion { background: var(--stone); font-family: var(--serif); }
html.cso-theme .cso-dialog { border-radius: 3px; }
html.cso-theme .cso-dialog__head { background: var(--ink); }
html.cso-theme .cso-dialog__head h3 { font-family: var(--serif); font-weight: 500; }

/* Happenings / occurrence detail: framed image, margin-note sidebar */
html.cso-theme .cso-detail__hero { border-radius: 0; box-shadow: none; background: var(--white); border: 1px solid var(--line); padding: 10px; }
html.cso-theme .cso-detail__content { border-radius: 2px; box-shadow: none; border: 1px solid var(--line); }
html.cso-theme .cso-aside { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; padding: 16px 0 0; gap: 0; top: 150px; }
html.cso-theme .cso-aside > h2 { font-size: 26px; padding-bottom: 12px; }
html.cso-theme .cso-aside__group { padding: 14px 0; border-top: 1px solid var(--line); }
html.cso-theme .cso-aside__group h3 { font-family: var(--serif); font-variant-caps: all-small-caps; text-transform: none; letter-spacing: .09em; font-size: 18px; font-weight: 500; color: var(--ochre); }
html.cso-theme .cso-aside__divider { display: none; }
html.cso-theme .cso-aside__small { padding: 14px 0; border-top: 1px solid var(--line); }
html.cso-theme .cso-notice { border-radius: 2px; }

/* Watch: the ink band with the horizon */
html.cso-theme #cso-watch .cso-hero { background: var(--ink) url('/Content/ExternalSite/cso/horizon-gold.svg') center bottom / 100% auto no-repeat; color: var(--paper); padding: 48px 16px calc(10.5vw + 24px); }
html.cso-theme #cso-watch .cso-hero h1 { color: var(--paper); }
html.cso-theme #cso-watch .cso-eyebrow { color: var(--gold); }
html.cso-theme .cso-player { border-radius: 0; box-shadow: none; background: var(--paper); padding: 10px; aspect-ratio: auto; }
html.cso-theme .cso-player iframe { position: static; width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; }
html.cso-theme .cso-watch__meta { color: var(--mist); }
html.cso-theme .cso-tag--dark { color: var(--gold); }
html.cso-theme .cso-live-pill { background: var(--ember); border-radius: 2px; font-family: var(--sans); }
html.cso-theme .cso-watch__side { gap: 0; border-top: 2px solid var(--gold); align-self: end; }
html.cso-theme .cso-watch__box { background: transparent; border: 0; border-bottom: 1px solid var(--ink-line); border-radius: 0; padding: 16px 0; }
html.cso-theme .cso-watch__box h2 { font-family: var(--serif); font-variant-caps: all-small-caps; text-transform: none; letter-spacing: .09em; font-size: 18px; font-weight: 500; color: var(--gold); opacity: 1; }
html.cso-theme .cso-watch__next { font-size: 28px; }
html.cso-theme .cso-countdown { color: var(--mist); font-weight: 400; }
html.cso-theme .cso-watch__steps { border-bottom: 0; }
html.cso-theme .cso-btn--ghost-light { border-radius: 2px; border-color: var(--mist); }
html.cso-theme .cso-video { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; padding-top: 14px; }
html.cso-theme .cso-video:hover { transform: none; box-shadow: none; }
html.cso-theme .cso-video .cso-card__body { padding: 12px 0 0; }
html.cso-theme .cso-video .cso-card__title { font-size: 26px; }
html.cso-theme .cso-video__thumb { background: var(--white); border: 1px solid var(--line); padding: 6px; }
html.cso-theme .cso-video__thumb img { transition: none; }
html.cso-theme .cso-video__thumb:hover img { transform: none; }
html.cso-theme .cso-video__play { background: var(--ink); border: 2px solid var(--gold); color: var(--gold); width: 64px; height: 64px; }
html.cso-theme .cso-video.is-playing { outline: 0; border-top-color: var(--gold); }
html.cso-theme .cso-series { display: block; border-top: 2px solid var(--ink); }
html.cso-theme .cso-series__item { display: flex; align-items: baseline; gap: 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 12px 0; font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 22px; font-weight: 500; color: var(--ink) !important; }
html.cso-theme .cso-series__item i { display: none; }
html.cso-theme .cso-series__item::after { content: '→'; margin-left: auto; font-family: var(--sans); font-variant-caps: normal; font-size: 17px; color: var(--blue); }
html.cso-theme .cso-series__item--all { background: transparent; color: var(--blue) !important; border-color: var(--line); font-family: var(--sans); font-variant-caps: normal; letter-spacing: 0; font-size: 16px; font-weight: 700; }
html.cso-theme .cso-series__item--all::after { content: none; }

/* =====================================================================
   Home page (preview at /home-preview; moves to / at launch)
   ===================================================================== */
html.cso-theme .cso-home { font-family: var(--sans); color: var(--ink); font-size: 19px; line-height: 1.6; }
html.cso-theme .cso-home .cso-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
html.cso-theme .cso-home h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }
html.cso-theme .cso-home .cso-rh { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
html.cso-theme .cso-home .cso-rh__num { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 20px; color: var(--ochre); }
html.cso-theme .cso-home .cso-rh__rule { flex: 1; min-width: 40px; height: 1px; background: var(--line); }
html.cso-theme .cso-home .cso-rh a { font-weight: 700; font-size: 16px; }

/* Full-screen hero: real Sunday photo or video */
html.cso-theme .cso-home-hero { position: relative; min-height: calc(100vh - 120px); min-height: calc(100svh - 120px); max-height: 980px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--paper); }
html.cso-theme .cso-home-hero__media, html.cso-theme .cso-home-hero__media img, html.cso-theme .cso-home-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.cso-theme .cso-home-hero__scrim { position: absolute; inset: 0; background: rgba(20, 26, 61, .52); }
html.cso-theme .cso-home-hero__in { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 120px 24px calc(9vw + 36px); display: flex; flex-direction: column; gap: 18px; }
html.cso-theme .cso-home-hero__eyebrow { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 20px; color: var(--gold); }
html.cso-theme .cso-home-hero h1 { color: var(--paper); font-size: clamp(48px, 7.5vw, 104px); line-height: .96; letter-spacing: -0.02em; margin: 0; max-width: 13ch; }
html.cso-theme .cso-home-hero__lede { font-size: 21px; max-width: 34em; color: #EFEAE0; margin: 0; }
html.cso-theme .cso-home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
html.cso-theme .cso-home-hero__actions a { color: var(--gold); font-weight: 700; font-size: 18px; }
html.cso-theme .cso-home-hero__actions .cso-btn { background: var(--gold); color: var(--ink) !important; text-decoration: none; }
html.cso-theme .cso-home-hero__times { display: flex; gap: 44px; border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 18px; margin-top: 8px; }
html.cso-theme .cso-home-hero__times b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 52px; line-height: 1; color: var(--paper); }
html.cso-theme .cso-home-hero__times span { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 18px; color: var(--gold); }
html.cso-theme .cso-home-hero__horizon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; z-index: 1; }
html.cso-theme .cso-home-hero__credit { position: absolute; right: 16px; bottom: 10px; z-index: 2; font-size: 12px; color: rgba(255, 255, 255, .7); }

html.cso-theme .cso-verse { background: var(--stone); }
html.cso-theme .cso-verse figure { max-width: 980px; margin: 0 auto; padding: 64px 24px; text-align: center; }
html.cso-theme .cso-verse blockquote { margin: 0; padding: 0; border: 0; font-family: var(--serif); font-style: italic; font-size: clamp(25px, 3.3vw, 40px); line-height: 1.3; color: var(--ink); }
html.cso-theme .cso-verse figcaption { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 19px; color: var(--ochre); margin-top: 14px; }

html.cso-theme .cso-motto__line { margin: 0; font-family: var(--serif); font-weight: 500; font-variant-caps: all-small-caps; letter-spacing: .07em; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.22; color: var(--ink); }
html.cso-theme .cso-motto__line i { font-variant-caps: normal; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--slate); font-size: .62em; padding: 0 .08em; }
html.cso-theme .cso-motto__line b { font-weight: 500; }
html.cso-theme .cso-motto__gold { color: var(--ochre); }
html.cso-theme .cso-motto__blue { color: var(--blue); }

html.cso-theme .cso-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); border-top: 2px solid var(--ink); }
html.cso-theme .cso-steps li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
html.cso-theme .cso-steps i.cso-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); }
html.cso-theme .cso-steps strong { font-size: 19px; }
html.cso-theme .cso-steps span { font-size: 17px; color: var(--slate); }

html.cso-theme .cso-happen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 36px; }
html.cso-theme .cso-happen article { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 16px; }
html.cso-theme .cso-happen__date { display: flex; gap: 16px; align-items: flex-end; }
html.cso-theme .cso-happen__date b { font-family: var(--serif); font-size: 70px; font-weight: 500; line-height: .85; }
html.cso-theme .cso-happen__date b.is-weekly { font-style: italic; font-weight: 400; font-size: 56px; }
html.cso-theme .cso-happen__date span { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 17px; color: var(--ochre); padding-bottom: 4px; }
html.cso-theme .cso-frame { display: block; background: var(--white); border: 1px solid var(--line); padding: 8px; }
html.cso-theme .cso-frame img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
html.cso-theme .cso-happen h3 { font-size: 28px; line-height: 1.1; margin: 0; }
html.cso-theme .cso-happen h3 a { color: var(--ink); text-decoration: none; }
html.cso-theme .cso-happen h3 a:hover { text-decoration: underline; }
html.cso-theme .cso-happen p { margin: 0; font-size: 16px; color: var(--slate); }
html.cso-theme .cso-happen .cso-more { font-weight: 700; font-size: 16px; margin-top: 0; }

html.cso-theme .cso-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 56px; }
html.cso-theme .cso-week { border-top: 2px solid var(--ink); }
html.cso-theme .cso-week__row { display: grid; grid-template-columns: 96px 76px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; font-size: 16px; }
html.cso-theme .cso-week__day { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 18px; }
html.cso-theme .cso-week__time { font-family: var(--serif); font-style: italic; font-size: 21px; }
html.cso-theme .cso-week__what span { color: var(--slate); }
html.cso-theme .cso-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 16px; }
html.cso-theme .cso-links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
html.cso-theme .cso-links a:hover { color: var(--blue); }

html.cso-theme .cso-ink { background: var(--ink); color: var(--paper); }
html.cso-theme .cso-ink h2 { color: var(--paper); }
html.cso-theme .cso-ink .cso-rh__num { color: var(--gold); }
html.cso-theme .cso-book { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
html.cso-theme .cso-book__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
html.cso-theme .cso-book__name { font-family: var(--serif); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 32px; color: var(--paper); }
html.cso-theme .cso-book__ch { font-size: 15px; color: var(--mist); }
html.cso-theme .cso-book__bar { height: 3px; background: var(--ink-line); position: relative; }
html.cso-theme .cso-book__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); }
html.cso-theme .cso-ink .cso-frame { background: var(--paper); border: 0; }
html.cso-theme .cso-ink a { color: var(--gold); }
html.cso-theme .cso-ink .cso-latest { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
html.cso-theme .cso-ink .cso-latest span { font-family: var(--serif); font-size: 30px; }

html.cso-theme .cso-progress { border-top: 1px solid var(--line); padding-top: 16px; margin: 6px 0 4px; }
html.cso-theme .cso-progress__row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
html.cso-theme .cso-progress__bar { height: 3px; background: var(--stone); position: relative; margin-top: 8px; }
html.cso-theme .cso-progress__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ochre); }
html.cso-theme .cso-actions-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) { html.cso-theme .cso-home-hero video { display: none; } }

/* Watch on paper: "Where we are in the Book" + contents "in progress" (2026-10-10) */
html.cso-theme #cso-watch .cso-books { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 0 48px; border-top: 2px solid var(--ink); margin: 18px 0 44px; }
html.cso-theme #cso-watch .cso-book { background: transparent; border: 0; border-radius: 0; padding: 16px 0 6px; margin: 0; }
html.cso-theme #cso-watch .cso-book__name { font-family: var(--serif); font-weight: 500; color: var(--ink); }
html.cso-theme #cso-watch .cso-book__ch { color: var(--slate); }
html.cso-theme #cso-watch .cso-book__bar { background: var(--stone); border-radius: 0; height: 3px; }
html.cso-theme #cso-watch .cso-book__bar i { background: var(--ochre); border-radius: 0; }
html.cso-theme .cso-series__name { flex: 0 0 auto; }
html.cso-theme .cso-series__item::before { content: ''; order: 1; flex: 1; border-bottom: 1px dotted var(--mist); align-self: center; min-width: 24px; }
html.cso-theme .cso-series__item--all::before { content: none; }
html.cso-theme .cso-series__note { order: 2; background: transparent; border-radius: 0; padding: 0; font-family: var(--sans); font-variant-caps: normal; letter-spacing: 0; font-size: 15px; font-weight: 400; color: var(--ochre); }
html.cso-theme .cso-series__item::after { order: 3; margin-left: 0; }
@media (max-width: 640px) {
  /* Section heads: let long titles wrap and put the subtitle underneath (no sideways scroll) */
  html.cso-theme .cso-section-head { flex-wrap: wrap; gap: 4px 12px; }
  html.cso-theme .cso-section-head h2 { white-space: normal; flex: 1 1 100%; }
  html.cso-theme .cso-section-head::after { display: none; }
  html.cso-theme .cso-section-head p { flex: 1 1 100%; }
  html.cso-theme #cso-watch .cso-book__name { font-size: 26px; }
  html.cso-theme #cso-watch .cso-book__row { row-gap: 0; }
}

/* Events on tablets/phones: the theme's grid rules out-rank cso-events.css's own media queries, so restate them here (2026-10-10) */
@media (max-width: 991px) {
  html.cso-theme .cso-featured { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  html.cso-theme .cso-featured__media { max-width: 560px; }
}
@media (max-width: 640px) {
  html.cso-theme .cso-featured { padding: 20px 16px 24px; }
  html.cso-theme .cso-featured h2, html.cso-theme .cso-featured h2 a { font-size: 32px; }
  html.cso-theme .cso-featured .cso-btn { width: 100%; justify-content: center; }
  html.cso-theme .cso-weekly__row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
  html.cso-theme .cso-weekly__when small { display: inline; margin-left: 8px; font-size: 17px; }
  html.cso-theme .cso-weekly__where { text-align: left; }
}

/* Current home page hero slideshow (until the new home page replaces it): the old site outlines the slide text
   with -webkit-text-stroke, which swamps the Newsreader serif. Use a soft shadow instead. */
html.cso-theme .swiper-slide section h1, html.cso-theme .swiper-slide section h2, html.cso-theme .swiper-slide section h3 {
  -webkit-text-stroke: 0 !important; color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(11, 15, 42, .75), 0 2px 18px rgba(11, 15, 42, .6);
}
html.cso-theme .swiper-slide section h1 { font-family: var(--serif); font-weight: 500; }
html.cso-theme .swiper-slide section h3 { font-family: var(--sans); font-weight: 700; }

/* ---------- Forms, round 2 (2026-10-10, after Micah: "not really liking how all the forms are rendering") ----------
   Public Rock blocks (workflow/survey entry, prayer, registration, login, account) sit in .panel.panel-block.
   On the public site that box adds nothing: drop it so forms sit on the paper like the rest of the theme.
   Fields: white, 1px warm-grey border (#8A8474 = 3.4:1 on white/paper, meets the 3:1 non-text minimum), ink focus.
   Icon addons merge into the field instead of being separate grey blocks. */
html.cso-theme { --field: #8A8474; }
html.cso-theme main .panel { background: transparent; border: 0; box-shadow: none; border-radius: 0; margin-bottom: 32px; }
html.cso-theme main .panel > .panel-body { padding: 0; }
html.cso-theme main .panel > .panel-heading { background: transparent !important; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 0 0 10px; margin-bottom: 20px; color: var(--ink); }
html.cso-theme main .panel > .panel-heading, html.cso-theme main .panel > .panel-heading .panel-title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
html.cso-theme main .panel > .panel-heading .panel-labels { display: none; }
html.cso-theme main .panel > .panel-footer { background: transparent; border-top: 1px solid var(--line); padding: 16px 0 0; }
html.cso-theme legend, html.cso-theme main h4.title, html.cso-theme main .panel-body > h4 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin: 8px 0 16px; }

html.cso-theme .form-group { margin-bottom: 22px; }
html.cso-theme label, html.cso-theme .control-label { font-size: 16px; margin-bottom: 6px; }
html.cso-theme .form-control { border: 1px solid var(--field); border-radius: 2px; min-height: 48px; padding: 11px 14px; font-size: 17px; background: var(--white); transition: border-color .12s ease, box-shadow .12s ease; }
html.cso-theme .form-control:hover { border-color: var(--slate); }
html.cso-theme .form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 153, .18); outline: 0; }
html.cso-theme textarea.form-control { min-height: 120px; line-height: 1.5; }
html.cso-theme .form-control::placeholder { color: #8A8474; }
html.cso-theme .help-block { color: var(--slate); font-size: 15px; }

html.cso-theme .input-group-addon { background: var(--white); border: 1px solid var(--field); border-right: 0; color: var(--slate); min-width: 44px; font-size: 16px; }
html.cso-theme .input-group-addon:first-child ~ .form-control { border-left: 0; padding-left: 4px; }
html.cso-theme .input-group:focus-within .input-group-addon { border-color: var(--ink); color: var(--ink); }
html.cso-theme .input-group:focus-within .form-control { box-shadow: none; }
html.cso-theme .input-group:focus-within { box-shadow: 0 0 0 3px rgba(0, 0, 153, .18); border-radius: 2px; }

html.cso-theme input[type="radio"], html.cso-theme input[type="checkbox"] { accent-color: var(--ink); width: 20px; height: 20px; margin-top: 2px; }
html.cso-theme .radio label, html.cso-theme .checkbox label, html.cso-theme .radio-inline, html.cso-theme .checkbox-inline { font-weight: 400; font-size: 17px; padding-left: 28px; min-height: 28px; line-height: 1.5; }
html.cso-theme .radio input[type="radio"], html.cso-theme .checkbox input[type="checkbox"], html.cso-theme .radio-inline input[type="radio"], html.cso-theme .checkbox-inline input[type="checkbox"] { margin-left: -28px; }
html.cso-theme .radio-inline + .radio-inline, html.cso-theme .checkbox-inline + .checkbox-inline { margin-left: 22px; }
html.cso-theme select.form-control { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141A3D' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }

/* Intro text that Rock forms put above the fields */
html.cso-theme .panel-block .panel-body > p:first-child, html.cso-theme .panel-block .panel-body > div:first-child > p:first-child { font-size: 18px; line-height: 1.6; }
html.cso-theme .actions, html.cso-theme .panel-block .actions { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Compass page-title band: Compass gives .header-content 100px top/bottom padding and a centred icon. Keep it a quiet left-aligned title. */
html.cso-theme header.c-page-title .header-content { padding: 0 !important; text-align: left; }
html.cso-theme header.c-page-title .header-content-inner { text-align: left; }
html.cso-theme header.c-page-title .page-icon { display: none; }
@media (max-width: 640px) {
  html.cso-theme header.c-page-title { padding: 28px 16px 0 !important; }
  html.cso-theme header.c-page-title .header-content-inner h1::after { margin-top: 14px; }
  html.cso-theme .breadcrumb-container { padding: 0 16px; }
}

/* Layouts without the header zones (e.g. the registration layout) make Rock append the site-level logo,
   login-status and page-menu blocks straight into #form1 after the footer: a stray white logo + "Log In" below the colophon
   and 15px of sideways scroll on phones. Blocks are only ever direct children of the form when orphaned like this. */
html.cso-theme #form1 > .block-instance { display: none !important; }
/* Panel headings carry their own inner padding/margins in Rock; line them up with the fields */
html.cso-theme main .panel > .panel-heading > *, html.cso-theme main .panel > .panel-heading .panel-title { margin: 0; padding: 0; }
/* Registration "how many" stepper */
html.cso-theme .numberincrement { display: inline-flex; align-items: stretch; border: 1px solid var(--field); border-radius: 2px; background: var(--white); overflow: hidden; }
html.cso-theme .numberincrement a { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; background: var(--white) !important; color: var(--ink) !important; border: 0 !important; border-radius: 0 !important; cursor: pointer; }
html.cso-theme .numberincrement a:hover { background: var(--stone) !important; }
html.cso-theme .numberincrement a.disabled { color: var(--mist) !important; cursor: default; }
html.cso-theme .numberincrement-value { display: flex; align-items: center; justify-content: center; min-width: 56px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 19px; font-weight: 700; color: var(--ink); background: var(--white) !important; }
