/* UR ACE-ESD — SPIP theme 2026
   Brand mix: 60% white/light gray · 20% blue · 15% green · 5% gold */
:root {
  /* Surfaces — 60% */
  --surface-white: #ffffff;
  --surface-muted: #f5f7fa;
  --surface-subtle: #eceff3;
  --white: var(--surface-white);
  /* University of Rwanda blue — 20% (#036E9D) */
  --ur-blue-950: #023d57;
  --ur-blue-900: #025a82;
  --ur-blue-800: #036e9d;
  --ur-blue-700: #0585b8;
  --ur-blue-600: #2a9cc9;
  --ur-blue-100: #e6f4fa;
  --ur-blue-50: #f3f9fc;
  /* ACE-ESD green — 15% (#156B47) */
  --green-950: #0a3d28;
  --green-900: #0f5236;
  --green-800: #156b47;
  --green-700: #1a7d52;
  --green-600: #2d9468;
  --green-500: #2d9468;
  --green-400: #5cb88a;
  --green-300: #8fd4b0;
  --green-200: #c5e8d6;
  --green-100: #e8f5ef;
  --green-50: #f0f7f4;
  /* Readable text on colored heroes / footer */
  --on-hero: #ffffff;
  --on-hero-muted: rgba(255, 255, 255, 0.9);
  --on-hero-subtle: rgba(255, 255, 255, 0.78);
  /* Gold accent — 5% (#F59E0B) */
  --gold-800: #c47d09;
  --gold: #f59e0b;
  --gold-100: #fef3e2;
  --gold-50: #fffbeb;
  --text: #1a1f2e;
  --text-muted: #5c6578;
  --border: #dde3ea;
  --shadow-sm: 0 2px 8px rgba(3, 110, 157, 0.06);
  --shadow-md: 0 8px 30px rgba(3, 110, 157, 0.1);
  --shadow-lg: 0 20px 50px rgba(21, 107, 71, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1180px;
  --font: "Poppins", "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--surface-muted);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ur-blue-800); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--ur-blue-700); }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
main { flex: 1; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ur-blue-800); color: #fff; padding: 0.75rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* SPIP editorial toolbar (injected before </body> when logged in) */
.spip-admin-float,
.spip-admin-bloc {
  z-index: 10050 !important;
}
.spip-admin-boutons {
  font-family: var(--font);
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.header-top {
  background: var(--ur-blue-800);
  color: rgba(255,255,255,0.88);
  font-size: 0.8125rem;
  border-bottom: 2px solid var(--ur-blue-700);
}
.header-top__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 0.5rem 0; flex-wrap: wrap;
}
.header-tagline { opacity: 0.85; }
.header-top__links { display: flex; gap: 1.25rem; }
.header-top__links a { color: rgba(255,255,255,0.9); }
.header-top__links a:hover { color: #fff; }

.header-main__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.85rem 0;
}
.brand img { width: auto; max-height: 72px; max-width: min(300px, 55vw); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: var(--green-100); border: 0;
  border-radius: 10px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ur-blue-800); border-radius: 2px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.main-nav > ul > li > a {
  display: block; padding: 0.65rem 0.9rem; font-weight: 500; font-size: 0.9375rem;
  border-radius: 8px; color: var(--text);
}
.main-nav > ul > li > a:hover { background: var(--ur-blue-50); color: var(--ur-blue-800); }
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > ul {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 240px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 0.5rem;
  padding-top: 0.65rem; z-index: 50;
}
/* Invisible bridge so the pointer can reach the panel without losing hover */
.main-nav .has-sub > ul::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.65rem;
  height: 0.65rem;
}
.main-nav .has-sub:hover > ul,
.main-nav .has-sub:focus-within > ul,
.main-nav .has-sub.is-sub-open > ul { display: block; }
.main-nav .has-sub ul a {
  display: block; padding: 0.55rem 0.85rem; font-size: 0.875rem; border-radius: 6px; color: var(--text);
}
.main-nav .has-sub ul a:hover { background: var(--ur-blue-50); color: var(--ur-blue-800); }

/* ── Hero (legacy + home) ── */
.hero,
.home-hero {
  position: relative; min-height: 520px; display: flex; align-items: stretch;
  background: var(--green-900) center/cover no-repeat;
  color: var(--white);
}
.home-hero > .container.home-hero__content {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  align-self: center;
}
.hero__overlay,
.home-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(2, 61, 87, 0.92) 0%,
    rgba(21, 107, 71, 0.85) 48%,
    rgba(21, 107, 71, 0.65) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  max-width: 44rem;
}
.home-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(16.5rem, 20.5rem) minmax(0, 1fr);
  grid-template-areas: "announce copy";
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
  padding: clamp(3rem, 6.5vw, 4.5rem) 0;
  max-width: none;
}
.home-hero__aside {
  grid-area: announce;
  justify-self: start;
  width: 100%;
}
.home-hero__copy {
  grid-area: copy;
  min-width: 0;
  max-width: 38rem;
}
.home-hero__announce-card {
  margin: 0;
  padding: 1.25rem 1.3rem 1.15rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 12px 32px rgba(2, 45, 34, 0.22);
}
.home-hero__announce-card::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 0 0 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green-600));
}
.home-hero__announce-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}
.home-hero__announce-kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ur-blue-800);
}
.home-hero__announce-status {
  flex-shrink: 0;
  padding: 0.22rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--green-200);
  border-radius: 999px;
}
.home-hero__announce-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--green-950);
}
.home-hero__announce-summary {
  margin: 0 0 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.home-hero__announce-deadline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-hero__announce-deadline-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-800);
}
.home-hero__announce-deadline-date {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green-950);
  white-space: nowrap;
}
.home-hero__announce-facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.home-hero__announce-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.4rem 0;
  font-size: 0.75rem;
  line-height: 1.35;
}
.home-hero__announce-facts li + li {
  border-top: 1px solid var(--border);
}
.home-hero__announce-facts li span {
  color: var(--text-muted);
}
.home-hero__announce-facts li strong {
  font-weight: 700;
  color: var(--text);
  text-align: right;
}
.home-hero__announce-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.btn--announce-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-800);
  color: #fff;
  border: 1px solid var(--green-800);
  box-shadow: none;
}
.btn--announce-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
}
.btn--announce-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ur-blue-800);
  background: var(--white);
  border: 1px solid var(--ur-blue-600);
}
.btn--announce-secondary:hover {
  background: var(--ur-blue-50);
  color: var(--ur-blue-900);
}
.home-hero__label {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8f0d4;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.hero__eyebrow,
.home-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}
.hero h1,
.home-hero__title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hero__lead,
.home-hero__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin: 0 0 2rem;
  max-width: 38rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions,
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.page-home #main {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface-subtle) 100%);
}

/* ── Home page ── */
.home-stats {
  background: linear-gradient(180deg, #fff 0%, var(--surface-muted) 100%);
  border-bottom: 1px solid #d8dee8;
}
.home-stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2rem) 0;
}
.home-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1.1rem 1.15rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.home-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  color: inherit;
}
.home-stat__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--ur-blue-50);
  color: var(--ur-blue-800);
}
.home-stat__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.home-stat__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.home-stat__value {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #132238;
}
.home-stat__label {
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #334155;
}
.home-stat__hint {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #64748b;
}
.home-stat--hub {
  border-top: 3px solid var(--ur-blue-800);
}
.home-stat--hub .home-stat__icon {
  background: var(--ur-blue-100);
  color: var(--ur-blue-800);
}
.home-stat--hub:hover {
  border-color: rgba(3, 110, 157, 0.35);
}
.home-stat--community {
  border-top: 3px solid var(--green-700);
}
.home-stat--community .home-stat__icon {
  background: var(--green-100);
  color: var(--green-800);
}
.home-stat--community:hover {
  border-color: rgba(21, 107, 71, 0.35);
}
.home-stat--academic {
  border-top: 3px solid var(--ur-blue-600);
}
.home-stat--academic .home-stat__icon {
  background: var(--ur-blue-50);
  color: var(--ur-blue-900);
}
.home-stat--academic:hover {
  border-color: rgba(3, 110, 157, 0.3);
}
.home-stat--research {
  border-top: 3px solid var(--gold);
}
.home-stat--research .home-stat__icon {
  background: var(--gold-50);
  color: var(--gold-800);
}
.home-stat--research:hover {
  border-color: rgba(245, 158, 11, 0.45);
}
.home-stat:hover .home-stat__value {
  color: var(--ur-blue-800);
}
.home-stat--community:hover .home-stat__value {
  color: var(--green-800);
}
.home-stat--research:hover .home-stat__value {
  color: var(--gold-800);
}

.home-section {
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
}
.home-section--features {
  background: #fff;
}
.home-section--programmes,
.home-section--team {
  background: transparent;
}
.home-section--news {
  background: #fff;
  border-top: 1px solid #d8dee8;
  border-bottom: 1px solid #d8dee8;
}
.home-section--updates {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-section--partners {
  background: #fff;
  border-top: 1px solid #d8dee8;
}

.home-section__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}
.home-section__head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}
.home-section__head--split .home-section__title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.home-section__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-800);
}
.home-section__title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.85rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #132238;
  border-bottom: 1px solid #d8dee8;
}
.home-section__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}
.home-section__more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
  white-space: nowrap;
}
.home-section__more:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.home-feature {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.45rem;
  text-decoration: none;
  color: inherit;
  background: #fafbfc;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.home-feature:hover {
  border-color: rgba(21, 107, 71, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  color: inherit;
}
.home-feature__type {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-800);
}
.home-feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #132238;
}
.home-feature__text {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}
.home-feature__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-800);
}
.home-feature:hover .home-feature__cta {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-updates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-items: stretch;
}

/* Notice board & calendar panels */
.update-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.4rem 1.25rem;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}
.update-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.update-panel--notice::before {
  background: linear-gradient(90deg, var(--green-800), var(--green-600));
}
.update-panel--calendar::before {
  background: linear-gradient(90deg, var(--ur-blue-800), var(--gold));
}
.update-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8ecf1;
}
.update-panel__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
}
.update-panel--calendar .update-panel__kicker {
  color: #132238;
}
.update-panel__title {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #132238;
}
.update-panel__more {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
  white-space: nowrap;
}
.update-panel__more:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.update-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.update-feed__entry {
  border-bottom: 1px solid #e8ecf1;
}
.update-feed__entry:last-child {
  border-bottom: 0;
}
.update-feed__link {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.95rem 0;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.update-feed__link:hover {
  color: inherit;
}
.update-feed__entry:first-child .update-feed__link {
  padding-top: 0.15rem;
}
.update-feed__entry:last-child .update-feed__link {
  padding-bottom: 0.15rem;
}
.update-feed__link:hover .update-feed__title {
  color: var(--green-800);
}
.update-feed__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.35rem 0.4rem;
  text-align: center;
  background: #f4faf6;
  border: 1px solid rgba(21, 107, 71, 0.15);
  border-radius: 10px;
  line-height: 1.1;
}
.update-panel--calendar .update-feed__date {
  background: #f8f6ef;
  border-color: rgba(212, 160, 23, 0.25);
}
.update-feed__day {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #132238;
}
.update-feed__month {
  margin-top: 0.1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
}
.update-feed__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding-top: 0.1rem;
}
.update-feed__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1f2e;
  transition: color 0.15s;
}
.update-feed__excerpt {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c6578;
}

.page-home .team-card__link {
  display: block;
  padding: 1.25rem 1rem 1.35rem;
  color: inherit;
  text-decoration: none;
}
.page-home .team-card__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: #132238;
}
.page-home .team-card__placeholder {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #e8f5ec 0%, #d8dee8 100%);
  border: 3px solid #e8f5ec;
}

