/* ═══════════════════════════════════════
   NCHA Theme — Main Stylesheet
   National Center of the Haitian Apostolate
═══════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --navy:       #0b1f3a;
  --navy2:      #132d52;
  --gold:       #c8993a;
  --gold2:      #e8b84b;
  --cream:      #faf5ed;
  --warm:       #f3ead6;
  --white:      #fff;
  --gray:       #444;
  --lgray:      #e8e0d0;
  --red:        #b91c1c;
  --redbg:      #fef2f2;
  --amber:      #c07820;
  --amberbg:    #fff7ed;
  --green:      #15693a;
  --greenbg:    #ecfdf5;
  --blue:       #1e40af;
  --bluebg:     #eff6ff;
  --hb:         #00209f;
  --hr:         #d21034;
  --sh:         0 2px 12px rgba(11,31,58,.08);
  --sha:        0 8px 32px rgba(11,31,58,.14);
  --r:          10px;
  --tr:         all .22s ease;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; }

/* ── PAGE VISIBILITY (WP handles via page.php routing) ── */
#page-wrap { min-height: 50vh; }

/* ── TPS BAR ── */
#tps-bar {
  background: var(--red);
  color: #fff;
  padding: .5rem 3rem .5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  font-size: .78rem;
  font-weight: 600;
  position: relative;
  z-index: 300;
  flex-wrap: wrap;
  text-align: center;
}
#tps-bar a { color: #fecaca; text-decoration: underline; }
.tps-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff; flex-shrink: 0;
  animation: blink 1.2s infinite;
}
.tps-close {
  position: absolute; right: .8rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 1rem; padding: .2rem .4rem;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ── NAV ── */
#navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,31,58,.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,153,58,.15);
  height: 70px;
  transition: box-shadow .3s;
}
#navbar.sc { box-shadow: 0 4px 28px rgba(0,0,0,.35); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.nlogo {
  display: flex; align-items: center; gap: .5rem;
  cursor: pointer; text-decoration: none; flex-shrink: 0;
}
.nlogo-text { line-height: 1.2; }
.nlogo-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold); font-size: 1.05rem; font-weight: 700; display: block; white-space: nowrap;
}
.nlogo-sub {
  display: block; color: rgba(255,255,255,.38);
  font-family: 'DM Sans', sans-serif; font-size: .54rem;
  letter-spacing: .22em; text-transform: uppercase; font-weight: 400; margin-top: .1rem;
}
.nlinks { display: flex; align-items: center; gap: .15rem; }
.nb, a.nb {
  padding: .42rem .78rem; border-radius: 5px;
  color: rgba(255,255,255,.72);
  font-size: .76rem; font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase;
  background: none; border: none;
  transition: var(--tr); white-space: nowrap; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.nb:hover, a.nb:hover, .nb.act, a.nb.act { color: var(--gold2); background: rgba(200,153,58,.1); }
.nb.don, a.nb.don {
  background: var(--gold); color: var(--navy);
  font-weight: 700; margin-left: .5rem; border-radius: 5px;
}
.nb.don:hover, a.nb.don:hover { background: var(--gold2); color: var(--navy); }

/* Nav menu items */
.nav-menu-items { display: flex; align-items: center; gap: .15rem; }
.nav-menu-items li { position: relative; }
.nav-menu-items a {
  padding: .42rem .78rem; border-radius: 5px;
  color: rgba(255,255,255,.72); font-size: .76rem; font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase;
  transition: var(--tr); white-space: nowrap; display: block;
}
.nav-menu-items a:hover { color: var(--gold2); background: rgba(200,153,58,.1); }
.nav-menu-items .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: rgba(11,31,58,.99); backdrop-filter: blur(20px);
  border: 1px solid rgba(200,153,58,.2); border-radius: 8px;
  padding: .5rem; min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,.4); z-index: 300;
}
.nav-menu-items li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu-items .sub-menu a {
  display: block; width: 100%; text-align: left;
  padding: .58rem .9rem; border-radius: 5px;
  color: rgba(255,255,255,.72); font-size: .8rem;
}
.nav-more-btn {
  padding: .42rem .78rem; border-radius: 5px;
  color: rgba(255,255,255,.65); font-size: .76rem; font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: .3rem;
  transition: var(--tr); font-family: 'DM Sans', sans-serif;
}
.nav-more-btn:hover { color: var(--gold2); background: rgba(200,153,58,.1); }
.nav-more { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(11,31,58,.99); backdrop-filter: blur(20px);
  border: 1px solid rgba(200,153,58,.2); border-radius: 8px;
  padding: .5rem; min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s ease; box-shadow: 0 8px 32px rgba(0,0,0,.4); z-index: 300;
}
.nav-more:hover .nav-dropdown, .nav-dropdown.open { opacity: 1; visibility: visible; transform: none; }
.ndd-item {
  display: block; width: 100%; text-align: left;
  padding: .58rem .9rem; border-radius: 5px;
  color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 500;
  background: none; border: none; cursor: pointer;
  transition: var(--tr); font-family: 'DM Sans', sans-serif; white-space: nowrap;
}
.ndd-item:hover { background: rgba(200,153,58,.12); color: var(--gold2); }
.ndd-sep { height: 1px; background: rgba(255,255,255,.08); margin: .35rem .5rem; }
.hbg {
  display: none; flex-direction: column; gap: 5px;
  padding: 5px; background: none; border: none; cursor: pointer;
}
.hbg span {
  width: 22px; height: 2px; background: rgba(255,255,255,.75);
  border-radius: 2px; transition: var(--tr); display: block;
}
.hbg.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mmenu {
  display: none; position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: rgba(11,31,58,.99);
  border-top: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  flex-direction: column; gap: .2rem;
  z-index: 198; overflow-y: auto;
}
.mmenu.open { display: flex; }
.mmenu .nb, .mmenu a.nb {
  text-align: left; padding: .75rem 1rem;
  font-size: .85rem; border-radius: 6px; color: rgba(255,255,255,.75);
}
.mmenu .nb.don, .mmenu a.nb.don {
  background: var(--gold); color: var(--navy);
  margin-top: .5rem; text-align: center; justify-content: center;
}
.mmenu-sep { height: 1px; background: rgba(255,255,255,.08); margin: .5rem 0; }

