/*
Theme Name: Pittsburgh Recovery Walk
Theme URI: https://pghrecoverywalk.org
Author: Pittsburgh Recovery Walk
Author URI: https://pghrecoverywalk.org
Description: Official theme for the Pittsburgh Recovery Walk website. Features the "Many Roads" hero design, scrolling featured guests, news section, and walk-day livestream mode.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prw
Tags: nonprofit, custom-colors, custom-menu, featured-images, full-width-template, sticky-post, theme-options
*/

/* ─────────────────────────────────────────
   Brand Variables
───────────────────────────────────────── */
:root {
  --prw-primary: #702f8a;
  --prw-dark:    #3b0850;
  --prw-mid:     #713d82;
  --prw-light:   #b78fc1;
  --prw-pale:    #d9c8dd;
  --prw-accent:  #a74331;
  --border:      #e2dfe0;
  --text:        #1a1a1a;
  --text-2:      #5f5e5a;
  --text-3:      #888780;
  --bg-subtle:   #f5f2f6;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --prw-max-width: 1140px; /* overridden by Walk Settings → Site Layout via wp_head */
}

/* ─────────────────────────────────────────
   Reset & Base
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--prw-primary); }

/* ─────────────────────────────────────────
   WordPress Core Alignment Classes
───────────────────────────────────────── */
.alignleft   { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright  { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }
.alignwide   { margin-left: -2rem; margin-right: -2rem; }
.alignfull   { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; }

/* Screen reader text */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

/* ─────────────────────────────────────────
   Top Utility Bar
───────────────────────────────────────── */
.top-bar {
  background: var(--prw-dark);
  padding: 7px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-social { display: flex; gap: 16px; align-items: center; }
.top-bar-social a { font-size: 12px; color: var(--prw-pale); text-decoration: none; opacity: 0.8; display: inline-flex; align-items: center; gap: 4px; }
.top-bar-social a:hover { opacity: 1; }
.top-bar-social .social-icon { display: none; line-height: 0; }
.top-bar-social .social-text { display: inline; }
.top-bar-donate {
  background: var(--prw-pale);
  color: var(--prw-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.top-bar-donate:hover { background: #fff; }

/* ─────────────────────────────────────────
   Navigation
───────────────────────────────────────── */
/* Sticky wrapper — ribbon + nav stick together so no gap can appear between them */
#site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 200;
}
.admin-bar #site-header-sticky { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header-sticky { top: 46px; }
}

#site-navigation {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative; /* keeps mobile dropdown positioned relative to the nav */
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 max(40px, calc((100% - var(--prw-max-width)) / 2));
  height: 80px;
}

/* Logo */
.site-branding { display: flex; align-items: center; }
.site-branding a { text-decoration: none; display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.logo-top { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--prw-primary); text-transform: uppercase; }
.logo-main { font-size: 28px; font-weight: 900; color: var(--prw-primary); letter-spacing: -0.01em; line-height: 1; }
.logo-main .rib { color: var(--prw-light); }
.logo-sub { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; color: var(--prw-mid); text-transform: uppercase; margin-top: 2px; }

/* Custom logo image override */
.site-branding .custom-logo-link img { height: 60px; width: auto; }
.site-branding .custom-logo-link { display: block; }

/* Center column: wraps the nav menu + mobile toggle */
.nav-menu-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Right column: register button slot (always present for grid stability) */
.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 110px; /* matches approximate register button width to keep links centered */
}

/* Primary menu */
#primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
#primary-menu > li { position: relative; }
#primary-menu > li > a {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
#primary-menu > li > a:hover,
#primary-menu > li:hover > a { color: var(--prw-primary); background: var(--bg-subtle); }

/* Toggle buttons are desktop-hidden — only used in the mobile toggled menu */
.sub-menu-toggle { display: none; }

/* ── Active / current page states ───────────────────────── */

/* Top-level: exact current page */
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a {
  color: var(--prw-primary);
  background: var(--bg-subtle);
  position: relative;
}
#primary-menu > li.current-menu-item > a::before,
#primary-menu > li.current_page_item > a::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 8px; right: 8px;
  height: 2px;
  background: var(--prw-primary);
  border-radius: 2px;
}

/* Top-level: ancestor / parent of current page (you're inside this section) */
#primary-menu > li.current-menu-ancestor > a,
#primary-menu > li.current-menu-parent > a,
#primary-menu > li.current_page_ancestor > a {
  color: var(--prw-primary);
  background: var(--bg-subtle);
  position: relative;
}
#primary-menu > li.current-menu-ancestor > a::before,
#primary-menu > li.current-menu-parent > a::before,
#primary-menu > li.current_page_ancestor > a::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 8px; right: 8px;
  height: 2px;
  background: var(--prw-light);
  border-radius: 2px;
}

/* Sub-menu: exact current item */
#primary-menu .sub-menu li.current-menu-item > a,
#primary-menu .sub-menu li.current_page_item > a {
  color: var(--prw-primary);
  background: var(--bg-subtle);
  font-weight: 600;
}

/* Sub-menu: ancestor of current item */
#primary-menu .sub-menu li.current-menu-ancestor > a,
#primary-menu .sub-menu li.current-menu-parent > a,
#primary-menu .sub-menu li.current_page_ancestor > a {
  color: var(--prw-primary);
}

/* Dropdown indicator */
#primary-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 4px;
  border: 3px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  position: relative; top: 1px;
}

/* Dropdowns */
#primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 28px rgba(59,8,80,0.12);
  min-width: 210px;
  padding: 8px 0;
  z-index: 300;
  list-style: none;
}
#primary-menu li.is-open > .sub-menu { display: block; }
#primary-menu .sub-menu a {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  padding: 7px 18px;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
#primary-menu .sub-menu a:hover { background: var(--bg-subtle); color: var(--prw-primary); }

/* Arrow on sub-menu items that have a nested flyout */
#primary-menu .sub-menu li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
#primary-menu .sub-menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 0; height: 0;
  border: 4px solid transparent;
  border-left-color: currentColor;
  margin-left: auto;
}

/* Second level sub-menus — fly out to the right */
#primary-menu .sub-menu .sub-menu {
  top: -1px;
  left: 100%;
}