/* Home programmes (no sidebar) */
.programmes-home__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}
.programmes-home__catalog {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
  white-space: nowrap;
}
.programmes-home__catalog:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.programmes-home-slider {
  position: relative;
  padding: 0 2.75rem;
}
.programmes-home-slider__viewport {
  overflow: hidden;
  border-radius: 12px;
  outline: none;
}
.programmes-home-slider__viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(21, 107, 71, 0.25);
}
.programmes-home-slider__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0 0.35rem;
}
.programmes-home-slider__track::-webkit-scrollbar {
  display: none;
}
.programmes-home-slider__slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.programmes-home-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #d8dee8;
  border-radius: 50%;
  background: #fff;
  color: #132238;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.programmes-home-slider__btn:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}
.programmes-home-slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.programmes-home-slider__btn--prev {
  left: 0;
}
.programmes-home-slider__btn--next {
  right: 0;
}
.programmes-home-slider__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.programmes-home-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c5d0dc;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.programmes-home-slider__dot.is-active {
  background: var(--green-800);
  transform: scale(1.15);
}

.home-programme {
  margin: 0;
  min-height: 100%;
}
.home-programme__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.home-programme__link:hover {
  border-color: rgba(21, 107, 71, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  color: inherit;
}
.home-programme__media {
  aspect-ratio: 16 / 9;
  background: #e8ecf1;
  overflow: hidden;
}
.home-programme__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.home-programme__link:hover .home-programme__media img {
  transform: scale(1.03);
}
.home-programme__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f5ec 0%, #d8dee8 100%);
}
.home-programme__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
}
.home-programme__badge {
  align-self: flex-start;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-800);
  background: rgba(21, 107, 71, 0.1);
  border-radius: 999px;
}
.home-programme__title {
  margin: 0 0 0.4rem;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
  color: #132238;
}
.home-programme__text {
  margin: 0 0 0.75rem;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #475569;
}
.home-programme__cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-800);
}
.home-programme__link:hover .home-programme__cta {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .home-hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "announce"
      "copy";
    gap: 1.35rem;
    padding-top: clamp(2.25rem, 6vw, 3rem);
    padding-bottom: clamp(2.25rem, 6vw, 3rem);
  }
  .home-hero__copy {
    max-width: none;
  }
  .home-hero__announce-summary,
  .home-hero__announce-facts {
    display: none;
  }
  .home-hero__announce-card {
    padding: 0.95rem 1rem;
  }
  .home-hero__announce-foot {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .home-stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-features {
    grid-template-columns: 1fr;
  }
  .home-updates {
    grid-template-columns: 1fr;
  }
  .update-feed__link {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.85rem;
  }
  .programmes-home-slider__slide {
    flex: 0 0 calc((100% - 1rem) / 2);
  }
}
@media (max-width: 520px) {
  .home-stats__list {
    grid-template-columns: 1fr;
  }
  .home-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .programmes-home-slider {
    padding: 0 2.25rem;
  }
  .programmes-home-slider__slide {
    flex: 0 0 100%;
  }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.9375rem;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--white); color: var(--green-900); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--green-50); color: var(--green-900); }
.btn--ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ── Sections ── */
.section { padding: 4.5rem 0; }
.section:nth-child(even) { background: var(--surface-white); }
.section-head { margin-bottom: 2.25rem; }
.section-head h2 {
  margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700;
  color: var(--green-900); letter-spacing: -0.02em;
}
.section-head h2::after {
  content: ""; display: block; width: 48px; height: 4px;
  background: var(--gold); border-radius: 2px; margin-top: 0.65rem;
}
.section-head--split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; flex-wrap: wrap;
}
.link-more {
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  color: var(--ur-blue-800);
}
.link-more:hover {
  color: var(--ur-blue-900);
}

.feature-grid, .card-grid, .team-grid {
  display: grid; gap: 1.35rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.programmes-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}
.programmes-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: sticky;
  top: 5.5rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.programmes-nav__tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.95rem;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.programmes-nav__tab:hover {
  background: var(--ur-blue-50);
  color: var(--ur-blue-800);
}
.programmes-nav__tab.is-active {
  background: var(--ur-blue-50);
  border-left-color: var(--ur-blue-800);
  color: var(--ur-blue-900);
}
.programmes-panels { min-width: 0; }
.programmes-index { display: grid; gap: 2.75rem; }
.programmes-group[hidden] { display: none; }
.programmes-group__title {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: var(--green-800);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

@media (max-width: 768px) {
  .programmes-layout { grid-template-columns: 1fr; }
  .programmes-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem;
  }
  .programmes-nav__tab {
    width: auto;
    flex: 1 1 auto;
    min-width: calc(50% - 0.35rem);
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.8125rem;
    padding: 0.6rem 0.75rem;
  }
  .programmes-nav__tab.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--ur-blue-800);
  }
}

/* Programme detail page */
#main:has(.programme-hero) { background: var(--surface-muted); }

.programme-hero {
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: #fff;
  padding: 1.35rem 0 0;
}
.programme-hero__card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  backdrop-filter: blur(8px);
  padding: 1.75rem 1.75rem 2rem;
  margin-bottom: -1px;
}
.programme-hero__layout {
  display: grid; gap: 1.75rem; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
}
.programme-hero__badge {
  display: inline-block; margin: 0 0 0.75rem; padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.programme-hero__title {
  margin: 0 0 0.65rem; font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  color: #fff; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em;
}
.programme-hero__lead {
  margin: 0 0 0.75rem; font-size: 1.0625rem; font-weight: 600;
  color: rgba(255,255,255,0.95);
}
.programme-hero__summary {
  margin: 0; max-width: 58ch; font-size: 0.975rem; line-height: 1.7;
  color: rgba(255,255,255,0.82);
}
.programme-hero__facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-width: 22rem;
}
.programme-hero__facts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
}
.programme-hero__facts li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dd3a8;
  box-shadow: 0 0 0 2px rgba(125, 211, 168, 0.35);
}
.programme-hero__media {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,0.2);
  aspect-ratio: 4/3;
}
.programme-hero__img { width: 100%; height: 100%; object-fit: cover; }

.programme-stats {
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm); padding: 0;
}
.programme-stats__inner { padding: 0; }
.programme-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem; padding: 1.15rem 0;
}
.programme-meta__list {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; flex: 1;
}
.programme-meta__list dt { display: none; }
.programme-meta__list dd {
  margin: 0; padding: 0.7rem 1rem 0.75rem; background: var(--green-50);
  border: 1px solid var(--green-100); border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 700; color: var(--green-900);
  min-width: 9rem;
}
.programme-meta__list dd::before {
  display: block; content: attr(data-label);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.2rem;
}
.programme-meta__cta { margin: 0; flex-shrink: 0; }

.programme-shell { padding: 2rem 0 3.5rem; }
.programme-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  align-items: start;
}
.programme-aside {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
  min-width: 0;
  align-self: start;
}
.programme-aside__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.programme-aside__links a {
  display: block; padding: 0.55rem 0; color: var(--green-800); font-weight: 500;
  font-size: 0.9375rem; border-bottom: 1px solid var(--border);
}
.programme-aside__links li:last-child a { border-bottom: 0; }
.programme-aside__links a:hover { color: var(--green-700); }

.programme-related { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.programme-related__link {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem;
  border-radius: var(--radius); color: inherit; transition: background 0.15s;
}
.programme-related__link:hover { background: var(--green-50); color: inherit; }
.programme-related__thumb {
  flex-shrink: 0; width: 52px; height: 40px; border-radius: 8px; overflow: hidden;
  background: var(--green-100);
}
.programme-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.programme-related__title { font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: var(--text); }

.programme-content {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.programme-content__body {
  padding: 1.75rem 2rem 2rem;
  min-width: 0;
  overflow-x: clip;
}
.programme-content .programme-prose { max-width: 100%; overflow-wrap: break-word; }

.programme-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.programme-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.programme-section > h2:first-child,
.programme-section > h3:first-child { margin-top: 0; }

.programme-section--features,
.programme-content .programme-prose section.programme-section--features {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
.programme-section--features > h2,
.programme-content .programme-prose section.programme-section--features > h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--green-100);
  font-size: 1.125rem;
  color: var(--green-900);
}
.programme-features__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.programme-features__list li {
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--green-950);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.programme-content .programme-prose { font-size: 1rem; line-height: 1.75; }
.programme-content .programme-prose h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--green-900);
  margin: 2rem 0 0.85rem; padding-left: 0.85rem;
  border-left: 4px solid var(--green-600);
}
.programme-content .programme-prose h2:first-child { margin-top: 0; }
.programme-content .programme-prose h3 {
  font-size: 1.0625rem; font-weight: 700; color: var(--green-800); margin: 1.5rem 0 0.65rem;
}
.programme-content .programme-prose h4 {
  font-size: 0.975rem; font-weight: 700; color: var(--text); margin: 1.25rem 0 0.5rem;
  text-decoration: underline; text-decoration-color: var(--green-100); text-underline-offset: 4px;
}
.programme-content .programme-prose p { margin: 0 0 1rem; }
.programme-content .programme-prose ul, .programme-content .programme-prose ol {
  margin: 0 0 1.15rem; padding-left: 1.35rem;
}
.programme-content .programme-prose li { margin-bottom: 0.45rem; }
.programme-content .programme-prose section {
  margin-bottom: 1.75rem; padding: 1.35rem 1.5rem;
  background: var(--green-50); border-radius: var(--radius); border: 1px solid var(--green-100);
}
.programme-content .programme-prose section h2 { border-left: 0; padding-left: 0; margin-top: 0; }

.programme-section--structure {
  margin-bottom: 2rem;
  padding: 1.5rem 1.65rem 0.5rem;
}
.programme-section--structure > h2 {
  margin: 0 0 1rem;
  padding: 0;
  border-left: 4px solid var(--green-600);
  padding-left: 0.85rem;
  font-size: 1.25rem;
}
.programme-section--structure > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}
.programme-section--modules {
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.programme-section--modules h3 {
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green-900);
  text-decoration: none;
}
.programme-modules-table {
  width: 100%;
  min-width: 0;
}
.programme-section--modules .table-wrap,
.programme-section--modules .table-wrap--full {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-left: 0;
  border-right: 0;
  border-radius: var(--radius);
}
.programme-section--assessment {
  margin: 1rem 0 1.5rem;
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.programme-section--assessment h3 {
  margin: 0 0 0.85rem;
  font-size: 1.0625rem;
  color: var(--green-900);
}
.programme-section--assessment .programme-section__content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.programme-section--schedule {
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.programme-section--schedule > h2 {
  margin: 0 0 1.15rem;
  padding: 0 0 0.65rem;
  border-bottom: 2px solid var(--green-100);
  font-size: 1.25rem;
  color: var(--green-900);
  border-left: 0;
}
.programme-schedule-table {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.programme-section--schedule .table-wrap,
.programme-section--schedule .course-schedule-table {
  width: 100%;
  margin: 0;
}
.course-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.45;
  min-width: 640px;
}
.course-schedule-table thead th {
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.7rem 0.75rem;
  white-space: nowrap;
  vertical-align: bottom;
}
.course-schedule-table tbody td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.course-schedule-table tbody tr:nth-child(even) td {
  background: var(--green-50);
}
.course-schedule-table tbody tr:hover td {
  background: #eef8f1;
}
.course-schedule-table td:first-child {
  font-weight: 600;
  color: var(--green-900);
  white-space: nowrap;
}
.course-schedule-table td:nth-child(2) {
  min-width: 12rem;
}
.programme-section--schedule .table-wrap--schedule {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}

@media (max-width: 720px) {
  .programme-section--schedule .table-wrap--stack > table {
    min-width: 0;
  }
}

/* ── Course seminar outline (cards, no table) ── */
.programme-section--outline {
  margin: 1.75rem 0;
  padding: 1.65rem 1.75rem 1.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.programme-section--outline > h2 {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green-950);
  border-left: 4px solid var(--green-600);
  padding-left: 0.85rem;
}
.seminar-outline__lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 70ch;
}
.seminar-outline__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.seminar-outline__btn {
  margin: 0;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.seminar-outline__btn:hover {
  background: var(--green-100);
  border-color: var(--green-400);
}
.seminar-outline__btn:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}
.seminar-outline {
  display: grid;
  gap: 1.5rem;
}
.seminar-block {
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.seminar-block__details {
  margin: 0;
}
.seminar-block__details > summary {
  list-style: none;
  cursor: pointer;
}
.seminar-block__details > summary::-webkit-details-marker {
  display: none;
}
.seminar-block__details[open] > summary {
  border-bottom: 3px solid var(--green-500);
}
.seminar-block__header {
  position: relative;
  padding: 1.35rem 3rem 1.25rem 1.45rem;
  background: linear-gradient(145deg, var(--green-950) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: #fff;
}
.seminar-block__chevron {
  position: absolute;
  top: 1.35rem;
  right: 1.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.seminar-block__chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.32rem 0 0 -0.22rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.seminar-block__details[open] .seminar-block__chevron::before {
  margin-top: -0.12rem;
  transform: rotate(-135deg);
}
.seminar-block__heading {
  margin-bottom: 1rem;
}
.seminar-block__label {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-950);
  background: #b8f0d4;
  border-radius: 6px;
}
.seminar-block__module-tag {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.seminar-block__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.seminar-block__meta {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  font-size: 0.9rem;
}
.seminar-block__meta li {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}
.seminar-block__meta-label {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}
.seminar-block__meta-value {
  font-weight: 600;
  color: #fff;
}
.seminar-block__body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: grid;
  gap: 1.1rem;
  background: var(--green-50);
}
.seminar-unit {
  padding: 1rem 1.1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.seminar-unit__title {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-950);
  line-height: 1.4;
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.seminar-topics {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.seminar-topic {
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-500);
}
.seminar-topic dt {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green-950);
  line-height: 1.4;
}
.seminar-topic dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  max-width: 72ch;
}
.seminar-outline__assessment {
  margin-top: 1.5rem;
  padding: 1.2rem 1.35rem;
  background: linear-gradient(135deg, var(--green-50), var(--white));
  border: 1px solid var(--green-200);
  border-left: 4px solid var(--green-700);
  border-radius: var(--radius);
}
.seminar-outline__assessment h3 {
  margin: 0 0 0.55rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green-950);
}
.seminar-outline__assessment p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--text);
}

