/*
Theme Name:  SVDP St. Paul's Conference
Theme URI:   https://stpaulsvdp.org
Author:      St. Paul's SVDP Conference
Author URI:  https://stpaulsvdp.org
Description: Custom theme for the Society of St. Vincent de Paul, St. Paul's Conference, St. Petersburg FL. Established 1931.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: svdp-stpaul
Tags:        nonprofit, catholic, custom-theme
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Brand Colors */
  --svdp-blue:        #005CB9;
  --svdp-blue-dark:   #01518F;
  --svdp-navy:        #133049;
  --svdp-deep:        #0a1e30;
  --svdp-gold:        #c9a84c;
  --svdp-gold-lt:     #e8d49a;
  --svdp-gold-faint:  rgba(201, 168, 76, 0.09);

  /* Portal Colors (teal shift) */
  --svdp-teal:        #0f7c6e;
  --svdp-teal-dark:   #0a5c52;
  --svdp-teal-deep:   #062e29;
  --svdp-teal-lt:     #e0f4f1;
  --svdp-teal-mid:    rgba(15, 124, 110, 0.10);

  /* Neutral Colors */
  --svdp-cream:       #f7f4ef;
  --svdp-paper:       #fdfbf8;
  --svdp-white:       #ffffff;
  --svdp-text:        #1c2b3a;
  --svdp-muted:       #5e7080;
  --svdp-rule:        rgba(201, 168, 76, 0.22);

  /* Typography */
  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'Source Sans 3', sans-serif;

  /* Spacing */
  --section-pad:      68px;
  --container-max:    900px;
  --portal-max:       980px;
}

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--svdp-text);
  background: var(--svdp-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--svdp-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--svdp-blue-dark);
}

ul, ol {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY GLOBALS
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--svdp-navy);
  line-height: 1.2;
}

h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--svdp-muted);
  margin-bottom: 16px;
}

p:last-child { margin-bottom: 0; }

em { font-style: italic; }

strong { font-weight: 700; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section--cream  { background: var(--svdp-cream); }
.section--white  { background: var(--svdp-white); }
.section--paper  { background: var(--svdp-paper); }
.section--navy   { background: var(--svdp-navy); }
.section--deep   { background: var(--svdp-deep); }
.section--blue   { background: var(--svdp-blue); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* ============================================================
   SECTION LABELS / EYEBROWS
   ============================================================ */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--svdp-blue);
  margin-bottom: 10px;
  display: block;
}

.eyebrow--gold  { color: var(--svdp-gold); }
.eyebrow--white { color: rgba(255, 255, 255, 0.5); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn--blue {
  background: var(--svdp-blue);
  color: #fff;
}
.btn--blue:hover {
  background: #0050a0;
  color: #fff;
}

.btn--navy {
  background: var(--svdp-navy);
  color: #fff;
}
.btn--navy:hover {
  background: var(--svdp-deep);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--svdp-navy);
}
.btn--white:hover {
  opacity: 0.88;
  color: var(--svdp-navy);
}

.btn--gold-outline {
  background: transparent;
  color: var(--svdp-gold);
  border: 1px solid var(--svdp-gold);
}
.btn--gold-outline:hover {
  background: var(--svdp-gold);
  color: var(--svdp-deep);
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--svdp-deep);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 200;  /* raised above page-tabs (90) and all other sticky elements */
}

.site-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--svdp-gold) 20%, var(--svdp-gold) 80%, transparent);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.nav-brand__logo {
  height: 36px;
  width: auto;
  max-width: 155px;   /* keeps horizontal logo from pushing nav links off */
  object-fit: contain;
  /* Modern-Logo-White is already white — no filter needed */
}

.nav-brand__sep {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}

