/* =====================================================================
   Extra-academic schools section
   Same quiet language as the Diploma fields section: light grey ground,
   rows divided by hairlines, the active row white with a thin coloured
   edge, a photo on the left that fades into the page. One more column
   on the right for the schools; each school keeps its own colour.
   Every class starts with xs- so nothing collides with the site's
   existing style_home.css / style_new_web_meli.css.
   ===================================================================== */

.xs-section {
  --xs-ground: #f2f2f2;
  --xs-ink: #252525;
  --xs-muted: #666b73;
  --xs-hair: #d9d9d9;
  --xs-navy: #227493;
  --xs-school: #227493;
  --xs-font: "Open Sans", Arial, Helvetica, sans-serif;

  position: relative;
  width: 100%;
  padding: 44px 0 56px;
  background: var(--xs-ground);
  color: var(--xs-ink);
  direction: rtl;
  font-family: var(--xs-font);
  overflow: hidden;
  box-sizing: border-box;
}
.xs-section *, .xs-section *::before, .xs-section *::after { box-sizing: border-box; font-family: var(--xs-font); }

/* ---------- Photo on the left, fading into the page ---------- */
.xs-visual {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  overflow: hidden;
  z-index: 0;
}
.xs-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.xs-layer.is-on { opacity: 1; }
.xs-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(242,242,242,0) 0%,
    rgba(242,242,242,.10) 22%,
    rgba(242,242,242,.72) 46%,
    rgba(242,242,242,.94) 62%,
    var(--xs-ground) 78%);
}

/* ---------- Head (right aligned, as in Diploma) ---------- */
.xs-head,
.xs-cols {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 38px;
}
.xs-head { margin-bottom: 26px; }
.xs-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--xs-ink);
}
.xs-head p {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--xs-ink);
}

/* ---------- Columns ---------- */
.xs-stage { position: static; } /* the photo spans the whole section, behind the title too */

.xs-cols {
  display: grid;
  grid-template-columns: 260px 240px minmax(0, 480px);
  gap: 56px;
  align-items: start;
}
.xs-stage.is-single .xs-cols { grid-template-columns: 260px minmax(0, 480px); }
.xs-stage.is-single .xs-fields-col { display: none; }
/* Ascolot: categories in two columns, with a wider column for them */
.xs-stage.is-two .xs-cols { grid-template-columns: 260px minmax(0, 600px); }
.xs-courses.xs-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

.xs-label {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--xs-hair);
  color: var(--xs-navy);
  font-size: 14px;
  font-weight: 700;
}

/* shared row look: schools, fields */
.xs-school,
.xs-fields button {
  position: relative;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--xs-hair);
  background: transparent;
  color: var(--xs-ink);
  text-align: right;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.xs-school::after,
.xs-fields button::after {
  content: "";
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 2px;
  background: transparent;
  transition: background .2s ease;
}

/* schools */
.xs-schools { display: block; }
.xs-school {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 9px 12px;
}
.xs-school img { flex: none; width: 24px; height: 24px; object-fit: contain; }
.xs-school span { min-width: 0; }
.xs-school b { display: block; font-size: 17px; font-weight: 600; line-height: 1.25; }
.xs-school small { display: block; font-size: 14px; line-height: 1.3; color: var(--xs-muted); }
.xs-school:hover b { color: var(--xs-c); }
.xs-school[aria-selected="true"] { background: #ffffff; }
.xs-school[aria-selected="true"]::after { background: var(--xs-c); }
.xs-school[aria-selected="true"] b { color: var(--xs-c); font-weight: 700; }

/* fields */
.xs-fields { margin: 0; padding: 0; list-style: none; }
.xs-fields button {
  display: block;
  min-height: 56px;
  padding: 15px 12px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}
.xs-field-line { display: none; }
.xs-fields button:hover { color: var(--xs-school); }
.xs-fields button.is-active { background: #ffffff; color: var(--xs-school); font-weight: 700; }
.xs-fields button.is-active::after { background: var(--xs-school); }

/* ---------- Courses ---------- */
.xs-panel { min-width: 0; }
.xs-courses { display: block; }

.xs-course {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--xs-hair);
  color: var(--xs-ink);
  text-decoration: none !important;
  animation: xs-in 420ms ease both;
  animation-delay: calc(var(--i, 0) * 35ms);
  transition: color .2s ease;
}
.xs-course-icon {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--xs-school);
}
.xs-course-icon svg { width: 17px; height: 17px; display: block; }
.xs-course-title {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}
.xs-course-arrow {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--xs-school);
  transition: transform .2s ease;
}
.xs-course-arrow svg { width: 100%; height: 100%; display: block; }
.xs-course:hover,
.xs-course:focus-visible { color: var(--xs-school); }
.xs-course:hover .xs-course-title { font-weight: 600; }
.xs-course:hover .xs-course-arrow { transform: translateX(-4px); }

