/* Phone fixes (Sean, November 11, 2026: "There are serious issues with mobile optimization for all
   pages"; iPhone and mobile Chrome: too long, looks broken, slow). Phones only: every rule sits
   inside max-width 767px, so laptops and desktops do not change.
   All rules are in the skb-mobile layer, which each page declares first, and all are !important,
   so they win over the older layered rules without a specificity race. */
@layer skb-mobile {
@media (max-width: 767px) {

  /* ---------- 1. Long card lists become side-swipe rows (the next card peeks in) ---------- */
  :is(.trainers, .flow-instructors, #instructors .restored-instructors, #highlights .grid-3:has(p), .why, #featured-course-grid,
      .review-grid, main:has(.ed-profile-hero) .ed-card-grid, .ain-steps, .sb-feature-grid) {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    margin-inline: -18px !important;
    padding: 4px 18px 14px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    counter-reset: none;
  }
  :is(.trainers, .flow-instructors, #instructors .restored-instructors, #highlights .grid-3:has(p), .why, #featured-course-grid,
      .review-grid, main:has(.ed-profile-hero) .ed-card-grid, .ain-steps, .sb-feature-grid)::-webkit-scrollbar { display: none; }
  :is(.trainers, .flow-instructors, #instructors .restored-instructors, #highlights .grid-3:has(p), .why, #featured-course-grid,
      .review-grid, main:has(.ed-profile-hero) .ed-card-grid, .ain-steps, .sb-feature-grid) > * {
    flex: 0 0 84% !important;
    width: 84% !important;
    max-width: 84% !important;
    min-width: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }
  /* home course cards: a shorter badge panel inside the swipe row */
  #featured-course-grid .fc-card .sb-logo-stage { height: 132px !important; min-height: 0 !important; }
  #featured-course-grid .fc-card .sb-logo-stage img { max-height: 96px !important; }
  /* course trainers: smaller photo panel */
  .trainers .trainer .trainer-photo, .trainers .trainer .sb-portrait-stage { height: 200px !important; }
  .trainers .trainer .sb-portrait-stage .sb-portrait-frame { width: 168px !important; }

  /* ---------- 2. Short facts become two columns ---------- */
  :is(.exam, .flow-audience-grid, #highlights .grid-3:not(:has(p)), .asai-criteria) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  :is(.exam, .flow-audience-grid, #highlights .grid-3:not(:has(p)), .asai-criteria) > * {
    padding: 14px 12px !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  :is(.exam, .flow-audience-grid, #highlights .grid-3:not(:has(p)), .asai-criteria) .ve-course-icon {
    width: 24px !important; height: 24px !important; margin-bottom: 6px !important;
  }
  :is(.exam, .flow-audience-grid, #highlights .grid-3:not(:has(p)), .asai-criteria) :is(h3, .k, .v, b, p) {
    font-size: 15px !important; line-height: 1.35 !important; margin: 0 !important;
  }
  .exam .exam__item .k { font-size: 13px !important; opacity: .8; margin-bottom: 2px !important; }

  /* career numbers: three compact rows */
  .career { gap: 8px !important; }
  .career .cstat { padding: 14px 16px !important; display: grid !important; grid-template-columns: 28px auto 1fr !important; column-gap: 12px !important; align-items: center !important; }
  .career .cstat .ve-course-icon { width: 24px !important; height: 24px !important; margin: 0 !important; }
  .career .cstat b { font-size: 22px !important; margin: 0 !important; }
  .career .cstat span { font-size: 14px !important; line-height: 1.35 !important; }

  /* compare: the two answers side by side under each question */
  .cmp-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .cmp-grid > * { grid-row: auto !important; }
  .cmp-grid > :not(.cmp-c1, .cmp-c2, .cmp-c3) { display: none !important; }
  .cmp-grid > .cmp-c1 { grid-column: 1 / -1 !important; padding: 16px 0 4px !important; min-height: 0 !important; }
  .cmp-grid > .cmp-c2 { grid-column: 1 !important; }
  .cmp-grid > .cmp-c3 { grid-column: 2 !important; }
  .cmp-grid > :is(.cmp-c2, .cmp-c3) { padding: 12px !important; min-height: 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
  .cmp-grid > :is(.cmp-c2, .cmp-c3) .cmp-lab { font-size: 12px !important; line-height: 1.3 !important; margin-bottom: 4px !important; }

  /* ---------- 3. Instructors list: two per row ---------- */
  main:not(:has(.ed-profile-hero)) .ed-card-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid .ed-card { min-height: 0 !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid .sb-portrait-stage { height: auto !important; min-height: 0 !important; padding: 14px 0 2px !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid .ed-card-media { width: 116px !important; height: 116px !important; padding: 0 !important; margin: 0 auto !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid :is(.ed-card-body, .ed-card-content) { padding: 12px !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid :is(h2, h3) { font-size: 16px !important; line-height: 1.3 !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid p { font-size: 13px !important; line-height: 1.35 !important; }

  /* profile page: photo first, smaller */
  .ed-profile-layout > .ed-profile-photo { order: -1 !important; width: 168px !important; margin: 0 0 8px !important; }

  /* ---------- 4. Programs catalog: compact course rows ---------- */
  .sb-course-grid { gap: 12px !important; }
  .sb-course-grid .sb-course-card { display: grid !important; grid-template-columns: 84px 1fr !important; align-items: start !important; min-height: 0 !important; }
  .sb-course-grid .sb-course-card .sb-card-image { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; padding: 14px 0 0 12px !important; background: none !important; border: 0 !important; }
  .sb-course-grid .sb-course-card .sb-card-image img { width: 64px !important; height: 64px !important; max-width: none !important; max-height: none !important; object-fit: contain !important; }
  .sb-course-grid .sb-course-card .sb-card-body { padding: 14px 14px 14px 10px !important; gap: 6px !important; }
  .sb-course-grid .sb-course-card .sb-card-body h3 { font-size: 17px !important; line-height: 1.3 !important; margin: 0 !important; }
  .sb-course-grid .sb-course-card .sb-card-body > p { font-size: 14px !important; line-height: 1.4 !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important; margin: 0 !important; }
  .sb-course-grid .sb-course-card .sb-card-meta { margin: 0 !important; padding: 0 !important; border: 0 !important; }
  .sb-course-grid .sb-course-card .sb-card-action { margin-top: 4px !important; }

  /* ---------- 5. Chip rows: one line that swipes ---------- */
  :is(.fc-filters.fc-program-filters, .sb-filter-chips, .review-filters, .rv-filters, [class*="filter-chips"]) {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    margin-inline: -18px !important;
    padding: 2px 18px 8px !important;
    scrollbar-width: none;
  }
  :is(.fc-filters.fc-program-filters, .sb-filter-chips, .review-filters, .rv-filters, [class*="filter-chips"]) > * { flex: 0 0 auto !important; white-space: nowrap !important; }

  /* ---------- 6. Dropdowns match the text boxes and are easy to tap ---------- */
  :is(select.sb-select, #ed-category, form.sb-form select, .sb-field select) {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 40px 0 14px !important;
    font-size: 16px !important;
    line-height: 46px !important;
    color: #18181b !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px 14px !important;
    border: 1px solid #c9ccd3 !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ---------- 7. Centered blocks keep their buttons centered ---------- */
  .sb-center .sb-actions { justify-content: center !important; flex-wrap: wrap !important; }

  /* ---------- 8. Footer: shorter, padded newsletter ---------- */
  .site-footer .lf-grid { gap: 20px !important; }
  .site-footer .lf-grid > section > a { display: block !important; padding: 7px 0 !important; }
  .site-footer .lf-grid > section h3 { margin-top: 12px !important; }
  .site-footer .lf-courses > div a { padding: 7px 0 !important; font-size: 15px !important; line-height: 1.35 !important; }
  .site-footer [data-skb-collapsible] > h2 { margin: 0 !important; }
  .site-footer [data-skb-collapsible] > h2 > button {
    all: unset; box-sizing: border-box; display: flex; width: 100%; align-items: center; justify-content: space-between;
    min-height: 48px; cursor: pointer; font: inherit; color: inherit;
  }
  .site-footer [data-skb-collapsible] > h2 > button::after {
    content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; margin-right: 4px;
  }
  .site-footer [data-skb-collapsible].is-open > h2 > button::after { transform: rotate(-135deg) translate(-3px, -3px); }
  .site-footer [data-skb-collapsible] > h2 > button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
  .site-footer [data-skb-collapsible]:not(.is-open) > :not(h2) { display: none !important; }
  .site-footer .lf-newsletter { padding: 24px 20px 20px !important; margin-top: 8px !important; }
  .site-footer .lf-newsletter h2 { font-size: 24px !important; line-height: 1.25 !important; margin: 0 0 14px !important; }
  .site-footer .lf-newsletter form > div { gap: 10px !important; flex-wrap: wrap !important; }
  .site-footer .lf-newsletter input { min-height: 48px !important; font-size: 16px !important; }

  /* ---------- 9. Things that look broken ---------- */
  /* Instructors hero: the decorative circle ran through the heading and text */
  .ed-hero::after { display: none !important; }
  /* the underline was drawn only in the gaps between words ("teaching_your_class.") */
  :is(.ed-hero, .ed-profile-hero) h1 em { text-decoration: none !important; }
  :is(.ed-hero, .ed-profile-hero) h1 em .site-motion-word {
    text-decoration-line: underline !important;
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }
  /* home "A public class": photos lie flat */
  .hm-path__img-stack .hm-path__img { transform: none !important; rotate: none !important; }

  /* ---------- 10. Less empty space ---------- */
  section.hm-approach { padding-top: 64px !important; padding-bottom: 56px !important; }
  .sb-contact-card { padding: 18px !important; min-height: 0 !important; }
  .sb-contact-card :is(.sb-contact-icon, .sb-icon) { width: 40px !important; height: 40px !important; }

  /* ---------- 11. Course steps: one compact row each ---------- */
  .gsteps { gap: 8px !important; }
  .gsteps > .gstep { display: grid !important; grid-template-columns: 40px 1fr auto !important; align-items: center !important; column-gap: 12px !important; padding: 12px 14px !important; min-height: 0 !important; }
  .gsteps > .gstep .gstep__icon { width: 40px !important; height: 40px !important; margin: 0 !important; grid-column: 1 !important; grid-row: 1 !important; }
  .gsteps > .gstep .gstep__icon--cert { overflow: hidden !important; border-radius: 6px !important; }
  .gsteps > .gstep .gstep__icon--cert img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .gsteps > .gstep h3 { grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; font-size: 17px !important; line-height: 1.3 !important; }
  .gsteps > .gstep .gstep__ghost { grid-column: 3 !important; grid-row: 1 !important; position: static !important; margin: 0 !important; }
  .gsteps > .gstep .ain-free { grid-column: 2 !important; grid-row: 2 !important; justify-self: start !important; margin-top: 4px !important; }
  /* sample certificate pictures: smaller */
  .reward .cert-img { max-width: 260px !important; margin-inline: auto !important; }
  .ain-top .ain-cert { max-width: 260px !important; margin-inline: auto !important; }
  /* AI-Native upgrade: the long "good to know" and links open on tap (see mobile-fixes.js) */
  .ain-more[data-skb-collapsible]:not(.is-open) > :not(.skb-more-toggle) { display: none !important; }
  .skb-more-toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 52px;
    padding: 0 18px; border: 1px solid currentColor; border-radius: 12px; background: transparent;
    font: inherit; font-weight: 600; color: inherit; cursor: pointer;
  }
  .skb-more-toggle::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
  .is-open > .skb-more-toggle::after { transform: rotate(-135deg) translate(-2px, -2px); }

  /* ---------- 13. Course hero: the class date, price and Register come right after the title ---------- */
  .hero__in.course-hero-layout { display: flex !important; flex-direction: column !important; gap: 14px !important; }
  .hero__in.course-hero-layout > .course-hero-copy { display: contents !important; }
  .hero__in.course-hero-layout .course-hero-copy > .eyebrow { order: 1 !important; margin: 0 !important; }
  .hero__in.course-hero-layout .course-hero-copy > h1 { order: 2 !important; margin: 0 !important; }
  .hero__in.course-hero-layout .course-hero-copy > .hero__sub { order: 3 !important; margin: 0 !important; }
  .hero__in.course-hero-layout > .course-next-class { order: 4 !important; margin: 4px 0 !important; padding: 18px 16px !important; }
  .hero__in.course-hero-layout .course-hero-copy > :not(.eyebrow, h1, .hero__sub) { order: 5 !important; margin: 0 !important; }
  /* the class card above already has the schedule button; the second one below the badges goes */
  .hero__in.course-hero-layout:has(> .course-next-class) .course-hero-copy > .hero__cta { display: none !important; }
  .hero__in.course-hero-layout .course-hero-copy > .rating .skb-trust,
  .hero__in.course-hero-layout .course-hero-copy > .skb-trust { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 !important; }

  /* ================= Round 3 (November 12, 2026): full phone QA of all 93 pages ================= */
  /* ---------- 14. Course pages ---------- */
  /* compare: row 01 title was hidden under its cards (desktop row heights still applied) */
  .cmp-grid { grid-template-rows: none !important; grid-auto-rows: auto !important; }
  .cmp-grid .cmp-lab { font-size: 13px !important; }
  /* "How you earn it" text sat in the 40 px icon column, one word per line */
  .gsteps > .gstep > p { grid-column: 2 / -1 !important; grid-row: 2 !important; margin: 2px 0 0 !important; }
  .gsteps > .gstep::after { display: none !important; }
  .skb-more-toggle { padding: 0 18px !important; font-weight: 600 !important; }
  /* titles: 3 lines, not 5 */
  section#overview h1 { font-size: 28px !important; line-height: 1.15 !important; }
  #referral-section-15 h2 { font-size: 26px !important; line-height: 1.2 !important; }
  /* one alignment in every course hero: left */
  section#overview :is(.eyebrow, h1, .hero__sub) { text-align: left !important; align-self: flex-start !important; margin-left: 0 !important; margin-right: 0 !important; }
  section#overview :is(.hero__pills, .hero__trust, .hero__cta) { justify-content: flex-start !important; }
  /* hero class card: tighter, links big enough to tap */
  .course-next-class__top { margin-bottom: 10px !important; }
  .course-next-class__top img { width: 44px !important; height: 44px !important; }
  :is(.course-next-class__all, .course-next-class__email, .asai-specimen-link) { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 44px !important; }
  /* the same two numbers were shown three times in the first screens */
  .course-hero-copy > .rating > span { display: none !important; }
  #reviews .reviews-badge { display: none !important; }
  .hero__in.course-hero-layout .skb-trust__item + .skb-trust__item { border-top: 0 !important; border-left: 1px solid #C7D0DC !important; padding-left: 12px !important; }
  .hero__trust img { height: 52px !important; width: auto !important; }
  /* reviews row: runs to the screen edge, snaps, smaller text */
  .trow-scroll { margin-inline: -18px !important; padding-inline: 18px !important; scroll-snap-type: x mandatory !important; scroll-padding-inline: 18px; }
  .trow-scroll > * { scroll-snap-align: start; }
  .trow-scroll .tcard p { font-size: 15px !important; line-height: 1.5 !important; }
  /* pricing: the class seat first, corporate second */
  #pricing .price > .pcard--feat { order: -1 !important; }
  /* swipe-row cards no taller than their text */
  :is(#highlights .grid-3:has(p), .why, .ain-steps) { align-items: flex-start !important; }
  .fcard { padding: 18px !important; }
  .fcard .ficon { width: 40px !important; height: 40px !important; margin-bottom: 10px !important; }
  /* AI-Native block */
  .ain-logos { flex-wrap: nowrap !important; align-items: center !important; gap: 10px !important; }
  .ain-logos img { height: 64px !important; width: auto !important; max-width: 34% !important; object-fit: contain !important; }
  .ain-facts > .ain-f:first-child { grid-column: 1 / -1 !important; padding-block: 12px !important; }
  .ain-f b { font-size: 22px !important; }
  /* facts grids: no box inside a box, no lonely last cell */
  .exam { border: 0 !important; background: none !important; }
  :is(.exam, #highlights .grid-3:not(:has(p)), #audience .grid-3:has(> :nth-child(5))) > :last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
  .exam .exam__item .k { opacity: 1 !important; }
  #audience .grid-3:has(> :nth-child(5)) { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  #audience .grid-3:has(> :nth-child(5)) > * { padding: 14px !important; min-height: 0 !important; margin: 0 !important; }
  /* career path pills */
  #career .step { border-radius: 14px !important; text-align: center !important; }
  /* FAQ rows line up with their answers */
  #faq .acc__btn { padding: 16px 18px !important; }
  /* final call-to-action buttons the same width */
  :is(#referral-section-15, #find-a-class) .btn { width: 100% !important; max-width: 320px !important; justify-content: center !important; }
  /* readable trainer badges */
  .trainers .trainer-certs img { width: 32px !important; height: 32px !important; }
  /* topic titles: drop the small icon so the title gets the width */
  .restored-modules .ve-course-icon { display: none !important; }
  .reward--cert .cert-cap { max-width: none !important; width: 100% !important; text-align: center !important; }
  /* "View class schedule" lands just under the header */
  .referral-course [data-ref-section], #sbpopm section { scroll-margin-top: 0 !important; }

  /* ---------- 15. Main pages, footer and instructor profiles ---------- */
  /* footer groups: one link per line after opening (the tap-to-open wrapper had made them run together) */
  .site-footer [data-skb-collapsible].is-open > div[id^="skb-foot"],
  .site-footer [data-skb-collapsible].is-open > div[id^="skb-foot"] > div { display: flex !important; flex-direction: column !important; gap: 0 !important; }
  .site-footer [data-skb-collapsible] > div[id^="skb-foot"] a { display: block !important; padding: 11px 0 !important; min-height: 44px; box-sizing: border-box; font-size: 15px !important; line-height: 1.4 !important; }
  :is(.v2-footer-bottom nav > a, .sb-breadcrumb > a, .ed-breadcrumb a) { display: inline-block !important; padding-block: 11px !important; }
  .site-footer .lf-social > a { display: inline-flex !important; align-items: center !important; gap: 6px !important; min-height: 44px !important; padding-block: 0 !important; }
  /* home: chip row and course row run to the screen edge */
  :is(.fc-filters.fc-program-filters, #featured-course-grid) { width: auto !important; max-width: none !important; }
  /* home video pause button visible */
  .skb-hero-video__toggle { color: #fff !important; }
  .skb-hero-video__toggle svg :is(rect, path) { fill: currentColor !important; }
  /* home "A public class": plain rounded photo, caption inside it */
  .hm-path__img-stack .hm-path__img img { clip-path: none !important; border-radius: 12px !important; }
  .hm-path__img-stack .v2-offer-caption { left: 12px !important; right: 12px !important; bottom: 12px !important; width: auto !important; }
  /* home review cards: no empty band above the reviewer */
  #hm-review-track { align-items: flex-start !important; }
  #hm-review-track .hm-review-card { height: auto !important; min-height: 0 !important; }
  #hm-review-track .hm-review-person { margin-top: 20px !important; }
  /* home instructors card shorter */
  .hm-coach-card .sb-portrait-stage { height: 180px !important; }
  .hm-coach-card .hm-coach-bio { display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden !important; }
  /* partner list rows */
  #partners .partner-reveal__choice { min-height: 52px !important; padding: 10px 16px !important; }
  #partners .partner-reveal__choice svg { display: none !important; }
  /* less space between sections */
  :is(section#courses.fc-section, section#hm-offer, section#partners, section#instructors.hm-coaches-zone, section#hm-faqs) { padding-top: 44px !important; padding-bottom: 44px !important; }
  section.hm-approach { padding-top: 48px !important; padding-bottom: 44px !important; }
  .hm-zone-hero { padding-bottom: 0 !important; }
  section.sb-section { padding-top: 40px !important; padding-bottom: 40px !important; }
  /* framed workshop photo: crop the white frame baked into the picture */
  .sb-image-panel:has(img[src*="workshop-2"]), #hm-path-img-3 { overflow: hidden !important; }
  :is(.sb-image-panel img[src*="workshop-2"], #hm-path-img-3 img) { transform: scale(1.1) !important; }
  /* enterprise: stray logo mid-page; page titles 3 lines at most */
  .sb-split .sb-brand-lock { display: none !important; }
  .sb-page-hero h1 { font-size: 28px !important; line-height: 1.15 !important; text-wrap: balance; }
  :is(h1, h2) { text-wrap: balance; }
  /* contact cards: links far enough apart to tap */
  .sb-contact-card > a { display: block !important; padding: 9px 0 !important; min-height: 44px; box-sizing: border-box; }
  .sb-contact-card img.ve-icon { width: 40px !important; height: 40px !important; padding: 7px !important; margin-bottom: 8px !important; }
  #inquiry-form :is(input, textarea) { border-radius: 10px !important; border-color: #c9ccd3 !important; }
  #inquiry-form input { min-height: 48px !important; }
  #inquiry-form select { text-overflow: ellipsis; }
  /* centered call-to-action blocks */
  #authority-heading { text-align: left !important; }
  .sb-center .sb-actions > a { width: 100% !important; max-width: 300px !important; justify-content: center !important; }
  /* certification logos: one even row */
  .sb-logo-row { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 16px 24px !important; }
  .sb-logo-row img { height: 52px !important; width: auto !important; }
  /* referral steps: icon and number above full-width text */
  .sb-step { grid-template-columns: 1fr !important; }
  .sb-step > :first-child { display: flex !important; align-items: center !important; gap: 10px !important; }
  /* instructor profiles */
  .ed-profile-about h2 { font-size: 26px !important; line-height: 1.2 !important; }
  .ed-credentials { gap: 6px !important; }
  .ed-credentials > span { font-size: 14px !important; line-height: 1.3 !important; padding: 4px 8px !important; }
  .ed-course-link-grid { gap: 10px !important; }
  .ed-course-link { padding: 12px 16px !important; }
  .ed-course-link .ve-course-badge { width: 40px !important; height: 40px !important; }
  main:has(.ed-profile-hero) .ed-card-grid .sb-portrait-stage { height: 180px !important; }
  main:has(.ed-profile-hero) .ed-card-grid .sb-portrait-stage .sb-portrait-frame { width: 148px !important; }
  main:has(.ed-profile-hero) .ed-card-grid .ed-card-content { padding: 16px !important; }
  main:not(:has(.ed-profile-courses)) section.ed-section:has(.ed-profile-about) { padding-bottom: 12px !important; }

  /* ---------- 16. Class-date pages ---------- */
  #schedule .sec-head h2 { font-size: 26px !important; text-wrap: balance; }
  .sb-breadcrumb { font-size: 14px !important; }
  .sb-breadcrumb a { display: inline-block !important; max-width: 55vw !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; vertical-align: bottom !important; padding-block: 8px !important; }
  .restored-schedule-card .btn { min-height: 48px !important; width: 100% !important; justify-content: center !important; }

  /* ---------- 17. SAFe course fixes from the second review, and the phone menu ---------- */
  /* phone menu opened off screen once the page was scrolled (the body became its own scroll box) */
  body.nav-is-open { overflow: visible !important; overflow-x: clip !important; }
  html:has(> body.nav-is-open) { overflow: hidden !important; }
  /* audience cards: long titles wrap inside the card */
  #audience .grid-3:has(> :nth-child(5)) h3 { font-size: 16px !important; line-height: 1.3 !important; overflow-wrap: anywhere !important; margin: 0 !important; }
  #audience .grid-3:has(> :nth-child(5)) .ve-course-icon { width: 24px !important; height: 24px !important; margin-bottom: 8px !important; }
  .ain-facts > .ain-f:last-child { grid-column: auto !important; }
  /* "What is included": one compact row per item */
  #highlights .grid-3:not(:has(p)) { grid-template-columns: 1fr !important; gap: 8px !important; }
  #highlights .grid-3:not(:has(p)) > * { display: flex !important; align-items: center !important; gap: 12px !important; padding: 12px 14px !important; grid-column: auto !important; }
  #highlights .grid-3:not(:has(p)) .ve-course-icon { margin: 0 !important; flex: 0 0 24px !important; }
  #about-course .ve-course-overview-visual { display: none !important; }
  .trainers .trainer-certs { margin-top: 12px !important; }
  .career .cstat span { text-align: left !important; }
  section#overview .eyebrow { font-size: 12px !important; letter-spacing: .1em !important; }
  #referral-section-6 { padding-bottom: 16px !important; }
  #ai-native-upgrade { padding-bottom: 20px !important; }
  /* long FAQs: the first 6 questions, then "Show all" (mobile-fixes.js) */
  .skb-faq-more:not(.is-open) .skb-faq-extra { display: none !important; }
  .skb-faq-toggle { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; border: 1px solid currentColor; border-radius: 10px; background: transparent; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }

  /* ---------- 18. Last two reviews: other courses, Programs, Testimonials, Instructors, policies ---------- */
  .sb-breadcrumb { align-items: center !important; }
  /* hero: chips and badges line up with the text above them */
  section#overview .course-hero-copy > :is(.hero__pills, .hero__trust, .rating, .skb-trust) { align-self: flex-start !important; }
  /* hero class card: the same email three times becomes once */
  .course-next-class:has(.course-next-class__cta[href^="mailto:"]) :is(.course-next-class__all, .course-next-class__email) { display: none !important; }
  .course-next-class:not(:has(.course-next-class__cta[href^="mailto:"])) .course-next-class__email { display: none !important; }
  /* course overview picture: no offset second frame */
  figure.ve-course-overview-visual::before { display: none !important; }
  /* Scrum courses: the moving, fading review strip becomes a swipe row */
  #reviews .tcols { height: auto !important; max-height: none !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; }
  #reviews .tcol__track { animation: none !important; transform: none !important; display: flex !important; gap: 12px !important; overflow-x: auto !important; scroll-snap-type: x mandatory; margin-inline: -18px !important; padding: 4px 18px 14px !important; scrollbar-width: none; }
  #reviews .tcol__track > .tc { flex: 0 0 84% !important; scroll-snap-align: start; }
  #reviews .tcol__track > .tc--dup { display: none !important; }
  #reviews .tcard__stars { color: #fbbc05 !important; }
  /* learning goals: swipe row */
  .flow-learning-goals .flow-card-grid { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 12px !important; scroll-snap-type: x mandatory; margin-inline: -18px !important; padding: 4px 18px 14px !important; scrollbar-width: none; }
  .flow-learning-goals .flow-card-grid > * { flex: 0 0 84% !important; scroll-snap-align: start; margin: 0 !important; }
  /* Testimonials: an opened review no longer stretches the whole row */
  #review-archive .review-grid:has(.is-expanded) { align-items: flex-start !important; }
  .review-card.is-expanded .review-toggle .ihb-icon svg { transform: rotate(-90deg) !important; }
  :is(.sb-filter-chips, .review-filters) { scroll-padding-inline: 18px; }
  /* Instructors: full-width Specialty dropdown, tappable search and pager */
  .ed-filter-selects { grid-template-columns: 1fr !important; }
  .ed-search button { width: 44px !important; height: 44px !important; }
  .ed-pagination button { min-height: 44px !important; }
  .ed-pagination:has([data-ed-prev]:disabled):has([data-ed-next]:disabled) { display: none !important; }
  /* Programs */
  #category-guide-content .category-intro h1 { font-size: 30px !important; line-height: 1.15 !important; }
  .sb-course-grid .sb-course-card .sb-card-body { border-top: 0 !important; }
  #category-guide-content > .category-journey { border-top: 0 !important; }
  .category-path.is-sequential .category-path-arrow { left: 50% !important; right: auto !important; margin-left: -15px !important; }
  #category-guide-content .category-step-courses { display: none !important; }
  .sb-logo-row img { height: auto !important; max-height: 48px !important; max-width: 92px !important; object-fit: contain !important; }
  /* footer contact links big enough to tap */
  .site-footer :is(a[href^="tel:"], a[href^="mailto:"]) { min-height: 44px !important; display: flex !important; align-items: center !important; }
  .v2-footer-bottom nav { column-gap: 14px !important; font-size: 14px !important; }
  /* policy pages */
  .sb-policy > :first-child { margin-top: 0 !important; }
  .sb-policy h2 { font-size: 24px !important; line-height: 1.25 !important; margin-top: 28px !important; }
  section.sb-section.sb-coral { padding-top: 28px !important; }

  /* ---------- 19. Fixes from the check round ---------- */
  /* "Show less" jumped to the footer: smooth scrolling was cut short by the list shrinking */
  html { scroll-behavior: auto !important; }
  /* menu button shows an X while the menu is open */
  .site-nav__hamburger[aria-expanded="true"] svg { display: none !important; }
  .site-nav__hamburger[aria-expanded="true"]::after { content: "" !important; display: block; width: 22px; height: 22px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
  /* contact title: keep the space where the line break was */
  /* home: chip row and course row reach the screen edge; instructor photos not cut */
  :is(.fc-filters.fc-program-filters, #featured-course-grid) { margin-inline: -24px !important; padding-inline: 24px !important; scroll-padding-inline: 24px; }
  .hm-coach-card .sb-portrait-stage { height: auto !important; min-height: 0 !important; padding: 10px 0 !important; }
  .hm-coach-card .sb-portrait-stage .sb-portrait-frame { width: 170px !important; height: 170px !important; }
  #instructors .hm-container { padding-inline: 24px !important; }
  #learner-reviews.hm-review-proof { margin-top: 24px !important; padding-top: 24px !important; }
  #featured-course-grid { padding-bottom: 4px !important; }
  section.sb-section { padding-top: 32px !important; padding-bottom: 32px !important; }
  section.sb-section .site-motion-rule { margin-bottom: 14px !important; }
  .sb-feature-grid { align-items: flex-start !important; }
  .sb-logo-row img { flex: 0 0 26% !important; max-width: 26% !important; }
  /* course reviews: cards only as tall as their text */
  .trow-scroll { align-items: flex-start !important; }
  .reward .cert-img { max-width: 200px !important; }
  /* Scrum courses: reviews really side by side */
  #reviews .tcol__track { flex-direction: row !important; align-items: flex-start !important; scroll-padding-inline: 18px; }
  #reviews .tcols .tcol--1 { width: 100% !important; max-width: none !important; margin: 0 !important; }
  #reviews .tcol__track > .tc { max-width: 84% !important; }
  .flow-learning-goals .flow-card-grid { scroll-padding-inline: 18px; }
  /* long objective lists: the first 4, then "Show all" (mobile-fixes.js) */
  .skb-list-more:not(.is-open) > .skb-list-extra { display: none !important; }

  /* ---------- 12. Home hero video: the whole caption shows ---------- */
  figure[data-hero-video="home"]::after { display: none !important; }
  figure[data-hero-video="home"] video { object-fit: contain !important; }
}

/* ===================== Laptops and tablets under 15 inch =====================
   Sean, November 11, 2026: "optimize it for screens lesser than 15 inch". 13 and 14 inch laptops
   show pages at about 1280 to 1536 px wide and 720 to 900 px tall. Screens 1600 px and wider do not
   change. Same layer, so the same !important rules win. */

/* All screens 768 to 1599 px wide */
@media (min-width: 768px) and (max-width: 1599px) {
  /* footer newsletter card had no side padding */
  .site-footer .lf-newsletter { padding: 28px 32px !important; }
  /* Instructors heading: underline drawn only in the gaps between words */
  :is(.ed-hero, .ed-profile-hero) h1 em { text-decoration: none !important; }
  :is(.ed-hero, .ed-profile-hero) h1 em .site-motion-word { text-decoration-line: underline !important; text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 7px; }
  /* centered blocks keep their buttons centered */
  .sb-center .sb-actions { justify-content: center !important; }
  /* the SAFe roadmap picture fits on one screen; "Open full-size guide" shows it big */
  .category-map img { max-height: 62vh !important; width: auto !important; max-width: 100% !important; margin-inline: auto !important; display: block !important; }
  /* the FAQ uses the full content width */
  #faq .wrap > :is(.sec-head, .acc) { max-width: none !important; width: 100% !important; }
}

/* Laptop widths: more cards per row, shorter badge panels */
@media (min-width: 1100px) and (max-width: 1599px) {
  :is(#featured-course-grid, .sb-course-grid, .trainers, .flow-instructors) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  #featured-course-grid .fc-card .sb-logo-stage, .sb-course-grid .sb-card-image { height: 128px !important; min-height: 0 !important; }
  #featured-course-grid .fc-card .sb-logo-stage img, .sb-course-grid .sb-card-image img { max-height: 92px !important; }
  .trainers .trainer :is(.trainer-photo, .sb-portrait-stage) { height: 200px !important; }
  .trainers .trainer .sb-portrait-stage .sb-portrait-frame { width: 168px !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid .sb-portrait-stage { height: auto !important; min-height: 0 !important; padding: 18px 0 6px !important; }
  main:not(:has(.ed-profile-hero)) .ed-card-grid .ed-card-media { width: 150px !important; height: 150px !important; margin: 0 auto !important; }
  .exam { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .flow-audience-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  #highlights .grid-3:not(:has(p)) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* Short laptop screens (900 px tall or less): less empty space, heroes fit the first screen */
@media (min-width: 768px) and (max-width: 1599px) and (max-height: 900px) {
  .hero__in.course-hero-layout { padding-top: 32px !important; padding-bottom: 32px !important; }
  section.hm-approach { padding-top: 72px !important; padding-bottom: 56px !important; }
  :is(section#courses.fc-section, section#hm-offer, section#partners, section#instructors.hm-coaches-zone, section#hm-faqs) { padding-top: 64px !important; padding-bottom: 64px !important; }
  section.sb-section { padding-top: 64px !important; padding-bottom: 64px !important; }
  section.ed-section { padding-top: 56px !important; padding-bottom: 56px !important; }
  #partners .partner-reveal__stage { max-width: 440px !important; margin-inline: auto !important; }
  .hm-faq-btn { padding-top: 18px !important; padding-bottom: 18px !important; }
}

}

/* ========== 20. Round 4, footer (November 12, 2026) ========== */
/* ---------- r4 footer (November 12, 2026): the site footer on phones ----------
   Real iPhone Safari review: the footer was 1751 px (2.45 screens) on every page, with social links on
   two labelled rows, one contact line per row, uneven gaps, "Refund Policy" alone on a line and a white
   strip under Safari's bar at the very end. Same content and links, packed tighter:
   one row of social icons, contacts in two columns, even 48 px group rows, newsletter field and button on
   one row where they fit, policy links on one line, 44 px taps. Phones only (max-width 767px).
   Every selector stays inside the footer (.site-footer / .footer-zone), plus the html and body color
   only while the footer fills the screen (class set by footer.js). */
@layer skb-mobile {
@media (max-width: 767px) {

  /* whole footer: less padding at the top and bottom */
  footer.site-footer { padding-top: 28px !important; padding-bottom: 20px !important; }

  /* --- top: smaller logo, one row of social icons, then "Send us a message" --- */
  .site-footer .lf-top { row-gap: 16px !important; column-gap: 0 !important; padding-bottom: 24px !important; }
  .site-footer .lf-top > a:first-child { flex: 0 0 100% !important; line-height: 0 !important; }
  .site-footer .lf-top .site-footer__logo { width: 150px !important; height: auto !important; }
  .site-footer .lf-social { display: flex !important; flex: 0 0 100% !important; flex-wrap: nowrap !important; gap: 6px !important; margin: 0 -8px !important; }
  .site-footer .lf-social > a { flex: 0 0 44px !important; width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 0 !important; gap: 0 !important; justify-content: center !important; align-items: center !important; position: relative !important; }
  .site-footer .lf-social > a > img { width: 30px !important; height: 30px !important; padding: 4px !important; border-radius: 7px !important; }
  /* the name stays for screen readers (each link also has an aria-label) */
  .site-footer .lf-social > a > span { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
  .site-footer .lf-top > a.sb-button { margin: 0 !important; }

  /* --- contact: two columns (phones left, the second number or email right); every line stays visible --- */
  /* one column up to 767 px (from 561 px the old two-column grid squeezed the contact lines) */
  .site-footer .lf-grid { grid-template-columns: minmax(0, 1fr) !important; padding-top: 24px !important; padding-bottom: 24px !important; row-gap: 0 !important; column-gap: 0 !important; }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) {
    display: grid !important; grid-template-columns: max-content minmax(0, 1fr) !important; column-gap: 20px !important; row-gap: 0 !important;
    align-items: center !important; margin: 0 0 20px !important;
  }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > :not(a) { grid-column: 1 / -1 !important; }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > h2 { margin: 0 0 8px !important; }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > h3 { margin: 10px 0 0 !important; }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > h2 + h3 { margin-top: 0 !important; }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > a { font-size: 15px !important; line-height: 1.3 !important; white-space: nowrap !important; min-width: 0 !important; padding: 0 !important; min-height: 44px !important; }
  /* "We accept:" goes (the card logos right below say it); the logos and "SSL-secured payments" stay */
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > p.lf-small:has(+ .lf-payment) { display: none !important; }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > .lf-payment { margin-top: 12px !important; gap: 8px !important; }
  .site-footer .lf-grid > section:has(a[href^="tel:"]) > .lf-payment + p.lf-small { margin: 8px 0 0 !important; }

  /* --- the three tap-to-open groups: even 48 px rows with a thin line between them --- */
  .site-footer .lf-grid > section:not(:has(a[href^="tel:"])) { margin: 0 !important; }
  .site-footer .lf-grid [data-skb-collapsible] { border-top: 1px solid #C7D0DC !important; }
  .site-footer .lf-grid > section:last-child { border-bottom: 1px solid #C7D0DC !important; }

  /* --- newsletter: tighter card, no helper line that repeats the heading --- */
  .site-footer .lf-newsletter { margin-top: 0 !important; padding: 20px 16px !important; }
  .site-footer .lf-newsletter h2 { font-size: 21px !important; line-height: 1.25 !important; margin: 0 0 12px !important; }
  .site-footer .lf-signup > label { margin-bottom: 6px !important; }
  .site-footer .lf-signup > p.lf-small { display: none !important; }
  .site-footer .lf-signup > .lf-signup-result:not([hidden]) { margin: 12px 0 0 !important; }

  /* --- bottom: copyright, the three policy links on one line, Reduce motion --- */
  .site-footer .v2-footer-bottom { margin-top: 24px !important; padding-top: 14px !important; }
  .site-footer .v2-footer-bottom > span { margin: 0 !important; }
  .site-footer .v2-footer-bottom nav { flex-wrap: wrap !important; justify-content: flex-start !important; column-gap: 12px !important; row-gap: 0 !important; }
  .site-footer .v2-footer-bottom nav > a { font-size: 14px !important; white-space: nowrap !important; min-height: 44px !important; padding-block: 0 !important; display: inline-flex !important; align-items: center !important; }
  .site-footer .site-motion-toggle { min-height: 44px !important; margin-top: 4px !important; }

  /* field and button side by side where the placeholder still fits */
  @media (min-width: 390px) {
    .site-footer .lf-newsletter .lf-signup > div { flex-wrap: nowrap !important; gap: 8px !important; }
    .site-footer .lf-newsletter .lf-signup > div > input { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; padding-inline: 10px !important; }
    .site-footer .lf-newsletter .lf-signup > div > button { flex: 0 0 auto !important; min-width: 0 !important; padding-inline-start: 14px !important; }
  }
  /* narrow phones: smaller policy links so all three still fit on one line */
  @media (max-width: 389px) {
    .site-footer .v2-footer-bottom nav { column-gap: 8px !important; }
    .site-footer .v2-footer-bottom nav > a { font-size: 13px !important; }
  }

  /* end of the page: the strip under Safari's floating bar takes the footer pink instead of white.
     Safari fills that strip with the html and body colors mixed, so both take the footer color, but only
     while the footer fills the whole screen (class set by footer.js): then nothing else of the page is
     in view, so no page area can change color. At the top of the page, pulling down still shows white. */
  html.skb-foot-end, html.skb-foot-end > body { background-color: var(--skb-foot-end-bg, #E1E7EF) !important; }
}
}

/* ========== 21. Round 4, main1 (November 12, 2026) ========== */
/* ---------- Round 4, area main1 (November 12, 2026): home, About, Contact, Enterprise, Referral ----------
   Phones only (max-width 767px). Every rule is scoped to the five page bodies and to <main>,
   so the header, the footer and every other page stay as they are. */
@layer skb-mobile {
@media (max-width: 767px) {

  /* ===== Home ===== */
  /* A-main1-18 (gaps): even section breaks, about 56 to 64 px */
  body.home-page main :is(section#courses.fc-section, section#hm-offer, section#partners, section#instructors.hm-coaches-zone, section#hm-faqs) { padding-top: 32px !important; padding-bottom: 32px !important; }
  body.home-page main section.hm-approach { padding-top: 40px !important; padding-bottom: 32px !important; }
  body.home-page main #featured-course-grid { padding-bottom: 6px !important; }
  body.home-page main section#partners.partner-reveal { padding-bottom: 24px !important; }
  body.home-page main #partners .hm-authority { grid-template-areas: "copy" "stage" !important; }

  /* A-main1-05: the photo card under "Practice the skills" repeats the paragraph above it */
  body.home-page main .hm-approach-right { display: none !important; }
  body.home-page main .hm-approach-grid { row-gap: 0 !important; }
  body.home-page main #learner-reviews.hm-review-proof { margin-top: 28px !important; }

  /* A-main1-14: "Read learner reviews" link 44 px tall to tap, same place on screen */
  body.home-page main .hm-review-heading > a { display: inline-block !important; padding-block: 10px !important; margin-block: -10px !important; }

  /* A-main1-12: review row as tall as the review in view (height set by main1.js) */
  body.home-page main #hm-review-track[data-skb-fit-height] { transition: height .2s ease; }
  html[data-site-motion="reduced"] body.home-page main #hm-review-track[data-skb-fit-height] { transition: none !important; }

  /* A-main1-13: home course cards shorter, the spare space sits under the title */
  body.home-page main #featured-course-grid .fc-card .sb-logo-stage { height: 104px !important; padding-block: 12px !important; }
  body.home-page main #featured-course-grid .fc-card .sb-logo-stage img { max-height: 80px !important; }
  body.home-page main #featured-course-grid .fc-card h3 { min-height: 2.6em !important; }
  /* the course label and the provider sit on two rows in every card (the AI cards already wrap
     that way), so every title, text and "2 days / Live online" row lines up and the blank band
     above the class details is gone or one line at most */
  body.home-page main #featured-course-grid .fc-card .fc-card-top > div { flex-direction: column !important; align-items: flex-start !important; flex-wrap: nowrap !important; row-gap: 8px !important; }

  /* A-main1-06: decorative photo under the "A public class" rows (it swaps out of view) */
  body.home-page main #hm-offer .hm-path__visual { display: none !important; }

  /* A-main1-04: the five partners were named three times (paragraph, badge picture, list).
     The caption's "Select a partner" line is hidden with the list; once a badge in the picture
     is tapped, main1.js marks the line and it shows that partner's status again */
  body.home-page main #partners .partner-reveal__choices { display: none !important; }
  body.home-page main #partners .partner-reveal__caption > span:not([data-skb-status]) { display: none !important; }
  body.home-page main #partners .partner-reveal__stage { margin-inline: 0 !important; width: auto !important; max-width: 100% !important; }

  /* A-main1-03: instructors block on the same 24 px side margin as the rest of the page */
  body.home-page main #instructors .hm-container { margin-inline: 0 !important; width: auto !important; max-width: none !important; }

  /* A-main1-14: instructor name links 44 px tall to tap, card height unchanged */
  body.home-page main .hm-coach-name-row > h3 > a { display: inline-block !important; padding-block: 10px !important; margin-block: -10px !important; }

  /* ===== All five pages: hero rating card (A-main1-15) ===== */
  /* the Scaled Agile row uses the same 30 px logo column as the Google row, so the text lines up */
  :is(body.home-page, body.site-expansion:is([data-ink-section="about"], [data-ink-section="contact"], [data-ink-section="teams"], [data-ink-section="referral"])) main .skb-trust__item:not(:has(.skb-trust__g)) > .skb-trust__text { padding-left: 40px !important; }
  :is(body.home-page, body.site-expansion:is([data-ink-section="about"], [data-ink-section="contact"], [data-ink-section="teams"], [data-ink-section="referral"])) main .skb-trust__item .skb-trust__logo { margin-left: -2px !important; }

  /* ===== About, Contact, Enterprise, Referral ===== */
  /* A-main1-18 (gaps): less empty space at the top of the page and between sections */
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="contact"], [data-ink-section="teams"], [data-ink-section="referral"]) main section.sb-page-hero { padding-top: 28px !important; padding-bottom: 32px !important; }
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="contact"], [data-ink-section="teams"], [data-ink-section="referral"]) main section.sb-page-hero > .sb-wrap { row-gap: 20px !important; }
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="contact"], [data-ink-section="teams"], [data-ink-section="referral"]) main section.sb-section { padding-top: 28px !important; padding-bottom: 28px !important; }
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="contact"], [data-ink-section="teams"], [data-ink-section="referral"]) main section.sb-section .sb-split > div > p.sb-intro:is(:last-child, :has(+ .sb-brand-lock:last-child)) { margin-bottom: 0 !important; }
  body.site-expansion[data-ink-section="teams"] main .sb-feature-grid:not(#skb-none) { padding-bottom: 8px !important; }

  /* A-main1-14: breadcrumb "Home" at least 44 x 44 */
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="contact"], [data-ink-section="teams"], [data-ink-section="referral"]) main .sb-breadcrumb > a { display: inline-flex !important; align-items: center !important; min-width: 44px !important; min-height: 44px !important; padding-block: 0 !important; }

  /* hero photo (About, Enterprise): a shorter crop */
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="teams"]) main .sb-page-hero figure.hero__visual { width: 100% !important; height: 200px !important; aspect-ratio: auto !important; }
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="teams"]) main .sb-page-hero figure.hero__visual > img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

  /* A-main1-10: the framed workshop photo is a second large photo (and lost its corners); the
     planning-board photo becomes a 220 px banner with rounded corners */
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="teams"]) main .sb-split > .sb-image-panel:has(img[src*="workshop-2"]) { display: none !important; }
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="teams"]) main .sb-split > .sb-image-panel:not(:has(img[src*="workshop-2"])) { height: 220px !important; overflow: hidden !important; border-radius: 13px !important; }
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="teams"]) main .sb-split > .sb-image-panel:not(:has(img[src*="workshop-2"])) > img { height: 100% !important; width: 100% !important; object-fit: cover !important; }
  body.site-expansion:is([data-ink-section="about"], [data-ink-section="teams"]) main .sb-split { row-gap: 24px !important; }

  /* A-main1-08: contact cards compact: the icon sits beside the title,
     phone numbers two per row; every number and email stays */
  body.site-expansion[data-ink-section="contact"] main .sb-contact-card { position: relative !important; display: grid !important; grid-template-columns: 1fr 1fr !important; column-gap: 12px !important; align-items: center !important; padding: 16px 18px 10px !important; margin-bottom: 12px !important; }
  body.site-expansion[data-ink-section="contact"] main .sb-contact-card > * { grid-column: 1 / -1 !important; min-width: 0 !important; }
  body.site-expansion[data-ink-section="contact"] main .sb-contact-card > img.ve-icon { position: absolute !important; grid-column: auto !important; top: 16px !important; left: 18px !important; box-sizing: border-box !important; width: 40px !important; height: 40px !important; padding: 7px !important; margin: 0 !important; }
  body.site-expansion[data-ink-section="contact"] main .sb-contact-card > h3 { display: flex !important; align-items: center !important; min-height: 40px !important; padding-left: 52px !important; margin: 0 0 4px !important; }
  body.site-expansion[data-ink-section="contact"] main .sb-contact-card > a[href^="tel:"] { grid-column: auto !important; white-space: nowrap !important; font-size: 15px !important; }
  body.site-expansion[data-ink-section="contact"] main .sb-contact-card > p { margin: 4px 0 8px !important; }

  /* A-main1-09: referral steps: icon, number and title on one line, text below */
  body.site-expansion[data-ink-section="referral"] main .sb-steps { gap: 12px !important; margin-top: 24px !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-step { grid-template-columns: auto 1fr !important; column-gap: 12px !important; row-gap: 8px !important; align-items: center !important; padding: 18px 20px !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-step > div { display: contents !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-step > .sb-step-number { grid-column: 1 !important; grid-row: 1 !important; height: auto !important; gap: 8px !important; font-size: 20px !important; line-height: 1.2 !important; margin: 0 !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-step > .sb-step-number img.ve-icon { width: 24px !important; height: 24px !important; margin: 0 !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-step > div > h3 { grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-step > div > p { grid-column: 1 / -1 !important; grid-row: 2 !important; margin: 0 !important; }
  /* eligibility list: every rule stays, with tighter rows */
  body.site-expansion[data-ink-section="referral"] main .sb-check-list { margin: 12px 0 0 !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-check-list > li { padding-top: 9px !important; padding-bottom: 9px !important; line-height: 1.5 !important; }
  body.site-expansion[data-ink-section="referral"] main .sb-check-list > li::before { top: 9px !important; line-height: 1.5 !important; }
}
/* A-main1-12: up to 700 px one review fills the row. The 8 px sliver of the next review is gone,
   so a taller next review is never cut at the bottom of the row; the arrows and "Review 1 of 6" stay */
@media (max-width: 700px) {
  body.home-page main #hm-review-track > .hm-review-card { flex-basis: 100% !important; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  body.home-page main #hm-review-track[data-skb-fit-height] { transition: none !important; }
}
/* very narrow phones, and wide phones / small tablets (600 to 767) where the contact grid has two narrow columns:
   one phone number per row so none is cut */
@media (max-width: 349px), (min-width: 600px) and (max-width: 767px) {
  body.site-expansion[data-ink-section="contact"] main .sb-contact-card > a[href^="tel:"] { grid-column: 1 / -1 !important; }
}
}

/* ========== 22. Round 4, main2 (November 12, 2026) ========== */
/* ---------- main2 (round 4, November 12, 2026): Programs, Testimonials, Instructors and the three policy pages ----------
   Phones only. Every rule is scoped to one of these bodies, so no other page changes:
     body.site-expansion[data-ink-section="courses"]       /programs (course pages carry "courses" too, but not site-expansion)
     body.site-expansion[data-ink-section="testimonials"]  /testimonials
     body.site-expansion[data-ink-section="policies"]      /privacy-policy, /terms-and-conditions, /refund-policy
     body.ed-instructor-hub                                /instructors */
@layer skb-mobile {
@media (max-width: 767px) {

  /* ===== Programs ===== */
  /* B-main2-02: course cards. Badge left of title and text; days, level and a compact
     "Explore course" button share one row across the card. The repeated category label goes. */
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    padding: 14px !important;
    align-items: start !important;
  }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-image {
    grid-column: 1 !important; grid-row: 1 / span 2 !important;
    padding: 0 !important; width: 64px !important; height: 64px !important;
  }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-body { display: contents !important; }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-category { display: none !important; }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-body > h3 { grid-column: 2 / -1 !important; grid-row: 1 !important; align-self: start !important; }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-body > p { grid-column: 2 / -1 !important; grid-row: 2 !important; }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-meta {
    grid-column: 1 / 3 !important; grid-row: 3 !important; align-self: center !important;
    display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important;
    column-gap: 8px !important; row-gap: 0 !important;
    margin: 6px 0 0 !important; padding: 0 !important;
    font-size: 14px !important; line-height: 20px !important;
  }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-meta > span { white-space: nowrap !important; font-size: 14px !important; line-height: 20px !important; }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-meta > span + span::before {
    content: "" !important; display: inline-block; width: 4px; height: 4px; margin-right: 8px; vertical-align: middle;
    border-radius: 50%; background: currentColor; opacity: .55;
  }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-action {
    grid-column: 3 !important; grid-row: 3 !important; align-self: center !important; justify-self: end !important;
    margin: 6px 0 0 !important; width: auto !important;
    --afb-height: 44px !important; --afb-circle: 30px !important; --afb-inset: 7px !important;
    --afb-left: 14px !important; --afb-gap: 6px !important; --afb-arrow: 14px !important;
    min-height: 44px !important; font-size: 15px !important; white-space: nowrap !important;
  }
  body.site-expansion[data-ink-section="courses"] .sb-course-grid .sb-course-card .sb-card-action .ihb-label { overflow-wrap: normal !important; }
  /* first 6 courses, then "Show all N courses" (main2.js) */
  body.site-expansion[data-ink-section="courses"] #catalog-grid.skb-m2-clip:not(.is-open) > .skb-m2-extra { display: none !important; }
  body.site-expansion[data-ink-section="courses"] .skb-m2-more { margin-top: 14px !important; }

  /* B-main2-03: the full-width roadmap picture was unreadable at phone width (text about 5 px) and pushed the
     course list to the third screen. It becomes a small poster thumbnail beside the caption (still a link to
     the PDF), with a full-width "Open full-size guide" button under both, in one tinted card.
     Only the SAFe roadmap figure: the AI-Native picture already sits behind its own toggle. */
  body.site-expansion[data-ink-section="courses"] #category-guide-content .category-journey > .category-map:not(.category-map--extra) {
    display: grid !important; grid-template-columns: 96px minmax(0, 1fr) !important; align-items: center !important; gap: 14px !important;
    margin: 18px 0 0 !important; padding: 14px !important; overflow: visible !important;
    background: #f1fafa !important; border: 1px solid #C7D0DC !important; border-radius: 14px !important; box-shadow: none !important;
  }
  body.site-expansion[data-ink-section="courses"] #category-guide-content .category-journey > .category-map:not(.category-map--extra) > a.category-map-image {
    grid-column: 1 !important; grid-row: 1 !important; display: block !important; width: 96px !important; height: auto !important;
    padding: 3px !important; box-sizing: border-box !important; background: #fff !important;
    border: 1px solid #C7D0DC !important; border-radius: 8px !important; box-shadow: 0 2px 8px rgba(13, 110, 115, .12) !important;
  }
  body.site-expansion[data-ink-section="courses"] #category-guide-content .category-journey > .category-map:not(.category-map--extra) > a.category-map-image img {
    display: block !important; width: 100% !important; height: auto !important; max-height: none !important; margin: 0 !important; border-radius: 5px !important;
  }
  body.site-expansion[data-ink-section="courses"] #category-guide-content .category-journey > .category-map:not(.category-map--extra) figcaption { display: contents !important; }
  body.site-expansion[data-ink-section="courses"] #category-guide-content .category-journey > .category-map:not(.category-map--extra) figcaption > span {
    grid-column: 2 !important; grid-row: 1 !important; font-size: 15px !important; line-height: 1.45 !important;
  }
  body.site-expansion[data-ink-section="courses"] #category-guide-content .category-journey > .category-map:not(.category-map--extra) .category-resource-link {
    grid-column: 1 / -1 !important; grid-row: 2 !important;
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
    width: 100% !important; min-height: 48px !important; box-sizing: border-box !important; padding: 0 16px !important; margin: 0 !important;
    border: 1.5px solid currentColor !important; border-radius: 10px !important; background: #fff !important;
    font-weight: 600 !important; text-decoration: none !important;
  }
  body.site-expansion[data-ink-section="courses"] #category-guide-content .category-journey .category-journey-heading > p { margin-bottom: 0 !important; }

  /* B-main2-16: the closing block already has a red contact button; the footer's second one, a screen later, goes */
  body.site-expansion:is([data-ink-section="courses"], [data-ink-section="testimonials"]):has(main > section.sb-coral:last-child a[href*="/contact-us"]) .site-footer .lf-top > a.sb-button { display: none !important; }

  /* ===== Testimonials ===== */
  /* B-main2-06: "4.9 ... 2,242 Google reviews" was shown three times in two screens. The third copy (the
     heading above the filters) stays for screen readers only, and the empty band above the filters closes. */
  body.site-expansion[data-ink-section="testimonials"] .sb-page-hero.has-hero-video { padding-bottom: 28px !important; }
  body.site-expansion[data-ink-section="testimonials"] section.sb-section:has(> .sb-wrap > #review-archive) > .sb-wrap > .sb-center:first-child {
    position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
    overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
  }
  body.site-expansion[data-ink-section="testimonials"] #review-archive { margin-top: 0 !important; }
  /* B-main2-13: review stars gold, like the hero card */
  body.site-expansion[data-ink-section="testimonials"] .review-card :is(.review-rating, .review-rating span) { color: #fbbc05 !important; -webkit-text-fill-color: #fbbc05 !important; }

  /* ===== Instructors list ===== */
  /* B-main2-07: the name is the link and the whole card opens the profile; the second "Meet ..." link goes;
     names at the card size so they wrap less */
  body.ed-instructor-hub .ed-card-grid[data-ed-listing="instructors"] .ed-card { position: relative !important; }
  body.ed-instructor-hub .ed-card-grid[data-ed-listing="instructors"] .ed-text-link { display: none !important; }
  body.ed-instructor-hub .ed-card-grid[data-ed-listing="instructors"] h3 { margin: 0 0 6px !important; }
  body.ed-instructor-hub .ed-card-grid[data-ed-listing="instructors"] h3 a { font-size: inherit !important; line-height: inherit !important; }
  body.ed-instructor-hub .ed-card-grid[data-ed-listing="instructors"] h3 a::after { content: "" !important; position: absolute !important; inset: 0 !important; z-index: 2 !important; }
  body.ed-instructor-hub .ed-card-grid[data-ed-listing="instructors"] .ed-instructor-role { margin: 0 !important; }
  body.ed-instructor-hub .ed-card-grid[data-ed-listing="instructors"] .ed-card:has(h3 a:focus-visible) { outline: 3px solid #0d6e73 !important; outline-offset: 2px !important; }
  /* B-main2-08: less empty space between the hero and "Find an instructor" */
  body.ed-instructor-hub section.ed-hero { padding-bottom: 28px !important; }
  body.ed-instructor-hub section#browse.ed-section { padding-top: 32px !important; }
  /* B-main2-14: one unbroken underline under "teaching your class." (it broke between words and under g and y) */
  body.ed-instructor-hub .ed-hero h1 em .site-motion-word { text-decoration: none !important; }
  body.ed-instructor-hub .ed-hero h1 em {
    text-decoration: none !important;
    background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat !important;
    padding-bottom: 4px !important;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }

  /* ===== Policy pages ===== */
  /* B-main2-05: the first screen was all header. The review card goes from legal pages, the hero is tighter,
     and the date line breaks evenly. */
  body.site-expansion[data-ink-section="policies"] .sb-page-hero { padding-top: 16px !important; padding-bottom: 28px !important; }
  body.site-expansion[data-ink-section="policies"] .sb-page-hero .skb-trust { display: none !important; }
  body.site-expansion[data-ink-section="policies"] .sb-page-hero .sb-kicker { margin-bottom: 10px !important; }
  body.site-expansion[data-ink-section="policies"] .sb-page-hero h1 { margin-bottom: 12px !important; }
  body.site-expansion[data-ink-section="policies"] .sb-page-hero p { margin-bottom: 0 !important; font-size: 16px !important; line-height: 1.5 !important; text-wrap: balance; }

  /* B-main2-04: Privacy and Terms open one numbered section at a time (main2.js builds the rows) */
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-tools { display: flex !important; justify-content: flex-end !important; margin: -8px 0 4px !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-all {
    display: inline-flex !important; align-items: center !important; min-height: 44px !important; padding: 0 2px !important;
    border: 0 !important; background: none !important; font: inherit !important; font-size: 15px !important; font-weight: 600 !important;
    color: #0d6e73 !important; text-decoration: underline !important; text-underline-offset: 4px !important; cursor: pointer !important;
  }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-sec { border-top: 1px solid #C7D0DC !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-sec:last-of-type { border-bottom: 1px solid #C7D0DC !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-sec > h2 { margin: 0 !important; font-size: 19px !important; line-height: 1.3 !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-sec > h2 .site-motion-rule { display: none !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-btn {
    all: unset !important; box-sizing: border-box !important; display: flex !important; width: 100% !important; align-items: center !important;
    justify-content: space-between !important; gap: 14px !important; min-height: 56px !important; padding: 12px 2px !important;
    cursor: pointer !important; font: inherit !important; color: inherit !important; text-align: left !important;
  }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-btn > .skb-policy-label { flex: 1 1 auto !important; min-width: 0 !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-btn::after {
    content: "" !important; flex: 0 0 auto !important; width: 9px !important; height: 9px !important; margin-right: 6px !important;
    border-right: 2px solid #c8202e !important; border-bottom: 2px solid #c8202e !important;
    transform: rotate(45deg) translate(-2px, -2px) !important; transition: transform .2s ease;
  }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px) !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-btn:focus-visible { outline: 3px solid #0d6e73 !important; outline-offset: 2px !important; border-radius: 6px !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-panel { padding: 0 0 14px !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-panel[hidden] { display: none !important; }
  body.site-expansion[data-ink-section="policies"] .sb-policy .skb-policy-panel > :last-child { margin-bottom: 0 !important; }
}
}

/* ========== 23. Round 4, profiles (November 12, 2026) ========== */
/* ---------- R4 profiles: the 26 instructor profile pages (body.ed-profile-page), phones only ----------
   Round 4 iPhone Safari review, November 12, 2026. Findings C1-profiles-02, 03, 04, 05, 07, 08, 09, 12 and
   C2-profiles-02, 03, 04, 05, 06, 09, 10. Every selector starts with body.ed-profile-page, so no other page changes.
   Photos are left as they are (no mask, no filter); only their size changes. */
@layer skb-mobile {
@media (max-width: 767px) {

  /* hero: photo beside the eyebrow, name and role (C1-02, C2-02) */
  body.ed-profile-page section.ed-profile-hero { padding-top: 24px !important; padding-bottom: 28px !important; }
  body.ed-profile-page .ed-profile-layout {
    display: grid !important; grid-template-columns: 104px minmax(0, 1fr) !important;
    column-gap: 16px !important; row-gap: 0 !important; align-items: center !important;
  }
  body.ed-profile-page .ed-profile-layout > div:not(.ed-profile-photo) { display: contents !important; }
  body.ed-profile-page .ed-profile-layout > .ed-profile-photo {
    order: 0 !important; grid-column: 1 !important; grid-row: 1 / span 3 !important; align-self: center !important;
    width: 104px !important; height: 104px !important; margin: 0 !important;
  }
  body.ed-profile-page .ed-profile-layout .ed-eyebrow { grid-column: 2 !important; grid-row: 1 !important; align-self: end !important; margin: 0 0 6px !important; font-size: 12px !important; letter-spacing: .12em !important; line-height: 1.3 !important; }
  body.ed-profile-page .ed-profile-layout h1 { grid-column: 2 !important; grid-row: 2 !important; margin: 0 0 6px !important; font-size: 28px !important; line-height: 1.12 !important; }
  body.ed-profile-page .ed-profile-layout .ed-profile-role { grid-column: 2 !important; grid-row: 3 !important; align-self: start !important; margin: 0 !important; font-size: 15px !important; line-height: 1.4 !important; }

  /* credentials: one row of chips that swipes, edge to edge, like the other chip rows (C1-02, C2-02, C2-09);
     a first chip longer than the screen wraps inside itself instead of running off the edge */
  body.ed-profile-page .ed-profile-layout .ed-credentials {
    grid-column: 1 / -1 !important; grid-row: 4 !important;
    display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: 6px !important;
    overflow-x: auto !important; overflow-y: hidden !important; overscroll-behavior-x: contain;
    margin: 18px -24px 0 !important; padding: 2px 24px 4px !important;
    scroll-padding-inline: 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  body.ed-profile-page .ed-profile-layout .ed-credentials::-webkit-scrollbar { display: none; }
  body.ed-profile-page .ed-profile-layout .ed-credentials > span {
    flex: 0 0 auto !important; max-width: none !important; white-space: nowrap !important;
    font-size: 14px !important; line-height: 1.3 !important; padding: 5px 10px !important;
  }
  body.ed-profile-page .ed-profile-layout .ed-credentials > span:first-child { max-width: 80vw !important; white-space: normal !important; }

  /* rating card: Google and Scaled Agile side by side, both starting at the same inset (C1-08, C2-02) */
  body.ed-profile-page .ed-profile-layout .skb-trust {
    grid-column: 1 / -1 !important; grid-row: 5 !important;
    display: flex !important; flex-direction: row !important; width: 100% !important;
    margin: 16px 0 0 !important; padding: 0 !important;
  }
  body.ed-profile-page .ed-profile-hero .skb-trust__item {
    flex: 1 1 auto !important; min-width: 0 !important; align-items: center !important; gap: 8px !important;
    padding: 10px 12px !important; white-space: normal !important;
  }
  body.ed-profile-page .ed-profile-hero .skb-trust__item + .skb-trust__item { border-top: 0 !important; border-left: 1px solid #C7D0DC !important; }
  body.ed-profile-page .ed-profile-hero .skb-trust__g { width: 24px !important; height: 24px !important; }
  body.ed-profile-page .ed-profile-hero .skb-trust__text { gap: 3px !important; min-width: 0 !important; }
  body.ed-profile-page .ed-profile-hero .skb-trust__top b { font-size: 16px !important; }
  body.ed-profile-page .ed-profile-hero .skb-trust__stars svg { width: 12px !important; height: 12px !important; }
  body.ed-profile-page .ed-profile-hero .skb-trust__sub,
  body.ed-profile-page .ed-profile-hero .skb-trust__sub b { font-size: 13px !important; }
  body.ed-profile-page .ed-profile-hero .skb-trust__logo { height: 22px !important; margin: 0 !important; }

  /* sections: even gaps of 48 to 64 px, one heading size (C1-05, C1-07, C2-04, C2-05) */
  body.ed-profile-page main section.ed-section { padding-top: 32px !important; padding-bottom: 32px !important; }
  body.ed-profile-page main:not(:has(.ed-profile-courses)) section.ed-section:has(.ed-profile-about) { padding-bottom: 16px !important; }
  body.ed-profile-page main > section.ed-section:last-child { padding-bottom: 48px !important; }
  body.ed-profile-page main section.ed-section h2 { font-size: 26px !important; line-height: 1.2 !important; }
  body.ed-profile-page main section.ed-section h2 .site-motion-rule { margin-bottom: 16px !important; }
  body.ed-profile-page main section.ed-section .ed-container > h2 { margin-bottom: 18px !important; }
  body.ed-profile-page .ed-profile-about { row-gap: 0 !important; }
  body.ed-profile-page .ed-bio > p:last-child { margin-bottom: 0 !important; }

  /* long bio: about 6 lines, then "Read full bio" (profiles.js) (C1-12, C2-10) */
  body.ed-profile-page .ed-bio.skb-bio-clamp:not(.is-open) {
    max-height: var(--skb-bio-max, 164px) !important; overflow: hidden !important;
    -webkit-mask-image: linear-gradient(#000 calc(100% - 2.4em), transparent) !important;
    mask-image: linear-gradient(#000 calc(100% - 2.4em), transparent) !important;
  }
  body.ed-profile-page .ed-bio + .skb-faq-toggle { margin-top: 14px !important; }

  /* "Certifications taught by": the first 4, then "Show all N certifications" (profiles.js) (C1-03, C2-03) */
  body.ed-profile-page .ed-course-link-grid.skb-list-more:not(.is-open) > .skb-list-extra { display: none !important; }
  body.ed-profile-page .ed-course-link-grid + .skb-faq-toggle { margin-top: 12px !important; min-height: 48px !important; }

  /* other instructors: three compact rows, photo beside the name, the whole card is the link (C1-04, C1-09, C2-06) */
  body.ed-profile-page main .ed-card-grid:not(#skb-x) {
    display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important;
    overflow: visible !important; margin-inline: 0 !important; padding: 0 !important; scroll-snap-type: none !important;
  }
  body.ed-profile-page main .ed-card-grid:not(#skb-x) > .ed-instructor-card {
    position: relative !important; display: grid !important; grid-template-columns: 88px minmax(0, 1fr) !important;
    align-items: center !important; width: auto !important; max-width: none !important; flex: none !important;
    min-height: 0 !important; margin: 0 !important;
  }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card .sb-portrait-stage {
    height: auto !important; min-height: 0 !important; padding: 12px 0 12px 14px !important;
    border: 0 !important; background: none !important; display: block !important; overflow: visible !important;
  }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card .sb-portrait-stage .sb-portrait-frame { width: 72px !important; height: 72px !important; margin: 0 !important; }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card .ed-card-content {
    padding: 12px 44px 12px 14px !important; border: 0 !important; background: none !important; min-height: 0 !important;
  }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card h3 { margin: 0 0 2px !important; font-size: 17px !important; line-height: 1.3 !important; }
  /* name link 44 px tall (C1-09); its ::after makes the whole card one tap target */
  body.ed-profile-page main .ed-card-grid .ed-instructor-card h3 a { display: inline-block !important; padding-block: 11px !important; margin-block: -11px !important; }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card h3 a::after { content: "" !important; position: absolute !important; inset: 0 !important; z-index: 1 !important; border-radius: 12px; }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card .ed-instructor-role { margin: 0 !important; font-size: 14px !important; line-height: 1.35 !important; }
  /* "Meet ..." goes to the same page as the name; a chevron shows the row opens */
  body.ed-profile-page main .ed-card-grid .ed-instructor-card .ed-text-link { display: none !important; }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card::after {
    content: "" !important; position: absolute !important; right: 16px !important; top: 50% !important;
    width: 16px !important; height: 16px !important; margin-top: -8px !important; background: #0d6e73 !important; pointer-events: none !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body.ed-profile-page main .ed-card-grid .ed-instructor-card:has(h3 a:focus-visible) { outline: 2px solid #0d6e73 !important; outline-offset: 2px !important; }
}
}

/* ========== 24. Round 4, course-top (November 12, 2026) ========== */
/* ---------- 20. Round 4, course pages, top half (November 12, 2026; real iPhone Safari review) ----------
   Phones only. Every rule is scoped to course pages (body.course-page or body.restored-course-page).
   Owns: hero (#overview), #reviews, #highlights, #get-certified (and the CSM/CSPO certification steps),
   #ai-native-upgrade, #curriculum, #audience, #about-course, #assessment, and the vertical padding of every
   section band on course pages. Toggles come from the course-top block in mobile-fixes.js. */
@layer skb-mobile {
@media (max-width: 767px) {

  /* --- space between sections: about 56 px on screen instead of 85 to 125 --- */
  :is(body.course-page, body.restored-course-page) section.band { padding-top: 24px !important; padding-bottom: 24px !important; }
  :is(body.course-page, body.restored-course-page) section#overview .hero__in.course-hero-layout { padding-bottom: 24px !important; }
  :is(body.course-page, body.restored-course-page) section.band .wrap > :last-child { margin-bottom: 0 !important; }
  /* swipe rows: every card as tall as the row, so no white band shows under the card you see */
  :is(body.course-page, body.restored-course-page) :is(#highlights .grid-3:has(p), #ai-native-upgrade .ain-steps) { align-items: stretch !important; padding-bottom: 6px !important; }
  /* Scrum courses: the learning goals row ends at its cards (they are already the same height) */
  :is(body.course-page, body.restored-course-page) #curriculum .flow-learning-goals .flow-card-grid { padding-bottom: 6px !important; }

  /* --- hero and the band under it: each fact once --- */
  /* the dark numbers band (SAFe and AI-Native Foundations): "52,000+ professionals trained" and "4.9/5, 2,242 reviews"
     repeat the rating card above it and the review heading below it. Those two go; the other two numbers stay, on one line */
  body.course-page .referral-course:not(.asai-safe-course) > .stats .stats__in > .stat:nth-child(-n+2) { display: none !important; }
  /* SAFe pages: "Exam fee included" and the PDU chip repeat the hero sentence and the course cards */
  body.course-page .referral-course:has(#ai-native-upgrade) section#overview .course-hero-copy > .hero__pills { display: none !important; }
  /* AI pages: the chips repeat the numbers band right under them; "Issued by" repeats the eyebrow */
  body.course-page .asai-safe-course section#overview .course-hero-copy > :is(.hero__pills, .hero__trust) { display: none !important; }

  /* --- course overview (email-for-schedule pages): the heading repeats the page title word for word --- */
  body.restored-course-page #about-course .sec-head h2 { display: none !important; }
  body.restored-course-page #about-course .sec-head { margin-bottom: 10px !important; }
  body.restored-course-page #about-course p.restored-overview { margin-bottom: 0 !important; }

  /* --- reviews --- */
  /* no round arrow over the next review: the row swipes and the next card peeks in */
  :is(body.course-page, body.restored-course-page) #reviews .trow-btn { display: none !important; }
  /* each review once (the desktop marquee copy is marked by mobile-fixes.js) */
  :is(body.course-page, body.restored-course-page) #reviews .trow-scroll > .skb-dup { display: none !important; }
  /* cards as wide as the other swipe rows, so the text needs fewer lines */
  :is(body.course-page, body.restored-course-page) #reviews .trow-scroll { gap: 12px !important; padding-bottom: 6px !important; }
  :is(body.course-page, body.restored-course-page) #reviews .trow-scroll > .tcard { flex: 0 0 84% !important; width: 84% !important; max-width: 84% !important; min-width: 0 !important; }
  /* long reviews: 6 lines, then "Read more" (course-top.js; a review only 1 or 2 lines longer stays whole) */
  :is(body.course-page, body.restored-course-page) #reviews :is(.tcard, .tc):not(.is-open) > :is(p, blockquote).skb-clamp:not(.skb-fits) { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden !important; }
  /* every review card as tall as the row (no white band under the card you see); the reviewer sits at the foot of
     each card, so the names line up. An opened review does not stretch the other cards. */
  :is(body.course-page, body.restored-course-page) #reviews :is(.trow-scroll, .tcol__track) { align-items: stretch !important; }
  :is(body.course-page, body.restored-course-page) #reviews :is(.trow-scroll, .tcol__track):has(> .is-open) { align-items: flex-start !important; }
  :is(body.course-page, body.restored-course-page) #reviews .trow-scroll > .tcard > .tcard__who { margin-top: auto !important; }
  /* the review text keeps its own height (the card used to stretch it), so the 6-line cut is measured right */
  :is(body.course-page, body.restored-course-page) #reviews :is(.trow-scroll > .tcard > p, .tcol__track > .tc > blockquote) { flex: 0 0 auto !important; }
  :is(body.course-page, body.restored-course-page) #reviews .trow-scroll > .tcard > p { margin-bottom: 13px !important; }
  :is(body.course-page, body.restored-course-page) #reviews .trow-scroll > .tcard > p:has(+ .skb-read-more:not([hidden])) { margin-bottom: 0 !important; }
  /* Scrum courses: the row ends at the card, not 38 px under it; a smaller shadow that fits in the row */
  :is(body.course-page, body.restored-course-page) #reviews .tcol__track { padding-bottom: 6px !important; }
  :is(body.course-page, body.restored-course-page) #reviews .tcol__track > .tc { margin-bottom: 0 !important; }
  :is(body.course-page, body.restored-course-page) #reviews .tcol__track > .tc:not(.tc--dup) { display: flex !important; flex-direction: column !important; padding: 20px !important; box-shadow: 0 1px 3px rgba(16, 24, 40, .07) !important; }
  :is(body.course-page, body.restored-course-page) #reviews .tcol__track > .tc > figcaption { margin-top: auto !important; padding-top: 16px !important; }
  :is(body.course-page, body.restored-course-page) #reviews .tcol__track > .tc--dup { display: none !important; }
  /* the "Read more" link (also used in "Who this class is for") */
  :is(body.course-page, body.restored-course-page) :is(#reviews, #audience) .skb-read-more {
    display: inline-flex !important; align-items: center !important; gap: 6px; min-height: 44px; margin: 0 0 4px !important; padding: 0 !important;
    border: 0 !important; background: none !important; font: inherit; font-size: 15px !important; font-weight: 600 !important;
    color: #0d6e73 !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start !important;
  }
  :is(body.course-page, body.restored-course-page) :is(#reviews, #audience) .skb-read-more[hidden] { display: none !important; }

  /* --- "Why this course" and AI-Native steps: icon or number beside the title, text full width,
     card text the size of the review cards (15 px), so the tallest card in each row sets a shorter row --- */
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:has(p) > .fcard { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) !important; column-gap: 12px !important; row-gap: 8px !important; align-items: center !important; align-content: start !important; }
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:has(p) > .fcard > .ficon { margin: 0 !important; grid-column: 1 !important; }
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:has(p) > .fcard > h3 { grid-column: 2 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:has(p) > .fcard > p { grid-column: 1 / -1 !important; margin: 0 !important; font-size: 15px !important; line-height: 1.5 !important; }
  :is(body.course-page, body.restored-course-page) #ai-native-upgrade .ain-steps > .ain-step { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) !important; column-gap: 12px !important; row-gap: 8px !important; align-items: center !important; align-content: start !important; padding: 16px !important; }
  :is(body.course-page, body.restored-course-page) #ai-native-upgrade .ain-steps > .ain-step > div { display: contents !important; }
  :is(body.course-page, body.restored-course-page) #ai-native-upgrade .ain-steps > .ain-step > .ain-n { grid-column: 1 !important; grid-row: 1 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) #ai-native-upgrade .ain-steps > .ain-step .ain-st { grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) #ai-native-upgrade .ain-steps > .ain-step .ain-sp { grid-column: 1 / -1 !important; margin: 0 !important; font-size: 15px !important; line-height: 1.5 !important; }
  :is(body.course-page, body.restored-course-page) #ai-native-upgrade .ain-steps + .ain-facts { margin-top: 12px !important; }
  /* AI pages: "What you will do" icons in one column, so every title starts at the same place */
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:not(:has(p)) > .fcard > .ficon { flex: 0 0 40px !important; width: 40px !important; height: 40px !important; margin: 0 !important; }
  /* Scrum courses: "What is included" as compact rows, like the other course pages */
  :is(body.course-page, body.restored-course-page) #highlights .flow-card-grid { gap: 8px !important; }
  :is(body.course-page, body.restored-course-page) #highlights .flow-card-grid > .fcard { padding: 12px 14px !important; min-height: 0 !important; }
  :is(body.course-page, body.restored-course-page) #highlights .flow-card-grid > .fcard h3 { font-size: 16px !important; line-height: 1.35 !important; margin: 0 !important; }

  /* --- how you earn it --- */
  /* steps 04 and 05: line icons like steps 01 to 03, not 40 px crops of the certificate */
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .gsteps .gstep__icon--cert { overflow: visible !important; border-radius: 14px !important; display: grid !important; place-items: center !important; color: inherit; }
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .gsteps .gstep__icon--cert > img { display: none !important; }
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .gsteps .gstep__icon--cert::before {
    content: ""; display: block; width: 24px; height: 24px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 13.9 7 22l5-3 5 3-1.5-8.1'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 13.9 7 22l5-3 5 3-1.5-8.1'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .gsteps .gstep--ain .gstep__icon--cert::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3Cpath d='M5 2.5l.6 1.4L7 4.5l-1.4.6L5 6.5l-.6-1.4L3 4.5l1.4-.6z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3Cpath d='M5 2.5l.6 1.4L7 4.5l-1.4.6L5 6.5l-.6-1.4L3 4.5l1.4-.6z'/%3E%3C/svg%3E");
  }
  /* sample certificate: picture beside its caption, caption readable */
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .reward--cert .cert-img { display: grid !important; grid-template-columns: 132px minmax(0, 1fr) !important; column-gap: 14px !important; align-items: center !important; max-width: none !important; width: 100% !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .reward--cert .cert-tilt { width: 132px !important; height: auto !important; min-height: 0 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .reward--cert .cert-tilt img { width: 100% !important; height: auto !important; }
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .reward--cert .cert-cap { opacity: 1 !important; text-align: left !important; margin: 0 !important; font-size: 15px !important; line-height: 1.45 !important; }
  /* AI pages: the round badge at 120 px without the tall white box around it */
  body.course-page .asai-safe-course section#get-certified .reward--cert .cert-tilt { width: 120px !important; height: 120px !important; min-height: 0 !important; padding: 0 !important; background: none !important; }
  body.course-page .asai-safe-course section#get-certified .reward--cert .cert-tilt img { width: 120px !important; height: 120px !important; object-fit: contain !important; }
  body.course-page .asai-safe-course section#get-certified .reward--cert .cert-img { grid-template-columns: 120px minmax(0, 1fr) !important; }
  /* AI pages: step 04's line repeats the credential card right under it */
  body.course-page .asai-safe-course section#get-certified.gcert .gsteps > .gstep:last-child > p { display: none !important; }
  /* "you receive" list: the line that repeats step 05 (marked by mobile-fixes.js) */
  :is(body.course-page, body.restored-course-page) :is(#get-certified, #certification.gcert) .reward--cert ul > li.skb-dup { display: none !important; }
  /* Scrum courses: shorter "exam at a glance" boxes; the caption and the checklist repeat the paragraph and "What is included" */
  body.course-page section#certification.gcert .xstats { gap: 8px !important; }
  body.course-page section#certification.gcert .xstat { padding: 12px 14px !important; min-height: 0 !important; }
  body.course-page section#certification.gcert .xstat__v { font-size: 22px !important; line-height: 1.2 !important; }
  body.course-page section#certification.gcert .reward--cert .cert-img { grid-template-columns: 1fr !important; justify-items: center !important; }
  body.course-page section#certification.gcert .reward--cert .cert-tilt { width: 170px !important; }
  body.course-page section#certification.gcert .reward--cert .cert-cap { display: none !important; }
  body.course-page section#certification.gcert .reward--cert ul { display: none !important; }

  /* --- AI-Native upgrade: the sample AI-Native certificate moves into "More about the upgrade" (mobile-fixes.js) --- */
  :is(body.course-page, body.restored-course-page) #ai-native-upgrade .ain-more > .ain-cert { max-width: 260px !important; margin: 4px auto 0 !important; }

  /* --- what you will learn --- */
  /* collapsed lists: 3 lines per objective until "Show all" */
  :is(body.course-page, body.restored-course-page) #curriculum .skb-list-more:not(.is-open) > li > p { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden !important; }
  /* topics: one list in one frame, not a card per topic */
  :is(body.course-page, body.restored-course-page) #curriculum :is(ol.restored-modules, ol.flow-topics) { gap: 0 !important; row-gap: 0 !important; border: 1px solid #e3e3e3 !important; border-radius: 12px !important; overflow: hidden !important; background: #fff !important; }
  :is(body.course-page, body.restored-course-page) #curriculum :is(ol.restored-modules, ol.flow-topics) > li { padding: 12px 14px !important; min-height: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
  :is(body.course-page, body.restored-course-page) #curriculum :is(ol.restored-modules, ol.flow-topics) > li + li { border-top: 1px solid #e3e3e3 !important; }
  :is(body.course-page, body.restored-course-page) #curriculum :is(ol.restored-modules, ol.flow-topics) > li h3 { font-size: 16px !important; line-height: 1.35 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) #curriculum :is(ol.restored-modules, ol.flow-topics).skb-list-more:not(.is-open) > .skb-list-extra { display: none !important; }
  /* "Show all" under a skill or topic list: a clear gap from the list frame above it */
  :is(body.course-page, body.restored-course-page) #curriculum .skb-list-toggle { margin-top: 12px !important; }
  :is(body.course-page, body.restored-course-page) #curriculum .acc.skb-list-more:not(.is-open) > .skb-list-extra { display: none !important; }
  :is(body.course-page, body.restored-course-page) #curr-acc .acc__ttl { font-size: 17px !important; line-height: 1.3 !important; }
  /* AI pages: the time and "Marking guide" labels sit under the title as small text, not on a line of their own */
  :is(body.course-page, body.restored-course-page) :is(#curriculum-acc, #standard-acc) .acc__btn { display: grid !important; grid-template-columns: 30px minmax(0, 1fr) 24px !important; column-gap: 12px !important; row-gap: 2px !important; align-items: start !important; padding: 14px 16px !important; }
  :is(body.course-page, body.restored-course-page) :is(#curriculum-acc, #standard-acc) .acc__num { grid-column: 1 !important; grid-row: 1 / span 2 !important; margin: 0 !important; line-height: 1.3 !important; }
  :is(body.course-page, body.restored-course-page) :is(#curriculum-acc, #standard-acc) .acc__ttl { grid-column: 2 !important; grid-row: 1 !important; font-size: 17px !important; line-height: 1.3 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) :is(#curriculum-acc, #standard-acc) .acc__wt { grid-column: 2 !important; grid-row: 2 !important; justify-self: start !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
  :is(body.course-page, body.restored-course-page) :is(#curriculum-acc, #standard-acc) .acc__chev { grid-column: 3 !important; grid-row: 1 / span 2 !important; align-self: center !important; margin: 0 !important; }

  /* --- AI pages: what the marker looks for --- */
  :is(body.course-page, body.restored-course-page) #assessment .asai-criteria > .fcard { display: grid !important; grid-template-columns: 24px minmax(0, 1fr) !important; column-gap: 8px !important; row-gap: 4px !important; align-items: center !important; align-content: start !important; }
  :is(body.course-page, body.restored-course-page) #assessment .asai-criteria > .fcard > .ficon { width: 24px !important; height: 24px !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) #assessment .asai-criteria > .fcard > .ficon svg { width: 20px !important; height: 20px !important; }
  :is(body.course-page, body.restored-course-page) #assessment .asai-criteria > .fcard > h3 { grid-column: 2 !important; font-weight: 600 !important; }
  :is(body.course-page, body.restored-course-page) #assessment .asai-criteria > .fcard > p { grid-column: 1 / -1 !important; }

  /* --- who this class is for --- */
  /* the roles: two tiles per line, icon beside the name (was icon above, 80 to 145 px per tile) */
  :is(body.course-page, body.restored-course-page) :is(#audience .grid-3:has(> :nth-child(5)), #audience .flow-audience-grid) { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; align-items: stretch !important; }
  :is(body.course-page, body.restored-course-page) :is(#audience .grid-3:has(> :nth-child(5)), #audience .flow-audience-grid) > * { display: flex !important; align-items: center !important; gap: 8px !important; padding: 10px 12px !important; min-height: 0 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) :is(#audience .grid-3:has(> :nth-child(5)), #audience .flow-audience-grid) > :last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
  :is(body.course-page, body.restored-course-page) :is(#audience .grid-3:has(> :nth-child(5)), #audience .flow-audience-grid) .ve-course-icon { width: 20px !important; height: 20px !important; flex: 0 0 20px !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) :is(#audience .grid-3:has(> :nth-child(5)), #audience .flow-audience-grid) h3 { font-size: 15px !important; line-height: 1.3 !important; margin: 0 !important; min-width: 0 !important; overflow-wrap: break-word !important; }
  /* a name with a word too long for half the width gets the whole line (mobile-fixes.js marks it), so no word is split */
  :is(body.course-page, body.restored-course-page) #audience [data-skb-tiles] { grid-auto-flow: row dense !important; }
  :is(body.course-page, body.restored-course-page) #audience [data-skb-tiles] > .skb-wide { grid-column: 1 / -1 !important; }
  :is(body.course-page, body.restored-course-page) #audience [data-skb-tiles] > :last-child:nth-child(odd):not(.skb-wide) { grid-column: auto !important; }
  /* the long intro: 4 lines, then "Read more" (mobile-fixes.js) */
  :is(body.course-page, body.restored-course-page) #audience :is(p.restored-overview, .flow-audience-description).skb-clamp:not(.is-open):not(.skb-fits) { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden !important; }
  :is(body.course-page, body.restored-course-page) #audience :is(p.restored-overview, .flow-audience-description).skb-clamp:not(.skb-fits) { margin-bottom: 4px !important; }
  /* an intro short enough to show whole keeps a clear gap above the role tiles */
  :is(body.course-page, body.restored-course-page) #audience :is(p.restored-overview, .flow-audience-description).skb-clamp.skb-fits { margin-bottom: 16px !important; }
  :is(body.course-page, body.restored-course-page) #audience .skb-read-more { margin: 0 0 12px !important; }
  :is(body.course-page, body.restored-course-page) #audience .restored-prerequisites { padding: 18px !important; }
}
}

/* ========== 25. Round 4, course-bottom (November 12, 2026) ========== */
/* ---------- 20. Course pages, lower half (round 4, November 12, 2026) ----------
   Real iPhone Safari review: How we compare, Why Skillbook, instructors, pricing, career,
   FAQ and the closing blocks were long or looked off. Phones only, course pages only.
   Section padding is left alone (the upper-half fixes own it). Toggles come from course-bottom.js. */
@layer skb-mobile {
@media (max-width: 767px) {

  /* How we compare: rows 01 and 02, then "Show all 5 comparisons" */
  :is(body.course-page, body.restored-course-page) #compare .skb-cb-more:not(.is-open) > .skb-cb-extra { display: none !important; }
  /* number and question on one line, subtitle under the question */
  :is(body.course-page, body.restored-course-page) #compare .cmp-grid > .cmp-c1 {
    display: grid !important; grid-template-columns: auto 1fr !important; column-gap: 10px !important;
    align-items: baseline !important; padding: 14px 0 2px !important;
  }
  :is(body.course-page, body.restored-course-page) #compare .cmp-grid > .cmp-c1 > .cmp-num { grid-column: 1 !important; grid-row: 1 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) #compare .cmp-grid > .cmp-c1 > b { grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; }
  :is(body.course-page, body.restored-course-page) #compare .cmp-grid > .cmp-c1 > .cmp-sub { grid-column: 2 !important; grid-row: 2 !important; margin: 2px 0 0 !important; }
  /* both answer boxes start their text on the same line, also when one label wraps to 2 lines */
  :is(body.course-page, body.restored-course-page) #compare .cmp-grid > :is(.cmp-c2, .cmp-c3) > .cmp-lab { display: block !important; }
  @supports (grid-template-rows: subgrid) {
    :is(body.course-page, body.restored-course-page) #compare .cmp-grid > :is(.cmp-c2, .cmp-c3) {
      grid-row: span 2 !important; display: grid !important; grid-template-rows: subgrid !important; row-gap: 4px !important; align-content: start !important;
    }
    :is(body.course-page, body.restored-course-page) #compare .cmp-grid > :is(.cmp-c2, .cmp-c3) > .cmp-lab { margin: 0 !important; }
  }
  @supports not (grid-template-rows: subgrid) {
    :is(body.course-page, body.restored-course-page) #compare .cmp-grid > :is(.cmp-c2, .cmp-c3) > .cmp-lab { min-height: 2.6em !important; }
  }
  :is(body.course-page, body.restored-course-page) #compare .skb-cb-toggle { margin-top: 14px !important; }

  /* Why Skillbook: the card number under each award icon read as a stray digit */
  :is(body.course-page, body.restored-course-page) #why .why .why__n { font-size: 0 !important; line-height: 0 !important; }
  :is(body.course-page, body.restored-course-page) #why .why .why__n img { width: 32px !important; height: 32px !important; }

  /* Instructors (restored and Scrum course pages): smaller photo panel, like the SAFe trainer rows */
  :is(body.course-page, body.restored-course-page) #instructors :is(.restored-instructors, .flow-instructors) .sb-portrait-stage { height: 176px !important; min-height: 0 !important; }
  :is(body.course-page, body.restored-course-page) #instructors :is(.restored-instructors, .flow-instructors) .sb-portrait-stage .sb-portrait-frame { width: 150px !important; height: 150px !important; }

  /* Pricing: the icon box repeated the class seat list right above it */
  :is(body.course-page, body.restored-course-page) #pricing .includes { display: none !important; }
  /* corporate card: its list opens on tap; title, Custom Quote and Talk to Sales stay */
  :is(body.course-page, body.restored-course-page) #pricing .pcard.skb-cb-fold:not(.is-open) > .pcard__feats { display: none !important; }
  :is(body.course-page, body.restored-course-page) #pricing .pcard.skb-cb-fold > .pcard__feats { margin-bottom: 16px !important; }
  :is(body.course-page, body.restored-course-page) #pricing .skb-cb-reveal {
    display: flex !important; width: 100% !important; min-height: 48px !important; align-items: center !important; justify-content: space-between !important;
    margin: 4px 0 16px !important; padding: 0 2px !important; border: 0 !important; border-top: 1px dashed #C7D0DC !important; border-bottom: 1px dashed #C7D0DC !important;
    background: transparent !important; font: inherit !important; font-size: 16px !important; font-weight: 600 !important; color: inherit !important; cursor: pointer; text-align: left !important;
  }
  :is(body.course-page, body.restored-course-page) #pricing .skb-cb-reveal::after {
    content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
  }
  :is(body.course-page, body.restored-course-page) #pricing .skb-cb-reveal[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
  :is(body.course-page, body.restored-course-page) #pricing .pcard.skb-cb-fold.is-open > .skb-cb-reveal { margin-bottom: 14px !important; }
  :is(body.course-page, body.restored-course-page) #pricing .pcard.skb-cb-fold > .pcard__feats { border-top: 0 !important; padding-top: 0 !important; }

  /* one heading alignment down the page: left, like every other section */
  :is(body.course-page, body.restored-course-page) :is(#pricing, #career, #faq) .sec-head.sec-head--center { text-align: left !important; align-items: flex-start !important; margin-left: 0 !important; margin-right: 0 !important; }
  :is(body.course-page, body.restored-course-page) :is(#pricing, #career, #faq) .sec-head.sec-head--center > :is(.eyebrow, h2, p) { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; align-self: flex-start !important; justify-content: flex-start !important; }
  :is(body.course-page, body.restored-course-page) :is(#pricing, #career, #faq) .sec-head.sec-head--center .site-motion-rule { margin-left: 0 !important; margin-right: auto !important; }
  :is(body.course-page, body.restored-course-page) :is(#pricing, #career, #faq) .sec-head.sec-head--center .eyebrow::before { display: block !important; }

  /* Career numbers: the label keeps a readable width next to a long number ("About $28K more") */
  :is(body.course-page, body.restored-course-page) #career .career .cstat { grid-template-columns: 28px minmax(0, max-content) minmax(132px, 1fr) !important; }
  :is(body.course-page, body.restored-course-page) #career .career .cstat b { text-align: left !important; line-height: 1.2 !important; }

  /* Career path: a compact timeline (dot and line) in place of four tall pills and arrows */
  :is(body.course-page, body.restored-course-page) #career .path {
    display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: flex-start !important;
    gap: 0 !important; padding: 10px 12px !important; margin-top: 14px !important;
  }
  :is(body.course-page, body.restored-course-page) #career .path > .arr { display: none !important; }
  :is(body.course-page, body.restored-course-page) #career .path > .step {
    position: relative !important; display: flex !important; align-items: center !important; min-height: 44px !important; box-sizing: border-box !important;
    padding: 9px 12px 9px 38px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important;
    text-align: left !important; font-size: 16px !important; line-height: 1.3 !important; transform: none !important;
  }
  :is(body.course-page, body.restored-course-page) #career .path > .step::before {
    content: "" !important; position: absolute !important; left: 13px !important; top: 50% !important; width: 12px !important; height: 12px !important; margin-top: -6px !important;
    box-sizing: border-box !important; border: 2px solid #0d6e73 !important; border-radius: 50% !important; background: #fff !important; z-index: 1 !important;
  }
  :is(body.course-page, body.restored-course-page) #career .path > .step::after {
    content: "" !important; position: absolute !important; left: 18px !important; top: 0 !important; bottom: 0 !important; width: 2px !important; height: auto !important;
    background: #b9e3e6 !important;
  }
  :is(body.course-page, body.restored-course-page) #career .path > .step:first-child::after { top: 50% !important; }
  :is(body.course-page, body.restored-course-page) #career .path > .step:last-child::after { bottom: 50% !important; }
  :is(body.course-page, body.restored-course-page) #career .path > .step.is-now { background: #c6eef0 !important; color: #0d6e73 !important; font-weight: 600 !important; }
  :is(body.course-page, body.restored-course-page) #career .path > .step.is-now::before { background: #0d6e73 !important; }

  /* FAQ: "Show all N questions" sits clear of the list; the heading gets its label like the others */
  :is(body.course-page, body.restored-course-page) #faq .skb-faq-toggle { margin-top: 12px !important; }

  /* Closing "Get the schedule" block (email-for-schedule pages): the badge and course name were shown a third time.
     The email line and "Email for the schedule" stay as the action at the end of the page. */
  body.restored-course-page #faq ~ #schedule .restored-schedule-card > div:first-child:has(> .restored-badge) { display: none !important; }
  body.restored-course-page #faq ~ #schedule .restored-schedule-card { padding: 20px 18px !important; }
  body.restored-course-page #faq ~ #schedule .restored-schedule-card > p { margin: 0 0 16px !important; }

  /* closing titles: the word before "/" and the "/" stay on one line (course-bottom.js) */
  :is(body.course-page, body.restored-course-page) :is(#referral-section-15, #find-a-class) h2 .skb-cb-nowrap { white-space: nowrap !important; }

  /* PMP prerequisites: each PMI pathway on its own line (course-bottom.js) */
  body.restored-course-page #audience .restored-prerequisites p .skb-cb-path { display: block !important; margin-top: 8px !important; }
}
}

/* ========== 26. Round 4, schedule (November 12, 2026) ========== */

/* ================= Round 4 (November 12, 2026): class lists and class-date pages, phones only =================
   Scope: section #schedule (course pages and class-date pages), main.skb-schedule-page (the 28 class-date pages)
   and the hero class card's loading state. The frames carry their own phone rules (schedule-ink.css,
   ai-frame-phone.css). Laptops and tablets do not change. */
@layer skb-mobile {
@media (max-width: 767px) {

  /* ---------- 20. Class list: one panel, not three ---------- */
  /* the white bordered panel around the frame goes; the cards sit on the section band at the text margin.
     The border only turns clear (not 0): the frame keeps its width, so phones in landscape near 740 px
     do not cross the list's own 680 px layout switch. */
  #schedule .widget-wrap { background: transparent !important; border-color: transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; }
  #schedule .referral-schedule-frame { background: transparent !important; min-height: 160px !important; }
  /* hero class card: while dates load, or when that read fails on a page with a class list, "View class schedule" stays */
  section#overview .course-next-class[data-state="loading"]:not([data-schedule-key=""]) .course-next-class__all,
  body:has(#schedule iframe.referral-schedule-frame) section#overview .course-next-class[data-state="empty"]:not([data-schedule-key=""]) .course-next-class__all { display: flex !important; }

  /* ---------- 21. Class-date pages: a class date or the email button on the first screen ---------- */
  main.skb-schedule-page .sb-page-hero { padding-top: 12px !important; padding-bottom: 20px !important; }
  /* breadcrumb on one line: "Course / Class dates" (Home and Courses are in the header and menu) */
  main.skb-schedule-page .sb-breadcrumb { flex-wrap: nowrap !important; white-space: nowrap !important; overflow: hidden !important; margin: 0 !important; column-gap: 8px !important; font-size: 13px !important; }
  main.skb-schedule-page .sb-breadcrumb > :nth-child(-n+4) { display: none !important; }
  /* a course name too long for the line is not cut with "...": the breadcrumb is left out (schedule.js adds
     .skb-crumb-short); the full name is the title right below, and "View course details" goes back to the course */
  main.skb-schedule-page .sb-breadcrumb.skb-crumb-short { display: none !important; }
  main.skb-schedule-page .sb-page-hero:has(.sb-breadcrumb.skb-crumb-short) { padding-top: 22px !important; }
  /* the course link is a full 44 px tap target: 20 px line plus 12 px above and below */
  main.skb-schedule-page .sb-breadcrumb > a { flex: 0 1 auto !important; min-width: 0 !important; max-width: none !important; box-sizing: border-box !important; min-height: 44px !important; padding-block: 12px !important; line-height: 20px !important; }
  main.skb-schedule-page .sb-breadcrumb > span { flex: 0 0 auto !important; }
  /* the "Class dates" kicker repeats the breadcrumb */
  main.skb-schedule-page .sb-page-hero .sb-kicker { display: none !important; }
  main.skb-schedule-page .sb-page-hero h1 { margin: 2px 0 0 !important; }
  main.skb-schedule-page .sb-page-hero .sb-actions { margin-top: 14px !important; }
  /* reviews: one row of two, not a tall stacked card */
  main.skb-schedule-page .sb-page-hero .skb-trust { display: grid !important; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) !important; width: 100% !important; margin: 14px 0 0 !important; padding: 0 !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__item { display: flex !important; align-items: center !important; gap: 7px !important; min-width: 0 !important; padding: 10px !important; white-space: normal !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__item + .skb-trust__item { border-top: 0 !important; border-left: 1px solid #C7D0DC !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__g { width: 24px !important; height: 24px !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__text { gap: 2px !important; min-width: 0 !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__top { gap: 5px !important; min-height: 20px !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__top b { font-size: 16px !important; line-height: 20px !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__stars svg { width: 12px !important; height: 12px !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__logo { height: 22px !important; margin: 0 !important; max-width: 100% !important; }
  main.skb-schedule-page .sb-page-hero .skb-trust__sub { font-size: 13px !important; }
  /* the section heading: no second kicker and no extra rule, smaller type */
  main.skb-schedule-page #schedule { padding-top: 22px !important; padding-bottom: 40px !important; }
  main.skb-schedule-page #schedule .sec-head { margin-bottom: 12px !important; }
  main.skb-schedule-page #schedule .sec-head :is(.eyebrow, .site-motion-rule) { display: none !important; }
  main.skb-schedule-page #schedule .sec-head { text-align: center !important; }
  main.skb-schedule-page #schedule .sec-head h2 { font-size: 21px !important; line-height: 1.25 !important; margin: 0 0 6px !important; }
  main.skb-schedule-page #schedule .sec-head p { font-size: 15px !important; line-height: 1.45 !important; margin: 0 !important; }
  /* no dates yet: one compact card, badge beside the text; the course name is already the page title */
  main.skb-schedule-page .restored-schedule-card { display: grid !important; grid-template-columns: 56px minmax(0, 1fr) !important; gap: 14px !important; align-items: center !important; padding: 18px !important; min-height: 0 !important; }
  main.skb-schedule-page .restored-schedule-card > div:first-child { display: contents !important; }
  main.skb-schedule-page .restored-schedule-card .restored-badge { grid-column: 1 !important; grid-row: 1 !important; width: 56px !important; height: 56px !important; margin: 0 !important; object-fit: contain !important; }
  main.skb-schedule-page .restored-schedule-card h3 { display: none !important; }
  main.skb-schedule-page .restored-schedule-card > p { grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; font-size: 15px !important; line-height: 1.45 !important; }
  main.skb-schedule-page .restored-schedule-card > .btn { grid-column: 1 / -1 !important; grid-row: 2 !important; margin: 0 !important; }
}
}

/* ========== 27. Round 4, owner-align (November 12, 2026) ========== */
/* ---------- Owner decision, November 12, 2026 (decision row 9, Sean: "All A"): course section titles on phones, all left ----------
   Before: on the referral-layout course pages, five section heads were centered on phones (.sec-head--center:
   Learner stories, Audience, Tuition, Upcoming classes, Career impact; Upcoming classes and the FAQ head on the three
   American School of AI course pages) while every other head was left. Now every head is left.
   Covers the head, its eyebrow (with the short bar the left heads show before it), the drawn rule above the title
   (.site-motion-rule, added by site-motion.js) and the intro paragraph.
   Pages: the 14 referral-layout course pages (course folders, "-certification-training" and "-certification" left off:
   advanced-safe-practice-consultant, ai-native-foundations, certified-ai-product-manager-product-owner,
   certified-ai-project-manager, certified-ai-team-facilitator, certified-scrum-master-csm, certified-scrum-product-owner-cspo,
   leading-safe-agilist-sa, safe-lean-portfolio-management-lpm, safe-practice-consultant, safe-practice-consultant (Toronto),
   safe-product-owner-product-manager-popm, safe-release-train-engineer-rte, safe-scrum-master-ssm)
   and the preview copy /product/course.html (Leading SAFe®).
   The other 14 course pages (restored layout) have no centered head. Not the class dates pages (main.skb-schedule-page):
   round 4 schedule.css centers their one class list head on purpose.
   Phones only (max-width 767px), so laptops and desktops do not change. Same layer and !important as mobile-fixes.css. */
@layer skb-mobile {
@media (max-width: 767px) {

  :is(body.course-page, body.restored-course-page) main:not(.skb-schedule-page) .sec-head.sec-head--center { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
  :is(body.course-page, body.restored-course-page) main:not(.skb-schedule-page) .sec-head.sec-head--center > :is(.eyebrow, h2, p) { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
  :is(body.course-page, body.restored-course-page) main:not(.skb-schedule-page) .sec-head.sec-head--center .eyebrow::before { display: block !important; }
  :is(body.course-page, body.restored-course-page) main:not(.skb-schedule-page) .sec-head.sec-head--center h2 > .site-motion-rule { margin-left: 0 !important; margin-right: auto !important; transform-origin: left !important; }

}
}

/* ========== 28. Round 5, laptopcourse (November 12, 2026) ========== */
/* ========== Round 5, laptopcourse (November 12, 2026): course pages on iPads and laptops ==========
   Real iPad Safari review (ipadmini-01, ipadmini-02, ipadair11-05 to 08). Screens 768 to 1599 px only;
   phones (767 px and narrower) and big screens (1600 px and wider) do not change.
   Every rule is scoped to course pages (body.course-page or body.restored-course-page). */
@layer skb-mobile {

/* ---------- (a) CSM and CSPO "Who is this course for?": 4 tiles per row, not 6 ----------
   Six tiles never fit below 1600 px: the longest names ("Professional", "Programmer") are about 140 px
   and ran past or across the next tile at every width from 1100 to 1599. Four per row, a little less
   side padding so every name fits from 1100 px up, and a word that still cannot fit wraps inside its tile. */
@media (min-width: 1100px) and (max-width: 1599px) {
  :is(body.course-page, body.restored-course-page) .flow-audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  :is(body.course-page, body.restored-course-page) .flow-audience-grid > .fcard { padding-left: 20px !important; padding-right: 20px !important; min-width: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1599px) {
  :is(body.course-page, body.restored-course-page) .flow-audience-grid > .fcard h3 { overflow-wrap: break-word !important; min-width: 0 !important; }
}

/* ---------- (b) CSM and CSPO review wall: no column cut at the sides ----------
   The three 320 px columns (1,008 px) sat in a narrower box with overflow hidden, so the outer two were
   sliced mid-word from 1025 to 1365 px. Up to 1279 px two whole columns show (as on iPads in portrait);
   from 1280 px the three columns share the box (about 300 px each at 1280, full 320 px from 1366). */
@media (min-width: 1025px) and (max-width: 1599px) {
  :is(body.course-page, body.restored-course-page) #reviews .tcols > .tcol { flex: 0 1 320px !important; min-width: 0 !important; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  :is(body.course-page, body.restored-course-page) #reviews .tcols > .tcol--3 { display: none !important; }
}

/* ---------- (c) "Know exactly what to expect" and short "What is included" / "What you will do" grids ----------
   Exam facts: 5 thin columns gave 4 to 7 line answers, text past the box (Advanced SPC) and an empty slot.
   Three columns like the big-screen layout: 9 facts make 3 full rows. Short highlight grids: 4 per row left
   1 or 2 cards alone on the second row (5 and 6 items) and one card 9 lines tall (1 item); those take
   3 per row like the big-screen layout. Grids of 4 or 8 keep 4 per row (full rows). */
@media (min-width: 1100px) and (max-width: 1599px) {
  :is(body.course-page, body.restored-course-page) .exam { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:not(:has(p)):not(:has(> :nth-child(4):last-child)):not(:has(> :nth-child(8):last-child)) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
/* exam facts sit in one framed box, so a short last row left an empty framed slot: the last fact fills its row
   (3 per row from 1025 px: Advanced SPC has 8 facts; 2 per row below 1025 px: 9 facts left one alone) */
@media (min-width: 1025px) and (max-width: 1599px) {
  :is(body.course-page, body.restored-course-page) .exam > :last-child:nth-child(3n+2) { grid-column: span 2 !important; }
  :is(body.course-page, body.restored-course-page) .exam > :last-child:nth-child(3n+1) { grid-column: 1 / -1 !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  :is(body.course-page, body.restored-course-page) .exam > :last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
  /* short highlight grids are 2 per row here: a fifth card alone on its row takes the whole row */
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:not(:has(p)) > :last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
}
/* a highlight grid with a single card (Agile OKRs): the card takes the row, not a narrow first column */
@media (min-width: 768px) and (max-width: 1599px) {
  :is(body.course-page, body.restored-course-page) #highlights .grid-3:not(:has(p)) > :only-child { grid-column: 1 / -1 !important; }
}

/* ---------- (d) American School of AI courses: "The day, module by module" ----------
   The module list shared the row with the intro, so titles got 100 to 190 px and ran 3 to 6 lines.
   Intro above, modules full width. */
/* r5b/r5c: the one-column layout now runs to 1535. Beside the intro, titles ran 3 lines up to 1279 on all three pages,
   and up to 1500 on AI Team Facilitator (1366 and 1440 laptops). From 1536 every title fits in 2 lines beside the intro. */
@media (min-width: 768px) and (max-width: 1535px) {
  :is(body.course-page, body.restored-course-page) #curriculum .flow-curriculum-grid:has(#curriculum-acc) { grid-template-columns: minmax(0, 1fr) !important; row-gap: 36px !important; }
  /* lead, LC-S2: the full-width intro keeps a readable line (it ran about 95 characters) */
  :is(body.course-page, body.restored-course-page) #curriculum .flow-curriculum-grid:has(#curriculum-acc) > :first-child { max-width: 68ch !important; }
}

}

/* ========== 29. Round 5, laptopsite (November 12, 2026) ========== */
/* ========== Round 5, laptopsite (November 12, 2026) ========== */
/* ---------- Site pages on iPads and laptops, 768 to 1599 px (real iPad Safari review, November 12, 2026) ----------
   ipadmini-03 / ipadair11-01: instructor profile heading printed over the bio.
   ipadair11-02: home "A public class" intro line cut by the screen edge.
   ipadair11-03 / 04: hero rating card cut ("4.82/5 feedback ra") or text past the card border.
   ipadmini-04 / ipadair11-12: hero video caption cut at the bottom, aqua bar over the caption.
   ipadmini-08: 30 px browser-default dropdowns on Contact, Programs, Instructors and the Resources lists.
   Every rule sits inside 768 to 1599 px, so phones and screens 1600 px and wider do not change.
   Same layer and !important as the rest of mobile-fixes.css. */
@layer skb-mobile {
@media (min-width: 768px) and (max-width: 1599px) {

  /* --- instructor profiles: the about heading stays inside its own column (ipadmini-03, ipadair11-01) --- */
  /* up to 1199 px: heading above the bio, the layout phones and small tablets already use */
  body.ed-profile-page .ed-profile-about { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; }
  /* a word longer than the column breaks inside the heading instead of printing over the bio */
  body.ed-profile-page .ed-profile-about > h2 { overflow-wrap: break-word !important; min-width: 0 !important; }

  /* --- home "A public class. Or training for your team.": the intro line wraps instead of running off the screen (ipadair11-02) --- */
  body.home-page .hm-offer .hm-sub { white-space: normal !important; text-wrap: balance; }

  /* --- hero videos: the whole 16:9 picture shows, so both caption lines are in view (ipadmini-04, ipadair11-12) --- */
  /* the frame's 16:9 ratio included its 8 px white border, so the video was taller than the space inside it and lost its bottom edge */
  figure.ve-photo.skb-hero-video { aspect-ratio: auto !important; height: auto !important; }
  figure.ve-photo.skb-hero-video > video { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: contain !important; }
  /* the 8 px aqua bar sat over the caption's left end */
  figure.skb-hero-video[data-hero-video="home"]::after { display: none !important; }

  /* --- dropdowns: the styled box from the phone layer (no browser default 30 px box), each keeps its width (ipadmini-08) --- */
  :is(select.sb-select, .ed-filter-row select, #inquiry-form select, .sb-field select) {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    height: 50px !important;
    min-height: 48px !important;
    padding: 0 42px 0 14px !important;
    line-height: 48px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 14px !important;
    border-radius: 8px !important;
    text-overflow: ellipsis;
    cursor: pointer;
  }
  /* Contact form: the same 56 px height as the name and email boxes beside it */
  :is(#inquiry-form select, .sb-field select) { height: 56px !important; line-height: 54px !important; }
}

/* 1200 to 1599 px: heading and bio side by side again, with a heading column wide enough for the longest word
   ("transformations" at 44 px needs about 340 px; the column was 230 px) */
@media (min-width: 1200px) and (max-width: 1599px) {
  body.ed-profile-page .ed-profile-about { grid-template-columns: 360px minmax(0, 760px) !important; gap: 48px !important; }
}

/* 801 to 1023 px (two-column hero, narrow text column): the two ratings stack inside the card (ipadair11-03, 04) */
@media (min-width: 801px) and (max-width: 1023px) {
  :is(.skb-hero-media, .ve-hero-copy) > .skb-trust:not(.skb-trust--one) {
    display: flex !important; flex-direction: column !important; align-items: stretch !important;
    width: 100% !important; max-width: 420px !important; padding: 4px 0 !important;
  }
  :is(.skb-hero-media, .ve-hero-copy) > .skb-trust:not(.skb-trust--one) > .skb-trust__item { padding: 11px 16px !important; white-space: normal !important; }
  :is(.skb-hero-media, .ve-hero-copy) > .skb-trust:not(.skb-trust--one) > .skb-trust__item + .skb-trust__item { border-left: 0 !important; border-top: 1px solid #C7D0DC !important; }
  /* the Scaled Agile line starts under the Google line's text, as in the phone card */
  :is(.skb-hero-media, .ve-hero-copy) > .skb-trust:not(.skb-trust--one) > .skb-trust__item:not(:has(.skb-trust__g)) > .skb-trust__text { padding-left: 40px !important; }
  :is(.skb-hero-media, .ve-hero-copy) > .skb-trust:not(.skb-trust--one) .skb-trust__logo { margin-left: -2px !important; }
}
}

/* ========== 30. Round 5, phonefix (November 12, 2026) ========== */
/* ========== Round 5, phonefix (November 12, 2026) ========== */
/* ---------- Round 5, phonefix: three phone fixes from the real iPhone and iPad mini review ----------
   iphone18pro-01/02: the round 4 3-line cut ended learning objectives mid sentence (CSM, SSM, ACS-CF, CSPO).
     The cut is gone. A long list shows its first 3 items in full, and "Show all N" opens the rest
     (the same button mobile-fixes.js already adds; it toggles .is-open, which shows item 4 again).
   iphone18pro-04: American School of AI course pages, "What you leave with": one-line items were 81 px apart,
     then 54 px of space before the module list. Only those three pages (.asai-safe-course); CSM and CSPO keep theirs.
   ipadmini-06: class-date pages with no dates kept a 60vh minimum height, so iPad mini portrait (744 px, phone layer)
     showed about 170 px of empty white above the footer. Pages with dates are taller than 60vh, so only the
     no-date pages move.
   Phones only (max-width 767px). Same layer and !important as mobile-fixes.css. */
@layer skb-mobile {
@media (max-width: 767px) {

  /* iphone18pro-01/02: no visible objective or skill is cut */
  :is(body.course-page, body.restored-course-page) #curriculum .skb-list-more:not(.is-open) > li > p { display: block !important; -webkit-line-clamp: none !important; overflow: visible !important; }
  /* the first 3 in full; item 4 waits behind "Show all N" with the others (topic lists, ol, keep their 6) */
  :is(body.course-page, body.restored-course-page) #curriculum ul.skb-list-more:not(.is-open) > li:nth-child(4) { display: none !important; }

  /* iphone18pro-04: "What you leave with" rows about 41 px for one line, 24 px before the modules */
  body.course-page .asai-safe-course #curriculum ul.flow-objectives > li { padding-top: 8px !important; padding-bottom: 8px !important; margin-bottom: 0 !important; }
  body.course-page .asai-safe-course #curriculum .flow-curriculum-grid:has(> div > ul.flow-objectives) { row-gap: 24px !important; }

  /* ipadmini-06: no empty band above the footer on class-date pages */
  main.page-body.skb-schedule-page { min-height: 0 !important; }

  /* lead, laptopsite note-3: the Resources topic dropdown matches the category dropdown (it was a 29 px browser box) */
  .ed-filter-row select {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 40px 0 14px !important;
    font-size: 16px !important;
    line-height: 46px !important;
    color: #18181b !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px 14px !important;
    border: 1px solid #c9ccd3 !important;
    border-radius: 10px !important;
    max-width: 100% !important;
  }
  /* r5b: CSM and CSPO review wall at 761 to 767. The page's own CSS hides column 2 only up to 760, so two cut
     columns showed. The phone layer turns column 1 into the swipe row, so columns 2 and 3 hide here too (same reviews). */
  :is(body.course-page, body.restored-course-page) #reviews .tcols > :is(.tcol--2, .tcol--3) { display: none !important; }
}
}