.nav-brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.nav-brand__sub {
  font-size: 11px;
  font-weight: 300;
  color: var(--svdp-gold-lt);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 11px;
  height: 66px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.nav-links a:hover,
.nav-links a.current-menu-item {
  color: #fff;
  border-bottom-color: var(--svdp-gold);
}

.nav-links .nav-donate {
  margin-left: 6px;
  border: 1px solid var(--svdp-gold);
  color: var(--svdp-gold);
  border-radius: 2px;
  padding: 0 14px;
  font-weight: 700;
}

.nav-links .nav-donate:hover {
  background: var(--svdp-gold);
  color: var(--svdp-deep);
  border-bottom-color: transparent;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--svdp-deep);
  padding: 52px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero--compact {
  padding: 28px 0 30px;
}
.page-hero--compact .page-hero__title { font-size: clamp(22px, 3vw, 32px); }
.page-hero--compact .page-hero__sub  { font-size: 14px; margin-top: 8px; }

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--svdp-gold) 30%, var(--svdp-gold) 70%, transparent);
}

.page-hero__wm {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  opacity: 0.08;  /* slightly more visible since logo is genuinely white */
  pointer-events: none;
}

.page-hero__breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero__breadcrumb::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.page-hero__breadcrumb span { color: var(--svdp-gold); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero__title em {
  color: var(--svdp-gold);
  font-style: italic;
  font-weight: 700;
}

.page-hero__sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.58);
  max-width: 520px;
  line-height: 1.75;
}

/* ============================================================
   IN-PAGE TAB NAVIGATION
   ============================================================ */
.page-tabs {
  background: var(--svdp-white);
  border-bottom: 1px solid var(--svdp-rule);
  position: sticky;
  top: 66px;
  z-index: 90;
}

.page-tabs__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.page-tab {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--svdp-muted);
  padding: 14px 18px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  display: block;
  white-space: nowrap;
}

.page-tab:hover,
.page-tab.active {
  color: var(--svdp-blue);
  border-bottom-color: var(--svdp-blue);
}

/* ============================================================
   GOLD RULE DIVIDER
   ============================================================ */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.gold-rule::before,
.gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--svdp-rule);
}

/* ============================================================
   CARDS
   ============================================================ */
.icon-card {
  background: var(--svdp-paper);
  padding: 28px 20px;
  border-right: 1px solid var(--svdp-rule);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.icon-card:last-child { border-right: none; }

.icon-card:hover { background: var(--svdp-cream); }

.icon-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.icon-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--svdp-navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

.icon-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--svdp-muted);
  margin: 0;
}

/* ============================================================
   PULL QUOTE / BLOCKQUOTE
   ============================================================ */
.pull-quote {
  background: var(--svdp-navy);
  border-left: 3px solid var(--svdp-gold);
  padding: 22px 22px 22px 20px;
  margin-top: 28px;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 10px;
}

.pull-quote cite {
  font-size: 11px;
  font-style: normal;
  color: var(--svdp-gold);
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ============================================================
   STEP LISTS
   ============================================================ */
.step-list {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--svdp-rule);
}

.step:first-child { border-top: 1px solid var(--svdp-rule); }

.step__num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--svdp-rule);
  flex-shrink: 0;
  width: 28px;
  line-height: 1;
  padding-top: 2px;
}

.step__body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--svdp-navy);
  margin-bottom: 4px;
}

.step__body p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--svdp-muted);
  margin: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--svdp-blue);
}

.stats-bar__inner {
  display: flex;
  max-width: 700px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.stat-item:last-child { border-right: none; }

.stat-item__num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--svdp-gold-lt);
  line-height: 1;
}

.stat-item__num sup {
  font-size: 16px;
  vertical-align: super;
}

.stat-item__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--svdp-deep);
}

.footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 44px 2rem 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand__logo {
  height: 52px;      /* circular seal looks better slightly larger in footer */
  width: auto;
  /* SVdP-logo-white.png is already white — no filter needed */
  opacity: 0.65;
  margin-bottom: 12px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}