/* ---------- School site link ---------- */
.xs-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--xs-school);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
}
.xs-site svg { width: 14px; height: 14px; transition: transform .2s ease; }
.xs-site:hover { text-decoration: underline !important; }
.xs-site:hover svg { transform: translateX(-3px); }

.xs-school:focus-visible,
.xs-fields button:focus-visible,
.xs-course:focus-visible,
.xs-site:focus-visible,
.xs-m summary:focus-visible {
  outline: 2px solid var(--xs-navy);
  outline-offset: 2px;
}

@keyframes xs-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Narrower desktops ---------- */
@media (max-width: 1250px) {
  .xs-head, .xs-cols { padding: 0 24px; }
  .xs-cols { grid-template-columns: 230px 210px minmax(0, 440px); gap: 36px; }
  .xs-stage.is-single .xs-cols { grid-template-columns: 230px minmax(0, 440px); }
  .xs-stage.is-two .xs-cols { grid-template-columns: 230px minmax(0, 540px); }
  .xs-courses.xs-two { column-gap: 28px; }
  .xs-visual { width: 50%; }
  .xs-visual::after {
    background: linear-gradient(to right, rgba(242,242,242,.35) 0%, rgba(242,242,242,.85) 40%, var(--xs-ground) 70%);
  }
}

/* ---------- Mobile: one row per school ---------- */
.xs-mobile { display: none; }

