/* AfricEduc: the platform, its community and its geographical reach. */
.interior-page.page-africeduc .africeduc-page {
  --africeduc-navy: #153d75;
  --africeduc-blue: #145ed9;
  --africeduc-green: #16775b;
  --africeduc-gold: #f2c66b;
  --africeduc-ink: #38536d;
  --africeduc-line: #dce6ef;
  background: #fff;
}
.interior-page.page-africeduc .africeduc-page > .africeduc-hero {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background: #f0f5fb;
  border-bottom: 1px solid var(--africeduc-line);
}
.interior-page.page-africeduc .africeduc-page .africeduc-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, .85fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.interior-page.page-africeduc .africeduc-page .africeduc-badge {
  margin: 0 0 1.25rem;
  color: var(--africeduc-green);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .045em;
}
.interior-page.page-africeduc .africeduc-page .africeduc-hero h1 {
  max-width: 20ch;
  margin: 0 0 1.6rem;
  color: var(--africeduc-navy);
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.045em;
}
.interior-page.page-africeduc .africeduc-page .africeduc-hero-text {
  max-width: 60ch;
  margin: 0 0 2rem;
  color: var(--africeduc-ink);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.85;
}
.interior-page.page-africeduc .africeduc-page .africeduc-identity {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 370px);
  aspect-ratio: 1;
  margin-inline: auto;
  padding: clamp(.8rem, 1.5vw, 1.2rem);
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 50%;
}
.interior-page.page-africeduc .africeduc-page .africeduc-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.interior-page.page-africeduc .africeduc-page .africeduc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 54px;
  max-width: 100%;
  padding: .9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.interior-page.page-africeduc .africeduc-page .africeduc-button svg { flex: 0 0 20px; }