/* Register button */
.nav-register {
  background: var(--prw-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: 8px;
}
.nav-register:hover { background: var(--prw-dark) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

/* ─────────────────────────────────────────
   Announcement Ribbon
───────────────────────────────────────── */
.ribbon {
  background: var(--prw-mid);
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ribbon span { font-size: 13px; color: #fff; font-weight: 500; }
.ribbon a { font-size: 13px; color: var(--prw-pale); font-weight: 600; text-decoration: underline; }

/* ─────────────────────────────────────────
   Hero — "Many Roads" SVG Design
───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  background: var(--prw-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px 36px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--prw-pale);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-big {
  font-size: clamp(32px, 9vw, 100px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}
/* The .rib span is a container for the ribbon PNG replacing the "O" */
.hero-big .rib {
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
  position: relative;
  top: -0.04em;
}
.rib-o {
  display: inline-block;
  /* Height matches the cap-height of the font: ~0.74em of the total font-size */
  height: 0.82em;
  width: auto;
  mix-blend-mode: screen; /* removes white background on dark hero gradient */
}
.hero-tagline {
  font-size: 15px;
  color: var(--prw-pale);
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}
.hero-details {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.85;
}
.hero-details span { opacity: 0.4; margin: 0 8px; }
.hero-btn {
  display: inline-block;
  background: #fff;
  color: var(--prw-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-btn:hover { background: var(--prw-pale); }

/* Sponsors bar */
.sponsors-bar {
  position: relative;
  z-index: 3;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.sponsors-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--prw-mid);
  white-space: nowrap;
}
.sponsors-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.sponsors-logos img { height: 36px; width: auto; }
.sp-div { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

/* ─────────────────────────────────────────
   Walk-Day Livestream Section
───────────────────────────────────────── */
.walkday-section {
  display: none;
  background: var(--prw-dark);
  padding: 40px 80px;
}
.walkday-section.active { display: block; }
.walkday-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.walkday-section .walkday-sub {
  font-size: 14px;
  color: var(--prw-light);
  text-align: center;
  margin-bottom: 20px;
}
.walkday-section .video-wrap { max-width: 900px; margin: 0 auto; }
.walkday-section iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
  border-radius: var(--r-md);
}

/* ─────────────────────────────────────────
   Stats Bar
───────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.stat-cell { padding: 24px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: none; }
.stat-number { font-size: 28px; font-weight: 800; color: var(--prw-primary); }
.stat-label  { font-size: 12px; color: var(--text-3); margin-top: 3px; }

/* ─────────────────────────────────────────
   Page Sections
───────────────────────────────────────── */
.prw-section {
  padding: 48px max(40px, calc((100% - var(--prw-max-width)) / 2));
  background: #fff;
}
.prw-section.no-pad-x { padding-left: 0; padding-right: 0; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-header.padded { padding-left: max(40px, calc((100% - var(--prw-max-width)) / 2)); padding-right: max(40px, calc((100% - var(--prw-max-width)) / 2)); }
.section-title { font-size: 22px; font-weight: 800; color: var(--text); }
.section-link { font-size: 13px; color: var(--prw-primary); text-decoration: none; font-weight: 600; }
.section-link:hover { text-decoration: underline; }
.prw-divider { height: 1px; background: var(--border); }

/* ─────────────────────────────────────────
   Photo Strip
───────────────────────────────────────── */
.photo-strip {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: none;
  padding: 0 40px 32px;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip-item {
  flex: 0 0 auto;
  height: 220px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-width: 200px;
}
.photo-strip-item img { height: 100%; width: auto; object-fit: cover; min-width: 100%; transition: transform 0.3s; }
.photo-strip-item:hover img { transform: scale(1.04); }
.photo-strip-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(59,8,80,0.85), transparent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 20px 12px 10px;
}

/* ─────────────────────────────────────────
   Featured Guests Scroll
───────────────────────────────────────── */
.guests-scroll-outer { position: relative; }
.guests-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.guests-scroll::-webkit-scrollbar { display: none; }
.guest-card {
  flex: 0 0 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  scroll-snap-align: start;
  display: block;
}
.guest-card:hover {
  border-color: var(--prw-light);
  box-shadow: 0 4px 16px rgba(112,47,138,0.12);
}
.guest-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-subtle);
  overflow: hidden;
}
.guest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.guest-info { padding: 10px 12px 12px; }
.guest-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 3px; }
.guest-role { font-size: 11px; color: var(--prw-mid); font-weight: 500; }

/* Scroll arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.15s;
  font-size: 18px;
  color: var(--prw-primary);
  font-weight: 700;
  line-height: 1;
  padding: 0;
}
.scroll-arrow:hover { background: var(--bg-subtle); }
.scroll-arrow.prev { left: -18px; }
.scroll-arrow.next { right: -18px; }

/* Guest grid mode (≤4 guests) — matches award card layout */
.guests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 4px;
}
.guests-grid--1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.guests-grid--2 { grid-template-columns: repeat(2, 1fr); }
.guests-grid--3 { grid-template-columns: repeat(3, 1fr); }
.guests-grid--4 { grid-template-columns: repeat(4, 1fr); }
/* Grid card: matches award-card structure */
.guest-card--grid {
  flex: none;
  display: flex;
  flex-direction: column;
}
.guest-card--grid .guest-photo { aspect-ratio: 4/3; }
.guest-card--grid .guest-info  { padding: 14px 16px 18px; flex: 1; }
.guest-card--grid .guest-name  { font-size: 15px; }
.guest-card--grid .guest-role  { font-size: 12px; margin-top: 3px; }
.guest-photo-empty {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────────
   Get Involved Cards
───────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.involve-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.involve-card:hover {
  border-color: var(--prw-light);
  box-shadow: 0 2px 12px rgba(112,47,138,0.08);
}
.card-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--prw-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--prw-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.card-desc  { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ─────────────────────────────────────────
   News Grid
───────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.news-card:hover {
  border-color: var(--prw-light);
  box-shadow: 0 4px 16px rgba(112,47,138,0.1);
}
.news-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-subtle);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-date  { font-size: 11px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.news-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 8px; flex: 1; }
.news-read  { font-size: 12px; color: var(--prw-primary); font-weight: 600; }
.news-cat   { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--prw-primary); margin-bottom: 4px; }
.news-controls { margin-bottom: 8px; }
.news-no-results { text-align: center; color: var(--text-3); padding: 40px 0; }

/* ─────────────────────────────────────────
   Community Quotes Carousel
───────────────────────────────────────── */
.quotes-track { overflow: hidden; }
.quotes-inner { display: flex; transition: transform 0.4s ease; }
.quote-slide  { flex: 0 0 100%; }
.quote-block {
  border-left: 3px solid var(--prw-primary);
  padding: 20px 26px;
  background: #fff;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.quote-text   { font-size: 16px; color: var(--text); line-height: 1.8; font-style: italic; }
.quote-author { font-size: 12px; color: var(--text-3); margin-top: 12px; font-weight: 500; }
.quote-dots   { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.quote-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--prw-pale);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s;
}
.quote-dot.active { background: var(--prw-primary); }

/* ─────────────────────────────────────────
   Resources Grid
───────────────────────────────────────── */
.resources-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.res-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: inherit;
  transition: border-color 0.15s;
}
.res-card:hover { border-color: var(--prw-light); }
.res-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--prw-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.res-icon svg { width: 18px; height: 18px; stroke: var(--prw-primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.res-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.res-desc  { font-size: 12px; color: var(--text-2); line-height: 1.5; }

/* ─────────────────────────────────────────
   Pittsburgh Recovery Awards Grid
───────────────────────────────────────── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.award-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.award-card:hover {
  border-color: var(--prw-light);
  box-shadow: 0 4px 16px rgba(112,47,138,0.1);
}
.award-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-subtle);
}
.award-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.3s; }
.award-card:hover .award-photo img { transform: scale(1.04); }
.award-body { padding: 16px 18px 20px; flex: 1; }
.award-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--prw-pale);
  color: var(--prw-dark);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.award-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.award-org  { font-size: 12px; color: var(--text-3); margin-bottom: 10px; }
.award-quote { font-size: 13px; color: var(--text-2); font-style: italic; line-height: 1.6; }

/* Awards scroll mode (> 3 items) */
.awards-scroll-outer { position: relative; }
.awards-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.awards-scroll::-webkit-scrollbar { display: none; }
.awards-scroll .award-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* ─────────────────────────────────────────
   CTA Band
───────────────────────────────────────── */
/* ─────────────────────────────────────────
   Promo Video Section
   ───────────────────────────────────────── */
.promo-video-section {
  padding: 56px max(40px, calc((100% - var(--prw-max-width)) / 2));
}
.promo-video-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.promo-video-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--prw-dark);
  margin-bottom: 1.25rem;
}
.promo-video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(59,8,80,.18);
}
.promo-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.promo-video-description {
  margin-top: 1.25rem;
  color: var(--prw-mid);
  font-size: .95rem;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .promo-video-heading { font-size: 1.35rem; }
}