@media (max-width: 1024px) {
  .xs-section { padding: 36px 0 44px; }
  .xs-head { padding: 0 16px; margin-bottom: 20px; }
  .xs-head p { font-size: 15.5px; }
  .xs-stage { display: none; }

  .xs-mobile {
    display: block;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px;
    border-top: 1px solid var(--xs-hair);
  }
  .xs-m { border-bottom: 1px solid var(--xs-hair); }
  .xs-m > summary {
    list-style: none;
    display: grid;
    grid-template-columns: 26px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding: 10px 4px;
    cursor: pointer;
  }
  .xs-m summary::-webkit-details-marker { display: none; }
  .xs-m > summary img { width: 26px; height: 26px; object-fit: contain; }
  .xs-m > summary b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
  .xs-m > summary small { display: block; font-size: 13px; line-height: 1.3; color: var(--xs-muted); }
  .xs-m > summary i { font-style: normal; font-size: 12.5px; color: var(--xs-muted); white-space: nowrap; }
  .xs-m[open] > summary { background: #fff; box-shadow: inset -2px 0 0 var(--xs-school); }
  .xs-m[open] > summary b { color: var(--xs-school); font-weight: 700; }

  .xs-m-img { height: 120px; overflow: hidden; }
  .xs-m-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .xs-m-body { padding: 4px 4px 16px; }

  .xs-m-field { border-bottom: 1px solid var(--xs-hair); }
  .xs-m-field > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding-inline-start: 12px;
    font-size: 15.5px;
    cursor: pointer;
  }
  .xs-m-field > summary span { margin-inline-start: auto; font-size: 12.5px; color: var(--xs-muted); }
  .xs-m-field[open] > summary { color: var(--xs-school); font-weight: 700; }
  .xs-m-field .xs-courses { padding: 0 12px 8px 0; }
  .xs-m-field .xs-course:last-child { border-bottom: 0; }

  .xs-courses.xs-two { display: block; }
  .xs-course { min-height: 52px; padding: 10px 2px; }
  .xs-course-title { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .xs-section *, .xs-section *::before, .xs-section *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* =====================================================================
   Business clients and organisations
   Taken from the Diploma homepage (same photo, layout and type), in the
   Extra-academic navy instead of the Diploma burgundy.
   ===================================================================== */

.xs-org {
  --xs-org-navy: #227493;
  --xs-org-ink: #252525;
  --xs-org-font: "Open Sans", Arial, Helvetica, sans-serif;

  position: relative;
  width: 100%;
  padding: 80px 38px;
  background: #ffffff;
  direction: rtl;
  overflow: hidden;
  box-sizing: border-box;
  font-family: var(--xs-org-font);
}
.xs-org *, .xs-org *::before, .xs-org *::after { box-sizing: border-box; font-family: var(--xs-org-font); }

.xs-org::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.openu.ac.il/diploma/images/index/banner_org.png") center / cover no-repeat;
  filter: brightness(0.97) saturate(0.92);
  pointer-events: none;
}

.xs-org__box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.xs-org__tag {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--xs-org-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.xs-org__title {
  margin: 15px 0 25px;
  color: var(--xs-org-ink);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.3;
}

.xs-org__intro { max-width: 1200px; margin: 0 auto; }
.xs-org__intro p {
  margin: 0;
  color: var(--xs-org-ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
}

.xs-org-model-title {
  margin: 40px 0 28px;
  color: var(--xs-org-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.xs-org-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.xs-org-step {
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #d9d9d5;
  text-align: center;
}

.xs-org-step__icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.xs-org-step__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--xs-org-navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.xs-org-step h3 {
  margin: 0 0 14px;
  color: var(--xs-org-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.xs-org-step p {
  margin: 0;
  padding: 0 14px;
  color: var(--xs-org-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
}

.xs-org-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.xs-org-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  background: var(--xs-org-navy);
  color: #ffffff !important;
  border: 1px solid var(--xs-org-navy);
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease;
}
.xs-org-btn:hover { background: #ffffff; color: var(--xs-org-navy) !important; }
.xs-org-btn:focus-visible { outline: 2px solid var(--xs-org-navy); outline-offset: 3px; }

@media (max-width: 1100px) {
  .xs-org { padding: 64px 32px; }
  .xs-org-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 700px) {
  .xs-org { padding: 48px 16px; }
  .xs-org__intro p { font-size: 15.5px; line-height: 1.7; }
  .xs-org-model-title { font-size: 19px; margin: 32px 0 20px; }
  .xs-org-steps { grid-template-columns: 1fr; gap: 14px; }
  .xs-org-step { padding: 20px 0; }
  .xs-org-step p { font-size: 15px; }
  .xs-org-btn { width: 100%; padding: 0 14px; text-align: center; }
}


/* =====================================================================
   Organisations logo strip (as on the Diploma homepage): plain logos,
   no boxes, frames or shadows, moving slowly; pauses on hover.
   ===================================================================== */

.xs-logos {
  width: 100%;
  padding: 45px 0 20px;
  background: #ffffff;
  border-top: 1px solid #d9d9d5;
  direction: rtl;
  overflow: hidden;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
.xs-logos * { font-family: "Open Sans", Arial, Helvetica, sans-serif; }

.xs-logos__title {
  margin: 0 0 10px;
  padding: 0 16px;
  color: #252525;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.xs-logos__viewport { width: 100%; overflow: hidden; }

.xs-logos__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 20px 0;
  list-style: none;
  animation: xs-logos-run 65s linear infinite;
}
.xs-logos__viewport:hover .xs-logos__track { animation-play-state: paused; }

.xs-logos__track li {
  flex: none;
  width: 200px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.xs-logos__track img {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 65px;
  border: 0;
  background: transparent;
}

@keyframes xs-logos-run {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

@media (max-width: 991px) {
  .xs-logos__title { font-size: 24px; }
  .xs-logos__track li { width: 160px; margin: 0 8px; }
  .xs-logos__track img { max-width: 120px; max-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .xs-logos__track { animation: none; }
  .xs-logos__viewport { overflow-x: auto; }
}


/* =====================================================================
   Partners (sponsored programmes): same quiet language as the rest of
   the page. Logos in one row divided by hairlines, no rounded boxes.
   ===================================================================== */

.xs-partners {
  width: 100%;
  padding: 64px 38px 70px;
  background: #ffffff;
  direction: rtl;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
.xs-partners *, .xs-partners *::before, .xs-partners *::after { box-sizing: border-box; font-family: "Open Sans", Arial, Helvetica, sans-serif; }

.xs-partners__inner { max-width: 1200px; margin: 0 auto; text-align: center; }

.xs-partners__tag {
  display: inline-block;
  margin-bottom: 10px;
  color: #227493;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.xs-partners__title {
  margin: 10px 0 8px;
  color: #252525;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.3;
}
.xs-partners__subtitle {
  margin: 0 0 16px;
  color: #252525;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.xs-partners__text {
  max-width: 1100px;
  margin: 0 auto;
  color: #252525;
  font-size: 17px;
  line-height: 1.85;
}

.xs-partners__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9d9d5;
  border-bottom: 1px solid #d9d9d5;
}
.xs-partners__list li + li { border-right: 1px solid #d9d9d5; }

.xs-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  padding: 18px;
  transition: background .2s ease;
}
.xs-partners__item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 72px;
  transition: transform .2s ease;
}
.xs-partners__item:hover { background: #f7f7f7; }
.xs-partners__item:hover img { transform: scale(1.04); }
.xs-partners__item:focus-visible { outline: 2px solid #227493; outline-offset: -4px; }

@media (max-width: 900px) {
  .xs-partners { padding: 44px 16px 48px; }
  .xs-partners__subtitle { font-size: 18px; }
  .xs-partners__text { font-size: 15.5px; line-height: 1.7; }
  .xs-partners__list { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .xs-partners__list li { border-bottom: 1px solid #d9d9d5; }
  .xs-partners__list li + li { border-right: 0; }
  .xs-partners__list li:nth-child(even) { border-right: 1px solid #d9d9d5; }
  .xs-partners__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .xs-partners__item { height: 110px; }
  .xs-partners__item img { max-width: 130px; max-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .xs-partners__item, .xs-partners__item img { transition: none; }
}


/* =====================================================================
   Top of the page, as on the Diploma homepage: hero over the video with
   a dark gradient on the text side, "nice to meet you" in two columns,
   and the numbers strip on white with navy icons.
   ===================================================================== */

.xs-hero,
.xs-about,
.xs-stats { direction: rtl; font-family: "Open Sans", Arial, Helvetica, sans-serif; box-sizing: border-box; }
.xs-hero *, .xs-about *, .xs-stats * { box-sizing: border-box; font-family: "Open Sans", Arial, Helvetica, sans-serif; }

/* ---------- Hero ---------- */
.xs-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 92px 38px;
  overflow: hidden;
  background: #0b1a2b;
}
.xs-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.xs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left,
    rgba(8, 20, 38, .80) 0%,
    rgba(8, 20, 38, .66) 28%,
    rgba(8, 20, 38, .38) 52%,
    rgba(8, 20, 38, .10) 72%,
    rgba(8, 20, 38, 0) 88%);
  pointer-events: none;
}
.xs-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; }
.xs-hero__copy { max-width: 860px; text-align: right; color: #ffffff; }

.xs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
}
.xs-hero__line-main, .xs-hero__line-accent { display: inline-block; height: 3px; }
.xs-hero__line-main { width: 34px; background: #ffffff; }
.xs-hero__line-accent { width: 18px; background: #4fc3d6; }

.xs-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.2;
}
.xs-hero h1 span { display: block; }
.xs-hero__brand { color: #4fc3d6; }

.xs-hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.xs-hero__actions { margin-top: 30px; }
.xs-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: #ffffff;
  color: #227493 !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(0, 20, 50, .25);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.xs-hero__cta:hover { background: #227493; color: #ffffff !important; transform: translateY(-2px); }
.xs-hero__cta:focus-visible { outline: 3px solid #4fc3d6; outline-offset: 3px; }

/* ---------- About ---------- */
.xs-about { width: 100%; padding: 80px 38px 40px; background: #ffffff; }
.xs-about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 60px;
  align-items: start;
}
.xs-about h2 {
  margin: 0;
  padding-top: 40px;
  color: #252525;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
}
.xs-about__text p {
  margin: 0;
  color: #252525;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.95;
}
.xs-about__text p + p { margin-top: 6px; }
.xs-about__text strong { font-weight: 700; }

/* ---------- Numbers ---------- */
.xs-stats { width: 100%; padding: 20px 38px 60px; background: #ffffff; }
.xs-stats__list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.xs-stats__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 12px;
  text-align: center;
}
.xs-stats__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 0;
  width: 1px;
  height: 50%;
  background: #d9d9d5;
}
.xs-stats__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  object-fit: contain;
  /* the icons are white: turn them the brand teal #227493 */
  filter: brightness(0) saturate(100%) invert(30%) sepia(72%) saturate(4807%) hue-rotate(179deg) brightness(84%) contrast(73%);
  transition: transform .25s ease;
}
.xs-stats__list li:hover .xs-stats__icon { transform: translateY(-3px); }
.xs-stats__num {
  display: block;
  margin-bottom: 8px;
  color: #252525;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.xs-stats__label { color: #252525; font-size: 17px; line-height: 1.45; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .xs-stats__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xs-stats__list li:nth-child(3n)::after { display: none; }
}
@media (max-width: 900px) {
  .xs-hero { min-height: 440px; padding: 48px 18px; }
  .xs-hero::after { background: linear-gradient(to left, rgba(8,20,38,.80) 0%, rgba(8,20,38,.62) 60%, rgba(8,20,38,.45) 100%); }
  .xs-hero p { font-size: 16px; }
  .xs-about { padding: 44px 18px 20px; }
  .xs-about__inner { grid-template-columns: 1fr; gap: 16px; }
  .xs-about h2 { padding-top: 0; }
  .xs-about__text p { font-size: 15.5px; line-height: 1.8; }
}
@media (max-width: 650px) {
  .xs-hero__cta { width: 100%; max-width: 340px; }
  .xs-stats { padding: 0 8px 32px; }
  .xs-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xs-stats__list li::after { display: none; }
  .xs-stats__list li:nth-child(odd) { border-left: 1px solid #d9d9d5; }
  .xs-stats__list li:nth-child(-n+4) { border-bottom: 1px solid #d9d9d5; }
  .xs-stats__icon { width: 34px; height: 34px; }
  .xs-stats__num { font-size: 24px; }
  .xs-stats__label { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .xs-hero__cta, .xs-stats__icon { transition: none; }
}


/* =====================================================================
   Blog: light grey ground, title on the right with a quiet "all posts"
   link, articles without frames (photo, school tag, title, one line,
   "read" link) divided by a hairline. Sideways swipe on phones.
   ===================================================================== */

.xs-blog {
  width: 100%;
  padding: 70px 38px 76px;
  background: #f2f2f2;
  direction: rtl;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
.xs-blog *, .xs-blog *::before, .xs-blog *::after { box-sizing: border-box; font-family: "Open Sans", Arial, Helvetica, sans-serif; }
.xs-blog__inner { max-width: 1200px; margin: 0 auto; }

.xs-blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.xs-blog__kicker { display: inline-block; margin-bottom: 8px; color: #227493; font-size: 14px; font-weight: 700; }
.xs-blog__h2 {
  margin: 0;
  color: #252525;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.3;
}
.xs-blog__lead {
  max-width: 760px;
  margin: 12px 0 0;
  color: #252525;
  font-size: 17px;
  line-height: 1.75;
}
.xs-blog__all,
.xs-blog__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #227493;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.xs-blog__all { flex: none; font-size: 16px; padding-bottom: 6px; }
.xs-blog__all svg, .xs-blog__more svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.xs-blog__all:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.xs-blog__all:hover svg { transform: translateX(-3px); }

.xs-blog__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.xs-blog__list > li { display: flex; }

.xs-blog__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d5;
  color: #252525;
  text-decoration: none !important;
}
.xs-blog__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e3e3e3;
}
.xs-blog__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.xs-blog__tag {
  margin-top: 14px;
  color: #227493;
  font-size: 12.5px;
  font-weight: 700;
}
.xs-blog__title {
  margin: 6px 0 6px;
  color: #252525;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  transition: color .2s ease;
}
.xs-blog__desc {
  margin: 0;
  color: #5a6270;
  font-size: 15px;
  line-height: 1.6;
}
.xs-blog__more { margin-top: auto; padding-top: 12px; font-size: 14px; }

.xs-blog__card:hover .xs-blog__media img { transform: scale(1.05); }
.xs-blog__card:hover .xs-blog__title { color: #227493; }
.xs-blog__card:hover .xs-blog__more svg { transform: translateX(-3px); }
.xs-blog__card:focus-visible,
.xs-blog__all:focus-visible { outline: 2px solid #227493; outline-offset: 4px; }

@media (max-width: 1100px) {
  .xs-blog__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 760px) {
  .xs-blog { padding: 44px 0 48px; }
  .xs-blog__head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 16px; margin-bottom: 24px; }
  .xs-blog__lead { font-size: 15.5px; line-height: 1.7; }
  .xs-blog__list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    padding: 0 16px 8px;
    scrollbar-width: thin;
  }
  .xs-blog__list > li { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .xs-blog__media img, .xs-blog__all svg, .xs-blog__more svg, .xs-blog__title { transition: none; }
}





/* =====================================================================
   Lead form in the hero, as on Diploma. The form keeps its own markup,
   names, ids and scripts; this only lays it out on a 4-column grid and
   overrides the old absolutely-positioned fields. Desktop only: on
   phones the existing mobile form at the bottom of the page is used.
   ===================================================================== */

@media (min-width: 1025px) {
  .xs-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: 42px;
    align-items: center;
  }
  .xs-hero h1 { font-size: clamp(30px, 3.2vw, 48px); }
}
@media (min-width: 801px) and (max-width: 1024px) {
  .xs-heroform { margin-top: 34px; }
}

.xs-hero .xs-heroform { position: relative; z-index: 2; direction: rtl; }
.xs-hero .xs-heroform * { box-sizing: border-box; font-family: "Open Sans", Arial, Helvetica, sans-serif !important; }

.xs-hero .xs-heroform .widescreen.form {
  position: relative !important;
  width: 100% !important;
  max-width: 620px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 30px !important;
  background: #ffffff !important;
  border: 1px solid rgba(34, 116, 147, .14) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 46px rgba(10, 15, 45, .18) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  text-align: right !important;
}
.xs-hero .xs-heroform .widescreen.form .form_content { width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; }

.xs-hero .xs-heroform .widescreen.form form {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 0 !important;
}
.xs-hero .xs-heroform .widescreen.form .form_row { display: contents !important; }
.xs-hero .xs-heroform .widescreen.form label { display: block; min-width: 0; margin: 0; }

.xs-hero .xs-heroform .widescreen.form .form_title { grid-column: 1 / -1; margin: 0 0 6px !important; text-align: center !important; }
.xs-hero .xs-heroform .widescreen.form .form_title_txt_top {
  display: block !important;
  color: #227493 !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

/* field placement (column 1 is the right-hand column) */
.xs-hero .xs-heroform label:has(#in_first_name) { grid-column: 1 / 3; grid-row: 2; }
.xs-hero .xs-heroform label:has(#in_last_name)  { grid-column: 3 / 5; grid-row: 2; }
.xs-hero .xs-heroform label:has(#in_phone)      { grid-column: 1 / 4; grid-row: 3; }
.xs-hero .xs-heroform label:has(#in_kidomet)    { grid-column: 4 / 5; grid-row: 3; }
.xs-hero .xs-heroform label:has(#in_email)      { grid-column: 1 / 3; grid-row: 4; }
.xs-hero .xs-heroform label:has(#in_school)     { grid-column: 3 / 5; grid-row: 4; }
.xs-hero .xs-heroform label:has(#in_cours)      { grid-column: 1 / 3; grid-row: 5; }
.xs-hero .xs-heroform .widescreen.form .form_input_button { grid-column: 3 / 5; grid-row: 5; }
.xs-hero .xs-heroform .widescreen.form .sendmetext { grid-column: 1 / -1; grid-row: 6; }

.xs-hero .xs-heroform .widescreen.form input[type="text"],
.xs-hero .xs-heroform .widescreen.form select {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(34, 116, 147, .2) !important;
  border-radius: 0 !important;
  background-color: #f8fafc !important;
  color: #252525 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: right !important;
  box-shadow: none !important;
}
.xs-hero .xs-heroform .widescreen.form select {
  padding-left: 32px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23227493' 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: left 10px center !important;
  background-size: 16px 16px !important;
  cursor: pointer;
}
.xs-hero .xs-heroform .widescreen.form input[type="text"]::placeholder { color: #5a6270; opacity: 1; }
.xs-hero .xs-heroform .widescreen.form input[type="text"]:focus,
.xs-hero .xs-heroform .widescreen.form select:focus {
  outline: none !important;
  border-color: #227493 !important;
  box-shadow: 0 0 0 3px rgba(34, 116, 147, .12) !important;
}

.xs-hero .xs-heroform .widescreen.form .form_input_button {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #227493 !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background .2s ease;
}
.xs-hero .xs-heroform .widescreen.form .form_input_button:hover { background: #00a0b5 !important; }
.xs-hero .xs-heroform .widescreen.form .form_input_button:focus-visible { outline: 3px solid #4fc3d6 !important; outline-offset: 2px; }

.xs-hero .xs-heroform .widescreen.form .sendmetext {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  height: auto !important;
  margin: 2px 0 0 !important;
  color: #252525 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-align: right !important;
}
.xs-hero .xs-heroform .widescreen.form .sendmetext input[type="checkbox"] {
  flex: none;
  width: 16px !important;
  height: 16px !important;
  margin: 2px 0 0 !important;
  accent-color: #227493;
}
.xs-hero .xs-heroform .widescreen.form .iagree_text { position: static !important; display: block !important; }

/* ==========================================================================
   BOTTOM LEAD FORM (above the footer) – desktop/tablet only
   Same fields/names/action as the hero form; ids end with _btm.
   ========================================================================== */
@media (min-width: 801px) {
  /* the old anchor + empty mobile-form wrapper left a white gap here */
  .form_modul { height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; line-height: 0 !important; font-size: 0 !important; }
  .bottom_body_box, .bottom_body_box #bottom_section { height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
}
.xs-leadbar {
  position: relative;
  padding: 70px 20px 60px;
  background: linear-gradient(to bottom, #ffffff 0, #ffffff 50%, #f2f2f2 50%, #f2f2f2 100%);
  direction: rtl;
}
.xs-leadbar__card { max-width: 1000px; margin: 0 auto; }
.xs-leadbar * { box-sizing: border-box; font-family: "Open Sans", Arial, Helvetica, sans-serif !important; }
.xs-leadbar .widescreen.form {
  position: relative !important; width: 100% !important; height: auto !important; margin: 0 !important;
  padding: 34px 70px 26px !important;
  background: #ffffff !important;
  border: 1px solid rgba(34, 116, 147, .12) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 46px rgba(10, 15, 45, .14) !important;
  text-align: right !important;
}
.xs-leadbar .widescreen.form .form_content { width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
.xs-leadbar .widescreen.form form {
  display: grid !important;
  grid-template-columns: 1.15fr 1.15fr 1fr .55fr;
  gap: 14px;
  margin: 0 !important;
}
.xs-leadbar .widescreen.form .form_row { display: contents !important; }
.xs-leadbar .widescreen.form label { display: block; min-width: 0; margin: 0; }
.xs-leadbar .switch-off { position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;display:block !important; }
.xs-leadbar .widescreen.form .form_title { grid-column: 1 / -1; margin: 0 0 8px !important; text-align: center !important; }
.xs-leadbar .widescreen.form .form_title_txt_top {
  display: block !important; color: #227493 !important;
  font-size: 26px !important; font-weight: 700 !important; line-height: 1.3 !important; text-align: center !important;
}
/* row 1: first, last, phone, prefix · row 2: email, school, course, button (column 1 = right) */
.xs-leadbar label:has(#in_first_name_btm) { grid-column: 1; grid-row: 2; }
.xs-leadbar label:has(#in_last_name_btm)  { grid-column: 2; grid-row: 2; }
.xs-leadbar label:has(#in_phone_btm)      { grid-column: 3; grid-row: 2; }
.xs-leadbar label:has(#in_kidomet_btm)    { grid-column: 4; grid-row: 2; }
.xs-leadbar label:has(#in_email_btm)      { grid-column: 1; grid-row: 3; }
.xs-leadbar label:has(#in_school_btm)     { grid-column: 2; grid-row: 3; }
.xs-leadbar label:has(#in_cours_btm)      { grid-column: 3; grid-row: 3; }
.xs-leadbar .widescreen.form .form_input_button { grid-column: 4; grid-row: 3; }
.xs-leadbar .widescreen.form .sendmetext { grid-column: 1 / -1; grid-row: 4; justify-content: center; }
.xs-leadbar .widescreen.form input[type="text"],
.xs-leadbar .widescreen.form select {
  position: static !important; display: block !important; width: 100% !important; height: 50px !important;
  margin: 0 !important; padding: 0 14px !important;
  border: 1px solid rgba(34, 116, 147, .2) !important; border-radius: 0 !important;
  background-color: #ffffff !important; color: #252525 !important;
  font-size: 16px !important; font-weight: 500 !important; text-align: right !important; box-shadow: none !important;
}
.xs-leadbar .widescreen.form select {
  padding-left: 32px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23227493' 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: left 10px center !important; background-size: 16px 16px !important;
  cursor: pointer;
}
.xs-leadbar .widescreen.form input[type="text"]::placeholder { color: #5a6270; opacity: 1; }
.xs-leadbar .widescreen.form input[type="text"]:focus,
.xs-leadbar .widescreen.form select:focus { outline: none !important; border-color: #227493 !important; box-shadow: 0 0 0 3px rgba(34, 116, 147, .12) !important; }
.xs-leadbar .widescreen.form .form_input_button {
  position: static !important; display: block !important; width: 100% !important; height: 50px !important;
  margin: 0 !important; padding: 0 12px !important; border: 0 !important; border-radius: 0 !important;
  background: #227493 !important; color: #ffffff !important;
  font-size: 17px !important; font-weight: 700 !important; line-height: 1 !important; cursor: pointer; transition: background .2s ease;
}
.xs-leadbar .widescreen.form .form_input_button:hover { background: #00a0b5 !important; }
.xs-leadbar .widescreen.form .form_input_button:focus-visible { outline: 3px solid #4fc3d6 !important; outline-offset: 2px; }
.xs-leadbar .widescreen.form .sendmetext {
  display: flex !important; align-items: flex-start !important; gap: 8px !important; height: auto !important;
  margin: 4px 0 0 !important; color: #252525 !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.45 !important;
}
.xs-leadbar .widescreen.form .sendmetext input[type="checkbox"] { flex: none; width: 16px !important; height: 16px !important; margin: 2px 0 0 !important; accent-color: #227493; }
.xs-leadbar .widescreen.form .iagree_text { position: static !important; display: block !important; }
@media (max-width: 1024px) {
  .xs-leadbar .widescreen.form { padding: 28px 26px 22px !important; }
  .xs-leadbar .widescreen.form .form_title_txt_top { font-size: 22px !important; }
}
@media (max-width: 800px) {
  .xs-leadbar { display: none !important; }
}

/* ==========================================================================
   MOBILE LEAD FORM on the homepage (#form_cell) – same look as the inner pages
   ========================================================================== */
@media (max-width: 800px) {
  body.xs-home .form_modul { display: none !important; }
  body.xs-home .bottom_body_box,
  body.xs-home #bottom_section,
  body.xs-home #bottom_section > article {
    width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important;
    position: static !important; height: auto !important; background: transparent !important;
  }
  body.xs-home .cellular:has(#form_cell) {
    display: block !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 34px 16px 40px !important;
    background: #f3f8fa !important;
    border-top: 1px solid #d9d9d5 !important;
  }
  body.xs-home .cellular a[name="formcell"] { display: block; height: 0; overflow: hidden; font-size: 0; }
  body.xs-home .cellular .form_content,
  body.xs-home .cellular .form_content_cell {
    position: static !important; width: auto !important; height: auto !important;
    margin: 0 !important; padding: 0 !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  }
  body.xs-home #form_cell {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto !important;
    padding: 24px 20px !important;
    background: #ffffff;
    border: 1px solid rgba(34, 116, 147, 0.22);
    box-shadow: 0 14px 34px rgba(10, 30, 45, 0.08);
    direction: rtl;
  }
  body.xs-home #form_cell * { box-sizing: border-box; font-family: "Open Sans", Arial, Helvetica, sans-serif !important; }
  body.xs-home #form_cell .form_title { margin: 0 0 4px !important; padding: 0 !important; height: auto !important; text-align: right !important; }
  body.xs-home #form_cell .form_title_txt_top,
  body.xs-home #form_cell .title_strong {
    display: block !important; margin: 0 !important; padding: 0 !important;
    color: #227493 !important; font-size: 22px !important; font-weight: 700 !important;
    line-height: 1.3 !important; text-align: right !important;
  }
  body.xs-home #form_cell .form_row,
  body.xs-home #form_cell .form_row_cell,
  body.xs-home #form_cell .form_row_button,
  body.xs-home #form_cell .form_row_button_cell {
    display: block !important; position: static !important; float: none !important;
    width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important;
  }
  body.xs-home #form_cell .form_row:has(select[name="in_kidomet"]),
  body.xs-home #form_cell .form_row_cell:has(select[name="in_kidomet"]) {
    display: grid !important; grid-template-columns: minmax(0, 1fr) 112px; gap: 10px;
  }
  body.xs-home #form_cell label { display: block !important; position: static !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  body.xs-home #form_cell .switch-off { position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;display:block !important; }
  body.xs-home #form_cell input[type="text"],
  body.xs-home #form_cell select {
    position: static !important; display: block !important; float: none !important;
    width: 100% !important; height: 50px !important; min-height: 50px !important;
    margin: 0 !important; padding: 0 12px !important;
    border: 1px solid rgba(34, 116, 147, 0.24) !important; border-radius: 0 !important;
    background-color: #ffffff !important; color: #252525 !important;
    font-size: 16px !important; font-weight: 400 !important; line-height: normal !important;
    text-align: right !important; box-shadow: none !important;
  }
  body.xs-home #form_cell select {
    padding-left: 32px !important;
    -webkit-appearance: none !important; appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23227493' 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: left 10px center !important; background-size: 16px 16px !important;
  }
  body.xs-home #form_cell input[type="text"]::placeholder { color: #252525; opacity: 1; }
  body.xs-home #form_cell input[type="text"]:focus,
  body.xs-home #form_cell select:focus {
    outline: none !important; border-color: #227493 !important; box-shadow: 0 0 0 3px rgba(34, 116, 147, 0.14) !important;
  }
  body.xs-home #form_cell .sendmetext {
    display: flex !important; align-items: flex-start !important; gap: 8px !important;
    position: static !important; width: 100% !important; height: auto !important;
    margin: 2px 0 0 !important; padding: 0 !important;
    background: transparent !important; border: 0 !important;
    color: #252525 !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; text-align: right !important;
  }
  body.xs-home #form_cell .sendmetext input[type="checkbox"] {
    display: block !important; flex: none; width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; transform: none !important; accent-color: #227493;
  }
  body.xs-home #form_cell .iagree_text { position: static !important; display: block !important; width: auto !important; }
  body.xs-home #form_cell input[type="submit"] {
    display: block !important; position: static !important; float: none !important;
    width: 100% !important; height: 52px !important; min-height: 52px !important;
    margin: 4px 0 0 !important; padding: 0 12px !important;
    border: 0 !important; border-radius: 0 !important;
    background: #227493 !important; color: #ffffff !important;
    font-size: 17px !important; font-weight: 700 !important; line-height: 1 !important;
    box-shadow: none !important; cursor: pointer;
  }
  body.xs-home #form_cell input[type="submit"]:active { background: #175973 !important; }
}

/* blog cards without the school tag: keep the gap under the image */
.xs-blog__media + .xs-blog__title { margin-top: 18px !important; }

/* Bottom lead form – option B: full-width brand band (overrides the card look above) */
.xs-leadbar { background: #227493 !important; padding: 56px 20px !important; }
.xs-leadbar__card { max-width: 1000px; }
.xs-leadbar .widescreen.form { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.xs-leadbar .widescreen.form .form_title_txt_top { color: #ffffff !important; }
.xs-leadbar .widescreen.form .sendmetext,
.xs-leadbar .widescreen.form .iagree_text { color: #ffffff !important; }
.xs-leadbar .widescreen.form .sendmetext input[type="checkbox"] { accent-color: #ffffff; }
.xs-leadbar .widescreen.form input[type="text"],
.xs-leadbar .widescreen.form select { background-color: #ffffff !important; border-color: #ffffff !important; }
.xs-leadbar .widescreen.form input[type="text"]:focus,
.xs-leadbar .widescreen.form select:focus { border-color: #ffffff !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, .55) !important; }
.xs-leadbar .widescreen.form .form_input_button { background: #ffffff !important; color: #227493 !important; }
.xs-leadbar .widescreen.form .form_input_button:hover { background: #e6f4f7 !important; color: #175973 !important; }
.xs-leadbar .widescreen.form .form_input_button:focus-visible { outline: 3px solid #ffffff !important; outline-offset: 3px; }
@media (max-width: 1024px) {
  .xs-leadbar { padding: 44px 20px !important; }
  .xs-leadbar .widescreen.form { padding: 0 !important; }
}

/* a11y: visually hidden labels */
.switch-off{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;display:block !important;}

/* form subtitle */
.xs-form-sub{display:block !important;margin:6px 0 2px !important;font-size:14.5px !important;font-weight:400 !important;line-height:1.55 !important;color:#4a5560 !important;text-align:inherit !important}
.xs-leadbar .xs-form-sub{color:#ffffff !important;font-size:15px !important}

/* ==========================================================================
   Hero video on phones and tablets: the logo in the video sits on the
   right side of the frame, and the default centred crop showed only the
   empty middle. Keep the right side of the frame in view instead.
   ========================================================================== */
@media (max-width: 1024px) {
  .xs-hero__video { object-position: 95% center; }
}