/* Drupal tab panels + semester blocks: let tables use full column width */
.programme-prose [id^="tab-"],
.programme-prose [id^="tab-"] > section,
.programme-prose [id^="tab-"] > div {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.programme-prose div:has(> .table-wrap),
.programme-prose div:has(> table) {
  width: 100%;
  max-width: none;
  min-width: 0;
}

/* ── Responsive tables (programme main column, articles, rubriques) ── */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}
.table-wrap > table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 0;
  min-width: 0;
}
.table-wrap:not(.table-wrap--full) > table { min-width: 480px; }
/* Course / module tables: full width of programme content card */
.programme-content__body .table-wrap--full {
  width: calc(100% + 4rem);
  max-width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}
.table-wrap--full > table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.table-wrap--full th:nth-child(1),
.table-wrap--full td:nth-child(1) { width: 16%; }
.table-wrap--full th:nth-child(2),
.table-wrap--full td:nth-child(2) { width: 46%; }
.table-wrap--full th:nth-child(3),
.table-wrap--full td:nth-child(3) { width: 14%; }
.table-wrap--full th:nth-child(4),
.table-wrap--full td:nth-child(4) { width: 14%; }
.table-wrap--full th,
.table-wrap--full td {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.table-wrap > table th,
.table-wrap > table td,
.programme-prose table th,
.programme-prose table td,
.prose table:not(.publications-table):not(.documents-table) th,
.prose table:not(.publications-table):not(.documents-table) td,
.article-content table th,
.article-content table td {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  vertical-align: top;
  text-align: left;
}
.table-wrap > table tr:last-child td,
.programme-prose table tr:last-child td { border-bottom: 0; }
.table-wrap > table th,
.programme-prose table th,
.prose table:not(.publications-table):not(.documents-table) th,
.article-content table th {
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
}
.table-wrap > table tr:nth-child(even) td,
.programme-prose table tr:nth-child(even) td { background: var(--green-50); }

@media (max-width: 640px) {
  .programme-content__body .table-wrap--full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .table-wrap--stack {
    overflow-x: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    margin: 1rem 0;
  }
  .table-wrap--stack > table {
    min-width: 0;
    display: block;
    border: 0;
  }
  .table-wrap--stack thead { display: none; }
  .table-wrap--stack tbody { display: block; }
  .table-wrap--stack tr {
    display: block;
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  .table-wrap--stack td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.45rem 0;
    border: 0;
    text-align: right;
    background: transparent !important;
  }
  .table-wrap--stack td::before {
    content: attr(data-label);
    flex: 1 1 45%;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--green-900);
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
  }
  .table-wrap--stack td:first-child { padding-top: 0; }
  .table-wrap--stack td:last-child { padding-bottom: 0; }
}

/* TEA-LP short courses (MSc Renewable Energy) */
.programme-content .programme-prose section.programme-section--tealp {
  margin: 2rem 0;
  padding: 1.75rem 1.85rem 2rem;
  background: linear-gradient(160deg, var(--green-50) 0%, var(--white) 52%);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.programme-section--tealp .tealp-header {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--green-100);
}
.programme-section--tealp .tealp-logo {
  flex-shrink: 0;
  max-height: 72px;
  width: auto;
  object-fit: contain;
}
.programme-section--tealp .tealp-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
}
.programme-section--tealp .tealp-header h2 {
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
  font-size: 1.35rem;
  color: var(--green-900);
}
.programme-section--tealp .tealp-tagline {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}
.programme-section--tealp .tealp-intro {
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
  line-height: 1.7;
}
.programme-section--tealp .tealp-intro p { margin: 0 0 0.85rem; }
.programme-section--tealp .tealp-benefits {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
}
.programme-section--tealp .tealp-benefits li { margin-bottom: 0.4rem; }
.programme-section--tealp .tealp-courses {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tealp-course-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.tealp-course-card:hover {
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.tealp-course-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.tealp-course-card__link:hover { color: inherit; }
.tealp-course-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--green-100);
}
.tealp-course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tealp-course-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem 1.35rem;
}
.tealp-course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}
.tealp-course-card__meta span {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-100);
}
.tealp-course-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--green-900);
}
.tealp-course-card__desc {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.tealp-course-card__cta {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-800);
}
.tealp-course-card__meta p,
.tealp-course-card__desc p { margin: 0; }
.tealp-course-card__link:hover .tealp-course-card__cta { color: var(--green-700); }
.programme-section--tealp-compact {
  margin-bottom: 1.75rem;
  padding: 1.35rem 1.5rem;
}
.programme-section--tealp-compact .tealp-header {
  margin-bottom: 0.85rem;
}
.programme-section--tealp-compact .tealp-logo {
  width: 120px;
  height: auto;
}
.programme-section--tealp-compact .tealp-header h2 {
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}
.programme-section--tealp-compact .tealp-course-note {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.programme-section--tealp-compact .tealp-course-note a {
  font-weight: 600;
}
.programme-content--course .programme-section--tealp-compact {
  background: var(--gold-50);
  border: 1px solid var(--gold-100);
  border-radius: var(--radius);
}

.programme-section--tealp .tealp-footnote {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--green-100);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .programme-section--tealp .tealp-courses { grid-template-columns: 1fr; }
}

.programme-footer {
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
}

@media (max-width: 960px) {
  .programme-hero__layout { grid-template-columns: 1fr; }
  .programme-hero__media { max-width: 320px; }
  .programme-features__list { grid-template-columns: 1fr; }
  .programme-meta { flex-direction: column; align-items: stretch; }
  .programme-meta__cta .btn { width: 100%; text-align: center; }
}

@media (max-width: 768px) {
  .programme-layout { grid-template-columns: 1fr; }
  .programme-content,
  .programme-aside {
    grid-column: 1;
    grid-row: auto;
  }
  .programme-aside { position: static; }
  .programme-content__body { padding: 1.35rem 1.25rem 1.5rem; }
  .programme-content__body .table-wrap--full {
    width: calc(100% + 2.5rem);
    max-width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
}
.card-grid--news { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.feature-card {
  display: block; padding: 1.75rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.feature-card__icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: var(--green-100); color: var(--green-800); font-weight: 700;
  font-size: 0.875rem; border-radius: 10px; margin-bottom: 1.1rem;
}
.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.125rem; color: var(--green-900); }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

.news-card, .programme-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover, .programme-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card__media, .programme-card__media {
  display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--green-100);
}
.news-card__media img, .programme-card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s;
}
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-100), #c8e6d4);
  color: var(--green-800); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.news-card__body, .programme-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.news-card time { color: var(--text-muted); font-size: 0.8125rem; font-weight: 500; }
.news-card h3, .programme-card h3 { margin: 0.4rem 0 0.65rem; font-size: 1.05rem; line-height: 1.4; }
.rubrique-articles .news-card h3 { margin: 0.35rem 0 0.55rem; font-size: 0.9375rem; line-height: 1.35; font-weight: 600; }
.news-card h3 a, .programme-card h3 a { color: var(--text); }
.news-card h3 a:hover, .programme-card h3 a:hover { color: var(--green-800); }
.news-card p, .programme-card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.list-stack { display: grid; gap: 0.75rem; }
.list-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.list-item:hover { border-color: var(--green-600); box-shadow: var(--shadow-md); color: inherit; }
.list-item strong { display: block; font-size: 0.9375rem; line-height: 1.4; color: var(--text); }
.list-item span { color: var(--text-muted); font-size: 0.8125rem; white-space: nowrap; flex-shrink: 0; }

.team-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.team-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.team-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.team-tab {
  padding: 0.55rem 1rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--white); color: var(--text); font-size: 0.8125rem; font-weight: 500;
  cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.team-tab:hover { border-color: var(--green-600); color: var(--green-800); }
