/*
 * Accueil college local
 *
 * Cette feuille est volontairement conditionnee par data-home-college : le
 * bandeau historique du lycee conserve ainsi exactement son comportement
 * lorsque les parcours college ne sont pas disponibles dans l'environnement.
 */

body[data-home-college="true"] .main-banner .caption > h6 {
  color: #fff;
  opacity: 1;
  text-shadow: 0 1px 16px rgba(4, 17, 38, .62);
}

body[data-home-college="true"] .main-banner .caption > h6 i {
  color: #d6f7ff;
  opacity: 1;
  font-weight: 700;
  animation: none;
  text-shadow: 0 1px 16px rgba(4, 17, 38, .72);
}

body[data-home-college="true"] .main-banner .caption .index2-hero-title {
  max-width: 880px;
}

body[data-home-college="true"] #choisir-classe,
body[data-home-college="true"] #parcours-accueil,
body[data-home-college="true"] #college-accueil {
  scroll-margin-top: 96px;
}

/* Cinq choix restent lisibles : trois sur une ligne intermediaire, cinq sur
   les grands ecrans et deux touches larges lorsque la place devient rare. */
@media (min-width: 576px) {
  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a {
    min-height: 106px;
    border-bottom: 1px solid rgba(11, 31, 58, .1);
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:nth-child(3n) {
    border-right: 0;
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* Une passerelle sur toute la largeur laisse assez d'espace a chaque niveau.
   Le titre reste au-dessus : aucun libelle de terminale ne doit etre serre. */
@media (min-width: 992px) {
  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-gateway-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (min-width: 1280px) {
  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a {
    min-width: 0;
    min-height: 116px;
    padding: 18px 25px 17px 14px;
    border-bottom: 0;
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:not(:last-child) {
    border-right: 1px solid rgba(11, 31, 58, .1);
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:last-child {
    border-right: 0;
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a > span {
    font-size: 20px;
  }
}

@media (min-width: 576px) and (max-width: 719px) {
  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a,
  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:nth-child(3n) {
    border-right: 1px solid rgba(11, 31, 58, .1);
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:nth-child(2n) {
    border-right: 0;
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:nth-child(4) {
    border-bottom: 1px solid rgba(11, 31, 58, .1);
  }

  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
}

body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:hover,
body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:focus-visible {
  transition: none;
  color: #fff;
  background: #0b2647;
}

body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:hover strong,
body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:focus-visible strong {
  color: #fff;
}

body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:hover > span,
body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:hover small,
body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:hover i,
body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:focus-visible > span,
body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:focus-visible small,
body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:focus-visible i {
  color: #d6f7ff;
}

body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:focus-visible {
  outline: 3px solid #f5a425;
  outline-offset: -3px;
  box-shadow: inset 0 0 0 3px #f5a425;
}

/* Les parcours lycee restent le point d'entree principal. Le college les suit
   dans le meme langage visuel, sans media externe ni nouveau composant. */
body[data-home-college="true"] .index2-college {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) 0 clamp(58px, 8vw, 108px);
  color: #0b2647;
  background: #f5f9fc;
}

body[data-home-college="true"] .index2-college::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url('/assets/images/index/parcours-learning-background.svg') center top / 1600px 2000px repeat-y;
  opacity: .62;
  pointer-events: none;
  content: "";
}

body[data-home-college="true"] .index2-college .container {
  position: relative;
  z-index: 1;
}

body[data-home-college="true"] .index2-college__heading {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, .72fr);
  align-items: end;
  column-gap: clamp(36px, 6vw, 92px);
  row-gap: 12px;
  max-width: 1180px;
  margin: 0 auto clamp(30px, 4vw, 46px);
}

body[data-home-college="true"] .index2-college__eyebrow,
body[data-home-college="true"] .index2-college-card__eyebrow {
  margin: 0 0 10px;
  color: #1678a8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

body[data-home-college="true"] .index2-college__heading h2 {
  margin: 0;
  color: #0b2647;
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
}

/* Les deux etapes scolaires ne sont pas une simple variation de couleur : le
   lycee garde une voix editoriale, le college devient un repere concret. */
body[data-home-college="true"] .index2-stage-word--lycee {
  position: relative;
  display: inline-block;
  padding: 0 .025em .06em;
  color: #0b2647;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.055em;
}

body[data-home-college="true"] .index2-stage-word--lycee::after {
  position: absolute;
  right: .035em;
  bottom: -.01em;
  left: .025em;
  height: .1em;
  border-radius: 99px;
  background: #e49a28;
  content: "";
}

body[data-home-college="true"] .index2-college__heading > .index2-college__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

body[data-home-college="true"] .index2-college__heading > p:last-child {
  max-width: 430px;
  margin: 0 0 3px;
  color: #3a5972;
  font-size: 16px;
  line-height: 1.65;
}

body[data-home-college="true"] .index2-college__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  max-width: 1180px;
  margin: 0 auto;
}

/* Le premier groupe donne une place equivalente aux trois annees du lycee.
   Le groupe college conserve volontairement deux cartes plus bas dans la page. */
body[data-home-college="true"] .index2-college__grid--lycee {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-home-college="true"] .index2-college__group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .18em .34em;
  max-width: 1180px;
  margin: clamp(54px, 7vw, 88px) auto clamp(18px, 2.5vw, 28px);
  color: #0b2647;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}

body[data-home-college="true"] .index2-stage-intro {
  color: #395b70;
  font-size: .43em;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-home-college="true"] .index2-stage-word--college {
  display: inline-flex;
  min-height: 1.45em;
  align-items: center;
  padding: .07em .32em .12em;
  border: 1px solid #4f9e94;
  border-radius: .38em;
  background: #dff4ef;
  color: #0e655f;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.08em;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}

body[data-home-college="true"] .index2-stage-years {
  padding-bottom: .12em;
  color: #31566c;
  font-size: .43em;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-home-college="true"] .index2-college-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 474px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 23px;
  color: #fff;
  background: linear-gradient(142deg, #123b68 2%, #0b2647 58%, #0e6f92 145%);
  box-shadow: 0 22px 52px rgba(11, 38, 71, .18), inset 0 1px 0 rgba(255, 255, 255, .16);
  isolation: isolate;
}

body[data-home-college="true"] .index2-college-card[data-level="troisieme"] {
  background: linear-gradient(142deg, #153e52 2%, #0b2647 58%, #4c4387 145%);
}

body[data-home-college="true"] .index2-college-card[data-stage="lycee"][data-level="seconde"] {
  background: linear-gradient(142deg, #123b68 2%, #0b2647 58%, #087eaa 145%);
}

body[data-home-college="true"] .index2-college-card[data-stage="lycee"][data-level="premiere"] {
  background: linear-gradient(142deg, #302465 2%, #15153e 58%, #7966b4 145%);
}

body[data-home-college="true"] .index2-college-card[data-stage="lycee"][data-level="terminale"] {
  background: linear-gradient(142deg, #543719 2%, #142b4a 60%, #c4781d 148%);
}

body[data-home-college="true"] .index2-college-card::before,
body[data-home-college="true"] .index2-college-card::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

body[data-home-college="true"] .index2-college-card::before {
  top: -175px;
  right: -125px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 0 0 38px rgba(255, 255, 255, .045), 0 0 0 76px rgba(255, 255, 255, .025);
}

body[data-home-college="true"] .index2-college-card::after {
  right: -18px;
  bottom: -42px;
  width: 148px;
  height: 148px;
  background: radial-gradient(circle at 34% 30%, rgba(116, 222, 239, .65), rgba(116, 222, 239, 0) 68%);
  opacity: .72;
}

body[data-home-college="true"] .index2-college-card[data-level="troisieme"]::after {
  background: radial-gradient(circle at 34% 30%, rgba(245, 164, 37, .76), rgba(245, 164, 37, 0) 68%);
}

body[data-home-college="true"] .index2-college-card[data-stage="lycee"][data-level="premiere"]::after {
  background: radial-gradient(circle at 34% 30%, rgba(197, 174, 255, .72), rgba(197, 174, 255, 0) 68%);
}

body[data-home-college="true"] .index2-college-card[data-stage="lycee"][data-level="terminale"]::after {
  background: radial-gradient(circle at 34% 30%, rgba(255, 204, 111, .78), rgba(255, 204, 111, 0) 68%);
}

body[data-home-college="true"] .index2-college-card__top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  column-gap: 17px;
}

body[data-home-college="true"] .index2-college-card__mark {
  display: inline-flex;
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

body[data-home-college="true"] .index2-college-card__eyebrow {
  margin: 0 0 3px;
  color: #bcecf8;
  font-size: 9px;
}

body[data-home-college="true"] .index2-college-card[data-level="troisieme"] .index2-college-card__eyebrow {
  color: #ffe0aa;
}

body[data-home-college="true"] .index2-college-card[data-stage="lycee"][data-level="premiere"] .index2-college-card__eyebrow {
  color: #ddd0ff;
}

body[data-home-college="true"] .index2-college-card[data-stage="lycee"][data-level="terminale"] .index2-college-card__eyebrow {
  color: #ffe1a6;
}

body[data-home-college="true"] .index2-college-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}

body[data-home-college="true"] .index2-college-card__lead {
  max-width: 430px;
  margin: 28px 0 23px;
  color: rgba(255, 255, 255, .87);
  font-size: 16px;
  line-height: 1.58;
}

body[data-home-college="true"] .index2-college-card__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-home-college="true"] .index2-college-card__subjects li {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .95);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

body[data-home-college="true"] .index2-college-card__count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.35;
}

body[data-home-college="true"] .index2-college-card__count strong {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

body[data-home-college="true"] .index2-college-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 18px;
  margin-top: auto;
  padding-top: 30px;
}

body[data-home-college="true"] .index2-college-card__cta,
body[data-home-college="true"] .index2-college-card__sample {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

body[data-home-college="true"] .index2-college-card__cta {
  padding: 11px 16px;
  border: 1px solid #fff;
  border-radius: 7px;
  background: #fff;
  color: #0b2647;
  box-shadow: 0 9px 20px rgba(2, 17, 35, .2);
}

body[data-home-college="true"] .index2-college-card__sample {
  padding: 11px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .75);
  color: #fff;
}

body[data-home-college="true"] .index2-college-card__cta:hover,
body[data-home-college="true"] .index2-college-card__cta:focus-visible {
  color: #06233f;
  background: #d9f5fb;
  box-shadow: 0 13px 28px rgba(2, 17, 35, .28);
  transform: translateY(-2px);
}

body[data-home-college="true"] .index2-college-card__sample:hover,
body[data-home-college="true"] .index2-college-card__sample:focus-visible {
  color: #bcecf8;
  border-bottom-color: #bcecf8;
  transform: translateY(-2px);
}

body[data-home-college="true"] .index2-college-card__cta:focus-visible,
body[data-home-college="true"] .index2-college-card__sample:focus-visible {
  outline: 3px solid #f5a425;
  outline-offset: 4px;
}

/* Les cartes college empruntent le vocabulaire d'une feuille de travail :
   papier clair, angle de page et accent discret par niveau. Elles ne
   reutilisent donc pas les anneaux des parcours lycee. */
body[data-home-college="true"] .index2-college-card[data-stage="college"] {
  border-color: #73b8ad;
  color: #113d55;
  background: linear-gradient(138deg, #fbfffd 0%, #eef9f6 58%, #d9eee9 100%);
  box-shadow: 0 18px 42px rgba(8, 62, 78, .13), inset 5px 0 0 #16877c, inset 0 1px 0 #fff;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"][data-level="troisieme"] {
  border-color: #88b7b3;
  background: linear-gradient(138deg, #fcfffe 0%, #f0faf7 60%, #dfefea 100%);
  box-shadow: 0 18px 42px rgba(8, 62, 78, .13), inset 5px 0 0 #8479ae, inset 0 1px 0 #fff;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"]::before {
  top: -35px;
  right: -29px;
  width: 154px;
  height: 154px;
  border: 1px solid #a9d4cc;
  border-radius: 0;
  background: linear-gradient(135deg, #d8efe9 0 49%, #f5fcf9 50% 100%);
  box-shadow: -18px 18px 0 #e7f6f1;
  opacity: .88;
  transform: rotate(12deg);
}

body[data-home-college="true"] .index2-college-card[data-stage="college"]::after {
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border: 1px solid #9ccdc4;
  border-radius: 0;
  background: repeating-linear-gradient(-45deg, #d4ebe5 0 5px, #eff8f5 5px 10px);
  box-shadow: none;
  opacity: .7;
  transform: rotate(-7deg);
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] > * {
  position: relative;
  z-index: 1;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"]::before,
body[data-home-college="true"] .index2-college-card[data-stage="college"]::after {
  z-index: 0;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__mark {
  border-color: #60a99f;
  background: #e2f5f0;
  box-shadow: inset 0 1px 0 #fff;
  color: #0c5d58;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"][data-level="troisieme"] .index2-college-card__mark {
  border-color: #8d83b6;
  background: #efedf8;
  color: #433a73;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__eyebrow {
  color: #096e67;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"][data-level="troisieme"] .index2-college-card__eyebrow {
  color: #5c4d91;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] h3,
body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__count strong {
  color: #0b2647;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__lead {
  color: #294c5f;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__subjects li {
  border-color: #a7d2ca;
  background: #fff;
  color: #1d4c61;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__count {
  color: #3b6170;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__cta {
  min-height: 46px;
  border-color: #0b2647;
  background: #0b2647;
  color: #fff;
  box-shadow: 0 9px 20px rgba(4, 35, 60, .2);
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample {
  min-height: 46px;
  border-bottom-color: #0b2647;
  color: #0b2647;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__cta:hover,
body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__cta:focus-visible {
  background: #086d67;
  color: #fff;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample:hover,
body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample:focus-visible {
  border-bottom-color: #086d67;
  color: #086d67;
}

body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__cta:focus-visible,
body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample:focus-visible {
  outline-color: #0b2647;
  outline-offset: 4px;
}

body[data-home-college="true"] .index2-college__access {
  display: flex;
  max-width: 1180px;
  align-items: flex-start;
  gap: 10px;
  margin: clamp(25px, 4vw, 38px) auto 0;
  color: #47647b;
  font-size: 13px;
  line-height: 1.55;
}

body[data-home-college="true"] .index2-college__access::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: .49em;
  border-radius: 50%;
  background: #1689bb;
  box-shadow: 0 0 0 4px rgba(22, 137, 187, .12);
  content: "";
}

/* A cette largeur, une colonne garde les listes de matieres et les deux
   actions de chaque parcours immediatement lisibles. Les cartes college
   conservent leurs deux colonnes. */
@media (min-width: 840px) and (max-width: 1099px) {
  body[data-home-college="true"] .index2-college__grid--lycee {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
  }
}

@media (max-width: 839px) {
  body[data-home-college="true"] .index2-college__heading {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  body[data-home-college="true"] .index2-college__heading > p:last-child {
    max-width: 620px;
  }

  body[data-home-college="true"] .index2-college__grid {
    grid-template-columns: 1fr;
    max-width: 630px;
  }

  body[data-home-college="true"] .index2-college__group-title {
    max-width: 630px;
  }

  body[data-home-college="true"] .index2-college-card {
    min-height: 0;
  }
}

@media (max-width: 575px) {
  body[data-home-college="true"] .index2-college::before {
    background-position: left top;
    background-size: 1000px 1250px;
    opacity: .35;
  }
  body[data-home-college="true"] .index2-college {
    padding: 48px 0 54px;
  }

  body[data-home-college="true"] .index2-college__heading {
    margin-bottom: 28px;
  }

  body[data-home-college="true"] .index2-college__heading h2 {
    font-size: 33px;
  }

  body[data-home-college="true"] .index2-college__group-title {
    margin-top: 52px;
    margin-bottom: 20px;
    font-size: 27px;
  }

  body[data-home-college="true"] .index2-stage-intro {
    flex-basis: 100%;
    margin-bottom: .08em;
    font-size: 10px;
  }

  body[data-home-college="true"] .index2-stage-years {
    font-size: 11px;
  }

  body[data-home-college="true"] .index2-college-card {
    padding: 25px 22px 24px;
    border-radius: 18px;
  }

  body[data-home-college="true"] .index2-college-card__top {
    grid-template-columns: 49px minmax(0, 1fr);
    column-gap: 13px;
  }

  body[data-home-college="true"] .index2-college-card__mark {
    width: 49px;
    height: 49px;
    border-radius: 15px;
    font-size: 23px;
  }

  body[data-home-college="true"] .index2-college-card__lead {
    margin-top: 23px;
    font-size: 15px;
  }

  body[data-home-college="true"] .index2-college-card__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-top: 26px;
  }

  body[data-home-college="true"] .index2-college-card__cta,
  body[data-home-college="true"] .index2-college-card__sample {
    width: 100%;
    min-height: 48px;
  }

  body[data-home-college="true"] .index2-college-card__sample {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
  }

  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample {
    border-color: #82bbb1;
    background: #fff;
    color: #0b2647;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-home-college="true"] .index2-college-card__cta,
  body[data-home-college="true"] .index2-college-card__sample,
  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a {
    transition: none;
  }
}

@media (forced-colors: active) {
  body[data-home-college="true"] .index2-stage-word--lycee {
    color: CanvasText;
  }

  body[data-home-college="true"] .index2-stage-word--lycee::after {
    background: CanvasText;
  }

  body[data-home-college="true"] .index2-stage-word--college {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  body[data-home-college="true"] .index2-stage-intro,
  body[data-home-college="true"] .index2-stage-years {
    color: CanvasText;
  }

  body[data-home-college="true"] .index2-college-card,
  body[data-home-college="true"] .index2-college-card__subjects li,
  body[data-home-college="true"] .index2-college-card__mark,
  body[data-home-college="true"] .index2-college-card__cta,
  body[data-home-college="true"] .index2-college-card__sample {
    border: 1px solid CanvasText;
    background: Canvas;
    box-shadow: none;
    color: CanvasText;
  }

  body[data-home-college="true"] .index2-college-card[data-stage="college"]::before,
  body[data-home-college="true"] .index2-college-card[data-stage="college"]::after {
    display: none;
  }

  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__mark,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] h3,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__lead,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__subjects li,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__count,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__count strong,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__eyebrow,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__cta,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
    color: CanvasText;
  }

  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample {
    border: 1px solid CanvasText;
  }

  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__cta:focus-visible,
  body[data-home-college="true"] .index2-college-card[data-stage="college"] .index2-college-card__sample:focus-visible {
    outline-color: Highlight;
    outline-offset: 4px;
  }

  body[data-home-college="true"] .index2-college-card h3,
  body[data-home-college="true"] .index2-college-card__lead,
  body[data-home-college="true"] .index2-college-card__count,
  body[data-home-college="true"] .index2-college-card__count strong,
  body[data-home-college="true"] .index2-college-card__eyebrow {
    color: CanvasText;
  }

  body[data-home-college="true"] .index2-college-card__cta:focus-visible,
  body[data-home-college="true"] .index2-college-card__sample:focus-visible,
  body[data-home-college="true"] .index2-class-gateway[data-home-level-count="5"] .class-links a:focus-visible {
    outline: 3px solid Highlight;
    outline-offset: -3px;
  }
}
