/* =====================================================================================================
   Inner-page theme. Loaded last (after /assets/loc/styles.css, /assets/home2.css and /style.css) on every
   page except the home page and the location pages, which use the design system directly.

   Re-skins the components in /style.css (page hero, cards, forms, FAQ accordion, course / blog / about /
   contact / legal pages ...) to the new design: Bricolage Grotesque + DM Sans + JetBrains Mono, electric
   blue + black, 2px black outlines, 24px radii, pill buttons, blue offset shadow on hover.
   Tokens (--blue, --ink, --r-lg, --f-display ...) come from /assets/loc/styles.css.
   ===================================================================================================== */

:root {
  --ck-gutter: 16px;
  --ck-line: 2px solid var(--ink);
  --ck-soft: 1.5px solid var(--ink-faint);
  --ck-lift: 0 6px 0 var(--blue);
  --ck-green: #0f8a52;
  --ck-green-bg: #e3f6ec;
}
@media (min-width: 720px) { :root { --ck-gutter: 32px; } }

/* ---------- base: fonts, colour, container ---------- */
html, body, p, span, h1, h2, h3, h4, h5, h6, a, button, input, textarea, select, div, label, li, strong, small, td, th, em, dt, dd, blockquote, figcaption, summary {
  font-family: var(--f-body) !important;
}
h1, h2, h3, h4, h5, h6,
.section-header h2, .course-title, .sub-title, .footer-col h3, .section-title {
  font-family: var(--f-display) !important;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-wrap: balance;
}
i.fa, i.fa-solid, i.fa-brands, i.fa-regular { font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important; }
html, body { font-size: 16px; color: var(--ink); background: var(--paper); }
::selection { background: var(--blue); color: var(--paper); }
.container { max-width: var(--wrap); padding-left: var(--ck-gutter); padding-right: var(--ck-gutter); }
a { color: inherit; }
main, section { position: relative; }

/* section titles: mono eyebrow + display heading (same pair as the home page) */
.section-header { margin-bottom: 44px; }
.sub-title {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-family: var(--f-mono) !important; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.sub-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; flex: none; }
.section-header h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; color: var(--ink); line-height: 1.02; letter-spacing: -.03em; }
.section-header h2 span, .about-story-copy h2 span { color: var(--blue); }
.section-intro, .about-lead { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }
.lede { color: var(--ink-soft); }
mark.ck-hl, .ck-hl {
  background: var(--blue); color: var(--paper); padding: .02em .28em; border-radius: .22em; font-weight: 700;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- page heroes ---------- */
.page-hero, .course-detail-hero, .post-hero {
  background:
    radial-gradient(rgba(23, 102, 255, .16) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
    var(--blue-mist);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden; isolation: isolate;
}
.page-hero::before, .page-hero::after,
.course-detail-hero::before, .course-detail-hero::after,
.post-hero::before, .post-hero::after { display: none; }
.page-hero { padding: clamp(44px, 6.5vw, 84px) 0 clamp(52px, 7vw, 92px); }
.page-hero h1, .post-hero h1, .course-detail-hero h1 {
  font-family: var(--f-display) !important; color: var(--ink); font-weight: 800; letter-spacing: -.035em; line-height: 1;
  text-wrap: balance;
}
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 980px; margin-bottom: 24px; line-height: 1.12; }
.page-hero p { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 680px; line-height: 1.55; }
.page-hero .breadcrumb p, .page-hero p.breadcrumb { font-size: .76rem; }
.page-hero h1 span, .post-hero h1 span, .course-detail-hero h1 span {
  background: var(--blue); color: var(--paper); padding: 0 .16em .04em; border-radius: .2em; box-shadow: 0 .07em 0 var(--ink);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.page-hero .breadcrumb, .course-detail-hero .breadcrumb, .post-hero .breadcrumb {
  font-family: var(--f-mono) !important; font-size: .76rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-soft);
  background: var(--paper); border: 1.5px solid var(--ink); box-shadow: none; padding: 7px 16px;
}
.page-hero .breadcrumb a, .course-detail-hero .breadcrumb a, .post-hero .breadcrumb a { color: var(--blue); font-weight: 700; }
.course-detail-hero { padding: clamp(36px, 5vw, 60px) 0 clamp(40px, 5.5vw, 68px); }
.course-detail-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 900px; line-height: 1.1; }
.course-detail-hero .lede, .post-hero .lede { font-size: 1.08rem; line-height: 1.6; color: var(--ink-soft); }
.post-hero { padding: clamp(36px, 5vw, 60px) 0 clamp(44px, 6vw, 72px); }
.post-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 900px; line-height: 1.1; }
.course-detail-cat, .post-hero .post-cat, .course-answer-tag {
  font-family: var(--f-mono) !important; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border: 0; box-shadow: none; padding: 6px 12px;
}
.course-quick-meta span, .post-hero .post-meta { color: var(--ink-soft); }
.course-quick-meta span { font-weight: 600; }
.course-quick-meta i, .post-hero .post-meta i { color: var(--blue); }
.mini-stat-row { background: var(--paper); border: 1.5px solid var(--ink); box-shadow: none; }
.mini-stat-row .mini-stat-label { border-left-color: var(--ink-faint); color: var(--ink-soft); }
.mini-stat-row .mini-stars { color: var(--blue); }