.cta-band {
  background-color: var(--prw-primary);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 56px max(80px, calc((100% - var(--prw-max-width)) / 2));
  text-align: center;
}
.cta-band h3 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-band p  { font-size: 15px; color: var(--prw-pale); margin-bottom: 28px; line-height: 1.6; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-band--light-overlay h3 { color: var(--prw-dark); }
.cta-band--light-overlay p  { color: var(--prw-mid); }
.cta-btns    { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-white        { background: #fff; color: var(--prw-dark); font-size: 14px; font-weight: 700; padding: 13px 30px; border-radius: var(--r-sm); text-decoration: none; display: inline-block; }
.btn-white:hover  { background: var(--prw-pale); }
.btn-outline      { background: transparent; color: #fff; font-size: 14px; font-weight: 500; padding: 12px 30px; border-radius: var(--r-sm); border: 1px solid rgba(183,143,193,0.45); text-decoration: none; display: inline-block; }
.btn-outline:hover{ background: rgba(255,255,255,0.1); }
.btn-purple       { background: var(--prw-primary); color: #fff; font-size: 14px; font-weight: 700; padding: 13px 30px; border-radius: var(--r-sm); text-decoration: none; display: inline-block; }
.btn-purple:hover { background: #5a2470; }
.btn-light        { background: var(--prw-pale); color: var(--prw-dark); font-size: 14px; font-weight: 700; padding: 13px 30px; border-radius: var(--r-sm); text-decoration: none; display: inline-block; }
.btn-light:hover  { background: var(--prw-light); color: #fff; }
.btn-dark         { background: var(--prw-dark); color: #fff; font-size: 14px; font-weight: 700; padding: 13px 30px; border-radius: var(--r-sm); text-decoration: none; display: inline-block; }
.btn-dark:hover   { background: #2a0638; }

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
#colophon { background: var(--prw-dark); padding: 48px max(80px, calc((100% - var(--prw-max-width)) / 2)) 28px; }
.footer-widgets {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand-tagline { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.65; max-width: 240px; margin-top: 10px; }
.footer-col-title { font-size: 10px; font-weight: 700; color: var(--prw-pale); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; display: block; }
.footer-widget a { display: block; font-size: 13px; color: rgba(255,255,255,0.8); text-decoration: none; margin-bottom: 9px; }
.footer-widget a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(183,143,193,0.18);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: 12px; color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-social a:hover { color: #fff; }

/* WordPress widget titles in footer */
.footer-widget .widget-title { font-size: 10px; font-weight: 700; color: var(--prw-pale); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li a { display: block; font-size: 13px; color: rgba(255,255,255,0.8); text-decoration: none; margin-bottom: 9px; }
.footer-widget ul li a:hover { color: #fff; }

/* ─────────────────────────────────────────
   Inner Pages (Posts, Pages)
───────────────────────────────────────── */
.site-main { max-width: var(--prw-max-width); margin: 0 auto; padding: 48px 40px; }
/* Remove padding + width constraint for templates that open with a full-width hero band */
.site-main--flush { padding-top: 0; max-width: 100%; }
.entry-title { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.entry-meta   { font-size: 13px; color: var(--text-3); margin-bottom: 28px; }
.entry-content { font-size: 16px; line-height: 1.75; color: var(--text); }
.entry-content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 12px; }
.entry-content h3 { font-size: 20px; font-weight: 700; margin: 24px 0 10px; }
.entry-content p  { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px 24px; }
.entry-content li { margin-bottom: 6px; }
.entry-content a  { color: var(--prw-primary); }
.entry-content img { border-radius: var(--r-md); margin: 24px 0; }

/* ─────────────────────────────────────────
   Image Modal / Lightbox
───────────────────────────────────────── */
#prw-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  align-items: center;
  justify-content: center;
}
#prw-modal.active { display: flex; }

.prw-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  cursor: pointer;
}
.prw-modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 440px;
  width: calc(100% - 40px);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  animation: prwModalIn 0.18s ease;
}
@keyframes prwModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.prw-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  font-size: 18px; line-height: 1;
  cursor: pointer;
  color: #fff;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background 0.15s;
}
.prw-modal-close:hover { background: rgba(0,0,0,0.7); }

.prw-modal-img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
}
.prw-modal-info {
  padding: 16px 20px 16px;
}
.prw-modal-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.prw-modal-role {
  font-size: 13px;
  color: var(--prw-mid);
}
.prw-modal-link {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--prw-primary);
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
}
.prw-modal-link:hover { background: var(--bg-subtle); }

/* Cursor affordance for anything clickable as a modal trigger */
.prw-modal-trigger { cursor: zoom-in; }

/* ─────────────────────────────────────────
   Archive Pages (Speakers & Awards)
───────────────────────────────────────── */
.archive-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

/* Filter bar */
.prw-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  align-items: center;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
}
.filter-group-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-right: 2px;
}
.prw-filter-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.4;
}
.prw-filter-btn:hover {
  border-color: var(--prw-light);
  color: var(--prw-primary);
}
.prw-filter-btn.active {
  background: var(--prw-primary);
  border-color: var(--prw-primary);
  color: #fff;
}

/* Speaker archive grid */
.archive-grid--speakers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
/* Override scroll-card sizing so guest-cards fill the grid naturally */
.archive-grid--speakers .guest-card {
  flex: none;
  width: 100%;
}

/* Awards archive grid */
.archive-grid--awards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* Year pill badges inside speaker cards on archive page */
.guest-years {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.year-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-subtle);
  color: var(--prw-mid);
  border-radius: 100px;
  padding: 2px 8px;
}

/* Empty / no-results states */
.archive-empty,
.archive-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-3);
  font-size: 15px;
}

/* Award photo placeholder */
.award-photo--empty {
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .archive-wrap { padding: 28px 20px 56px; }
  .archive-grid--speakers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .archive-grid--awards   { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   Inner Page Header Band
   Full-width PRW-branded title section used on all non-homepage templates.
───────────────────────────────────────── */
.inner-page-header {
  background: linear-gradient(120deg, var(--prw-dark) 0%, var(--prw-primary) 100%);
  padding: 40px 40px 36px;
  position: relative;
  overflow: hidden;
}
/* SVG art option — same art as the homepage hero */
.inner-page-header-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Subtle diagonal stripe texture echoing the homepage "ribs" */
.inner-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.03) 40px,
    rgba(255, 255, 255, 0.03) 80px
  );
  pointer-events: none;
}
.inner-page-header-inner {
  max-width: var(--prw-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.inner-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.15s;
}
.inner-page-back:hover { color: #fff; }
.inner-page-title {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.inner-page-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   Speaker Bio Page
───────────────────────────────────────── */
/* Two-column grid: photo | details */
.speaker-bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 52px;
  align-items: start;
}
.speaker-bio-grid--no-img {
  grid-template-columns: 1fr;
}

/* Photo column */
.speaker-bio-photo {
  position: sticky;
  top: calc(80px + 16px);
}
.speaker-bio-img {
  width: 100%;
  border-radius: var(--r-lg);
  display: block;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 8px 32px rgba(59, 8, 80, 0.14);
}

.speaker-bio-body {
  font-size: 16px;
  line-height: 1.8;
}

/* ── Award Winner page specifics ── */
.winner-meta-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--prw-pale);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.winner-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--prw-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}
.winner-award-badge svg { flex-shrink: 0; }
.winner-org {
  font-size: 15px;
  font-weight: 600;
  color: var(--prw-mid);
}
.winner-year {
  font-size: 13px;
  color: var(--text-3);
}
.winner-quote {
  border-left: 4px solid var(--prw-primary);
  margin: 0 0 28px;
  padding: 14px 20px;
  background: var(--bg-subtle);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 16px;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 720px) {
  .speaker-bio-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .speaker-bio-photo {
    position: static;
    max-width: 240px; /* keep image contained on mobile */
  }
}