.footer-brand p {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-brand__quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--svdp-gold);
  font-size: 12.5px;
  margin-top: 12px;
  display: block;
  line-height: 1.5;
}

.footer-col__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svdp-gold);
  margin-bottom: 12px;
  display: block;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  margin-bottom: 7px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.24);
}

.footer-badge {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 3px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.26);
}

.portal-strip {
  background: var(--svdp-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 2rem;
  text-align: right;
}

.portal-strip a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--svdp-gold-lt);
  text-decoration: none;
  transition: color 0.2s;
}

.portal-strip a:hover { color: var(--svdp-gold); }

/* ============================================================
   CONTACT CARDS
   ============================================================ */
.contact-card {
  background: var(--svdp-white);
  padding: 28px 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  align-items: center;
  transition: background 0.2s;
  border-bottom: 1px solid var(--svdp-rule);
}

.contact-card:last-child { border-bottom: none; }
.contact-card:hover { background: var(--svdp-cream); }

.contact-card__icon {
  width: 52px;
  height: 52px;
  background: var(--svdp-navy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--svdp-blue);
  margin-bottom: 5px;
  display: block;
}

.contact-card__value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--svdp-navy);
  margin-bottom: 4px;
  line-height: 1.2;
  display: block;
}

.contact-card__value a {
  color: var(--svdp-navy);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card__value a:hover { color: var(--svdp-blue); }

.contact-card__note {
  font-size: 13px;
  color: var(--svdp-muted);
  line-height: 1.6;
}

/* ============================================================
   RESPONSE NOTICE
   ============================================================ */
.response-notice {
  background: var(--svdp-gold-faint);
  border: 1px solid var(--svdp-rule);
  border-left: 3px solid var(--svdp-gold);
  padding: 14px 18px;
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--svdp-text);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--svdp-rule);
}

.faq-item:first-child { border-top: 1px solid var(--svdp-rule); }

.faq-item__q {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--svdp-navy);
  margin-bottom: 6px;
}

.faq-item__a {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--svdp-muted);
}

/* ============================================================
   PROGRAMS LIST
   ============================================================ */
.prog-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--svdp-rule);
  border: 1px solid var(--svdp-rule);
}

.prog-item {
  background: var(--svdp-paper);
  display: grid;
  grid-template-columns: 64px 1fr;
  transition: background 0.2s;
}

.prog-item:hover { background: var(--svdp-cream); }

.prog-item__icon-col {
  background: var(--svdp-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.prog-item__body { padding: 22px 24px; }

.prog-item__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--svdp-gold);
  background: var(--svdp-gold-faint);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.prog-item__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--svdp-navy);
  margin-bottom: 6px;
}

.prog-item__desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--svdp-muted);
  margin: 0;
}

/* ============================================================
   ANIMATED COUNTERS
   ============================================================ */
.counter { display: inline; }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
    background: var(--svdp-deep);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    min-height: 490px;
}

.hero__left {
    padding: 68px 3rem 68px 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    border-right: 1px solid rgba(201, 168, 76, 0.14);
}

.hero__right {
    padding: 68px 2.5rem 68px 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero__watermark {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    opacity: 0.07;
    pointer-events: none;
}

.hero__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--svdp-gold);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero__eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--svdp-gold);
}

.hero__quote-mark {
    font-family: var(--font-display);
    font-size: 100px;
    line-height: 1;
    color: var(--svdp-gold);
    opacity: 0.14;
    margin-bottom: -20px;
    margin-left: -4px;
    display: block;
}

.hero__quote {
    font-family: var(--font-display);
    font-size: clamp(19px, 2.3vw, 27px);
    font-style: italic;
    color: #fff;
    line-height: 1.57;
    margin-bottom: 22px;
    border: none;
    padding: 0;
    background: none;
}

.hero__attribution {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 300;
    color: var(--svdp-gold-lt);
    letter-spacing: 0.05em;
}

