/* Code Blue Homepage */
body.cbh-body { margin: 0; background: #fff; }
.cbh {
	--navy: #0B1E3F; --navy-2: #06132B; --navy-line: #1B3566;
	--blue: #1554F0; --blue-dk: #0B3FBF; --red: #D62839; --red-dk: #B01F2E;
	--ink: #0F172A; --muted: #4A5568; --line: #E3E9F2; --ice: #EEF3FB; --soft: #F7F9FD;
	--head: Archivo, "Arial Black", system-ui, sans-serif;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.cbh *, .cbh *::before, .cbh *::after { box-sizing: border-box; }
.cbh :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.cbh ul { list-style: none; }
.cbh a { color: var(--blue); }
.cbh a:hover { color: var(--blue-dk); }
.cbh img { max-width: 100%; height: auto; }
.cbh-i { flex: none; vertical-align: -3px; }
.cbh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cbh-muted { color: var(--muted); }
.cbh [hidden] { display: none !important; }
.cbh .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cbh-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.cbh-skip:focus { left: 8px; }
.cbh :focus-visible { outline: 3px solid #6E9BFF; outline-offset: 2px; }

/* Buttons */
.cbh .cbh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.cbh .cbh-btn-lg { min-height: 52px; padding: 0 26px; border-radius: 12px; font-size: 17px; }
.cbh .cbh-btn-red { background: var(--red); color: #fff; }
.cbh .cbh-btn-red:hover { background: var(--red-dk); color: #fff; }
.cbh .cbh-btn-blue { background: var(--blue); color: #fff; }
.cbh .cbh-btn-blue:hover { background: var(--blue-dk); color: #fff; }
.cbh .cbh-btn-navy { background: var(--navy); color: #fff; }
.cbh .cbh-btn-navy:hover { background: #142c58; color: #fff; }
.cbh .cbh-btn-white { background: #fff; color: var(--blue-dk); }
.cbh .cbh-btn-white:hover { background: #E4ECFF; color: var(--blue-dk); }
.cbh .cbh-btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.cbh .cbh-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.cbh .cbh-btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.cbh .cbh-btn-outline:hover { background: var(--ice); }
.cbh .cbh-btn-outline-navy { border-color: var(--navy); color: var(--navy); background: #fff; }
.cbh .cbh-btn-outline-navy:hover { background: var(--ice); color: var(--navy); }
.cbh-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Utility bar + header */
.cbh-util { background: var(--navy-2); color: #DCE6F7; font-size: 14px; }
.cbh-util-in { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.cbh-util-l { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.cbh-util-l > span { display: inline-flex; gap: 8px; align-items: center; }
.cbh .cbh-util a { color: #fff; font-weight: 600; text-decoration: none; }
.cbh-header { background: var(--navy); border-bottom: 1px solid var(--navy-line); position: sticky; top: 0; z-index: 50; }
body.admin-bar .cbh-header { top: 32px; }
.cbh-header-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.cbh-logo img { display: block; height: 60px; width: auto; }
.cbh-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.cbh .cbh-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; }
.cbh .cbh-nav a:hover { color: #A9C2F5; }
.cbh-menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* Hero */
.cbh-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cbh-ekg { position: absolute; left: 0; bottom: 36px; width: 100%; height: 140px; opacity: .18; }
.cbh-hero-in { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.cbh-hero-copy { flex: 1 1 480px; min-width: 0; }
.cbh-eyebrow-light { margin-bottom: 18px !important; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #A9C2F5; }
.cbh-hero h1 { font-family: var(--head); font-weight: 900; font-size: clamp(38px, 6vw, 66px); line-height: 1.03; letter-spacing: -.02em; color: #fff; }
.cbh-lede { margin-top: 22px !important; font-size: 19px; color: #DCE6F7; max-width: 560px; }
.cbh-hero .cbh-actions { margin-top: 30px; }
.cbh-stats { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 40px; color: #DCE6F7; font-size: 15px; }
.cbh-stats b { display: block; font-family: var(--head); font-weight: 800; font-size: 30px; color: #fff; line-height: 1.2; }

.cbh-finder { flex: 1 1 380px; min-width: 0; max-width: 460px; background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(3,10,30,.35); }
.cbh-finder h2 { font-family: var(--head); font-weight: 800; font-size: 24px; }
.cbh-finder > p { margin: 6px 0 20px !important; color: var(--muted); font-size: 15px; }
.cbh-finder-form { display: flex; flex-direction: column; gap: 14px; }
.cbh-finder-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.cbh-finder-form select { min-height: 48px; border: 1.5px solid #C9D4E6; border-radius: 10px; padding: 0 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); width: 100%; }
.cbh-next { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.cbh-mini { margin-bottom: 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cbh .cbh-next-row { display: flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.cbh .cbh-next-row:hover strong { color: var(--blue); }
.cbh-next-row .cbh-muted { font-size: 14px; }

/* Date block */
.cbh-date { width: 64px; flex: none; text-align: center; background: var(--ice); border-radius: 12px; padding: 8px 0; line-height: 1.1; display: flex; flex-direction: column; }
.cbh-date small { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #B4232F; }
.cbh-date b { font-family: var(--head); font-weight: 800; font-size: 28px; color: var(--ink); }
.cbh-date em { font-style: normal; font-size: 12px; color: var(--muted); }
.cbh-date-sm { width: 56px; padding: 6px 0; }
.cbh-date-sm b { font-size: 24px; }

/* Trust strip */
.cbh-trust { background: var(--ice); border-bottom: 1px solid var(--line); }
.cbh-trust-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; font-size: 15px; }
.cbh-trust-in > div { display: flex; gap: 12px; align-items: center; }
.cbh-trust .cbh-i { color: var(--blue); }

/* Sections */
.cbh-sec { padding: 80px 0; }
.cbh-sec-tight { padding: 0 0 80px; }
.cbh-alt { background: var(--soft); }
.cbh-sec h2, .cbh-band h2, .cbh-final h2 { font-family: var(--head); font-weight: 900; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.015em; color: var(--ink); }
.cbh-sub { margin-top: 12px !important; color: var(--muted); font-size: 17px; max-width: 640px; }
.cbh-eyebrow { margin-bottom: 10px !important; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.cbh-eyebrow.cbh-red { color: #B4232F; }
.cbh-live { width: 9px; height: 9px; border-radius: 50%; background: #1A9E5C; box-shadow: 0 0 0 0 rgba(26,158,92,.5); animation: cbh-pulse 2s infinite; }
@keyframes cbh-pulse { 70% { box-shadow: 0 0 0 8px rgba(26,158,92,0); } 100% { box-shadow: 0 0 0 0 rgba(26,158,92,0); } }
@media (prefers-reduced-motion: reduce) { .cbh-live { animation: none; } }
.cbh-sec-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; }
.cbh .cbh-link { font-weight: 700; text-decoration: none; }

/* Filters */
.cbh-filters { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.cbh-seg { display: inline-flex; padding: 4px; background: var(--ice); border-radius: 12px; gap: 4px; }
.cbh-seg button { min-height: 42px; padding: 0 18px; border-radius: 9px; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.cbh-seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.cbh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cbh-chips button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #C9D4E6; background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.cbh-chips button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cbh-catnote { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; background: #FFF1DE; color: #6B3A08; font-weight: 600; font-size: 14px; }
.cbh-catnote button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: #fff; color: #6B3A08; font: inherit; font-weight: 700; cursor: pointer; }
.cbh-count { margin-top: 18px !important; font-size: 14px; color: var(--muted); }

/* Class list */
.cbh-classes { margin-top: 16px !important; display: flex; flex-direction: column; gap: 12px; }
.cbh-class { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.cbh-class:hover { border-color: #C9D4E6; box-shadow: 0 6px 20px rgba(15,23,42,.06); }
.cbh-class-main { flex: 1 1 320px; min-width: 0; }
.cbh-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.cbh-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.cbh-tag.is-aha { background: #FCE9EB; color: #A3172A; }
.cbh-tag.is-arc { background: #E6EDFB; color: #173A8A; }
.cbh-tag.is-blend { background: #FFF1DE; color: #7A4209; text-transform: none; letter-spacing: 0; }
.cbh-tag.is-class { background: #E8F5EE; color: #146C40; text-transform: none; letter-spacing: 0; }
.cbh-class h3 { margin-top: 6px !important; font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink); font-family: inherit; }
.cbh-facts { margin-top: 4px !important; display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 15px; }
.cbh-facts span { display: inline-flex; gap: 6px; align-items: center; }
.cbh-class-side { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.cbh-price { font-family: var(--head); font-weight: 800; font-size: 22px; }
.cbh-empty { margin-top: 16px; padding: 22px; border: 1.5px dashed #C9D4E6; border-radius: 16px; background: var(--soft); }
.cbh-more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cbh-more .cbh-muted { font-size: 14px; }

/* Roles */
.cbh-roles { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cbh-role { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.cbh-role-i { width: 48px; height: 48px; border-radius: 12px; background: #E6EDFB; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.cbh-role h3 { font-family: var(--head); font-size: 21px; font-weight: 800; color: var(--ink); }
.cbh-role p { color: var(--muted); font-size: 15px; }
.cbh-role ul { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; }
.cbh .cbh-role a { text-decoration: none; }
.cbh-role.is-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.cbh-role.is-dark h3 { color: #fff; }
.cbh-role.is-dark p { color: #DCE6F7; }
.cbh-role.is-dark .cbh-role-i { background: var(--navy-line); color: #fff; }
.cbh .cbh-role.is-dark a { color: #fff; }
.cbh .cbh-role.is-dark a:hover { color: #A9C2F5; }

/* Steps */
.cbh-steps { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.cbh-steps > div { display: flex; flex-direction: column; gap: 10px; }
.cbh-step-n { font-family: var(--head); font-weight: 900; font-size: 44px; color: var(--blue); line-height: 1; }
.cbh-steps h3 { font-size: 20px; font-weight: 700; color: var(--ink); font-family: inherit; }
.cbh-steps p { color: var(--muted); }

/* Band */
.cbh-band { background: var(--blue); color: #fff; border-radius: 24px; padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cbh-band > div:first-child { flex: 1 1 460px; min-width: 0; }
.cbh .cbh-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cbh-band p { margin-top: 14px !important; font-size: 18px; color: #E4ECFF; max-width: 580px; }

/* Locations */
.cbh-locs { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.cbh .cbh-loc { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cbh .cbh-loc:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(21,84,240,.1); color: var(--ink); }
.cbh-loc strong { font-family: var(--head); font-weight: 800; font-size: 20px; }
.cbh-loc .cbh-muted { font-size: 15px; }
.cbh-loc-n { margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--blue); }

/* Instructors */
.cbh-split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cbh-split > div { flex: 1 1 460px; min-width: 0; }
.cbh-checks { margin-top: 20px !important; display: flex; flex-direction: column; gap: 10px; }
.cbh-checks li { display: flex; gap: 10px; align-items: flex-start; }
.cbh-checks .cbh-i { color: #1A9E5C; }
.cbh-split .cbh-actions { margin-top: 26px; }
.cbh-photo { flex: 1 1 380px !important; }
.cbh-photo img { width: 100%; border-radius: 24px; display: block; object-fit: cover; aspect-ratio: 4 / 3; }

/* FAQ */
.cbh-narrow { max-width: 900px; }
.cbh-faq { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.cbh-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.cbh-faq summary { font-weight: 700; font-size: 17px; cursor: pointer; }
.cbh-faq details p { margin-top: 10px !important; color: var(--muted); }

/* Final CTA */
.cbh-final { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 72px; }
.cbh .cbh-final h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 680px; }

/* Footer */
.cbh-footer { background: var(--navy); color: #C7D4EC; font-size: 15px; }
.cbh-footer-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 28px; }
.cbh-footer-in > div { display: flex; flex-direction: column; gap: 8px; }
.cbh-footer img { height: 60px; width: auto; align-self: flex-start; }
.cbh .cbh-footer h2 { font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0; }
.cbh .cbh-footer a { color: #C7D4EC; text-decoration: none; }
.cbh .cbh-footer a:hover { color: #fff; text-decoration: underline; }
.cbh-copy { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--navy-line); font-size: 13px; color: #9FB2D6; }

/* Tablet & phone */
@media (max-width: 960px) {
	.cbh-menu-btn { display: inline-flex; }
	.cbh-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 8px; border-top: 1px solid var(--navy-line); }
	.cbh-nav.is-open { display: flex; }
	.cbh .cbh-nav a { padding: 12px 2px; border-bottom: 1px solid var(--navy-line); }
	.cbh-header { position: relative; }
	body.admin-bar .cbh-header { top: 0; }
}
@media (max-width: 640px) {
	.cbh-wrap { padding: 0 16px; }
	.cbh-hide-sm { display: none !important; }
	.cbh-logo img { height: 48px; }
	.cbh-hero-in { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
	.cbh-lede { font-size: 17px; }
	.cbh-hero .cbh-actions .cbh-btn, .cbh-band .cbh-btn, .cbh-more .cbh-btn, .cbh-split .cbh-btn, .cbh-final .cbh-btn { width: 100%; }
	.cbh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 13px; margin-top: 32px; }
	.cbh-stats b { font-size: 22px; }
	.cbh-finder { padding: 22px; }
	.cbh-sec { padding: 56px 0; }
	.cbh-sec-tight { padding: 0 0 56px; }
	.cbh-band { padding: 32px 22px; }
	.cbh-seg { width: 100%; }
	.cbh-seg button { flex: 1; padding: 0 8px; }
	.cbh-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
	.cbh-chips button { flex: none; }
	.cbh-class { gap: 12px; padding: 14px; }
	.cbh-class .cbh-date { width: 54px; }
	.cbh-class-main { flex-basis: calc(100% - 70px); }
	.cbh-class-side { width: 100%; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
	.cbh-final { padding-top: 56px; }
}