.team-tab.is-active {
  background: var(--green-800); border-color: var(--green-800); color: var(--white);
}
.team-count { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.team-empty {
  margin: 2rem 0 0; text-align: center; color: var(--text-muted); font-size: 0.9375rem;
}
.team-card[hidden] { display: none; }
.team-card {
  text-align: center; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card__link { display: block; color: inherit; text-decoration: none; padding: 1.35rem 1rem; }
.team-card__photo {
  width: 110px; height: 110px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 1rem; border: 3px solid var(--green-100);
}
.team-card__placeholder {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; padding: 0.5rem;
  background: linear-gradient(145deg, var(--green-100), var(--green-50));
  color: var(--green-800); font-size: 0.72rem; font-weight: 600; text-align: center;
  border: 3px solid var(--green-100);
}
.team-card h2 { margin: 0; font-size: 0.9375rem; line-height: 1.35; color: var(--text); }
.team-card__role {
  margin: 0.35rem 0 0; padding: 0 0.25rem;
  font-size: 0.8125rem; line-height: 1.4; color: var(--green-800); font-weight: 500;
}
.team-bio p { margin: 0 0 1rem; line-height: 1.65; }

/* ── Single team member profile ── */
.page-team-profile #main,
#main:has(.team-profile-hero) { background: var(--surface-muted); }

.team-profile-hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: var(--white);
  padding: 2rem 0 2.75rem;
}
.team-profile-hero__card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem 2rem;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(6px);
}
.team-profile-hero__photo {
  width: clamp(140px, 22vw, 200px); height: clamp(140px, 22vw, 200px);
  object-fit: cover; border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-md);
}
.team-profile-hero__placeholder {
  width: clamp(140px, 22vw, 200px); height: clamp(140px, 22vw, 200px);
  border-radius: 50%; display: grid; place-items: center; padding: 0.75rem;
  background: rgba(255,255,255,0.12); border: 4px solid rgba(255,255,255,0.35);
  font-size: 0.75rem; font-weight: 600; text-align: center; color: #fff;
}
.team-profile-hero__name {
  margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.02em;
}
.team-profile-hero__role {
  margin: 0.65rem 0 0; font-size: 1.05rem; line-height: 1.5;
  color: rgba(255,255,255,0.92); font-weight: 500;
}
.team-profile__tags {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.team-profile__tag {
  display: inline-block; padding: 0.28rem 0.75rem; border-radius: 999px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
}

.team-profile-section { padding-top: 0; margin-top: -1.25rem; }
.team-profile-main {
  min-width: 0;
}
.team-profile-main .team-profile__bio {
  padding: 2rem 2.25rem 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.team-profile__bio .intro-image,
.team-profile__bio .spip_logo,
.team-profile__bio .field--name-field-team-image,
.team-profile__bio .field--name-field-team-category { display: none !important; }
.team-profile-footer {
  padding: 1.25rem 2.25rem 1.75rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 960px) {
  .team-profile-hero__card { grid-template-columns: 1fr; text-align: center; }
  .team-profile-hero__media { display: flex; justify-content: center; }
  .team-profile__tags { justify-content: center; }
  .team-profile-main .team-profile__bio { padding: 1.35rem 1.25rem 1rem; }
  .team-profile-footer { padding: 1.15rem 1.25rem 1.35rem; }
}

/* Partner logos — uniform logo wall (no section wrapper card) */
.partners-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.partner-logo:hover {
  border-color: #b8cfc4;
  box-shadow: 0 6px 20px rgba(19, 34, 56, 0.07);
  color: var(--green-800);
}
.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 2.875rem;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.25s ease;
}
.partner-logo:hover img {
  transform: scale(1.2);
}
.partner-logo--tealp {
  background: #141414;
  border-color: #2a2a2a;
}
.partner-logo--tealp:hover {
  border-color: #3d3d3d;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.partner-logo--tealp img {
  max-height: 2.625rem;
  padding: 0.15rem 0;
}
.partner-logo__fallback {
  line-height: 1.35;
}
@media (max-width: 1024px) {
  .partners-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .partners-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .partner-logo {
    min-height: 4.75rem;
    padding: 0.85rem 0.75rem;
  }
  .partner-logo img {
    max-height: 2.35rem;
  }
}
@media (max-width: 400px) {
  .partners-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Inner pages ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white); padding: 3rem 0 2.5rem;
}
.page-hero h1 { margin: 0.75rem 0 0; font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; }
.page-hero--programmes {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, var(--ur-blue-900) 0%, var(--ur-blue-800) 52%, var(--green-800) 100%);
  border-bottom: 3px solid var(--gold);
}
.page-hero--programmes .page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8dcf5;
}
.page-hero--programmes .page-hero__lead {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}
.page-hero--programmes .page-hero__intro {
  margin: 0.85rem 0 0;
  max-width: 58ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.page-hero--programmes .page-hero__intro p {
  margin: 0 0 0.5rem;
}
.page-hero--programmes .page-hero__intro p:last-child {
  margin-bottom: 0;
}
.page-rubrique.rubrique-programmes #main {
  background: var(--surface-muted);
}
.section--programmes-catalog {
  padding: 2.5rem 0 4rem;
  background: var(--surface-muted);
}

.page-hero--articles {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, var(--ur-blue-900) 0%, var(--ur-blue-800) 45%, var(--green-800) 100%);
  border-bottom: 3px solid var(--gold);
}
.page-hero--articles .page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8dcf5;
}
.page-hero--articles .page-hero__lead {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-hero-muted);
}
.page-hero--articles .page-hero__intro {
  margin: 0.85rem 0 0;
  max-width: 58ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-hero-subtle);
}
.page-rubrique.rubrique-articles #main {
  background: var(--surface-muted);
}
.section--articles-catalog {
  padding: 2.5rem 0 4rem;
  background: var(--surface-muted);
}

.page-hero--publications {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, var(--ur-blue-950) 0%, var(--green-900) 50%, var(--green-800) 100%);
  border-bottom: 3px solid var(--gold);
}
.page-hero--publications .page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8dcf5;
}
.page-hero--publications .page-hero__lead {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-hero-muted);
}
.page-hero--publications .page-hero__intro {
  margin: 0.85rem 0 0;
  max-width: 58ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-hero-subtle);
}
.page-rubrique.rubrique-publications #main {
  background: var(--surface-muted);
}
.section--publications-catalog {
  padding: 2.5rem 0 4rem;
  background: var(--surface-muted);
}