/* ─────────────────────────────────────────
   Page Templates — Shared
───────────────────────────────────────── */

/* Content wrapper — default (narrow, readable) */
.page-content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px 40px 80px;
}
/* Wide variant for full-width and sidebar templates */
.page-content-wrap--wide {
  max-width: var(--prw-max-width);
}

/* Page title */
.page-entry-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 3px solid var(--prw-pale);
}
.page-entry-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--prw-dark);
  line-height: 1.15;
}

/* Content typography */
.entry-content {
  line-height: 1.8;
  color: var(--text);
}
.entry-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--prw-dark);
  margin: 2em 0 0.6em;
}
.entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--prw-dark);
  margin: 1.8em 0 0.5em;
}
.entry-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.6em 0 0.4em;
}
.entry-content p { margin-bottom: 1.3em; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.3em 1.6em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a { color: var(--prw-primary); text-decoration: underline; }
.entry-content a:hover { color: var(--prw-dark); }
.entry-content img { border-radius: var(--r-md); margin: 1.5em 0; }
.entry-content blockquote {
  border-left: 4px solid var(--prw-primary);
  margin: 1.5em 0;
  padding: 14px 20px;
  background: var(--bg-subtle);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--text-2);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}
.entry-content th,
.entry-content td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.entry-content th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--prw-dark);
}
.entry-content tbody tr:nth-child(even) { background: var(--bg-subtle); }
.entry-content tbody tr:hover           { background: var(--prw-pale); }
.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* ─────────────────────────────────────────
   Block editor — brand color palette
   Front-end CSS for .has-{slug}-color and
   .has-{slug}-background-color classes that
   WordPress generates from editor-color-palette.
