/*
Theme Name: apinew
*/

/* ============================================================
   Base / Reset
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "urw-din", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1b2b3a;
  background-color: #ffffff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.img-desc {
  font-size:0.9rem;
  font-style: italic;
  font-weight: bold;
}
p {
  font-size:1.1rem;
  line-height:1.5;
}
a {
  color: #1e5e8c;
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #44b549;
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: #1b2b3a;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
  outline: none;
}
.skip-link:focus {
  transform: translateY(0);
}
blockquote {
  font-size:1.1rem;
  font-weight: normal;
  font-style: italic;
  line-height: 1.5;
  border-left:2px solid #84BF41;
  padding:1rem 0 1rem 2rem;
  margin:0 2rem;
  display: flex;
  flex-direction: column;
}
.blockquote-speaker {
  font-weight: bold;
  font-style: normal;
  font-size:1.1rem;
  margin-top:1rem;
  color:#1B619D;
}
/* ============================================================
   Layout helpers
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* Centred section header (default) */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem !important;
}

.section-header h2 {
  font-size: 2rem;
  color: #1b4f72;
  margin-top: 0;
  line-height: 1.5;
}

.section-header p {
  max-width: 700px;
  margin: 0.5rem auto 0;
  color: #333333;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Left-aligned variant â€” "What We Do" section */
.section-header--left {
  text-align: left;
}

.section-header--left p {
  margin-left: 0;
  font-size: 1.1rem;
}

/* Two-column layout: principles, what-we-do, cta */
.section-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.section-layout__content {
  flex: 1;
}

.section-layout__media {
  flex: 1;
}

/* Participant logos column in "What We Do" */
.section-layout__aside {
  flex: 1;
}

/* ============================================================
   Buttons
   Single canonical class: .btn  +  modifier .btn--primary / --secondary
============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  border: none;
  font-size: 1rem;
}

.btn:hover,
.btn:focus {
  opacity: 0.88;
  text-decoration: none;
}

.btn--primary {
  background: #84BF41;
  color: #ffffff;
}

.btn--secondary {
  background: #2f77a5;
  color: #ffffff;
}

/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  height: 90px;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

body.is-scrolled .site-header {
  height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   Logo
============================================================ */
.site-logo img {
  height: 70px;
  width: auto;
  transition: height 0.3s ease;
}

body.is-scrolled .site-logo img {
  height: 36px;
}

/* ============================================================
   Mobile hamburger button
   Hidden on desktop; shown via media query.
============================================================ */
.primary-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0.5rem;
  z-index: 1100;
  background-color: #dfead2;
  border-radius: 8px;
}

.primary-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #3E6A00;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.primary-nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.primary-nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Primary nav â€” desktop
============================================================ */
.primary-nav__list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.primary-nav__item {
  position: relative; 
}

.primary-nav__toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1b2b3a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.primary-nav__toggle:hover {
  background: #f0f4f8;
}

.primary-nav__toggle img {
  transition: transform 0.2s ease;
}

.primary-nav__toggle[aria-expanded="true"] img {
  transform: rotate(180deg);
}
.mega-menu {
  position: fixed;
  top: 90px; 
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  z-index: 999;
  border-top: 1px solid #e8edf2;
}

body.is-scrolled .mega-menu {
  top: 60px;
}

.mega-menu__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mega-menu--no-feature .mega-menu__content {
  grid-template-columns: 1fr;
}

.mega-menu--no-feature .mega-menu__featured {
  display: none;
}

.mega-menu__links {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid #e8edf2;
}

.mega-menu--no-feature .mega-menu__links {
  border-right: none;
  padding-right: 0;
}

.mega-menu__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.mega-menu__link-list a {
  display: block;
  color: inherit;
}
.mega-menu__heading a:hover,
.mega-menu__heading a:focus {
  color: #1e5e8c;
  text-decoration: underline;
}

.mega-menu__heading {
  font-weight: 600;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.2rem;
  color: #1e5e8c;
}

.mega-menu__text {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.5;
  text-decoration: none;
}

.mega-menu__featured {
  padding: 2rem;
  background: #f8fafc;
}

.mega-menu__eyebrow {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333333;
  margin: 0 0 0.75rem;
}

.featured-story a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-story img {
  border-radius: 6px;
  margin-bottom: 0.75rem;
  width: 100%;
  height: auto;
}

.featured-story h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 1rem;
  color: #1b2b3a;
  line-height: 1.4;
}

