.elementor-2167 .elementor-element.elementor-element-1c51065{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-2167 .elementor-element.elementor-element-67e577c{--display:flex;}/* Start custom CSS *//*==================================================
  CUPE 2424 Racial Justice Committee
  Page CSS (cleaned)
  Paste into: Elementor, Page Settings, Advanced, Custom CSS
  Everything is scoped to .rjc-page so it won't touch the
  org-level theme. To reuse on another page (e.g. a gallery
  page), paste the same CSS into that page's Custom CSS.
==================================================*/

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.rjc-page,
.rjc-page * { box-sizing: border-box; }

.rjc-page {
  --primary:      #7b1e22;
  --primary-dark: #591518;
  --primary-soft: #f6e8e9;
  --accent:       #e3b505;
  --accent-soft:  #fff7dc;
  --secondary:    #111827;
  --bg:           #f5f7fb;
  --surface:      #ffffff;
  --surface-alt:  #fbfbfc;
  --text:         #1f2937;
  --text-light:   #5b6472;
  --text-muted:   #9ca3af;
  --border:       #e5e7eb;
  --radius-sm:    14px;
  --radius:       24px;
  --radius-lg:    34px;
  --shadow-sm:    0 8px 20px rgba(0,0,0,.06);
  --shadow:       0 15px 35px rgba(0,0,0,.08);
  --shadow-lg:    0 25px 60px rgba(0,0,0,.14);
  --max-width:    1280px;

  /* Inherits the org theme's font so we stay on-brand without loading anything extra.
     To force a font, replace "inherit" with e.g. Inter, "Segoe UI", Arial, sans-serif */
  font-family: inherit;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(123,30,34,.05), transparent 40%),
    radial-gradient(circle at bottom right, rgba(227,181,5,.08), transparent 35%),
    var(--bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* fallback for older browsers */
  overflow-x: clip; /* stops decorative offsets from causing sideways scroll on mobile */
}

/*=====================================
  TYPOGRAPHY
=====================================*/

.rjc-page h1,
.rjc-page h2,
.rjc-page h3,
.rjc-page h4,
.rjc-page h5,
.rjc-page h6 {
  margin: 0 0 .75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #111827;
}

.rjc-page h1 { font-size: clamp(2.6rem, 6vw, 6rem); }
.rjc-page h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.rjc-page h3 { font-size: 1.4rem; }
.rjc-page p  { margin: 0 0 1.25rem; }
.rjc-page a  { text-decoration: none; }

/* Keep underlines on ordinary inline text links (buttons excluded) */
.rjc-page p a:not([class]) { text-decoration: underline; text-underline-offset: 3px; }

/* Visible keyboard focus */
.rjc-page a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/*=====================================
  SECTION HEADERS
=====================================*/

.rjc-section-header { margin-bottom: 4rem; }
.rjc-center         { text-align: center; }
.rjc-max-800        { max-width: 800px; margin-left: auto; margin-right: auto; }
.rjc-section-header p { color: var(--text-light); }

/*=====================================
  EYEBROW
=====================================*/

.rjc-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin-bottom: 1rem;
}

/*=====================================
  LAYOUT
=====================================*/

.rjc-container {
  width: min(92%, var(--max-width));
  margin: auto;
}

.rjc-section {
  position: relative;
  padding: 120px 0;
}

.rjc-section-tight { padding: 40px 0; }

.rjc-section-alt {
  background: linear-gradient(180deg, #ffffff, #fbfbfc);
}

/*=====================================
  BUTTONS
=====================================*/

.rjc-button,
.rjc-button-outline,
.rjc-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 800;
  transition: .3s ease;
}

.rjc-hero-button {
  background: var(--accent);
  color: #111827;
  box-shadow: 0 12px 25px rgba(227,181,5,.35);
}
.rjc-hero-button:hover { transform: translateY(-4px); color: #111827; }

.rjc-button {
  background: var(--primary);
  color: #ffffff;
}
.rjc-button:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-4px);
}

.rjc-button-outline {
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.55);
  color: #ffffff;
}
.rjc-button-outline:hover {
  background: rgba(255,255,255,.18);
  color: #ffffff;
}

.rjc-card-link { margin-top: 1rem; }

/*=====================================
  ICONS (inline SVG, replaces emoji)
=====================================*/

.rjc-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}

