/* ================================
   PMHCA EVENT DETAIL HERO CARD
   Target: Event details (System) gadget
   HTML ID: event-detail-card
   ================================ */

/* Outer card */
#event-detail-card {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 2.5rem 2.25rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(135deg, #151f46, #273a71);
  border-radius: 24px;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}

/* “Training” label */
#event-detail-card::before {
  content: "Training";
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
}

/* Keep site font inside hero card */
#event-detail-card,
#event-detail-card * {
  font-family: inherit;
}

/* Headings inside card */
#event-detail-card h1,
#event-detail-card h2,
#event-detail-card h3,
#event-detail-card h4,
#event-detail-card h5,
#event-detail-card h6 {
  color: #ffffff !important;
  font-weight: 800;
  margin-top: 0;
}

/* Main event title */
#event-detail-card h1,
#event-detail-card h2 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

/* First description paragraph under the title, if present */
#event-detail-card > p:first-of-type {
  margin-top: 0.4rem;
  margin-bottom: 1.7rem;
  font-size: 1.05rem;
  max-width: 32rem;
}

/* General text in the main content area */
#event-detail-card p,
#event-detail-card li,
#event-detail-card span {
  color: rgba(255,255,255,0.92) !important;
}

/* Links in description area */
#event-detail-card a {
  color: #e7f041 !important;
  text-decoration: underline;
  font-weight: 600;
}
#event-detail-card a:hover {
  color: #ffffff !important;
}

/* Neutralize old <font> tags / inline colors */
#event-detail-card font {
  color: inherit !important;
}

/* Pill-style buttons (e.g., Register) */
#event-detail-card input[type="button"],
#event-detail-card input[type="submit"],
#event-detail-card button {
  display: inline-block;
  background: #ffffff;
  color: #0d1b3d !important;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}
#event-detail-card input[type="button"]:hover,
#event-detail-card input[type="submit"]:hover,
#event-detail-card button:hover {
  background: #e7f041;
  color: #0d1b3d !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Space below card */
#event-detail-card + * {
  margin-top: 2.5rem;
}

/* ================================
   OVERRIDE WILDAPRICOT STRUCTURE
   ================================ */

/* Get rid of default background on WA outer box */
#event-detail-card .boxOuterContainer.boxBaseView {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

/* LEFT PANEL: timing / location / registration box */
#event-detail-card .boxBodyInfoContainer {
  background: #ffffff !important;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  color: #0d1b3d !important;
}

/* Make ALL text in the left panel navy and readable */
#event-detail-card .boxBodyInfoContainer,
#event-detail-card .boxBodyInfoContainer * {
  color: #0d1b3d !important;
  font-size: 0.95rem !important;
  font-weight: 500;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* “When / Location / Spaces left” labels and headings */
#event-detail-card .boxBodyInfoContainer .eventInfoBoxLabel,
#event-detail-card .boxBodyInfoContainer .infoTitle,
#event-detail-card .boxBodyInfoContainer strong {
  display: inline-block;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(13,27,61,0.7) !important;
}

/* UL that holds When/Location/Spaces rows */
#event-detail-card .boxBodyInfoContainer ul.boxInfo {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
#event-detail-card .boxBodyInfoContainer ul.boxInfo li {
  margin-bottom: 0.45rem;
}

/* Registration section text + list */
#event-detail-card .registrationInfoContainer ul,
#event-detail-card .registrationInfoContainer li {
  list-style: none;
  padding-left: 0;
  margin: 0.2rem 0;
  font-weight: 600 !important;
}

/* Payment logos */
#event-detail-card .boxBodyInfoContainer img {
  max-width: 100%;
}

/* Register button inside left panel */
#event-detail-card .boxBodyInfoContainer input[type="submit"],
#event-detail-card .boxBodyInfoContainer input[type="button"] {
  background: #ffffff !important;
  color: #0d1b3d !important;
  border: 2px solid #0d1b3d !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.5rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
#event-detail-card .boxBodyInfoContainer input[type="submit"]:hover,
#event-detail-card .boxBodyInfoContainer input[type="button"]:hover {
  background: #e7f041 !important;
  color: #0d1b3d !important;
  transform: translateY(-2px);
}

