/*
Theme Name: WE-ACTx Modern
Theme URI: https://weactxforhope.org/
Author: IT NET Ltd
Author URI: https://itnetltd.net/
Description: Modern custom WordPress theme for WE-ACTx For Hope. Initial migration preserves the approved homepage design while keeping existing WordPress content and URLs intact.
Version: 1.9.1
Text Domain: weactx-modern
*/

/* WordPress integration helpers. Most homepage styling is supplied by Tailwind CDN in this initial migration build. */
html { scroll-behavior: smooth; }
body.admin-bar > header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar > header { top: 46px; }
}

/* Existing WordPress content defaults for internal pages/posts. */
.weactx-content h1,
.weactx-content h2,
.weactx-content h3,
.weactx-content h4 { font-weight: 700; line-height: 1.2; margin: 1.4em 0 .55em; color: #0f1f16; }
.weactx-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.weactx-content h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
.weactx-content h3 { font-size: 1.35rem; }
.weactx-content p, .weactx-content li { line-height: 1.75; color: #3f4940; }
.weactx-content p { margin: 0 0 1.25rem; }
.weactx-content ul, .weactx-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.weactx-content a { color: #006130; text-decoration: underline; text-underline-offset: 3px; }
.weactx-content img { max-width: 100%; height: auto; border-radius: 1rem; }
.weactx-content .alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* -------------------------------------------------------------------------
   Modern hero photo story slider — v1.1
   Fixed editorial copy on the left; only the photography changes.
   ------------------------------------------------------------------------- */
.weactx-hero-slider {
  isolation: isolate;
}
.weactx-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .8s ease, transform 5.8s ease, visibility .8s ease;
  z-index: 0;
}
.weactx-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,32,20,.06) 25%, rgba(15,31,22,.76) 100%);
  pointer-events: none;
}
.weactx-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}
.weactx-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weactx-hero-slide--fit img {
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #f3ede4 0%, #e7dfd4 100%);
}