/* ---------- buttons ---------- */
.hero-enroll-btn, .contact-submit-btn, .lead-submit, .promo-popup-submit, .view-detail-btn, .inline-cta-btn, .ck-sticky-cta,
.course-cta-band .cta-btn, .cta-btn {
  border-radius: var(--r-pill); font-weight: 700; letter-spacing: 0;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, color .25s;
}
.hero-enroll-btn, .contact-submit-btn, .lead-submit, .view-detail-btn, .inline-cta-btn, .ck-sticky-cta {
  background: var(--blue); color: var(--paper); border: 0; font-size: 1rem;
  box-shadow: 0 10px 24px -10px rgba(23, 102, 255, .8), inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.hero-enroll-btn:hover, .contact-submit-btn:hover, .lead-submit:hover, .view-detail-btn:hover, .inline-cta-btn:hover, .ck-sticky-cta:hover {
  background: var(--blue); color: var(--paper); transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(23, 102, 255, .9), inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.hero-enroll-btn { padding: 6px 8px 6px 26px; gap: 14px; }
.hero-enroll-btn .arrow-btn-circle { background: var(--paper); color: var(--blue); }
.contact-submit-btn, .lead-submit { min-height: 54px; padding: 0 26px; }
.view-detail-btn { border-radius: var(--r-pill); }
.course-sidebar-secondary-btn {
  border: 2px solid var(--ink); border-radius: var(--r-pill); color: var(--ink); background: var(--paper); font-weight: 700;
  transition: background .25s, color .25s, transform .25s;
}
.course-sidebar-secondary-btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.link-btn { color: var(--blue); }
.hero-call-link { color: var(--ink); }
.hero-call-link i { color: var(--blue); }
.view-all-btn { border: 2px solid var(--ink); border-radius: var(--r-pill); color: var(--ink); }
.view-all-btn:hover { background: var(--ink); color: var(--paper); }

/* filter pills / tabs */
.pill-btn, .faq-category-tab, .category-filter-pill {
  font-family: var(--f-body) !important; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  border-radius: var(--r-pill); box-shadow: none; padding: 10px 20px; font-size: .92rem; font-weight: 700;
  transition: background .2s, color .2s, transform .2s;
}
.pill-btn:hover, .faq-category-tab:hover, .category-filter-pill:hover { background: var(--blue-tint); color: var(--blue); border-color: var(--ink); transform: translateY(-2px); box-shadow: none; }
.pill-btn.active, .faq-category-tab.active, .category-filter-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }

/* ---------- cards ---------- */
.blog-card, .course-tile, .info-card, .highlight-card, .about-step, .about-centre, .about-intro-block, .instructor-perk-card,
.portfolio-card, .module-card, .two-list-grid > div, .learn-card, .sidebar-card, .course-sidebar-card, .contact-form-card,
.testimonial-card, .lead-card, .glance-table-wrap, .faq-item {
  background: var(--paper); border: var(--ck-line); border-radius: var(--r-lg); box-shadow: none;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.blog-card:hover, .course-tile:hover, .info-card:hover, .highlight-card:hover, .about-step:hover, .about-centre:hover,
.about-intro-block:hover, .instructor-perk-card:hover, .portfolio-card:hover, .module-card:hover, .two-list-grid > div:hover {
  transform: translateY(-4px); box-shadow: var(--ck-lift);
}
.about-intro-block::before { display: none; }
.highlight-card::after { display: none; }
.course-sidebar-card, .contact-form-card, .lead-card { overflow: hidden; }
.sidebar-card:hover, .course-sidebar-card:hover, .contact-form-card:hover, .lead-card:hover { transform: none; box-shadow: none; }
.contact-form-card { box-shadow: 8px 8px 0 var(--blue); }

/* secondary panels */
.curriculum-month, .glance-grid div, .post-body .post-steps li, .legal-contact-box, .related-read {
  background: var(--blue-mist); border: var(--ck-soft); box-shadow: none; border-left: 4px solid var(--blue); border-radius: var(--r-md);
}
.curriculum-month:hover { background: var(--blue-tint); box-shadow: none; }
.post-callout { background: var(--blue-mist); border: 0; border-left: 4px solid var(--blue); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink); }
.post-callout strong { color: var(--ink); }
.post-takeaways, .course-answer {
  background: var(--blue-mist); border: var(--ck-line); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--blue);
}
.course-answer-tag { background: var(--blue); }