/* RIGHT SIDE: event content area */
#event-detail-card .boxBodyContentOuterContainer {
  background: transparent !important;
  color: rgba(255,255,255,0.92) !important;
}
#event-detail-card .boxBodyContentOuterContainer p,
#event-detail-card .boxBodyContentOuterContainer li,
#event-detail-card .boxBodyContentOuterContainer span {
  color: rgba(255,255,255,0.92) !important;
}

/* ================================
   LAYOUT FIX – DESKTOP
   Keep left registration card + right content side-by-side
   ================================ */

/* Large desktops: 1100px and up */
@media (min-width: 1100px) {

  /* Make sure WA keeps the two columns left/right */
  #event-detail-card .boxBodyInfoOuterContainer {
    float: left !important;
  }

  #event-detail-card .boxBodyInfoContainer {
    width: 300px !important;       /* card width */
    margin-bottom: 0 !important;
  }

  #event-detail-card .boxBodyContentOuterContainer {
    float: right !important;
    margin-left: 4rem !important;  /* gap between card + text */
    width: calc(100% - 300px - 4rem) !important;
    max-width: 650px !important;   /* keeps text column readable */
  }
}

/* Medium desktops: 900px–1099px */
@media (min-width: 900px) and (max-width: 1099px) {

  /* Narrower card so the text column has breathing room */
  #event-detail-card .boxBodyInfoOuterContainer {
    float: left !important;
  }

  #event-detail-card .boxBodyInfoContainer {
    width: 280px !important;
    margin-bottom: 0 !important;
  }

  #event-detail-card .boxBodyContentOuterContainer {
    float: right !important;
    margin-left: 2.5rem !important;   /* visual gap between card + text */
    width: calc(100% - 280px - 2.5rem) !important;
    max-width: none !important;
  }

  /* Slightly reduce hero padding in this range */
  #event-detail-card {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ================================
   MOBILE / SMALLER VIEWPORT TWEAKS
   Stack card on top of content
   ================================ */

@media (max-width: 899px) {
  #event-detail-card {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  #event-detail-card h1,
  #event-detail-card h2 {
    font-size: 1.8rem;
  }

  #event-detail-card .boxBodyInfoOuterContainer,
  #event-detail-card .boxBodyContentOuterContainer {
    float: none !important;
    width: 100% !important;
  }

  #event-detail-card .boxBodyInfoContainer {
    margin-bottom: 1.75rem;
  }
}
/* ============================================
   FIX 1: 900–991px and 1095–1099px
   (too much space + text dropping below card)
   ============================================ */
@media (min-width: 900px) and (max-width: 991px),
       (min-width: 1095px) and (max-width: 1099px) {

  #event-detail-card .boxBodyContentOuterContainer {
    /* keep a nice but not huge gap */
    margin-left: 2.5rem !important;

    /* stop fighting with calc() from earlier rules */
    width: auto !important;
    max-width: none !important;
  }
}

/* ============================================
   FIX 2: 992–1094px
   (card + text too close together)
   ============================================ */
@media (min-width: 992px) and (max-width: 1094px) {

  #event-detail-card .boxBodyContentOuterContainer {
    /* slightly larger gap in this band */
    margin-left: 3rem !important;

    /* same idea: no calc() so it doesn't overshoot */
    width: auto !important;
    max-width: none !important;
  }
}
/* ============================================
   TABLET RANGE FIX: 900px–1099px
   Stack the card over the content, no overlap,
   no giant gap, and centered nicely.
   ============================================ */

