/* RISE Academy live fixes – ported from staging RA-16 (new.riseacademy.co.za/rise-preview/) on 4 Dec 2026 (Africa/Johannesburg).
   Part 1: spacing + heading standard (= /workspace/rise-spacing/override-final.css). Part 2: fixes (= rise-preview-fixes.css).
   Loaded by wp-content/mu-plugins/rise-live-fixes.php right after Additional CSS (wp-custom-css). */
/* RISE spacing+headings standard START 2026-12-04 */
/* RISE ACADEMY - spacing + heading standard (PREVIEW, v1)
   Paste as a new block below the unified-button CSS in Appearance > Customize > Additional CSS (id "wp-custom-css").
   ":not(#rs):not(#rs)" adds ID-level specificity (same trick as ":not(#rb)" in the button block) so these rules beat the
   page-level <style> blocks in the HTML widgets (which use !important and up to one ID, e.g. "#app.so-page > .wrap > .section").
   Scoped to page content (.elementor), header/footer excluded; delete this block to revert everything.
   Tokens first, rules after. Assumption: headings = Anton (what the site already uses), body/labels = Manrope. */
body.elementor-kit-1338{
  --ra-gap:80px;                     /* section top/bottom padding, desktop */
  --ra-font-head:"Anton",Impact,sans-serif;
  --ra-font-body:"Manrope",Arial,sans-serif;
  --ra-h1:clamp(60px,7.2vw,104px);
  --ra-h2d:clamp(52px,6vw,88px);     /* statement / display H2 (home look) */
  --ra-h2:clamp(30px,5vw,46px);      /* standard in-content H2 */
  --ra-h3:29px;
  --ra-h4:22px;
}
@media(max-width:1050px){body.elementor-kit-1338{--ra-gap:56px}}
@media(max-width:767px){body.elementor-kit-1338{--ra-gap:40px}}

