/* CBD College microsite design system
   Shared stylesheet - reusable across all domain rebuilds.
   Matches the Canberra (firstaidtrainingcanberracbd.edu.au) look & feel. */

:root {
  --red: #d81f2a;
  --red-dark: #b0151f;
  --navy: #0f172a;
  --slate: #334155;
  --slate-light: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-softer: #f1f5f9;
  --line: #e2e8f0;
  --green: #16a34a;
  --amber: #f59e0b;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 8px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, .14);
  --max: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .08em;
  font-size: .78rem; font-weight: 700; color: var(--red);
  background: #fdecec; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.lead { font-size: 1.12rem; color: var(--slate-light); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; padding: 13px 26px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; transition: .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--slate-light); color: var(--navy); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: #fff; color: var(--red-dark); }
.btn--lg { padding: 16px 34px; font-size: 1.08rem; }

/* Top strip */
.topbar { background: var(--navy); color: #cbd5e1; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .star { color: var(--amber); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; flex: none;
}
.brand__text { line-height: 1.1; }
.brand__text b { display: block; color: var(--navy); font-size: 1.02rem; font-weight: 800; }
.brand__text span { font-size: .74rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: .05em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--slate); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--red); text-decoration: none; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 800; color: var(--navy); white-space: nowrap; }
.header__phone:hover { color: var(--red); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); padding: 64px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero p { font-size: 1.15rem; color: var(--slate); margin-bottom: 26px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: var(--slate-light); }
.badge-nrt { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.badge-nrt .tick { color: var(--green); }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; }
.hero__media .float-card {
  position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero__media .float-card b { color: var(--navy); font-size: 1.3rem; }
.hero__media .float-card span { font-size: .8rem; color: var(--slate-light); }

/* Stats */
.stats { background: var(--navy); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.stat { text-align: center; color: #fff; }
.stat b { display: block; font-size: 1.9rem; font-weight: 900; }
.stat span { font-size: .85rem; color: #94a3b8; }

/* Course cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__tag { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); background: #fdecec; padding: 5px 10px; border-radius: 6px; margin-bottom: 14px; }
.card__tag--pop { color: #fff; background: var(--red); }
.card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.card .dur { font-size: .88rem; color: var(--slate-light); margin-bottom: 14px; }
.card p { font-size: .95rem; margin-bottom: 16px; }
.card ul { list-style: none; margin-bottom: 18px; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .92rem; }
.card ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.card__price { margin-top: auto; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; }
.card__price .now { font-size: 2rem; font-weight: 900; color: var(--navy); }
.card__price .was { text-decoration: line-through; color: var(--slate-light); font-size: 1.05rem; }
.card__price .save { font-size: .78rem; font-weight: 800; color: #fff; background: var(--green); padding: 3px 9px; border-radius: 6px; }
.card .btn { width: 100%; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; background: #fdecec; color: var(--red); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; }

/* Testimonials */
.reviews-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; }
.reviews-head .score { font-size: 2rem; font-weight: 900; color: var(--navy); }
.reviews-head .stars { color: var(--amber); font-size: 1.3rem; letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--amber); margin-bottom: 10px; letter-spacing: 1px; }
.review p { font-size: .95rem; font-style: italic; margin-bottom: 14px; }
.review .who b { color: var(--navy); display: block; font-size: .95rem; }
.review .who span { font-size: .82rem; color: var(--slate-light); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; }
.cta-band .container { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: #ffe4e6; max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }

/* Content pages */
.page-head { background: var(--navy); color: #fff; padding: 56px 0; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.page-head p { color: #cbd5e1; max-width: 640px; }
.breadcrumb { font-size: .85rem; color: #94a3b8; margin-bottom: 18px; }
.breadcrumb a { color: #cbd5e1; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 34px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; }
.prose ul li { margin-bottom: 8px; }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--navy); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red); font-weight: 800; font-size: 1.4rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 0 20px; color: var(--slate); }

/* Info / contact cards */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.info-card a { font-weight: 700; }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.loc-card b { color: var(--navy); display: block; }
.loc-card span { font-size: .85rem; color: var(--slate-light); }

/* Form */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font-weight: 600; color: var(--navy); font-size: .92rem; display: block; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--navy);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }

/* Footer */
.footer { background: var(--navy); color: #cbd5e1; padding: 56px 0 28px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer a { color: #cbd5e1; font-size: .92rem; display: block; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer .brand__text b { color: #fff; }
.footer .brand__text span { color: #94a3b8; }
.footer p { font-size: .9rem; margin-bottom: 12px; max-width: 320px; }
.footer .fine { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 20px; font-size: .82rem; color: #94a3b8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .hero__media img { height: 300px; }
  .cards, .features, .reviews, .info-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 4px; }
  .nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--bg-softer); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header__phone { display: none; }
}
@media (max-width: 520px) {
  .stats .container { grid-template-columns: 1fr 1fr; }
  .loc-grid, .footer .cols { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}


/* ---- Real brand logos (Central Coast) ---- */
.brand__logo{width:48px;height:48px;object-fit:contain;background:transparent;flex:none}
.hero__logos{display:flex;align-items:center;gap:16px;margin:0 0 18px}
.hero__logos img{height:60px;width:auto;object-fit:contain}
.footer__logos{display:flex;align-items:center;gap:14px;margin:14px 0}
.footer__logos img{height:52px;width:auto;object-fit:contain;background:#fff;border-radius:6px;padding:4px}

/* -- HubSpot embedded form ------------------------------------------------ */
.hs-form-wrapper { text-align: left; }
.hs-form-wrapper .hs-form fieldset { max-width: 100% !important; border: none; padding: 0; margin: 0; }
.hs-form-wrapper .hs-form .field { margin-bottom: 16px; }
.hs-form-wrapper .hs-form fieldset.form-columns-2 .hs-form-field { width: 50%; box-sizing: border-box; }
.hs-form-wrapper .hs-form fieldset.form-columns-2 .hs-form-field:first-child { padding-right: 8px; }
.hs-form-wrapper .hs-form fieldset.form-columns-2 .hs-form-field:last-child { padding-left: 8px; }
.hs-form-wrapper .hs-form fieldset .input { margin-right: 0 !important; }
.hs-form-wrapper .hs-form label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hs-form-wrapper .hs-form input[type="text"],
.hs-form-wrapper .hs-form input[type="email"],
.hs-form-wrapper .hs-form input[type="tel"],
.hs-form-wrapper .hs-form input[type="number"],
.hs-form-wrapper .hs-form select,
.hs-form-wrapper .hs-form textarea {
  display: block; width: 100% !important; box-sizing: border-box; padding: 12px 14px;
  font-size: .95rem; font-family: var(--font); color: var(--navy); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; outline: none; transition: border-color .15s;
}
.hs-form-wrapper .hs-form input:focus,
.hs-form-wrapper .hs-form select:focus,
.hs-form-wrapper .hs-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(216,31,42,.12); }
.hs-form-wrapper .hs-form textarea { min-height: 110px; resize: vertical; }
.hs-form-wrapper .hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 6px 0 0; }
.hs-form-wrapper .hs-form .hs-error-msgs li label { font-size: .78rem; font-weight: 400; color: var(--red); margin: 0; }
.hs-form-wrapper .hs-form .hs-button {
  display: inline-block; background: var(--red); color: #fff; font-size: 1rem; font-weight: 700;
  font-family: var(--font); padding: 14px 32px; border: none; border-radius: 10px; cursor: pointer; transition: background .15s;
}
.hs-form-wrapper .hs-form .hs-button:hover { background: var(--red-dark); }
.hs-form-wrapper .hs-form .hs-richtext,
.hs-form-wrapper .hs-form .legal-consent-container,
.hs-form-wrapper .hs-form .legal-consent-container p { font-size: .8rem; color: var(--slate-light); }
.hs-form-wrapper .hs-form .hs_recaptcha { margin: 14px 0; }
.hs-form-wrapper .hs-form .submitted-message { font-size: 1.05rem; font-weight: 600; color: var(--green); }
@media (max-width: 640px) {
  .hs-form-wrapper .hs-form fieldset.form-columns-2 .hs-form-field { width: 100%; padding: 0 !important; }
}

/* == CBD College brand overrides - match firstaidtrainingcanberracbd.edu.au ==
   Palette: green #5BA82E / dark green #3F7A1F / navy #1F2A6F / yellow #F5C61C /
   cream #F0EAC8. --red is remapped to brand green so every accent (links,
   buttons, focus states) follows automatically. */
:root {
  --red: #5BA82E;
  --red-dark: #3F7A1F;
  --navy: #1F2A6F;
  --slate: #374151;
  --slate-light: #6B7280;
  --bg-soft: #F4F4F4;
  --bg-softer: #F0F0F0;
  --line: #E0E0E0;
  --green: #5BA82E;
  --amber: #F5C61C;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* soft accent chips: red-tinted -> green/yellow brand chips */
.eyebrow { color: #3F7A1F; background: #EAF4DF; }
.card__tag { color: #3F7A1F; background: #EAF4DF; }
.card__tag--pop { color: #1F2A6F; background: #F5C61C; }
.feature .ic { background: #EAF4DF; color: #5BA82E; }
.card__price .save { color: #3F7A1F; background: #EAF4DF; }

/* top strip + header: solid brand green like the Canberra site */
.topbar { background: #3F7A1F; color: rgba(255,255,255,.8); }
.topbar a { color: #F5C61C; }
.topbar .star { color: #F5C61C; }
.header { background: #5BA82E; border-bottom: none; backdrop-filter: none; }
.header .brand__text b { color: #fff; }
.header .brand__text span { color: #F5C61C; }
.header .nav a { color: rgba(255,255,255,.92); }
.header .nav a:hover { color: #fff; }
.header__phone { color: #F5C61C; }
.header__phone:hover { color: #fff; }
.header .btn--primary { background: #3F7A1F; }
.header .btn--primary:hover { background: #2d5a16; }
.menu-toggle { color: #fff; }
.header .brand__mark { background: #fff; color: #5BA82E; }

/* hero: cream background, credential logos on white chips (Canberra style) */
.hero { background: #F0EAC8; }
.hero__logos img { background: transparent; border: none; border-radius: 0; padding: 0; height: 84px; box-shadow: none; }

/* stats: white band with green numbers */
.stats { background: #fff; border-top: 1px solid #E0E0E0; border-bottom: 1px solid #E0E0E0; }
.stat { color: #1F2A6F; }
.stat b { color: #5BA82E; }
.stat span { color: #6B7280; }

/* section headings in brand green, card titles stay navy */
.section h2 { color: #5BA82E; }
.card h3, .feature h3, .info-card h3, .review .who b { color: #1F2A6F; }

/* CTA band + footer: brand greens */
.cta-band { background: linear-gradient(120deg, #5BA82E 0%, #3F7A1F 100%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #EAF4DF; }
.btn--white { color: #3F7A1F; }
.btn--white:hover { color: #2d5a16; }
.footer { background: #3F7A1F; color: rgba(255,255,255,.85); }
.footer a { color: rgba(255,255,255,.85); }
.footer .brand__text span { color: #F5C61C; }
.footer .fine { border-top-color: rgba(255,255,255,.25); color: rgba(255,255,255,.7); }

/* HubSpot form focus follows brand green */
.hs-form-wrapper .hs-form input:focus,
.hs-form-wrapper .hs-form select:focus,
.hs-form-wrapper .hs-form textarea:focus { border-color: #5BA82E; box-shadow: 0 0 0 3px rgba(91,168,46,.15); }

/* mobile nav dropdown sits on the green header */
@media (max-width: 900px) {
  .nav { background: #3F7A1F; border-bottom: none; }
  .nav a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); }
}

/* 6-item nav: keep header on one line */
.nav { gap: 18px; }
.header .btn { white-space: nowrap; padding: 12px 20px; }

/* float card: single cohesive stat chip */
.hero__media .float-card { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 20px; border-left: 4px solid #5BA82E; }
.hero__media .float-card b { font-size: 1.02rem; }
.hero__media .float-card span { font-size: .82rem; }
/* feature icons: svg sizing */
.feature .ic svg { width: 22px; height: 22px; }

/* -- live timetable ------------------------------------------------------- */
.tt-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tt-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tt-table th { text-align: left; background: var(--bg-soft); color: var(--navy); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.tt-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--slate); }
.tt-table tr:last-child td { border-bottom: 0; }
.tt-table td b { color: var(--navy); }
.tt-action { text-align: right; white-space: nowrap; }
.tt-enrol { padding: 9px 16px; font-size: .85rem; }
.tt-warn { display: inline-block; margin-right: 10px; font-size: .78rem; font-weight: 700; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: 4px 9px; border-radius: 8px; }
.tt-full { display: inline-block; font-size: .82rem; color: var(--slate-light); background: var(--bg-soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 8px; }
.tt-note { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 10px 18px; font-size: .82rem; color: var(--slate-light); }
@media (max-width: 700px) {
  .tt-table thead { display: none; }
  .tt-table tr { display: block; border-bottom: 8px solid var(--bg-soft); padding: 8px 0; }
  .tt-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 16px; }
  .tt-table td[data-th]:not([data-th=""])::before { content: attr(data-th); font-weight: 700; color: var(--navy); font-size: .8rem; }
  .tt-action { justify-content: flex-end; }
}
/* price match link under prices */
.pm-link { display: block; font-size: .8rem; color: var(--slate-light); margin: -8px 0 14px; }
.pm-link:hover { color: var(--red); }

/* -- courses page: wide course rows (Canberra layout) --------------------- */
.crow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; border-top: 4px solid #5BA82E; margin-bottom: 24px; transition: box-shadow .18s ease; }
.crow:hover { box-shadow: var(--shadow); }
.crow__grid { display: grid; grid-template-columns: 1fr 2fr; }
.crow__left { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.crow__tags { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.crow__code { font-family: ui-monospace, Consolas, monospace; font-size: .74rem; color: var(--slate-light); background: #fff; border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.crow__badge { font-size: .72rem; font-weight: 800; color: #1F2A6F; background: #F5C61C; padding: 3px 11px; border-radius: 999px; }
.crow__left h2 { font-size: 1.28rem; color: #1F2A6F; margin-bottom: 8px; line-height: 1.3; }
.crow__left > div > p { font-size: .92rem; color: var(--slate-light); }
.crow__amount { display: flex; align-items: baseline; gap: 9px; margin-bottom: 4px; }
.crow__amount .now { font-size: 2rem; font-weight: 900; color: #1F2A6F; }
.crow__amount .was { text-decoration: line-through; color: var(--slate-light); }
.crow__amount .pct { font-size: .76rem; font-weight: 700; color: #3F7A1F; background: #EAF4DF; padding: 3px 9px; border-radius: 999px; }
.crow__dur { font-size: .84rem; color: var(--slate-light); }
.crow__right { padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.crow__right h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); margin-bottom: 12px; }
.crow__inc { list-style: none; }
.crow__inc li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: .9rem; color: var(--slate); }
.crow__inc li::before { content: "\2713"; position: absolute; left: 0; color: #5BA82E; font-weight: 800; }
.crow__sessions { list-style: none; margin-bottom: 14px; }
.crow__sessions li { font-size: .9rem; margin-bottom: 6px; color: var(--slate-light); }
.crow__sessions b { color: #1F2A6F; font-weight: 700; }
.crow__loc { font-size: .82rem; color: var(--slate-light); margin-bottom: 20px; }
.crow__actions { display: flex; flex-direction: column; gap: 9px; }
.crow__actions .btn { width: 100%; padding: 11px 18px; font-size: .92rem; }
.btn--outline { background: #fff; color: #5BA82E; border-color: #5BA82E; }
.btn--outline:hover { background: #5BA82E; color: #fff; }
.crow__note { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-size: .92rem; color: var(--slate); }
.crow__note b { color: #5BA82E; }
.crow__note a { font-weight: 700; }
@media (max-width: 900px) {
  .crow__grid, .crow__right { grid-template-columns: 1fr; }
  .crow__left { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* -- course detail pages (Canberra layout) -------------------------------- */
.cd-hero-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.cd-code { font-family: ui-monospace, Consolas, monospace; font-size: .74rem; color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); padding: 2px 9px; border-radius: 6px; }
.cd-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 18px; color: rgba(255,255,255,.75); font-size: .95rem; }
.cd-hero-price { display: inline-flex; align-items: baseline; gap: 9px; }
.cd-hero-price b { font-size: 2rem; font-weight: 900; color: #fff; }
.cd-hero-price s { color: rgba(255,255,255,.45); }
.cd-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.cd-main { display: flex; flex-direction: column; gap: 20px; }
.cd-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.cd-box h2 { font-size: 1.15rem; margin-bottom: 12px; }
.cd-box p { font-size: .95rem; color: var(--slate); }
.cd-topics { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.cd-topics--single { grid-template-columns: 1fr; }
.cd-topics li { display: flex; gap: 9px; font-size: .92rem; color: var(--slate); }
.cd-important { background: #FFF8E1; border: 1px solid rgba(245,198,28,.4); border-radius: var(--radius); padding: 22px 26px; }
.cd-important h3 { color: #1F2A6F; font-size: .95rem; margin-bottom: 10px; }
.cd-important ul { list-style: none; }
.cd-important li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: .9rem; color: var(--slate); }
.cd-important li::before { content: "\2022"; position: absolute; left: 6px; color: #5BA82E; font-weight: 800; }
.cd-book { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 96px; }
.cd-book__bar { height: 4px; background: #5BA82E; }
.cd-book__body { padding: 24px; }
.cd-book__price { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.cd-book__price b { font-size: 2.4rem; font-weight: 900; color: #1F2A6F; }
.cd-book__price s { color: var(--slate-light); }
.cd-book__facts { list-style: none; margin: 16px 0; border-top: 1px solid var(--line); padding-top: 16px; }
.cd-book__facts li { font-size: .88rem; color: var(--slate-light); margin-bottom: 8px; }
.cd-book__facts b { color: #1F2A6F; }
.cd-book__sessions { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 18px; }
.cd-book__sessions h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); margin-bottom: 8px; }
.cd-session { font-size: .9rem; color: var(--slate-light); margin-bottom: 5px; }
.cd-session b { color: #1F2A6F; }
.cd-book__note { font-size: .8rem; color: var(--slate-light); text-align: center; margin-top: 10px; }
.cd-book__help { font-size: .85rem; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.cd-book__help a { font-weight: 700; }
.cd-others { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cd-other { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.cd-other h3 { font-size: 1.05rem; color: #1F2A6F; margin: 2px 0; }
.cd-other p { font-size: .88rem; color: var(--slate-light); }
.cd-other .btn { padding: 9px 16px; font-size: .88rem; flex: none; }
.tt-showmore { padding: 14px 18px; text-align: center; border-top: 1px solid var(--line); }
.tt-showmore__btn { width: auto; padding: 10px 26px; font-size: .9rem; }
@media (max-width: 900px) {
  .cd-grid, .cd-topics, .cd-others { grid-template-columns: 1fr; }
  .cd-book { position: static; }
}