───────────────────────────────────────── */
.has-prw-primary-color  { color: #702f8a !important; }
.has-prw-dark-color     { color: #3b0850 !important; }
.has-prw-mid-color      { color: #713d82 !important; }
.has-prw-light-color    { color: #b78fc1 !important; }
.has-prw-pale-color     { color: #d9c8dd !important; }
.has-prw-accent-color   { color: #a74331 !important; }
.has-prw-white-color    { color: #ffffff !important; }
.has-prw-offwhite-color { color: #f5f2f6 !important; }
.has-prw-black-color    { color: #1a1a1a !important; }

.has-prw-primary-background-color  { background-color: #702f8a !important; }
.has-prw-dark-background-color     { background-color: #3b0850 !important; }
.has-prw-mid-background-color      { background-color: #713d82 !important; }
.has-prw-light-background-color    { background-color: #b78fc1 !important; }
.has-prw-pale-background-color     { background-color: #d9c8dd !important; }
.has-prw-accent-background-color   { background-color: #a74331 !important; }
.has-prw-white-background-color    { background-color: #ffffff !important; }
.has-prw-offwhite-background-color { background-color: #f5f2f6 !important; }
.has-prw-black-background-color    { background-color: #1a1a1a !important; }

/* Button block: ensure text is readable on dark backgrounds */
.wp-block-button__link.has-prw-primary-background-color,
.wp-block-button__link.has-prw-dark-background-color,
.wp-block-button__link.has-prw-mid-background-color,
.wp-block-button__link.has-prw-accent-background-color  { color: #ffffff !important; }

.wp-block-button__link.has-prw-light-background-color,
.wp-block-button__link.has-prw-pale-background-color,
.wp-block-button__link.has-prw-offwhite-background-color,
.wp-block-button__link.has-prw-white-background-color   { color: #3b0850 !important; }

/* ─────────────────────────────────────────
   People — tight photo grid + modal
───────────────────────────────────────── */
.people-group { margin-bottom: 3rem; }
.people-group__heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--prw-dark);
  margin: 0 0 1.5rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--prw-pale);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Card — button reset + tight layout */
.person-card {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  border-radius: var(--r-md);
  transition: transform 0.18s, box-shadow 0.18s;
}
.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(112,47,138,0.13);
}
.person-card:hover .person-photo img { opacity: 0.92; }

.person-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 10px;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.18s;
}
.person-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.person-card__info { padding: 0 4px; }
.person-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--prw-dark);
  line-height: 1.3;
  margin-bottom: 3px;
}
.person-title {
  font-size: 12px;
  color: var(--prw-mid);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 1024px) { .people-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .people-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── People Modal ── */
.people-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.people-modal[hidden] { display: none; }

.people-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(59,8,80,0.65);
  backdrop-filter: blur(3px);
}
.people-modal__box {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px rgba(59,8,80,0.25);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}
.people-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--prw-dark);
  z-index: 2;
  transition: background 0.15s;
}
.people-modal__close:hover { background: var(--prw-pale); }

.people-modal__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
}
.people-modal__photo-col { background: var(--bg-subtle); border-radius: var(--r-lg) 0 0 var(--r-lg); overflow: hidden; }
.people-modal__photo { width: 100%; height: 100%; min-height: 240px; }
.people-modal__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.people-modal__content { padding: 32px 28px; }
.people-modal__name  { font-size: 22px; font-weight: 800; color: var(--prw-dark); margin: 0 0 6px; line-height: 1.2; }
.people-modal__title { font-size: 14px; color: var(--prw-primary); font-weight: 600; margin: 0 0 20px; line-height: 1.5; }
.people-modal__bio   { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.people-modal__bio p { margin-bottom: 1em; }
.people-modal__bio p:last-child { margin-bottom: 0; }

body.people-modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .people-modal__inner { grid-template-columns: 1fr; }
  .people-modal__photo-col { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .people-modal__photo { min-height: 220px; max-height: 260px; }
  .people-modal__content { padding: 20px; }
  .people-modal__name { font-size: 18px; }
}

/* ─────────────────────────────────────────
   Resource Fair Participants
───────────────────────────────────────── */
.rf-participants {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  columns: 3;
  column-gap: 2rem;
}
.rf-participant {
  break-inside: avoid;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.rf-participant a {
  color: var(--prw-primary);
  text-decoration: none;
  font-weight: 500;
}
.rf-participant a:hover { text-decoration: underline; }

.rf-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--text-2);
  font-style: italic;
}

@media (max-width: 860px) {
  .rf-participants { columns: 2; }
}
@media (max-width: 600px) {
  .rf-participants { columns: 1; }
}

/* ─────────────────────────────────────────
   FAQs — Search + Accordion
───────────────────────────────────────── */
.faq-search-wrap {
  position: relative;
  margin-bottom: 2.5rem;
}
.faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--prw-light);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.faq-search {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 16px;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.faq-search:focus {
  outline: none;
  border-color: var(--prw-primary);
  box-shadow: 0 0 0 3px rgba(112,47,138,0.12);
}

.faq-list { border-top: 1px solid var(--border); }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--prw-dark);
  transition: color 0.15s;
}
.faq-question:hover { color: var(--prw-primary); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--prw-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--prw-primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 12px; }

.faq-item--open .faq-question { color: var(--prw-primary); }
.faq-item--open .faq-icon { background: var(--prw-pale); border-color: var(--prw-light); }
.faq-item--open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer { overflow: hidden; }
.faq-answer[hidden] { display: none; }

.faq-answer-inner {
  padding: 4px 4px 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.75;
}
.faq-answer-inner p:last-child { margin-bottom: 0; }

.faq-no-results {
  text-align: center;
  padding: 48px 0;
  color: var(--text-2);
  font-style: italic;
}

/* ─────────────────────────────────────────
   Template: With Sidebar
───────────────────────────────────────── */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
.page-sidebar-col {
  position: sticky;
  top: calc(80px + 16px); /* nav height + breathing room */
}
.page-sidebar-col .widget {
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 20px;
}
.page-sidebar-col .widget-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--prw-mid);
  margin-bottom: 12px;
}
.page-sidebar-col .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-sidebar-col .widget ul li {
  border-bottom: 1px solid var(--border);
}
.page-sidebar-col .widget ul li:last-child { border-bottom: none; }
.page-sidebar-col .widget ul li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--prw-primary);
  text-decoration: none;
}
.page-sidebar-col .widget ul li a:hover { color: var(--prw-dark); }
.sidebar-placeholder {
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
}

/* ─────────────────────────────────────────
   Template: Hero Banner
───────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 340px;
  background-color: var(--prw-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(59, 8, 80, 0.3) 0%,
    rgba(59, 8, 80, 0.72) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 40px 44px;
  max-width: var(--prw-max-width);
  width: 100%;
  margin: 0 auto;
}
.page-hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
/* No duplicate title when hero template already shows it in the banner */
.page-entry--no-title .page-entry-header { display: none; }

/* ─────────────────────────────────────────
   Template: Landing Page
───────────────────────────────────────── */
/* No outer padding — the editor controls every section */
.site-main--landing { }
.page-entry--landing .entry-content { line-height: 1; }
.page-entry--landing .entry-content > * { line-height: 1.8; }

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .prw-section, .cta-band, #colophon { padding-left: 32px; padding-right: 32px; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  #primary-menu, .nav-register { display: none; }
  .menu-toggle { display: block; }
  .nav-menu-wrap { justify-content: flex-end; } /* toggle button right-aligned on mobile */
  .nav-end { display: none; } /* hide register slot on mobile (button is inside mobile menu) */
  #primary-menu.toggled {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 80px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 0; gap: 0;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  /* Top-level items: row with link + optional toggle button */
  #primary-menu.toggled > li { display: flex; flex-wrap: wrap; align-items: stretch; }
  #primary-menu.toggled > li > a { flex: 1; padding: 15px 20px; font-size: 13px; text-align: left; }
  /* Sub-menu items: same row layout */
  #primary-menu.toggled .sub-menu li { display: flex; flex-wrap: wrap; align-items: stretch; }
  #primary-menu.toggled .sub-menu a { flex: 1; }
  /* Sub-menus: collapsed by default on mobile */
  #primary-menu.toggled .sub-menu {
    display: none;
    width: 100%;
    position: static; box-shadow: none; border: none;
    padding: 0 0 4px 0;
    border-left: 3px solid var(--prw-pale);
    margin-left: 20px;
    border-radius: 0;
  }
  #primary-menu.toggled .sub-menu.open { display: block; }
  /* Deeper nesting */
  #primary-menu.toggled .sub-menu .sub-menu { margin-left: 12px; border-left-color: var(--prw-light); }
  /* Sub-menu link sizing */
  #primary-menu.toggled .sub-menu a { font-size: 13px; padding: 12px 16px; font-weight: 400; text-transform: none; letter-spacing: 0; }
  /* Expand/collapse toggle button injected by JS */
  .sub-menu-toggle {
    display: flex;
    flex-shrink: 0;
    width: 44px;
    background: none; border: none; cursor: pointer;
    align-items: center; justify-content: center;
    color: var(--prw-mid); font-size: 18px; line-height: 1;
    border-left: 1px solid var(--border);
  }
  .sub-menu-toggle:hover { background: var(--bg-subtle); color: var(--prw-primary); }
  /* Active states on mobile */
  #primary-menu.toggled li.current-menu-item > a,
  #primary-menu.toggled li.current_page_item > a {
    color: var(--prw-primary);
    font-weight: 700;
    border-left: 3px solid var(--prw-primary);
    padding-left: 17px;
  }
  #primary-menu.toggled li.current-menu-ancestor > a,
  #primary-menu.toggled li.current-menu-parent > a,
  #primary-menu.toggled li.current_page_ancestor > a {
    color: var(--prw-primary);
    font-weight: 600;
  }
  .sub-menu-toggle[aria-expanded="true"] { color: var(--prw-primary); }
  .sub-menu-toggle[aria-expanded="true"] .toggle-icon::before { content: '−'; }
  .sub-menu-toggle[aria-expanded="false"] .toggle-icon::before { content: '+'; }
  /* Hide the desktop dropdown arrow — the + toggle button serves this role on mobile */
  #primary-menu.toggled > li.menu-item-has-children > a::after { display: none; }
  /* Suppress desktop hover highlight on touch devices */
  #primary-menu.toggled > li > a:hover { background: none; color: inherit; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  /* Sidebar template: stack on tablet */
  .page-with-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-sidebar-col { position: static; }
}
@media (max-width: 600px) {
  .top-bar { padding: 6px 16px; }
  .top-bar-social .social-icon { display: inline-flex; }
  .top-bar-social .social-text { display: none; }
  .top-bar-donate { display: none; }
  .cards-3, .cards-2, .stats-bar, .news-grid, .resources-grid, .awards-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
  .hero-big { font-size: clamp(32px, 11vw, 48px); }
  .footer-widgets { grid-template-columns: 1fr; }
  .prw-section, .cta-band, #colophon { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding: 0 20px; }
  .sponsors-bar { padding: 14px 20px; gap: 16px; }
  .ribbon { padding: 8px 20px; }
  .photo-strip { padding: 0 20px 20px; }
  .section-header.padded { padding-left: 20px; padding-right: 20px; }
  /* Inner page header responsive */
  .inner-page-header { padding: 28px 20px 24px; }
  /* Page template responsive */
  .page-content-wrap { padding: 32px 20px 56px; }
  .page-hero { min-height: 220px; }
  .page-hero-content { padding: 32px 20px 28px; }
}

/* ─────────────────────────────────────────
   Countdown Timer Widget (front-end)
───────────────────────────────────────── */
#prw-countdown-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: linear-gradient(135deg, #3b0850 0%, #6a1a8a 100%);
  color: #fff;
  border-radius: 14px;
  padding: 20px 24px 18px;
  box-shadow: 0 8px 32px rgba(59, 8, 80, 0.45), 0 2px 8px rgba(0,0,0,0.25);
  min-width: 0;
  cursor: grab;
  user-select: none;
  touch-action: none;
  font-family: inherit;
  text-align: center;
}
#prw-countdown-container:active { cursor: grabbing; }
#prw-countdown-container .prw-cd-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}
#prw-countdown-container .prw-cd-sections {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.prw-time-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}
.prw-time-section .prw-cd-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.prw-time-section .prw-cd-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 3px;
}
#prw-countdown-container .prw-cd-sep {
  font-size: 30px;
  font-weight: 300;
  opacity: 0.5;
  align-self: flex-start;
  padding-top: 2px;
}
#prwCountdownClose {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, border-color 0.15s;
}
#prwCountdownClose:hover {
  background: rgba(255,255,255,0.32);
  border-color: rgba(255,255,255,0.5);
}
#prw-countdown-container.prw-cd-done .prw-cd-sections { display: none; }
#prw-countdown-container.prw-cd-done::after {
  content: "Walk Day is here!";
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 0 4px;
}
@media (max-width: 600px) {
  #prw-countdown-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    min-width: 0;
  }
}

