/* ===== SA ASSOCIATES CROSS-SITE QA POLISH — 2026-09-27 ===== */
:root{--saa-site-blue:#0195D8;--saa-mobile-gutter:18px}

/* Same section-heading language wherever the site is making the same semantic move. */
.fb-community .fbp-label{
  display:block!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;
  margin:0 0 12px!important;font-size:12px!important;font-weight:600!important;letter-spacing:2px!important;
  text-transform:uppercase!important;color:var(--saa-site-blue)!important;
}
.fb-community .fbp-head h2{
  margin:0!important;font-size:clamp(32px,4vw,48px)!important;font-weight:800!important;line-height:1.2!important;
  letter-spacing:0!important;color:#0f0f0f!important;font-family:inherit!important;
}
.fb-community .fbp-head h2 .accent{color:var(--saa-site-blue)!important;background:none!important;-webkit-text-fill-color:var(--saa-site-blue)!important}

/* General shared CTA geometry. */
@media(max-width:720px){
  .saa-consultation-cta .cta-buttons,.cta-banner.saa-consultation-cta .cta-buttons{display:grid!important;grid-template-columns:1fr!important;width:min(100%,360px)!important;margin-inline:auto!important;gap:10px!important}
  .saa-consultation-cta .cta-buttons>a,.saa-consultation-cta .cta-buttons>button{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;justify-content:center!important;margin:0!important}
}

/* Homepage — mobile balance and card geometry. */
@media(max-width:720px){
  .sa-stats-section{padding-left:var(--saa-mobile-gutter)!important;padding-right:var(--saa-mobile-gutter)!important}
  .sa-stats-card{overflow:hidden!important}
  .sa-stats-card::after{content:"";position:absolute;right:-28px;top:84px;width:220px;height:190px;background:url('/assets/localized/ui/stats-orbit.svg') center/contain no-repeat;opacity:.68;pointer-events:none;z-index:0}
  .sa-stats-content{position:relative;z-index:1}
  .sa-stats-grid{position:relative;z-index:1}
  .sa-stat-item{position:relative;background:linear-gradient(90deg,rgba(245,250,253,.96) 0%,rgba(245,250,253,.86) 56%,rgba(245,250,253,.36) 100%)}

  .registration-showcase .license-card{min-height:0!important;aspect-ratio:1.72/1!important;height:auto!important;padding:5px!important}
  .registration-showcase .license-inner{height:100%!important;min-height:0!important;padding:18px 17px 14px!important}
  .registration-showcase .license-title{font-size:20px!important}
  .registration-showcase .license-subtitle{font-size:7px!important}
  .registration-showcase .license-seal{width:54px!important;height:54px!important}
  .registration-showcase .license-fields{gap:8px!important;margin-top:14px!important}
  .registration-showcase .field-row{font-size:10px!important;line-height:1.18!important}
  .registration-showcase .license-footer{font-size:7px!important}

  .ceo-welcome-card{display:block!important;overflow:hidden!important}
  .ceo-welcome-img{position:relative!important;max-width:none!important;width:100%!important;min-height:0!important;aspect-ratio:16/10!important;background:#dfeaf2!important}
  .ceo-welcome-img img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 24%!important}
  .ceo-welcome-content{padding:25px 22px 26px!important}

  .steps-main-wrapper{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;margin-top:26px!important}
  .steps-card-wrap,.steps-img-wrap{display:contents!important}
  .steps-card,.steps-img{position:relative!important;top:auto!important;width:100%!important;left:auto!important;margin:0!important}
  .steps-img{height:auto!important;aspect-ratio:16/9!important;border-radius:18px!important}
  .steps-img img{object-fit:cover!important}
  .steps-img-1{grid-row:1}.steps-card:nth-child(1){grid-row:2}
  .steps-img-2{grid-row:3}.steps-card:nth-child(2){grid-row:4}
  .steps-img-3{grid-row:5}.steps-card:nth-child(3){grid-row:6}
  .steps-img-4{grid-row:7}.steps-card:nth-child(4){grid-row:8}
  .steps-card{padding:20px!important;border-radius:18px!important;gap:14px!important;box-shadow:0 8px 22px rgba(15,39,66,.07)!important}
  .steps-card h4.comm-card-hdn{font-size:20px!important;line-height:1.2!important;margin-bottom:10px!important}
  .steps-card .numbers{font-size:34px!important}

  .google-reviews-section .reviews-nav-btn,.reviews-section .reviews-nav-btn,.reviews-nav-btn{display:none!important}
  .reviews-carousel-wrapper{display:block!important;width:100%!important}
  .reviews-carousel{width:100%!important;min-width:0!important}
  .review-card{box-sizing:border-box!important}
  .reviews-mobile-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:18px}
  .reviews-mobile-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.35);transition:width .22s ease,background .22s ease;cursor:pointer}
  .reviews-mobile-dot.is-active{width:25px;background:#fff}
}
@media(min-width:721px){.reviews-mobile-dots{display:none!important}}