/* ---------- 1. SECTION GAP ---------- */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(
  .so-page section.section, .so-course-hub, .apply-form-section, .campus-section, .rise-tour,
  .rise-photo-section, .rise-private-bookings__section, .rise-open-days__section,
  .ls-section, .ls-book, .ls-final, .rise-campuses, .ab-story, .ab-team, .story, .course-directory, .success, .rise-home-testimonials,
  .rf section > .wrap, .rf .alt > .wrap
){ padding-top:var(--ra-gap)!important; padding-bottom:var(--ra-gap)!important; }
body.elementor-kit-1338:not(#rs):not(#rs) .elementor .ls-section.course-action-section{ padding-top:var(--ra-gap)!important; }

/* ---------- 2. HEADINGS ---------- */
/* exception: 'ENTREPRENEURSHIP' is one very long word and clips on phones at the standard H1 size */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(h1,h2,h3):where(:not(.rise-accessible-heading,.rise-header *,footer *)){
  font-family:var(--ra-font-head)!important; font-weight:400!important; text-transform:uppercase;
}
/* H1 */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor h1:where(:not(.rise-accessible-heading,.rise-header *,footer *)){
  font-size:var(--ra-h1)!important; line-height:.92!important; letter-spacing:.01em!important;
}
/* H2 display (statement headings) */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(h2.display,h2.ab-section-heading,h2.ab-story-title,h2.ls-heading,.ls-book-info h2,.ls-final h2,.campus-head h2){
  font-size:var(--ra-h2d)!important; line-height:.94!important; letter-spacing:.015em!important;
}
/* H2 standard */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(.so-page section h2.h,h2.h,.fund-wrap h2,.rf h2,.dates-intro-left h2,.rise-tour-heading h2,.rise-campus-card h3,.rise-private-bookings__section h2,.rise-open-days__section h2){
  font-size:var(--ra-h2)!important; line-height:1!important; letter-spacing:.01em!important;
}
/* H3 (and card-level H2s) */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(.faq-section h2,.section-heading h2,.success-story-info h3,.panel h3.h,h3.h,.so-path-card h3,.mp-summary-card h2,.pc-summary-card h2,.rise-private-bookings__card h3,.rise-open-days__card h3){
  font-size:var(--ra-h3)!important; line-height:1.05!important; letter-spacing:.025em!important;
}
/* H4 / card label */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(.ab-person-info h3,.grid .box h3,.course-directory-card h3){
  font-size:var(--ra-h4)!important; line-height:1.1!important; letter-spacing:.02em!important;
}

/* ---------- 3. EYEBROW / LABEL ---------- */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is([class*="eyebrow"],[class*="kicker"]):where(:not(.rise-header *)){
  font-family:var(--ra-font-body)!important; font-size:12px!important; font-weight:800!important;
  letter-spacing:.18em!important; line-height:1.5!important; text-transform:uppercase!important;
}

/* ---------- 4. BODY ---------- */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(p,li):where(:not(.rise-header *,footer *,[class*="eyebrow"],[class*="kicker"])){
  font-family:var(--ra-font-body)!important; line-height:1.6;
}

/* ---------- 5. HEADING COLOUR ON DARK (Entrepreneurship only; the kit's black default shows through) ---------- */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor :is(.ls-title,.ls-heading,.ls-book-info h2,.ls-final h2){ color:#fff!important; }
body.elementor-kit-1338:not(#rs):not(#rs) .elementor .ls-heading span{ color:#c72027!important; }

body.elementor-kit-1338:not(#rs):not(#rs) .elementor h1.ls-title.ls-title{ font-size:clamp(36px,12.5vw,var(--ra-h1))!important; }

/* ---------- 6. CONTRAST: kit-black text on dark sections ----------
   Measured at 1440 and 390 across all 31 unique pages. Outline typography
   (transparent fill + white stroke) was left alone. These are the remaining
   elements whose computed colour sat under 3:1 against the section background. */
/* Entrepreneurship course price (the only uncoloured bit left after the heading fix) */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor .ls-book-info .price strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* Course Dates: "Choose Your" inherited kit black on the dark page; keep "Intake" red */
body.elementor-kit-1338:not(#rs):not(#rs) .elementor .dates-intro h2{
  color:#fff!important;
}
body.elementor-kit-1338:not(#rs):not(#rs) .elementor .dates-intro h2 span{
  color:#c72027!important;
  -webkit-text-fill-color:#c72027!important;
}
/* RISE spacing+headings standard END 2026-12-04 */

/* RISE Academy – staging fixes (Jen's list), 4 Dec 2026. Kept apart from rise-preview.css (the proposed spacing/heading CSS)
   so that file can be swapped without losing these. See CHANGES.md for the live-site port notes.
   ":not(#rp)" adds ID-level specificity so these beat the page-level <style> blocks and the unified-button block. */

/* ---------- 1. Buttons: unified pill, same spec as the site button block (Manrope 800 13px, uppercase, 999px radius) ---------- */
body a.rp-btn:not(#rp):not(#rp):not(#rp){
  display:inline-flex!important; align-items:center; justify-content:center; box-sizing:border-box;
  min-height:44px; padding:0 24px!important; margin:0; border-radius:999px!important; border:1px solid transparent!important;
  font-family:"Manrope",Arial,sans-serif!important; font-size:13px!important; font-weight:800!important; line-height:1.2!important;
  letter-spacing:.02em!important; text-transform:uppercase!important; text-decoration:none!important; text-align:center;
  white-space:normal; cursor:pointer; -webkit-text-fill-color:currentColor!important;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease!important;
}
body a.rp-btn.rp-btn-sm:not(#rp):not(#rp):not(#rp){ min-height:40px; padding:0 20px!important; }
/* red = primary */
body a.rp-btn.rp-btn-primary:not(#rp):not(#rp):not(#rp){ background:#c72027!important; border-color:#c72027!important; color:#fff!important; }
body a.rp-btn.rp-btn-primary:not(#rp):not(#rp):not(#rp):hover{ background:#a81a20!important; border-color:#a81a20!important; color:#fff!important; }
/* white outline = secondary (hover goes red, white border goes) */
body a.rp-btn.rp-btn-outline:not(#rp):not(#rp):not(#rp){ background:transparent!important; border-color:#fff!important; color:#fff!important; }
body a.rp-btn.rp-btn-outline:not(#rp):not(#rp):not(#rp):hover{ background:#c72027!important; border-color:#c72027!important; color:#fff!important; }
/* gold outline = Student Hero loan (distinct from the red Info Pack and white Fees buttons) */
body a.rp-btn.rp-btn-gold:not(#rp):not(#rp):not(#rp),
body a.btn.sh-loan:not(#rp):not(#rp):not(#rp):not(#rp){ background:transparent!important; border:1px solid #efca72!important; color:#efca72!important; -webkit-text-fill-color:#efca72!important; }
body a.rp-btn.rp-btn-gold:not(#rp):not(#rp):not(#rp):hover,
body a.btn.sh-loan:not(#rp):not(#rp):not(#rp):not(#rp):hover{ background:#c72027!important; border-color:#c72027!important; color:#fff!important; -webkit-text-fill-color:#fff!important; }

/* Student Hero button on the course pricing card: third full-width pill under Info Pack + Fees */
.course-resources a.btn.sh-loan{ grid-column:1/-1; display:block; width:100%; box-sizing:border-box; text-align:center; }
.buy > a.btn.sh-loan{ display:block; margin-top:10px; text-align:center; }

/* Student Hero band on collection pages and /apply/ */
.rp-loan-band{ display:flex; flex-direction:column; align-items:center; gap:14px; margin:36px auto 0; padding:0 16px; text-align:center; }
.rp-loan-band p{ margin:0; font:600 14px/1.5 "Manrope",Arial,sans-serif; color:#d8d8d8; }
.rp-loan-band--apply{ margin:0 auto 28px; }
.apply-form-fallback{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; }

/* Student-success "View X Courses" buttons sit under the card text */
.success-story-info > a.rp-btn{ margin-top:14px; }

/* Campuses: the 'Book a Campus Tour' CTA in the jump bar becomes the unified red button, tabs get the site font */
.jump a{ font-family:"Manrope",Arial,sans-serif!important; }
body .jump a.rp-btn.rp-jump-cta:not(#rp):not(#rp):not(#rp){ min-height:44px; }

/* ---------- 2. Fonts: body copy, labels, tables, menu extras = Manrope (headings stay Anton) ---------- */
body.elementor-kit-1338:not(#rp):not(#rp), body.elementor-kit-1338:not(#rp):not(#rp) .elementor{ font-family:"Manrope",Arial,sans-serif!important; }
body.elementor-kit-1338:not(#rp):not(#rp) .elementor :is(td,th,b,strong,em,small,label,input,textarea,select,span,div,a,button,cite,summary):where(:not(
  h1 *,h2 *,h3 *,h4 *,h5 *,h6 *,header *,footer *,svg *,.rf *,.rise-header *,#riseHeader *,#riseMobilePanel *,
  [class*="display"],[class*="display"] *,.faq-plus,[class*="eicon"],[class*="fa-"],.fa,.fas,.far,.fab,
  .rp-btn,
  /* elements that are Anton on purpose (numbers, level tabs, brand letters, quote marks, table heads) */
  th,.h,.h *,[class*="number"],[class*="quote-mark"],[class*="brand"],[class*="brand"] *,.ab-year *,.tab *,.chip *,.so-fact strong,.ls-fact b,
  .course-action-card :is(b,strong),.price strong,.ls-product-meta strong)){ font-family:"Manrope",Arial,sans-serif!important; }
/* mobile menu extras + skip link (were Montserrat) */
#riseMobilePanel a.rise-mobile-download-item, #riseMobilePanel a.rise-mobile-more-highlight, a.hfe-skip-link, .main-title a{ font-family:"Manrope",Arial,sans-serif!important; }
/* Interviews / Open Day tags (were Inter) */
.rise-private-bookings__tag,.rise-open-days__tag,.rise-private-bookings__card,.rise-open-days__card{ font-family:"Manrope",Arial,sans-serif!important; }

/* ---------- 3. Menu group headings: one style (gold, Manrope 800, 12px, capitals) ---------- */
html body #riseHeader .rise-dropdown-heading:not(#rp):not(#rp),
html body #riseHeader .rise-downloads-title:not(#rp):not(#rp),
html body #riseMobilePanel .rise-mobile-downloads-title:not(#rp):not(#rp){
  font-family:"Manrope",Arial,sans-serif!important; font-size:12px!important; font-weight:800!important;
  letter-spacing:.14em!important; text-transform:uppercase!important; color:#efca72!important; -webkit-text-fill-color:#efca72!important;
}
/* Menu: Course Dates sits above Course Fees in the Courses dropdown (rows 5 and 6 in the dropdown grid) */
html body #riseHeader .rise-course-dropdown .rise-grid-dates:not(#rp):not(#rp){ grid-row:5!important; }
html body #riseHeader .rise-course-dropdown .rise-grid-fees:not(#rp):not(#rp){ grid-row:6!important; }
/* Menu: the More dropdown ran off the right edge at 1440px; right-align it like Legal */
html body #riseHeader .rise-desktop-nav > .rise-menu-item:nth-last-child(2) > .rise-dropdown:not(#rp):not(#rp){ left:auto!important; right:0!important; }


/* ---------- 4. Arrow buttons: icon is flex-centred in the button (JS adds .rp-arrow / .rp-ico, see rise-preview-fixes.js) ---------- */
html body .rp-arrow:not(#rp):not(#rp){
  display:flex!important; align-items:center!important; justify-content:center!important; padding:0!important;
  font-size:0!important; line-height:0!important; text-indent:0!important; letter-spacing:0!important;
}
html body .rp-arrow:not(#rp):not(#rp)::before,
html body .rp-ico:not(#rp):not(#rp)::before{
  content:""; display:block; flex:none; background:currentColor;
  -webkit-mask:var(--rp-ico) center/contain no-repeat; mask:var(--rp-ico) center/contain no-repeat;
}
html body .rp-arrow:not(#rp):not(#rp)::before{ width:18px; height:18px; }
html body .rp-arrow[data-rp-dir^="chev"]:not(#rp):not(#rp)::before{ width:20px; height:20px; }
.level-arrow.rp-arrow::before, .rp-arrow.rp-small::before{ width:16px; height:16px; }
[data-rp-dir="left"]{ --rp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12H4M10 6l-6 6 6 6'/%3E%3C/svg%3E"); }
[data-rp-dir="right"]{ --rp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E"); }
[data-rp-dir="chev-left"]{ --rp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 5l-7 7 7 7'/%3E%3C/svg%3E"); }
[data-rp-dir="chev-right"]{ --rp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 5l7 7-7 7'/%3E%3C/svg%3E"); }
[data-rp-dir="down"]{ --rp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6'/%3E%3C/svg%3E"); }
[data-rp-dir="up"]{ --rp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20V4M6 10l6-6 6 6'/%3E%3C/svg%3E"); }
[data-rp-dir="up-right"]{ --rp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18L18 6M9 6h9v9'/%3E%3C/svg%3E"); }
/* pill buttons: icon sits after the label, centred on the label's line */
html body a.ls-btn:not(#rp):not(#rp):not(#rp){ display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:8px; }
html body .rp-ico:not(#rp):not(#rp){ display:inline-flex; flex:none; width:14px; height:14px; font-size:0; line-height:0; }
html body .rp-ico:not(#rp):not(#rp)::before{ width:14px; height:14px; }


/* ---------- 5. Motion layer (JS in rise-preview-fixes.js adds .rp-rv / .rp-in / .rp-card / .rp-lift) ---------- */
/* 5a. scroll reveal: fade + 20px rise, 600ms ease-out, stagger via --rp-d. Only ever applied to content that starts below the fold. */
html.rp-motion body .rp-rv:not(#rp):not(#rp):not(#rp){
  opacity:0!important; transform:translate3d(0,20px,0)!important;
  transition:opacity .6s cubic-bezier(.22,.61,.36,1) var(--rp-d,0ms),transform .6s cubic-bezier(.22,.61,.36,1) var(--rp-d,0ms)!important;
  will-change:opacity,transform;
}
html.rp-motion body .rp-rv.rp-in:not(#rp):not(#rp):not(#rp){ opacity:1!important; transform:none!important; }
/* 5b. the site's own entrance effects are switched off so nothing animates twice (the proposed CSS already does this on Home/Apply/Contact) */
body .reveal:not(#rp):not(#rp), body .ab-reveal-section:not(#rp):not(#rp), body .rise-flow-section:not(#rp):not(#rp), body .rise-flow-item:not(#rp):not(#rp){
  opacity:1!important; transform:none!important; transition:none;
}
/* 5c. hover + focus: one 200ms feel everywhere */
html body a.rp-btn:not(#rp):not(#rp):not(#rp), html body .rp-lift:not(#rp):not(#rp):not(#rp), html body .ls-btn:not(#rp):not(#rp):not(#rp){
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
html body .rp-lift:not(#rp):not(#rp):not(#rp):hover, html body a.rp-btn:not(#rp):not(#rp):not(#rp):hover{ transform:translateY(-2px); box-shadow:0 8px 18px rgba(0,0,0,.28); }
html body .rp-lift:not(#rp):not(#rp):not(#rp):active, html body a.rp-btn:not(#rp):not(#rp):not(#rp):active{ transform:none; box-shadow:none; }
html body .rp-arrow:not(#rp):not(#rp):hover{ scale:1.06; }
/* when the glyph sits in an inner <span> (success / testimonial / course-directory sliders) the span gets the icon size and loses the site's -1px optical nudge */
html body .rp-arrow.rp-arrow-inner:not(#rp):not(#rp):not(#rp){ width:18px; height:18px; flex:none; transform:none!important; margin:0!important; position:static!important; }
html body .rp-arrow.rp-arrow-inner[data-rp-dir^="chev"]:not(#rp):not(#rp):not(#rp){ width:20px; height:20px; }
button:not(#rp):not(#rp), .rp-arrow:not(#rp):not(#rp){ transition:background-color .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease,transform .2s ease; }
html body .rp-card:not(#rp):not(#rp){ transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease; }
html body .rp-card:not(#rp):not(#rp):hover{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,.32); }
/* focus: visible two-tone ring that works on both dark and light bands */
html body :is(a,button,input,select,textarea,summary,[role="button"],[tabindex]):focus-visible:not(#rp):not(#rp){
  outline:2px solid #fff!important; outline-offset:2px!important; box-shadow:0 0 0 5px #c72027!important;
}
html body .rp-card:focus-within:not(#rp):not(#rp){ box-shadow:0 14px 30px rgba(0,0,0,.32); }
/* 5d. smooth anchors; in-page jumps stop below the sticky header + preview bar */
html{ scroll-behavior:smooth; }
:target, [id]{ scroll-margin-top:110px; }
/* 5e. accordions + details open softly (the answer fades/slides in instead of snapping) */
@keyframes rp-open{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
.ls-faq-item.open .ls-faq-answer, details[open] > :not(summary), .faq-item.open .faq-answer, .faq-question[aria-expanded="true"] + .faq-answer{ animation:rp-open .28s ease-out; }
.ls-faq-btn span:last-child, .faq-plus{ transition:transform .25s ease; }
/* 5f. reduced motion: nothing moves */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto!important; }
  *,*::before,*::after{ animation-duration:.001ms!important; animation-delay:0s!important; animation-iteration-count:1!important; transition-duration:.001ms!important; transition-delay:0s!important; scroll-behavior:auto!important; }
  html body .rp-rv:not(#rp):not(#rp):not(#rp){ opacity:1!important; transform:none!important; }
  html body .rp-lift:hover, html body a.rp-btn:hover, html body .rp-card:hover{ transform:none!important; }
  html body .rp-arrow:hover{ scale:1!important; }
}

/* ---------- 6. Improvement pass (visual only) ---------- */
/* 6a. headings and big intro lines break evenly: no single orphan word on the last line ("READY TO VISIT / RISE?") */
html body :is(h1,h2,h3):not(#rp):not(#rp){ text-wrap:balance; }
html body .elementor :is(p,li):not(#rp):not(#rp){ text-wrap:pretty; }
/* 6b. pricing card: the Info Pack button was 58px tall next to a 48px Fees button (page CSS gave the 2nd one a 10px top margin inside the grid) */
html body .course-resources a.btn:not(#rp):not(#rp):not(#rp){ margin:0!important; }
/* 6c. contrast: gold label on the red "Ready to visit RISE?" band was 3.2:1 */
html body .rise-visit-label:not(#rp):not(#rp){ color:#fff3d1!important; }
/* 6d. mobile tap targets: 44px minimum (hit areas grow, layout stays) */
@media (max-width:767px){
  html body a.rp-btn:not(#rp):not(#rp):not(#rp), html body a.rp-btn.rp-btn-sm:not(#rp):not(#rp):not(#rp){ min-height:44px; }
  html body .rf a.rf-social:not(#rp):not(#rp), html body .rf button.rf-top:not(#rp):not(#rp), html body a.rf-social:not(#rp):not(#rp), html body button.rf-top:not(#rp):not(#rp){ width:44px!important; height:44px!important; }
  html body .rf-socials:not(#rp):not(#rp){ gap:6px; }
  html body .rf-links:not(#rp):not(#rp){ gap:0!important; }
  html body .rf-links a:not(#rp):not(#rp), html body .rf-legal a:not(#rp):not(#rp){ display:block; box-sizing:border-box; min-height:44px; padding:14px 0!important; margin:0!important; line-height:16px!important; }
  html body button[data-m]:not(#rp):not(#rp){ min-height:44px; }
  html body .rise-page .course-list-link:not(#rp):not(#rp):not(#rp){ padding:13px 0!important; }
  html body :is(.rise-campus-phone-link,.rise-campus-email-link):not(#rp):not(#rp){ display:inline-block; padding:13px 0; }
  html body.page-id-14566 a.btn:not(#rp):not(#rp):not(#rp){ display:inline-flex!important; align-items:center; justify-content:center; min-height:44px; box-sizing:border-box; }
  /* round arrow / pager buttons keep their size; the tappable area grows to 44px */
  html body :is(.level-arrow,.campus-gallery-arrow,.faq-slider-arrow,.rise-photo-strip__arrow,.ab-team-arrow,.testimonial-slider-arrow,.course-directory-slider-arrow):not(#rp):not(#rp){ position:relative; }
  html body :is(.level-arrow,.campus-gallery-arrow,.faq-slider-arrow,.rise-photo-strip__arrow):not(#rp):not(#rp)::after{ content:""; position:absolute; inset:-4px; }
}
/* 6e. Entrepreneurship hero buttons: width:100% + side padding made "Info pack" / "View product" ~18px wider than the screen on phones */
html body a.ls-btn:not(#rp):not(#rp):not(#rp){ box-sizing:border-box!important; max-width:100%; }

/* 6b. Entrepreneurship booking card: grid track was sized by its widest word, pushing the buttons ~60px past the card on phones. Shrink the title just enough that ENTREPRENEURSHIP stays one word, then COURSE wraps. */
.ls-book-card,.ls-book-actions,.ls-final-actions{grid-template-columns:minmax(0,1fr)!important}
.ls-book-info{min-width:0}
@media (max-width:767px){
  body.elementor-kit-1338:not(#rp):not(#rp):not(#rp) .elementor .ls-book-info h2{font-size:clamp(30px,10vw,42px)!important;overflow-wrap:normal}
}


/* ---------- 7. Pass 3 defaults (flagged in CHANGES.md) ---------- */
/* 7a. Accessible red on dark: #e44545 is 5.24:1 on black and 4.71:1 on #111 (WCAG AA 4.5:1).
      Brand #c72027 is 3.29–3.66:1 on those backgrounds. Buttons stay #c72027 (white text on red already passes). */
html body:not(#rp):not(#rp):not(#rp) :is(.ab-small-kicker,.ab-role,.section-number,.rise-campus-number,
  .faq-section h2,.ls-heading span,.ls-product-meta span,.ls-stat,.product-meta span):not(#rp){
  color:#e44545!important; -webkit-text-fill-color:#e44545!important;
}
/* 7b. Grey captions on light backgrounds: #707070 is 4.95:1 on white and 4.53:1 on #f5f5f2; #777 was 4.10–4.48. */
html body:not(#rp):not(#rp) .ab-year span,
html body:not(#rp):not(#rp) .ab-timeline span,
html body:not(#rp):not(#rp) .ls-head p,
html body .testimonials-intro, html body .testimonial-card small{
  /* only retint when the computed colour was the failing grey — override the #777 captions */
}
html body:not(#rp):not(#rp):not(#rp) .ab-year span{ color:#707070!important; }
html body:not(#rp):not(#rp):not(#rp) .testimonial-card small,
html body:not(#rp):not(#rp):not(#rp) .success-card small,
html body:not(#rp):not(#rp):not(#rp) [class*="testimonial"] small{ color:#707070!important; }
html body:not(#rp):not(#rp):not(#rp) .rise-home-testimonials-head p,
html body:not(#rp):not(#rp):not(#rp) .testimonials-head p{ color:#707070!important; }


/* 7c. Home course-directory: tidy name lists, no Info pack pills (Charmaine 13:22) */
html body .course-directory-row:not(#rp):not(#rp){
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:start!important; column-gap:8px!important;
}
html body .course-directory-row .course-list-link:not(#rp){ padding:0!important; text-decoration:none!important; cursor:default; min-width:0; white-space:normal!important; }

/* 7d. Leftover tap targets: 44px hit area, look stays the same */
@media (max-width:767px){
  /* collection titles in the home directory */
  html body .course-directory-card h3 a:not(#rp):not(#rp){ display:flex!important; align-items:center; min-height:44px; }
  /* class-less campus phone/email */
  html body .fact a[href^="tel"]:not(#rp), html body .fact a[href^="mailto"]:not(#rp){
    display:inline-flex; align-items:center; min-height:44px; padding:12px 0; box-sizing:border-box;
  }
  /* FAQ "See student successes" / "Read student testimonials" */
  html body .faq-button-list a:not(#rp):not(#rp){
    display:inline-flex!important; align-items:center; min-height:44px; padding:10px 14px!important; box-sizing:border-box;
  }
  /* campus-tour Privacy / Terms, and the consent row (checkbox is hit via the label) */
  html body a[href*="Privacy-Policy"]:not(#rp), html body a[href*="Terms-and-Conditions"]:not(#rp){
    display:inline-flex; align-items:center; min-height:44px; box-sizing:border-box;
  }
  html body label.rise-tour-consent:not(#rp){ display:flex; align-items:flex-start; gap:10px; min-height:44px; padding:8px 0; }
  html body label.rise-tour-consent input[type="checkbox"]{ width:20px; height:20px; margin-top:2px; flex-shrink:0; }
  /* photo-strip dots stay 8px visually; 44px invisible hit area */
  html body .rise-photo-strip__dots{ overflow:visible; }
  html body button.rise-photo-strip__dot:not(#rp){ position:relative; }
  html body button.rise-photo-strip__dot:not(#rp)::after{
    content:""; position:absolute; left:50%; top:50%; width:44px; height:44px; transform:translate(-50%,-50%);
  }
  /* Squid Tech credit */
  html body .rise-powered-by a:not(#rp):not(#rp){
    display:inline-flex; align-items:center; min-height:44px; padding:0 6px; box-sizing:border-box;
  }
}

/* ---------- 8. FAQ / accordion question size (Charmaine 13:23) ----------
   Fund Your Studies (details.qa), FAQs (.faq-question), course pages (.ls-faq-btn).
   Desktop 17px / mobile 15px, Manrope 700, line-height 1.4. + icon stays vertically centred. */
html body:not(#rp):not(#rp):not(#rp) :is(details.qa > summary, button.faq-question, button.ls-faq-btn){
  font-family:"Manrope",Arial,sans-serif!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.4!important;
  align-items:center!important;
}
html body:not(#rp):not(#rp):not(#rp) :is(
  details.qa > summary > :not(.plus):not(.faq-plus),
  button.faq-question > span:first-child,
  button.ls-faq-btn > span:first-child
){
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
}
html body:not(#rp):not(#rp):not(#rp) :is(
  details.qa > summary .plus,
  button.faq-question .faq-plus,
  button.ls-faq-btn > span:last-child
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  line-height:1!important;
}
@media (max-width:767px){
  html body:not(#rp):not(#rp):not(#rp) :is(details.qa > summary, button.faq-question, button.ls-faq-btn){
    font-size:15px!important;
  }
}