/* ─────────────────────────────────────────
   Inner Page Hero — height variants
───────────────────────────────────────── */
.inner-page-header--compact {
  padding: 20px 40px 18px;
}
.inner-page-header--compact .inner-page-title {
  font-size: clamp(20px, 3vw, 32px);
}
.inner-page-header--tall {
  padding: 64px 40px 60px;
}
.inner-page-header--tall .inner-page-title {
  font-size: clamp(30px, 5vw, 56px);
}

/* ─────────────────────────────────────────
   Homepage section background overrides
   Applied via .prw-section-slot--{value} wrapper in front-page.php
───────────────────────────────────────── */
/* White */
.prw-section-slot--white .prw-section { background: #fff !important; }

/* Light Purple */
.prw-section-slot--light .prw-section { background: var(--bg-subtle) !important; }

/* Dark Purple */
.prw-section-slot--dark .prw-section  { background: var(--prw-dark) !important; color: #fff !important; }
.prw-section-slot--dark .section-title,
.prw-section-slot--dark .section-link,
.prw-section-slot--dark .photo-strip-caption { color: #fff; }

/* Gradient */
.prw-section-slot--gradient .prw-section { background: linear-gradient(135deg, var(--prw-dark) 0%, var(--prw-primary) 100%) !important; color: #fff !important; }
.prw-section-slot--gradient .section-title,
.prw-section-slot--gradient .section-link { color: #fff; }

/* ─────────────────────────────────────────
   Archive pages — max-width follows site setting
───────────────────────────────────────── */
.archive-wrap {
  max-width: var(--prw-max-width);
  margin: 0 auto;
  padding: 40px 40px 80px;
}

/* ─────────────────────────────────────────
   Modal — lightbox navigation (prev/next)
───────────────────────────────────────── */
.prw-modal-prev,
.prw-modal-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 910;
  background: rgba(0,0,0,0.45);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
  backdrop-filter: blur(4px);
}
.prw-modal-prev { left: 12px; }
.prw-modal-next { right: 12px; }
.prw-modal-prev:hover,
.prw-modal-next:hover { background: rgba(0,0,0,0.7); border-color: rgba(255,255,255,0.6); }
.prw-modal-prev:disabled,
.prw-modal-next:disabled { opacity: 0.25; cursor: not-allowed; }
/* Override max-width for photo gallery modals — show full image */
#prw-modal.prw-modal--gallery .prw-modal-box {
  max-width: 860px;
  background: #000;
  position: relative;
}
#prw-modal.prw-modal--gallery .prw-modal-img {
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}
#prw-modal.prw-modal--gallery .prw-modal-info {
  background: #000;
  padding: 10px 16px 14px;
}
#prw-modal.prw-modal--gallery .prw-modal-name {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   Walk Photos — Gallery page
───────────────────────────────────────── */
.gallery-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--prw-mid);
  font-size: 15px;
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 60px;
}
.gallery-masonry--cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-masonry--cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-masonry--cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-masonry--cols-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  display: block;
  aspect-ratio: 4 / 3;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-photo:hover img { transform: scale(1.03); }