.rjc-card-icon::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Icons are drawn in CSS (not inline SVG) because WordPress strips inline SVG tags from editor content */
.rjc-i-book::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v12a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v12a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v12a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v12a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
.rjc-i-megaphone::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E"); }
.rjc-i-users::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.rjc-i-scale::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M5 21h14'/%3E%3Cpath d='M5 7h14'/%3E%3Cpath d='m5 7-3 8a4 3 0 0 0 6 0z'/%3E%3Cpath d='m19 7-3 8a4 3 0 0 0 6 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M5 21h14'/%3E%3Cpath d='M5 7h14'/%3E%3Cpath d='m5 7-3 8a4 3 0 0 0 6 0z'/%3E%3Cpath d='m19 7-3 8a4 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.rjc-i-home::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V21H3z'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V21H3z'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/svg%3E"); }
.rjc-i-sprout::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='M12 12C12 8 9 5 4 5c0 4 3 7 8 7z'/%3E%3Cpath d='M12 14c0-3 2-6 8-6 0 4-3 6-8 6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='M12 12C12 8 9 5 4 5c0 4 3 7 8 7z'/%3E%3Cpath d='M12 14c0-3 2-6 8-6 0 4-3 6-8 6z'/%3E%3C/svg%3E"); }
.rjc-i-zap::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E"); }
.rjc-i-file::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8'/%3E%3C/svg%3E"); }
.rjc-i-calendar::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.rjc-i-message::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }

/*=====================================
  HERO
=====================================*/

.rjc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* avoids mobile browser toolbar cut-off */
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}

/* Fallback colour so the hero still looks intentional if an image is slow or missing */
.rjc-hero-slider {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a0e10, var(--primary-dark));
}

/*=====================================
  CSS AUTO-ADVANCE SLIDER
  4 slides x 6s visible = 24s loop
  To add a 5th slide:
    change 24s to 30s, add: .rjc-slide:nth-child(5) { animation-delay: 24s; }
  To use 3 slides:
    change 24s to 18s, remove the nth-child(4) line
  (and update the keyframe percentages if you change timing)
=====================================*/

.rjc-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation-name: rjcSlide;
  animation-duration: 24s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.rjc-slide:nth-child(1) { animation-delay:  0s; }
.rjc-slide:nth-child(2) { animation-delay:  6s; }
.rjc-slide:nth-child(3) { animation-delay: 12s; }
.rjc-slide:nth-child(4) { animation-delay: 18s; }

@keyframes rjcSlide {
  0%   { opacity: 0; transform: scale(1.04); }
  6%   { opacity: 1; transform: scale(1);    }
  25%  { opacity: 1; transform: scale(1);    }
  31%  { opacity: 0; transform: scale(1.04); }
  100% { opacity: 0; transform: scale(1.04); }
}

/* One slide only: no fade loop, just show it */
.rjc-slide:only-child { animation: none; opacity: 1; transform: none; }

/* Reduced motion: stop the slider, show the first image only */
@media (prefers-reduced-motion: reduce) {
  .rjc-slide { animation: none; }
  .rjc-slide:first-child { opacity: 1; transform: none; }
}

/*=====================================
  HERO OVERLAY
=====================================*/

.rjc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.45) 0%,
    rgba(80,10,12,.35) 60%,
    rgba(0,0,0,.25) 100%
  );
  z-index: 2;
}

.rjc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(123,30,34,.18), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(227,181,5,.08), transparent 30%);
  z-index: 3;
}

.rjc-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 110px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 4;
}

.rjc-hero .rjc-container {
  position: relative;
  z-index: 10;
}

/*=====================================
  HERO CONTENT BOX
=====================================*/