.page-hero--team {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 45%, var(--ur-blue-900) 100%);
  border-bottom: 3px solid var(--gold);
}
.page-hero--team .page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8f0d4;
}
.page-hero--team .page-hero__lead {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-hero-muted);
}
.page-hero--team .page-hero__intro {
  margin: 0.85rem 0 0;
  max-width: 58ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-hero-subtle);
}
.page-rubrique.rubrique-team #main {
  background: var(--surface-muted);
}
.section--team-catalog {
  padding: 2.5rem 0 4rem;
  background: var(--surface-muted);
}
.rubrique-team .team-toolbar {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.rubrique-team .team-grid {
  gap: 1.25rem;
}
.rubrique-team .team-tab:hover {
  border-color: var(--ur-blue-600);
  color: var(--ur-blue-800);
  background: var(--ur-blue-50);
}
.rubrique-team .team-tab.is-active {
  background: var(--ur-blue-800);
  border-color: var(--ur-blue-800);
  color: var(--white);
}
.rubrique-team .team-card:hover {
  border-color: var(--ur-blue-600);
}
.rubrique-team .team-card__photo,
.rubrique-team .team-card__placeholder {
  border-color: var(--ur-blue-100);
}
.rubrique-team .team-card__role {
  color: var(--ur-blue-800);
}

.rubrique-publications .publications-toolbar {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.rubrique-publications [data-pub-table] {
  margin-top: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0.25rem 1rem;
}
.rubrique-articles .news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.rubrique-articles .news-card:hover {
  border-color: var(--ur-blue-600);
}
.rubrique-articles .news-card h3 a:hover {
  color: var(--ur-blue-800);
}
.rubrique-articles .pagination {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.rubrique-articles .pagination a,
.rubrique-articles .pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}
.rubrique-articles .pagination a {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ur-blue-800);
}
.rubrique-articles .pagination a:hover {
  background: var(--ur-blue-50);
  border-color: var(--ur-blue-600);
}
.rubrique-articles .pagination strong {
  background: var(--ur-blue-800);
  color: #fff;
  border: 1px solid var(--ur-blue-800);
}
/* ── Site breadcrumbs (unified) ── */
.site-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.site-breadcrumb a {
  color: var(--ur-blue-800);
  font-weight: 600;
  text-decoration: none;
}
.site-breadcrumb a:hover {
  color: var(--ur-blue-900);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-breadcrumb__sep,
.site-breadcrumb [aria-hidden="true"]:not([aria-current="page"]) {
  opacity: 0.45;
  font-weight: 400;
  user-select: none;
}
.site-breadcrumb__current,
.site-breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
  max-width: min(32ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-breadcrumb--inverse,
.page-hero .site-breadcrumb,
.page-hero .breadcrumb {
  margin-bottom: 1.1rem;
  font-size: 0.8125rem;
  color: var(--on-hero-muted);
}
.site-breadcrumb--inverse a,
.page-hero .site-breadcrumb a,
.page-hero .breadcrumb a {
  color: var(--on-hero-muted);
  font-weight: 500;
}
.site-breadcrumb--inverse a:hover,
.page-hero .site-breadcrumb a:hover,
.page-hero .breadcrumb a:hover {
  color: var(--on-hero);
}
.site-breadcrumb--inverse .site-breadcrumb__current,
.site-breadcrumb--inverse [aria-current="page"],
.page-hero .site-breadcrumb [aria-current="page"],
.page-hero .breadcrumb span:not(.site-breadcrumb__sep) {
  color: var(--on-hero-subtle);
  font-weight: 500;
}
.site-breadcrumb--inverse .site-breadcrumb__sep,
.site-breadcrumb--inverse [aria-hidden="true"]:not([aria-current="page"]),
.page-hero .site-breadcrumb__sep,
.page-hero .breadcrumb__sep {
  opacity: 0.55;
}
.page-hero h1,
.page-hero .intro {
  color: var(--on-hero);
}
.page-hero .intro {
  opacity: 0.92;
  max-width: 52ch;
  line-height: 1.65;
}

/* ── Single article / news page ── */
.page-article #main { background: var(--surface-muted); }

.article-feature {
  margin: 0; background: var(--green-900); overflow: hidden;
}
.article-feature__img {
  width: 100%; height: clamp(220px, 38vw, 440px); object-fit: cover; display: block;
}

.article-shell,
.container.article-layout {
  padding: 0 0 4rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.article-grid,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

.article-main,
.article-body {
  min-width: 0;
  grid-column: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.article-aside,
.article-sidebar {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 5.5rem;
  min-width: 0;
  align-self: start;
}

.article-entry {
  padding: 2rem 2.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.article-entry .site-breadcrumb {
  margin-bottom: 0.85rem;
}

.article-entry__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem;
}
.article-badge {
  display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px;
  background: var(--green-50); border: 1px solid var(--green-100);
  color: var(--green-900); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.article-badge:hover { background: var(--green-100); color: var(--green-900); }
.article-date { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

.article-entry__title {
  margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.02em; color: var(--green-950);
  overflow-wrap: anywhere;
}
.article-entry__subtitle {
  margin: 0.75rem 0 0; font-size: 1.0625rem; color: var(--text-muted);
}
.article-entry__dek {
  margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: 1.0625rem; line-height: 1.7; color: var(--text-muted);
}

.article-chapo {
  padding: 1.5rem 2.25rem 0;
  font-size: 1.0625rem; line-height: 1.7; color: var(--text-muted);
}
.article-chapo img { border-radius: var(--radius); max-height: 360px; object-fit: cover; width: 100%; }

.article-content {
  padding: 1.75rem 2.25rem 2rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prose { font-size: 1.0625rem; line-height: 1.8; color: var(--text); }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.15rem; }
.prose h2, .prose h3 { color: var(--green-900); margin: 1.75rem 0 0.65rem; line-height: 1.3; }
.prose h2 { font-size: 1.375rem; }
.prose h3 { font-size: 1.125rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin-bottom: 0.4rem; }

/* Migrated Drupal body images → gallery */
.prose p:has(> img.spip_logo) { margin: 1.25rem 0; }
.prose img.spip_logo {
  width: 100%; max-width: 100%; height: auto; margin: 0;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.article-has-photo .prose img.spip_logo:first-of-type { display: none; }

.prose a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.prose a:hover { color: var(--green-700); }
.prose blockquote {
  margin: 1.25rem 0; padding: 1rem 1.15rem; border-left: 4px solid var(--green-700);
  background: var(--green-50); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted); font-style: italic;
}

/* Strip Drupal inline formatting */
.prose span[style], .prose p[style], .prose div[style] {
  font-family: inherit !important; font-size: inherit !important;
  line-height: inherit !important; color: inherit !important;
  text-align: left !important;
}
.prose span { display: inline !important; white-space: normal !important; }
.prose .field, .prose .field__item { margin: 0; max-width: 100%; }

/* Hide leftover Drupal comment UI */
.article-main ul.links,
.article-main ul.links.inline,
.article-main .comment-forbidden,
.article-main #node-single-comment,
.article-main [rel="schema:comment"],
.article-main [property="schema:comment"] { display: none !important; }

.article-files {
  margin: 0 2.25rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.article-files__title, .article-notes__title {
  margin: 0 0 0.85rem; font-size: 1.0625rem; color: var(--green-900);
}
.article-files__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.article-file {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--green-50);
  color: var(--text); transition: border-color 0.15s, box-shadow 0.15s;
}
.article-file:hover { border-color: var(--green-600); box-shadow: var(--shadow-sm); color: var(--green-900); }
.article-file__icon {
  display: grid; place-items: center; min-width: 2.5rem; height: 2.5rem;
  background: var(--green-800); color: #fff; font-size: 0.65rem; font-weight: 700;
  border-radius: 8px; letter-spacing: 0.04em;
}
.article-file__label { font-size: 0.9375rem; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }

.article-notes {
  margin: 0 2.25rem 2rem; padding: 1.15rem 1.25rem; background: var(--green-50);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.article-footer {
  margin: 0; padding: 1.35rem 2.25rem 2rem; border-top: 1px solid var(--border);
  background: var(--green-50);
}
.btn--back {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.7rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: 0.9375rem;
  background: var(--white); color: var(--green-900); border: 1px solid var(--border);
}
.btn--back:hover { background: var(--green-100); color: var(--green-900); }
.btn--block { display: block; width: 100%; text-align: center; margin-top: 1rem; }

.article-files__list:empty { display: none; }
.article-files:not(:has(.article-files__list li)) { display: none; }

.sidebar-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem; box-shadow: var(--shadow-sm);
}
.sidebar-card--cta { background: linear-gradient(145deg, var(--green-900), var(--green-700)); color: #fff; border: 0; }
.sidebar-card--cta p { margin: 0; font-size: 0.9375rem; opacity: 0.9; line-height: 1.55; }
.sidebar-card--cta .sidebar-card__title { color: #fff; }
.sidebar-card__title {
  margin: 0 0 0.85rem; font-size: 0.9375rem; font-weight: 700; color: var(--green-900);
}
.sidebar-card__more { display: inline-block; margin-top: 0.85rem; font-size: 0.875rem; font-weight: 600; }

.sidebar-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.sidebar-news__link {
  display: flex; gap: 0.75rem; align-items: flex-start; color: inherit;
  padding: 0.45rem; margin: -0.45rem; border-radius: var(--radius);
  transition: background 0.15s;
}
.sidebar-news__link:hover { background: var(--green-50); color: inherit; }
.sidebar-news__thumb {
  flex-shrink: 0; width: 68px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--green-100);
}
.sidebar-news__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-news__text { display: grid; gap: 0.15rem; min-width: 0; }
.sidebar-news__date { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.sidebar-news__title { font-size: 0.8125rem; font-weight: 600; line-height: 1.35; color: var(--text); }

@media (max-width: 960px) {
  .article-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-main,
  .article-body,
  .article-aside,
  .article-sidebar {
    grid-column: 1;
    grid-row: auto;
  }
  .article-aside,
  .article-sidebar { position: static; }
  .article-entry { padding: 1.35rem 1.25rem 1.25rem; }
  .article-chapo { padding: 1.25rem 1.25rem 0; }
  .article-content { padding: 1.25rem; }
  .article-files, .article-notes { margin-inline: 1.25rem; }
  .article-footer { padding: 1.15rem 1.25rem 1.35rem; }
  .article-shell { padding: 0 0 3rem; margin-top: -1.5rem; }
  .page-article .container { width: min(100% - 1.5rem, var(--container)); }
}

@media (max-width: 600px) {
  .article-entry__title { font-size: 1.375rem; }
  .article-feature__img { height: clamp(180px, 42vw, 240px); }
}

/* ── Publications table ── */
.publications-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}
.publications-search { flex: 1 1 280px; max-width: 520px; }
.publications-search__input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--border); border-radius: 10px; font-size: 0.95rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 0.9rem center;
}
.publications-search__input:focus {
  outline: 2px solid var(--ur-blue-600); outline-offset: 1px; border-color: var(--ur-blue-600);
}
.rubrique-publications .publications-search__input:focus {
  outline-color: var(--ur-blue-700);
  border-color: var(--ur-blue-700);
}
.publications-count { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.publications-toolbar + .table-wrap,
.documents-browser .table-wrap { margin-top: 0; }
.publications-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.publications-table th, .publications-table td {
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; text-align: left;
}
.publications-table th {
  background: var(--ur-blue-800);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.publications-table tbody tr:hover { background: var(--ur-blue-50); }
.rubrique-publications .publications-table td a {
  color: var(--ur-blue-900);
  font-weight: 500;
}
.rubrique-publications .publications-table td a:hover {
  color: var(--ur-blue-800);
  text-decoration: underline;
}
.publications-table td:first-child { width: 3rem; color: var(--text-muted); }
.pub-sort {
  all: unset; cursor: pointer; color: inherit; font: inherit; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.pub-sort:hover, .pub-sort:focus-visible { text-decoration: underline; }
.pub-sort.is-active::after { content: "▾"; font-size: 0.75rem; }
.publications-table th[aria-sort="ascending"] .pub-sort.is-active::after { content: "▴"; }
.publications-table th[aria-sort="descending"] .pub-sort.is-active::after { content: "▾"; }
.publications-empty {
  margin: 1.5rem 0 0; text-align: center; color: var(--text-muted); font-size: 0.95rem;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.publication-entry p { margin: 0.35rem 0; }

.pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2.5rem; align-items: center; }
.pagination a, .pagination strong, .pagination span {
  display: inline-block; padding: 0.5rem 0.9rem; border-radius: 8px;
  border: 1px solid var(--border); font-size: 0.875rem; font-weight: 500;
}
.pagination strong { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.articles-count { margin: 1.5rem 0 0; font-size: 0.875rem; color: var(--text-muted); }

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, var(--ur-blue-900) 0%, var(--ur-blue-800) 100%);
  color: rgba(255, 255, 255, 0.9);
  border-top: 3px solid var(--gold);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer__main {
  padding: 3.25rem 0 2.75rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 2fr);
  gap: 3rem 4rem;
  align-items: start;
}
.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  text-decoration: none !important;
}
.site-footer__brand-link:hover {
  text-decoration: none !important;
}
.site-footer__logo {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.site-footer__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.site-footer__tagline {
  margin: 0 0 0.55rem;
  max-width: 32ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.site-footer__affiliation {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ur-blue-950) !important;
  background: var(--gold);
  border: 1px solid var(--gold-800);
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.site-footer__cta:hover {
  background: #fbbf24;
  border-color: var(--gold-800);
  color: var(--ur-blue-950) !important;
  text-decoration: none !important;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.75rem;
}
.site-footer__heading {
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ec8f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__col li {
  margin-bottom: 0.55rem;
}
.site-footer__col li:last-child {
  margin-bottom: 0;
}
.site-footer__col a {
  font-size: 0.9rem;
  line-height: 1.45;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}
.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem 0;
}
.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer__copy a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.site-footer__meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md); padding: 1rem 1.25rem 1.25rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a { padding: 0.75rem 0.5rem; }
  .main-nav .has-sub > ul {
    position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; display: block;
  }
  .header-main { position: relative; }
  .hero,
  .home-hero { min-height: 440px; }
}

@media (max-width: 600px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__content,
  .home-hero__content { padding: 3rem 0; }
}

/* ── Project Documents folder browser ── */
.page-rubrique.rubrique-documents #main,
.page-document-folder #main { background: var(--surface-muted); }
.page-hero--compact { padding: 2.25rem 0 1.5rem; }
.page-hero--compact h1 { margin: 0.35rem 0 0; font-size: clamp(1.5rem, 3vw, 2rem); }

.page-hero--documents {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 48%, var(--ur-blue-900) 100%);
  border-bottom: 3px solid var(--gold);
}
.page-hero--documents-sub {
  padding: 2rem 0 1.65rem;
}
.page-hero--documents .page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8f0d4;
}
.page-hero--documents .page-hero__lead {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-hero-muted);
}
.section--documents-catalog {
  padding: 2.5rem 0 4rem;
  background: var(--surface-muted);
}

.documents-browser {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.35rem 1.5rem;
}
.documents-table {
  width: 100%; border-collapse: collapse; font-size: 0.9375rem;
}
.documents-table thead th {
  text-align: left; padding: 0.65rem 0.75rem;
  border-bottom: 2px solid var(--ur-blue-100);
  background: var(--ur-blue-50); color: var(--ur-blue-900);
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.documents-col-icon { width: 2.5rem; }
.documents-col-size { width: 7rem; text-align: right; }
.documents-sort {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  cursor: pointer; text-transform: inherit; letter-spacing: inherit;
}
.documents-sort.is-active { color: var(--ur-blue-800); }
.documents-sort:hover { color: var(--ur-blue-700); }

.documents-row td {
  padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.documents-row:hover td { background: var(--ur-blue-50); }
.documents-row--up td { background: var(--ur-blue-50); font-weight: 600; }
.documents-cell--size { text-align: right; color: var(--text-muted); font-size: 0.875rem; white-space: nowrap; }
.documents-link { color: var(--ur-blue-900); font-weight: 500; text-decoration: none; }
.documents-link:hover { color: var(--ur-blue-800); text-decoration: underline; }

.documents-icon {
  display: inline-block; width: 1.35rem; height: 1.35rem;
  background: var(--ur-blue-800); opacity: 0.9;
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}
.documents-icon--folder {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 18H4V8h16M20 6H12l-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 18H4V8h16M20 6H12l-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
}
.documents-icon--file {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6m4 18H6V4h7v5h5v11z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6m4 18H6V4h7v5h5v11z'/%3E%3C/svg%3E");
}
.documents-icon--up {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 9V5L3 12l7 7v-4.9C15 14.9 18.5 16.5 21 20c-1-5-4-10-11-11z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 9V5L3 12l7 7v-4.9C15 14.9 18.5 16.5 21 20c-1-5-4-10-11-11z'/%3E%3C/svg%3E");
}

.documents-summary {
  margin: 1rem 0 0; padding-top: 0.85rem; border-top: 1px solid var(--border);
  font-size: 0.875rem; color: var(--text-muted); font-weight: 500;
}

@media (max-width: 640px) {
  .documents-browser { padding: 0.85rem 0.65rem 1rem; }
  .documents-row td { padding: 0.55rem 0.45rem; }
  .documents-col-size { width: 5rem; }
}

/* ── Admissions ── */
.page-admission #main,
.rubrique-admissions #main {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface-white) 12rem);
}

.admission-hero {
  padding: 2.25rem 0 2rem;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 50%, var(--green-700) 100%);
  color: #fff;
}
.admission-hero--article {
  padding: 2rem 0 1.75rem;
}
.admission-hero .site-breadcrumb {
  margin-bottom: 1rem;
}
.admission-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8f0d4;
}
.admission-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.admission-hero__lead {
  margin: 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}
.admission-hero__lead p {
  margin: 0;
}

.admission-hub {
  padding: 2.5rem 0 3.5rem;
}
.admission-hub .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 2rem 2.5rem;
  align-items: start;
}
.admission-hub__grid {
  display: grid;
  gap: 1.25rem;
}
.admission-hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-left: 4px solid var(--green-600);
}
.admission-hub-card__body {
  padding: 1.5rem 1.6rem 1.65rem;
}
.admission-hub-card__type {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.admission-hub-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.25;
}
.admission-hub-card__title a {
  color: var(--green-950);
  text-decoration: none;
}
.admission-hub-card__title a:hover {
  color: var(--green-700);
}
.admission-hub-card__text {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.975rem;
}
.admission-hub__aside {
  display: grid;
  gap: 1rem;
}

.admission-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.admission-shell {
  padding: 2rem 0 3.5rem;
}
.admission-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}
.admission-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 1.25rem;
}
.admission-aside__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.admission-aside__links a {
  color: var(--green-800);
  font-weight: 500;
  text-decoration: none;
}
.admission-aside__links a:hover {
  text-decoration: underline;
}
.admission-content__body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.85rem 2rem;
}
.admission-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.admission-prose .admission-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.admission-prose .admission-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.admission-prose .admission-section > h2 {
  margin: 0 0 1.15rem;
  font-size: 1.3rem;
  color: var(--green-950);
  border-left: 4px solid var(--green-600);
  padding-left: 0.75rem;
}
.admission-prose .admission-section--intro p {
  margin: 0 0 1rem;
  line-height: 1.75;
}
.admission-track-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}
.admission-track-list li {
  font-weight: 500;
  color: var(--green-900);
}

