/* Al-Saeed visual identity across the public site and learning workspaces. */
:root {
  --sa-brand-navy: #102d43;
  --sa-brand-deep: #091d2d;
  --sa-brand-orange: #f4a050;
  --sa-brand-teal: #08706f;
  --sa-brand-canvas: #f7f8f6;
  --sa-brand-line: #d9e4e6;
  --sa-brand-shadow: 0 10px 30px #102d4310;
  --sa-brand-radius: 16px;
}
body #hdr.hdr {
  border-block-end: 1px solid var(--sa-brand-line) !important;
}
@media (min-width: 1050px) {
  body #hdr.hdr #nav {
    margin-inline: auto;
    justify-content: center;
  }
}
body #hdr.hdr #nav > a:is(.on, [aria-current=page]) {
  color: var(--sa-brand-teal) !important;
  box-shadow: inset 0 -2px var(--sa-brand-teal);
}
.sa-direction-arrow:dir(rtl) {
  transform: scaleX(-1);
}
.sa-direction-arrow {
  display: inline-block;
}
body #app .renew-home {
  background: var(--sa-brand-canvas);
}
body #app .renew-hero.sa-brand-hero {
  position: relative;
  padding-block: clamp(32px, 4.6vw, 64px) clamp(64px, 7vw, 105px);
  background:
    radial-gradient(ellipse at 85% 0%, #24556b 0%, transparent 60%),
    var(--sa-brand-navy);
  border: 0;
  color: #fff;
}
body #app .sa-brand-hero .renew-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(25px, 5vw, 78px);
}
.sa-brand-hero .renew-hero-copy {
  min-width: 0;
}
body #app .sa-brand-hero .renew-eyebrow {
  color: #b7dfe5;
  letter-spacing: .02em;
  font-size: .82rem;
}
.sa-brand-hero .renew-eyebrow i {
  background: var(--sa-brand-orange);
}
body #app .renew-hero.sa-brand-hero h1 {
  margin-block: .5rem .8rem;
  color: #fff;
  font-size: clamp(2.35rem, 4.65vw, 4.85rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.045em;
}
body #app .renew-hero.sa-brand-hero h1 em {
  display: block;
  color: #ffbd7b;
  font-style: normal;
  text-decoration: none;
  border: 0;
  box-shadow: none;
}
body #app .sa-brand-hero h1 em::after {
  content: none;
}
body #app .sa-brand-hero .renew-hero-copy p {
  color: #e3edf2;
  max-width: 38ch;
  font-size: clamp(.99rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  margin-block: 0 1.4rem;
}
.sa-brand-hero .renew-actions {
  margin: 0;
  gap: .7rem 1.1rem;
}
body #app .sa-brand-hero .renew-actions .btn.p {
  background: var(--sa-brand-orange) !important;
  border: 1px solid var(--sa-brand-orange) !important;
  color: var(--sa-brand-deep) !important;
  font-weight: 700;
  border-radius: 10px !important;
  padding: .75rem 1.15rem !important;
}
body #app .sa-brand-hero .renew-actions .btn.p:hover {
  background: #ffbd7b !important;
}
body #app .sa-brand-hero .renew-actions .renew-text-link {
  color: #fff;
  min-height: 44px;
  text-decoration-color: #a9c9d7;
}
body #app .sa-brand-hero .renew-hero-visual {
  margin: 0;
  min-width: 0;
  padding: .55rem;
  border: 1px solid #8cafbf60;
  border-radius: 22px;
  background: #081e2c90;
  box-shadow: 0 24px 55px #020b133b;
}
body #app .sa-brand-hero .renew-image-frame {
  height: auto;
  aspect-ratio: 1.72;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  box-shadow: none;
  background: var(--sa-brand-deep);
}
body #app .sa-brand-hero .renew-image-frame > img {
  object-position: 40% 50%;
}
body #app .sa-brand-hero .sa-gallery-pause {
  inset: auto auto .65rem .65rem;
  min-height: 40px;
  padding: .35rem .75rem;
  background: #102d43ed;
  color: #fff;
  border: 1px solid #ffffff66;
  font-size: .75rem;
}
.sa-brand-caption {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .35rem .15rem;
  color: #dcecf3;
  font-size: .79rem;
}
.sa-brand-caption span {
  width: 17px;
  height: 3px;
  background: var(--sa-brand-orange);
  border-radius: 3px;
}
.sa-entry-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  margin-block: -44px 0;
  z-index: 2;
}
.sa-entry-nav > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  min-height: 90px;
  padding: .85rem;
  color: var(--sa-brand-navy);
  background: #fff;
  border: 1px solid var(--sa-brand-line);
  border-radius: 13px;
  text-decoration: none;
  box-shadow: var(--sa-brand-shadow);
}
.sa-entry-nav > a:hover {
  border-color: var(--sa-brand-teal);
  box-shadow: 0 8px 24px #102d4320;
}
.sa-entry-nav strong,
.sa-entry-nav small {
  display: block;
  line-height: 1.55;
}
.sa-entry-nav strong {
  font-size: 1rem;
}
.sa-entry-nav small {
  margin-block-start: .2rem;
  color: #4e6676;
  font-size: .81rem;
}
.sa-entry-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--sa-brand-teal);
  background: #e5f2ef;
}
.sa-entry-icon svg {
  width: 22px;
  height: 22px;
}
body #app .renew-home :is(.renew-discover, .renew-featured, .renew-journey, .renew-live, .renew-insights) {
  padding-block: clamp(38px, 5vw, 66px);
}
body #app .renew-home :is(.renew-section-head, .renew-journey-intro) h2 {
  color: var(--sa-brand-navy);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
}
body #app .renew-home .renew-fields > a {
  border: 1px solid var(--sa-brand-line);
  border-radius: 12px;
  background: #fff;
}
body #app .renew-home .renew-fields > a:hover {
  border-color: var(--sa-brand-teal);
}
body #app .renew-home .renew-featured {
  background: #eaf1f2;
}
body #app .renew-home .renew-course-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body #app .renew-home .course-vcard {
  min-width: 0;
  border: 1px solid var(--sa-brand-line);
  border-radius: var(--sa-brand-radius);
  box-shadow: var(--sa-brand-shadow);
}
body #app .renew-home .course-vbody {
  padding: 1rem;
}
body #app .renew-home .renew-enterprise {
  background: var(--sa-brand-navy);
  border-radius: 20px;
}
body #app .renew-home .renew-final {
  background: #e3efed;
  border-radius: var(--sa-brand-radius);
}

