/* CPR First Aid Revamp — component styles.
   Applied via classNames on core blocks so pages stay editable in Gutenberg. */

:root{
  --cpr-accent:#FF5A1F; --cpr-accent-d:#E8480F; --cpr-ink:#0E1B2B; --cpr-ink2:#2A3744;
  --cpr-muted:#7A8794; --cpr-border:#EEF1F4; --cpr-green-d:#08321F; --cpr-green:#1FA85A;
  --cpr-shadow:0 18px 50px -24px rgba(14,27,43,.28);
}

/* ---------- Utility bar ---------- */
.cpr-util{background:#08321F;color:#fff;font-size:13px;font-weight:500}
.cpr-util a{color:#fff}
.cpr-util .cpr-util-row{max-width:1600px;margin:0 auto;padding:8px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cpr-util-right{display:flex;align-items:center;gap:18px}
.cpr-util-tag{opacity:.82}
.cpr-util-phone{font-weight:700;color:#fff;white-space:nowrap}
.cpr-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2BD46A;box-shadow:0 0 0 3px rgba(43,212,106,.2);margin-right:8px}

/* ---------- Header / nav ---------- */
.cpr-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid #EEF1F4}
.cpr-header .cpr-header-row{max-width:1600px;margin:0 auto;padding:12px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cpr-header img.cpr-logo{height:52px;width:auto;display:block}
.cpr-nav{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:#2A3744}
.cpr-nav a{padding:8px 12px;border-radius:9px}
.cpr-nav a:hover{background:#F6F9FC;color:var(--cpr-accent)}
.cpr-header .cpr-nav-cta{display:flex;align-items:center;gap:12px}
.cpr-menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:11px;border:1px solid #EEF1F4;background:#fff;cursor:pointer}
@media(max-width:960px){.cpr-nav{display:none}.cpr-menu-toggle{display:inline-flex}}

/* buttons (extends theme.json button) */
.cpr-btn,a.cpr-btn{box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;font-weight:700;border-radius:12px;padding:13px 24px;background:var(--cpr-accent);color:#fff;text-decoration:none;border:0;cursor:pointer;line-height:1}
.cpr-btn:hover{background:var(--cpr-accent-d);color:#fff}
/* Any button (custom or block-editor) on an orange background always gets white text,
   including editorially-picked "Accent (Orange)" backgrounds on core Button blocks. */
.cpr-btn[style*="background:var(--cpr-accent)"],.cpr-btn[style*="background-color:var(--cpr-accent)"],
.wp-block-button__link.has-accent-background-color,.wp-block-button__link[style*="background-color:#FF5A1F" i],
.wp-block-button__link[style*="background-color:#ff5a1f" i]{color:#fff!important}
.cpr-btn-ghost,a.cpr-btn-ghost{background:#fff;color:var(--cpr-ink);border:1px solid #DDE3E9}
.cpr-btn-ghost:hover{background:#F6F9FC;color:var(--cpr-ink)}
.cpr-btn-green,a.cpr-btn-green{background:var(--cpr-green);color:#fff}

/* ---------- Generic bits ---------- */
.cpr-eyebrow{font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--cpr-accent)}
.cpr-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:999px;background:#FFF1EA;color:var(--cpr-accent);font-size:13px;font-weight:700}
.cpr-pill-soft{background:#F6F9FC;color:var(--cpr-ink2)}
.cpr-pills{display:flex;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.cpr-pills>*{margin:0}
.cpr-section{padding-top:72px;padding-bottom:72px}
/* Horizontal gutter so full-width sections never run edge-to-edge on mobile */
.cpr-hero,.cpr-section,.cpr-section-tight,.cpr-footer{padding-left:clamp(16px,0.531rem + 1.875vw,40px);padding-right:clamp(16px,0.531rem + 1.875vw,40px)}
@media(max-width:640px){
  .cpr-section{padding-top:44px;padding-bottom:44px}
  .cpr-section-tight{padding-top:32px;padding-bottom:32px}
}
.cpr-muted{color:var(--cpr-muted)}
.cpr-card{background:#fff;border:1px solid #EEF1F4;border-radius:18px;padding:26px;box-shadow:var(--cpr-shadow)}
.cpr-card-flat{background:#fff;border:1px solid #EEF1F4;border-radius:16px;padding:24px}
.has-soft-bg,.cpr-bg-soft{background:#F6F9FC}
.cpr-lead{font-size:19px;line-height:1.6;color:var(--cpr-ink2)}
.cpr-compliant-badge{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;font-size:13.5px;font-weight:700;color:#5B6B7A;margin:24px 0}
.cpr-compliant-badge img{width:30px;height:24px;flex:none}

/* ---------- Hero ---------- */
.cpr-hero{background:linear-gradient(180deg,#FFF6F1 0%,#fff 70%);border-bottom:1px solid #F3E4DA}
.cpr-hero h1{font-size:clamp(1.92rem,1.47rem + 1.8vw,3.36rem);line-height:1.02;letter-spacing:-.03em}
.cpr-hero .cpr-accent-text{color:var(--cpr-accent)}
/* Mobile: when the hero columns stack, show the booking widget above the headline */
@media(max-width:781px){.cpr-hero .wp-block-columns{flex-direction:column-reverse}}
.cpr-checks{display:flex;flex-wrap:wrap;gap:14px 24px;font-weight:600;color:var(--cpr-ink2);font-size:14.5px}
.cpr-checks span{display:inline-flex;align-items:center;gap:8px}
.cpr-checks span::before{content:"";width:18px;height:18px;border-radius:50%;background:var(--cpr-green);flex:none;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat,linear-gradient(#000,#000);mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;background-clip:content-box}
.cpr-checks span{position:relative}
.cpr-checks span::before{background:var(--cpr-green)}

/* ---------- Booking card ---------- */
.cpr-bookcard{background:#fff;border:1px solid #EEF1F4;border-radius:20px;box-shadow:var(--cpr-shadow);padding:26px}
.cpr-bookcard .cpr-state-chips{display:flex;flex-wrap:wrap;gap:8px;margin-left:10px}
.cpr-chip{padding:8px 14px;border-radius:10px;border:1px solid #DDE3E9;background:#fff;font-weight:700;font-size:13px;color:var(--cpr-ink2);cursor:pointer}
.cpr-chip.is-active{background:var(--cpr-accent);border-color:var(--cpr-accent);color:#fff}
.cpr-field label{display:block;font-size:12.5px;font-weight:700;color:var(--cpr-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.cpr-field select,.cpr-field input,.cpr-field textarea{box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid #DDE3E9;border-radius:11px;font:inherit;color:var(--cpr-ink);background:#fff}

/* ---------- Stats ---------- */
.cpr-statnum{font-size:clamp(2rem,1.4rem+2vw,2.8rem);font-weight:800;letter-spacing:-.02em;color:var(--cpr-ink);line-height:1}
.cpr-statlabel{font-size:13.5px;color:var(--cpr-muted);margin-top:6px}
.cpr-stat-accent .cpr-statnum{color:var(--cpr-accent)}

/* ---------- Cards: course / feature / step / review ---------- */
.cpr-coursecard{display:flex;flex-direction:column;gap:12px;align-self:stretch;background:#fff;border:1px solid #EEF1F4;border-radius:18px;padding:24px;box-shadow:var(--cpr-shadow);transition:transform .15s ease}
.cpr-coursecard:hover{transform:translateY(-3px)}
.cpr-price{font-size:24px;font-weight:800;color:var(--cpr-ink);letter-spacing:-.02em}
.cpr-feature{background:#fff;border:1px solid #EEF1F4;border-radius:16px;padding:24px;height:100%}
.cpr-icon{width:46px;height:46px;border-radius:12px;background:#FFF1EA;color:var(--cpr-accent);display:flex;align-items:center;justify-content:center}
.cpr-step .cpr-stepnum{font-size:38px;font-weight:800;color:var(--cpr-accent);line-height:1;letter-spacing:-.02em}
.cpr-review{background:#fff;border:1px solid #EEF1F4;border-radius:16px;padding:24px;height:100%}
.cpr-stars{color:#FF9F1C;font-size:16px;letter-spacing:2px}

/* ---------- FAQ ---------- */
.cpr-faq details{background:#fff;border:1px solid #EEF1F4;border-radius:14px;margin-bottom:12px;overflow:hidden}
.cpr-faq summary{list-style:none;cursor:pointer;padding:18px 22px;font-weight:700;font-size:17px;color:var(--cpr-ink);display:flex;justify-content:space-between;gap:16px;align-items:center}
.cpr-faq summary::-webkit-details-marker{display:none}
.cpr-faq summary::after{content:"+";color:var(--cpr-accent);font-size:22px;font-weight:700;flex:none;transition:transform .2s}
.cpr-faq details[open] summary::after{transform:rotate(45deg)}
.cpr-faq .cpr-faq-body{padding:0 22px 20px;color:var(--cpr-ink2);line-height:1.65}
.cpr-faq details .wp-block-paragraph{padding:0 22px 20px;margin:0;color:var(--cpr-ink2);line-height:1.65}
.cpr-faq details .wp-block-paragraph+.wp-block-paragraph{padding-top:0}

/* ---------- CTA band ---------- */
.cpr-ctaband{background:var(--cpr-ink);color:#fff;border-radius:24px;padding:48px}
.cpr-ctaband h2,.cpr-ctaband :where(h1,h2,h3){color:#fff}

/* ---------- Footer ---------- */
.cpr-footer{background:#0E1B2B;color:#C6D0DB;font-size:14.5px}
.cpr-footer a{color:#C6D0DB}
.cpr-footer a:hover{color:#fff}
.cpr-footer h4,.cpr-footer .cpr-foot-head{color:#fff;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}
.cpr-footer .cpr-foot-bottom{border-top:1px solid rgba(255,255,255,.1);font-size:12.5px;color:#8A95A1;justify-content:center!important;text-align:center}

/* helpers for editor parity */
.cpr-round-lg{border-radius:18px;overflow:hidden}
.cpr-shadow{box-shadow:var(--cpr-shadow)}

/* ---------- Grid helpers (groups become CSS grids) ---------- */
.cpr-grid-2,.cpr-grid-3,.cpr-grid-4,.cpr-cities{display:grid;gap:18px}
.cpr-grid-2{grid-template-columns:repeat(2,1fr)}
.cpr-grid-3{grid-template-columns:repeat(3,1fr)}
.cpr-grid-4{grid-template-columns:repeat(4,1fr)}
.cpr-cities{grid-template-columns:repeat(3,1fr);gap:12px}
.cpr-grid-3>*,.cpr-grid-4>*,.cpr-grid-2>*{margin:0}
@media(max-width:900px){.cpr-grid-3,.cpr-grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.cpr-grid-2,.cpr-grid-3,.cpr-grid-4,.cpr-cities{grid-template-columns:1fr}}
.cpr-citycard{display:block;background:#fff;border:1px solid #EEF1F4;border-radius:14px;padding:18px 20px;font-weight:700;color:var(--cpr-ink)}
.cpr-citycard:hover{border-color:var(--cpr-accent);color:var(--cpr-accent)}
.cpr-foot-grid{display:grid;grid-template-columns:minmax(260px,320px) max-content max-content max-content;justify-content:space-between;gap:36px}
.cpr-foot-social{margin-top:16px;display:flex;flex-wrap:wrap;gap:14px}
@media(max-width:860px){.cpr-foot-grid{grid-template-columns:1fr 1fr;gap:30px 24px}}
@media(max-width:480px){.cpr-foot-grid{grid-template-columns:1fr;gap:28px}}
.cpr-foot-list{list-style:none;margin:0;padding:0}
.cpr-foot-list li{margin:0 0 10px}
.cpr-section-tight{padding-top:48px;padding-bottom:48px}
.cpr-codetag{font-size:12.5px;font-weight:800;letter-spacing:.04em;color:var(--cpr-muted)}
.cpr-coursemeta{display:flex;gap:14px;font-size:13px;color:var(--cpr-muted);font-weight:600}


/* ---------- Mega menu (matches design) ---------- */
.cpr-header{position:sticky}
.cpr-header-row{gap:14px}
.cpr-mega-nav{position:relative;display:flex;align-items:center;gap:2px;font-size:15px;font-weight:600;color:#2A3744}
.cpr-megatrig,.cpr-nav-plain{display:inline-flex;align-items:center;gap:5px;padding:9px 14px;border-radius:999px;color:#2A3744;background:none;border:0;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}
.cpr-megatrig:hover,.cpr-megaitem:hover .cpr-megatrig,.cpr-nav-plain:hover{background:#FFF1EA;color:var(--cpr-accent)}
.cpr-chev{font-size:9px;opacity:.7;transition:transform .2s}
.cpr-megaitem.is-open .cpr-chev{transform:rotate(180deg)}

.cpr-megapanel{position:absolute;top:calc(100% + 2px);z-index:60;background:#fff;border:1px solid #EEF1F4;border-radius:18px;box-shadow:0 30px 60px -22px rgba(14,27,43,.32);opacity:0;visibility:hidden;transition:opacity .15s;max-height:calc(100vh - 118px);overflow-y:auto;overscroll-behavior:contain}
.cpr-megapanel::before{content:"";position:absolute;top:-22px;left:0;right:0;height:24px}
.cpr-megaitem.is-open .cpr-megapanel{opacity:1;visibility:visible}
.cpr-mega-wide{position:static}
.cpr-mega-wide .cpr-megapanel{right:0;left:auto;width:min(1360px,calc(100vw - 32px))}
.cpr-mega-sm{position:relative}
.cpr-mega-sm .cpr-megapanel{left:0;width:auto}
/* Generic mega panel w/ promo box (Book / Products / Learners / About) */
.cpr-mega-promo{position:static}
.cpr-mega-promo .cpr-megapanel{right:0;left:auto;width:auto;max-width:min(900px,calc(100vw - 32px))}
.cpr-mega-promo .cpr-courses-cols{gap:28px}
.cpr-mega-promo .cpr-coursecol{min-width:190px}
/* Simple single-column dropdown (Book / Products / Learners / About) */
.cpr-submenu{flex-direction:column;gap:2px;padding:12px;min-width:240px;max-width:320px;max-height:70vh;overflow-y:auto}
.cpr-sublink{display:block;padding:9px 12px;border-radius:10px;color:#2A3744;text-decoration:none;font-weight:600;font-size:14px;line-height:1.3}
.cpr-sublink:hover{background:#FFF1EA;color:var(--cpr-accent)}

.cpr-megapanel-inner{display:flex;gap:24px;padding:26px}
.cpr-mega-label{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9AA5B1;margin-bottom:16px}
/* Courses mega: grouped columns (CPR / First Aid / Specialist) */
.cpr-courses-cols{flex:1;min-width:0;display:flex;gap:22px}
.cpr-coursecol{flex:1;min-width:0}
.cpr-coursecol-wide{flex:2.1}
.cpr-coursecol .cpr-mega-label{margin-bottom:10px}
.cpr-courselinks{display:flex;flex-direction:column;gap:1px}
.cpr-courselinks.cpr-coursecol-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px 14px}
.cpr-courselink{display:block;padding:7px 9px;border-radius:9px;text-decoration:none}
.cpr-courselink:hover{background:#F6F9FC}
.cpr-courselink strong{display:block;font-size:13.5px;color:#0E1B2B;font-weight:700;line-height:1.25}
.cpr-courselink small{display:block;font-size:11.5px;color:#7A8794;margin-top:1px}

.cpr-mega-feature{flex:none;width:268px;background:linear-gradient(160deg,#FF7A45,#FF5A1F);color:#fff;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:6px;justify-content:center;text-decoration:none}
.cpr-mega-feature strong{font-size:21px;line-height:1.15;letter-spacing:-.01em}
.cpr-mega-feature span{font-size:13px;opacity:.94}
.cpr-mega-feature .cpr-btn{background:#fff;color:#0E1B2B;align-self:flex-start;margin-top:8px;padding:10px 18px}

/* Locations mega: two-pane (state list left, suburbs populate right) */
.cpr-loc-states{flex:none;width:232px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #EEF1F4;padding-right:18px}
.cpr-loc-states .cpr-mega-label{margin-bottom:12px}
.cpr-loc-state{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;text-decoration:none;color:#2A3744;font-size:14.5px;font-weight:700}
.cpr-loc-state>span:first-child{flex:1}
.cpr-loc-n{color:#9AA5B1;font-weight:700;font-size:12px}
.cpr-loc-arrow{color:#C2CBD4;font-size:17px;font-weight:700;line-height:1;opacity:0;transition:opacity .15s}
.cpr-loc-state:hover,.cpr-loc-state.is-active{background:#FFF1EA;color:var(--cpr-accent)}
.cpr-loc-state:hover .cpr-loc-n,.cpr-loc-state.is-active .cpr-loc-n,.cpr-loc-state:hover .cpr-loc-arrow,.cpr-loc-state.is-active .cpr-loc-arrow{color:var(--cpr-accent);opacity:1}
.cpr-loc-suburbs-wrap{flex:1;min-width:0;position:relative}
.cpr-loc-suburbs{display:none}
.cpr-loc-suburbs.is-active{display:block}
.cpr-loc-suburbs-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}
.cpr-loc-suburbs-head strong{font-size:15px;color:#0E1B2B;font-weight:800}
.cpr-loc-suburbs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 18px;max-height:330px;overflow-y:auto;scrollbar-gutter:stable;align-content:start}
.cpr-loc-suburbs-grid a{display:block;font-size:13px;font-weight:600;color:#2A3744;padding:5px 2px;line-height:1.25;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cpr-loc-suburbs-grid a:hover{color:var(--cpr-accent)}

/* Courses mega: same two-pane pattern as Locations (category list left, courses populate right) */
.cpr-cat-tabs{flex:none;width:232px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #EEF1F4;padding-right:18px}
.cpr-cat-tabs .cpr-mega-label{margin-bottom:12px}
.cpr-cat-tab{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;text-decoration:none;color:#2A3744;font-size:14.5px;font-weight:700}
.cpr-cat-tab>span:first-child{flex:1}
.cpr-cat-n{color:#9AA5B1;font-weight:700;font-size:12px}
.cpr-cat-arrow{color:#C2CBD4;font-size:17px;font-weight:700;line-height:1;opacity:0;transition:opacity .15s}
.cpr-cat-tab:hover,.cpr-cat-tab.is-active{background:#FFF1EA;color:var(--cpr-accent)}
.cpr-cat-tab:hover .cpr-cat-n,.cpr-cat-tab.is-active .cpr-cat-n,.cpr-cat-tab:hover .cpr-cat-arrow,.cpr-cat-tab.is-active .cpr-cat-arrow{color:var(--cpr-accent);opacity:1}
.cpr-cat-panes-wrap{flex:1;min-width:0;position:relative}
.cpr-cat-pane{display:none}
.cpr-cat-pane.is-active{display:block}
.cpr-cat-pane-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}
.cpr-cat-pane-head strong{font-size:15px;color:#0E1B2B;font-weight:800}
.cpr-cat-pane-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 14px;align-content:start}
.cpr-cat-pane-grid .cpr-courselink{padding:6px 8px}

.cpr-dropdown-inner{display:flex;flex-direction:column;padding:12px}
.cpr-dropdown-inner>a{padding:10px 12px;border-radius:10px;text-decoration:none}
.cpr-dropdown-inner>a:hover{background:#F6F9FC}
.cpr-dropdown-inner strong{display:block;font-size:14.5px;color:#0E1B2B;font-weight:700}
.cpr-dropdown-inner small{display:block;font-size:12.5px;color:#7A8794;margin-top:1px}
.cpr-dd-foot{color:var(--cpr-accent)!important;font-weight:800;font-size:13.5px}
.cpr-dropdown-links a{font-size:14.5px;font-weight:600;color:#2A3744}
.cpr-dropdown-links a:hover{color:var(--cpr-accent)}

.cpr-header-phone{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:#0E1B2B;text-decoration:none;white-space:nowrap}
.cpr-header-book{flex:none}

.cpr-mobile-menu{display:none}
@media(max-width:1180px){.cpr-header-phone{display:none}}
@media(max-width:1100px){
  .cpr-mega-nav,.cpr-header-book{display:none}
  .cpr-menu-toggle{display:inline-flex;font-size:22px}
  .cpr-header .cpr-header-row{padding:10px 18px}
  .cpr-util .cpr-util-row{padding:7px 18px;font-size:12px;flex-direction:column;justify-content:center;text-align:center;gap:4px}
  .cpr-util-right{flex-direction:column;gap:4px}
  .cpr-mobile-open .cpr-mobile-menu{display:flex;flex-direction:column;border-top:1px solid #EEF1F4;padding:8px 18px 18px;max-height:calc(100vh - 96px);overflow-y:auto}
  .cpr-mobile-menu a{padding:14px 4px;font-weight:700;font-size:16px;color:#0E1B2B;border-bottom:1px solid #F2F5F8;text-decoration:none}
  .cpr-mobile-book{margin-top:16px;width:100%;justify-content:center;border-bottom:0!important;color:#fff!important;padding:15px 24px!important}
  .cpr-mobile-call{margin-top:6px;text-align:center;border-bottom:0!important;color:var(--cpr-accent)!important;font-weight:800}
  /* Courses / Locations expandable sub-menus */
  .cpr-m-acc{border-bottom:1px solid #F2F5F8}
  .cpr-m-acc>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 4px;font-weight:700;font-size:16px;color:#0E1B2B}
  .cpr-m-acc>summary>span:first-child{flex:1}
  .cpr-m-acc>summary::-webkit-details-marker{display:none}
  .cpr-m-acc>summary::after{content:"+";font-size:21px;font-weight:400;color:var(--cpr-accent);line-height:1}
  .cpr-m-acc[open]>summary::after{content:"\2212"}
  .cpr-m-sub{display:flex;flex-direction:column;padding:0 0 12px 12px}
  .cpr-m-sub a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 4px;font-size:14.5px;font-weight:600;color:#2A3744;border-bottom:0}
  .cpr-m-n{color:#9AA5B1;font-weight:700;font-size:12px}
  .cpr-m-all{color:var(--cpr-accent)!important;font-weight:800!important}
  .cpr-m-grouplabel{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9AA5B1;padding:14px 4px 4px}
  /* Nested state -> suburb accordions */
  .cpr-m-acc-2{border-bottom:0;margin:2px 0}
  .cpr-m-acc-2>summary{padding:11px 4px;font-size:14.5px;font-weight:700;color:#2A3744}
  .cpr-m-acc-2>summary::after{font-size:18px}
  .cpr-m-acc-2[open]{background:#FAFBFC;border-radius:10px}
  .cpr-m-acc-2 .cpr-m-sub{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;padding:0 8px 10px 8px}
  .cpr-m-acc-2 .cpr-m-sub a{padding:8px 2px;font-size:13.5px;font-weight:600}
  .cpr-m-acc-2 .cpr-m-sub .cpr-m-all{grid-column:1/-1}
}

/* ---------- Content-parity sections ---------- */
.cpr-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px 30px}
.cpr-logos img{height:66px;width:auto;max-width:128px;object-fit:contain;opacity:.9;mix-blend-mode:multiply}
.cpr-award{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;background:#FFF7E8;border:1px solid #F3D98C;color:#8A6D14;font-weight:700;font-size:14px}
.cpr-award b{color:#0E1B2B}
.cpr-priceband{background:linear-gradient(120deg,#08321F,#0E5A36);color:#fff;border-radius:24px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.cpr-priceband :where(h2,h3,p){color:#fff}
.cpr-focus{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cpr-focus .cpr-feature{text-align:center}
.cpr-variant{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;background:#fff;border:1px solid #EEF1F4;border-radius:14px;padding:20px 24px}

/* ===== Booking widget ===== */
.cpr-booking{max-width:620px}
.cpr-booking-form{display:flex;flex-direction:column;gap:26px}
.cpr-booking-step{display:flex;flex-direction:column;gap:12px}
.cpr-booking-label{font-size:14px;font-weight:800;color:#0E1B2B;letter-spacing:.01em}
.cpr-course-pick{display:flex;flex-direction:column;gap:10px}
.cpr-course-opt{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1.5px solid #e6e9ee;border-radius:14px;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;background:#fff}
.cpr-course-opt:hover{border-color:#F37829}
.cpr-course-opt input{accent-color:#F37829;width:18px;height:18px;flex:0 0 auto}
.cpr-course-opt:has(input:checked){border-color:#F37829;background:#fff7f2;box-shadow:0 0 0 3px rgba(243,120,41,.12)}
.cpr-course-opt-body{display:flex;flex-direction:column;gap:2px;flex:1}
.cpr-course-opt-name{font-weight:800;color:#0E1B2B;font-size:16px}
.cpr-course-opt-sub{font-size:12.5px;color:#7A8794}
.cpr-course-opt-price{font-weight:800;color:#F37829;font-size:14px;white-space:nowrap}
.cpr-booking-select{padding:13px 14px;border:1.5px solid #e6e9ee;border-radius:12px;font-size:15px;font-family:inherit;color:#0E1B2B;background:#fff;max-width:280px}
.cpr-booking-select:focus{outline:none;border-color:#F37829;box-shadow:0 0 0 3px rgba(243,120,41,.12)}
.cpr-booking-submit{align-self:flex-start;border:0;cursor:pointer;font-size:16px}

/* ===== Modal ===== */
body.cpr-modal-open{overflow:hidden}
.cpr-modal-backdrop{position:fixed;inset:0;background:rgba(14,27,43,.55);backdrop-filter:blur(2px);z-index:9998;animation:cprFade .15s ease}
.cpr-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(640px,calc(100vw - 28px));max-height:88vh;display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(14,27,43,.35);z-index:9999;overflow:hidden;animation:cprPop .18s ease}
.cpr-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #eef1f5}
.cpr-modal-title{font-size:19px;font-weight:800;color:#0E1B2B;margin:0;line-height:1.25}
.cpr-modal-close{border:0;background:#f1f3f6;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1;color:#0E1B2B;cursor:pointer;flex:0 0 auto;transition:background .15s}
.cpr-modal-close:hover{background:#e4e8ee}
.cpr-modal-body{padding:18px 24px 24px;overflow-y:auto}
.cpr-modal-loading{display:flex;align-items:center;gap:12px;padding:30px 0;color:#7A8794;font-weight:600;justify-content:center}
.cpr-spinner{width:20px;height:20px;border:3px solid #f0d6c4;border-top-color:#F37829;border-radius:50%;animation:cprSpin .7s linear infinite;display:inline-block}
.cpr-modal-empty{text-align:center;padding:24px 6px;color:#0E1B2B}
.cpr-modal-empty strong{display:block;font-size:17px;margin-bottom:8px}
.cpr-modal-empty p{color:#7A8794;font-size:14px;line-height:1.5;margin:0}
.cpr-modal-empty a{color:#F37829;font-weight:700}
.cpr-result-count{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7A8794;margin-bottom:14px}
.cpr-modal-more{font-size:12.5px;color:#7A8794;margin:-8px 0 14px}
.cpr-modal-notice{font-size:13.5px;line-height:1.5;color:#8A5300;background:#FFF4E5;border:1px solid #FFD9A0;border-radius:10px;padding:10px 14px;margin:-4px 0 16px}
.cpr-result-list{display:flex;flex-direction:column;gap:10px}
.cpr-result{display:flex;align-items:center;gap:16px;padding:14px 16px;border:1px solid #eef1f5;border-radius:13px;transition:border-color .15s,box-shadow .15s}
.cpr-result:hover{border-color:#F37829;box-shadow:0 4px 16px rgba(14,27,43,.07)}
.cpr-result-main{flex:1;min-width:0}
.cpr-result-top{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.cpr-result-loc{font-weight:800;color:#0E1B2B;font-size:15.5px}
.cpr-result-date{font-size:13.5px;color:#0E1B2B}
.cpr-result-meta{font-size:12.5px;color:#7A8794;margin-top:2px}
.cpr-result-meta strong{color:#F37829}
.cpr-seat{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;padding:3px 9px;border-radius:99px;white-space:nowrap}
.cpr-seat.is-open{background:#e7f6ec;color:#1c7a3f}
.cpr-seat.is-low{background:#fdeede;color:#b5611a}
.cpr-seat.is-full{background:#f3f0f0;color:#9aa0a6}
.cpr-result-action{flex:0 0 auto}
.cpr-result-enrol{font-size:14px;padding:10px 18px;white-space:nowrap}
.cpr-result-enrol.is-disabled{background:#eceff3;color:#9aa0a6;pointer-events:none;box-shadow:none}
.cpr-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:16px}
.cpr-page-btn{border:1px solid #EEF1F4;background:#fff;color:#0E1B2B;font-weight:700;font-size:13px;min-width:34px;height:34px;padding:0 10px;border-radius:9px;cursor:pointer;transition:background .15s,border-color .15s}
.cpr-page-btn:hover:not(:disabled):not(.is-current){background:#f1f3f6;border-color:#dfe4ea}
.cpr-page-btn.is-current{background:var(--cpr-accent);border-color:var(--cpr-accent);color:#fff;cursor:default}
.cpr-page-btn:disabled{opacity:.4;cursor:default}
.cpr-page-gap{color:#7A8794;padding:0 2px}
.cpr-count-page{color:#7A8794;font-weight:600}
.cpr-view-toggle{display:flex;gap:4px;margin-bottom:16px;border:1px solid #EEF1F4;border-radius:11px;padding:4px;width:max-content}
.cpr-view-tab{border:0;background:transparent;padding:8px 16px;border-radius:8px;font-weight:700;font-size:13px;color:var(--cpr-muted);cursor:pointer}
.cpr-view-tab:hover{color:var(--cpr-ink)}
.cpr-view-tab.is-active{background:var(--cpr-accent);color:#fff}
.cpr-view-pane{display:none}
.cpr-view-pane.is-active{display:block}
.cpr-cal-mount{--fc-border-color:#EEF1F4;--fc-button-bg-color:var(--cpr-accent);--fc-button-border-color:var(--cpr-accent);--fc-button-hover-bg-color:var(--cpr-accent-d);--fc-button-hover-border-color:var(--cpr-accent-d);--fc-button-active-bg-color:var(--cpr-accent-d);--fc-button-active-border-color:var(--cpr-accent-d);--fc-today-bg-color:#FFF1EA;font-size:13px;min-height:120px}
.cpr-cal-mount .fc-toolbar-title{font-size:16px;font-weight:800;color:var(--cpr-ink)}
.cpr-cal-mount .fc-button{text-transform:capitalize;box-shadow:none!important;font-weight:600}
.cpr-cal-mount .fc-daygrid-event{cursor:pointer;font-size:11px;padding:1px 4px;border-radius:5px}
.cpr-cal-mount .fc-daygrid-day-number{font-size:12.5px;color:var(--cpr-ink2)}
@keyframes cprFade{from{opacity:0}to{opacity:1}}
@keyframes cprPop{from{opacity:0;transform:translate(-50%,-48%) scale(.97)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes cprSpin{to{transform:rotate(360deg)}}
@keyframes cprSheet{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(max-width:560px){
  /* Bottom-sheet popup: anchored to the bottom, dvh-safe (never hides behind the mobile address bar). */
  .cpr-modal{
    top:auto;bottom:0;left:0;right:0;
    transform:none;
    width:100%;
    max-height:92vh;max-height:92dvh;
    border-radius:18px 18px 0 0;
    animation:cprSheet .22s ease;
  }
  .cpr-modal-head{padding:16px 18px}
  .cpr-modal-body{padding:16px 18px calc(20px + env(safe-area-inset-bottom))}
  .cpr-result{flex-direction:column;align-items:stretch;gap:10px}
  .cpr-result-action .cpr-result-enrol{display:block;text-align:center}
}

/* ===== HubSpot contact form — brand skin ===== */
.cpr-hubspot .hs-form,.cpr-hubspot form{display:flex;flex-direction:column;gap:16px}
.cpr-hubspot .hs-form-field{margin:0}
.cpr-hubspot .hs-form-field>label{display:block;font-size:14px;font-weight:800;color:#0E1B2B;margin-bottom:7px}
.cpr-hubspot .hs-form-field>label .hs-form-required{color:#F37829;margin-left:2px}
.cpr-hubspot .hs-field-desc{font-size:12.5px;color:#7A8794;margin:0 0 7px}
.cpr-hubspot .hs-input{width:100%;box-sizing:border-box;padding:12px 14px;border:1.5px solid #e6e9ee;border-radius:12px;font-size:15px;font-family:inherit;color:#0E1B2B;background:#fff;transition:border-color .15s,box-shadow .15s}
.cpr-hubspot textarea.hs-input{min-height:120px;resize:vertical}
.cpr-hubspot select.hs-input{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237A8794' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}
.cpr-hubspot .hs-input:focus{outline:none;border-color:#F37829;box-shadow:0 0 0 3px rgba(243,120,41,.12)}
.cpr-hubspot .hs-input.invalid.error{border-color:#d6492f}
.cpr-hubspot ul.inputs-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.cpr-hubspot ul.inputs-list label{display:flex;align-items:center;gap:8px;font-size:14px;color:#0E1B2B;font-weight:500}
.cpr-hubspot ul.inputs-list input[type=checkbox],.cpr-hubspot ul.inputs-list input[type=radio]{accent-color:#F37829;width:17px;height:17px}
.cpr-hubspot .hs-error-msgs{list-style:none;margin:6px 0 0;padding:0}
.cpr-hubspot .hs-error-msg,.cpr-hubspot .hs-error-msgs label{color:#d6492f;font-size:12.5px;font-weight:600}
.cpr-hubspot .hs-button,.cpr-hubspot input[type=submit].hs-button{width:100%;border:0;cursor:pointer;background:#F37829;color:#fff;font-family:inherit;font-weight:800;font-size:16px;padding:15px 22px;border-radius:99px;transition:background .15s,transform .05s;box-shadow:0 6px 18px rgba(243,120,41,.28)}
.cpr-hubspot .hs-button:hover{background:#e06a1e}
.cpr-hubspot .hs-button:active{transform:translateY(1px)}
.cpr-hubspot .hs_cos_wrapper_type_rich_text,.cpr-hubspot .hs-richtext{font-size:13px;color:#7A8794;line-height:1.5}
.cpr-hubspot .hs-richtext a{color:#F37829;font-weight:700}
.cpr-hubspot .submitted-message{padding:22px;background:#e7f6ec;border:1px solid #bfe6cc;border-radius:14px;color:#1c7a3f;font-weight:700;font-size:15px}
.cpr-hubspot .legal-consent-container{font-size:12.5px;color:#7A8794}
@media(min-width:560px){
  .cpr-hubspot .hs-fieldtype-text.hs-form-field,.cpr-hubspot .hs-fieldtype-phonenumber.hs-form-field{display:inline-block}
}

.cpr-courselist{display:flex;flex-direction:column;gap:10px}

.cpr-ticklist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}
.cpr-ticklist li{position:relative;padding-left:30px;color:#0E1B2B;font-size:14.5px;line-height:1.45}
.cpr-ticklist li::before{content:"✓";position:absolute;left:0;top:1px;color:#1FA85A;font-weight:800;background:#e7f6ec;width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
@media(max-width:620px){.cpr-ticklist{grid-template-columns:1fr}}

.cpr-loc-links{display:flex;flex-direction:column;gap:8px}
.cpr-loc-link{color:#2A3744;font-weight:600;font-size:14.5px;padding:7px 12px;border-radius:9px;background:#F6F9FC}
.cpr-loc-link:hover{background:#FFF1EA;color:var(--cpr-accent)}

.cpr-loc-dir{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.cpr-loc-links-wrap{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
@media(max-width:760px){.cpr-loc-dir,.cpr-loc-links-wrap{grid-template-columns:1fr}}

@media(max-width:900px){.cpr-loc-suburbs-grid{grid-template-columns:repeat(2,1fr)}.cpr-cat-pane-grid{grid-template-columns:1fr}}

/* ============================================================
   NEW DESIGN — course & venue detail pages (2026-06-29)
   Hero kept as-is; everything below hero uses these.
   ============================================================ */
.cpr-detail-grid{display:grid;grid-template-columns:1fr 360px;gap:44px;align-items:start}
.cpr-detail-aside{position:sticky;top:90px}
@media(max-width:980px){.cpr-detail-grid{grid-template-columns:1fr;gap:30px}.cpr-detail-aside{position:static}}
.cpr-detail-main h2{font-size:24px;font-weight:800;letter-spacing:-.02em;margin:34px 0 14px}
.cpr-detail-main>h2:first-child{margin-top:0}
.cpr-detail-main p{font-size:16px;line-height:1.65;color:var(--cpr-ink2);margin-bottom:14px}
/* check-list helper */
.cpr-check{list-style:none;margin:0;padding:0}
.cpr-check li,.cpr-check>div{display:flex;gap:11px;align-items:flex-start;font-size:15.5px;line-height:1.5;color:var(--cpr-ink2)}.cpr-check>div>div {display: flex;flex-direction: column;}.cpr-check li::before,.cpr-check>div::before{content:"";flex:none;width:20px;height:20px;margin-top:1px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300593F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")}
/* quick-facts table */
.cpr-qf{border:1px solid #ECEFF3;border-radius:16px;overflow:hidden;margin-bottom:8px}
.cpr-qf-row{display:grid;grid-template-columns:200px 1fr;gap:16px;padding:13px 18px;border-bottom:1px solid #F0F2F5}
.cpr-qf-row:last-child{border-bottom:0}
.cpr-qf-row .k{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#9AA5B1}
.cpr-qf-row .v{font-size:15px;font-weight:600;color:#1B2733}
@media(max-width:520px){.cpr-qf-row{grid-template-columns:1fr;gap:2px}}

/* native wp:table version of the same "quick facts" box (block-editable) */
figure.cpr-qf.wp-block-table{border:1px solid #ECEFF3;border-radius:16px;box-shadow:none;margin:0 0 8px}
figure.cpr-qf.wp-block-table table{border:0;border-radius:0;box-shadow:none;margin:0;font-size:15px;border-collapse:collapse}
figure.cpr-qf.wp-block-table td{padding:13px 18px;border:0;border-bottom:1px solid #F0F2F5;vertical-align:middle}
figure.cpr-qf.wp-block-table tr:last-child td{border-bottom:0}
figure.cpr-qf.wp-block-table tr:nth-child(even){background:transparent}
figure.cpr-qf.wp-block-table tr:hover{background:transparent}
figure.cpr-qf.wp-block-table td:first-child{width:200px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#9AA5B1}
figure.cpr-qf.wp-block-table td:last-child{font-size:15px;font-weight:600;color:#1B2733}
@media(max-width:520px){
  figure.cpr-qf.wp-block-table tr{display:grid;grid-template-columns:1fr}
  figure.cpr-qf.wp-block-table td:first-child{width:auto;padding-bottom:2px}
  figure.cpr-qf.wp-block-table td{display:block;border-bottom:0}
  figure.cpr-qf.wp-block-table tr{border-bottom:1px solid #F0F2F5;padding-bottom:6px;margin-bottom:6px}
  figure.cpr-qf.wp-block-table tr:last-child{border-bottom:0}
}
/* learn + included */
.cpr-learn-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 28px;margin:0 0 8px}
@media(max-width:560px){.cpr-learn-grid{grid-template-columns:1fr}}
.cpr-incl{background:#F7F8FA;border:1px solid #ECEFF3;border-radius:18px;padding:26px;margin-top:8px}
.cpr-incl h3{font-size:18px;font-weight:800;margin-bottom:14px}
.cpr-incl-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}
@media(max-width:560px){.cpr-incl-grid{grid-template-columns:1fr}}
/* how it works */
.cpr-how{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cpr-how.col-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(max-width:780px){.cpr-how{grid-template-columns:1fr}}
.cpr-how-card{background:#fff;border:1px solid #ECEFF3;border-radius:16px;padding:22px}
.cpr-how-n{display:inline-flex;width:38px;height:38px;border-radius:11px;background:var(--cpr-accent);color:#fff;font-size:18px;font-weight:800;align-items:center;justify-content:center;margin-bottom:14px}
.cpr-how-card h3{font-size:16px;font-weight:800;margin-bottom:6px}
.cpr-how-card p{font-size:14px;line-height:1.55;color:#5B6877;margin:0}
/* aside fact rows + price card */
.cpr-price-xl{font-size:34px;font-weight:800;letter-spacing:-.02em}
.cpr-fact{display:flex;align-items:flex-start;gap:11px;padding:13px 0;border-bottom:1px solid #F0F2F5}
.cpr-fact:last-of-type{border-bottom:0}
.cpr-fact .ico{flex:none;width:36px;height:36px;border-radius:10px;background:rgba(243,120,42,.10);display:inline-flex;align-items:center;justify-content:center}
.cpr-fact .k{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#9AA5B1}
.cpr-fact .v{font-size:15px;font-weight:700;color:var(--cpr-ink)}
/* related course cards */
.cpr-related{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:780px){.cpr-related{grid-template-columns:1fr}}
.cpr-related a{display:flex;flex-direction:column;border:1px solid #ECEFF3;border-radius:16px;padding:20px;background:#fff;transition:box-shadow .15s,transform .15s}
.cpr-related a:hover{box-shadow:0 16px 36px rgba(14,27,43,.10);transform:translateY(-3px)}
.cpr-related-card strong{font-size:16.5px;font-weight:800;letter-spacing:-.02em;line-height:1.2;margin-bottom:10px;display:block}
.cpr-related-price{font-size:14px;font-weight:800;color:#0E1B2B}
.cpr-related-enquire{font-size:13px;font-weight:700;color:var(--cpr-muted)}
/* venue: courses, getting-here, other venues, map, local proof */
.cpr-vcourses{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px}
@media(max-width:560px){.cpr-vcourses{grid-template-columns:1fr}}
.cpr-vcourses a{display:flex;align-items:center;gap:12px;border:1px solid #ECEFF3;border-radius:14px;padding:16px;background:#fff;transition:all .15s}
.cpr-vcourses a:hover{border-color:var(--cpr-accent);box-shadow:0 10px 24px rgba(14,27,43,.07)}
.cpr-getting{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:560px){.cpr-getting{grid-template-columns:1fr}}
.cpr-getting .ico{flex:none;width:42px;height:42px;border-radius:11px;background:rgba(243,120,42,.10);display:inline-flex;align-items:center;justify-content:center}
.cpr-map-wrap{height:360px;overflow:hidden;border-top:1px solid var(--cpr-border);border-bottom:1px solid var(--cpr-border)}
.cpr-map-wrap iframe{width:100%;height:100%;border:0;display:block}
.cpr-localproof{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px;align-items:start}
@media(max-width:860px){.cpr-localproof{grid-template-columns:1fr}}
.cpr-othervenues{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.cpr-othervenues a{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #ECEFF3;border-radius:12px;padding:14px 15px;font-size:14.5px;font-weight:600;color:var(--cpr-ink2);transition:all .15s}
.cpr-othervenues a:hover{border-color:var(--cpr-accent);box-shadow:0 8px 20px rgba(14,27,43,.07)}

/* ============ BLOG + LEGACY PROD CONTENT (2026-07-02) ============ */
/* Blog cards */
.cpr-blogcard{overflow:hidden}
.cpr-blogcard .wp-block-post-featured-image img{width:100%;height:180px;object-fit:cover;border-radius:12px}
.cpr-blogcard .cpr-blogcat{margin-top:12px}
.cpr-blogcat{font-size:12px;padding:4px 11px}
.cpr-blogcat a{color:inherit;text-decoration:none}
.cpr-blogcard h3 a{color:inherit;text-decoration:none}
.cpr-blogcard h3 a:hover{color:var(--cpr-accent)}
/* Pagination */
.wp-block-query-pagination{gap:6px;font-size:15px}
.wp-block-query-pagination .page-numbers,.wp-block-query-pagination-previous,.wp-block-query-pagination-next{display:inline-flex;align-items:center;padding:8px 14px;border-radius:10px;border:1px solid #EEF1F4;background:#fff;color:var(--cpr-ink2);text-decoration:none}
.wp-block-query-pagination .page-numbers.current{background:var(--cpr-accent);border-color:var(--cpr-accent);color:#fff}
.wp-block-query-pagination a:hover{border-color:var(--cpr-accent);color:var(--cpr-accent)}
.wp-block-query-pagination .page-numbers.dots{border:0;background:none}
/* Single post hero */
.single .cpr-hero h1{font-size:clamp(1.52rem,0.96rem+1.92vw,2.32rem);line-height:1.15;letter-spacing:-.02em}
.cpr-article-wrap .wp-block-post-featured-image{margin-bottom:36px}
.cpr-article-wrap .wp-block-post-featured-image img{width:100%;height:auto;border-radius:16px}
/* Long-form typography: single posts + legacy prod-imported pages */
.cpr-article,body.cpr-legacy .wp-block-post-content{font-size:17px;line-height:1.75;color:var(--cpr-ink2)}
.cpr-article p,body.cpr-legacy .wp-block-post-content p{margin:0 0 1.15em}
.cpr-article h2,body.cpr-legacy .wp-block-post-content h2{font-size:27px;line-height:1.25;margin:1.7em 0 .6em;color:var(--cpr-ink)}
.cpr-article h3,body.cpr-legacy .wp-block-post-content h3{font-size:21px;line-height:1.3;margin:1.5em 0 .5em;color:var(--cpr-ink)}
.cpr-article h4,body.cpr-legacy .wp-block-post-content h4{font-size:18px;margin:1.4em 0 .5em;color:var(--cpr-ink)}
.cpr-article img,body.cpr-legacy .wp-block-post-content img{max-width:100%;height:auto;border-radius:14px}
.cpr-article figure,body.cpr-legacy .wp-block-post-content figure{margin:1.6em 0}
.cpr-article figcaption,body.cpr-legacy .wp-block-post-content figcaption{font-size:13px;color:var(--cpr-muted);text-align:center;margin-top:8px}
.cpr-article ul,.cpr-article ol,body.cpr-legacy .wp-block-post-content ul,body.cpr-legacy .wp-block-post-content ol{margin:0 0 1.15em;padding-left:1.35em}
.cpr-article li,body.cpr-legacy .wp-block-post-content li{margin-bottom:.4em}
.cpr-article a,body.cpr-legacy .wp-block-post-content a{color:var(--cpr-accent)}
.cpr-article a.cpr-btn,body.cpr-legacy .wp-block-post-content a.cpr-btn{color:#fff}
.cpr-article a.cpr-btn-ghost,body.cpr-legacy .wp-block-post-content a.cpr-btn-ghost{color:var(--cpr-ink)}
.cpr-article blockquote,body.cpr-legacy .wp-block-post-content blockquote{border-left:4px solid var(--cpr-accent);margin:1.5em 0;padding:.4em 0 .4em 1.2em;color:var(--cpr-muted)}
.cpr-article table,.wp-block-table table,body.cpr-legacy .wp-block-post-content table{width:100%;border-collapse:separate;border-spacing:0;font-size:14.5px;margin:1.5em 0;border:1px solid var(--cpr-border);border-radius:14px;overflow:hidden;box-shadow:var(--cpr-shadow)}
.cpr-article th,.cpr-article td,.wp-block-table th,.wp-block-table td,body.cpr-legacy .wp-block-post-content th,body.cpr-legacy .wp-block-post-content td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid #F0F2F5}
.cpr-article thead th,.wp-block-table thead th,body.cpr-legacy .wp-block-post-content thead th{background:var(--cpr-ink);color:#fff;font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;border-bottom:0}
.cpr-article tbody tr:last-child td,.wp-block-table tbody tr:last-child td,body.cpr-legacy .wp-block-post-content tbody tr:last-child td{border-bottom:0}
.cpr-article tbody tr:nth-child(even),.wp-block-table tbody tr:nth-child(even),body.cpr-legacy .wp-block-post-content tbody tr:nth-child(even){background:#FAFBFC}
.cpr-article tbody tr:hover,.wp-block-table tbody tr:hover,body.cpr-legacy .wp-block-post-content tbody tr:hover{background:#FFF6EE}
.cpr-article strong,.wp-block-table strong,body.cpr-legacy .wp-block-post-content table strong{color:var(--cpr-ink)}
.cpr-article .wp-block-table,.wp-block-table,body.cpr-legacy .wp-block-post-content .wp-block-table{overflow-x:auto;border-radius:14px}
.cpr-article iframe,body.cpr-legacy .wp-block-post-content iframe{max-width:100%}
/* Legacy page shell: give prod-imported pages breathing room + tame their H1 */
body.cpr-legacy main>.wp-block-post-content{padding-top:40px;padding-bottom:64px}
body.cpr-legacy .wp-block-post-content h1{font-size:clamp(1.52rem,0.96rem+1.92vw,2.32rem);line-height:1.12;letter-spacing:-.02em;margin:.4em 0 .5em;color:var(--cpr-ink)}
body.cpr-legacy .wp-block-post-content>*:first-child{margin-top:0}
/* Search block skin */
.wp-block-search__input{border:1px solid #E5E9EE;border-radius:12px;padding:12px 16px;font-size:16px}
.wp-block-search__button{background:var(--cpr-accent);color:#fff;border:0;border-radius:12px;padding:12px 20px;font-weight:700;cursor:pointer}
.wp-block-search__button:hover{background:var(--cpr-accent-d)}
/* legacy imports: in-content h1s sit under the hero h1 — scale them down to section size */
.cpr-legacy-body h1{font-size:clamp(1.2rem,0.88rem+1.2vw,1.68rem);line-height:1.2;margin:1.2em 0 .5em}
.cpr-legacy-body h4{font-weight:500;color:var(--cpr-ink2)}

/* ============ HOMEPAGE FULL COURSE GRID + LOCATIONS (2026-07-02) ============ */
.cpr-cgroup-head{font-size:21px;margin:36px 0 16px}
.cpr-courses-all>.cpr-cgroup-head:first-child{margin-top:0}
.cpr-cgroup{margin-bottom:8px}
.cpr-coursecard .cpr-cname{font-size:17px;line-height:1.35;margin:2px 0 10px}
.cpr-cprice{margin-top:auto;padding-top:10px}
.cpr-from{font-size:12px;color:#7A8794}
.cpr-cactions{display:flex;align-items:center;gap:14px;margin-top:12px}
.cpr-cactions .cpr-btn{padding:10px 18px;font-size:14px}
.cpr-clink{font-weight:700;font-size:14px;color:var(--cpr-accent);text-decoration:none}
.cpr-clink:hover{text-decoration:underline}
.cpr-loc-home{margin-top:8px}
.cpr-loc-col-head{font-size:16px;margin-bottom:10px}
.cpr-loc-col-head a{color:inherit;text-decoration:none}
.cpr-loc-col-head a:hover{color:var(--cpr-accent)}
.cpr-loc-home .cpr-loc-links a{font-size:13.5px}
/* booking widget trust icons */
.cpr-trust{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.cpr-trust img{height:24px;width:auto;display:block}
.cpr-trust img[alt="Australian Resuscitation Council guidelines"],.cpr-trust img[alt="Secure Payment Gateway"]{height:40px}
/* Training Delivery + Near You course sections */
.cpr-delivery h3{font-size:18px;margin:1.4em 0 .4em;color:var(--cpr-ink)}
.cpr-delivery p{color:var(--cpr-ink2);line-height:1.7;margin:24px 0 1em}
.cpr-delivery a{color:var(--cpr-accent)}
.cpr-delivery a.cpr-btn{color:#fff}
.cpr-delivery a.cpr-btn-ghost{color:var(--cpr-ink)}
.cpr-delivery-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px}
.cpr-delivery-ctas .cpr-btn{text-decoration:none}
.cpr-btn-ghost,a.cpr-btn-ghost{background:#fff;color:var(--cpr-accent);border:2px solid var(--cpr-accent)}
.cpr-btn-ghost:hover,a.cpr-btn-ghost:hover{background:#FFF1EA;color:var(--cpr-accent-d)}
.cpr-nearyou h2{margin-bottom:8px}
/* Width normalization: any cpr-section group that missed WP's constrained layout
   (hand-written or dynamic-block markup) gets its children centred at the site grid. */
.cpr-section:not(.is-layout-constrained)>*{max-width:1600px;margin-left:auto;margin-right:auto}
/* state-grouped venue grid (homepage locations + course near-you) */
.cpr-loc-grid-full{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 24px}
@media(max-width:1024px){.cpr-loc-grid-full{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.cpr-loc-grid-full{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cpr-loc-grid-full ul.cpr-loc-links{list-style:none;padding:0;margin:0}
.cpr-loc-grid-full .cpr-loc-links a{color:var(--cpr-ink2);text-decoration:none;font-size:13.5px}
.cpr-loc-grid-full .cpr-loc-links a:hover{color:var(--cpr-accent);text-decoration:underline}
.cpr-loc-grid-full .cpr-loc-links li{color:#8A96A3;font-size:13.5px}

/* ============ COURSE GRID — colored boxes (prod-matched) 2026-07-02 ============ */
.cpr-ccard{display:flex;flex-direction:column;height:100%;border-radius:20px;overflow:hidden;box-shadow:var(--cpr-shadow);transition:transform .15s ease}
.cpr-ccard:hover{transform:translateY(-3px)}
.cpr-ccard-top{padding:26px 22px 22px;flex:1}
.cpr-ccard-code{font-size:12.5px;font-weight:800;letter-spacing:.04em;color:rgba(255,255,255,.78);margin:0 0 6px}
.cpr-ccard-name{font-size:19px;line-height:1.32;font-weight:700;color:#fff;margin:0 0 10px}
.cpr-ccard-desc{font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.92);margin:0}
.cpr-ccard-foot{background:#fff;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cpr-ccard-foot .cpr-cprice{margin-top:0;padding-top:0}
.cpr-ccard-enquire{font-size:13px;font-weight:700;color:var(--cpr-ink2)}
.cpr-ccard-btn,a.cpr-ccard-btn{background:#00593F;padding:10px 18px;font-size:14px;border-radius:8px}
.cpr-ccard-btn:hover,a.cpr-ccard-btn:hover{background:#00432f}
.cpr-ccard-foot .cpr-cactions{margin-top:0}
@media(max-width:520px){.cpr-ccard-foot{flex-direction:column;align-items:flex-start}}

/* course card photo strip (matches prod card layout: photo > colour block > footer) */
.cpr-ccard{display:flex;flex-direction:column}
.cpr-ccard-img{width:100%;height:170px;background-size:cover;background-position:center;flex-shrink:0}

/* ============ LOCATIONS ACCORDION (homepage) 2026-07-02 ============ */
.cpr-loc-accordion summary{align-items:center}
.cpr-loc-accordion summary::after{margin-left:4px}
.cpr-loc-count{font-size:12px;padding:4px 11px;margin-left:auto;margin-right:4px}
.cpr-loc-accordion-body{padding-top:4px}
.cpr-loc-accordion-tag{font-size:14px;color:var(--cpr-muted);margin:0 0 16px}
.cpr-loc-accordion-viewall{margin:18px 0 0}
.cpr-loc-accordion-viewall a{font-weight:700;color:var(--cpr-accent);text-decoration:none;font-size:14.5px}
.cpr-loc-accordion-viewall a:hover{text-decoration:underline}
/* The hotlinked "checkmark-black.svg" (used as a plain step-separator icon on
   several legacy-imported pages) has no intrinsic size, so browsers render it
   at a huge default size. Constrain it to a small inline icon everywhere. */
img[src*="checkmark-black.svg"]{width:28px!important;height:auto!important;max-width:28px!important;display:inline-block}

/* ============ PRODUCTS (2026-07-09) ============ */
/* Hub + related grid — min() guard keeps a single column from overflowing narrow viewports */
.cpr-prodgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:18px}
.cpr-prodcard{display:flex;flex-direction:column;background:#fff;border:1px solid #EEF1F4;border-radius:18px;overflow:hidden;box-shadow:var(--cpr-shadow);transition:transform .15s ease,box-shadow .15s ease;color:var(--cpr-ink);text-decoration:none}
.cpr-prodcard,.cpr-prodcard:hover,.cpr-prodcard *{text-decoration:none}
.cpr-prodcard:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(14,27,43,.12);color:var(--cpr-ink)}
.cpr-prodcard-img{aspect-ratio:4/3;background:#F7F8FA;display:flex;align-items:center;justify-content:center;padding:16px;border-bottom:1px solid #F0F2F5}
.cpr-prodcard-img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:6px}
.cpr-prodcard-body{display:flex;flex-direction:column;gap:8px;padding:18px 20px;flex:1 1 auto}
.cpr-prodcard-name{font-size:15.5px;font-weight:800;line-height:1.25;letter-spacing:-.01em;margin:0;color:var(--cpr-ink)}
.cpr-prodcard-cta{margin-top:auto;font-size:13.5px;font-weight:800;color:var(--cpr-accent)}
/* price line — shared by hero, cards and aside */
.cpr-prod-priceline{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.cpr-prod-priceline .cpr-was{color:var(--cpr-muted);text-decoration:line-through;font-weight:600;font-size:.72em}
.cpr-prod-priceline .cpr-save{background:#FFF1EA;color:var(--cpr-accent);font-weight:800;font-size:12.5px;padding:3px 10px;border-radius:999px;line-height:1.4;align-self:center}
.cpr-prod-priceline .cpr-pricenote{flex-basis:100%;color:var(--cpr-muted);font-size:12.5px;font-weight:600}
.cpr-hero .cpr-prod-priceline{margin:8px 0 2px}
/* detail-page product image */
.cpr-prod-figure{margin:0;background:#F7F8FA;border:1px solid #ECEFF3;border-radius:18px;padding:26px;display:flex;align-items:center;justify-content:center}
.cpr-prod-figure img{max-width:100%;height:auto;border-radius:8px}
.cpr-prod-body{margin-top:22px}
.cpr-prod-body>*:first-child{margin-top:0}
/* request-form aside card */
.cpr-prcard{padding:24px}
.cpr-prcard .cpr-price-xl{color:var(--cpr-ink)}
.cpr-prstock{margin:9px 0 2px}
.cpr-instock{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--cpr-green);text-transform:uppercase;letter-spacing:.05em}
.cpr-instock::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--cpr-green)}
.cpr-prcard-title{display:block;font-size:18px;color:var(--cpr-ink);margin-top:16px}
.cpr-prcard-sub{color:var(--cpr-muted);font-size:13px;margin:5px 0 16px;line-height:1.5}
.cpr-prform .cpr-field{margin-bottom:12px}
.cpr-pr-checklist{max-height:220px;overflow-y:auto;border:1px solid #DDE3E9;border-radius:11px;padding:4px 12px;background:#fff}
.cpr-pr-check{display:flex;gap:10px;align-items:flex-start;padding:8px 2px;font-size:13.5px;line-height:1.35;color:var(--cpr-ink2);cursor:pointer;border-bottom:1px solid #F4F6F8}
.cpr-pr-check:last-child{border-bottom:0}
.cpr-pr-check input{margin:2px 0 0;flex:none;width:16px;height:16px;accent-color:var(--cpr-accent);cursor:pointer}
.cpr-prform-submit{margin-top:14px}

/* Trainer application form (recruitment page) */
.cpr-trainer-form{max-width:760px}
.cpr-tf-section{margin-bottom:36px;padding-bottom:32px;border-bottom:1px solid #EEF1F4}
.cpr-tf-section:last-of-type{border-bottom:0}
.cpr-tf-section h3{font-size:19px;font-weight:800;letter-spacing:-.01em;margin:0 0 18px}
.cpr-tf-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.cpr-tf-full{grid-column:1/-1}
.cpr-tf-section .cpr-field{margin-bottom:16px}
.cpr-tf-radios{display:flex;gap:20px;padding-top:4px}
.cpr-tf-radios label{display:flex;align-items:center;gap:7px;font-size:14.5px;font-weight:600;color:var(--cpr-ink);cursor:pointer}
.cpr-tf-radios input{accent-color:var(--cpr-accent);width:16px;height:16px}
.cpr-tf-venuegroup{margin-bottom:20px}
.cpr-tf-venuegroup:last-child{margin-bottom:0}
.cpr-tf-venuegroup-title{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--cpr-muted);margin-bottom:10px}
.cpr-tf-venues{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:4px 12px;border:1px solid #EEF1F4;border-radius:12px;padding:12px 14px;background:#fff}
.cpr-tf-venues label{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--cpr-ink2);padding:5px 0;cursor:pointer}
.cpr-tf-venues input{accent-color:var(--cpr-accent);width:15px;height:15px;flex:none}
.cpr-tf-submit{width:100%;justify-content:center;font-size:15.5px;padding:15px 24px}
.cpr-tf-status{margin-top:14px;font-size:14px;font-weight:600;min-height:1.4em}
.cpr-tf-status.is-error{color:#C0392B}
.cpr-tf-status.is-success{color:var(--cpr-green)}
@media(max-width:640px){.cpr-tf-grid{grid-template-columns:1fr}}
.cpr-prform-note{text-align:center;margin-top:12px;font-size:13px;color:var(--cpr-muted)}
.cpr-prform-note a{font-weight:800;color:var(--cpr-ink)}
.cpr-prform-error{color:#C0341A;font-size:13px;margin-top:10px;font-weight:600}
.cpr-prform-invalid{border-color:#E0836F!important;box-shadow:0 0 0 3px rgba(224,131,111,.14)}
/* success state */
.cpr-prthanks{text-align:center;padding:14px 4px;outline:none}
.cpr-prthanks .cpr-prthanks-ic{width:52px;height:52px;border-radius:50%;background:#E9F8F0;color:var(--cpr-green);display:inline-flex;align-items:center;justify-content:center;font-size:26px;font-weight:800;margin-bottom:12px}
.cpr-prthanks strong{display:block;font-size:18px;color:var(--cpr-ink);margin-bottom:6px}
.cpr-prthanks p{color:var(--cpr-muted);font-size:14px;line-height:1.55;margin:0}