.rjc-hero-content {
  max-width: 1080px;
  padding: 55px;
  border-radius: 34px;
  background: rgba(10,10,10,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 35px 60px rgba(0,0,0,.2);
}

.rjc-hero .rjc-eyebrow {
  color: white;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.rjc-hero h1 {
  color: white;
  margin-bottom: 1.25rem;
  line-height: .95;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}

.rjc-hero p {
  color: rgba(255,255,255,.95);
  font-size: 1.2rem;
  margin-bottom: 0;
}

/*=====================================
  HERO ACTIONS AND STATS
=====================================*/

.rjc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2rem;
}

.rjc-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.rjc-hero-stats strong {
  display: block;
  font-size: 2rem;
  line-height: 1.2;
  color: white;
  font-weight: 800;
}

.rjc-hero-stats span {
  display: block;
  color: rgba(255,255,255,.85);
}

/*=====================================
  MISSION
=====================================*/

.rjc-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.rjc-mission-image-wrap { position: relative; }

.rjc-mission-image-wrap::after {
  content: "";
  position: absolute;
  right: -20px; bottom: -20px;
  width: 130px; height: 130px;
  background: var(--accent-soft);
  border-radius: 26px;
}

.rjc-mission img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  aspect-ratio: auto;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

/*=====================================
  HIGHLIGHT LIST
=====================================*/

.rjc-highlight-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.rjc-highlight-list li { position: relative; padding-left: 1.8rem; margin-bottom: 1rem; }
.rjc-highlight-list li::before { content: "\25CF"; position: absolute; left: 0; color: var(--accent); }

/*=====================================
  GRID
=====================================*/

.rjc-grid   { display: grid; gap: 30px; }
.rjc-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.rjc-grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

/*=====================================
  CARDS
=====================================*/

.rjc-card {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #fcfcfd);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: .35s ease;
}

.rjc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.rjc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

/*=====================================
  DARK SECTIONS
=====================================*/

.rjc-section-dark {
  background: linear-gradient(135deg, #17181c 0%, #252831 100%);
  position: relative;
  overflow: hidden;
}

.rjc-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(227,181,5,.08), transparent 35%);
  pointer-events: none;
}

.rjc-section-dark h2,
.rjc-section-dark h3,
.rjc-section-dark p,
.rjc-section-dark li { color: white; }

/* Fixes grey-on-dark intro text (the generic header rule above was winning) */
.rjc-section-dark .rjc-section-header p { color: rgba(255,255,255,.85); }

.rjc-section-dark .rjc-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rjc-section-dark .rjc-card h3,
.rjc-section-dark .rjc-card p { color: white; }

.rjc-section-dark .rjc-card-icon {
  background: rgba(255,255,255,.12);
  color: var(--accent);
}

/*=====================================
  STATS / COMMITMENTS
=====================================*/

.rjc-stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rjc-stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.rjc-stat:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.rjc-stat-number {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: .75rem;
  overflow-wrap: anywhere;
}

.rjc-stat-label { color: var(--text-light); font-weight: 600; }

/*=====================================
  TIMELINE
=====================================*/

.rjc-timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  padding-left: 42px;
}

.rjc-timeline::before {
  content: "";
  position: absolute;
  left: 16px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 999px;
}

.rjc-event {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.rjc-event:last-child { margin-bottom: 0; }
.rjc-event p:last-child { margin-bottom: 0; }

.rjc-event:hover { transform: translateX(8px); box-shadow: var(--shadow); }

.rjc-event::before {
  content: "";
  position: absolute;
  left: -35px; top: 34px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

/* Renamed from .rjc-event-date: these are category tags, not dates */
.rjc-event-tag {
  display: inline-block;
  margin-bottom: .75rem;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}

/*=====================================
  QUOTE (light variant)
=====================================*/

.rjc-quote-wrap {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 8px solid var(--primary);
  border-radius: 32px;
  padding: 70px 50px;
  box-shadow: var(--shadow);
}

.rjc-quote {
  position: relative;
  z-index: 2;
  margin: auto;
  max-width: 900px;
  color: var(--secondary);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.5;
  text-align: center;
  font-style: italic;
  font-weight: 600;
}

.rjc-quote-credit {
  text-align: center;
  color: var(--primary);
  margin-top: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}

/*=====================================
  CTA
=====================================*/

.rjc-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), #922428);
  color: white;
  text-align: center;
  border-radius: 32px;
  padding: 100px 50px;
  box-shadow: var(--shadow-lg);
}

.rjc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 35%);
  pointer-events: none;
}

.rjc-cta h2,
.rjc-cta p,
.rjc-cta .rjc-eyebrow,
.rjc-cta .rjc-cta-actions { position: relative; z-index: 1; }

.rjc-cta .rjc-eyebrow {
  color: var(--primary);
  background: #ffffff;
}

.rjc-cta h2,
.rjc-cta p { color: white; }
.rjc-cta p { max-width: 760px; margin: 0 auto 1.5rem; }

/* Fixes the button row: previously gap/justify were set without display:flex */
.rjc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 2rem;
}