@media (min-width: 900px) and (max-width: 1099px) {

  /* Turn OFF the flex row in this band */
  #event-detail-card .boxOuterContainer.boxBaseView {
    display: block !important;
  }

  /* Kill WA floats so things don't overlap */
  #event-detail-card .boxBodyInfoContainer,
  #event-detail-card .boxBodyContentOuterContainer {
    float: none !important;
  }

  /* Registration card on top, centered */
  #event-detail-card .boxBodyInfoContainer {
    width: 360px;                 /* feel free to tweak 320–380 */
    max-width: 100%;
    margin: 0 auto 2rem !important; /* center + modest space below */
  }

  /* Text content below, centered, no leftover left padding */
  #event-detail-card .boxBodyContentOuterContainer {
    max-width: 720px;             /* keeps text column readable */
    margin: 0 auto !important;    /* center under the card */
    padding-left: 0 !important;   /* cancels desktop nudge */
  }
}
/* ======================================================
   FIX OVERLAP FOR 900–1099px
   Force stacked layout + disable WA float & width logic
   ====================================================== */
@media (min-width: 900px) and (max-width: 1099px) {

  /* Stop WA flex layouts */
  #event-detail-card .boxOuterContainer.boxBaseView {
    display: block !important;
  }

  /* Destroy all floats & weird WA widths */
  #event-detail-card .boxBodyInfoContainer,
  #event-detail-card .boxBodyContentOuterContainer {
    float: none !important;
    width: 100% !important;     /* WA won't be allowed to shrink this */
    max-width: 100% !important;
    clear: both !important;     /* prevent overlap */
  }

  /* Registration card centered above */
  #event-detail-card .boxBodyInfoContainer {
    width: 360px !important;        /* tweak 320–380 */
    max-width: 100% !important;
    margin: 0 auto 2rem !important; /* center + spacing */
  }

  /* Content area full-width & centered text column */
  #event-detail-card .boxBodyContentOuterContainer {
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    max-width: 780px !important;    /* readable column width */
  }

  /* Optional: prevent ANY shadow/bleed from pushing width */
  #event-detail-card {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}












#staff-title {
  text-align: center;
  padding: 2rem 1rem 0.75rem;  /* reduced bottom padding */
  margin-bottom: 0.5rem;       /* prevents extra gap */
}

#staff-title h2 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0d4f7a;
}

#staff-title p {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  color: #0d4f7a;
  font-weight: 600;
}

/* Decorative line below text */
#staff-title::after {
  content: "";
  width: 80%;
  max-width: 600px;
  height: 2px;
  background: #d1d1d1;
  display: block;
  margin: 1.5rem auto 0;
}

/* ===== STAFF GRID LAYOUT ===== */

#staff-grid {
  padding: 1rem 1.5rem 4rem;   /* much less space above cards */
}

/* Table as grid */
#staff-grid table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

#staff-grid td {
  width: 33.333%;
  padding: 1.5rem;
  vertical-align: top;
  border: none;
  outline: none;
}

/* Remove any default borders/outlines WA might inject */
#staff-grid table,
#staff-grid table * {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Each cell becomes a card with 3D perspective */
#staff-grid td.staff-card {
  perspective: 1200px;
}

/* Inner flipping element */
#staff-grid .staff-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;            /* card proportion similar to your screenshot */
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  cursor: pointer;
}

/* Front + back faces */
#staff-grid .staff-card-front,
#staff-grid .staff-card-back {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  backface-visibility: hidden;
}

/* FRONT: photo + name pill */
#staff-grid .staff-card-front {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Portrait image */
#staff-grid .staff-card-front img {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name/title pill at bottom */
#staff-grid .staff-name-pill {
  margin: 1.25rem auto 1.5rem;
  padding: 0.7rem 1.75rem;
  max-width: 90%;
  background: #e3e3e3;
  border-radius: 999px;
  font-size: 0.95rem;
  text-align: center;
}

/* BACK: bio side */
#staff-grid .staff-card-back {
  background: #f5f5f5;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: left;
}

#staff-grid .staff-card-back p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Flip state */
#staff-grid .staff-card-inner.flipped {
  transform: rotateY(180deg);
}

/* RESPONSIVE: stack cards on small screens */
@media (max-width: 767px) {
  #staff-grid table,
  #staff-grid tbody,
  #staff-grid tr,
  #staff-grid td {
    display: block;
    width: 100% !important;
  }

  #staff-grid td {
    padding: 1rem 0;
  }
}


/* MAIN SECTION WRAPPER */
#event-main {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