/* Keep the brand visible in the catalog, course pages, and course workspace. */
body[data-page] #app :is(.v38-hero, .course-design-hero, .package-exp-branded-hero) {
  background: linear-gradient(140deg, #e4eef0, #f8faf8);
  border-block-end: 1px solid var(--sa-brand-line);
}
body[data-page] #app :is(.v38-hero, .course-design-hero, .package-exp-branded-hero) h1 {
  color: var(--sa-brand-navy) !important;
  font-weight: 700;
  line-height: 1.22;
}
body #app :is(.v38-stage, .cd-section) h2 {
  color: var(--sa-brand-navy);
}
body #publicCatalogMount :is(.public-course-card, .public-result-card),
body #app :is(.cd-price-card, .v38-certificate) {
  border: 1px solid var(--sa-brand-line);
  border-radius: var(--sa-brand-radius);
  box-shadow: var(--sa-brand-shadow);
}
body #app .cd-section-nav {
  border-block-end: 1px solid var(--sa-brand-line);
}
body #app .cd-section-nav button:is(:hover, :focus-visible) {
  color: var(--sa-brand-teal);
  background: #e5f2ef;
}
body #app .journey-learning .package-heading {
  background: #fff;
  border: 1px solid var(--sa-brand-line);
  border-inline-start: 4px solid var(--sa-brand-teal);
  border-radius: var(--sa-brand-radius);
  padding: clamp(.75rem, 2vw, 1.4rem);
  gap: .7rem;
}
body #app .journey-top-navigation button[aria-current=page] {
  background: var(--sa-brand-navy);
  box-shadow: inset 0 -3px var(--sa-brand-orange);
}
body #app .dashboard-admin-nav {
  background: var(--sa-brand-navy);
}
body #app .dashboard-tracking-kpis > div {
  background: #eaf3f3;
}
body:is([data-page=home], [data-page=programs], [data-page=course], [data-page=pkg], [data-page=dash], [data-page=learn], [data-page=admin], [data-page=trainer]) > a.wa {
  display: none !important;
}
body #chatLauncher {
  box-shadow: 0 8px 24px #102d4333;
}
body #chatLauncher::after {
  animation: none;
}
@media (max-width: 1100px) {
  body #app .renew-home .renew-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  body #app .sa-brand-hero .renew-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  body #app .renew-hero.sa-brand-hero h1 {
    font-size: clamp(2.1rem, 8vw, 3.5rem);
  }
  .sa-entry-nav {
    grid-template-columns: minmax(0, 1fr);
    margin-block-start: -37px;
    gap: .45rem;
  }
  .sa-entry-nav > a {
    min-height: 65px;
    padding: .6rem .75rem;
  }
  body[data-page=course] #chatLauncher {
    bottom: 90px;
  }
  body[data-page=course] #chatWin {
    bottom: 153px;
  }
}
@media (max-width: 530px) {
  body #app .renew-home .renew-course-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Workspace controls stay together across both writing directions. */
#hdr .renew-workspace-links[open] .renew-workspace-menu {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: .3rem;
  width: min(320px, calc(100vw - 24px));
  min-width: 0;
  max-width: none;
}
#hdr .renew-workspace-menu a {
  justify-content: center;
  text-align: center;
  white-space: normal;
  min-width: 0;
  padding: .5rem .35rem;
}
.sa-registration {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  padding-block: 1.15rem;
  margin-block: .7rem;
  border-block-start: 1px solid #96b7c345;
  color: #e1edf0;
}
.sa-registration-items,
.sa-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
}
.sa-registration-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .55rem .7rem;
  border: 1px solid #96b7c355;
  border-radius: 9px;
}
.sa-registration-item svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--sa-brand-orange);
}
.sa-registration-item span,
.sa-registration-item bdi {
  display: block;
  line-height: 1.4;
}
.sa-registration-item span {
  font-size: .8rem;
  color: #bfd4dd;
}
.sa-registration-item bdi {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ftr .sa-footer-legal a {
  display: inline-flex;
  color: #d6e6ec;
}
.ftr .sa-footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.sa-cert-path {
  padding-block: 1.3rem;
}
.sa-cert-path h2 {
  margin-block: .2rem .8rem;
  color: var(--sa-brand-navy);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
}
.sa-cert-path ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sa-cert-path button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  text-align: start;
  gap: .65rem;
  width: 100%;
  height: 100%;
  padding: .8rem;
  border: 1px solid var(--sa-brand-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sa-brand-navy);
  cursor: pointer;
  font: inherit;
}
.sa-cert-path button:hover {
  border-color: var(--sa-brand-teal);
  background: #eef7f5;
}
.sa-cert-path button bdi {
  color: var(--sa-brand-teal);
  background: #e5f2ef;
  padding: .25rem .45rem;
  border-radius: 6px;
}
.sa-cert-path button strong,
.sa-cert-path button small {
  display: block;
  line-height: 1.45;
}
.sa-cert-path button small {
  color: #496575;
  margin-block-start: .2rem;
}