.interior-page.page-africeduc .africeduc-page .africeduc-button-primary { background: var(--africeduc-green); color: #fff; }
.interior-page.page-africeduc .africeduc-page .africeduc-button-primary:hover { background: #105e46; }
.interior-page.page-africeduc .africeduc-page .africeduc-button-light { background: #fff; color: var(--africeduc-navy); }
.interior-page.page-africeduc .africeduc-page .africeduc-button-light:hover { background: #eef4fc; }
.interior-page.page-africeduc .africeduc-page > .africeduc-pillars {
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
  background: #fff;
}
.interior-page.page-africeduc .africeduc-page .africeduc-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.interior-page.page-africeduc .africeduc-page .africeduc-pillar {
  min-width: 0;
  padding-inline: clamp(1.5rem, 3.2vw, 3rem);
}
.interior-page.page-africeduc .africeduc-page .africeduc-pillar:first-child { padding-inline-start: 0; }
.interior-page.page-africeduc .africeduc-page .africeduc-pillar:last-child { padding-inline-end: 0; }
.interior-page.page-africeduc .africeduc-page .africeduc-pillar + .africeduc-pillar { border-inline-start: 1px solid var(--africeduc-line); }
.interior-page.page-africeduc .africeduc-page .africeduc-pillar-icon {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--africeduc-green);
}
.interior-page.page-africeduc .africeduc-page .africeduc-pillar h2 {
  margin: 0 0 .8rem;
  color: var(--africeduc-navy);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -.02em;
}
.interior-page.page-africeduc .africeduc-page .africeduc-pillar p {
  margin: 0;
  max-width: 40ch;
  color: var(--africeduc-ink);
  font-size: .94rem;
  line-height: 1.8;
}
.interior-page.page-africeduc .africeduc-page > .africeduc-network {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background: #f4f7fb;
  scroll-margin-top: 120px;
}
.interior-page.page-africeduc .africeduc-page .africeduc-network-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2.5rem;
}
.interior-page.page-africeduc .africeduc-page .africeduc-network-title h2 {
  max-width: 23ch;
  margin: 0;
  color: var(--africeduc-navy);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.3;
  letter-spacing: -.035em;
}
.interior-page.page-africeduc .africeduc-page .africeduc-network-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.7rem;
  margin: 0;
  padding: 0;
}
.interior-page.page-africeduc .africeduc-page .africeduc-stat {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: .6rem;
  min-width: 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 3px solid var(--africeduc-gold);
}
.interior-page.page-africeduc .africeduc-page .africeduc-stat dd {
  margin: 0;
  color: var(--africeduc-navy);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.interior-page.page-africeduc .africeduc-page .africeduc-stat dt {
  max-width: 19ch;
  color: #526a82;
  font-size: .82rem;
  line-height: 1.7;
}
.interior-page.page-africeduc .africeduc-page .africeduc-map-figure { min-width: 0; margin: 0; }
.interior-page.page-africeduc .africeduc-page .network-map {
  max-width: none;
  padding: clamp(.5rem, 1.5vw, 1.25rem);
  border: 1px solid var(--africeduc-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}
.interior-page.page-africeduc .africeduc-page .network-map-stage {
  direction: ltr;
  border-radius: 12px;
  overflow: visible;
  background: #fff;
}
.interior-page.page-africeduc .africeduc-page .network-marker { background: #f2c66b; }
.interior-page.page-africeduc .africeduc-page .network-marker::before { background: var(--africeduc-green); }
.interior-page.page-africeduc .africeduc-page .network-marker:focus-visible { outline: 3px solid var(--africeduc-blue); outline-offset: 3px; }
.interior-page.page-africeduc .africeduc-page .network-marker span {
  padding: .45rem .65rem;
  max-width: 180px;
  white-space: normal;
  width: max-content;
  color: #fff;
  background: var(--africeduc-navy);
  font-size: .74rem;
  line-height: 1.5;
  text-align: center;
}
.interior-page.page-africeduc .africeduc-page .africeduc-map-caption {
  max-width: 80ch;
  margin: 1rem auto 0;
  color: #60758a;
  font-size: .8rem;
  line-height: 1.8;
  text-align: center;
}
.interior-page.page-africeduc .africeduc-page .africeduc-connections {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.interior-page.page-africeduc .africeduc-page .africeduc-cooperation-photo { margin: 0; min-width: 0; }
.interior-page.page-africeduc .africeduc-page .africeduc-cooperation-photo img { display: block; width: 100%; height: auto; border-radius: 16px; }
.interior-page.page-africeduc .africeduc-page .africeduc-cooperation-photo figcaption { margin-top: .8rem; color: #60758a; font-size: .78rem; line-height: 1.8; }
.interior-page.page-africeduc .africeduc-page .africeduc-regions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}
.interior-page.page-africeduc .africeduc-page .africeduc-region {
  padding: 1.65rem 1.8rem;
  border-inline-start: 3px solid var(--africeduc-green);
  border-radius: 0 12px 12px 0;
  background: #fff;
}
.interior-page.page-africeduc .africeduc-page .africeduc-region h3 {
  margin: 0 0 .6rem;
  color: var(--africeduc-navy);
  font-size: 1.2rem;
  line-height: 1.5;
}
.interior-page.page-africeduc .africeduc-page .africeduc-region p {
  margin: 0;
  color: var(--africeduc-ink);
  font-size: .94rem;
  line-height: 1.85;
}
.interior-page.page-africeduc .africeduc-page .africeduc-distribution {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--africeduc-line);
  text-align: center;
}
.interior-page.page-africeduc .africeduc-page .africeduc-distribution p {
  margin: .3rem 0 0;
  color: #60758a;
  font-size: .8rem;
  line-height: 1.8;
}
.interior-page.page-africeduc .africeduc-page .africeduc-distribution .africeduc-distribution-numbers {
  margin: 0;
  color: var(--africeduc-navy);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.9;
}
.interior-page.page-africeduc .africeduc-page > .africeduc-join { background: #fff; padding-block: clamp(3rem, 5vw, 4.5rem); }
.interior-page.page-africeduc .africeduc-page .africeduc-join-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-inline-start: 5px solid var(--africeduc-gold);
  border-radius: 22px;
  background: var(--africeduc-navy);
}
.interior-page.page-africeduc .africeduc-page .africeduc-join-copy { max-width: 720px; }
.interior-page.page-africeduc .africeduc-page .africeduc-join-copy h2 {
  max-width: 25ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.7rem, 2.9vw, 2.4rem);
  line-height: 1.35;
  letter-spacing: -.03em;
}
.interior-page.page-africeduc .africeduc-page .africeduc-join-copy p {
  max-width: 60ch;
  margin: 0;
  color: #dce9f8;
  font-size: 1rem;
  line-height: 1.85;
}
.interior-page.page-africeduc .africeduc-page .africeduc-join-panel .africeduc-button { flex: 0 0 auto; }
.interior-page.page-africeduc .africeduc-page .africeduc-button-light:focus-visible { outline-color: var(--africeduc-gold); }
html[dir="rtl"] .interior-page.page-africeduc .africeduc-page .africeduc-region { border-radius: 12px 0 0 12px; }
html[dir="rtl"] .interior-page.page-africeduc .africeduc-page :is(h1, h2, h3, .africeduc-badge, .africeduc-stat dd) { letter-spacing: 0; }
html[dir="rtl"] .interior-page.page-africeduc .africeduc-page .africeduc-button svg { transform: scaleX(-1); }
@media (max-width: 1099px) {
  .interior-page.page-africeduc .africeduc-page .africeduc-hero-layout { grid-template-columns: minmax(0, 1.4fr) minmax(230px, .8fr); gap: 2.5rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-network-heading { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-network-stats { width: min(100%, 460px); }
  .interior-page.page-africeduc .africeduc-page .africeduc-join-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
  .interior-page.page-africeduc .africeduc-page > .africeduc-hero { padding-block: 2.75rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-hero h1 { max-width: 22ch; font-size: clamp(2rem, 6.8vw, 2.7rem); }
  .interior-page.page-africeduc .africeduc-page .africeduc-identity { width: min(80%, 280px); }
  .interior-page.page-africeduc .africeduc-page .africeduc-pillars-grid,
  .interior-page.page-africeduc .africeduc-page .africeduc-connections { grid-template-columns: minmax(0, 1fr); }
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar,
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar:first-child,
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar:last-child { padding: 1.5rem 0; }
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar:first-child { padding-top: 0; }
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar:last-child { padding-bottom: 0; }
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar + .africeduc-pillar { border-inline-start: 0; border-top: 1px solid var(--africeduc-line); }
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar h2 { font-size: 1.25rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-pillar p { max-width: 60ch; }
  .interior-page.page-africeduc .africeduc-page .africeduc-network-title h2 { font-size: clamp(1.7rem, 5.5vw, 2rem); }
  .interior-page.page-africeduc .africeduc-page .africeduc-network-stats { gap: 1rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-stat { padding-inline-start: 1rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-stat dd { font-size: 2.65rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-stat dt { font-size: .8rem; }
  .interior-page.page-africeduc .africeduc-page .network-map { padding: .5rem; border-radius: 14px; }
  .interior-page.page-africeduc .africeduc-page .network-map-stage { border-radius: 8px; }
  .interior-page.page-africeduc .africeduc-page .network-marker span { max-width: 135px; font-size: .65rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-regions { gap: 1rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-connections { margin-top: 2rem; gap: 1.5rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-region { padding: 1.35rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-join-panel { padding: 1.75rem 1.4rem; border-radius: 18px; gap: 1.5rem; }
  .interior-page.page-africeduc .africeduc-page .africeduc-join-panel .africeduc-button { width: 100%; }
}