/* small icon tiles */
.course-tile-icon, .info-card-icon, .about-intro-icon, .contact-detail-icon, .legal-block h2 .legal-num, .about-step::before {
  background: var(--blue); color: var(--paper); box-shadow: none; border-radius: 14px;
}
.contact-detail-icon { border-radius: 50%; }
.highlight-icon, .module-num, .curriculum-month .month-num, .post-num, .info-card-step, .course-main .info-card-step {
  background: var(--blue); color: var(--paper); box-shadow: none; font-family: var(--f-mono) !important;
}
.post-body .post-steps li::before { background: var(--ink); color: var(--paper); font-family: var(--f-mono) !important; }
.learn-checklist i, .learn-checklist li > i { background: var(--blue); color: var(--paper); }
.two-list-grid h3::before { background: var(--blue); }
.module-group-title span { background: var(--ink); color: var(--paper); font-family: var(--f-mono) !important; }
.curriculum-group h3 { color: var(--blue); }
.curriculum-group h3::after { background: var(--ink-faint); }
.module-topics li { background: var(--blue-tint); color: var(--ink); border: 0; font-family: var(--f-mono) !important; font-size: .78rem; font-weight: 500; }

/* eyebrow-style category tags */
.course-tile-cat, .blog-card-cat, .portfolio-card-cat, .about-centre .pin {
  font-family: var(--f-mono) !important; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: transparent; padding: 0;
}
.about-centre .pin { background: var(--blue); color: var(--paper); padding: 5px 12px; border-radius: var(--r-pill); }
.course-tile-tag { background: var(--ink); color: var(--paper); font-family: var(--f-mono) !important; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.course-tile-link, .blog-card-meta a, .portfolio-card-link { color: var(--blue); font-weight: 700; }
.course-tile h3, .blog-card h3, .info-card h3, .module-head h4, .about-step h3, .about-centre h3, .highlight-card h3 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.course-tile p, .blog-card p, .info-card p, .highlight-card p, .about-step p, .about-centre p { color: var(--ink-soft); }
.course-tile-meta, .blog-card-meta { color: var(--ink-soft); }
.course-tile-footer, .blog-card-meta { border-top: 1.5px dashed var(--ink-faint); }
.blog-card-icon { background: var(--blue); color: var(--paper); }

/* ---------- accordion (FAQ) ---------- */
.faq-item { border-radius: var(--r-md); }
.faq-item.active { background: var(--blue-mist); box-shadow: none; }
.faq-question { color: var(--ink); font-family: var(--f-display) !important; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; padding: 18px 24px; }
.faq-question .icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: inline-grid; place-items: center; flex: none; font-size: .8rem;
  transition: background .25s, color .25s;
}
.faq-item.active .faq-question .icon { background: var(--blue); color: var(--paper); }
.faq-answer p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.faq-category-group h2 { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.025em; }