/* The admin canvas owns its layout, even when a legacy sidebar stylesheet loads. */
#app .renew-admin-layout.dashboard-admin-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(.75rem, 2vw, 1.5rem);
  width: min(1440px, calc(100% - 32px));
  min-width: 0;
  padding: clamp(.7rem, 2vw, 1.45rem) !important;
  background: #f8faf9;
  border: 1px solid var(--sa-brand-line);
  border-radius: var(--sa-brand-radius);
}
#app .dashboard-admin-shell > :is(.dashboard-admin-nav, #admBody) {
  grid-area: auto / 1;
  min-width: 0;
  width: 100%;
}
#app .dashboard-admin-shell .admin-kpis-v8 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 146px), 1fr));
  gap: .75rem;
}
#app .dashboard-admin-shell .admin-kpis-v8 > .akpi {
  border-radius: 12px;
  padding: .95rem;
  box-shadow: none;
}
#app .dashboard-admin-shell .admin-overview-grid {
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#app .dashboard-admin-shell .apanel,
#app .trainer-progress-page .dashboard-tracking {
  border: 1px solid var(--sa-brand-line);
  border-radius: var(--sa-brand-radius);
  box-shadow: var(--sa-brand-shadow);
}
body:has(#app .dashboard-admin-shell) :is(#chatLauncher, #chatWin, a.wa) {
  display: none !important;
}
#app .journey-learning .journey-top-navigation button {
  min-width: 0;
  white-space: normal;
}
#app .journey-learning :is(.learning-section-strip, .journey-section-tools) {
  border-color: var(--sa-brand-line);
}
#app .journey-learning .journey-sub-navigation button[aria-current=page] {
  background: #e0f0ed;
  color: #075955;
  border-color: #add4cc;
}
@media (max-width: 760px) {
  #hdr .renew-workspace-links[open] .renew-workspace-menu {
    position: fixed;
    inset-inline: 12px;
    inset-block-start: calc(var(--hdr, 88px) + .4rem);
    width: auto;
  }
  .sa-cert-path ol,
  #app .dashboard-admin-shell .admin-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Shared site navigation and directory. */