.hero__attribution::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--svdp-gold);
    flex-shrink: 0;
}

.hero__attribution strong { font-weight: 700; color: var(--svdp-gold); }

.hero__conf-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--svdp-gold);
    margin-bottom: 11px;
}

.hero__conf-name {
    font-family: var(--font-display);
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero__conf-name span { color: var(--svdp-gold); }

.hero__conf-sub {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
    margin-bottom: 26px;
    border-left: 2px solid rgba(201, 168, 76, 0.25);
    padding-left: 11px;
    line-height: 1.7;
}

.hero__conf-sub strong { color: rgba(255, 255, 255, 0.78); }

.hero__mission {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 330px;
}

.hero__btns {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
}

/* ============================================================
   HOMEPAGE — FOUNDING SECTION
   ============================================================ */
.founding {
    position: relative;
    overflow: hidden;
}

.founding__bg-year {
    position: absolute;
    right: -8px;
    bottom: -24px;
    font-family: var(--font-display);
    font-size: 200px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.022);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.founding__grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 52px;
    align-items: start;
    position: relative;
}

.founding__year-col { text-align: center; }

.founding__year {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    color: var(--svdp-gold);
    line-height: 1;
    margin-bottom: 4px;
}

.founding__est {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 18px;
}

.founding__rule {
    width: 36px;
    height: 1px;
    background: var(--svdp-rule);
    margin: 0 auto;
}

.founding__text-col h2 {
    color: #fff;
    margin-bottom: 16px;
}

.founding__text-col h2 em { color: var(--svdp-gold-lt); }

.founding__text-col p {
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 16px;
}

.prayer-block {
    margin-top: 22px;
    border-left: 2px solid rgba(201, 168, 76, 0.3);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
}

.prayer-block p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 10px;
}

.prayer-block cite {
    font-size: 12.5px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ============================================================
   HOMEPAGE — ICON GRID (4 col ministry cards)
   ============================================================ */
.icon-grid {
    border: 1px solid var(--svdp-rule);
    background: var(--svdp-rule);
    margin-top: 44px;
}

.section-lead {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--svdp-muted);
    max-width: 510px;
    margin-bottom: 0;
}

/* ============================================================
   HOMEPAGE — MISSION BANNER
   ============================================================ */
.mission-banner {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.mission-banner::after {
    display: none;
}

.mission-banner__seal {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    opacity: 0.07;
    pointer-events: none;
}

.mission-banner__quote {
    font-family: var(--font-display);
    font-size: clamp(16px, 2.2vw, 23px);
    font-style: italic;
    color: #fff;
    line-height: 1.65;
    margin-bottom: 12px;
    border: none;
    padding: 0;
    background: none;
}

.mission-banner__cite {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 20px;
}

.mission-banner__sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.8;
    font-weight: 300;
}

.mission-banner__sub strong { color: rgba(255, 255, 255, 0.68); }

/* ============================================================
   HOMEPAGE — CTA SPLIT
   ============================================================ */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.cta-split__panel {
    padding: 54px 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
}

.cta-split__panel > * { max-width: 400px; }
.cta-split__panel .btn { align-self: flex-start; margin-top: 22px; display: inline-block; }

.cta-split__panel--need { background: var(--svdp-cream); }
.cta-split__panel--give { background: var(--svdp-blue); }

.cta-split__inner { max-width: 400px; }

.cta-split__panel--need h2 { font-size: 22px; margin-bottom: 10px; }
.cta-split__panel--give h2 { font-size: 22px; color: #fff; margin-bottom: 10px; }

.cta-split__panel--need p { font-size: 13.5px; margin-bottom: 22px; }
.cta-split__panel--give p { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); margin-bottom: 22px; }

/* ============================================================
   DONATE PAGE SPECIFIC
   ============================================================ */
