/* Fiche enseignant — page d'accueil (section .home-teacher) */
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .school-community__layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important;
  align-items: center;
  gap: clamp(28px, 5vw, 64px) !important;
}

/* Colonne gauche : accroche */
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__intro p {
  max-width: 44ch !important;
}
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher a.school-community__cta {
  border: 0 !important;
  background: #ed5f54 !important;
  color: #151413 !important;
  -webkit-text-fill-color: #151413 !important;
  font-weight: 600 !important;
}
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher a.school-community__cta:hover {
  background: #f27a70 !important;
}

/* Colonne droite : carte profil */
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__profile {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 18px;
  background: #1f1d1c;
}
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__profile .home-teacher__name {
  margin: 0 0 6px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font: 400 italic clamp(28px, 2.8vw, 38px)/1.1 "Instrument Serif", Georgia, serif !important;
  letter-spacing: -.01em;
  max-width: none !important;
}
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__profile .home-teacher__role {
  margin: 0 0 22px !important;
  color: #ed5f54 !important;
  -webkit-text-fill-color: #ed5f54 !important;
  font: 500 11px/1.4 "JetBrains Mono", ui-monospace, monospace !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__facts li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 4px 16px;
  align-items: baseline;
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #2a2827;
  color: #e0e0e0 !important;
  -webkit-text-fill-color: #e0e0e0 !important;
  font: 400 14px/1.5 "Inter", system-ui, sans-serif !important;
}
html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__label {
  color: #ed5f54 !important;
  -webkit-text-fill-color: #ed5f54 !important;
  font: 500 10px/1.5 "JetBrains Mono", ui-monospace, monospace !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .school-community__layout { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 560px) {
  html:not(.high-contrast) body.home:not(#_palette):not(#_aubergine) .home-teacher .home-teacher__facts li { grid-template-columns: 1fr; }
}