body #hdr.hdr {
  box-shadow: 0 5px 22px #102d430d !important;
}
#hdr #nav > .sa-nav-group {
  flex: none;
}
#hdr #nav > .sa-nav-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  padding: .6rem .5rem;
  min-height: 42px;
  color: var(--sa-brand-navy);
  font-size: .83rem;
  font-weight: 650;
  white-space: nowrap;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}
#hdr .sa-nav-group summary::-webkit-details-marker {
  display: none;
}
#hdr .sa-nav-group summary::after {
  content: "";
  flex: none;
  width: .36rem;
  height: .36rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-2px);
}
#hdr #nav > .sa-nav-group:is([open],.is-current) > summary,
#hdr #nav > .sa-nav-group > summary:hover {
  background: #faeee0;
  color: #874513;
}
#hdr .sa-nav-group[open] summary::after {
  transform: rotate(225deg);
}
#hdr .sa-nav-group summary:focus-visible,
#hdr .sa-nav-panel a:focus-visible {
  outline: 2px solid var(--sa-brand-teal);
  outline-offset: 2px;
}
#hdr .sa-nav-group[open] > .sa-nav-panel {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .8rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--sa-brand-line);
  border-radius: 13px;
  box-shadow: 0 18px 40px #102d4327;
}
.sa-nav-panel .sa-menu-group {
  display: grid;
  align-content: start;
  min-width: 0;
}
.sa-nav-panel .sa-menu-group:only-child {
  grid-column: 1/-1;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: .5rem;
}
.sa-nav-panel .sa-menu-group > strong {
  grid-column: 1/-1;
  padding: .35rem .6rem .6rem;
  margin-block-end: .2rem;
  color: var(--sa-brand-teal);
  font-size: .87rem;
}
body #hdr.hdr #nav .sa-nav-panel a {
  color: var(--sa-brand-navy);
  font-size: .85rem;
  min-height: 42px;
  white-space: normal;
  line-height: 1.55;
  padding: .55rem .6rem;
  border-radius: 8px;
}
body #hdr.hdr #nav .sa-nav-panel a:hover {
  background: #eaf3f1;
  color: #075955;
}
@media (min-width: 1181px) {
  body #hdr.hdr #nav {
    position: relative;
    overflow: visible;
  }
  #hdr .sa-nav-group[open] > .sa-nav-panel {
    position: absolute;
    z-index: 21;
    inset-inline: 0;
    inset-block-start: calc(100% + 8px);
  }
}
@media (max-width: 1180px) {
  body #hdr.hdr #nav.open {
    max-height: calc(100dvh - var(--hdr, 88px) - 12px);
    overflow-y: auto;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  #hdr #nav > .sa-nav-group[open] {
    grid-column: 1/-1;
  }
  #hdr #nav > .sa-nav-group {
    width: 100%;
  }
  #hdr #nav > .sa-nav-group > summary {
    padding-inline: .8rem;
    white-space: normal;
  }
  #hdr .sa-nav-group[open] > .sa-nav-panel {
    margin-block: .3rem .65rem;
    box-shadow: none;
    padding: .5rem;
  }
}
@media (max-width: 420px) {
  #hdr .sa-nav-group[open] > .sa-nav-panel {
    grid-template-columns: minmax(0,1fr);
    gap: .35rem;
  }
}