/* ---------- forms ---------- */
.contact-form-group label, .lead-form label { color: var(--ink); font-weight: 700; font-size: .92rem; }
.contact-form-group input, .contact-form-group select, .contact-form-group textarea,
.lead-form input, .lead-form select, .lead-form textarea {
  border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--paper); color: var(--ink);
  font-family: var(--f-body) !important; font-size: 1rem; min-height: 52px; padding: 12px 16px;
}
.contact-form-group textarea, .lead-form textarea { min-height: 120px; }
.contact-form-group input:focus, .contact-form-group select:focus, .contact-form-group textarea:focus,
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); box-shadow: none;
}
.contact-form-group input::placeholder, .contact-form-group textarea::placeholder { color: rgba(0, 0, 0, .42); }
.contact-form-card h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.contact-form-subtitle { color: var(--ink-soft); }
.contact-form-note { color: var(--ck-green); }
.lead-note.success { color: var(--ck-green); }

/* ---------- dark / blue bands ---------- */
.about-stat-band { background: var(--ink); padding: clamp(40px, 6vw, 64px) 0; border-radius: var(--r-xl); margin: 0 var(--ck-gutter); }
.about-stat .num { font-family: var(--f-display) !important; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.about-stat .label { font-family: var(--f-body) !important; color: rgba(255, 255, 255, .68); font-size: .9rem; font-weight: 500; margin-top: 8px; }
.about-stat mark.ck-hl { background: var(--blue); color: var(--paper); }
.about-story-card { background: var(--ink); color: rgba(255, 255, 255, .82); border-radius: var(--r-xl); }
.about-story-card h3 { color: var(--paper); font-weight: 800; font-size: 1.3rem; }
.about-story-card .sub { color: rgba(255, 255, 255, .55); }
.about-story-card li { border-top-color: rgba(255, 255, 255, .14); }
.about-story-card li i { color: #7fa9ff; }
.about-story-copy h2 { letter-spacing: -.03em; color: var(--ink); }
.about-story-copy p { color: var(--ink-soft); }
.about-cta-banner, .cta-banner-box {
  background: var(--blue); color: var(--paper); border-radius: var(--r-xl); border: 0;
}
.about-cta-banner h2, .cta-banner-box h2 { color: var(--paper); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
.about-cta-banner p, .cta-banner-box p { color: rgba(255, 255, 255, .88); }
.course-cta-band, .post-cta-box {
  background: var(--ink); color: var(--paper); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 40px);
  border: 0;
}
.course-cta-band h2, .post-cta-box h3 { color: var(--paper); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.course-cta-band p, .post-cta-box p { color: rgba(255, 255, 255, .72); }
.course-cta-band p a, .post-cta-box p a, .course-main .course-cta-band p a { color: #7fa9ff; }
.course-cta-band .cta-btn { background: var(--paper); color: var(--ink); border-radius: var(--r-pill); padding: 13px 24px; }
.course-cta-band .cta-btn.alt { background: transparent; color: var(--paper); border: 2px solid rgba(255, 255, 255, .5); }
.course-cta-band .cta-btn:hover { background: var(--blue); color: var(--paper); border-color: var(--blue); }
.post-cta-box .hero-enroll-btn { background: var(--paper); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.post-cta-box .hero-enroll-btn .arrow-btn-circle { background: var(--blue); }
.post-cta-box .hero-enroll-btn .arrow-btn-circle i { color: var(--paper); }
.inline-cta { background: var(--ink); border-radius: var(--r-lg); }
.inline-cta strong { font-family: var(--f-display) !important; font-size: 1.15rem; }
.inline-cta span { color: rgba(255, 255, 255, .7); }
.instructor-cta-section, .highlights-section { background: var(--blue-mist); }
.instructor-cta-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.instructor-cta-copy p { color: var(--ink-soft); }
.instructor-perk-card i { color: var(--blue); }
.about-intro-section { background: var(--blue-mist); }

/* lead / promo cards that use a gradient head */
.lead-card-head, .course-sidebar-head { background: var(--blue); color: var(--paper); }
.lead-badge, .course-sidebar-head .course-sidebar-badge {
  background: var(--ink); color: var(--paper); font-family: var(--f-mono) !important; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.lead-card-head h3, .course-sidebar-head h3 { color: var(--paper); font-weight: 800; letter-spacing: -.02em; }
.lead-card-head p, .course-sidebar-head p { color: rgba(255, 255, 255, .9); }
.course-sidebar-price { color: var(--blue); }
.course-meta-list { background: var(--blue-mist); border-radius: var(--r-md); }
.course-meta-list li { border-bottom: 1.5px dashed var(--ink-faint); color: var(--ink-soft); }
.course-meta-list strong { color: var(--ink); }
.course-included-list i { color: var(--blue); }
.lead-or a { color: var(--blue); }
.ck-lead-modal { background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ck-lead-dialog .lead-card { border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--blue); }
.ck-lead-close { background: rgba(0, 0, 0, .25); }
.ck-sticky-cta { right: 20px; bottom: 20px; }

/* ---------- tables / chips / tags ---------- */
.glance-table-wrap { overflow: hidden; }
.glance-table thead th { background: var(--ink); color: var(--paper); font-family: var(--f-mono) !important; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.glance-table th, .glance-table td { border-bottom: 1.5px solid var(--ink-faint); }
.glance-table td:nth-child(2) { color: var(--blue); }
.glance-table tbody th a { color: var(--ink); }
.glance-table tbody th a:hover { color: var(--blue); }
.glance-note { color: var(--ink-soft); }
.tool-chips li { background: var(--blue-mist); border: 1px solid rgba(23, 102, 255, .18); color: var(--blue-deep); font-family: var(--f-mono) !important; font-size: .82rem; font-weight: 500; }
.tool-chips li i { color: var(--blue); }
.post-tag { background: var(--blue-mist); border: 1px solid rgba(23, 102, 255, .18); color: var(--blue-deep); font-family: var(--f-mono) !important; font-size: .76rem; font-weight: 500; }
.post-share-row a { border: 2px solid var(--ink); color: var(--ink); }
.post-share-row a:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.sidebar-cat-count { background: var(--ink); color: var(--paper); font-family: var(--f-mono) !important; }

/* ---------- content typography ---------- */
.course-main h2, .contact-info-block h2, .about-intro-block h2, .legal-block h2, .two-list-grid h3, .sidebar-card h4, .post-body h2, .post-body h3 {
  font-family: var(--f-display) !important; color: var(--ink); letter-spacing: -.025em;
}
.course-main h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
.post-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 800; }
.post-body h3 { font-size: 1.3rem; font-weight: 800; }
.course-main p, .course-main > p, .post-body p, .post-body li, .legal-block p, .legal-block ul li, .contact-info-block > p, .about-intro-block p, .learn-checklist li, .two-list-grid li, .curriculum-month p {
  color: var(--ink-soft);
}
.post-body p, .post-body li { font-size: 1.04rem; line-height: 1.75; }
.post-body p a, .post-body li a, .post-callout a, .course-main > p a, .legal-block a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.curriculum-month strong, .post-body strong { color: var(--ink); }
.toc-list { border-left: 2px solid var(--ink-faint); }
.toc-list a { color: var(--ink-soft); }
.toc-list a:hover, .toc-list a.active { color: var(--blue); border-left-color: var(--blue); }
.sidebar-card h4 { border-bottom: 1.5px dashed var(--ink-faint); font-size: 1rem; font-weight: 800; }
.sidebar-card h4 i { color: var(--blue); }
.sidebar-recent-item:hover span, .sidebar-cat-list a:hover { color: var(--blue); }
.sidebar-cat-list a { border-bottom-color: var(--ink-faint); }
.post-feature-img { border: var(--ck-line); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--blue); overflow: hidden; }
.post-tags { border-top-color: var(--ink-faint); }
.post-body table { border-collapse: separate; border-spacing: 0; width: 100%; border: var(--ck-line); border-radius: var(--r-md); overflow: hidden; }
.post-body th { background: var(--ink); color: var(--paper); font-family: var(--f-mono) !important; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; text-align: left; padding: 12px 14px; }
.post-body td { padding: 12px 14px; border-top: 1.5px solid var(--ink-faint); color: var(--ink-soft); }
.legal-content > p.legal-intro { border-bottom-color: var(--ink-faint); color: var(--ink-soft); }
.contact-detail-card { border-bottom-color: var(--ink-faint); }
.contact-detail-card:first-of-type { border-top-color: var(--ink-faint); }
.contact-detail-card strong { color: var(--ink); }
.contact-detail-card p, .contact-detail-card a { color: var(--ink-soft); }
.contact-detail-card a:hover { color: var(--blue); }

/* gallery */
.gallery-item { border-radius: var(--r-lg); border: var(--ck-line); background: var(--blue-mist); }

/* trust banner / testimonial blocks reused on inner pages */
.trust-banner { background: var(--ink); color: var(--paper); border-radius: var(--r-pill); padding: 12px 22px; flex-wrap: wrap; row-gap: 6px; }
.trust-badge { background: var(--blue); color: var(--paper); font-family: var(--f-mono) !important; font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: var(--r-pill); }
.trust-text, .trust-banner p { color: rgba(255, 255, 255, .78); font-size: .92rem; font-weight: 500; line-height: 1.4; }
.trust-text .ck-hl { background: var(--blue); color: var(--paper); }
.testimonial-card { background: var(--blue-mist); }
.testimonial-card-body, .testimonial-card p { color: var(--ink-soft); }
.author-name { color: var(--ink); font-family: var(--f-display) !important; font-weight: 800; }
.star-rating, .mini-stars { color: var(--blue); }

/* promo-popup / old footer classes are gone: the shared partials use the design-system versions */

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .about-stat-band { margin: 0 12px; }
  .contact-form-card { box-shadow: 5px 5px 0 var(--blue); }
  .course-answer, .post-takeaways { box-shadow: 4px 4px 0 var(--blue); }
  .page-hero h1 { letter-spacing: -.03em; }
  .ck-sticky-cta { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card, .course-tile, .info-card, .highlight-card, .about-step, .about-centre, .about-intro-block, .instructor-perk-card, .portfolio-card, .module-card, .two-list-grid > div { transition: none; }
}

/* ---------- responsive grids that some pages set with inline style="grid-template-columns:repeat(N,1fr)" ---------- */
@media (max-width: 992px) {
  .courses-static-grid[style], .info-card-grid[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .courses-static-grid[style], .info-card-grid[style], .courses-static-grid, .info-card-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .course-tile { padding: 22px 20px; }
}

/* ---------- header: keep the new design's behaviour (old /style.css also defines .nav-links) ---------- */
.top .nav-links { display: flex; flex-direction: row; gap: 4px; align-items: center; position: static; width: auto; max-height: none; overflow: visible; padding: 0; background: none; box-shadow: none; border: 0; transition: none; }
.top .nav-links li { width: auto; }
.top .nav-links a { display: block; width: auto; padding: 10px 14px; border: 0; border-radius: var(--r-pill); color: inherit; font-weight: 500; font-size: .96rem; }
.top .nav-links a:hover, .top .nav-links a[aria-current="page"] { background: var(--blue-tint); color: var(--blue); border: 0; }
@media (max-width: 1060px) { .top .nav-links { display: none; } }

/* ---------- footer: no white band between the last section and the footer ----------
   The footer slides up over the bottom of the last section, so its rounded corners show that section's own
   colour (tinted or white) instead of a strip of page background. The last section keeps enough bottom padding. */
footer { margin-top: calc(-1 * var(--r-xl)); position: relative; z-index: 2; }
body > section:last-of-type { padding-bottom: 96px !important; }
@media (max-width: 720px) { body > section:last-of-type { padding-bottom: 88px !important; } }

/* ---------- spacing: sections whose old inline style removed the top padding ----------
   (they were designed to continue the white section above; on the new tinted backgrounds the content would sit on the colour edge) */
body > section[style*="padding-top:0"], body > section[style*="padding-top: 0"] { padding-top: 72px !important; }
@media (max-width: 720px) { body > section[style*="padding-top:0"], body > section[style*="padding-top: 0"] { padding-top: 56px !important; } }

/* ---------- buttons on blue banners: white button, so it never blends into the banner ---------- */
.about-cta-banner .hero-enroll-btn, .cta-banner-box .hero-enroll-btn, .about-cta-banner .contact-submit-btn, .cta-banner-box .contact-submit-btn {
  background: var(--paper); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45), inset 0 -3px 0 rgba(0, 0, 0, .1);
}
.about-cta-banner .hero-enroll-btn:hover, .cta-banner-box .hero-enroll-btn:hover { background: var(--ink); color: var(--paper); }
.about-cta-banner .hero-enroll-btn .arrow-btn-circle, .cta-banner-box .hero-enroll-btn .arrow-btn-circle { background: var(--blue); color: var(--paper); }
.about-cta-banner .hero-enroll-btn .arrow-btn-circle i, .cta-banner-box .hero-enroll-btn .arrow-btn-circle i { color: var(--paper); }

/* ---------- dark / blue bands inside page content: keep their light text ----------
   (the general ".course-main h2 / p" and ".post-body h3 / p" colours must not win over these) */
.course-main .course-cta-band h2, .course-main .course-cta-band h3, .post-body .post-cta-box h3, .post-body .post-cta-box h2 { color: var(--paper); }
.course-main .course-cta-band p, .post-body .post-cta-box p { color: rgba(255, 255, 255, .78); }
.course-main .course-cta-band p a, .post-body .post-cta-box p a { color: #7fa9ff; text-decoration: underline; }
.course-main .inline-cta strong, .course-main .inline-cta span, .course-main .inline-cta p { color: var(--paper); }
.course-main .inline-cta span { color: rgba(255, 255, 255, .72); }
.course-main .inline-cta .inline-cta-btn, .course-main .inline-cta .link-btn { color: var(--paper); }
.course-main .course-cta-band .cta-btn:not(.alt), .post-body .post-cta-box .hero-enroll-btn { color: var(--ink); }
.course-main .course-cta-band .cta-btn.alt { color: var(--paper); }
.sidebar-recent-item small, .blog-card-meta, .course-sidebar-price-note, .contact-form-group input::placeholder { color: rgba(0, 0, 0, .58); }
.about-cta-banner .sub-title, .cta-banner-box .sub-title { color: rgba(255, 255, 255, .88); }
.gallery-section p[style*="94a3b8"] { color: rgba(0, 0, 0, .6) !important; }

/* About page: four stats now (the "10+ years" stat was removed) */
@media (min-width: 901px) { .about-stat-grid { grid-template-columns: repeat(4, 1fr); } }

/* About page: one centre only (Rajkot) */
.about-centre-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (min-width: 901px) { .about-stat-grid { grid-template-columns: repeat(3, 1fr); } }

/* About page: one centre only (Rajkot), three stats */
.about-centre-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (min-width: 901px) { .about-stat-grid { grid-template-columns: repeat(3, 1fr); } }

/* Lead card heading: always white on the blue head, even inside .post-body (whose h3/p colours are darker) */
.lead-card .lead-card-head h3, .post-body .lead-card .lead-card-head h3 { color: var(--paper); }
.lead-card .lead-card-head p, .post-body .lead-card .lead-card-head p { color: #fff; }

/* Button arrow: lucide swaps <i> for <svg>, so colour the circle itself or the arrow is blue on blue */
.post-cta-box .hero-enroll-btn .arrow-btn-circle,
.about-cta-banner .hero-enroll-btn .arrow-btn-circle,
.cta-banner-box .hero-enroll-btn .arrow-btn-circle { color: var(--paper); }
.arrow-btn-circle svg { color: inherit; stroke: currentColor; width: 18px; height: 18px; }
.lead-card-head .lead-badge { align-self: flex-start; }

/* Blog action buttons: book demo / WhatsApp / contact */
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.cta-actions .hero-enroll-btn { margin: 0; }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); border-radius: var(--r-pill); font-weight: 700; font-size: .95rem; text-decoration: none; }
.post-body a.ck-btn, a.ck-btn { text-decoration: none; }
.post-body .ck-btn-wa, .ck-btn-wa { background: #25d366; color: #06280f; }
.post-body .ck-btn-line, .ck-btn-line { background: var(--paper); color: var(--ink); }
.ck-btn-blue { background: var(--blue); color: #fff; }
.ck-btn:hover { transform: translateY(-2px); }
.sidebar-actions { display: grid; gap: 10px; }
.sidebar-actions h4 { margin: 0 0 2px; }
.sidebar-actions p { margin: 0 0 6px; font-size: .9rem; }