.donate-panel {
    background: var(--svdp-white);
    border: 1px solid var(--svdp-rule);
    border-top: 3px solid var(--svdp-gold);
    padding: 36px 32px;
}

.donate-panel__label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--svdp-blue);
    margin-bottom: 8px;
    display: block;
}

.donate-panel__title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--svdp-navy);
    margin-bottom: 6px;
}

.donate-panel__sub {
    font-size: 13.5px;
    color: var(--svdp-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

#donate-button-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 48px;
    margin-bottom: 14px;
}

.donate-panel__secure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--svdp-muted);
    margin-top: 4px;
}

.donate-panel__divider {
    height: 1px;
    background: var(--svdp-rule);
    margin: 22px 0;
}

.donate-panel__alt-note {
    font-size: 12px;
    color: var(--svdp-muted);
    line-height: 1.7;
}

.donate-panel__alt-note strong { color: var(--svdp-navy); font-size: 13px; display: block; margin-bottom: 6px; }

/* Ways to give */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 40px;
    background: var(--svdp-rule);
    border: 1px solid var(--svdp-rule);
    align-items: stretch;
}

.way-card {
    background: var(--svdp-paper);
    padding: 28px 22px;
    border-top: 3px solid transparent;
    transition: background 0.2s;
}

.way-card:hover { background: var(--svdp-white); }
.way-card--highlight { border-top-color: var(--svdp-gold); }

.way-card__num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 900;
    color: var(--svdp-rule);
    line-height: 1;
    margin-bottom: 12px;
}

.way-card h3 { font-size: 18px; font-weight: 700; color: var(--svdp-navy); margin-bottom: 8px; }
.way-card p { font-size: 13.5px; line-height: 1.75; color: var(--svdp-muted); margin: 0; }

.way-card__detail {
    margin-top: 14px;
    background: var(--svdp-cream);
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--svdp-muted);
}

.way-card__detail strong { color: var(--svdp-navy); display: block; margin-bottom: 2px; }

/* Transparency section */
.trans-body { font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, 0.58); font-weight: 300; margin-bottom: 14px; }

.trans-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(201, 168, 76, 0.15);
}

.trans-stat {
    background: var(--svdp-deep);
    padding: 22px 18px;
    text-align: center;
}

.trans-stat__num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--svdp-gold-lt);
    line-height: 1;
    margin-bottom: 6px;
}

.trans-stat__num sup { font-size: 16px; vertical-align: super; }

.trans-stat__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.tax-note {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 16px 18px;
}

.tax-note p { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.45); margin: 0; }
.tax-note strong { color: rgba(255, 255, 255, 0.7); }

.trans-contact-box {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 18px;
}

.trans-contact-box__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--svdp-gold);
    margin-bottom: 10px;
    display: block;
}

.trans-contact-box p { font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.48); margin: 0; }
.trans-contact-box a { color: var(--svdp-gold-lt); }

/* ============================================================
   GET HELP — AREA BOX
   ============================================================ */
.area-box {
    background: var(--svdp-white);
    border: 1px solid var(--svdp-rule);
    border-top: 3px solid var(--svdp-blue);
    padding: 28px 28px;
}

.area-note {
    margin-top: 18px;
    background: var(--svdp-cream);
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--svdp-muted);
}

.area-note strong { color: var(--svdp-navy); }

/* Contact cards wrapper */
.contact-cards-wrapper {
    border: 1px solid var(--svdp-rule);
    margin-bottom: 16px;
}

/* ============================================================
   PORTAL-SPECIFIC STYLES
   ============================================================ */
.portal-body {
  background: var(--svdp-paper);
}

.portal-nav {
  background: var(--svdp-teal-deep);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.portal-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--svdp-teal) 20%, var(--svdp-gold) 60%, transparent);
}

.portal-nav__brand { display: flex; align-items: center; gap: 11px; }

.portal-nav__logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  /* SVdP-Modern-Logo-White.png is already white — no filter needed */
}