/* ---- TOP TEXT BLOCKS ---- */

/* FIRST LINE = small label (Celebrating Culture) */
#event-main p:first-of-type {
  margin: 0 0 0.5rem;
  color: #00878c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  font-weight: 600;
}

/* SECOND LINE = big main title */
#event-main p:nth-of-type(2) {
  margin: 0 0 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  font-size: 2rem;
  font-weight: 700;
}

/* ---- GRID TABLE ---- */


#event-main table,
#event-main table * {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#event-main td {
  padding: 1.5rem;
  vertical-align: top;
  text-align: center;
}

/* IMAGE at top of each card */
#event-main td img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: 6px;
}

/* TEXT inside each card */
/* FIRST paragraph inside a cell = label ("Events") */
#event-main td p:nth-of-type(1) {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
}

/* SECOND paragraph inside a cell = title */
#event-main td p:nth-of-type(2) {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* THIRD paragraph inside a cell = description */
#event-main td p:nth-of-type(3) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* RESPONSIVE STACKING */
@media (max-width: 767px) {
  #event-main table,
  #event-main tbody,
  #event-main tr,
  #event-main td {
    display: block;
    width: 100% !important;
  }

  #event-main td {
    padding: 1rem 0;
  }
}

/* BUTTON LINKS inside event-main */
#event-main a {
  display: inline-block;
  background: #0d1b3d;            /* DARK BLUE default */
  color: #ffffff;                 /* white text default */
  padding: 0.75rem 1.75rem;
  border-radius: 999px;           /* pill shape */
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

/* HOVER: Lime-yellow background + navy text */
#event-main a:hover {
  background: #e7f041;            /* lime yellow */
  color: #0d1b3d;                 /* dark navy text */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Click/active state */
#event-main a:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* HERO WRAPPER */
#event-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  padding: 5rem 1.5rem 4rem; /* top, sides, bottom */

  /* Make the gadget background behave like a hero image */
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

/* Teal overlay on top of the background image */
#event-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 135, 140, 0.55);  /* adjust opacity as needed */
  z-index: 0;
}

/* Make sure all inner content is above the overlay */
#event-hero > * {
  position: relative;
  z-index: 1;
}

/* Logo image */
#event-hero img {
  max-width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
}

/* TYPOGRAPHY */
#event-hero h1,
#event-hero h2 {
  margin: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  font-size: 2.4rem !important;
  font-weight: 700 !important;
}

/* Optional highlight span (e.g. "THE PALM BEACHES") */
#event-hero h1 span,
#event-hero h2 span {
  color: #ffd34a;
}

/* Body text */
#event-hero p {
  margin: 0.4rem auto;
  max-width: 42rem;
  font-size: 1.2rem !important;
}

/* Last paragraph, treat as description */
#event-hero p:last-of-type {
  margin-top: 1.5rem;
  font-size: 1.05rem !important;
}

/* Larger screens */
@media (min-width: 768px) {
  #event-hero {
    padding: 6rem 2rem 5rem;
  }

  #event-hero h1,
  #event-hero h2 {
    font-size: 2.6rem !important;
  }
}

@media (min-width: 1024px) {
  #event-hero h1,
  #event-hero h2 {
    font-size: 2.9rem !important;
  }

  #event-hero img {
    max-width: 260px;
  }
}

/* Wrapper for the entire 3-column section */
.program-features {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 60px auto;
    max-width: 1200px;
}

/* Individual feature columns */
.program-feature-item {
    flex: 1;
}

/* Headings inside each column */
.program-feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* Body text inside each column */
.program-feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Program / campaign hero */
#program-hero {
  /* make the background behave like a real hero image */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Text inside the hero */
#program-hero p {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  max-width: 60rem;

  /* translucent box behind the text */
  background: rgba(0, 0, 0, 0.35);
  padding: 18px 24px;
  border-radius: 10px;
  display: inline-block;

  /* optional: a tiny glow to separate from the image */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
/* ==========================
   TRAINING HERO LEFT COLUMN
   Gadget ID: training-hero
   ========================== */