.gallery-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(59,8,80,0.85), transparent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 24px 12px 10px;
}
.gallery-empty {
  text-align: center;
  padding: 80px 40px;
  color: var(--prw-mid);
  font-style: italic;
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .gallery-masonry,
  .gallery-masonry--cols-3,
  .gallery-masonry--cols-4,
  .gallery-masonry--cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-masonry,
  .gallery-masonry--cols-2,
  .gallery-masonry--cols-3,
  .gallery-masonry--cols-4,
  .gallery-masonry--cols-6 { grid-template-columns: 1fr; padding: 0 0 40px; }
}

/* ─────────────────────────────────────────
   Photo strip — scroll arrows
───────────────────────────────────────── */

.photo-strip-wrap {
  position: relative;
}
.photo-strip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59,8,80,0.75);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
  backdrop-filter: blur(4px);
}
.photo-strip-arrow:hover { background: rgba(59,8,80,0.95); }
.photo-strip-arrow--left  { left: 44px; }
.photo-strip-arrow--right { right: 4px; }

/* ─────────────────────────────────────────
   Walk Videos Archive page
───────────────────────────────────────── */
.prw-videos-page {
  padding-top: 40px;
  padding-bottom: 60px;
}

.prw-videos-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--prw-text, #1d2327);
}

/* Section heading — matches original site style */
.prw-video-section {
  margin-bottom: 56px;
}

.prw-video-section-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--prw-purple, #3b0850);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid var(--prw-purple, #3b0850);
  padding-bottom: 8px;
  margin: 0 0 24px;
}

/* Video grids */
.prw-video-grid {
  display: grid;
  gap: 28px;
}

.prw-video-grid--1 { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.prw-video-grid--1 .prw-video-meta { align-items: center; text-align: center; }
.prw-video-grid--2 { grid-template-columns: repeat(2, 1fr); }
.prw-video-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Individual video item */
.prw-video-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 16:9 responsive embed container */
.prw-video-embed {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.prw-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Name + Learn More below video */
.prw-video-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prw-video-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--prw-text, #1d2327);
  line-height: 1.35;
}

.prw-video-link {
  font-size: 0.82rem;
  color: var(--prw-purple, #702f8a);
  text-decoration: none;
  font-weight: 600;
}
.prw-video-link:hover { text-decoration: underline; }

/* Empty state */
.prw-videos-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 1rem;
  background: var(--prw-bg-light, #f7f3fb);
  border-radius: 8px;
}

/* Responsive: collapse to 2 cols on medium screens */
@media (max-width: 900px) {
  .prw-video-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* Single column on mobile */
@media (max-width: 600px) {
  .prw-video-grid--2,
  .prw-video-grid--3 { grid-template-columns: 1fr; }
  .prw-video-grid--1 { max-width: 100%; }
}

/* ═══════════════════════════════════════════
   Video Archive — Year Switcher
═══════════════════════════════════════════ */
.prw-year-switcher-wrap {
  background: var(--bg-subtle);
  border-bottom: 1px solid rgba(112,47,138,0.1);
  padding: 14px max(40px, calc((100% - var(--prw-max-width)) / 2));
}

.prw-year-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.prw-year-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #702f8a;
  background: #fff;
  border: 1.5px solid #d8c8e4;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.prw-year-pill:hover {
  background: #ede4f5;
  border-color: #702f8a;
}
.prw-year-pill--active {
  background: linear-gradient(135deg, #3b0850 0%, #702f8a 100%);
  color: #fff;
  border-color: transparent;
}
.prw-year-pill--active:hover {
  background: linear-gradient(135deg, #3b0850 0%, #702f8a 100%);
  color: #fff;
}

/* ═══════════════════════════════════════════
   Contact Page
═══════════════════════════════════════════ */
.prw-contact-page {
  padding-top: 48px;
  padding-bottom: 64px;
}

/* Two-column layout: sidebar left, form right */
.prw-contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}

.prw-contact-sidebar { order: -1; }

/* ── Form column ── */
.prw-contact-intro-content {
  margin-bottom: 28px;
}

.prw-contact-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-left: 4px solid #43a047;
  border-radius: 6px;
  padding: 20px 24px;
  color: #1b5e20;
  font-size: 1rem;
  line-height: 1.6;
}

.prw-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prw-contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prw-contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b0850;
}

.prw-required {
  color: #b32d2e;
  margin-left: 2px;
}

.prw-contact-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d8c8e4;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.prw-contact-input:focus {
  outline: none;
  border-color: #702f8a;
  box-shadow: 0 0 0 3px rgba(112,47,138,0.12);
}

.prw-contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.prw-contact-turnstile {
  margin-top: 4px;
}

.prw-contact-submit-row {
  margin-top: 4px;
}

.prw-contact-form .prw-btn--primary {
  display: inline-block;
  background: linear-gradient(135deg, #3b0850 0%, #702f8a 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 30px;
  border: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(59,8,80,0.25);
}
.prw-contact-form .prw-btn--primary:hover {
  opacity: 0.88;
  box-shadow: 0 6px 20px rgba(59,8,80,0.35);
}

.prw-contact-no-fields {
  color: #888;
  font-style: italic;
  padding: 20px;
  background: #f7f3fb;
  border-radius: 6px;
}

/* ── Sidebar ── */
.prw-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prw-contact-sidebar-intro {
  background: linear-gradient(135deg, #3b0850 0%, #702f8a 100%);
  color: #fff;
  padding: 28px 24px;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.65;
}

.prw-contact-sidebar-intro p { margin: 0; }

.prw-contact-info-block,
.prw-contact-social-block {
  background: #f7f3fb;
  border-radius: 10px;
  padding: 24px;
}

.prw-contact-info-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #702f8a;
  margin: 0 0 16px;
}

.prw-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #333;
  margin: 0 0 12px;
  line-height: 1.5;
}
.prw-contact-info-item:last-child { margin-bottom: 0; }

.prw-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #702f8a;
  stroke: currentColor;
}