.rjc-cta .rjc-button { background: white; color: var(--primary); }
.rjc-cta .rjc-button:hover { background: #f8fafc; color: var(--primary); }

/*=====================================
  GALLERY (ready for the future gallery section / page)
  Masonry-style columns; works with the commented-out block in the HTML
=====================================*/

.rjc-gallery {
  columns: 3 280px;
  column-gap: 20px;
  margin-bottom: 3rem;
}

.rjc-gallery figure {
  margin: 0 0 20px;
  break-inside: avoid;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.rjc-gallery figure:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.rjc-gallery a { display: block; }

.rjc-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.rjc-gallery figcaption {
  padding: 12px 16px;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-light);
}

/*=====================================
  UTILITIES
=====================================*/

.rjc-mb-1 { margin-bottom: 1rem; }
.rjc-mb-2 { margin-bottom: 2rem; }
.rjc-mb-3 { margin-bottom: 3rem; }
.rjc-hidden { display: none; }
.rjc-text-light { color: var(--text-light); }

/*=====================================
  SCROLL REVEAL (progressive enhancement)
  Plays as items scroll into view in supporting browsers; others just show normally.
  Uses "backwards" fill so it no longer overrides the :hover lift effects.
=====================================*/

@keyframes rjcFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rjc-card,
    .rjc-stat,
    .rjc-event {
      animation: rjcFadeUp linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .rjc-card,
  .rjc-stat,
  .rjc-event,
  .rjc-button,
  .rjc-hero-button,
  .rjc-gallery figure { transition: none; }
}

/*=====================================
  RESPONSIVE
=====================================*/

@media (max-width: 1024px) {
  .rjc-section       { padding: 100px 0; }
  .rjc-section-tight { padding: 30px 0; }
  .rjc-mission       { grid-template-columns: 1fr; gap: 50px; }
  .rjc-hero-content  { padding: 42px; }
}

@media (max-width: 768px) {
  .rjc-section       { padding: 90px 0; }
  .rjc-section-tight { padding: 24px 0; }
  .rjc-hero          { min-height: auto; padding: 120px 0 90px; }
  .rjc-hero-content  { padding: 34px; }
  .rjc-hero-stats    { gap: 24px; }
  .rjc-grid-2,
  .rjc-grid-3        { grid-template-columns: 1fr; }
  .rjc-timeline      { padding-left: 32px; }
  .rjc-gallery       { columns: 2 200px; }
}

@media (max-width: 600px) {
  .rjc-page          { font-size: 17px; }
  .rjc-hero          { padding: 90px 0; }
  .rjc-hero-content  { padding: 28px; }
  .rjc-hero h1       { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .rjc-hero p        { font-size: 1.05rem; }
  .rjc-hero-actions  { flex-direction: column; align-items: stretch; }
  .rjc-button,
  .rjc-button-outline,
  .rjc-hero-button   { width: 100%; }
  .rjc-card,
  .rjc-event         { padding: 24px; }
  .rjc-quote-wrap    { padding: 44px 24px; }
  .rjc-cta           { padding: 60px 24px; }
  .rjc-cta-actions   { flex-direction: column; align-items: stretch; }
  .rjc-hero-stats    { flex-direction: column; gap: 16px; }
  .rjc-gallery       { columns: 1; }
}


/* Mission image: show the whole picture, never crop, never overflow */
.rjc-mission-content,
.rjc-mission-image-wrap { min-width: 0; }

.rjc-page .rjc-mission-image-wrap {
  max-width: 520px;   /* the image's real width, so it is not blown up and blurry */
  margin: 0 auto;
}

.rjc-page .rjc-mission img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

/* Anchor links (Learn More, Browse Resources) shouldn't hide under a sticky site header */
#mission, #resources, #join, #gallery { scroll-margin-top: 100px; }

/*=====================================
  RESOURCES PAGE ADDITIONS
=====================================*/

.rjc-hero-compact { min-height: auto; padding: 150px 0 120px; }
.rjc-hero-compact h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; }

.rjc-card-resource { display: flex; flex-direction: column; align-items: flex-start; }
.rjc-card-resource .rjc-card-link { margin-top: auto; }
.rjc-card-resource p { margin-bottom: 1.5rem; }

.rjc-section-dark .rjc-event-tag { color: var(--accent); }

.rjc-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .rjc-hero-compact { padding: 110px 0 90px; }
}

/*=====================================
  READABILITY SAFEGUARDS (keep at the very bottom)
  The org theme can restyle text inside cards, so these are deliberately specific.
=====================================*/

.rjc-page .rjc-section-dark .rjc-card h3,
.rjc-page .rjc-section-dark .rjc-card p,
.rjc-page .rjc-section-dark .rjc-card li { color: #ffffff !important; }

.rjc-page .rjc-section-dark .rjc-section-header p { color: rgba(255,255,255,.85) !important; }
.rjc-page .rjc-hero p { color: rgba(255,255,255,.95) !important; }
.rjc-page .rjc-cta p  { color: #ffffff !important; }/* End custom CSS */