.admission-focus-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.admission-focus-card {
  margin: 0;
  padding: 1.15rem 1.2rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  border-top: 3px solid var(--green-600);
}
.admission-focus-card__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-700);
}
.admission-focus-card strong {
  font-size: 1.05rem;
  color: var(--green-950);
  line-height: 1.35;
}
.admission-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--green-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-500);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
}

.admission-criteria-grid {
  display: grid;
  gap: 1.15rem;
}
.admission-criteria-card {
  padding: 1.2rem 1.25rem 1.3rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
}
.admission-criteria-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--green-950);
  line-height: 1.35;
}
.admission-criteria-card p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text);
}

.admission-facts {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.admission-facts__item {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--green-50);
  border-radius: var(--radius);
  border: 1px solid var(--green-100);
}
.admission-facts__item dt {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700);
}
.admission-facts__item dd {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}
.admission-facts a {
  color: var(--green-800);
  font-weight: 600;
}
.admission-thanks {
  margin: 1.25rem 0 0;
  font-weight: 600;
  color: var(--green-900);
}

.admission-contact-card {
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-50), var(--white));
  overflow: hidden;
}
.admission-contact-card__body {
  padding: 1.35rem 1.45rem 1.5rem;
}
.admission-contact-card__label {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.admission-contact-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.3;
}
.admission-contact-card__name a {
  color: var(--green-950);
  text-decoration: none;
}
.admission-contact-card__name a:hover {
  color: var(--green-700);
  text-decoration: underline;
}
.admission-contact-card__role {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--green-800);
}
.admission-contact-card__affiliation,
.admission-contact-card__summary {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
}
.admission-contact-card__channels {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.admission-contact-card__channels li {
  margin: 0;
  font-size: 0.9375rem;
}
.admission-contact-card__channel-label {
  display: inline-block;
  min-width: 3.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-700);
}
.admission-contact-card__channels a {
  color: var(--green-800);
  font-weight: 600;
}
.admission-contact-card__note {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
}
.admission-contact-card__profile {
  margin: 0;
}
.btn--sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}
.btn--ur {
  background: var(--ur-blue-800);
  color: #fff;
  border-color: var(--ur-blue-800);
  box-shadow: var(--shadow-sm);
}
.btn--ur:hover {
  background: var(--ur-blue-900);
  border-color: var(--ur-blue-900);
  color: #fff;
}
.btn--outline {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ur-blue-800);
  background: var(--white);
  border: 1px solid var(--ur-blue-600);
  border-radius: var(--radius);
  text-decoration: none;
}
.btn--outline:hover {
  background: var(--ur-blue-50);
  color: var(--ur-blue-900);
}

.admission-contact-sidebar .admission-contact-sidebar__name {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 1rem;
}
.admission-contact-sidebar .admission-contact-sidebar__name a {
  color: var(--green-900);
  text-decoration: none;
}
.admission-contact-sidebar .admission-contact-sidebar__role {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.admission-contact-sidebar p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}
.admission-contact-sidebar a {
  color: var(--green-800);
  font-weight: 500;
}

.admission-prose u,
.admission-prose .fontstyle0,
.admission-prose .fontstyle2 {
  text-decoration: none !important;
  font-size: inherit !important;
}

@media (max-width: 900px) {
  .admission-hub .container,
  .admission-layout {
    grid-template-columns: 1fr;
  }
  .admission-aside {
    position: static;
  }
}

/* ── About family (institutional editorial — not programme/admission layout) ── */
.page-about #main,
.page-contact #main,
.page-grievance #main,
.rubrique-about #main {
  background: linear-gradient(180deg, #f4f6f8 0%, #eceff3 100%);
  padding: 0;
}
.page-about .site-header,
.page-contact .site-header,
.page-grievance .site-header {
  position: relative;
  z-index: 2;
}

.about-page {
  --about-ink: #0f172a;
  --about-muted: #475569;
  --about-line: #d8dee8;
  --about-surface: #ffffff;
  --about-band: #e8ecf1;
  --about-accent: var(--green-800);
  --about-accent-soft: rgba(21, 107, 71, 0.1);
  --about-navy: #132238;
  --about-radius: 12px;
  --about-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --about-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  color: var(--about-ink);
  font-feature-settings: "kern" 1, "liga" 1;
}

.about-page__masthead {
  position: relative;
  background: var(--about-surface);
  border-bottom: 1px solid var(--about-line);
  padding: 1.75rem 0 2.75rem;
  box-shadow: var(--about-shadow-sm);
}
.about-page__masthead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--about-accent) 0%, var(--green-600) 55%, var(--about-navy) 100%);
}
.about-page__header-inner {
  max-width: 46rem;
}
.about-page__masthead .site-breadcrumb {
  margin-bottom: 1.35rem;
}
.about-page__label {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-accent);
  background: var(--about-accent-soft);
  border-radius: 999px;
}
.about-page__title {
  margin: 0 0 1rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--about-navy);
}
.about-page__summary {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--about-muted);
  max-width: 40rem;
}
.about-page__summary--lead {
  margin-top: 0.85rem;
}
.about-page__summary--lead p {
  margin: 0;
}
.about-page__copy a,
.about-page__metric-label a,
.contact-page__channels a {
  color: var(--about-accent);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 2px;
}
.about-page__copy a:hover,
.about-page__metric-label a:hover,
.contact-page__channels a:hover {
  text-decoration: underline;
}
.about-page__copy strong {
  color: var(--about-ink);
  font-weight: 600;
}

.about-page__cover {
  position: relative;
  margin: 0;
  aspect-ratio: 21 / 8;
  max-height: min(52vh, 520px);
  overflow: hidden;
  background: #1a2332;
}
.about-page__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.about-page__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(15, 22, 32, 0.55) 100%
  );
  pointer-events: none;
}
.about-page__cover-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 1.35rem clamp(1rem, 4vw, 2.5rem);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.about-page__metrics-wrap {
  background: var(--about-surface);
  border-bottom: 1px solid var(--about-line);
  padding: clamp(1.75rem, 4vw, 2.25rem) 0;
}
.about-page__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-page__metric {
  padding: 1.15rem 1.2rem 1.2rem;
  background: #fafbfc;
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-page__metric:hover {
  border-color: #c5d0dc;
  box-shadow: var(--about-shadow);
}
.about-page__metric-value {
  display: block;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--about-navy);
  line-height: 1.2;
}
.about-page__metric-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--about-muted);
}

.about-page__body {
  padding: 0;
}
.about-page__body-inner {
  max-width: none;
  padding: 0;
}

.about-page__section {
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
  border-bottom: 1px solid var(--about-line);
}
.about-page__section:last-child {
  border-bottom: 0;
}
.about-page__section--muted {
  background: var(--about-band);
  border-bottom-color: transparent;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.about-page__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--about-accent);
}
.about-page__heading {
  margin: 0 0 1.75rem;
  padding-bottom: 1.15rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--about-navy);
  max-width: 28rem;
  border-bottom: 1px solid var(--about-line);
}
.about-page__copy {
  max-width: 44rem;
}
.about-page__copy p {
  margin: 0 0 1.1rem;
  font-size: 1.03125rem;
  line-height: 1.78;
  color: var(--about-muted);
}
.about-page__copy p:last-child {
  margin-bottom: 0;
}

.about-page__statement {
  margin: 0 0 2rem;
  padding: 1.35rem 1.5rem;
  max-width: 40rem;
  border-left: 4px solid var(--about-accent);
  background: var(--about-accent-soft);
  border-radius: 0 var(--about-radius) var(--about-radius) 0;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--about-navy);
}

.about-page__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-page__pillars li {
  margin: 0;
  padding: 1.4rem 1.45rem;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow-sm);
}
.about-page__section--muted .about-page__pillars li {
  background: var(--about-surface);
}
.about-page__pillars strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--about-ink);
}
.about-page__pillars span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--about-muted);
}

.about-page__objectives {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: about-obj;
  max-width: 48rem;
}
.about-page__objectives li {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 0 0 1.25rem 3rem;
  border-bottom: 1px solid var(--about-line);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--about-muted);
  counter-increment: about-obj;
}
.about-page__objectives li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.about-page__objectives li::before {
  content: counter(about-obj, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--about-accent);
}

.about-page__disciplines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.about-page__discipline {
  margin: 0;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.about-page__discipline:hover {
  border-color: #c5d0dc;
  box-shadow: var(--about-shadow);
  transform: translateY(-2px);
}
.about-page__discipline h3 {
  margin: 0 0 0.6rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--about-ink);
}
.about-page__discipline p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--about-muted);
}

.about-page__explore {
  background: var(--about-ink);
  color: #fff;
  padding: 2.5rem 0 3rem;
}
.about-page__explore-title {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.about-page__explore-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-page__explore-links a {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s;
}
.about-page__explore-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.about-page--message .about-page__masthead {
  padding-bottom: 2rem;
}
.about-page--message:not(.about-page--stats) .about-page__body .about-page__section:first-child {
  padding-top: clamp(2rem, 4vw, 3rem);
}
.about-page--stats.about-page--message .about-page__body .about-page__section:first-child,
.about-page--contact .about-page__body .about-page__section:first-child,
.about-page--grievance .about-page__body .about-page__section:first-child {
  padding-top: clamp(2.25rem, 4.5vw, 3.25rem);
}

.about-page__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.about-page__stat-card {
  margin: 0;
  padding: 1.55rem 1.45rem;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-page__stat-card:hover {
  border-color: #c5d0dc;
  box-shadow: var(--about-shadow);
}
.about-page__stat-card__value {
  margin: 0 0 0.4rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--about-accent);
}
.about-page__stat-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--about-ink);
}
.about-page__stat-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--about-muted);
}

.about-page__profile-tables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.about-page__profile-block {
  padding: 1.3rem 1.4rem;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow-sm);
}
.about-page__profile-block h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--about-ink);
}
.about-page__profile-dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.about-page__profile-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--about-line);
  font-size: 0.9375rem;
}
.about-page__profile-dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.about-page__profile-dl dt {
  margin: 0;
  color: var(--about-muted);
  font-weight: 500;
}
.about-page__profile-dl dd {
  margin: 0;
  font-weight: 600;
  color: var(--about-ink);
}
.about-page__note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--about-muted);
  max-width: 42rem;
}

/* ── Contact & grievance forms (shared with about family) ── */
.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.75rem 3.5rem;
  align-items: start;
}
.contact-page__address {
  margin: 1.5rem 0;
  font-style: normal;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--about-muted);
}
.contact-page__address p {
  margin: 0 0 0.75rem;
}
.contact-page__channels {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-page__channel-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--about-muted);
  margin-bottom: 0.15rem;
}
.contact-page__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--about-muted);
}

.contact-page__form-wrap {
  position: relative;
  padding: 1.65rem 1.75rem 1.75rem;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow);
}
.contact-page__form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--about-radius) var(--about-radius) 0 0;
  background: linear-gradient(90deg, var(--about-accent), var(--green-600));
}
.contact-page__form-title {
  margin: 0.15rem 0 0.4rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--about-navy);
}
.contact-page__form-intro {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--about-muted);
}
.contact-page__form {
  display: grid;
  gap: 1rem;
}
.contact-page__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-page__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--about-ink);
}
.contact-page__field label span {
  color: #c53030;
}
.contact-page__field input,
.contact-page__field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--about-ink);
  background: #fafbfc;
  border: 1px solid var(--about-line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.contact-page__field input:hover,
.contact-page__field textarea:hover {
  border-color: #c5d0dc;
}
.contact-page__field input:focus,
.contact-page__field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--about-accent);
  box-shadow: 0 0 0 3px var(--about-accent-soft);
}
.contact-page__field textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-page__form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