#training-hero {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 32px 24px;
  border-radius: 16px;
  background: linear-gradient(
      120deg,
      rgba(32, 44, 86, 0.92),
      rgba(77, 86, 120, 0.92)
    ),
    url("https://pmhca.wildapricot.org/resources/Pictures/Training%20Header.png") center/cover no-repeat;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Top label: EVENT / VIRTUAL TRAINING / etc. */
#training-hero .hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 8px;
}

/* Big title line */
#training-hero .hero-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}

/* Subtitle sentence */
#training-hero .hero-subtitle {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 18px;
}

/* Meta block (Date / Time / Format) */
#training-hero .hero-meta p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.6;
}

#training-hero .hero-meta strong {
  color: #ffffff;
}

/* CTA buttons container */
#training-hero .hero-ctas {
  margin-top: 18px;
}

/* Buttons */
#training-hero .hero-ctas a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: 12px;
  margin-top: 8px;
  border: 2px solid #ffffff;
}

/* First button = solid */
#training-hero .hero-ctas a:first-child {
  background: #ffffff;
  color: #202c56;
}

/* Second button = outline */
#training-hero .hero-ctas a:nth-child(2) {
  background: transparent;
  color: #ffffff;
}

/* Hover states */
#training-hero .hero-ctas a:first-child:hover {
  background-color: #e8eb68;
  border-color: #e8eb68;
  color: #202c56;
}

#training-hero .hero-ctas a:nth-child(2):hover {
  background-color: rgba(255,255,255,0.15);
}

/* ==================================
   TRAINING HERO RIGHT COLUMN CARD
   Gadget ID: event-hero-right
   ================================== */

#training-hero-right {
  background: #f5f7fb;
  border-radius: 20px;
  padding: 24px 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: #333333;
}

/* Each section (What you'll learn / Who should attend) */
#training-hero-right .hero-card-section {
  margin-bottom: 24px;
}

/* Section titles */
#training-hero-right .hero-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #202c56;
  margin-bottom: 8px;
}

/* Lists */
#training-hero-right ul {
  margin: 0 0 4px 20px;
  padding: 0;
}

#training-hero-right li {
  margin-bottom: 4px;
}

/* Responsive – add a bit of spacing when stacked */
@media (max-width: 800px) {
  #training-hero-right {
    margin-top: 16px;
  }
}

/* TICKER BAR WRAPPER */
#site-ticker {
  background: #e7f041;        /* lime yellow */
  overflow: hidden;
  white-space: nowrap;
  padding: 0;                 /* we'll handle padding on the track */
}

/* The scrolling content */
#site-ticker .ticker-track {
  display: inline-block;
  padding: 0.85rem 0;         /* vertical height of the bar */
  animation: ticker-scroll 25s linear infinite;
}

/* Text style */
#site-ticker .ticker-track span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111111;             /* almost black */
  font-size: 1rem;
}

/* Scrolling animation */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Wrapper to keep the video clean and full-width */
#video-header {
  width: 100%;
  overflow: hidden;
  background: #000; /* fallback before video loads */
}

/* The responsive video */
#header-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* fills width without distortion */
  max-height: 70vh;  /* prevents the video from being too tall */
}

.btn-membership {
  display: inline-block;
  padding: 10px 22px;
  background-color: #202c56;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px; /* slightly rounded corners */
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-membership:hover,
.btn-membership:focus {
  background-color: #4d5678;
  color: #ffffff;
  text-decoration: none;
}

/* Container */
#nav {
  background: #ffffff !important;
  padding: 10px 40px 10px 0;
  text-align: right;
}

/* Reset WA overrides */
#nav * {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* NAV BAR CONTAINER */
#nav {
  background: #ffffff;
  padding: 10px 40px 10px 0;
  text-align: right;                 /* aligns the menu block to the right */
}

/* The actual menu container inside the gadget */
#nav .menuInner {
  display: inline-block;             /* so it can be right-aligned by #nav */
}