.portal-nav__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.portal-nav__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svdp-teal-lt);
  opacity: 0.65;
  display: block;
}

.portal-nav__user { display: flex; align-items: center; gap: 10px; }

.portal-nav__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--svdp-teal);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.portal-nav__username {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.portal-nav__logout {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 11px;
  border-radius: 2px;
  transition: all 0.2s;
}

.portal-nav__logout:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.welcome-bar {
  background: var(--svdp-teal-dark);
  padding: 14px 1.5rem;
}

.welcome-bar__inner {
  max-width: var(--portal-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.welcome-bar__greeting {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.welcome-bar__greeting strong { color: #fff; }

.welcome-bar__date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ServWare hero button */
.servware-hero {
  background: var(--svdp-teal-deep);
  padding: 20px 1.5rem;
}

.servware-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--svdp-teal);
  padding: 18px 24px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
  max-width: 420px;
}

.servware-btn:hover { background: var(--svdp-teal-dark); }

.servware-btn__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.servware-btn__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 2px;
}

.servware-btn__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.servware-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
}

/* Portal tab bar */
.portal-tabs {
  background: var(--svdp-white);
  border-bottom: 1px solid var(--svdp-rule);
}

.portal-tabs__inner {
  max-width: var(--portal-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  overflow-x: auto;
}

.portal-tab {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--svdp-muted);
  padding: 13px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  text-decoration: none;
  display: block;
}

.portal-tab:hover,
.portal-tab.active {
  color: var(--svdp-teal);
  border-bottom-color: var(--svdp-teal);
}

/* ============================================================
   NAV PORTAL BUTTON & PUBLIC SITE LINK
   ============================================================ */
.nav-portal-btn {
    color: rgba(15, 124, 110, 0.9) !important;
    font-size: 12.5px !important;
    margin-left: 4px;
    padding-left: 14px !important;
    letter-spacing: 0.05em !important;
}
.nav-portal-btn:hover,
.nav-portal-btn.current-menu-item {
    color: #5ef0dc !important;
    border-bottom-color: rgba(15,124,110,.6) !important;
}

/* Portal nav — return to public site */
.portal-nav__public-link {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-right: 4px;
    transition: color .2s;
}
.portal-nav__public-link:hover { color: rgba(255, 255, 255, 0.85); }

/* ============================================================
   RESPONSIVE — COMPLETE MOBILE RULES
   All breakpoints in one place for clarity.
   768px = tablet/mobile nav breakpoint
   600px = small tablet / large phone
   480px = standard phone
   420px = small phone
   ============================================================ */

@media (max-width: 768px) {

    /* --- NAV --- */
    .nav-links {
        display: none;
        position: absolute;
        top: 66px; left: 0; right: 0;
        background: var(--svdp-deep);
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid rgba(255,255,255,.1);
        z-index: 199;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        height: auto;
        padding: 14px 2rem;
        border-bottom: none;
        border-top: 1px solid rgba(255,255,255,.05);
        font-size: 14px !important;
    }
    .nav-links .nav-donate {
        margin: 8px 2rem;
        border-radius: 2px;
        text-align: center;
        justify-content: center;
    }
    .nav-portal-btn {
        border-top: 1px solid rgba(255,255,255,.05) !important;
        color: rgba(15,200,160,.8) !important;
        padding-left: 2rem !important;
        font-size: 14px !important;
        margin-left: 0;
    }
    .nav-toggle { display: block; }

    /* --- ICON CARDS — remove side borders on mobile, stack to 2-col --- */
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .icon-card { border-right: none; border-bottom: 1px solid var(--svdp-rule); }
    .icon-card:last-child { border-bottom: none; }

    /* --- PAGE TABS — horizontal scroll --- */
    .page-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .page-tabs__inner { padding: 0 1rem; width: max-content; min-width: 100%; }

    /* --- SERVWARE HERO — stack buttons vertically --- */
    .servware-hero > div { flex-direction: column; }

    /* --- GRIDS --- */
    .grid-2 { grid-template-columns: 1fr; gap: 36px; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; }
    .cta-split { grid-template-columns: 1fr; }
    .contact-split-grid { grid-template-columns: 1fr; }
    .ways-grid { grid-template-columns: 1fr; }
    .trans-stats { grid-template-columns: 1fr 1fr; }
    .founding__grid { grid-template-columns: 1fr; gap: 24px; }
    .founding__year-col { text-align: left; }
    .cta-split__inner { max-width: 100%; }

    /* --- DONATE --- */
    .donate-panel { padding: 28px 20px; }
    .donate-split { grid-template-columns: 1fr; }
    .ways-grid { grid-template-columns: 1fr; }
    .way-card { padding: 20px 18px !important; }
    .way-card__num { font-size: 22px; margin-bottom: 8px; }
    .way-card h3 { font-size: 16px; }
    .way-card__detail { padding: 12px 14px; font-size: 13px; }
    #ways-to-give { padding-top: 24px !important; padding-bottom: 24px !important; }

    /* --- CONTACT --- */
    .contact-card { grid-template-columns: 44px 1fr; gap: 16px; }

    /* --- HERO --- */
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero__left { border-right: none; border-bottom: 1px solid rgba(201,168,76,.14); padding: 48px 1.5rem; }
    .hero__right { padding: 48px 1.5rem; }
    .hero__watermark { display: none; }
}

@media (max-width: 600px) {

    /* --- ICON CARDS — single column on small phones --- */
    .grid-4 { grid-template-columns: 1fr; }

    /* --- PORTAL NAV --- */
    .portal-nav { height: auto; padding: 10px 1rem; flex-wrap: wrap; gap: 8px; }
    .portal-nav__user { width: 100%; justify-content: flex-end; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.08); }
    .portal-nav__username { display: none; }
    .portal-nav__public-link { font-size: 11px; }
    .welcome-bar__date { display: none; }
    .servware-btn { max-width: 100%; width: 100%; }
    .portal-tabs__inner { padding: 0 .75rem; }

    /* --- STATS BAR --- */
    .stats-bar__inner { flex-wrap: wrap; }
    .stat-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.11); }
    .stat-item:last-child { border-bottom: none; flex: 1 1 100%; }

    /* --- PROG LIST --- */
    .prog-item { grid-template-columns: 48px 1fr; }
    .prog-item__icon-col svg { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
    .page-hero { padding: 40px 0 44px; }
    .hero__left, .hero__right { padding: 44px 1.25rem; }
    .contact-card { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 16px; }
    .contact-card__icon { width: 44px; height: 44px; }
    .contact-card__value { font-size: 17px; }
    .page-hero__title { font-size: 28px; }
    .btn { padding: 12px 18px; font-size: 12px; }
}

@media (max-width: 420px) {
    .hero__btns { width: 100%; }
    .hero__btns .btn { width: 100%; text-align: center; display: block; }
    .cta-split__panel { padding: 44px 1.5rem; }
    .portal-nav__public-link { display: none; } /* Too cramped — bottom link still exists */
}

/* ============================================================
   CONTACT SPLIT CARDS
   ============================================================ */
.contact-split-card {
  padding: 32px 28px;
  border-top: 3px solid var(--svdp-blue);
  background: var(--svdp-navy);
}
.contact-split-card h3 { color: #fff; margin-bottom: 12px; }
.contact-split-card p  { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.contact-split-card .eyebrow { margin-bottom: 10px; }

/* page-hero centered variant */
.page-hero--centered { text-align: center; }
.page-hero--centered .page-hero__breadcrumb { justify-content: center; }

/* transparency seal */
.transparency { position: relative; overflow: hidden; }
.transparency__seal {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 240px;
  opacity: 0.08;
  pointer-events: none;
}