/* SPIP Formidable — match .contact-page__field / about-page form card */
.contact-page__form-wrap .formulaire_spip,
.contact-page__form-wrap .formulaire_formidable {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.contact-page__form-wrap .formulaire_spip form,
.contact-page__form-wrap .formulaire_spip .editer-groupe {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.contact-page__form-wrap .formulaire_spip .editer,
.contact-page__form-wrap .formulaire_spip fieldset.editer {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.contact-page__form-wrap .formulaire_spip fieldset.editer-groupe {
  margin: 0 0 0.25rem;
  padding: 0;
  border: 0;
}
.contact-page__form-wrap .formulaire_spip fieldset.editer-groupe > legend,
.contact-page__form-wrap .formulaire_spip legend {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--about-navy);
  border: 0;
}
.contact-page__form-wrap .formulaire_spip .editer-label,
.contact-page__form-wrap .formulaire_spip label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--about-ink);
}
.contact-page__form-wrap .formulaire_spip .obligatoire {
  font-weight: 500;
  font-size: 0.8125rem;
  color: #c53030;
}
.contact-page__form-wrap .formulaire_spip input[type="text"],
.contact-page__form-wrap .formulaire_spip input[type="email"],
.contact-page__form-wrap .formulaire_spip input[type="tel"],
.contact-page__form-wrap .formulaire_spip input.text,
.contact-page__form-wrap .formulaire_spip textarea,
.contact-page__form-wrap .formulaire_spip select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--about-ink);
  background: #fafbfc;
  border: 1px solid var(--about-line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.contact-page__form-wrap .formulaire_spip input[type="text"]:hover,
.contact-page__form-wrap .formulaire_spip input[type="email"]:hover,
.contact-page__form-wrap .formulaire_spip input[type="tel"]:hover,
.contact-page__form-wrap .formulaire_spip input.text:hover,
.contact-page__form-wrap .formulaire_spip textarea:hover,
.contact-page__form-wrap .formulaire_spip select:hover {
  border-color: #c5d0dc;
}
.contact-page__form-wrap .formulaire_spip input:focus,
.contact-page__form-wrap .formulaire_spip textarea:focus,
.contact-page__form-wrap .formulaire_spip select:focus {
  outline: none;
  background: #fff;
  border-color: var(--about-accent);
  box-shadow: 0 0 0 3px var(--about-accent-soft);
}
.contact-page__form-wrap .formulaire_spip textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-page__form-wrap .formulaire_spip .pleine_largeur textarea {
  width: 100%;
}
.contact-page__form-wrap .formulaire_spip .explication,
.contact-page__form-wrap .formulaire_spip .erreur_message {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.contact-page__form-wrap .formulaire_spip .erreur_message {
  color: #c53030;
}
.contact-page__form-wrap .formulaire_spip .editer.erreur input,
.contact-page__form-wrap .formulaire_spip .editer.erreur textarea,
.contact-page__form-wrap .formulaire_spip .editer.erreur select {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}
.contact-page__form-wrap .formulaire_spip .saisie_session_email {
  display: none !important;
}

/* ── Masters project proposal page ── */
.page-masters-proposal #main {
  background: var(--surface-muted);
}

.masters-proposal-hero {
  padding: 2.35rem 0 2.1rem;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 48%, var(--green-800) 100%);
  color: #fff;
  border-bottom: 3px solid var(--green-600);
}
.masters-proposal-hero .site-breadcrumb {
  margin-bottom: 1.15rem;
}
.programme-hero .site-breadcrumb {
  margin-bottom: 1rem;
}
.team-profile-hero .site-breadcrumb {
  margin-bottom: 1.5rem;
}
.masters-proposal-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8f0d4;
}
.masters-proposal-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 28ch;
}
.masters-proposal-hero__lead {
  margin: 0 0 1.15rem;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}
.masters-proposal-hero__lead p {
  margin: 0;
}
.masters-proposal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.masters-proposal-hero__meta li {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.masters-proposal-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.masters-proposal-stats__inner {
  padding: 0.15rem 0;
}
.masters-proposal-stats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.masters-proposal-stats__item {
  padding: 1.1rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.masters-proposal-stats__item:last-child {
  border-right: 0;
}
.masters-proposal-stats__value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.02em;
}
.masters-proposal-stats__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.masters-proposal-shell {
  padding: 2.5rem 0 4rem;
  max-width: none;
}
.masters-proposal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 2rem 2.25rem;
  align-items: start;
}
.masters-proposal-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 1.25rem;
}
.masters-proposal-aside__card {
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.masters-proposal-aside__card--intro {
  border-left: 4px solid var(--green-600);
}
.masters-proposal-aside__card--muted {
  background: var(--green-50);
  border-color: rgba(48, 104, 72, 0.15);
}
.masters-proposal-aside__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-950);
}
.masters-proposal-aside__card p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.masters-proposal-aside__card p:last-child {
  margin-bottom: 0;
}
.masters-proposal-aside__note {
  font-size: 0.84rem !important;
  color: var(--green-800) !important;
}
.masters-proposal-checklist {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
}
.masters-proposal-checklist li {
  margin-bottom: 0.4rem;
}

.masters-proposal-form-panel {
  background: var(--white);
  border: 1px solid #d8e0e8;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 45, 32, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.masters-proposal-form-panel__head {
  padding: 1.75rem 2rem 1.35rem;
  background: var(--white);
  border-bottom: 1px solid #e8edf2;
}
.masters-proposal-form-panel__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
}
.masters-proposal-form-panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green-950);
}
.masters-proposal-form-panel__intro {
  margin: 0;
  max-width: 58ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.masters-proposal-form-panel__about {
  margin: 0 2rem;
  padding: 1rem 1.15rem 1rem 1.25rem;
  background: #f6f9fc;
  border: 1px solid #dce5ee;
  border-left: 4px solid var(--green-600);
  border-radius: 8px;
}
.masters-proposal-form-panel__about-lead {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}
.masters-proposal-form-panel__about-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.masters-proposal-form-panel__about-note a {
  color: var(--green-800);
  font-weight: 600;
}
.masters-proposal-form-panel__about-note a:hover {
  text-decoration: underline;
}
.masters-proposal-form-panel__about + .masters-proposal-form-panel__body {
  margin-top: 1.5rem;
}
.masters-proposal-form-panel__body {
  padding: 0 0 0.25rem;
}

/* Masters proposal — Formidable fields */
.masters-proposal-form-panel__body .masters-proposal-page__form.formulaire_spip,
.masters-proposal-form-panel__body .formulaire_formidable,
.masters-proposal-page__form.formulaire_spip,
.masters-proposal-form-panel .formulaire_formidable {
  margin: 0;
  padding: 2rem 2.25rem 2.25rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.masters-proposal-page__form.formulaire_spip form,
.masters-proposal-page__form.formulaire_spip .editer-groupe {
  display: grid;
  gap: 1.35rem;
}
.masters-proposal-page__form.formulaire_spip fieldset.editer-groupe {
  margin: 0;
  padding: 0;
  border: 0;
}
.masters-proposal-page__form.formulaire_spip > form > fieldset.editer-groupe > legend,
.masters-proposal-page__form.formulaire_spip fieldset.editer-groupe > legend:empty {
  display: none;
}
.masters-proposal-page__form.formulaire_spip fieldset.editer-groupe > legend {
  display: block;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-800);
  border-bottom: 1px solid #e8edf2;
}
.masters-proposal-page__form.formulaire_spip .editer,
.masters-proposal-page__form.formulaire_spip fieldset.editer {
  margin: 0;
  padding: 0;
  border: 0;
}
.masters-proposal-page__form.formulaire_spip label,
.masters-proposal-page__form.formulaire_spip .editer-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #2d3748;
}
.masters-proposal-page__form.formulaire_spip .obligatoire {
  font-weight: 500;
  font-size: 0.8125rem;
  color: #9b2c2c;
}
.masters-proposal-page__form.formulaire_spip input[type="text"],
.masters-proposal-page__form.formulaire_spip input[type="email"],
.masters-proposal-page__form.formulaire_spip input[type="tel"],
.masters-proposal-page__form.formulaire_spip input.text,
.masters-proposal-page__form.formulaire_spip textarea,
.masters-proposal-page__form.formulaire_spip select {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--text);
  background: #fff;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.masters-proposal-page__form.formulaire_spip select {
  cursor: pointer;
  appearance: auto;
  padding-right: 2rem;
}
.masters-proposal-page__form.formulaire_spip textarea {
  min-height: 6rem;
}
.masters-proposal-page__form.formulaire_spip input:focus,
.masters-proposal-page__form.formulaire_spip textarea:focus,
.masters-proposal-page__form.formulaire_spip select:focus {
  outline: none;
  background: #fff;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(76, 166, 110, 0.2);
}
.masters-proposal-page__form.formulaire_spip .explication,
.masters-proposal-page__form.formulaire_spip .erreur_message {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.masters-proposal-page__form.formulaire_spip .erreur_message {
  color: #c53030;
}
.masters-proposal-page__form.formulaire_spip .editer.erreur input,
.masters-proposal-page__form.formulaire_spip .editer.erreur select {
  border-color: #e53e3e;
}
.masters-proposal-page__form.formulaire_spip .saisie_session_email {
  display: none !important;
}
.masters-proposal-page__form.formulaire_spip fieldset.editer.staff_internal {
  margin-top: 0.5rem;
  padding: 1rem;
  background: #f8fafb;
  border: 1px dashed #c5d0dc;
  border-radius: 10px;
}
.masters-proposal-page__form.formulaire_spip fieldset.editer.staff_internal > legend {
  border-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Formidable col3/col2 → editer-groupe_N_colonnes on the live site */
.masters-proposal-page__form.formulaire_spip .editer-groupe_3_colonnes,
.masters-proposal-form.formulaire_spip .editer-groupe_3_colonnes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
  align-items: start;
}
.masters-proposal-page__form.formulaire_spip .editer-groupe_2_colonnes,
.masters-proposal-form.formulaire_spip .editer-groupe_2_colonnes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
  align-items: start;
}
.masters-proposal-page__form.formulaire_spip .editer-groupe_1ligne_max_colonnes,
.masters-proposal-form.formulaire_spip .editer-groupe_1ligne_max_colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.masters-proposal-page__form.formulaire_spip .editer-groupe_3_colonnes > .editer,
.masters-proposal-page__form.formulaire_spip .editer-groupe_2_colonnes > .editer {
  min-width: 0;
}
.masters-proposal-page__form.formulaire_spip .editer-groupe_3_colonnes,
.masters-proposal-page__form.formulaire_spip .editer-groupe_1ligne_max_colonnes {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid #e8edf2;
}
.masters-proposal-page__form.formulaire_spip fieldset.editer.staff_internal {
  border-bottom: 0;
  padding-bottom: 0;
}
.masters-proposal-page__form.formulaire_spip .saisie_fichiers .editer,
.masters-proposal-page__form.formulaire_spip .editer_fichiers {
  padding: 1.35rem 1.25rem;
  background: #f8fafc;
  border: 1px dashed #c5d0dc;
  border-radius: 8px;
}
.masters-proposal-page__form.formulaire_spip .saisie_fichiers input[type="file"],
.masters-proposal-page__form.formulaire_spip input[type="file"] {
  min-height: 3rem;
  font-size: 1rem;
}

.masters-proposal-page__form.formulaire_spip .boutons {
  margin: 0.75rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid #e8edf2;
}
.masters-proposal-page__form.formulaire_spip .boutons button.submit,
.masters-proposal-page__form.formulaire_spip .boutons .submit_main,
.masters-proposal-page__form.formulaire_spip .boutons input.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.75rem 1.75rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--green-800);
  border: 1px solid var(--green-800);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}
