/* Take Action Global — one stylesheet for the whole site. */
:root {
  --teal: #256880;
  --navy: #034660;
  --yellow: #f2c338;
  --sky: #f1f8fb;
  --ink: #373535;
  --muted: #6b6b6b;
  --line: #e1ebf0;
  --radius: 2px;
  --max: 1210px;
  --gap: 30px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 18px/1.65 Quicksand, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: clip; /* slide-in animations never cause sideways scrolling; clip keeps sticky + scroll timelines working */
}
img, iframe { max-width: 100%; height: auto; }
a { color: var(--teal); }
main a { overflow-wrap: anywhere; } /* long pasted URLs must not widen the page on phones */
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: Bitter, Georgia, serif; font-weight: 400; color: var(--ink); line-height: 1.2; margin: 1.4em 0 .5em; }
p { margin: .85em 0; }
h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-top: .4em; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: 1.3rem; }
blockquote { margin: 1.5em 0; padding: .5em 1.25em; border-left: 4px solid var(--yellow); background: var(--sky); }
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid var(--line); padding: .5em; text-align: left; vertical-align: top; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.small, .meta { font-size: .85rem; color: var(--muted); }
.lead { font-size: 1.35rem; }
.notice { background: var(--sky); border-left: 4px solid var(--teal); padding: .8em 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: #fff; padding: 8px; }

/* Icons: single-colour SVGs from /icons, tinted with the text colour. */
.icon {
  display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.i-x { --i: url(/icons/x.svg); }
.i-instagram { --i: url(/icons/instagram.svg); }
.i-facebook { --i: url(/icons/facebook.svg); }
.i-linkedin { --i: url(/icons/linkedin.svg); }
.i-graduation-cap { --i: url(/icons/graduation-cap.svg); }
.i-globe { --i: url(/icons/globe.svg); }
.i-rocket { --i: url(/icons/rocket.svg); }
.i-check { --i: url(/icons/check.svg); }

/* Buttons: yellow by default, teal with .teal, chevron with .more */
.button {
  display: inline-block; background: var(--yellow); color: var(--ink); text-decoration: none;
  font: 400 20px/24px Bitter, Georgia, serif; padding: 12px 16px 10px; border-radius: var(--radius);
  border-bottom: 2px solid transparent; text-align: center;
}
.button:hover { background: #e5b21f; color: var(--ink); }
.button.teal { background: var(--teal); color: #fff; }
.button.teal:hover { background: var(--navy); color: #fff; }
.button.btn-s { padding: 10px 30px; } /* the old theme's "small" buttons */
.button.btn-l { padding: 15px 30px 13px; }
.button.btn-xl { padding: 25px 50px 23px; }
.button > .icon { margin-right: 0; }
.actions.right { justify-content: flex-end; }
.button.more::after {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .3em; background: currentColor;
  -webkit-mask: url(/icons/chevron-right.svg) center / contain no-repeat; mask: url(/icons/chevron-right.svg) center / contain no-repeat;
}
.actions { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 3px; }
.actions.center { justify-content: center; }
.actions p { margin: 0; }

/* ---------- Header ---------- */
/* --bar is the main header height; browsers with scroll-driven animations shrink it as you scroll. */
@property --bar { syntax: "<length>"; inherits: true; initial-value: 90px; }
.site-header { --bar: 90px; background: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 1px 0 var(--line); }
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-shrink linear both; animation-timeline: scroll(root); animation-range: 0 150px; }
  @keyframes header-shrink { to { --bar: 45px; } }
}
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; height: 30px; }
.social { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.social a { color: var(--ink); display: block; }
.social a:hover { color: var(--teal); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo img { display: block; height: var(--bar); width: auto; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; }
.site-header nav a { text-decoration: none; color: var(--ink); font-family: Bitter, Georgia, serif; }
.site-header nav a:hover { color: var(--teal); }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button { cursor: pointer; font-family: Bitter, Georgia, serif; padding: .4em .8em; border: 1px solid var(--line); }
.menu-toggle:focus-visible + .menu-button { outline: 2px solid var(--teal); }

@media (max-width: 989px) {
  .site-header { --bar: 60px; animation: none; }
  .site-header nav { display: none; width: 100%; padding: 0 0 1em; }
  .menu-toggle:checked ~ nav { display: block; }
  .site-header nav a { display: block; padding: .4em 0; text-transform: uppercase; }
  .site-header nav ul ul { padding-left: 1em; }
  .site-header nav ul ul a { text-transform: none; font-size: .95em; }
}
@media (min-width: 990px) {
  .menu-button { display: none; }
  .site-header .bar { padding-bottom: 30px; }
  main { margin-top: -30px; } /* like the old theme, the header's white bottom band overlaps the page top */
  .site-header nav > ul { display: flex; }
  .site-header nav > ul > li { position: relative; }
  .site-header nav > ul > li > a { display: block; padding: 0 13px; font-size: 20px; line-height: var(--bar); text-transform: uppercase; position: relative; }
  .site-header nav > ul > li.active > a::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: calc(var(--bar) / 2 - 22px); height: 2px; background: var(--yellow);
  }
  .site-header nav ul ul {
    display: none; position: absolute; top: 100%; left: 0; width: 240px; background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-top: 2px solid var(--yellow);
  }
  .site-header nav li:hover > ul, .site-header nav li:focus-within > ul { display: block; }
  .site-header nav ul ul a { display: block; padding: 8px 15px; font-size: 16px; line-height: 23px; border-bottom: 1px solid var(--line); }
  .site-header nav ul ul a[aria-current] { color: var(--teal); }
}

/* ---------- Page-builder blocks ---------- */
main { min-height: 50vh; overflow-x: clip; }
.anchor { scroll-margin-top: 120px; }
main > .wrap, main > .content { padding-bottom: 4em; }
main > .wrap { padding-top: 60px; }

/* Full-width photo banner. Height follows the image ratio (set inline), with a floor for small screens. */
.hero {
  position: relative; display: flex; align-items: center; min-height: 300px;
  background: var(--navy) center / cover no-repeat; color: #fff;
}
.hero.dim::before { content: ""; position: absolute; inset: 0; background: rgba(68, 68, 68, .3); }
.hero > .wrap { position: relative; width: 100%; }
.hero > .video-file { position: absolute; inset: 0; }
.hero > .video-file video { width: 100%; height: 100%; object-fit: cover; }
.hero.center { text-align: center; }
.hero h1 { color: #fff; font: 400 40px/1.1 Bitter, Georgia, serif; text-transform: uppercase; margin: 0 0 .3em; }
.hero.left h1 { max-width: 11em; }
.hero.left { align-items: flex-end; padding-bottom: 53px; }
.hero .sub p { margin: 0; }
.hero.center .actions { justify-content: center; }
.hero .button { min-width: 140px; }
.hero .actions { margin-top: 18px; }

/* Full-width sections: white, or light blue with .sky */
.band { padding: 50px 0; }
.band.pad-s { padding: 20px 0; } .band.pad-l { padding: 70px 0; } .band.pad-xl { padding: 130px 0; } .band.pad-0 { padding: 0; }
.band.sky { background: var(--sky); }

/* Column layout. .flow lays its children out in rows; a .col takes its share (--f) of the row:
   width = share x (100% + gap) - gap, with a 6% gap (3.14% in "equal height" rows, .eq), like the old theme.
   Inside a column, content flows normally so paragraph and heading margins overlap as before. */
.flow, .col:has(> .col) { display: flex; flex-wrap: wrap; align-items: flex-start; }
:is(.flow, .col:has(> .col)) > * { flex: 0 0 100%; min-width: 0; }
:is(.flow, .col:has(> .col)) > .break { height: 0; }
.col { --g: 6%; }
.col.eq { --g: 3.14%; }
:is(.flow, .col:has(> .col)) > .col { flex-basis: calc(var(--f, 1) * (100% + var(--g)) - var(--g)); margin-left: var(--g); }
:is(.flow, .col:has(> .col)) > .col:first-child,
:is(.flow, .col:has(> .col)) > :not(.col) + .col { margin-left: 0; }
.w-1-1 { --f: 1; } .w-1-2 { --f: .5; } .w-1-3 { --f: calc(1 / 3); } .w-2-3 { --f: calc(2 / 3); }
.w-1-4 { --f: .25; } .w-3-4 { --f: .75; } .w-1-5 { --f: .2; } .w-2-5 { --f: .4; } .w-3-5 { --f: .6; } .w-4-5 { --f: .8; }
.col > :first-child { margin-top: 0; }
.col.mid { align-self: center; } .col.bottom { align-self: flex-end; }
.text.center { text-align: center; } .text.right { text-align: right; }
.col img { display: inline-block; }
.image { text-align: center; }
.image img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 2px; margin: 0; }
.thumbs img { display: block; width: 100%; height: auto; }

/* Section headings: uppercase with a yellow full stop; smaller light headings for cards */
.heading { padding-bottom: 10px; margin-top: 50px; }
.heading:first-child, .break:first-child + .heading { margin-top: 0; }
.heading h2 { font: 400 var(--hs, 30px)/1.1 Bitter, Georgia, serif; text-transform: uppercase; letter-spacing: 1px; margin: 0; }
.heading h3 { font: 400 var(--hs, 20px)/1.1 Bitter, Georgia, serif; margin: 0; }
.heading .sub { font-size: var(--ss, 15px); line-height: 1.3; margin-top: 4px; }
.heading .sub p { margin: 0; }
.col.mt { margin-top: 50px; }
.spacer { flex-basis: 100%; }
.accent { color: var(--yellow); line-height: 1.33; } /* the old full stop made one-line headings 40px tall */

/* Icon + number statistics */
.font-icon { color: var(--teal); font-size: 50px; line-height: 26px; height: 26px; margin: 0; }
.stat { text-align: center; margin-top: 9px; }
.font-icon[style*="--is"] { font-size: var(--is); line-height: calc(var(--is) + 3px); height: auto; }
.stat p { margin: 0; }
.stat strong { display: block; font: 400 var(--ns, 30px)/1 Quicksand, system-ui, sans-serif; color: var(--ink); margin-bottom: 8px; }
.stat-label { font-size: var(--ls, 18px); line-height: 23px; }

/* Icon list (old "small" icon list): 40px icon box, bold teal title on a 40px line, text below */
.checklist { list-style: none; padding: 0; margin: 0; font-size: 18px; text-align: left; }
.checklist li { position: relative; padding-left: 47px; margin-bottom: 10px; display: flow-root; } /* margins stay inside each item, as before */
.li-icon { position: absolute; left: 2px; top: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 20px; }
.checklist p { margin: 2px 0 15.3px; }
.li-title { display: block; color: var(--teal); font-weight: 700; line-height: 40px; }
.li-title.plain { color: var(--ink); font-weight: 400; padding-left: 10px; } /* the old site's "list_title" variant */

/* Section and column backgrounds */
.band.dark, .col.dark { color: #fff; }
.dark h1, .dark h2, .dark h3, .dark h4, .dark .li-title, .dark .font-icon, .dark .stat strong, .dark .li-icon { color: #fff; }
.dark a:not(.button) { color: #fff; }
.photo { background-size: cover; background-position: center; }
.col.box { border: 1px solid #e2e2e2; padding: 24px; margin-bottom: var(--gap); }
.col.filled { padding: 30px; margin-bottom: var(--gap); }
hr { border: 0; border-top: 1px solid #e2e2e2; margin: 20px auto; width: 100%; }

/* Toggles and tabs: native <details>, no script needed */
.toggles { margin: 1em 0; text-align: left; }
.toggle { border: 1px solid #e2e2e2; margin-bottom: -1px; }
.toggle > summary {
  cursor: pointer; padding: 14px 44px 14px 18px; font-family: Bitter, Georgia, serif; position: relative; list-style: none;
}
.toggle > summary::-webkit-details-marker { display: none; }
.toggle > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--teal); }
.toggle[open] > summary::after { content: "\2212"; }
.toggle > summary .icon { margin-right: .4em; color: var(--teal); }
.toggle > :not(summary) { padding: 0 18px; }
.toggle[open] > summary { border-bottom: 1px solid #e2e2e2; }

/* Timeline: zigzag on wide screens (date one side, card the other), single line on phones */
.timeline { text-align: left; }
.timeline > ul { list-style: none; margin: 1em 0; padding: 0; position: relative; }
.timeline > ul::before { content: ""; position: absolute; top: 75px; bottom: 0; left: 21.5px; width: 2px; background: var(--line); }
.timeline > ul > li { position: relative; display: grid; grid-template-columns: 45px 1fr; column-gap: 20px; margin-bottom: 30px; }
.timeline > ul > li > h2 { grid-column: 2; grid-row: 1; font: 400 30px/33px Bitter, Georgia, serif; color: #aaa; margin: 59px 0 0; align-self: start; }
.timeline > ul > li > .icon {
  grid-column: 1; grid-row: 1; position: relative; width: 45px; height: 45px; margin-top: 53px; align-self: start; border-radius: 50%; background: var(--teal);
  -webkit-mask: none; mask: none;
}
.timeline > ul > li > .icon::before {
  content: ""; position: absolute; inset: 10px; background: #fff;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.milestone-box { grid-column: 2; background: var(--sky); padding: 30px; }
.milestone-box h4 { margin: 0 0 4px; font-size: 20px; line-height: 22px; color: var(--teal); }
.milestone-box > :last-child { margin-bottom: 0; }
.milestone-box img { max-width: 100%; height: auto; }
@media (min-width: 768px) {
  .timeline > ul::before { left: calc(50% - 1px); }
  .timeline > ul > li { grid-template-columns: 43.75fr 12.5fr 43.75fr; column-gap: 0; }
  .timeline > ul > li > .milestone-box { margin-top: 38px; }
  .timeline > ul > li > .icon { grid-column: 2; justify-self: center; }
  .timeline > ul > li:nth-child(odd) > h2 { grid-column: 1; text-align: right; padding-right: 20px; }
  .timeline > ul > li:nth-child(odd) > .milestone-box { grid-column: 3; grid-row: 1; }
  .timeline > ul > li:nth-child(even) > h2 { grid-column: 3; padding-left: 20px; }
  .timeline > ul > li:nth-child(even) > .milestone-box { grid-column: 1; grid-row: 1; }
}

/* Native scrolling keeps every testimonial available without the old slider plugin. */
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
.testimonial { display: flex; flex-direction: column; min-width: 0; text-align: center; scroll-snap-align: start; }
.testimonial-image { margin-top: auto; }
.testimonial-image img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; margin: 10px auto; }
.testimonial-image p, .testimonial-author p { margin: 0; }
.testimonial-author strong { display: block; }
.testimonial-subtitle { font-size: 15px; }
.partner-logos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 15px; align-items: center; }
.partner-logo img { width: 100%; height: auto; object-fit: contain; }
.partner-logo p { margin: 0; }
@media (max-width: 767px) {
  .testimonials { grid-auto-columns: 100%; }
  .partner-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Icon box and round images */
.iconbox .icon { font-size: 50px; color: var(--teal); display: block; margin: 0 auto 10px; }
.heading :is(h1, h2, h3) { color: var(--hc, inherit); }
.img-circle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

/* Big statement line (home page) */
.statement { font: 400 50px/40px Quicksand, system-ui, sans-serif; color: var(--teal); letter-spacing: -2px; margin: 0 0 7px; }
.statement .dim { opacity: .5; }
.statement + p { font-size: 24px; line-height: 36px; margin: 0; }

.page-title { margin: 1em 0 .5em; }

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  :is(.flow, .col:has(> .col)) > .col { flex-basis: 100%; margin-left: 0; }
  .hero { min-height: 220px; aspect-ratio: auto !important; padding: 40px 0; }
  .hero h1 { font-size: 28px; }
  .heading h2 { font-size: min(var(--hs, 30px), 26px); }
  .statement { font-size: 36px; }
  .band, .band.pad-l, .band.pad-xl { padding: 44px 0; }
  .col.mt { margin-top: 30px; }
}

/* ---------- Article pages, listings ---------- */
.content { max-width: 820px; padding-top: 2em; overflow-wrap: anywhere; }
.content figure { margin: 1.5em 0; }
.content figcaption { font-size: .85rem; color: var(--muted); }
.content img { max-height: 560px; width: auto; }
.hero-img { display: block; width: 100%; margin: 1em 0 2em; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cards { list-style: none; padding: 0; display: grid; gap: 2em; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card a { text-decoration: none; }
.card h3 { margin: .6em 0 .2em; font-size: 1.15rem; }
.card p { margin: .3em 0; font-size: .95rem; }

/* Runs of images from the old page builder (speaker grids, partner logos, sliders) */
.gallery { display: grid; gap: 1em; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 1.5em 0; align-items: center; }
.gallery img { width: 100%; height: auto; max-height: 240px; object-fit: contain; }

/* ---------- Footer ----------
   Old layout: photo at natural size anchored left, three columns (24% / 46% / 18%, 6% gaps), 300px tall,
   then a 60px teal bar with the copyright line. */
.site-footer { background: #fff url(/uploads/2021/03/bluegirl_bg.jpg) 0 50% no-repeat; color: #fff; font-size: 18px; line-height: 1.65; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 24% 46% 18%; column-gap: 6%; align-items: start; min-height: 300px; padding-top: 50px; padding-bottom: 30px; }
.site-footer h2 { font: 400 18px/1.1 Bitter, Georgia, serif; letter-spacing: 1px; color: #fff; margin: 0 0 8px; }
.site-footer .f1, .site-footer .f3 { padding-top: 45px; }
.site-footer .f2 { padding-top: 25px; }
.minitext { font-size: 15.3px; line-height: 1.5; margin: 0; padding-top: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 15px; row-gap: 4px; }
.footer-links a { display: block; padding: 4px 0 5px; }
.footer-links a[aria-current] { font-weight: 700; }
.socket { background: var(--teal); font-size: 14px; line-height: 30px; padding: 15px 0; text-align: center; }
.heart { color: #fff; }
@media (max-width: 767px) {
  .footer-cols { grid-template-columns: 1fr; row-gap: 20px; min-height: 0; padding-top: 30px; }
  .site-footer .f1, .site-footer .f2, .site-footer .f3 { padding-top: 0; }
  .site-footer { background-size: cover; }
}

/* Home page bits */
.cards-row { margin: 0; }
.cards-row .col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cards-row h3 a { color: inherit; text-decoration: none; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; margin-top: 30px; }
.logos > .col { margin: 0; }
.logos img { width: 100%; max-width: 187px; height: auto; }
/* Centered intro text stays at a readable width, like the old layout */
.heading h1 { font: 400 var(--hs, 30px)/1.1 Bitter, Georgia, serif; text-transform: uppercase; letter-spacing: 1px; margin: 0; }
@media (max-width: 767px) { .heading h1 { font-size: min(var(--hs, 30px), 30px); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Self-hosted video and audio */
.video-file video { display: block; width: 100%; height: auto; }
.audio { margin: 1.5em 0; }
.audio audio { width: 100%; }
.audio figcaption { font-family: Bitter, Georgia, serif; margin-bottom: .4em; }

/* Content stays visible without JavaScript or when reduced motion is requested. */
.count { display: inline-block; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .from-left { --rx: -60px; }
  .from-right { --rx: 60px; }
  .from-below { --ry: 40px; }
  .from-above { --ry: -40px; }
  .pop { --rs: .6; }
  .motion-ready .reveal > * {
    opacity: 0;
    transform: translate(var(--rx, 0), var(--ry, 0)) scale(var(--rs, 1));
    transition: opacity .8s ease-out, transform .8s ease-out;
  }
  .motion-ready .reveal.is-visible > * { opacity: 1; transform: none; }
}

/* Horizontal image strip: scroll or swipe sideways */
.hscroll { display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 72px 0; }
.hscroll img { height: 484px; width: auto; max-width: none; flex: none; scroll-snap-align: center; }
.hscroll a { flex: none; }
@media (max-width: 767px) { .hscroll img { height: 360px; } }

/* Tabs, pure CSS: a hidden radio per tab; its label selects it and the matching panel shows.
   Variants: .top (row of tabs), .side (tabs on the left), .fancy (centred icon tabs, Programs page). */
.tabs { margin: 30px 0; text-align: left; --panel: block; }
.tabs.fancy { margin: 0; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tab-labels { display: flex; flex-wrap: wrap; align-items: flex-end; }
.tab-labels label { cursor: pointer; font-family: Bitter, Georgia, serif; padding: 12px 16px 14px; border: 1px solid #e1e1e1; margin: 0 -1px -1px 0; background: #fafafa; }
.tab-labels label .icon { margin-right: 7px; color: var(--teal); }
.tab-panel { display: none; border: 1px solid #e1e1e1; padding: 10px 19px; background: #fff; }
.tabs.side { display: grid; grid-template-columns: clamp(170px, 30%, 250px) 1fr; }
.tabs.side .tab-labels { flex-direction: column; align-items: stretch; }
.tabs.side .tab-panel { grid-column: 2; grid-row: 1; }
.tabs.benefits { --panel: grid; }
.tabs.benefits .tab-labels { align-items: stretch; }
.tabs.benefits .tab-labels label { flex: 1; margin: 0; border: 0; padding: 22px 15px; background: #fff; text-align: center; font: inherit; }
.tabs.benefits .tab-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; padding: 30px; border: 0; background: var(--sky); }
.benefit-image img { display: block; width: 100%; height: auto; }
.benefit-copy h3 { margin-top: 0; font-size: 20px; line-height: 1.3; color: var(--ink); }
.benefit-copy h3 strong { font-weight: 400; color: inherit; }
.benefit-copy ul { padding-left: 0; }
.benefit-copy li { margin-bottom: 8px; }
.tabs.benefits > input:checked:nth-of-type(1) ~ .tab-labels label:nth-of-type(1),
.tabs.benefits > input:checked:nth-of-type(2) ~ .tab-labels label:nth-of-type(2),
.tabs.benefits > input:checked:nth-of-type(3) ~ .tab-labels label:nth-of-type(3),
.tabs.benefits > input:checked:nth-of-type(4) ~ .tab-labels label:nth-of-type(4) { background: var(--teal); color: #fff; }
.tabs.fancy { --panel: flex; }
.tabs.fancy .tab-labels { justify-content: center; background: var(--sky); margin-bottom: 20px; }
.tabs.fancy .tab-labels label { width: 15%; border: 0; margin: 0; background: transparent; text-align: center; font-size: 20px; line-height: 1.2; }
.tabs.fancy .tab-labels label .icon { display: block; font-size: 35px; margin: 0 auto 20px; }
.tabs.fancy .tab-panel { border: 0; padding: 0; background: #fff url(/uploads/2021/04/bamboe.jpg) 0 0 / contain; } /* tiles sideways, as before */
.tab-left, .tab-right { width: 50%; min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.tab-left p, .tab-right p { margin: 0; }
.tab-left img { display: block; width: 100%; height: 460px; object-fit: cover; }
.tab-right { padding: 3%; color: #fff; text-align: center; }
.tab-right h3 { color: #fff; font-size: 20px; line-height: 22px; margin: 0 0 20px; }
.tab-right a:not(.button) { color: #fff; }
.button.btn-tab { padding: 15px; margin-top: 20px; }
@media (max-width: 767px) {
  .tabs.side { display: block; }
  .tabs.benefits .tab-labels label { flex: 1 0 50%; padding: 15px 10px; }
  .tabs.benefits .tab-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .tabs.fancy .tab-labels label { width: 33%; }
  .tabs.fancy .tab-panel { flex-direction: column; }
  .tab-left, .tab-right { width: 100%; min-height: 0; }
  .tab-left img { height: auto; }
  .tab-right { padding: 30px 20px; background: var(--teal); }
}
.tabs > input:nth-of-type(1):checked ~ .tab-panel:nth-of-type(2) { display: var(--panel); }
.tabs > input:nth-of-type(1):checked ~ .tab-labels label:nth-of-type(1) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(1):checked ~ .tab-labels label:nth-of-type(1) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(1):checked ~ .tab-labels label:nth-of-type(1) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(1):focus-visible ~ .tab-labels label:nth-of-type(1) { outline: 2px solid var(--teal); outline-offset: -2px; }
.tabs > input:nth-of-type(2):checked ~ .tab-panel:nth-of-type(3) { display: var(--panel); }
.tabs > input:nth-of-type(2):checked ~ .tab-labels label:nth-of-type(2) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(2):checked ~ .tab-labels label:nth-of-type(2) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(2):checked ~ .tab-labels label:nth-of-type(2) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(2):focus-visible ~ .tab-labels label:nth-of-type(2) { outline: 2px solid var(--teal); outline-offset: -2px; }
.tabs > input:nth-of-type(3):checked ~ .tab-panel:nth-of-type(4) { display: var(--panel); }
.tabs > input:nth-of-type(3):checked ~ .tab-labels label:nth-of-type(3) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(3):checked ~ .tab-labels label:nth-of-type(3) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(3):checked ~ .tab-labels label:nth-of-type(3) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(3):focus-visible ~ .tab-labels label:nth-of-type(3) { outline: 2px solid var(--teal); outline-offset: -2px; }
.tabs > input:nth-of-type(4):checked ~ .tab-panel:nth-of-type(5) { display: var(--panel); }
.tabs > input:nth-of-type(4):checked ~ .tab-labels label:nth-of-type(4) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(4):checked ~ .tab-labels label:nth-of-type(4) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(4):checked ~ .tab-labels label:nth-of-type(4) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(4):focus-visible ~ .tab-labels label:nth-of-type(4) { outline: 2px solid var(--teal); outline-offset: -2px; }
.tabs > input:nth-of-type(5):checked ~ .tab-panel:nth-of-type(6) { display: var(--panel); }
.tabs > input:nth-of-type(5):checked ~ .tab-labels label:nth-of-type(5) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(5):checked ~ .tab-labels label:nth-of-type(5) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(5):checked ~ .tab-labels label:nth-of-type(5) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(5):focus-visible ~ .tab-labels label:nth-of-type(5) { outline: 2px solid var(--teal); outline-offset: -2px; }
.tabs > input:nth-of-type(6):checked ~ .tab-panel:nth-of-type(7) { display: var(--panel); }
.tabs > input:nth-of-type(6):checked ~ .tab-labels label:nth-of-type(6) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(6):checked ~ .tab-labels label:nth-of-type(6) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(6):checked ~ .tab-labels label:nth-of-type(6) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(6):focus-visible ~ .tab-labels label:nth-of-type(6) { outline: 2px solid var(--teal); outline-offset: -2px; }
.tabs > input:nth-of-type(7):checked ~ .tab-panel:nth-of-type(8) { display: var(--panel); }
.tabs > input:nth-of-type(7):checked ~ .tab-labels label:nth-of-type(7) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(7):checked ~ .tab-labels label:nth-of-type(7) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(7):checked ~ .tab-labels label:nth-of-type(7) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(7):focus-visible ~ .tab-labels label:nth-of-type(7) { outline: 2px solid var(--teal); outline-offset: -2px; }
.tabs > input:nth-of-type(8):checked ~ .tab-panel:nth-of-type(9) { display: var(--panel); }
.tabs > input:nth-of-type(8):checked ~ .tab-labels label:nth-of-type(8) { background: #fff; border-bottom-color: #fff; color: var(--teal); }
.tabs.fancy > input:nth-of-type(8):checked ~ .tab-labels label:nth-of-type(8) { background: transparent; color: var(--ink); }
.tabs.fancy > input:nth-of-type(8):checked ~ .tab-labels label:nth-of-type(8) .icon { color: var(--yellow); }
.tabs > input:nth-of-type(8):focus-visible ~ .tab-labels label:nth-of-type(8) { outline: 2px solid var(--teal); outline-offset: -2px; }

/* Programs page: the old page kept its sections inside the 1210px content box; its supporters section was 60% wide */
.page.boxed > .band { width: min(var(--max), 100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.page.boxed { padding-top: 50px; }
.page.boxed > .band > .wrap { padding: 0 50px; }
.br { height: 1.65em; } /* a line break WordPress left between blocks on boxed pages */
.col > .br:last-child, .wrap > .br:last-child { display: none; }
/* column_N on the old site: N% wide, centred */
.band.c60 { width: 60%; margin-left: auto; margin-right: auto; } .band.c70 { width: 70%; margin-left: auto; margin-right: auto; }
.band.c80 { width: 80%; margin-left: auto; margin-right: auto; }
:is(.flow, .col:has(> .col)) > .col.w-1-1.c60 { flex-basis: 60%; margin-left: 20%; margin-right: 20%; }
:is(.flow, .col:has(> .col)) > .col.w-1-1.c70 { flex-basis: 70%; margin-left: 15%; margin-right: 15%; }
:is(.flow, .col:has(> .col)) > .col.w-1-1.c80 { flex-basis: 80%; margin-left: 10%; margin-right: 10%; }
/* Builder elements placed between sections (e.g. tabs) sit in the content box, like the old theme */
.page > :not(.band):not(.hero):not(.sr-only) { width: min(var(--max), 100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.page.boxed > .band.w60 { width: min(var(--max) * .6, 100% - 2 * var(--gutter)); }
.band.w60 .heading h3 { font: 400 18px/1.3 Quicksand, system-ui, sans-serif; }
.img-circle img { border: 1px solid #808080; }
.image.gray img { filter: grayscale(1); }
@media (max-width: 767px) {
  .band.c60, .band.c70, .band.c80, .page.boxed > .band.w60 { width: auto; }
  :is(.flow, .col:has(> .col)) > .col.w-1-1:is(.c60, .c70, .c80) { flex-basis: 100%; margin-left: 0; margin-right: 0; }
  .page.boxed > .band > .wrap { padding: 0 var(--gutter); }
}

/* Bold text: teal in white sections and articles, regular text colour in light-blue sections (old theme) */
strong, b { color: var(--teal); }
.band.sky strong, .band.sky b { color: var(--ink); }
.dark strong, .dark b, .hero strong, .tab-right strong { color: inherit; }

/* Boxed icon box ("job" boxes): white card, teal icon circle half above the top edge */
.iconbox.boxed { position: relative; background: #fff; box-shadow: 0 0 1px var(--teal); border-radius: 3px; padding: 45px 20px 20px; margin-top: 20px; min-height: 125px; }
.iconbox.boxed > .icon {
  position: absolute; top: -26px; left: 50%; margin: 0 0 0 -26.5px; width: 53px; height: 53px; border-radius: 50%;
  background: var(--teal); -webkit-mask: none; mask: none; font-size: 20px;
}
.iconbox.boxed > .icon::before {
  content: ""; position: absolute; inset: 16px; background: #fff;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.iconbox.boxed h3 { font-weight: 400; font-size: 18px; line-height: 1.375; letter-spacing: 1px; margin: 0 0 16px; }
.iconbox.boxed h3 a { color: var(--ink); }

/* Team cards (old team plugin "style 4"): square photo, name over a dark gradient; role/country slide up on hover */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.team-page { padding-top: 70px; }
.team-card { padding: 0 15px 30px; }
.team-card figure { position: relative; overflow: clip; margin: 0; } /* focus must not scroll a hidden contact link inside the photo */
.team-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.team-card figcaption {
  position: absolute; right: 0; bottom: 0; left: 0; padding: 10px; color: #fff; font-size: 18px; line-height: 1.2;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .6)); transform: translateY(calc(100% - 90px)); transition: transform .3s;
}
.team-card:hover figcaption, .team-card:focus-within figcaption,
.team-card:hover .contact, .team-card:focus-within .contact { transform: none; }
.team-card h3 { font: 600 18px/1.4 Bitter, Georgia, serif; color: #fff; margin: 0; }
.team-card .info { margin-bottom: 15px; }
.team-card .info p { font-size: 14.67px; line-height: 1.4; margin: 0; }
.team-card .contact { transform: translateY(100%); transition: transform .3s; }
.team-card .contact p { font-size: 14px; line-height: 1.25; margin: 0 0 20px; }
.team-social { display: flex; justify-content: center; }
.team-card .team-social p { display: flex; gap: 12px; font-size: 18px; line-height: 1.2; margin: 0; }
.team-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; color: #fff; }
.team-social a:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
@media (max-width: 767px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .team-grid { grid-template-columns: 1fr; } }
@media (hover: none) { .team-card figcaption, .team-card .contact { transform: none; } }
@media (prefers-reduced-motion: reduce) { .team-card figcaption, .team-card .contact { transition: none; } }

/* An equal-height row with a single column fills the row (the old theme's table rows did) */
.break + .col.eq:is(:last-child, :has(+ .break)) { width: 100%; }

/* Hiring page: retain the original content widths, portrait overlays and vacancy typography. */
.hiring { --gutter: 50px; overflow-x: clip; }
.hiring .heading :is(h1, h2) { font-weight: 700; }
.hiring .heading .accent { line-height: 1.3; }
.hiring .iconbox.boxed h3 { font: 400 18px/1.1 Quicksand, system-ui, sans-serif; margin-bottom: 16px; }
.hiring .iconbox.boxed h3 a { text-decoration: none; }
.hiring .iconbox.boxed h3 a:hover { text-decoration: underline; }
.hiring .band:has(.iconbox) .col.w-3-5 { margin-bottom: 20px; }
.hiring > .band:last-child .col.mt { padding-bottom: 15px; }
.hiring .break + .col.eq:is(:last-child, :has(+ .break)) { flex-basis: 100%; }
@media (max-width: 767px) {
  .hiring { --gutter: 7.5vw; }
  .hiring .flow > .col.w-1-1.c80 { flex-basis: 100%; margin-left: 0; margin-right: 0; }
  .hiring .band.pad-l { padding: 70px 0; }
  .hiring .heading :is(h1, h2) { font-size: 30px; }
  .hiring .band.c70 { margin-top: 0 !important; }
  .hiring .band.c70 .col { margin-bottom: 20px; }
  .hiring .band.c70 .col > p:first-child { margin-top: .85em; }
  .hiring .col.mt { margin-top: 50px; }
}
@media (max-width: 479px) {
  .hiring { padding-top: 30px; }
  .hiring > .band:first-child { padding-top: 50px; }
}