/* Country pages — compact, intentional facts instead of a long sparse strip. */
@media(max-width:720px){
  .saa-page .facts-strip{padding-left:var(--saa-mobile-gutter)!important;padding-right:var(--saa-mobile-gutter)!important}
  .saa-page .facts-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
  .saa-page .fact-item{min-width:0!important;min-height:96px!important;padding:15px 13px!important;border:1px solid rgba(1,149,216,.12)!important;border-radius:16px!important;background:linear-gradient(145deg,#fff,#f5fbff)!important;box-shadow:0 8px 22px rgba(15,39,66,.06)!important;text-align:left!important;align-items:flex-start!important;justify-content:center!important}
  .saa-page .fact-item::before,.saa-page .fact-item::after{display:none!important}
  .saa-page .fact-ico{width:31px!important;height:31px!important;margin:0 0 9px!important;border-radius:10px!important;background:#e7f7fe!important;color:var(--saa-site-blue)!important;display:grid!important;place-items:center!important}
  .saa-page .fact-val{font-size:15px!important;line-height:1.2!important;color:#16334d!important}
  .saa-page .fact-label,.saa-page .fact-lbl{font-size:10.5px!important;line-height:1.35!important;letter-spacing:.02em!important;color:#6b7d90!important}
  .saa-page .fact-item:last-child:nth-child(odd){grid-column:1/-1!important;min-height:78px!important;display:grid!important;grid-template-columns:auto 1fr!important;column-gap:12px!important;align-items:center!important}
  .saa-page .fact-item:last-child:nth-child(odd) .fact-ico{grid-row:1/3!important;margin:0!important}
}

/* Experts — preserve photography and use a predictable portrait frame. */
@media(min-width:761px){
  .saa-experts-page .person--lead{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .saa-experts-page .person--lead .person-photo{width:100%!important;min-width:0!important}
}
@media(max-width:760px){
  .saa-experts-page .experts-hero{background-size:cover!important;background-position:center 28%!important;min-height:300px!important}
  .saa-experts-page .experts-hero::before{background:linear-gradient(180deg,rgba(248,252,255,.62),rgba(248,252,255,.78))!important;backdrop-filter:blur(1.5px)!important;-webkit-backdrop-filter:blur(1.5px)!important}
  .saa-experts-page .person-list{grid-template-columns:1fr!important;gap:16px!important}
  .saa-experts-page .person,.saa-experts-page .person--lead{padding:12px!important}
  .saa-experts-page .person-photo,.saa-experts-page .person--lead .person-photo{height:auto!important;min-height:0!important;aspect-ratio:4/3!important;margin-bottom:0!important;border-radius:16px 16px 0 0!important;background:#eaf3f9!important}
  .saa-experts-page .person-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 14%!important}
  .saa-experts-page .person--lead .person-photo img{object-position:center 10%!important}
  .saa-experts-page .person-body,.saa-experts-page .person--lead .person-body{padding:20px 12px 12px!important}
  .saa-experts-page .gtab-wrap{display:block!important;overflow:hidden!important;margin-bottom:22px!important}
  .saa-experts-page .gtab-strip{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;scroll-snap-type:x proximity!important;padding:7px!important;border-radius:14px!important;scrollbar-width:none!important}
  .saa-experts-page .gtab-strip::-webkit-scrollbar{display:none!important}
  .saa-experts-page .gtab{flex:0 0 auto!important;scroll-snap-align:center!important;padding:9px 13px!important;font-size:12px!important;border-radius:10px!important}
  .saa-experts-page .gtab.is-active{background:var(--saa-site-blue)!important;box-shadow:0 7px 17px rgba(1,149,216,.22)!important}
}

/* About — mobile timeline gains a visual axis; editorial blocks use one gutter. */
@media(max-width:720px){
  .saa-page-about .tl-list{max-width:none!important;width:100%!important}
  .saa-page-about .tl-list::before,.saa-page-about .tl-item::after{display:none!important}
  .saa-page-about .tl-item{display:block!important;padding:18px 0 24px!important}
  .saa-page-about .tl-year{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:100%!important;padding:0!important;margin:0 0 10px!important;text-align:center!important;font-size:20px!important}
  .saa-page-about .tl-year::before,.saa-page-about .tl-year::after{content:"";display:block;width:44px;height:1px;background:linear-gradient(90deg,transparent,rgba(1,149,216,.55))}
  .saa-page-about .tl-year::after{transform:scaleX(-1)}
  .saa-page-about .tl-body{text-align:center!important;padding:0 2px!important}
  .saa-page-about .founder-grid,.saa-page-about .about-grid,.saa-page-about .vision-grid,.saa-page-about .mission-grid{margin-left:0!important;margin-right:0!important;width:100%!important}
  .saa-page-about .founder-photo,.saa-page-about .founder-copy,.saa-page-about .about-copy,.saa-page-about .about-photo{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:none!important}
}

/* Contact — country-page readability treatment on mobile. */
@media(max-width:720px){
  .saa-page-contact .contact-hero{position:relative!important;isolation:isolate!important;background-position:center!important;background-size:cover!important}
  .saa-page-contact .contact-hero::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;background:rgba(248,252,255,.20)!important;backdrop-filter:blur(2.5px) saturate(.96)!important;-webkit-backdrop-filter:blur(2.5px) saturate(.96)!important;pointer-events:none!important}
  .saa-page-contact .contact-hero .container{position:relative!important;z-index:1!important}
  .saa-page-contact .contact-hero-title,.saa-page-contact .contact-hero-sub{text-shadow:0 1px 1px rgba(255,255,255,.95),0 2px 5px rgba(255,255,255,.70)!important}
}

/* Shared mobile rhythm: one horizontal language, without turning full-bleed backgrounds into cards. */
@media(max-width:720px){
  .saa-page main>.section>.container,.saa-page .section>.container,.saa-page-about section>.container,.saa-page-contact section>.container,.saa-experts-page section>.container{padding-left:var(--saa-mobile-gutter)!important;padding-right:var(--saa-mobile-gutter)!important}
  .saa-page .country-hero>.container,.saa-page-contact .contact-hero>.container,.saa-experts-page .contact-hero>.container{padding-left:var(--saa-mobile-gutter)!important;padding-right:var(--saa-mobile-gutter)!important}
}
/* ===== END CROSS-SITE QA POLISH ===== */

/* Final specificity pass for components with older high-specificity visual skins. */
.fb-community.fb-community--visual .fbp-label{
  display:block!important;min-height:0!important;padding:0!important;margin:0 0 12px!important;
  border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  color:var(--saa-site-blue)!important;font-size:12px!important;font-weight:600!important;
  line-height:1.2!important;letter-spacing:2px!important;text-transform:uppercase!important;
}
.fb-community.fb-community--visual .fbp-head h2{
  margin:0!important;font-size:clamp(32px,4vw,48px)!important;line-height:1.2!important;
  letter-spacing:0!important;color:#0f0f0f!important;font-weight:800!important;
}
.fb-community.fb-community--visual .fbp-head h2 .accent{
  display:inline!important;margin:0!important;color:var(--saa-site-blue)!important;
  -webkit-text-fill-color:var(--saa-site-blue)!important;font-size:1em!important;line-height:inherit!important;
}

@media(max-width:720px){
  /* Preserve the whole CEO portrait rather than zooming into the face on a landscape crop. */
  .ceo-welcome-img{isolation:isolate!important;aspect-ratio:16/10!important}
  .ceo-welcome-img::before{content:"";position:absolute;inset:-18px;z-index:0;background:url('/assets/company/ceo-photo.webp') center 22%/cover no-repeat;filter:blur(18px);opacity:.30;transform:scale(1.08)}
  .ceo-welcome-img img{z-index:1!important;object-fit:contain!important;object-position:center!important;padding:10px 0!important}

  /* Make review cards use the full content width once arrow columns disappear. */
  .google-reviews-section .reviews-carousel-wrap{gap:0!important;width:100%!important}
  .google-reviews-section .review-card{padding:0!important}
  .google-reviews-section .review-card::before{left:0!important;right:0!important}

  /* One mobile gutter across ordinary containers; full-bleed art-directed sections can override it explicitly. */
  body>.skip-link~.header .container.inner,main>.section>.container,main>.comm-section>.container,
  .google-reviews-section>.container,.sa-faq-section>.container,.facts-strip>.container,
  .final-cta>.container,.contact-map-section>.container{padding-left:var(--saa-mobile-gutter)!important;padding-right:var(--saa-mobile-gutter)!important}

  /* Shared CTA has historically accumulated high-specificity rules; force both actions to identical geometry. */
  body .saa-consultation-cta.saa-consultation-cta.saa-consultation-cta.saa-consultation-cta .cta-buttons{
    display:grid!important;grid-template-columns:1fr!important;width:min(100%,360px)!important;gap:10px!important;margin:18px auto 0!important
  }
  body .saa-consultation-cta.saa-consultation-cta.saa-consultation-cta.saa-consultation-cta .cta-buttons>a,
  body .saa-consultation-cta.saa-consultation-cta.saa-consultation-cta.saa-consultation-cta .cta-buttons>button{
    display:flex!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;margin:0!important
  }
}


/* ===== PATCH ROUND 2 — 2026-09-27 ===== */
@media(max-width:720px){
  /* Homepage stats — balance every row, not only the first. */
  .sa-stats-card::after{display:none!important}
  .sa-stat-item{padding-right:72px!important}
  .sa-stat-item::after{content:"";position:absolute;right:14px;top:50%;transform:translateY(-50%);width:58px;height:58px;background:url('/assets/localized/ui/stats-orbit.svg') center/contain no-repeat;opacity:.18;pointer-events:none}
  .sa-stat-item:first-child::after{width:68px;height:68px;opacity:.2}

  /* Country cards — restore icon visibility against light mobile cards. */
  .saa-page .facts-strip .fact-ico,.saa-page .facts-strip .fact-ico.professional-line-icon{background:#e7f7fe!important;border:1px solid rgba(1,149,216,.14)!important;color:var(--saa-site-blue)!important;box-shadow:0 6px 16px rgba(1,149,216,.08)!important}
  .saa-page .facts-strip .fact-ico svg,.saa-page .facts-strip .fact-ico.professional-line-icon svg,.saa-page .facts-strip .fact-ico svg *{stroke:var(--saa-site-blue)!important;opacity:1!important}

  /* Homepage CEO block — portrait-first mobile treatment. */
  .ceo-welcome-card{display:block!important;overflow:hidden!important}
  .ceo-welcome-img{position:relative!important;width:100%!important;max-width:none!important;min-height:0!important;aspect-ratio:3/4!important;background:#dfeaf2!important}
  .ceo-welcome-img img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 18%!important}
  .ceo-welcome-content{padding:24px 22px 26px!important}
}

@media(max-width:560px){
  /* Registration cards — remove mobile corner triangles and prevent footer overlap. */
  .registration-showcase .license-card::before,.registration-showcase .license-card::after{display:none!important}
  .registration-showcase .license-card{min-height:0!important;height:auto!important;padding:5px!important}
  .registration-showcase .license-inner{min-height:0!important;height:auto!important;padding:18px 17px 16px!important}
  .registration-showcase .license-facts{margin-top:18px!important}
  .registration-showcase .fact-row{min-height:34px!important;align-items:start!important}
  .registration-showcase .license-footer{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;margin-top:14px!important;padding-top:10px!important;border-top:1px solid rgba(33,102,172,.16)!important;justify-content:flex-start!important;gap:8px!important;white-space:normal!important;font-size:8px!important;letter-spacing:.11em!important}

  /* Experts mobile — full-width portrait blocks without awkward empty space. */
  .saa-experts-page .person,.saa-experts-page .person--lead{overflow:hidden!important}
  .saa-experts-page .person-photo,.saa-experts-page .person--lead .person-photo{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:3/4!important;border-radius:18px 18px 0 0!important;margin:0!important;background:#eaf3f9!important}
  .saa-experts-page .person-photo img,.saa-experts-page .person--lead .person-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;display:block!important}
  .saa-experts-page .person-body,.saa-experts-page .person--lead .person-body{padding:18px 14px 14px!important}
}

/* ===== PATCH ROUND 3 — homepage CEO mobile gutter correction ===== */
@media(max-width:720px){
  .ceo-welcome-section>.container{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .ceo-welcome-card{width:100%!important;margin-left:0!important;margin-right:0!important}
}

/* ===== MOBILE HERO SMOOTH TRANSITION — R4 ===== */
@media(max-width:720px){
  .hero-slides{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
  }

  .hero-slide{
    grid-area:1/1!important;
    display:block!important;
    position:relative!important;
    inset:auto!important;
    opacity:0!important;
    visibility:hidden!important;
    transform:translate3d(14px,0,0) scale(.995)!important;
    pointer-events:none!important;
    z-index:1!important;
    transition:
      opacity .58s cubic-bezier(.22,.61,.36,1),
      transform .58s cubic-bezier(.22,.61,.36,1),
      visibility 0s linear .58s!important;
    will-change:opacity,transform;
  }

  .hero-slide.active{
    opacity:1!important;
    visibility:visible!important;
    transform:translate3d(0,0,0) scale(1)!important;
    pointer-events:auto!important;
    z-index:2!important;
    transition:
      opacity .58s cubic-bezier(.22,.61,.36,1),
      transform .58s cubic-bezier(.22,.61,.36,1),
      visibility 0s linear 0s!important;
  }
}

@media(max-width:720px) and (prefers-reduced-motion:reduce){
  .hero-slide,.hero-slide.active{
    transition:none!important;
    transform:none!important;
  }
}

/* ===== R5 MOBILE/CONTENT CORRECTIONS — 2026-09-27 ===== */
@media(max-width:720px){
  /* 1. Homepage stats: a different quiet motif on every row. */
  .sa-stats-card::after{display:none!important;content:none!important}
  .sa-stat-item{padding-right:96px!important;overflow:hidden!important}
  .sa-stat-item::after{
    content:""!important;display:block!important;position:absolute!important;right:16px!important;top:50%!important;
    transform:translateY(-50%)!important;width:72px!important;height:72px!important;background-position:center!important;
    background-size:contain!important;background-repeat:no-repeat!important;opacity:.24!important;pointer-events:none!important
  }
  .sa-stat-item:nth-child(1)::after{background-image:url('/assets/localized/ui/stats-students.svg')!important}
  .sa-stat-item:nth-child(2)::after{background-image:url('/assets/localized/ui/stats-visitor.svg')!important}
  .sa-stat-item:nth-child(3)::after{background-image:url('/assets/localized/ui/stats-spouse.svg')!important}
  .sa-stat-item:nth-child(4)::after{background-image:url('/assets/localized/ui/stats-success.svg')!important}

  /* 2. Australia homepage hero: exactly two headline rows on phone widths. */
  .hero-slide[data-slide="australia"] .hero-title.australia-hero-title{
    font-size:clamp(29px,7.8vw,34px)!important;line-height:1.08!important;letter-spacing:-.042em!important
  }
  .hero-slide[data-slide="australia"] .australia-title-line{display:block!important;white-space:nowrap!important}

  /* 3. Why Choose Us: icons were already centered; center the titles as requested. */
  .why-choose-section .showcase-item-title{text-align:center!important}

  /* 4. Homepage CEO: simple edge-to-edge portrait frame, no blurred pseudo-layer or inset image padding. */
  .ceo-welcome-section{padding:44px 0!important}
  .ceo-welcome-section>.container{width:calc(100% - 36px)!important;max-width:none!important;padding:0!important;margin-inline:auto!important}
  .ceo-welcome-card{width:100%!important;margin:0!important;border-radius:22px!important;overflow:hidden!important;background:#fff!important}
  .ceo-welcome-img{position:relative!important;width:100%!important;max-width:none!important;min-height:0!important;aspect-ratio:3/4!important;margin:0!important;padding:0!important;background:#dfeaf2!important;overflow:hidden!important}
  .ceo-welcome-img::before,.ceo-welcome-img::after{display:none!important;content:none!important}
  .ceo-welcome-img img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center 14%!important;display:block!important}
  .ceo-welcome-content{margin:0!important;padding:24px 22px 26px!important}

  /* 5. Country Visa Types: icon + heading centered on mobile while details remain easy to scan. */
  .saa-page .visa-feature-card>.visa-line-icon,
  .saa-page .visa-small-card>.visa-line-icon{margin-left:auto!important;margin-right:auto!important}
  .saa-page .visa-feature-card h3,.saa-page .visa-small-card h3{text-align:center!important}
  .saa-page .visa-small-card .visa-tag{align-self:center!important}

  /* 6. Experts/About panoramic hero art: deliberately crop toward the visual subject instead of empty centre. */
  .saa-experts-page .experts-hero{
    background-size:auto 100%!important;background-position:8% center!important;background-repeat:no-repeat!important
  }
  .saa-experts-page .experts-hero::before{
    background:linear-gradient(180deg,rgba(248,252,255,.62),rgba(248,252,255,.78))!important;
    backdrop-filter:blur(1.4px)!important;-webkit-backdrop-filter:blur(1.4px)!important
  }
  .saa-page-about .about-hero,.saa-page-about .contact-hero{
    background-size:auto 100%!important;background-position:88% center!important;background-repeat:no-repeat!important
  }
  .saa-page-about .about-hero::before,.saa-page-about .contact-hero::before{
    content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;
    background:rgba(248,252,255,.54)!important;backdrop-filter:blur(1.2px)!important;-webkit-backdrop-filter:blur(1.2px)!important
  }
  .saa-page-about .about-hero .container,.saa-page-about .contact-hero .container{position:relative!important;z-index:1!important}

  /* 7. Success stories: image first, full readable text beneath it — never a narrow text rail. */
  .saa-success-page .story{
    display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:14px!important;
    border-radius:22px!important;overflow:hidden!important
  }
  .saa-success-page .story-media{
    width:100%!important;min-height:0!important;aspect-ratio:4/3!important;border-radius:16px!important;overflow:hidden!important
  }
  .saa-success-page .story-media>img{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important
  }
  .saa-success-page .story-body{width:100%!important;padding:18px 5px 7px!important;align-self:auto!important}
  .saa-success-page .story-body h3{font-size:22px!important;line-height:1.18!important}
  .saa-success-page .st-prev,.saa-success-page .st-dest{font-size:14.5px!important}
}

@media(max-width:560px){
  /* 8. Registration licences: remove forced landscape ratio and give the bottom rows/footer breathing room. */
  .registration-showcase .license-card::before,.registration-showcase .license-card::after{display:none!important;content:none!important}
  .registration-showcase .license-card{
    aspect-ratio:auto!important;height:auto!important;min-height:420px!important;padding:5px!important;overflow:hidden!important
  }
  .registration-showcase .license-inner{
    height:auto!important;min-height:410px!important;padding:20px 18px 18px!important;overflow:hidden!important
  }
  .registration-showcase .license-facts{margin-top:22px!important}
  .registration-showcase .fact-row{min-height:39px!important;line-height:1.25!important;align-items:start!important}
  .registration-showcase .license-footer{
    position:static!important;left:auto!important;right:auto!important;bottom:auto!important;margin-top:13px!important;
    padding-top:10px!important;border-top:1px solid rgba(33,102,172,.15)!important;min-height:24px!important;
    white-space:normal!important;line-height:1.25!important
  }
}

/* 9. Signed-off gallery: preserve original copy, place the requested numeric blue overlay on the new images. */
.saa-experts-page .signed-off-item{position:relative!important}
.saa-experts-page .signed-off-item .signed-off-stat{
  position:absolute;left:14px;top:14px;z-index:4;display:flex;align-items:center;gap:9px;
  padding:8px 11px;border-radius:12px;background:rgba(3,91,139,.90);color:#fff;
  box-shadow:0 10px 24px rgba(3,66,103,.22);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  pointer-events:none
}
.saa-experts-page .signed-off-item .signed-off-stat strong{font-size:21px;line-height:1;font-weight:900;letter-spacing:-.04em;color:#fff}
.saa-experts-page .signed-off-item .signed-off-stat span{font-size:8.5px;line-height:1.15;font-weight:850;letter-spacing:.08em;color:rgba(255,255,255,.93)}
@media(max-width:560px){
  .saa-experts-page .signed-off-item .signed-off-stat{left:11px;top:11px;padding:7px 9px;border-radius:10px}
  .saa-experts-page .signed-off-item .signed-off-stat strong{font-size:18px}
  .saa-experts-page .signed-off-item .signed-off-stat span{font-size:7.5px}
}
/* ===== R5 MOBILE/CONTENT CORRECTIONS END ===== */


/* ===== R6 FLAG + SUCCESS MOBILE GAP FIX START ===== */
/* Hidden paginated success-story cards must remain out of layout even though R5 gives .story display:grid!important. */
.saa-success-page .story[hidden]{display:none!important}

/* Keep the mobile success-story list intrinsically sized to only the current page. */
@media(max-width:760px){
  .saa-success-page .story-list{height:auto!important;min-height:0!important}
  .saa-success-page .story-main{height:auto!important;min-height:0!important}
  .saa-success-page .stories-layout{height:auto!important;min-height:0!important;align-items:start!important}
}
/* ===== R6 FLAG + SUCCESS MOBILE GAP FIX END ===== */