/* TOP-LEVEL MENU ROW */
#nav .menuInner ul.firstLevel {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Top-level items (horizontal) */
#nav .menuInner ul.firstLevel > li {
  display: inline-block;
  margin: 0 0 0 40px;               /* space between items */
}

#nav .menuInner ul.firstLevel > li:first-child {
  margin-left: 0;
}

/* ALL MENU LINKS */
#nav .menuInner a {
  color: #000000 !important;         /* black text */
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  padding: 5px 0;
}

/* Hover */
#nav .menuInner a:hover {
  text-decoration: underline;
}

/* DROPDOWN BACKGROUND + READABILITY FIX */
#nav .menuInner ul.secondLevel,
#nav .menuInner ul.level2,
#nav .menuInner ul ul {
  background: #ffffff !important;       /* solid white background */
  padding: 10px 0;                      /* spacing inside dropdown */
  min-width: 200px;                     /* consistent width */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);  /* subtle shadow */
  z-index: 9999;                        /* ensures dropdown sits on top */
}

/* Dropdown items */
#nav .menuInner ul.secondLevel li,
#nav .menuInner ul.level2 li,
#nav .menuInner ul ul li {
  white-space: nowrap;                  /* prevent awkward wrapping */
}

/* Dropdown links */
#nav .menuInner ul.secondLevel li a,
#nav .menuInner ul.level2 li a,
#nav .menuInner ul ul li a {
  display: block;
  padding: 8px 20px;
  font-size: 16px;
  color: #000000 !important;
  background: #ffffff !important;
  text-decoration: none;
}

/* Hover on dropdown items */
#nav .menuInner ul.secondLevel li a:hover,
#nav .menuInner ul.level2 li a:hover,
#nav .menuInner ul ul li a:hover {
  background: #f2f2f2 !important;
}

/* Hide default WildApricot footer */
#idFooterPoweredByWA {
  display: none !important;
}

/* ===========================
   PMHCA FOOTER BASE
   =========================== */

#pmhca-footer {
  background-color: #202c56;          /* deep blue */
  color: #ffffff;
  padding: 48px 20px 32px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#pmhca-footer a {
  color: #9fdcff;                     /* light blue links */
  text-decoration: underline;
}

#pmhca-footer a:hover {
  text-decoration: none;
}

/* 3-column layout: LEFT (logos/text), MIDDLE (contact), RIGHT (988 + mailing) */
#pmhca-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

/* Generic column text */
#pmhca-footer .footer-col p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===========================
   LEFT COLUMN
   =========================== */

/* Logos row */
#pmhca-footer .footer-logo-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

#pmhca-footer .footer-logo-img {
  max-height: 80px;
  width: auto;
}

#pmhca-footer .footer-logo-divider {
  width: 1px;
  height: 70px;
  background-color: rgba(255,255,255,0.5);
}

/* Social icons under logos */
#pmhca-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

#pmhca-footer .footer-social a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

#pmhca-footer .footer-social a:hover {
  background-color: rgba(255,255,255,0.12);
}

/* Youth MOVE text */
#pmhca-footer .footer-small {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}

#pmhca-footer .footer-link {
  margin-top: 0.6rem;
  font-weight: 600;
}

/* ===========================
   MIDDLE COLUMN
   =========================== */

#pmhca-footer .footer-email {
  margin-bottom: 0.8rem;
  font-weight: 600;
}

#pmhca-footer .footer-label {
  font-weight: 600;
  margin-top: 0.8rem;
}

/* ===========================
   RIGHT COLUMN (988 + mailing)
   =========================== */

#pmhca-footer .footer-988-heading {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

#pmhca-footer .footer-988-sub {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

#pmhca-footer .footer-links {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

#pmhca-footer .footer-copy {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {
  /* Stack columns but keep order: left, middle, right */
  #pmhca-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #pmhca-footer .footer-small {
    max-width: none;
  }
}

@media (max-width: 600px) {
  #pmhca-footer {
    padding: 32px 16px 24px;
  }

  #pmhca-footer .footer-logo-row {
    flex-direction: column;
    align-items: flex-start;
  }

  #pmhca-footer .footer-social {
    justify-content: flex-start;
  }
}