body footer.ftr {
  background: linear-gradient(140deg,#0a2233,#123548);
  border-block-start: 3px solid var(--sa-brand-orange);
}
body footer.ftr .ftr-g {
  display: grid;
  grid-template-columns: minmax(180px,1fr) minmax(0,2.65fr) minmax(156px,.85fr);
  gap: clamp(1rem,2.3vw,2rem);
  align-items: start;
}
.sa-footer-links {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .8rem;
  min-width: 0;
}
.sa-footer-links .sa-menu-group {
  min-width: 0;
}
.sa-footer-links .sa-menu-group > strong {
  display: block;
  color: #fff;
  font-size: .9rem;
  margin-block-end: .5rem;
}
body footer.ftr .sa-footer-links a {
  color: #c7dbe3;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
body footer.ftr .sa-footer-links a:hover {
  color: #ffd4a8;
}
body footer.ftr .ftr-bot {
  flex-wrap: wrap;
  gap: .5rem 1rem;
}
.sa-request-layout {
  grid-template-columns: minmax(0,1.75fr) minmax(0,1fr);
}
.sa-request-layout :is(.sa-request-form,.sa-corporate-request,.sa-request-sidebar .card) {
  border: 1px solid var(--sa-brand-line);
  border-radius: var(--sa-brand-radius);
  box-shadow: var(--sa-brand-shadow);
}
.sa-request-layout .sa-request-form h2 {
  margin-block-end: 1rem;
  color: var(--sa-brand-navy);
  font-size: 1.3rem;
}
.sa-request-layout > .sa-request-sidebar {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.sa-request-layout > .sa-corporate-request {
  grid-column: 1;
  min-width: 0;
}
@media (max-width: 900px) {
  body footer.ftr .ftr-g {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
  .sa-footer-links {
    grid-column: 1/-1;
    grid-row: 2;
  }
}
@media (max-width: 680px) {
  body footer.ftr .ftr-g,
  .sa-request-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .sa-footer-links,
  .sa-request-layout > .sa-request-sidebar {
    grid-area: auto / 1;
  }
  .sa-footer-links {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .sa-request-layout:not(:has(> .sa-request-form)) > .sa-corporate-request {
    grid-row: 1;
  }
}

/* Home services, gallery and film. */
body #app .sa-home-services {
  grid-template-columns: repeat(5,minmax(0,1fr));
  margin-block: 0;
  padding-block: .85rem;
}
.sa-home-services > a {
  grid-template-columns: auto minmax(0,1fr);
  gap: .55rem;
  min-height: 58px;
  padding: .45rem .65rem;
  box-shadow: none;
  transition: border-color .2s, background .2s;
}
.sa-home-services > a:is(:hover,:focus-visible) {
  border-color: var(--sa-brand-teal);
  background: #edf7f4;
}
body #app .renew-hero.sa-brand-hero {
  padding-block: clamp(32px,5vw,72px);
}
body #app .sa-brand-hero .sa-hero-gallery {
  position: relative;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 16/9;
  isolation: isolate;
}
.sa-hero-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: sa-hero-pan 14s ease-in-out infinite alternate;
}
.sa-hero-gallery img:first-child {opacity:1}
.sa-hero-gallery img:nth-child(2) {
  animation: sa-hero-pan 14s ease-in-out infinite alternate, sa-hero-second 25s ease-in-out infinite;
}
.sa-hero-gallery img:nth-child(3) {
  animation: sa-hero-pan 14s ease-in-out infinite alternate, sa-hero-third 25s ease-in-out infinite;
}
@keyframes sa-hero-pan {
  from {transform:scale(1.015)}
  to {transform:scale(1.08)}
}
@keyframes sa-hero-second {
  0%,27%,100% {opacity:0}
  35%,72% {opacity:1}
  80% {opacity:0}
}
@keyframes sa-hero-third {
  0%,61%,100% {opacity:0}
  70%,92% {opacity:1}
}
.sa-hero-gallery:active img {animation-play-state:paused}
.sa-home-video {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  align-items: center;
  gap: clamp(1rem,4vw,3rem);
  margin-block: clamp(1.3rem,4vw,3rem) 0;
  padding: clamp(1rem,3vw,2rem);
  border: 1px solid var(--sa-brand-line);
  border-radius: 20px;
  background: linear-gradient(120deg,#edf6f4,#fff 72%);
  box-shadow: var(--sa-brand-shadow);
}
.sa-home-video h2 {margin-block:.45rem;color:var(--sa-brand-navy)}
.sa-home-video p {margin:0;color:#38566a}
.sa-hero-film {
  overflow: hidden;
  aspect-ratio: 16/9;
  margin: 0;
  border-radius: 13px;
  background: var(--sa-brand-deep);
}
.sa-hero-film video {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 930px) {
  body #app .sa-home-services {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 690px) {
  body #app .sa-home-services {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sa-home-video {grid-template-columns:minmax(0,1fr)}
  .sa-home-services .sa-entry-icon {width:30px;height:30px}
  .sa-home-services .sa-entry-icon svg {width:17px;height:17px}
}
@media (max-width: 365px) {
  .sa-home-services strong {font-size:.85rem}
}

/* Learner reviews and partner marks. */
.sa-home-ratings,
.sa-home-entities {
  padding-block: clamp(1.4rem,3vw,3rem);
}
.sa-home-ratings {
  padding-inline: clamp(.85rem,3vw,2rem);
  border: 1px solid #dbeae7;
  border-radius: 23px;
  background: linear-gradient(135deg,#f9fcfb,#eaf4f1);
}
.sa-home-entities {
  --sa-card-width: 180px;
}
.sa-motion-rail {
  --sa-motion-gap: .85rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 14px;
  padding-block: .2rem .6rem;
  mask-image: linear-gradient(to right,transparent,#000 2%,#000 98%,transparent);
}
.sa-motion-track {
  display: flex;
  width: max-content;
  animation: sa-loop 36s linear infinite;
}
.sa-motion-entities .sa-motion-track {
  animation-duration: 52s;
}
.sa-motion-rail:is(:hover,:focus-within,:active) .sa-motion-track {
  animation-play-state: paused;
}
@keyframes sa-loop {
  to { transform: translateX(-50%); }
}
.sa-motion-list {
  display: flex;
  gap: var(--sa-motion-gap);
  list-style: none;
  padding: 0 var(--sa-motion-gap) 0 0;
  margin: 0;
}
.sa-review-card,
.sa-entity-card {
  display: grid;
  flex: 0 0 auto;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dce8e8;
  border-radius: 14px;
  background: #fff;
  color: var(--sa-brand-navy);
}
.sa-review-card {
  width: min(310px,78vw);
  align-content: start;
  min-height: 158px;
  box-shadow: 0 4px 12px #102d4309;
}
.sa-review-card header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-block-end: .6rem;
}
.sa-review-avatar {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-content: center;
  border-radius: 50%;
  background: #d9eeea;
  color: #0c605e;
  font-weight: 750;
}
.sa-review-card bdi {
  font-size: .89rem;
  font-weight: 750;
}
.sa-review-card small {
  display: block;
  color: #476779;
  font-size: .79rem;
}
.sa-review-card blockquote {margin:0}
.sa-review-card p {
  margin: 0;
  color: #27485a;
  font-size: .88rem;
  line-height: 1.7;
}
.sa-review-source {
  display: inline-flex;
  margin-block-start: .55rem;
  font-size: .83rem;
}
.sa-entity-card {
  width: var(--sa-card-width);
  min-height: 114px;
  place-content: center;
  justify-items: center;
  gap: .45rem;
  text-align: center;
  font-size: .83rem;
  line-height: 1.45;
}
.sa-entity-card img:not([hidden]) {
  display: block;
  width: min(100%,125px);
  height: 43px;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .sa-hero-gallery img {animation:none!important}
  .sa-motion-rail {mask-image:none;scrollbar-width:auto}
  .sa-motion-track {animation:none}
  .sa-motion-list[aria-hidden="true"] {display:none}
}

/* Delivery formats in the public course catalog. */
.sa-format-filters {
  margin: 0 0 1rem;
  padding: 0;
  min-width: 0;
  border: 0;
}
.sa-format-filters legend {
  color: var(--sa-brand-navy);
  font-weight: 750;
  margin-block-end: .55rem;
}
.sa-format-options {display:flex;flex-wrap:wrap;gap:.5rem}
.sa-format-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.public-catalog-tools .sa-format-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  clip-path: inset(50%);
  opacity: 0;
}
.sa-format-options span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid var(--sa-brand-line);
  border-radius: 99px;
  background: #f5f8f9;
  color: var(--sa-brand-navy);
  font-weight: 650;
  font-size: .9rem;
}
.sa-format-options label:hover span {border-color:var(--sa-brand-teal)}
.sa-format-options input:checked + span {
  background: var(--sa-brand-navy);
  color: #fff;
  border-color: var(--sa-brand-navy);
}
.sa-format-options input:focus-visible + span {
  outline: 2px solid var(--sa-brand-teal);
  outline-offset: 3px;
}