.prw-contact-info-item a {
  color: inherit;
  text-decoration: none;
}
.prw-contact-info-item a:hover {
  color: #702f8a;
  text-decoration: underline;
}

/* Social links */
.prw-contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prw-contact-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b0850;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.prw-contact-social-link:hover {
  background: #ede4f5;
  color: #702f8a;
}

.prw-contact-social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Responsive: stack on narrow screens */
@media (max-width: 860px) {
  .prw-contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .prw-contact-sidebar {
    order: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .prw-contact-sidebar-intro,
  .prw-contact-info-block,
  .prw-contact-social-block {
    flex: 1 1 280px;
  }
}

@media (max-width: 500px) {
  .prw-contact-sidebar {
    flex-direction: column;
  }
}

/* ── Admin: Contact Field Builder ── */
/* ─────────────────────────────────────────
   Sponsors & Community Partners Pages
   ───────────────────────────────────────── */
.org-tier {
  margin-bottom: 3rem;
}
.org-tier__heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--prw-primary);
  border-bottom: 2px solid var(--prw-pale);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}
.org-tier__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}
.org-tier__grid--cols-1,
.org-tier__grid--cols-2,
.org-tier__grid--cols-3,
.org-tier__grid--cols-4,
.org-tier__grid--cols-5,
.org-tier__grid--cols-6 {
  display: grid;
  align-items: start;
}
.org-tier__grid--cols-1 { grid-template-columns: repeat(1, 1fr); }
.org-tier__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.org-tier__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.org-tier__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.org-tier__grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.org-tier__grid--cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 768px) {
  .org-tier__grid--cols-4,
  .org-tier__grid--cols-5,
  .org-tier__grid--cols-6 { grid-template-columns: repeat(3, 1fr); }
  .org-tier__grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .org-tier__grid--cols-3,
  .org-tier__grid--cols-4,
  .org-tier__grid--cols-5,
  .org-tier__grid--cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .org-tier__grid--cols-2,
  .org-tier__grid--cols-3,
  .org-tier__grid--cols-4,
  .org-tier__grid--cols-5,
  .org-tier__grid--cols-6 { grid-template-columns: repeat(1, 1fr); }
}
.org-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 1px solid var(--prw-pale);
  border-radius: 6px;
  background: #fff;
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none;
}
a.org-logo:hover {
  border-color: var(--prw-light);
  box-shadow: 0 2px 12px rgba(112,47,138,.12);
}
.org-logo img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
/* In fixed-column grids: every box is the same fixed size (aspect-ratio
   based), logos scale to fill it via object-fit: contain — same technique
   used by logo showcase plugins like Smart Logo. */
.org-tier__grid--cols-1 .org-logo,
.org-tier__grid--cols-2 .org-logo,
.org-tier__grid--cols-3 .org-logo,
.org-tier__grid--cols-4 .org-logo,
.org-tier__grid--cols-5 .org-logo,
.org-tier__grid--cols-6 .org-logo {
  aspect-ratio: 3 / 2;
  padding: 1.25rem;
}
.org-tier__grid--cols-1 .org-logo img,
.org-tier__grid--cols-2 .org-logo img,
.org-tier__grid--cols-3 .org-logo img,
.org-tier__grid--cols-4 .org-logo img,
.org-tier__grid--cols-5 .org-logo img,
.org-tier__grid--cols-6 .org-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.org-logo__text {
  font-size: .95rem;
  font-weight: 600;
  color: var(--prw-dark);
}

.prw-cf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 6px;
  cursor: default;
}
.prw-cf-row.dragging { opacity: 0.4; }
.prw-cf-row.drag-over { border-color: #702f8a; box-shadow: 0 0 0 2px rgba(112,47,138,0.25); }

.prw-cf-handle {
  cursor: grab;
  color: #999;
  font-size: 16px;
  flex-shrink: 0;
}

.prw-cf-label      { flex: 2; min-width: 120px; }
.prw-cf-type       { flex: 0 0 110px; }
.prw-cf-placeholder{ flex: 2; min-width: 120px; }
.prw-cf-req-label  { flex-shrink: 0; white-space: nowrap; font-size: 12px; }

/* ─────────────────────────────────────────
   Branded Embed Card
   Wraps third-party iframes (volunteer sign-up, etc.)
   in a card that matches PRW visual identity.
───────────────────────────────────────── */
.prw-embed-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(59, 8, 80, 0.08),
    0 8px 32px rgba(59, 8, 80, 0.12);
  border: 1px solid var(--prw-pale);
  margin: 2.5rem 0;
}

.prw-embed-card__header {
  background: linear-gradient(135deg, var(--prw-dark) 0%, var(--prw-primary) 100%);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.prw-embed-card__header-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.prw-embed-card__header-icon svg {
  width: 24px;
  height: 24px;
}

.prw-embed-card__header-text { flex: 1; }

.prw-embed-card__title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}

.prw-embed-card__subtitle {
  color: var(--prw-pale);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.prw-embed-card__badge {
  flex-shrink: 0;
  background: var(--prw-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.prw-embed-card__body {
  padding: 0;
  overflow-x: hidden;
}

.prw-embed-card__body iframe {
  display: block;
  width: 100%;
  border: none;
  /* No fixed height — JS auto-sizes via postMessage.
     min-height prevents collapse before the first message arrives;
     the resize script clears it once the CRM sends its first height. */
  min-height: 420px;
  transition: height 0.25s ease, min-height 0s;
}

.prw-embed-card__footer {
  background: var(--bg-2, #f5f2f6);
  border-top: 1px solid var(--prw-pale);
  padding: 12px 36px;
  font-size: 0.8rem;
  color: var(--text-3, #888780);
  display: flex;
  align-items: center;
  gap: 6px;
}

.prw-embed-card__footer a {
  color: var(--prw-primary);
  text-decoration: none;
}
.prw-embed-card__footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .prw-embed-card__header { padding: 20px 20px; }
  .prw-embed-card__badge  { display: none; }
  .prw-embed-card__footer { padding: 10px 20px; }
}