/* ── SHARED LAYOUT ── */
.ctn { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.sec { padding: 3.5rem 0; }
.ey {
  font-size: .66rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .6rem;
}
.h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.08;
}
.h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15;
}
.h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; }
.lead { font-size: 1rem; color: var(--gray); line-height: 1.8; max-width: 600px; }
.dv { width: 44px; height: 3px; background: var(--gold); border-radius: 2px; margin: 1rem 0; }
.tw { color: #fff; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.6rem; border-radius: 5px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 700;
  letter-spacing: .02em; transition: var(--tr); white-space: nowrap; cursor: pointer;
  text-decoration: none;
}
.bg { background: var(--gold); color: var(--navy); }
.bg:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,153,58,.35); }
.bn { background: var(--navy); color: #fff; }
.bn:hover { background: var(--navy2); transform: translateY(-2px); }
.bo { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.bo:hover { background: var(--gold); color: var(--navy); }
.bw { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.bw:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.bsm { padding: .45rem 1rem; font-size: .77rem; }
.blg { padding: .9rem 2rem; font-size: .92rem; }

/* ── BADGES ── */
.bdge {
  display: inline-block; font-size: .6rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .18rem .6rem; border-radius: 3px;
}
.bdr { background: var(--redbg); color: var(--red); }
.bdg { background: rgba(200,153,58,.15); color: var(--gold); }
.bdgn { background: var(--greenbg); color: var(--green); }
.bdb { background: var(--bluebg); color: var(--blue); }
.bda { background: var(--amberbg); color: var(--amber); }
.bdn { background: var(--navy); color: #fff; }

/* ── CARDS ── */
.card { background: #fff; border-radius: var(--r); border: 1px solid var(--lgray); box-shadow: var(--sh); }

/* ── HERO ── */
.hero {
  background: linear-gradient(145deg,#071526 0%,#0b1f3a 50%,#132d52 100%);
  min-height: 88vh; display: flex; align-items: center;
  padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .045;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 49px,rgba(200,153,58,.7)49px,rgba(200,153,58,.7)50px),
    repeating-linear-gradient(90deg,transparent,transparent 49px,rgba(200,153,58,.7)49px,rgba(200,153,58,.7)50px);
}
.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle,rgba(200,153,58,.07)0%,transparent 65%); pointer-events: none;
}
.hst {
  position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg,var(--hb)50%,var(--hr)50%);
}
.hgrid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.htit { color: #fff; margin-bottom: 1.4rem; }
.htit em { color: var(--gold2); font-style: italic; }
.hsub { color: rgba(255,255,255,.78); margin-bottom: 2rem; }
.hbtns { display: flex; gap: .9rem; flex-wrap: wrap; }
.htr { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(200,153,58,.18); flex-wrap: wrap; }
.htr-item { display: flex; flex-direction: column; }
.tn { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--gold2); display: block; line-height: 1; }
.tl { font-size: .68rem; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .1em; margin-top: .12rem; }

/* Hero TPS card */
.hac { background: rgba(255,255,255,.04); backdrop-filter: blur(10px); border: 1px solid rgba(200,153,58,.28); border-radius: 11px; overflow: hidden; }
.hach { background: var(--red); padding: .8rem 1.1rem; display: flex; align-items: center; gap: .5rem; }
.hach span { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.tp { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.hacb { padding: 1.3rem; }
.hacd { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.hact { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: .6rem; }
.hacx { font-size: .8rem; color: rgba(255,255,255,.78); line-height: 1.65; margin-bottom: .9rem; }
.hacs { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; background: rgba(255,255,255,.05); border-radius: 6px; border: 1px solid rgba(200,153,58,.18); margin-bottom: .9rem; }
.hacs-lbl { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.hacs-val { font-size: .86rem; font-weight: 700; color: #86efac; }

/* TPS Banner */
.tpsbanner { background: linear-gradient(90deg,#0b1f3a,#132d52); cursor: pointer; }
.tpsbanner-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem 0; flex-wrap: wrap; }
.tpstag { background: var(--red); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 3px; display: flex; align-items: center; gap: .35rem; white-space: nowrap; flex-shrink: 0; }
.tpssumm { flex: 1; min-width: 220px; font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.85); line-height: 1.45; }
.tpspills { display: flex; gap: .5rem; flex-wrap: wrap; flex-shrink: 0; }
.tpspill { font-size: .68rem; font-weight: 700; padding: .28rem .7rem; border-radius: 20px; }
.pp-g { background: rgba(134,239,172,.12); border: 1px solid rgba(134,239,172,.28); color: #86efac; }
.pp-a { background: rgba(232,184,75,.1); border: 1px solid rgba(232,184,75,.28); color: var(--gold2); }

/* Mission strip */
.mstrip { background: var(--navy); padding: 2.2rem 0; }
.msi { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.mst { flex: 1; min-width: 280px; }
.mst p { color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.75; }
.mpls { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.mpl { text-align: center; }
.mpl .ic { font-size: 1.6rem; margin-bottom: .3rem; }
.mpl span { font-size: .68rem; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .1em; display: block; }

/* About grid */
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.abadge { position: absolute; top: -1.4rem; right: 1.5rem; background: var(--gold); color: var(--navy); width: 78px; height: 78px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .64rem; font-weight: 800; text-align: center; line-height: 1.3; box-shadow: 0 6px 20px rgba(200,153,58,.4); }
.apl { background: var(--warm); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; border-radius: 0 6px 6px 0; transition: var(--tr); }
.apl:hover { transform: translateX(4px); }
.apl .ic { font-size: 1.2rem; margin-bottom: .3rem; }
.apl h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.apl p { font-size: .74rem; color: var(--gray); margin-top: .15rem; line-height: 1.45; }
.apls { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.8rem; }

/* Programs grid */
.pgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 2rem; }
.pc { background: #fff; border-radius: var(--r); border: 1px solid var(--lgray); padding: 1.6rem; transition: var(--tr); }
.pc:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--sha); }
.pic { width: 48px; height: 48px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .9rem; }
.pc h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.pc p { font-size: .79rem; color: var(--gray); line-height: 1.62; }

/* Events strip */
.estrip { background: var(--warm); padding: 3rem 0; }
.evlist { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.8rem; }
.evi { background: #fff; border-radius: 8px; border: 1px solid var(--lgray); display: grid; grid-template-columns: 66px 1fr auto; gap: 1.1rem; align-items: center; padding: 1rem 1.3rem; transition: var(--tr); }
.evi:hover { border-color: var(--gold); transform: translateX(4px); }
.evdt { text-align: center; background: var(--navy); border-radius: 6px; padding: .45rem .25rem; }
.evdy { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1; }
.evmo { font-size: .52rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-top: .1rem; }
.evi h4 { font-weight: 700; font-size: .88rem; }
.evi p { font-size: .76rem; color: var(--gray); margin-top: .12rem; }

/* Donate */
.dcta { background: linear-gradient(135deg,var(--navy),var(--navy2)); padding: 3.5rem 0; text-align: center; }
.damt { display: flex; gap: .65rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.da { background: transparent; border: 1.5px solid rgba(200,153,58,.38); color: #fff; padding: .5rem 1.2rem; border-radius: 4px; font-size: .88rem; font-weight: 600; font-family: 'DM Sans', sans-serif; transition: var(--tr); }
.da:hover, .da.act { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.dtax { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: .9rem; }

/* Prayer strip */
.prayer-strip { background: linear-gradient(135deg,#3a1a6e,#5b2d8e,#2d1060); padding: 3rem 0; }
.prayer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.prayer-icon { font-size: 2.5rem; flex-shrink: 0; }
.prayer-text { flex: 1; }
.prayer-text p.ey { margin-bottom: .3rem; }
.prayer-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: .3rem; }
.prayer-text p { font-size: .85rem; color: rgba(255,255,255,.82); line-height: 1.55; }

/* Newsletter */
.newsletter-strip { background: var(--gold); padding: 2rem 0; }
.nl-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; flex-wrap: wrap; }
.nl-text h4 { font-size: .95rem; font-weight: 700; color: var(--navy); }
.nl-text p { font-size: .79rem; color: rgba(11,31,58,.78); margin-top: .15rem; }
.nl-form { display: flex; gap: .4rem; }
.nl-form input { padding: .6rem 1rem; border: none; border-radius: 5px; font-family: 'DM Sans', sans-serif; font-size: .85rem; min-width: 220px; background: #fff; outline: none; }
.nl-form button { background: var(--navy); color: #fff; padding: .6rem 1.3rem; border: none; border-radius: 5px; font-weight: 700; font-size: .82rem; cursor: pointer; transition: var(--tr); }
.nl-form button:hover { background: var(--navy2); }

/* Footer */
footer { background: #060f1c; color: rgba(255,255,255,.72); padding: 3.5rem 0 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand { }
.footer-name { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 1.05rem; margin-bottom: .9rem; display: block; }
.footer-brand p { font-size: .8rem; line-height: 1.72; max-width: 260px; }
.footer-flag { display: flex; gap: 4px; align-items: center; margin-top: 1.1rem; }
.footer-flag .flag-b { width: 15px; height: 10px; background: var(--hb); border-radius: 1px; }
.footer-flag .flag-r { width: 15px; height: 10px; background: var(--hr); border-radius: 1px; }
.footer-flag span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-left: .4rem; }
.footer-col h5 { color: #fff; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .8rem; color: rgba(255,255,255,.72); margin-bottom: .52rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem; font-size: .73rem; }
.footer-credit { color: rgba(255,255,255,.3); }

/* Contact page */
.clayout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3.5rem; margin-top: 2.5rem; }
.cii { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.2rem; }
.ciic { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.ciit strong { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: .12rem; }
.ciit p, .ciit a { font-size: .86rem; color: var(--gray); line-height: 1.55; }
.ciit a { color: var(--gold); font-weight: 600; }
.cfc { background: #fff; border-radius: 11px; border: 1px solid var(--lgray); padding: 2.2rem; box-shadow: var(--sha); }
.cftt { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 1.3rem; }
.fg { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.fg label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.fg input, .fg textarea, .fg select { padding: .78rem .95rem; border: 1.5px solid var(--lgray); border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: .875rem; background: var(--cream); color: var(--navy); transition: border-color .2s; outline: none; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--gold); background: #fff; }
.fg textarea { min-height: 105px; resize: vertical; }
.fgr { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.fsuc { background: var(--greenbg); color: var(--green); padding: .9rem 1.1rem; border-radius: 6px; font-size: .86rem; text-align: center; margin-top: .75rem; }

/* FAQ */
.faqg { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 2.2rem; }
.faqi { background: #fff; border-radius: 8px; border: 1px solid var(--lgray); overflow: hidden; transition: border-color .2s; }
.faqi.open { border-color: var(--gold); }
.faqq { padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; cursor: pointer; font-weight: 600; font-size: .85rem; }
.faqq:hover { background: var(--cream); }
.faqtog { width: 24px; height: 24px; border-radius: 50%; background: var(--lgray); border: none; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--tr); }
.faqi.open .faqtog { background: var(--gold); transform: rotate(45deg); }
.faqa { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faqa.open { max-height: 280px; }
.faqai { padding: 0 1.2rem 1rem; font-size: .82rem; color: var(--gray); line-height: 1.68; }

/* Articles grid */
.agrd { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 2.5rem; }
.artc { background: #fff; border-radius: var(--r); border: 1px solid var(--lgray); overflow: hidden; transition: var(--tr); }
.artc:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--sha); }
.artth { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; overflow: hidden; }
.artbd { padding: 1.3rem; }
.artbd h3 { font-size: .92rem; font-weight: 700; line-height: 1.38; margin: .5rem 0 .4rem; }
.artbd p { font-size: .78rem; color: var(--gray); line-height: 1.58; }
.artmt { font-size: .68rem; color: var(--gray); margin-top: .7rem; }

/* Entry content */
.entry-content { font-size: .92rem; line-height: 1.82; color: #444; }
.entry-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; margin: 2rem 0 .6rem; color: var(--navy); }
.entry-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; margin: 1.5rem 0 .4rem; color: var(--navy); }
.entry-content p { margin-bottom: .9rem; }
.entry-content a { color: var(--gold); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.entry-content li { margin-bottom: .3rem; }
.entry-content blockquote { border-left: 3px solid var(--gold); padding: .9rem 1.2rem; background: var(--warm); border-radius: 0 6px 6px 0; margin: 1.5rem 0; font-style: italic; }
.entry-content img { border-radius: 8px; margin: 1.5rem 0; }

/* WP search form */
.search-form { display: flex; gap: .5rem; }
.search-form input[type="search"] { flex: 1; padding: .75rem 1rem; border: 1.5px solid rgba(255,255,255,.2); border-radius: 5px; font-family: 'DM Sans', sans-serif; font-size: .9rem; background: rgba(255,255,255,.1); color: #fff; outline: none; }
.search-form input[type="search"]::placeholder { color: rgba(255,255,255,.5); }
.search-form button { background: var(--gold); color: var(--navy); border: none; padding: .75rem 1.4rem; border-radius: 5px; font-weight: 700; cursor: pointer; }
.search-form button:hover { background: var(--gold2); }

/* Utility */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hgrid, .agrid, .clayout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hgrid .hright { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nlinks { display: none; }
  .hbg { display: flex; }
}
@media (max-width: 768px) {
  .sec { padding: 2.8rem 0; }
  .pgrid, .faqg, .agrd, .apls, .fgr { grid-template-columns: 1fr; }
  .evi { grid-template-columns: 60px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nl-inner { flex-direction: column; align-items: flex-start; }
  .nl-form input { min-width: 0; flex: 1; }
  .prayer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .htr { gap: 1.4rem; }
  .hbtns { flex-direction: column; }
}

/* ── EVENTS PAGE ── */
.events-filter-bar {
  background: var(--warm);
  border-bottom: 1px solid var(--lgray);
  padding: 1rem 0;
  position: sticky;
  top: 70px;
  z-index: 50;
}
.filter-tabs { display: flex; gap: .45rem; flex-wrap: wrap; }
.cal-tab {
  padding: .38rem .9rem; border-radius: 20px;
  border: 1.5px solid var(--lgray); background: #fff;
  color: var(--navy); font-family: 'DM Sans', sans-serif;
  font-size: .75rem; font-weight: 600; cursor: pointer; transition: var(--tr);
}
.cal-tab:hover, .cal-tab.act { background: var(--navy); color: #fff; border-color: var(--navy); }
.evfull { display: flex; flex-direction: column; gap: .9rem; margin-top: 2.2rem; }
.evfi {
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--lgray);
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 1.4rem; align-items: center;
  padding: 1.3rem 1.6rem; transition: var(--tr);
}
.evfi:hover { border-color: var(--gold); transform: translateX(5px); box-shadow: var(--sha); }
.evfdt {
  text-align: center; background: var(--navy);
  border-radius: 7px; padding: .65rem .35rem;
}
.evfdy { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 900; color: #fff; line-height: 1; }
.evfmo { font-size: .55rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.evf-content h4 { font-weight: 700; font-size: .97rem; }
.evf-content h4 a { color: var(--navy); text-decoration: none; }
.evf-content h4 a:hover { color: var(--gold); }
.evf-content .meta { font-size: .78rem; color: var(--gray); margin-top: .18rem; }
.evf-content .desc { font-size: .8rem; color: var(--gray); line-height: 1.58; margin-top: .3rem; }
.evtyp { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .26rem .68rem; border-radius: 3px; white-space: nowrap; }

/* ── SHOP PAGE ── */
.shop-featured-banner {
  background: linear-gradient(135deg, #0b1f3a, #1a3060);
  border-radius: 12px; overflow: hidden; margin-bottom: 2.5rem;
  display: grid; grid-template-columns: 220px 1fr; align-items: center;
}
.shop-feat-img {
  padding: 2.5rem; display: flex; align-items: center; justify-content: center;
  background: rgba(200,153,58,.08); min-height: 180px; font-size: 4rem;
}
.shop-feat-text { padding: 2rem; }
.shop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.shop-card {
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--lgray); overflow: hidden;
  transition: var(--tr);
}
.shop-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--sha); }
.shop-thumb {
  height: 180px; display: flex; align-items: center;
  justify-content: center; font-size: 3.5rem; overflow: hidden;
}
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-body { padding: 1.3rem; }
.shop-body h3 { font-weight: 700; font-size: .93rem; margin-bottom: .28rem; }
.shop-desc { font-size: .79rem; color: #444; line-height: 1.62; margin-bottom: .5rem; }
.shop-price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); margin-top: .4rem; margin-bottom: .75rem; }

/* ── TPS PAGE ── */
.tpshero {
  background: linear-gradient(145deg,#061222,#0b1f3a,#1a2e50);
  padding: 5.5rem 0 4rem; position: relative; overflow: hidden;
}
.tpsgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.tpsscs { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; margin-top: 2.5rem; }
.tpssc {
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--lgray); padding: 1.2rem;
  box-shadow: var(--sh); transition: var(--tr);
}
.tpssc:hover { transform: translateY(-3px); box-shadow: var(--sha); }
.tpssc .lbl { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-bottom: .35rem; }
.tpssc .val { font-size: .9rem; font-weight: 700; line-height: 1.3; }
.tpssc .sub { font-size: .72rem; color: var(--gray); margin-top: .25rem; line-height: 1.4; }
.nfeed { display: flex; flex-direction: column; gap: .85rem; }
.nit { background: #fff; border-radius: var(--r); border: 1px solid var(--lgray); overflow: hidden; transition: border-color .2s; }
.nit:hover { border-color: rgba(200,153,58,.35); }
.nit.open { border-color: var(--gold); }
.nhd { padding: 1rem 1.3rem; display: grid; grid-template-columns: 46px 1fr 24px; gap: .9rem; align-items: start; cursor: pointer; }
.nhd:hover { background: var(--cream); }
.ndb { text-align: center; background: var(--navy); border-radius: 5px; padding: .45rem .25rem; flex-shrink: 0; }
.nddy { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 900; color: #fff; line-height: 1; }
.ndmo { font-size: .52rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.ntgs { display: flex; gap: .32rem; flex-wrap: wrap; margin-bottom: .32rem; }
.ntit { font-weight: 700; font-size: .87rem; line-height: 1.38; }
.nsrc { font-size: .68rem; color: var(--gray); margin-top: .22rem; }
.nsrc a { color: var(--gold); font-weight: 600; }
.narr { font-size: .95rem; color: var(--gray); transition: transform .3s; margin-top: 1px; }
.nit.open .narr { transform: rotate(180deg); }
.nbdy { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.nbdy.open { max-height: 900px; }
.nbdyi { padding: 0 1.3rem 1.3rem; border-top: 1px solid var(--lgray); }
.nbdyi p { font-size: .84rem; color: var(--gray); line-height: 1.75; margin-top: .85rem; }
.wim { background: var(--warm); border-left: 3px solid var(--gold); padding: .85rem 1rem; border-radius: 0 6px 6px 0; margin-top: .85rem; }
.wim h5 { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: .32rem; }
.wim p { font-size: .82rem; color: var(--navy); margin: 0; }
.eadbox { background: linear-gradient(135deg,var(--navy),var(--navy2)); border-radius: 10px; padding: 1.4rem; color: #fff; margin-bottom: 1.1rem; }
.eadlbl { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .3rem; }
.eaddt { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 700; color: var(--gold2); line-height: 1; }
.eadnt { font-size: .7rem; color: rgba(255,255,255,.72); margin-top: .45rem; line-height: 1.55; }
.eadnt strong { color: rgba(255,255,255,.9); }
.asts { display: flex; flex-direction: column; gap: .75rem; }
.asi { display: flex; gap: .75rem; align-items: flex-start; }
.asn { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.ast strong { display: block; font-size: .81rem; font-weight: 700; color: #fff; margin-bottom: .12rem; }
.ast span { font-size: .76rem; color: rgba(255,255,255,.65); line-height: 1.48; }
.tl { position: relative; padding-left: 1.7rem; }
.tl::before { content: ''; position: absolute; left: .42rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom,var(--gold),var(--lgray)); }
.tli { position: relative; margin-bottom: 1.3rem; }
.tld { position: absolute; left: -1.6rem; top: .28rem; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); background: #fff; }
.tld.f { background: var(--gold); } .tld.r { border-color: var(--red); background: var(--red); } .tld.a { border-color: var(--amber); background: var(--amber); }
.tldt { font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .18rem; }
.tltt { font-size: .81rem; font-weight: 600; line-height: 1.38; }
.tlst { font-size: .72rem; color: var(--gray); margin-top: .12rem; line-height: 1.4; }

/* RESPONSIVE additions */
@media (max-width: 768px) {
  .tpsgrid, .tpsscs, .shop-grid { grid-template-columns: 1fr; }
  .shop-featured-banner { grid-template-columns: 1fr; }
  .shop-feat-img { display: none; }
  .evfi { grid-template-columns: 60px 1fr; }
  .evtyp { display: none; }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
}
