/* Mkhulise Young Minds Development Programme - site styles.
   Brand: green #008136, yellow #F7B44B, light grey #F2F2F2.
   Headings Lexend, body Poppins.
   Every colour here is one the Wix site uses (its theme colours and inline
   styles). Do not add shades: hovers use an outline or an underline instead. */

:root {
  --green: #008136;
  --yellow: #F7B44B;
  --ink: #000000;
  --muted: #595959;
  --line: #e2e2e2;
  --grey: #F2F2F2;
  --white: #ffffff;
  --font-head: "Lexend", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
  --prose: 760px;
  --gutter: 24px;
  --radius: 14px;
  --section: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.005em; text-wrap: balance; }
strong { font-weight: 600; }
ul { margin: 0 0 1em; padding-left: 1.25em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--prose { max-width: calc(var(--prose) + 2 * var(--gutter)); }
.wrap--media { max-width: calc(980px + 2 * var(--gutter)); margin-top: 2rem; margin-bottom: 2.5rem; }
.rounded { border-radius: var(--radius); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ───────── header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.site-header__logo { flex: 0 0 auto; display: block; }
.site-header__logo img { width: auto; height: 96px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--ink);
  text-decoration: none; border-radius: 999px; line-height: 1.2;
}
.site-nav a:hover { background: var(--grey); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.site-nav a.site-nav__cta { background: var(--yellow); margin-left: 8px; padding: 10px 18px; border-radius: 999px; box-shadow: none; }
.site-nav a.site-nav__cta:hover { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .site-header__inner { min-height: 80px; }
  .site-header__logo img { height: 72px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line);
    border-radius: 999px; padding: 10px 16px; font: 500 15px/1 var(--font-body); color: var(--ink); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a:hover { background: none; color: var(--green); }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav a.site-nav__cta { margin: 16px 0 0; text-align: center; border-bottom: 0; }
  /* without JavaScript the menu simply shows under the logo */
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: block; position: static; box-shadow: none; }
}

/* ───────── buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  font: 500 15px/1.3 var(--font-body); padding: 13px 28px; border-radius: 999px;
  min-height: 48px; transition: box-shadow .15s, transform .15s;
}
.btn:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.btn--small { font-size: 14px; padding: 9px 20px; min-height: 40px; }
.actions { text-align: center; margin: 2.25rem 0 0; }
.actions--stack { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.actions--stack .btn { width: min(100%, 420px); }

/* ───────── sections */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--follow { padding-top: 0; }   /* straight after page text, with no band between */
.band { padding: var(--section) 0; }
.band--yellow { background: var(--yellow); }
.band--grey { background: var(--grey); }
.band--green { background: var(--green); color: #fff; }
.band--green a { color: #fff; }
.section-heading { color: var(--green); text-align: center; font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 1.1em; }
.sub-heading { color: var(--green); font-size: 24px; margin: 1.8em 0 .7em; }
.lead { font-size: clamp(18px, 2vw, 20px); font-weight: 500; text-align: center; line-height: 1.6; margin-bottom: 1.5em; }
.intro-centred { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }

/* inner page title band, as on the original site */
.title-band { background: var(--yellow); padding: clamp(44px, 6vw, 72px) 0; text-align: center; }
.title-band h1 { margin: 0 auto; max-width: 860px; font-size: clamp(30px, 4.6vw, 46px); font-weight: 700; color: var(--ink); }

/* ───────── home: hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; padding: 72px 0; overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__inner { position: relative; display: flex; justify-content: center; }
.hero__card {
  background: rgba(255,255,255,.97); max-width: 780px; padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 60px);
  text-align: center; border-radius: 4px; box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
.hero__heading { color: var(--green); font-size: clamp(32px, 4.4vw, 46px); margin-bottom: .55em; }
.hero__card p { font-size: 16px; line-height: 1.6; }
.hero__card p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; padding: 0; }
  .hero__image { position: static; height: 300px; }
  .hero__inner { margin-top: -64px; padding-bottom: 8px; }
  .hero__card { box-shadow: 0 10px 30px rgba(0,0,0,.14); }
}

/* home: quote band */
.quote-band__inner { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 900px; }
.quote-band__portrait { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.quote-band__quote { margin: 0; }
.quote-band__quote blockquote { margin: 0 0 1rem; }
.quote-band__quote blockquote p { font-style: italic; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; margin: 0; }
.quote-band__quote figcaption { font-size: 15px; font-weight: 500; }
@media (max-width: 700px) {
  .quote-band__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .quote-band__portrait { width: 180px; height: 180px; }
}

/* home: growing possibilities */
.possibilities__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 960px; margin: 0 auto; }
.possibilities__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ticks { padding-left: 1.2em; }
.ticks li { margin-bottom: .5em; }
.ticks li::marker { color: var(--green); }
@media (max-width: 800px) { .possibilities__grid { grid-template-columns: 1fr; } }

/* home: reach */
.reach__intro { max-width: 820px; margin: 0 auto 2.5rem; }
.reach__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 980px; margin: 0 auto; }
.reach__map { width: 100%; }
.reach__heading { color: var(--green); font-size: clamp(28px, 3.4vw, 36px); margin-bottom: .5em; }
.stats { margin: 0; display: grid; gap: 14px; }
.stats__item { display: flex; align-items: center; gap: 16px; }
.stats__number { flex: 0 0 auto; font-family: var(--font-head); font-weight: 700; color: var(--yellow); font-size: clamp(38px, 5vw, 54px); line-height: 1; min-width: 3.2ch; }
.stats__label { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.3; max-width: 19ch; }
@media (max-width: 800px) { .reach__grid { grid-template-columns: 1fr; } }

/* home: photo strip */
.photo-strip__image { width: 100%; height: clamp(220px, 26vw, 360px); object-fit: cover; object-position: 50% 45%; }

/* home: partner logos */
.partners__text { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }

/* funders: three columns, copied from the original site, where the placement is
   deliberate. Left: Get It Done, centred on the group. Centre: the Beier Group
   companies, stacked. Right: Beier Group on top, Victor Daitz under it.
   Logo widths are Wix's own display sizes. */
.funders { display: flex; justify-content: center; align-items: center; gap: 0 56px; margin: 0 auto; }
.funders__col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.funders__col--right { align-self: flex-start; gap: 40px; }
.funders__col li { display: flex; justify-content: center; }
.funders__col img { flex: 0 0 auto; width: 200px; height: auto; }
.funders__col .logo--square img { width: 135px; }
.funders__col .logo--wide img { width: 297px; }
/* phones: the same three groups, in the same order, one under the other */
@media (max-width: 760px) {
  .funders { flex-direction: column; gap: 44px; }
  .funders__col--right { align-self: center; }
  .funders__col { gap: 26px; }
  .funders__col img { width: 190px; }
  .funders__col .logo--wide img { width: 270px; }
}
/* Logos are sized by shape so each carries similar visual weight:
   squarish marks by height, very wide wordmarks by width. */
.logo-wall {
  list-style: none; padding: 0; margin: 0 auto; max-width: 1000px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 52px;
}
.logo-wall li { height: 132px; display: flex; align-items: center; justify-content: center; }
.logo-wall img { width: auto; height: 84px; max-width: 230px; object-fit: contain; }
.logo-wall .logo--square img { height: 128px; }
.logo-wall .logo--mid img { height: 92px; }
.logo-wall .logo--wide img { width: 250px; height: auto; max-width: 250px; }
/* nine service providers sit in three rows of three, as on the original site */
.logo-wall--three { max-width: 820px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; }
/* phones: centred rows that fill themselves, so no logo sits beside a hole.
   Every size here keeps two logos plus the gap under 345px (a 360px phone);
   a fixed 190px logo in a narrower column once pushed the page sideways. */
@media (max-width: 600px) {
  .logo-wall, .logo-wall--three { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
  .logo-wall li { height: 92px; max-width: 100%; }
  .logo-wall img { max-width: 100%; }
  .logo-wall .logo--square img { height: 84px; }
  .logo-wall .logo--mid img { height: auto; width: 150px; max-height: 60px; object-fit: contain; }
  .logo-wall .logo--wide img { width: 210px; height: auto; }
}

/* home: contact band */
.contact { text-align: center; padding: clamp(44px, 6vw, 64px) 0; }
.contact h2 { color: #fff; font-size: clamp(26px, 3vw, 32px); margin-bottom: .5em; }
.contact p { font-size: 18px; margin: 0; }
.contact a { font-weight: 600; }

/* ───────── programmes hub */
.programme-cards {
  list-style: none; padding: 0; margin: 0 auto; max-width: 900px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.programme-card {
  width: 268px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.06); padding: 28px 22px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.programme-card__icon { width: 88px; height: 88px; object-fit: contain; margin-bottom: 14px; }
.programme-card__title { font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 1.45; margin: 0 0 18px; flex: 1; }
.programme-card__link { margin-top: auto; }
@media (max-width: 600px) { .programme-card { width: 100%; } }

/* ───────── programme pages */
.programme__image { width: 100%; aspect-ratio: 980 / 400; object-fit: cover; }
.results { padding-left: 1.2em; }
.results li { margin-bottom: .6em; }
.results li::marker { color: var(--green); }

.testimonials { padding: clamp(48px, 7vw, 80px) 0; }
.slider { position: relative; max-width: 820px; margin: 0 auto; }
.slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-behavior: smooth;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 0 56px; text-align: center; }
.testimonial blockquote { margin: 0 0 1.4rem; }
.testimonial blockquote p { font-family: var(--font-head); font-weight: 500; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.5; margin: 0; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.testimonial figcaption::before { content: ""; width: 48px; height: 2px; background: rgba(255,255,255,.7); margin: 0 auto 14px; }
.testimonial figcaption strong { font-weight: 600; }
.slider__arrow {
  position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
  background: transparent; color: #fff; cursor: pointer; transform: translateY(-50%);
}
.slider__arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; }
.slider__arrow--prev { left: 0; }
.slider__arrow--prev::before { transform: translateX(2px) rotate(135deg); }
.slider__arrow--next { right: 0; }
.slider__arrow--next::before { transform: translateX(-2px) rotate(-45deg); }
.slider__arrow:hover { background: rgba(255,255,255,.12); }
.slider__dots { display: flex; justify-content: center; gap: 4px; margin-top: 26px; }
.slider__dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; position: relative; }
.slider__dots button::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; }
.slider__dots button[aria-current="true"]::before { background: #fff; }
@media (max-width: 600px) { .slider__slide { padding: 0 6px; } .slider__arrow { display: none; } }

/* ───────── education value chain */
.chain { list-style: none; padding: 0; margin: 3rem auto 0; display: flex; align-items: stretch; justify-content: center; gap: 0; max-width: 1040px; }
.chain__card {
  flex: 1 1 0; background: var(--green); color: #fff; border-radius: var(--radius); padding: 26px 24px 28px;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}
.chain__card h2 { color: #fff; text-align: center; font-size: 24px; margin-bottom: 18px; }
.chain__badge { display: flex; justify-content: center; margin-bottom: 18px; }
.chain__badge img { width: 84px; height: 84px; background: #fff; border-radius: 10px; padding: 6px; object-fit: contain; }
.chain__card ul { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.6; }
.chain__link { flex: 0 0 104px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 18px; color: var(--ink); text-align: center; }
.chain__icon { width: 52px; height: 52px; object-fit: contain; }
.chain__label { font-size: 14px; font-weight: 600; margin: 4px 0 2px; }
.chain__arrow { color: var(--ink); }
@media (max-width: 860px) {
  .chain { flex-direction: column; max-width: 460px; }
  .chain__link { flex: 0 0 auto; padding: 14px 0; }
  .chain__arrow { transform: rotate(90deg); margin-top: 8px; }
}

/* ───────── news */
.post-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .post-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-cards { grid-template-columns: 1fr; } }
.post-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.post-card__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; } /* favour the top: these are photos of people */
.post-card__body { padding: 18px 20px 22px; }
.post-meta { font-size: 13px; color: var(--muted); margin: 0 0 .5em; }
.post-card__title { font-size: 19px; line-height: 1.3; margin: 0 0 .5em; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover .post-card__title a { color: var(--green); }
.post-card__excerpt { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-cards--compact .post-card__title { font-size: 16px; margin: 0; }
.post-cards--compact .post-card__image { aspect-ratio: 16 / 9; }

.post__back { margin-bottom: 1.6rem; font-size: 14px; }
.post__back a { text-decoration: none; font-weight: 500; }
.post__back a::before { content: "\2190\00a0"; }
.post__title { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: .5em; }
.post__body { margin-top: 1.4rem; }
.post-figure { margin: 2rem 0; }
.post-figure img { border-radius: 10px; margin: 0 auto; }
.post-figure--small { max-width: 360px; margin-left: auto; margin-right: auto; }
.post-figure--small img { width: 100%; }
.post-gallery { display: grid; gap: 8px; margin: 2rem 0; grid-template-columns: repeat(2, 1fr); }
.post-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.post-gallery__item { margin: 0; }
.post-gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
/* phones: three photos become one wide on top and two below, never a lone tile */
@media (max-width: 520px) {
  .post-gallery--3 { grid-template-columns: 1fr 1fr; }
  .post-gallery--3 .post-gallery__item:first-child { grid-column: 1 / -1; }
}
.post-video { margin: 2rem auto; max-width: 320px; }
@media (max-width: 600px) { .post-video { max-width: none; } }
.post-video video { width: 100%; border-radius: 10px; background: #000; }
.share { display: flex; gap: 10px; border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.2rem; }
.share__link {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.share__link:hover { color: var(--green); border-color: var(--green); }
.share__copied { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 12px; white-space: nowrap; background: var(--ink); color: #fff; border-radius: 6px; padding: 0 8px; }
.share__copied:empty { display: none; }
.recent { background: var(--grey); }
.recent__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.recent__heading { font-size: 22px; margin: 0; }
.recent__head a { font-weight: 500; }

/* ───────── footer */
.site-footer { background: var(--green); color: #fff; padding: 44px 0 30px; text-align: center; }
.site-footer a { color: #fff; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: 150px; height: auto; margin: 0 auto 14px; }
.site-footer__contact { font-size: 16px; line-height: 1.6; margin-bottom: 18px; }
.site-footer__links { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 14px; }
.site-footer__links a { display: inline-block; padding: 8px 2px; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__small { font-size: 13px; opacity: .85; margin: 0; }