.masters-proposal-page__form.formulaire_spip .boutons button.submit:hover,
.masters-proposal-page__form.formulaire_spip .boutons .submit_main:hover,
.masters-proposal-page__form.formulaire_spip .boutons input.submit:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  box-shadow: 0 4px 12px rgba(30, 82, 64, 0.25);
}
.masters-proposal-page__form.formulaire_spip .reponse_formulaire,
.masters-proposal-page__form.formulaire_spip .reponse_formulaire_ok {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  background: var(--green-50);
  border: 1px solid rgba(48, 104, 72, 0.25);
  border-radius: 10px;
  color: var(--green-950);
}
.masters-proposal-page__form.formulaire_spip .reponse_formulaire_erreur {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #9b2c2c;
}

@media (max-width: 960px) {
  .masters-proposal-stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .masters-proposal-stats__item:nth-child(2) {
    border-right: 0;
  }
  .masters-proposal-stats__item:nth-child(1),
  .masters-proposal-stats__item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 768px) {
  .masters-proposal-hero__meta {
    gap: 0.4rem;
  }
  .masters-proposal-page__form.formulaire_spip .editer-groupe_3_colonnes,
  .masters-proposal-form.formulaire_spip .editer-groupe_3_colonnes,
  .masters-proposal-page__form.formulaire_spip .editer-groupe_2_colonnes,
  .masters-proposal-form.formulaire_spip .editer-groupe_2_colonnes {
    grid-template-columns: 1fr;
  }
  .masters-proposal-form-panel__head,
  .masters-proposal-form-panel__about {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .masters-proposal-form-panel__about {
    margin: 0 1.25rem;
  }
  .masters-proposal-page__form.formulaire_spip,
  .masters-proposal-form-panel__body .formulaire_formidable {
    padding: 1.25rem;
  }
  .masters-proposal-page__form.formulaire_spip .boutons button.submit,
  .masters-proposal-page__form.formulaire_spip .boutons .submit_main,
  .masters-proposal-page__form.formulaire_spip .boutons input.submit {
    width: 100%;
  }
}
.contact-page__form-wrap .formulaire_spip .boutons {
  margin: 0.35rem 0 0;
  padding: 0;
}
.contact-page__form-wrap .formulaire_spip .boutons .image_loading {
  display: none;
}
.about-page .contact-page__form-wrap .formulaire_spip .boutons button.submit,
.about-page .contact-page__form-wrap .formulaire_spip .boutons .submit_main,
.about-page .contact-page__form-wrap .formulaire_spip .boutons input.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.65rem 1.35rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  background: var(--about-accent);
  border: 1px solid var(--about-accent);
  border-radius: 10px;
  box-shadow: var(--about-shadow-sm);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.about-page .contact-page__form-wrap .formulaire_spip .boutons button.submit:hover,
.about-page .contact-page__form-wrap .formulaire_spip .boutons .submit_main:hover,
.about-page .contact-page__form-wrap .formulaire_spip .boutons input.submit:hover {
  color: #fff;
  background: #125a3c;
  border-color: #125a3c;
  transform: translateY(-1px);
}
.about-page .contact-page__form-wrap .formulaire_spip .boutons button.submit:focus-visible,
.about-page .contact-page__form-wrap .formulaire_spip .boutons .submit_main:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--about-accent-soft);
}
.contact-page__form-wrap .formulaire_spip .reponse_formulaire,
.contact-page__form-wrap .formulaire_spip .reponse_formulaire_ok {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  background: var(--about-accent-soft);
  border: 1px solid rgba(21, 107, 71, 0.2);
  border-radius: 10px;
  color: var(--about-navy);
}
.contact-page__form-wrap .formulaire_spip .reponse_formulaire_erreur {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 10px;
  color: #9b2c2c;
}

/* Legacy mailto form button (if present in old HTML) */
.about-page .contact-page__form .btn--primary {
  background: var(--about-accent);
  color: #fff;
  border: 1px solid var(--about-accent);
  box-shadow: var(--about-shadow-sm);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
}
.about-page .contact-page__form .btn--primary:hover {
  background: #125a3c;
  border-color: #125a3c;
  color: #fff;
}

.contact-page__map {
  border-radius: var(--about-radius);
  overflow: hidden;
  border: 1px solid var(--about-line);
  background: var(--about-line);
  box-shadow: var(--about-shadow-sm);
}
.contact-page__map iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  min-height: 280px;
}

@media (max-width: 900px) {
  .contact-page__grid,
  .contact-page__field-row {
    grid-template-columns: 1fr;
  }
}

/* ── Lab page modules ── */
.lab-modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
}
.lab-module {
  display: flex;
  flex-direction: column;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  overflow: hidden;
  box-shadow: var(--about-shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.lab-module:hover {
  border-color: rgba(21, 107, 71, 0.35);
  box-shadow: var(--about-shadow);
  transform: translateY(-2px);
}
.lab-module__media {
  aspect-ratio: 16 / 10;
  background: var(--about-line);
  overflow: hidden;
}
.lab-module__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lab-module__body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
}
.lab-module__title {
  margin: 0 0 0.5rem;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--about-ink);
}
.lab-module__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--about-muted);
}
.about-page--lab .about-page__section#modules .about-page__copy {
  margin-bottom: 0;
}

/* ── Grievance page ── */
.grievance-page__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.grievance-page__fieldset + .grievance-page__fieldset {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--about-line);
}
.grievance-page__legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--about-ink);
}
.grievance-page__optional {
  font-weight: 500;
  color: var(--about-muted);
}
.grievance-page__fieldset-note {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--about-muted);
}
.grievance-page__form .contact-page__field-row {
  margin-top: 0;
}

/* ── About rubrique hub (rubrique 1) ── */
.about-page--hub .about-page__masthead {
  padding-bottom: 2.25rem;
}
.about-hub {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.about-hub__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 2.5rem 3rem;
  align-items: start;
}
.about-hub__section-title {
  margin: 0 0 0.5rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--about-navy);
}
.about-hub__section-lead {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--about-muted);
}
.about-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.about-hub-card {
  margin: 0;
  min-height: 100%;
}
.about-hub-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  overflow: hidden;
  box-shadow: var(--about-shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.about-hub-card__link:hover {
  border-color: rgba(21, 107, 71, 0.35);
  box-shadow: var(--about-shadow);
  transform: translateY(-2px);
}
.about-hub-card__link:focus-visible {
  outline: 2px solid var(--about-accent);
  outline-offset: 2px;
}
.about-hub-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e8ecf1 0%, #d8dee8 100%);
  overflow: hidden;
}
.about-hub-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-hub-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--about-accent-soft) 0%, #e8ecf1 55%, #d8dee8 100%);
}
.about-hub-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.3rem;
}
.about-hub-card__type {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--about-accent);
}
.about-hub-card__title {
  margin: 0 0 0.5rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--about-navy);
}
.about-hub-card__text {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--about-muted);
}
.about-hub-card__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--about-accent);
}
.about-hub-card__link:hover .about-hub-card__cta {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.about-hub__aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 1.25rem;
}
.about-hub-aside-card {
  padding: 1.25rem 1.3rem;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow-sm);
}
.about-hub-aside-card--accent {
  border-color: rgba(21, 107, 71, 0.25);
  background: linear-gradient(180deg, #fff 0%, #f4faf7 100%);
}
.about-hub-aside-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--about-navy);
}
.about-hub-aside-card p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--about-muted);
}
.about-hub-aside-card .btn--primary {
  background: var(--about-accent);
  color: #fff;
  border-color: var(--about-accent);
}
.about-hub-aside-card .btn--primary:hover {
  background: #125a3c;
  border-color: #125a3c;
  color: #fff;
}
.about-hub-aside-card .btn--outline {
  border-color: var(--about-line);
  color: var(--about-navy);
}
.about-hub-aside-card .btn--outline:hover {
  border-color: var(--about-accent);
  color: var(--about-accent);
}

@media (max-width: 900px) {
  .about-hub__layout {
    grid-template-columns: 1fr;
  }
  .about-hub__aside {
    position: static;
  }
  .about-hub__grid {
    grid-template-columns: 1fr;
  }
}

.about-page__copy--intro {
  margin-bottom: 1.25rem;
}
.about-page__section--letter .about-page__heading {
  max-width: 26ch;
}
.about-page__section--closing {
  text-align: center;
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}
.about-page__section--closing .about-page__heading {
  margin-inline: auto;
  max-width: 20rem;
  border-bottom: 0;
  padding-bottom: 0;
}
.about-page__signoff {
  margin: 0 0 0.5rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--about-navy);
}
.about-page__signoff-role {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--about-muted);
}

@media (max-width: 900px) {
  .about-page__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-page__stats-grid,
  .about-page__profile-tables {
    grid-template-columns: 1fr;
  }
  .about-page__pillars,
  .about-page__disciplines {
    grid-template-columns: 1fr;
  }
  .about-page__heading {
    max-width: none;
  }
}
@media (max-width: 520px) {
  .about-page__metrics {
    grid-template-columns: 1fr;
  }
  .about-page__cover {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
}

/* ── Homepage: success stories + CTA (Sprint 1) ── */
.home-section--stories {
  background: #fff;
  border-top: 1px solid #d8dee8;
}
.home-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.home-story {
  display: flex;
  flex-direction: column;
  background: #fafbfc;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.home-story__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-100);
}
.home-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-story__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-100), var(--ur-blue-50));
}
.home-story__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}
.home-story__body time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.home-story__body h3 {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}
.home-story__body h3 a {
  color: #132238;
  text-decoration: none;
}
.home-story__body h3 a:hover {
  color: var(--green-800);
}
.home-story__body p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
}
.home-story__link {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-800);
}
.home-story__link:hover {
  text-decoration: underline;
}

.home-cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(135deg, var(--ur-blue-900) 0%, var(--green-900) 100%);
  color: var(--on-hero);
}
.home-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}
.home-cta__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-hero-subtle);
}
.home-cta__title {
  margin: 0 0 0.65rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--on-hero);
}
.home-cta__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--on-hero-muted);
}
.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--on-hero);
  background: transparent;
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-hero);
  border-color: rgba(255, 255, 255, 0.65);
}

.update-feed__empty {
  padding: 1rem 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  list-style: none;
}
.update-feed__empty a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .home-stories {
    grid-template-columns: 1fr;
  }
  .home-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Short course pages (articles 190, 191) ── */
.programme-hero--course {
  background: linear-gradient(135deg, var(--ur-blue-900) 0%, var(--green-900) 100%);
}
.programme-hero--course .programme-hero__badge {
  background: rgba(255, 255, 255, 0.14);
  color: var(--on-hero);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.programme-hero--course .programme-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.programme-hero--course .programme-hero__facts li {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-hero-muted);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.programme-stats--course .programme-meta__list dd {
  background: var(--white);
}
.course-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.course-overview__card {
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.course-overview__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
}
.course-overview__card ul {
  margin: 0;
  padding-left: 1.2rem;
}
.course-overview__card li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}
.course-overview__card p {
  margin: 0;
  line-height: 1.65;
  color: var(--text-muted);
}
.course-overview__card a {
  font-weight: 600;
}
.programme-section--body {
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 1.5rem;
}
.programme-aside--course .programme-aside__prereq p {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.programme-content--course .programme-section--outline {
  background: transparent;
  border: 0;
  padding: 0;
}
.programme-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.programme-footer__contact {
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ur-blue-800);
  background: var(--white);
}
.programme-footer__contact:hover {
  background: var(--ur-blue-50);
  color: var(--ur-blue-700);
}

@media (max-width: 768px) {
  .course-overview {
    grid-template-columns: 1fr;
  }
  .programme-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .programme-footer__contact {
    text-align: center;
  }
}