.weactx-slide-caption {
  position: absolute;
  z-index: 3;
  left: 1.5rem;
  right: 5.75rem;
  bottom: 5.1rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.weactx-slide-caption strong {
  display: block;
  max-width: 22rem;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.weactx-slide-kicker {
  display: block;
  margin-bottom: .35rem;
  color: #b6ffc5;
  font-size: .68rem;
  line-height: 1rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.weactx-slider-badge {
  position: absolute;
  z-index: 5;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: calc(100% - 6.5rem);
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9999px;
  background: rgba(15,31,22,.48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.weactx-slider-counter {
  position: absolute;
  z-index: 5;
  top: 1.25rem;
  right: 1.25rem;
  min-width: 4rem;
  padding: .55rem .65rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9999px;
  background: rgba(15,31,22,.48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.weactx-slider-arrows {
  position: absolute;
  z-index: 5;
  right: 1.25rem;
  bottom: 4.65rem;
  display: flex;
  gap: .45rem;
}
.weactx-slider-arrow {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 9999px;
  background: rgba(255,255,255,.9);
  color: #006130;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.weactx-slider-arrow:hover,
.weactx-slider-arrow:focus-visible {
  background: #fff;
  transform: translateY(-2px);
  outline: none;
}
.weactx-slider-progress {
  position: absolute;
  z-index: 6;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .45rem;
}
.weactx-progress-item {
  position: relative;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(255,255,255,.34);
  cursor: pointer;
}
.weactx-progress-item span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: #fff;
}
.weactx-progress-item.is-active span {
  animation: weactxHeroProgress 6.5s linear forwards;
}
.weactx-hero-slider.is-paused .weactx-progress-item.is-active span {
  animation-play-state: paused;
}
@keyframes weactxHeroProgress {
  from { width: 0; }
  to { width: 100%; }
}
@media (max-width: 640px) {
  .weactx-slide-caption { left: 1.1rem; right: 1.1rem; bottom: 4.8rem; }
  .weactx-slider-badge { top: 1rem; left: 1rem; max-width: calc(100% - 5.8rem); font-size: .61rem; }
  .weactx-slider-counter { top: 1rem; right: 1rem; }
  .weactx-slider-arrows { right: 1rem; bottom: 4.15rem; }
  .weactx-slider-progress { left: 1.1rem; right: 1.1rem; bottom: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .weactx-hero-slide { transition: opacity .2s ease; transform: none !important; }
  .weactx-progress-item.is-active span { animation: none; width: 100%; }
}

/* -------------------------------------------------------------------------
   Header and navigation refinement — v1.2
   Mirrors the current site's information architecture while keeping the
   redesigned visual language. Removes duplicate CTAs and desktop congestion.
   ------------------------------------------------------------------------- */
.weactx-site-header { position: sticky; top: 0; z-index: 50; width: 100%; font-family: "Plus Jakarta Sans", sans-serif; }
.weactx-header-shell { width: min(1500px, calc(100% - 48px)); margin-inline: auto; }
.weactx-topbar { height: 40px; background: #1f3528; color: #e2f6e6; }
.weactx-topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.weactx-topbar-location,
.weactx-topbar-contact { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; }
.weactx-topbar-location .material-symbols-outlined,
.weactx-topbar-contact .material-symbols-outlined { font-size: 16px; color: #96f7af; }
.weactx-topbar-actions { display: flex; align-items: center; gap: 1rem; }
.weactx-topbar-contact { color: #96f7af; transition: color .2s ease; }
.weactx-topbar-contact:hover { color: #fff; }
.weactx-language-switch { display: flex; align-items: center; gap: .45rem; padding: .28rem .65rem; border-radius: 999px; background: rgba(255,255,255,.06); color: #d7e9da; font-size: .68rem; font-weight: 800; }
.weactx-language-switch .is-active { color: #96f7af; }

.weactx-mainbar { height: 84px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 10px rgba(15,31,22,.055); }
.weactx-mainbar-inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.weactx-brand { display: flex; align-items: center; gap: .72rem; flex: 0 0 auto; color: #0f1f16; text-decoration: none; }
.weactx-brand-logo { width: 46px; height: 46px; padding: 3px; border-radius: 12px; background: #fff; box-shadow: 0 5px 22px rgba(14,59,33,.10); overflow: hidden; }
.weactx-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.weactx-brand-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.weactx-brand-copy strong { white-space: nowrap; color: #006130; font-size: 1.12rem; font-weight: 800; letter-spacing: -.025em; }
.weactx-brand-copy small { margin-top: .28rem; color: #53705d; font-size: .57rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }

.weactx-desktop-nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 1.25vw, 1.35rem); }
.weactx-nav-link { position: relative; display: inline-flex; align-items: center; gap: .18rem; padding: .8rem 0; color: #3f4940; text-decoration: none; white-space: nowrap; font-size: .88rem; font-weight: 650; letter-spacing: -.01em; transition: color .2s ease; }
.weactx-nav-link:hover,
.weactx-nav-link:focus-visible,
.weactx-nav-link.is-current { color: #006130; outline: none; }
.weactx-nav-link.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: .28rem; height: 2px; border-radius: 2px; background: #006130; }
.weactx-nav-parent .material-symbols-outlined { font-size: 17px; transition: transform .2s ease; }
.weactx-nav-dropdown { position: relative; }
.weactx-nav-dropdown:hover .weactx-nav-parent .material-symbols-outlined,
.weactx-nav-dropdown:focus-within .weactx-nav-parent .material-symbols-outlined { transform: rotate(180deg); }
.weactx-dropdown-menu { position: absolute; top: calc(100% - 2px); left: 50%; width: 220px; padding: .55rem; border: 1px solid rgba(111,122,111,.18); border-radius: 15px; background: #fff; box-shadow: 0 18px 45px rgba(15,31,22,.13); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.weactx-nav-dropdown:hover .weactx-dropdown-menu,
.weactx-nav-dropdown:focus-within .weactx-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.weactx-dropdown-menu a { display: block; padding: .72rem .82rem; border-radius: 10px; color: #3f4940; text-decoration: none; font-size: .82rem; font-weight: 650; line-height: 1.25; }
.weactx-dropdown-menu a:hover,
.weactx-dropdown-menu a:focus-visible { background: #e5f8e9; color: #006130; outline: none; }

.weactx-header-cta { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex: 0 0 auto; }
.weactx-partner-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .68rem 1.15rem; border-radius: 12px; background: #107c41; color: #fff; text-decoration: none; white-space: nowrap; font-size: .78rem; font-weight: 800; box-shadow: 0 5px 20px rgba(16,124,65,.13); transition: background .2s ease, transform .2s ease; }
.weactx-partner-button:hover { background: #006130; transform: translateY(-1px); }

/* Mobile navigation uses native details/summary: no JS dependency. */
.weactx-mobile-menu { display: none; position: relative; }
.weactx-mobile-menu > summary { list-style: none; width: 42px; height: 42px; border-radius: 11px; background: #e5f8e9; color: #006130; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.weactx-mobile-menu > summary::-webkit-details-marker,
.weactx-mobile-menu summary::-webkit-details-marker { display: none; }
.weactx-mobile-panel { position: absolute; top: 52px; right: 0; width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 150px); overflow-y: auto; padding: .7rem; border: 1px solid rgba(111,122,111,.18); border-radius: 18px; background: #fff; box-shadow: 0 22px 55px rgba(15,31,22,.18); }
.weactx-mobile-panel > a,
.weactx-mobile-panel > details > summary { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .82rem .9rem; border-radius: 11px; color: #253b2d; text-decoration: none; font-size: .9rem; font-weight: 700; cursor: pointer; list-style: none; }
.weactx-mobile-panel > a:hover,
.weactx-mobile-panel > details > summary:hover { background: #e5f8e9; color: #006130; }
.weactx-mobile-panel > details > summary .material-symbols-outlined { font-size: 18px; }
.weactx-mobile-submenu { margin: .15rem 0 .45rem; padding-left: .65rem; border-left: 2px solid #bbebc5; }
.weactx-mobile-submenu a { display: block; padding: .65rem .8rem; border-radius: 9px; color: #53705d; text-decoration: none; font-size: .82rem; font-weight: 600; }
.weactx-mobile-submenu a:hover { background: #f1fbf3; color: #006130; }
.weactx-mobile-panel .weactx-mobile-partner { margin-top: .45rem; justify-content: center; background: #107c41; color: #fff; }
.weactx-mobile-panel .weactx-mobile-partner:hover { background: #006130; color: #fff; }

@media (max-width: 1390px) {
  .weactx-header-shell { width: min(1340px, calc(100% - 36px)); }
  .weactx-brand-copy small { display: none; }
  .weactx-desktop-nav { gap: .8rem; }
  .weactx-nav-link { font-size: .82rem; }
  .weactx-partner-button { padding-inline: .95rem; }
}

@media (max-width: 1279px) {
  .weactx-desktop-nav { display: none; }
  .weactx-mobile-menu { display: block; }
  .weactx-mainbar-inner { justify-content: space-between; }
}

@media (max-width: 720px) {
  .weactx-header-shell { width: calc(100% - 24px); }
  .weactx-topbar { height: 36px; }
  .weactx-topbar-contact span:last-child,
  .weactx-language-switch { display: none; }
  .weactx-mainbar { height: 72px; }
  .weactx-brand-logo { width: 40px; height: 40px; border-radius: 10px; }
  .weactx-brand-copy strong { font-size: .97rem; }
  .weactx-brand-copy small { display: none; }
  .weactx-partner-button { display: none; }
  .weactx-mobile-panel { top: 48px; }
}


/* ==========================================================================
   v1.4 — Inner page system, natural scrolling and legacy-content repair
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
}
body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
}
body::-webkit-scrollbar { width: 11px; display: block; }
body::-webkit-scrollbar-track { background: #eef8f0; }
body::-webkit-scrollbar-thumb { background: #9bb8a2; border: 3px solid #eef8f0; border-radius: 999px; }
body::-webkit-scrollbar-thumb:hover { background: #6f9279; }

/* Sticky header sits below the WP admin bar without covering content. */
body.admin-bar .weactx-site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .weactx-site-header { top: 46px; }
}

/* The existing real photos are mostly landscape; use a landscape editorial frame. */
.weactx-hero-slider {
  min-height: 390px;
  background: #dfece2;
}
.weactx-hero-slide img {
  object-position: center center;
}
.weactx-impact-photo {
  background: #eef6ef;
}
.weactx-impact-photo img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #eef6ef;
}
.weactx-youth-photo img {
  object-position: 50% 25% !important;
}

/* General inner-page canvas */
.weactx-inner-main {
  width: 100%;
  min-height: 70vh;
  padding: clamp(2rem, 4vw, 4.5rem) 0 clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 7% 8%, rgba(150,247,175,.22), transparent 23rem),
    linear-gradient(180deg, #f2fff5 0%, #ebfeef 100%);
}
.weactx-page-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.weactx-page {
  width: 100%;
}
.weactx-page-heading {
  margin: 0 0 1.75rem;
  padding: 0 clamp(.25rem, 1vw, .75rem);
}
.weactx-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #006130;
  font-size: .72rem;
  line-height: 1rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.weactx-page-eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: #107c41;
}
.weactx-page-heading h1 {
  max-width: 900px;
  margin: .6rem 0 0;
  color: #0f1f16;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.045em;
}
.weactx-page-featured-image {
  width: 100%;
  max-height: 620px;
  margin: 0 0 1.5rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(111,122,111,.14);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15,31,22,.07);
}
.weactx-page-featured-image img {
  display: block;
  width: 100%;
  max-height: 585px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 20px;
}
.weactx-page-card {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(111,122,111,.12);
  border-radius: 30px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 50px rgba(15,31,22,.055);
}

/* Normalize legacy Gutenberg / classic content so old pages remain usable. */
.weactx-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.weactx-content > :first-child { margin-top: 0 !important; }
.weactx-content > :last-child { margin-bottom: 0 !important; }
.weactx-content h1,
.weactx-content h2,
.weactx-content h3,
.weactx-content h4,
.weactx-content h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  text-wrap: balance;
}
.weactx-content h2 { margin-top: 0; font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
.weactx-content h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.weactx-content h4 { font-size: 1.05rem; }
.weactx-content p,
.weactx-content li { font-size: 1rem; line-height: 1.75; }
.weactx-content figure { margin: 0 0 1.25rem; }
.weactx-content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 18px;
}
.weactx-content .wp-block-spacer {
  height: clamp(1.25rem, 3vw, 2.75rem) !important;
}
.weactx-content .wp-block-columns {
  gap: clamp(1rem, 2vw, 1.5rem) !important;
  align-items: stretch !important;
  margin-block: 1.5rem !important;
}
.weactx-content .wp-block-column {
  min-width: 0;
}
.weactx-content .wp-block-group,
.weactx-content .wp-block-cover,
.weactx-content .wp-block-media-text {
  border-radius: 22px;
  overflow: hidden;
}
.weactx-content table { width: 100%; border-collapse: collapse; }
.weactx-content td,
.weactx-content th { padding: .8rem 1rem; border: 1px solid #d4e7d8; }
.weactx-content input:not([type="checkbox"]):not([type="radio"]),
.weactx-content select,
.weactx-content textarea {
  width: 100%;
  max-width: 100%;
  padding: .8rem .95rem;
  border: 1px solid #becabd;
  border-radius: 12px;
  background: #fff;
  color: #0f1f16;
}
.weactx-content input:focus,
.weactx-content select:focus,
.weactx-content textarea:focus {
  outline: 3px solid rgba(16,124,65,.12);
  border-color: #107c41;
}
.weactx-content input[type="submit"],
.weactx-content button,
.weactx-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.2rem;
  border: 0;
  border-radius: 12px;
  background: #107c41;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Team + Board: turn old column content into clean responsive people cards.
   -------------------------------------------------------------------------- */
.page-team .weactx-page-card,
.page-board-of-directors .weactx-page-card {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.page-team .weactx-content > h2:first-child,
.page-board-of-directors .weactx-content > h2:first-child {
  margin-bottom: .75rem;
}
.page-team .weactx-content > p:first-of-type,
.page-board-of-directors .weactx-content > p:first-of-type {
  max-width: 850px;
  margin-bottom: 2rem;
  color: #52675a;
  font-size: 1.06rem;
}
.page-team .weactx-content .wp-block-columns,
.page-board-of-directors .weactx-content .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem !important;
}
.page-team .weactx-content .wp-block-column,
.page-board-of-directors .weactx-content .wp-block-column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(111,122,111,.13);
  border-radius: 22px;
  background: #fafffb;
  box-shadow: 0 10px 28px rgba(15,31,22,.045);
}
.page-team .weactx-content .wp-block-image,
.page-board-of-directors .weactx-content .wp-block-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 1rem !important;
  overflow: hidden;
  border-radius: 16px;
  background: #edf5ef;
}
.page-team .weactx-content .wp-block-image img,
.page-board-of-directors .weactx-content .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 25%;
  border-radius: 0;
}
.page-team .weactx-content .wp-block-column h3,
.page-team .weactx-content .wp-block-column h4,
.page-board-of-directors .weactx-content .wp-block-column h3,
.page-board-of-directors .weactx-content .wp-block-column h4 {
  margin: .15rem 0 .35rem;
  color: #0f1f16;
  font-size: 1.04rem;
  line-height: 1.35;
}
.page-team .weactx-content .wp-block-column p,
.page-board-of-directors .weactx-content .wp-block-column p {
  margin: 0;
  color: #66766b;
  font-size: .88rem;
  line-height: 1.5;
}
/* Old editors sometimes add a spacer between each people row. */
.page-team .weactx-content .wp-block-spacer,
.page-board-of-directors .weactx-content .wp-block-spacer { display: none !important; }

/* --------------------------------------------------------------------------
   Introduction: readable overview + four balanced information cards.
   -------------------------------------------------------------------------- */
.page-introduction .weactx-content > h2:first-child {
  margin-bottom: .8rem;
}
.page-introduction .weactx-content > p:first-of-type {
  max-width: 900px;
  margin-bottom: 2rem;
  padding: 1.35rem 1.45rem;
  border-left: 4px solid #107c41;
  border-radius: 0 16px 16px 0;
  background: #f2fbf4;
  color: #405348;
  font-size: 1.05rem;
}
.page-introduction .weactx-content .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-introduction .weactx-content .wp-block-column {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(111,122,111,.13);
  border-radius: 20px;
  background: #fafffb;
}
.page-introduction .weactx-content .wp-block-column h3,
.page-introduction .weactx-content .wp-block-column h4 {
  margin-top: 0;
  color: #006130;
}
.page-introduction .weactx-content .wp-block-column ul {
  margin-left: 1rem;
  columns: 1;
}

/* --------------------------------------------------------------------------
   What We Do: old program columns/images become consistent service cards.
   -------------------------------------------------------------------------- */
.page-about-us .weactx-content .wp-block-columns {
  align-items: stretch !important;
}
.page-about-us .weactx-content .wp-block-column {
  padding: 1rem;
  border: 1px solid rgba(111,122,111,.12);
  border-radius: 22px;
  background: #fafffb;
}
.page-about-us .weactx-content .wp-block-image {
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 16px;
  background: #edf5ef;
}
.page-about-us .weactx-content .wp-block-image img {
  width: 100% !important;
  max-height: 330px;
  object-fit: contain;
  margin-inline: auto;
}
.page-about-us .weactx-content h3 { color: #0f1f16; }

/* Impact / results / stories: keep documentary images visible, never stretch. */
.page-impact .weactx-content img,
.page-results .weactx-content img,
.page-success-stories .weactx-content img {
  max-height: 620px;
  object-fit: contain;
  margin-inline: auto;
  background: #f0f7f2;
}

/* Publications: document links read like report cards. */
.page-publications .weactx-content .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.page-publications .weactx-content .wp-block-column {
  padding: 1.35rem;
  border: 1px solid rgba(111,122,111,.13);
  border-radius: 20px;
  background: #fafffb;
}
.page-publications .weactx-content .wp-block-column h3,
.page-publications .weactx-content .wp-block-column h4 { margin-top: 0; }

/* Gallery: consistent thumbnails without distorting originals. */
.page-gallery .weactx-content .wp-block-gallery,
.page-gallery .weactx-content .blocks-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem !important;
}
.page-gallery .weactx-content .wp-block-gallery figure,
.page-gallery .weactx-content .blocks-gallery-item {
  width: 100% !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #edf5ef;
}
.page-gallery .weactx-content .wp-block-gallery img,
.page-gallery .weactx-content .blocks-gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Contact: keep forms and contact blocks compact and easy to scan. */
.page-contact .weactx-page-card { max-width: 980px; margin-inline: auto; }
.page-contact .weactx-content .wp-block-columns { align-items: start !important; }
.page-contact .weactx-content .wp-block-column {
  padding: 1.25rem;
  border-radius: 18px;
  background: #f7fbf8;
}

/* Posts and archive cards: keep photography uncropped where practical. */
.single .weactx-content img { object-fit: contain; margin-inline: auto; }

@media (max-width: 1024px) {
  .page-team .weactx-content .wp-block-columns,
  .page-board-of-directors .weactx-content .wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-publications .weactx-content .wp-block-columns,
  .page-gallery .weactx-content .wp-block-gallery,
  .page-gallery .weactx-content .blocks-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 7.5rem; }
  .weactx-page-wrap { width: calc(100% - 24px); }
  .weactx-inner-main { padding-top: 1.5rem; }
  .weactx-page-card { padding: 1.2rem; border-radius: 22px; }
  .weactx-page-heading { margin-bottom: 1.15rem; }
  .weactx-page-heading h1 { font-size: clamp(2.05rem, 10vw, 3.1rem); }
  .page-team .weactx-content .wp-block-columns,
  .page-board-of-directors .weactx-content .wp-block-columns,
  .page-introduction .weactx-content .wp-block-columns,
  .page-publications .weactx-content .wp-block-columns,
  .page-gallery .weactx-content .wp-block-gallery,
  .page-gallery .weactx-content .blocks-gallery-grid {
    grid-template-columns: 1fr;
  }
  .weactx-hero-slider { min-height: 330px; }
  .weactx-impact-photo { height: auto !important; min-height: 260px; }
}

/* --------------------------------------------------------------------------
   What We Do / Programs — dedicated editorial card layout (v1.5)
   The template reads existing WordPress content; these rules only present it.
   -------------------------------------------------------------------------- */
.weactx-programs-main {
  flex: 1;
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 8% 4%, rgba(150,247,175,.22), transparent 28rem),
    linear-gradient(180deg, #effcf2 0%, #f8fcf9 45%, #ffffff 100%);
}
.weactx-programs-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}
.weactx-programs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 2vw, 2rem) 0;
}
.weactx-programs-hero-copy {
  max-width: 800px;
}
.weactx-programs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
  color: #00713a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.weactx-programs-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: #107c41;
}
.weactx-programs-hero h1 {
  margin: 0;
  color: #0f1f16;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
}
.weactx-programs-hero p {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: #52675a;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}
.weactx-programs-count {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 205px;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(16,124,65,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 40px rgba(15,31,22,.06);
}
.weactx-programs-count strong {
  color: #006130;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}
.weactx-programs-count span {
  color: #52675a;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.weactx-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 1.7rem);
}
.weactx-program-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(111,122,111,.14);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15,31,22,.055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.weactx-program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16,124,65,.24);
  box-shadow: 0 22px 54px rgba(15,31,22,.10);
}
.weactx-program-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7f3ea;
}
.weactx-program-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.weactx-program-card:hover .weactx-program-media img {
  transform: scale(1.035);
}
.weactx-program-media-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #107c41;
  background: linear-gradient(135deg, #e7f6eb, #d6eedc);
}
.weactx-program-media-placeholder .material-symbols-outlined {
  font-size: 3rem;
}
.weactx-program-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(15,31,22,.72);
  backdrop-filter: blur(10px);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.weactx-program-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.65rem);
}
.weactx-program-category {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: .75rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  color: #006130;
  background: #e4f6e9;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.weactx-program-body h2 {
  margin: 0;
  color: #0f1f16;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.15rem, 1.55vw, 1.42rem);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.weactx-program-body p {
  display: -webkit-box;
  margin: .85rem 0 1.2rem;
  overflow: hidden;
  color: #56675c;
  font-size: .93rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.weactx-program-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin-top: auto;
  color: #006d37;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}
.weactx-program-link .material-symbols-outlined {
  font-size: 18px;
  transition: transform .2s ease;
}
.weactx-program-link:hover .material-symbols-outlined {
  transform: translateX(4px);
}
.weactx-programs-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 26px;
  color: #fff;
  background: #193a29;
  box-shadow: 0 18px 48px rgba(15,31,22,.14);
}
.weactx-programs-cta span:first-child {
  color: #96f7af;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.weactx-programs-cta h2 {
  max-width: 760px;
  margin: .35rem 0 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.25;
}
.weactx-programs-cta > a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .78rem 1.15rem;
  border-radius: 13px;
  color: #00210c;
  background: #96f7af;
  font-weight: 800;
  text-decoration: none;
}
.weactx-programs-cta > a .material-symbols-outlined { font-size: 19px; }

@media (max-width: 1024px) {
  .weactx-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weactx-programs-hero { gap: 2rem; }
}
@media (max-width: 720px) {
  .weactx-programs-shell { width: min(100% - 24px, 1280px); }
  .weactx-programs-hero { grid-template-columns: 1fr; align-items: start; }
  .weactx-programs-count { width: fit-content; min-width: 0; }
  .weactx-program-grid { grid-template-columns: 1fr; }
  .weactx-program-media { aspect-ratio: 16 / 9; }
  .weactx-programs-cta { align-items: flex-start; flex-direction: column; }
}

/* ==========================================================================
   Impact, Stories, Events & Publications — Modern inner pages (v1.6)
   ========================================================================== */
.weactx-section-main {
  flex: 1;
  padding: clamp(2rem, 4vw, 4.25rem) 0 clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 6% 2%, rgba(150,247,175,.20), transparent 30rem),
    linear-gradient(180deg, #f0fcf3 0%, #f8fcf9 45%, #fff 100%);
}
.weactx-section-shell { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.weactx-section-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); padding: clamp(1rem, 2vw, 2rem) 0;
}
.weactx-section-hero > div:first-child { max-width: 850px; }
.weactx-section-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .85rem;
  color: #00713a; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.weactx-section-eyebrow .material-symbols-outlined { font-size: 18px; }
.weactx-section-hero h1 {
  margin: 0; color: #0f1f16; font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.55rem, 5vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -.045em;
}
.weactx-section-hero p {
  max-width: 780px; margin: 1.15rem 0 0; color: #506458;
  font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.75;
}
.weactx-hero-mark {
  display: grid; width: 96px; height: 96px; place-items: center;
  border: 1px solid rgba(16,124,65,.15); border-radius: 28px;
  color: #006130; background: rgba(255,255,255,.82); box-shadow: 0 18px 42px rgba(15,31,22,.06);
}
.weactx-hero-mark .material-symbols-outlined { font-size: 42px; }

/* Results */
.weactx-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.weactx-evidence-card {
  min-width: 0; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid rgba(111,122,111,.14);
  border-radius: 28px; background: #fff; box-shadow: 0 14px 40px rgba(15,31,22,.06);
}
.weactx-evidence-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem; }
.weactx-evidence-icon { display:grid; width:52px; height:52px; place-items:center; border-radius:16px; color:#006130; background:#e4f6e9; }
.weactx-evidence-icon .material-symbols-outlined { font-size: 26px; }
.weactx-evidence-number { color:#8aa195; font-size:.76rem; font-weight:800; letter-spacing:.08em; }
.weactx-evidence-card h2 { margin:0 0 1rem; color:#0f1f16; font-size:clamp(1.25rem,2vw,1.65rem); line-height:1.25; }
.weactx-evidence-copy { color:#4e6255; font-size:.98rem; line-height:1.8; }
.weactx-evidence-copy p:first-child { margin-top:0; }
.weactx-evidence-copy p:last-child { margin-bottom:0; }
.weactx-evidence-copy strong { color:#006130; }
.weactx-inline-cta {
  display:flex; align-items:center; justify-content:space-between; gap:2rem; margin-top:clamp(2.5rem,5vw,4.5rem);
  padding:clamp(1.55rem,3vw,2.4rem); border-radius:28px; color:#fff; background:#193a29;
}
.weactx-inline-cta span:first-child { color:#96f7af; font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.weactx-inline-cta h2 { max-width:760px; margin:.4rem 0 0; color:#fff; font-size:clamp(1.25rem,2vw,1.9rem); line-height:1.3; }
.weactx-inline-cta > a { display:inline-flex; flex-shrink:0; align-items:center; gap:.5rem; padding:.82rem 1.1rem; border-radius:13px; color:#00210c; background:#96f7af; font-weight:800; text-decoration:none; }
.weactx-inline-cta > a .material-symbols-outlined { font-size:18px; }

/* Success Stories */
.weactx-story-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.weactx-story-card {
  position:relative; overflow:hidden; min-width:0; padding:clamp(1.65rem,3vw,2.4rem);
  border:1px solid rgba(111,122,111,.14); border-radius:28px; background:#fff;
  box-shadow:0 14px 40px rgba(15,31,22,.06);
}
.weactx-story-card::after { content:""; position:absolute; right:-60px; bottom:-70px; width:180px; height:180px; border-radius:50%; background:rgba(150,247,175,.16); }
.weactx-story-card-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.2rem; }
.weactx-story-kicker { color:#006130; font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.weactx-story-card-head .material-symbols-outlined { color:#7ada95; font-size:36px; }
.weactx-story-card h2 { position:relative; z-index:1; margin:0 0 1rem; color:#0f1f16; font-size:clamp(1.25rem,2vw,1.65rem); line-height:1.28; }
.weactx-story-copy { position:relative; z-index:1; color:#4e6255; font-size:.98rem; line-height:1.8; }
.weactx-story-copy > *:first-child { margin-top:0; }
.weactx-story-copy > *:last-child { margin-bottom:0; }

/* Events */
.weactx-event-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.weactx-event-card { overflow:hidden; border:1px solid rgba(111,122,111,.14); border-radius:28px; background:#fff; box-shadow:0 14px 40px rgba(15,31,22,.06); }
.weactx-event-card.is-featured { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
.weactx-event-media { display:grid; min-height:260px; place-items:center; overflow:hidden; color:#107c41; background:#e7f3ea; }
.weactx-event-card.is-featured .weactx-event-media { min-height:420px; }
.weactx-event-media img { width:100%; height:100%; object-fit:cover; object-position:center; }
.weactx-event-media > .material-symbols-outlined { font-size:54px; }
.weactx-event-body { display:flex; flex-direction:column; align-items:flex-start; padding:clamp(1.4rem,3vw,2.25rem); }
.weactx-event-kicker { margin-bottom:.75rem; color:#006130; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.weactx-event-body h2 { margin:0; color:#0f1f16; font-size:clamp(1.25rem,2.3vw,2rem); line-height:1.25; }
.weactx-event-body p { margin:1rem 0 1.4rem; color:#52675a; font-size:.97rem; line-height:1.75; }
.weactx-event-body a { display:inline-flex; align-items:center; gap:.45rem; margin-top:auto; color:#006d37; font-weight:800; text-decoration:none; }
.weactx-event-body a .material-symbols-outlined { font-size:18px; }

/* Publications */
.weactx-library-count { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:120px; min-height:96px; padding:1rem; border:1px solid rgba(16,124,65,.15); border-radius:24px; background:#fff; box-shadow:0 14px 40px rgba(15,31,22,.06); }
.weactx-library-count strong { color:#006130; font-size:2.2rem; line-height:1; }
.weactx-library-count span { margin-top:.35rem; color:#6a7d70; font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.weactx-publication-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.weactx-publication-card { display:grid; grid-template-columns:110px minmax(0,1fr); min-width:0; overflow:hidden; border:1px solid rgba(111,122,111,.14); border-radius:24px; background:#fff; box-shadow:0 14px 38px rgba(15,31,22,.055); transition:transform .25s ease, box-shadow .25s ease; }
.weactx-publication-card:hover { transform:translateY(-3px); box-shadow:0 20px 48px rgba(15,31,22,.09); }
.weactx-publication-cover { display:flex; flex-direction:column; justify-content:flex-end; min-height:245px; padding:1rem; color:#fff; background:linear-gradient(160deg,#0b6b39 0%,#193a29 100%); }
.weactx-publication-cover .material-symbols-outlined { margin-bottom:auto; font-size:30px; color:#96f7af; }
.weactx-publication-cover small { font-size:.62rem; font-weight:700; opacity:.8; }
.weactx-publication-cover strong { margin-top:.25rem; font-size:1.55rem; }
.weactx-publication-body { display:flex; flex-direction:column; padding:1.25rem; }
.weactx-publication-type { align-self:flex-start; margin-bottom:.7rem; padding:.32rem .6rem; border-radius:999px; color:#006130; background:#e4f6e9; font-size:.65rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.weactx-publication-body h2 { margin:0; color:#0f1f16; font-size:1.1rem; line-height:1.35; }
.weactx-publication-body p { margin:.75rem 0 1rem; color:#586b5f; font-size:.84rem; line-height:1.65; }
.weactx-publication-body a { display:inline-flex; align-items:center; gap:.4rem; margin-top:auto; color:#006d37; font-size:.85rem; font-weight:800; text-decoration:none; }
.weactx-publication-body a .material-symbols-outlined { font-size:18px; }

@media (max-width: 1100px) {
  .weactx-publication-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .weactx-results-grid, .weactx-story-grid, .weactx-event-grid { grid-template-columns:1fr; }
  .weactx-event-card.is-featured { grid-column:auto; grid-template-columns:1fr; }
  .weactx-event-card.is-featured .weactx-event-media { min-height:300px; }
  .weactx-inline-cta { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 720px) {
  .weactx-section-shell { width:min(100% - 24px,1280px); }
  .weactx-section-hero { grid-template-columns:1fr; align-items:start; }
  .weactx-hero-mark, .weactx-library-count { display:none; }
  .weactx-publication-grid { grid-template-columns:1fr; }
  .weactx-publication-card { grid-template-columns:92px minmax(0,1fr); }
  .weactx-publication-cover { min-height:220px; }
}

/* --------------------------------------------------------------------------
   Contact page — purpose-built conversion layout (v1.7)
   Keeps the existing WordPress form/content while fixing proportions, spacing,
   image cropping and mobile behavior.
   -------------------------------------------------------------------------- */
.weactx-contact-main {
  flex: 1;
  background:
    radial-gradient(circle at 8% 6%, rgba(150,247,175,.28), transparent 28rem),
    radial-gradient(circle at 94% 24%, rgba(137,245,231,.16), transparent 24rem),
    linear-gradient(180deg, #effcf2 0%, #f9fcfa 48%, #ffffff 100%);
  padding: clamp(2.25rem, 5vw, 5rem) 0 clamp(4.5rem, 8vw, 7.5rem);
}
.weactx-contact-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}
.weactx-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.weactx-contact-hero-copy { max-width: 790px; }
.weactx-contact-eyebrow,
.weactx-contact-section-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #006d37;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.weactx-contact-eyebrow .material-symbols-outlined { font-size: 18px; }
.weactx-contact-hero h1 {
  margin: .65rem 0 1rem;
  color: #0f1f16;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.055em;
}
.weactx-contact-hero-copy > p {
  max-width: 700px;
  margin: 0;
  color: #3f4940;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}
.weactx-contact-hero-note {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(0,97,48,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 14px 35px -28px rgba(15,31,22,.4);
}
.weactx-contact-hero-note > .material-symbols-outlined {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #dff7e5;
  color: #006130;
}
.weactx-contact-hero-note strong,
.weactx-contact-hero-note span { display: block; }
.weactx-contact-hero-note strong { color: #0f1f16; font-size: .98rem; }
.weactx-contact-hero-note div > span { margin-top: .25rem; color: #667067; font-size: .84rem; line-height: 1.45; }

.weactx-contact-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.weactx-contact-quick-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(111,122,111,.15);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  color: #0f1f16;
  text-decoration: none;
  box-shadow: 0 12px 32px -28px rgba(15,31,22,.5);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.weactx-contact-quick-card:not(.is-static):hover {
  transform: translateY(-3px);
  border-color: rgba(0,97,48,.3);
  box-shadow: 0 18px 38px -28px rgba(15,31,22,.55);
}
.weactx-contact-quick-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #e0f5e5;
  color: #006130;
}
.weactx-contact-quick-copy { min-width: 0; flex: 1; }
.weactx-contact-quick-copy small,
.weactx-contact-quick-copy strong { display: block; }
.weactx-contact-quick-copy small { color: #6f7a6f; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.weactx-contact-quick-copy strong { margin-top: .15rem; overflow-wrap: anywhere; font-size: .98rem; }
.weactx-contact-arrow { font-size: 19px; color: #006130; }
.weactx-contact-muted { color: #758077; font-size: .8rem; font-weight: 600; }

.weactx-contact-panel {
  padding: clamp(1.3rem, 3vw, 2.35rem);
  border: 1px solid rgba(111,122,111,.13);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 70px -55px rgba(15,31,22,.45);
}
.weactx-contact-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: .35rem .35rem 1.5rem;
  border-bottom: 1px solid rgba(111,122,111,.12);
}
.weactx-contact-panel-head h2 {
  margin: .25rem 0 0;
  color: #0f1f16;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.weactx-contact-panel-head > p {
  max-width: 430px;
  margin: 0;
  color: #687269;
  font-size: .92rem;
  line-height: 1.6;
  text-align: right;
}

/* Remove the legacy thin banner image at the beginning of the old Contact page. */
.weactx-contact-content > figure:first-child,
.weactx-contact-content > .wp-block-image:first-child,
.weactx-contact-content > p:first-child:has(img) { display: none !important; }

.weactx-contact-content { padding: clamp(1.2rem, 2.5vw, 2rem) .25rem .25rem; }
.weactx-contact-content > .wp-block-columns,
.weactx-contact-content .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: stretch !important;
  gap: clamp(1.15rem, 3vw, 2.25rem) !important;
  margin: 0 !important;
}
.weactx-contact-content .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}
.weactx-contact-content .wp-block-column:first-child {
  padding: clamp(1.15rem, 2.5vw, 2rem);
  border-radius: 24px;
  background: #f7fbf8;
}
.weactx-contact-content .wp-block-column:last-child {
  position: relative;
  min-height: 560px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 24px;
  background: #e7f4ea;
}
.weactx-contact-content .wp-block-column:last-child figure,
.weactx-contact-content .wp-block-column:last-child .wp-block-image,
.weactx-contact-content .wp-block-column:last-child p:has(img) {
  width: 100%;
  height: 100%;
  margin: 0 !important;
}
.weactx-contact-content .wp-block-column:last-child img {
  width: 100% !important;
  height: 100% !important;
  min-height: 560px;
  object-fit: cover !important;
  object-position: center 34%;
  border-radius: 0 !important;
}
.weactx-contact-content h2,
.weactx-contact-content h3 {
  margin-top: 0;
  letter-spacing: -.025em;
}
.weactx-contact-content h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.weactx-contact-content p { color: #536057; }

/* Form systems: Contact Form 7, WPForms, Ninja Forms, Forminator and native fields. */
.weactx-contact-content form { margin-top: 1.25rem; }
.weactx-contact-content label {
  display: block;
  margin-bottom: .42rem;
  color: #14241a;
  font-size: .82rem;
  font-weight: 700;
}
.weactx-contact-content input[type="text"],
.weactx-contact-content input[type="email"],
.weactx-contact-content input[type="tel"],
.weactx-contact-content input[type="url"],
.weactx-contact-content input[type="number"],
.weactx-contact-content input[type="date"],
.weactx-contact-content select,
.weactx-contact-content textarea,
.weactx-contact-content .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio),
.weactx-contact-content .wpforms-field input,
.weactx-contact-content .wpforms-field textarea,
.weactx-contact-content .forminator-input,
.weactx-contact-content .forminator-textarea {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  min-height: 50px;
  padding: .85rem 1rem !important;
  border: 1px solid #c8d4ca !important;
  border-radius: 12px !important;
  outline: 0;
  background: #fff !important;
  color: #0f1f16 !important;
  font: inherit;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.weactx-contact-content textarea,
.weactx-contact-content .wpcf7-textarea,
.weactx-contact-content .wpforms-field textarea,
.weactx-contact-content .forminator-textarea {
  min-height: 145px;
  resize: vertical;
}
.weactx-contact-content input:focus,
.weactx-contact-content select:focus,
.weactx-contact-content textarea:focus {
  border-color: #16824a !important;
  box-shadow: 0 0 0 4px rgba(16,124,65,.10) !important;
}
.weactx-contact-content input[type="submit"],
.weactx-contact-content button[type="submit"],
.weactx-contact-content .wpcf7-submit,
.weactx-contact-content .wpforms-submit,
.weactx-contact-content .forminator-button-submit {
  min-height: 50px;
  padding: .85rem 1.35rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #006d37 !important;
  color: #fff !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(0,97,48,.6) !important;
  transition: transform .2s ease, background .2s ease;
}
.weactx-contact-content input[type="submit"]:hover,
.weactx-contact-content button[type="submit"]:hover,
.weactx-contact-content .wpcf7-submit:hover,
.weactx-contact-content .wpforms-submit:hover,
.weactx-contact-content .forminator-button-submit:hover {
  background: #005c2f !important;
  transform: translateY(-1px);
}
.weactx-contact-content .wpcf7-form p { margin-bottom: 1rem; }
.weactx-contact-content .wpforms-field,
.weactx-contact-content .forminator-row { margin-bottom: 1rem !important; }

.weactx-contact-partnership {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-radius: 28px;
  background: #183a28;
  color: #eefaf1;
}
.weactx-contact-partnership h2 { margin: .35rem 0 .45rem; color: #fff; font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -.03em; }
.weactx-contact-partnership p { max-width: 760px; margin: 0; color: #c7dccd; line-height: 1.65; }
.weactx-contact-partnership .weactx-contact-section-label { color: #96f7af; }
.weactx-contact-partnership > a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  padding: .85rem 1.15rem;
  border-radius: 13px;
  background: #96f7af;
  color: #07391e;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 800;
}
.weactx-contact-partnership > a .material-symbols-outlined { font-size: 18px; }

@media (max-width: 980px) {
  .weactx-contact-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .weactx-contact-hero-note { max-width: 520px; }
  .weactx-contact-quick { grid-template-columns: 1fr 1fr; }
  .weactx-contact-quick-card:last-child { grid-column: 1 / -1; }
  .weactx-contact-content > .wp-block-columns,
  .weactx-contact-content .wp-block-columns { grid-template-columns: 1fr !important; }
  .weactx-contact-content .wp-block-column:last-child { min-height: 380px; }
  .weactx-contact-content .wp-block-column:last-child img { min-height: 380px; }
}

@media (max-width: 680px) {
  .weactx-contact-shell { width: min(100% - 24px, 1280px); }
  .weactx-contact-main { padding-top: 1.8rem; }
  .weactx-contact-hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .weactx-contact-quick { grid-template-columns: 1fr; }
  .weactx-contact-quick-card:last-child { grid-column: auto; }
  .weactx-contact-panel { padding: 1rem; border-radius: 24px; }
  .weactx-contact-panel-head { display: block; padding: .25rem .25rem 1.15rem; }
  .weactx-contact-panel-head > p { margin-top: .7rem; text-align: left; }
  .weactx-contact-content { padding-top: 1rem; }
  .weactx-contact-content .wp-block-column:first-child { padding: 1rem; border-radius: 18px; }
  .weactx-contact-content .wp-block-column:last-child { min-height: 300px; border-radius: 18px; }
  .weactx-contact-content .wp-block-column:last-child img { min-height: 300px; }
  .weactx-contact-partnership { display: block; border-radius: 22px; }
  .weactx-contact-partnership > a { margin-top: 1.2rem; width: fit-content; }
}


/* -------------------------------------------------------------------------
   Partner logo wall — v1.8
   ------------------------------------------------------------------------- */
.weactx-partners-section { position: relative; }
.weactx-partners-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.weactx-partners-heading > div:first-child { max-width: 760px; }
.weactx-partners-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #006d37;
  font-size: .75rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.weactx-partners-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: #006d37;
}
.weactx-partners-heading h2 {
  margin: .65rem 0 .55rem;
  color: #0f1f16;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}
.weactx-partners-heading p {
  margin: 0;
  max-width: 720px;
  color: #526057;
  line-height: 1.7;
}
.weactx-partners-count {
  min-width: 154px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0,97,48,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 30px rgba(15,31,22,.06);
  text-align: center;
}
.weactx-partners-count strong {
  display: block;
  color: #006130;
  font-size: 1.75rem;
  line-height: 1;
}
.weactx-partners-count span {
  display: block;
  margin-top: .35rem;
  color: #6f7a6f;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.weactx-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.weactx-partner-card {
  position: relative;
  min-height: 190px;
  padding: 1rem;
  border: 1px solid rgba(63,73,64,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(15,31,22,.045);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.weactx-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,97,48,.24);
  box-shadow: 0 18px 38px rgba(15,31,22,.09);
}
.weactx-partner-logo-stage {
  position: relative;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(63,73,64,.08);
}
.weactx-partner-logo-stage > img {
  display: block;
  max-width: 88%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.weactx-partner-dual-logo {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: .8rem;
}
.weactx-partner-dual-logo img {
  width: 100%;
  max-height: 68px;
  object-fit: contain;
}
.weactx-partner-chip {
  position: absolute;
  top: .5rem;
  right: .5rem;
  padding: .3rem .48rem;
  border-radius: 999px;
  background: #e5f8e9;
  color: #006130;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.weactx-partner-monogram {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg,#006130,#107c41);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px rgba(0,97,48,.18);
}
.weactx-partner-copy { padding: .9rem .25rem .15rem; }
.weactx-partner-copy h3 {
  margin: 0;
  color: #0f1f16;
  font-size: .93rem;
  line-height: 1.25;
  font-weight: 800;
}
.weactx-partner-copy p {
  margin: .32rem 0 0;
  color: #778178;
  font-size: .75rem;
  line-height: 1.35;
}
.weactx-partners-note {
  margin: 1.1rem 0 0;
  color: #778178;
  font-size: .72rem;
  line-height: 1.45;
}
@media (max-width: 1050px) {
  .weactx-partners-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .weactx-partners-heading { align-items: flex-start; flex-direction: column; }
  .weactx-partners-count { display: none; }
  .weactx-partners-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .weactx-partner-card { min-height: 172px; }
  .weactx-partner-logo-stage { height: 92px; padding: .55rem .7rem; }
}
@media (max-width: 460px) {
  .weactx-partners-grid { grid-template-columns: 1fr; }
  .weactx-partner-card { min-height: 0; }
}