.featured-story a:hover h3,
.featured-story a:focus h3 {
  color: #1e5e8c;
  text-decoration: underline;
}

.hero {
  position: relative;
  color: #ffffff;
  min-height: 500px;
  background-image: var(--hero-bg, url("https://info.api.org/wp-content/uploads/2026/06/GettyImages-1828608381.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: rgba(0, 60, 95, 0.48);
  padding: 3rem 0 5rem; 
}

.hero__content {
  margin-left: 4rem;
}

.hero__content h1,
.hero__content h2 {
  font-size: 2.75rem;
  margin: 0 0 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero__content p {
  max-width: 560px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ============================================================
   Hero tabs â€” unified tablist
   Single component used at all breakpoints.

   Desktop (> 992px):   horizontal pill row, centred at the
                        bottom of the hero over the image.
   Mobile  (â‰¤ 992px):   buttons stack vertically in a
                        frosted-glass container, same position.

   One HTML structure, one ARIA pattern (role="tablist" /
   role="tab") â€” no separate listbox dropdown needed.
============================================================ */
.hero-tabs {
  /* Absolute positioning â€” centred at the bottom of the hero */
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  /* Desktop: pill container */
  display: inline-flex;
  gap: 0.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(27, 97, 157, 0.82);
  backdrop-filter: blur(8px);
  padding: 0.35rem;
  white-space: nowrap;
}

/* Individual tab buttons */
.hero-tabs__button {
  border: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  cursor: pointer;
  background: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.hero-tabs__button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-tabs__button.is-active,
.hero-tabs__button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.hero-tabs__button:focus-visible {
  outline: 3px solid #44b549;
  outline-offset: 2px;
}

/* Reduce motion â€” skip background transition */
@media (prefers-reduced-motion: reduce) {
  .hero-tabs__button {
    transition: none;
  }
}

/* Mobile trigger: hidden on desktop, shown via mobile media query */
.hero-tabs__trigger {
  display: none;
}

/* ============================================================
   Hero tabs â€” mobile (â‰¤ 992px)
   The container becomes a collapsed dropdown:
   - .hero-tabs__trigger is shown as the visible pill/handle.
   - .hero-tabs__button items are hidden until .is-open is added
     to the container by JS on trigger click.
   - Once open the buttons stack vertically below the trigger.
   - Selecting a tab closes the dropdown (JS removes .is-open).
============================================================ */
@media (max-width: 992px) {
  .hero-tabs {
    flex-direction: column;
    border-radius: 10px;
    gap: 0;
    padding: 0;
    width: min(360px, calc(100% - 3rem));
  }

  /* Trigger: visible collapsed state â€” shown only on mobile */
  .hero-tabs__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1.1rem;
    border: none;
    border-radius: 10px;
    background: rgba(27, 97, 157, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: border-radius 0.15s ease;
  }

  /* When open, square off the bottom corners so it flows into the list */
  .hero-tabs.is-open .hero-tabs__trigger {
    border-radius: 10px 10px 0 0;
  }

  .hero-tabs__trigger-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  /* Chevron rotates when open */
  .hero-tabs.is-open .hero-tabs__trigger-chevron {
    transform: rotate(180deg);
  }

  .hero-tabs__trigger:focus-visible {
    outline: 3px solid #44b549;
    outline-offset: 2px;
  }

  /* Tab buttons: hidden by default on mobile */
  .hero-tabs__button {
    display: none;
    border-radius: 0;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* Last button gets rounded bottom corners */
  .hero-tabs__button:last-child {
    border-radius: 0 0 10px 10px;
  }

  /* Show buttons only when container has .is-open */
  .hero-tabs.is-open .hero-tabs__button {
    display: block;
  }
}

/* ============================================================
   PLACEHOLDER â€” kept for reference during migration.
   The .hero-tabs__menu, .hero-tabs__trigger, and
   .hero-tabs--dropdown rules below can be removed once the
   Elementor component is rebuilt using the unified structure.
============================================================ */

/* Individual options */
.hero-tabs__menu li {
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  color: #1b2b3a;
  font-size: 0.925rem;
  line-height: 1.4;
  /* Focusable without a visible box outline on the li itself */
  outline: none;
}

/* Keyboard-focus style â€” applied via JS adding .is-focused class */
.hero-tabs__menu li.is-focused {
  background: #edf2f7;
  color: #1e5e8c;
}

.hero-tabs__menu li:hover {
  background: #f0f4f8;
  color: #1e5e8c;
}

.hero-tabs__menu li[aria-selected="true"] {
  background: #1e5e8c;
  color: #ffffff;
  font-weight: 500;
}

/* Reduce motion â€” skip the slide animation */
@media (prefers-reduced-motion: reduce) {
  .hero-tabs__menu,
  .hero-tabs__menu.is-open {
    transition: none;
  }

  .hero-tabs__chevron {
    transition: none;
  }
}

/* ============================================================
   Highlighted Data â€” card grid
============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
}

/* <li> fills the grid cell so the article stretches to full row height */
.card-grid > li {
  display: flex;
}

.info-card {
  background: #f4f8f2;
  border: 1px solid #d9e8d4;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Fixed-size square container â€” centres icon regardless of SVG dimensions */
.info-card__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(132, 191, 65, 0.12);
  padding: 10px;
}

.info-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-card h3 {
  margin: 0.75rem 0 0.4rem;
  color: #213a4f;
  font-size: 1.2rem;
}

/* flex: 1 pushes the link to the bottom of every card */
.info-card p {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #333333;
  flex: 1;
}

.info-card a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-top: 0.75rem;
  color: #1e5e8c;
  align-self: flex-start;
}

/* ============================================================
   Principles section
============================================================ */
.section--principles {
  background: linear-gradient(90deg, #1e5e8c, #4da65f);
  color: #ffffff;
}

.section--principles h2 {
  color: #ffffff;
  margin-top: 0;
  font-size: 2rem;
}

.section--principles p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.section--principles img {
  max-width: 320px;
}

/* ============================================================
   What We Do â€” stacked feature cards (interactive)
============================================================ */
.stacked-cards {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.875rem;
}

.feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.feature-card:hover {
  border-color: #c8dfc0;
  background: #f4faf0;
}

.feature-card--active {
  border-color: #b5d6a3;
  background: #eef6ea;
}

.feature-card img {
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-card h3 {
  margin: 0 0 0.2rem;
  color: #3E6A00;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
  color: #333333;
  line-height: 1.5;
}

/* ============================================================
   What We Do â€” aside content panels
   Each panel is hidden by default; JS adds .is-active to show one.
============================================================ */
.aside-panel {
  display: none;
}

.aside-panel.is-active {
  display: block;
}

/* Stat/highlight block inside a panel */
.aside-panel__stat-label {
  font-size: 1.2rem!important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #333333;
  margin: 0 0 1.25rem;
}
.aside-panel h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #213a4f;
  margin: 0 0 0.5rem;
}

.aside-panel p {
  font-size: 1.1rem;
  color: #333333;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.aside-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.25rem;
}

.aside-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: #333333;
}

.aside-panel__list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84BF41;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ============================================================
   Participants logo carousel
   Lives inside #aside-participants (.aside-panel).
============================================================ */

/* Hide all slides by default; JS + .is-active shows one */
.logo-carousel__track {
  list-style: none;
  padding: 0;
  margin: 0;
}

.logo-carousel__slide {
  display: none;
}

.logo-carousel__slide.is-active {
  display: block;
}

/* 3-column logo grid â€” consistent cell size regardless of logo shape */
.logo-carousel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.logo-carousel__cell {
  /* Fixed aspect ratio box: all cells are the same height */
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem;
  overflow: hidden;
}

.logo-carousel__cell img {
  /* Scale to fit the cell, never distort */
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Dot navigation */
.logo-carousel__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.logo-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #84BF41;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease;
  /* Remove default button appearance */
  appearance: none;
  -webkit-appearance: none;
}

.logo-carousel__dot.is-active,
.logo-carousel__dot[aria-selected="true"] {
  background: #84BF41;
}

.logo-carousel__dot:hover {
  background: rgba(132, 191, 65, 0.4);
}

.logo-carousel__dot:focus-visible {
  outline: 3px solid #44b549;
  outline-offset: 3px;
}

/* ============================================================
   Participant logo grid
============================================================ */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-grid img {
  width: 100%;
  background: #ffffff;
  padding: 0.875rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  object-fit: contain;
}

.participants-cta {
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   CTA feature section
============================================================ */
.section--cta-feature {
  background: linear-gradient(90deg, #1e4f7a, #2f6f93);
  color: #ffffff;
}

.section--cta-feature h2 {
  color: #ffffff;
  margin-top: 0;
  font-size: 2rem;
  line-height: 1.5;
}

.section--cta-feature p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  /* Preserve 16:9 ratio matching the thumbnail dimensions */
  aspect-ratio: 16 / 9;
}

.yt-facade__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: filter 0.2s ease;
}

.yt-facade:hover .yt-facade__thumb,
.yt-facade:focus-visible .yt-facade__thumb {
  filter: brightness(0.8);
}

.yt-facade:focus-visible {
  outline: 3px solid #44b549;
  outline-offset: 3px;
}

/* Play button â€” centred over the thumbnail */
.yt-facade__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* YouTube-style red pill background */
.yt-facade__play-bg {
  fill: #ff0000;
  fill-opacity: 0.9;
  transition: fill-opacity 0.15s ease;
}

.yt-facade:hover .yt-facade__play-bg,
.yt-facade:focus-visible .yt-facade__play-bg {
  fill-opacity: 1;
}

/* White triangle arrow */
.yt-facade__play-arrow {
  fill: #ffffff;
}

.yt-facade__iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: #0f3f61;
  color: #ffffff;
  padding-top: 3rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__brand {
  max-width: 300px;
}

.site-footer__brand img {
  margin-bottom: 1rem;
}

.site-footer__brand p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.25rem;
}

.footer-nav__list,
.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav__lisdt li {
  margin-bottom: 0.5rem;
}

.footer-nav__list a,
.site-footer a {
  color: #ffffff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-nav__list a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}
.social-links img {
  margin: 0;
}
.social-links a:hover {
      border-color: rgba(255, 255, 255, 0.7);
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius:555px;
  transition: border-color 0.15s ease;
  padding: 20px;
}
.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__legal p {
  font-size:0.8rem;
}
.site-footer__legal a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   Page Hero â€” single/interior pages
   Two-column layout: content left, image right.
   Dark blue background with white text.
   The background colour is set via --page-hero-bg so the
   back-end can override it per page if needed.
============================================================ */
.page-hero {
  background: var(--page-hero-bg, #1b3f5e);
  color: #ffffff;
  padding: 4rem 0;
}

.page-hero__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.page-hero__content {
  flex: 1;
}

.page-hero__content h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #ffffff;
}

.page-hero__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 0 1.75rem;
  max-width: 540px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.page-hero__media {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Outline button variant â€” used alongside .btn--primary in the page hero */
.btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--outline:hover,
.btn--outline:focus {
  border-color: #ffffff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

/* ============================================================
   Participants page â€” logo grid
   5-column variant for full-width participant listings.
   Reuses .logo-grid__cell for consistent cell sizing.
============================================================ */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.875rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.participants-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.participants-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #ffffff;
  padding: 0.875rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: block;
}

/* ============================================================
   Page content area â€” interior pages
   Wraps the main editable content body below the page hero.
============================================================ */
.page-content {
  padding: 4rem 0;
}

.page-content__heading {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3E6A00;
  margin: 0 0 2rem;
}

/* ============================================================
   Responsive â€” page hero and participants grid
============================================================ */
@media (max-width: 992px) {
  /* Page hero stacks on tablet */
  .page-hero__inner {
    flex-direction: column;
  }

  .page-hero__media {
    width: 100%;
    order: -1; /* image renders above content on smaller screens */
  }

  .page-hero__content p {
    max-width: 100%;
  }

  /* Participants grid: 3 columns on tablet */
  .participants-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .primary-nav__hamburger {
    display: flex;
    /* float: right; */
    margin-left: auto;
  }
  .primary-nav__list {
    display: none;
    position: absolute;
    top: 100%; /* below header */
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 1000;
  }
  .primary-nav__list.is-open {
    display: flex;
  }
  .primary-nav__toggle {
    width: 100%;
    padding: 0.75rem 1.5rem;
    justify-content: space-between;
    border-radius: 0;
  }
  .mega-menu {
    position: static;
    top: auto;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid #e8edf2;
    padding: 0;
  }

  body.is-scrolled .mega-menu {
    top: auto;
  }

  /* Always hide the featured column on mobile regardless of panel type */
  .mega-menu__featured {
    display: none;
  }

  /* Single-column layout, remove dividing border */
  .mega-menu__content {
    grid-template-columns: 1fr;
    padding: 1rem 1.5rem;
    gap: 0;
  }

  .mega-menu__links {
    padding: 0;
    border-right: none;
  }

  /* Mobile link styles â€” consistent across all panels */
  .mega-menu__link-list {
    gap: 0;
  }

  .mega-menu__link-list li a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f4f8;
    display: block;
  }

  .mega-menu__link-list li:last-child a {
    border-bottom: none;
  }

  /* Hide description text on mobile to keep the list compact */
  .mega-menu__text {
    display: none;
  }

  /* Hero tabs: hide pill tablist, show mobile dropdown */
  .hero-tabs--pills {
    display: none;
  }

  .hero-tabs--dropdown {
    display: flex;
    width: min(360px, calc(100% - 3rem)); /* caps width, respects small screens */
  }

  .hero-tabs--dropdown .hero-tabs__dropdown {
    width: 100%;
    max-width: none; /* parent already constrains width */
  }

  /* Section layouts stack */
  .section-layout {
    flex-direction: column;
  }

  .section-layout__aside {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Responsive â€” mobile (â‰¤ 600px)
============================================================ */
@media (max-width: 600px) {
  .page-hero {
    padding: 2.5rem 0;
  }

  .page-hero__content h1 {
    font-size: 2rem;
  }

  .page-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Participants grid: 2 columns on mobile */
  .participants-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    margin: 1.5rem;
  }

  .hero__content h1,
  .hero__content h2 {
    font-size: 2rem;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__brand {
    max-width: 100%;
  }
}
/* ============================================================
SINGLE PAGE LAYOUT
============================================================ */

.page-layout {display: grid;grid-template-columns: minmax(0, 1fr) 320px;gap: 4rem;padding: 0rem 0 5rem 0;}
.page-main-content {
min-width: 0;
}
.page-main-content section {
margin-bottom: 5rem;
}
.page-main-content h2 {
color: #1B619D;
font-size: 2rem;
line-height: 1.2;
margin: 0 0 1rem;
}
.elementor-widget-text-editor h2 {
color: #1B619D ;
font-size: 2rem ;
line-height: 1.5;
margin: 0 0 1rem;
}
.page-main-content p,
.page-main-content ul,
.page-main-content li {
margin-bottom: 1.25rem !important;
color: #333333;
font-size: 1.1rem;
}
.page-main-content li {
  margin-bottom:0;
}
.page-layout.container h3 {
    color: #1B619D;
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* ============================================================
   SIDEBAR â€” sticky container
============================================================ */
.page-sidebar {
  align-self: stretch;
}
.page-sidebar > * + * {
  margin-top: 1.5rem;
}
.page-toc,
.sidebar-card {
  background: rgba(224, 227, 229, 0.50);
  border: 1px solid rgba(0, 0, 0, 0.30);
  border-radius: 12px;
}
.page-toc {
  padding: 1.5rem;
}
.sidebar-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: #1B619D;
}
/* ============================================================
   SIDEBAR TAB NAVIGATION
   Vertical tablist â€” each button shows/hides its panel.
   Only one panel is visible at a time (JS + hidden attribute).
============================================================ */
.page-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-toc__list li + li {
  margin-top: 0.25rem;
}
/* Tab button â€” replaces the old anchor links */
.page-toc__tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  font-family: inherit;
  font-size: 1rem;
  color: #333333;
  cursor: pointer;
  transition: color 0.15s ease, border-left-color 0.15s ease,
              background 0.15s ease, font-weight 0.15s ease;
  line-height: 1.4;
}
.page-toc__tab:hover,
.page-toc__tab:focus-visible {
  color: #1e5e8c;
  border-left-color: #84BF41;
  background: rgba(132, 191, 65, 0.07);
  outline: none;
  text-decoration: none;
}

.page-toc__tab.is-active,
.page-toc__tab[aria-selected="true"] {
  color: #1e5e8c;
  border-left-color: #84BF41;
  font-weight: 700;
  background: rgba(132, 191, 65, 0.10);
}

/* ============================================================
   CONTENT PANELS â€” tabpanel visibility
   All [data-toc-section] panels are hidden by default.
   JS removes the `hidden` attribute from the active panel.
   The `hidden` attribute is used (not display:none in CSS)
   so the panel is fully removed from the AT tree when inactive.
============================================================ */
[role="tabpanel"] {
  outline: none; /* focus ring suppressed â€” panel appearance is the signal */
}

[role="tabpanel"][hidden] {
  display: none;
}

/* ============================================================
SIDEBAR CARDS
============================================================ */

.sidebar-card {
padding: 1.5rem;
}
.sidebar-card--green {
  background: rgba(132, 191, 65, 0.20);
  border: 1px solid rgba(62, 106, 0, 0.20);
}
.sidebar-card--blue {
  background: rgba(131, 189, 254, 0.10);
  border: 1px solid rgba(27, 97, 157, 0.30);
}
.stats-list {
list-style: none;
margin: 0;
padding: 0;
}
.stats-list li + li {
margin-top: 1rem;
}
.stats-list strong {
display: block;
font-size: 2rem;
line-height: 1;
}
.stats-list .stats-green {
  color:#84BF41;
}
.stats-list .stats-blue {
  color:#1B619D;
}
.stats-list span {
  display: block;
  margin-top: 0.4rem;
  color: #333333;
  line-height: 1.4;
}
.sidebar-card--green .related-headings {
  color:#3E6A00!important;
}
.sidebar-card--blue .related-headings {
  color:#0C3C66!important;
}
.related-links {
list-style: none;
margin: 0;
padding: 0;
}
.related-links li + li {
margin-top: 0.75rem;
}
.related-links a {
border-radius: 8px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
padding:0.5rem 2rem;
text-align: center;
color:#ffffff;
display: block;
width: 100%;
}
.sidebar-card--blue .related-links a {
background: #1B619D;
}
.sidebar-card--green .related-links a {
background: #84bf41;
}
.related-links a:hover {
  text-decoration: none;
  opacity: 0.88;
}

.e-n-menu-title:hover{
  background: #f0f4f8;

}
/* ============================================================
   RESPONSIVE TABLE â€” two-column data grid
   Used for performance highlights in #meaning-reductions.
   Built with div + ARIA roles rather than <table> so the
   two-column grid reflows cleanly to a single column on mobile.

   Two colour variants:
     .responsive-table--blue  â†’ dark blue / steel blue headers
     .responsive-table--green â†’ dark green / navy headers
============================================================ */

.table-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #333333;
  margin: 2rem 0 0.75rem;
}
.responsive-table {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px 0 rgba(12, 60, 102, 0.08);
}
.responsive-table__header-row  {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.responsive-table__col-header {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
/* Blue variant header cells */
.responsive-table--blue .responsive-table__col-header:nth-child(1) {
  background: #1B619D;
  color:#ffffff;
}
.responsive-table--blue .responsive-table__col-header:nth-child(2) {
  background: #2f6f93;
  color:#ffffff;
}
/* Green variant header cells */
.responsive-table--green .responsive-table__col-header:nth-child(1) {
  background: #84BF41;
  color:#333333;
}
.responsive-table--green .responsive-table__col-header:nth-child(2) {
  background: #1b3f5e;
  color:#ffffff;
}
.responsive-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e2e8f0;
}
.responsive-table__body .responsive-table__row-full:nth-child(even),
.responsive-table__body .responsive-table__row:nth-child(even) {
  background: #f8fafc;
}
.responsive-table__cell {
  padding: 1rem 1.25rem;
  border-right: 1px solid #e2e8f0;
}
.responsive-table__cell:last-child {
  border-right: none;
}
.responsive-table__stat {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.responsive-table--blue .responsive-table__stat {
  color: #1B619D;
}
.responsive-table--green .responsive-table__stat {
  color: #3E6A00;
}
.responsive-table__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333333;
  line-height: 1.4;
}
.two-col {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:2rem;
}
.two-col p {
  margin:0;
}
.img-col {
  display:flex;
  flex-direction: row;
  margin:2rem 0;
}
.events-list{
  width: 1200px;
  margin: 32px auto !important;
}
/* ============================================================
MOBILE
============================================================ */

@media (max-width: 992px) {
  .events-list{
    width: 100% !important;
  }
.page-layout {display: block;
              gap: 2rem;}
/* Responsive table: collapse to single column on tablet/mobile */
.responsive-table__header-row,
.responsive-table__row {
  grid-template-columns: 1fr;
}
.responsive-table__col-header:nth-child(2) {
  border-top: 1px solid rgba(255,255,255,0.2);
}
.responsive-table__cell {
  border-right: none;
  border-top: 1px solid #e2e8f0;
}

  /* Mobile tabs: horizontal scrolling row */
  .page-toc__list {
    display: block;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .page-toc__list::-webkit-scrollbar { display: none; }
  .page-toc__list li + li { margin-top: 0; }

  .page-toc__tab {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 4px 4px 0 0;
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
  }

  .page-toc__tab:hover,
  .page-toc__tab:focus-visible,
  .page-toc__tab.is-active,
  .page-toc__tab[aria-selected="true"] {
    border-left-color: transparent;
    border-bottom-color: #84BF41;
  }
  .two-col, .img-col {
    display:flex;
    flex-direction: column;
    gap:2rem;
  }
}