:root{
  /* Your colors */
  --parchment: #F3E8D5;
  --green: #235836;
  --charcoal: #353635;

  /* Wheat/Gold accent that plays nice with all three */
  --gold: #C9A24A;

  /* Helpers */
  --bg: #353635;
  --text: #F3E8D5;
  --ink: #2a2a2a;              /* dark text on parchment */
  --line: rgba(243,232,213,.18);
  --shadow: 0 10px 30px rgba(0,0,0,.25);

  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

.page{ padding-bottom: 40px; }

.section{ padding: 26px 0; }

/* =========================
   Sticky Header (Banner)
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(53,54,53,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px 10px;
  display: grid;
  gap: 10px;
}
/*Live Banner*/
.live-banner{
  display:none; /* JS turns it on */
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  background: var(--gold);
  color:#1a1a1a;
  border:1px solid rgba(0,0,0,.15);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  white-space:nowrap;
}

.live-dot{
  width:10px; height:10px;
  border-radius:999px;
  background:#b30000;
  box-shadow:0 0 0 0 rgba(179,0,0,.55);
  animation: livePulse 1.1s infinite;
}

@keyframes livePulse{
  0%   { transform:scale(1);   box-shadow:0 0 0 0 rgba(179,0,0,.55); }
  70%  { transform:scale(1.1); box-shadow:0 0 0 10px rgba(179,0,0,0); }
  100% { transform:scale(1);   box-shadow:0 0 0 0 rgba(179,0,0,0); }
}

/* ------------- */
/* Responsive base */
/* ------------- */

* { box-sizing: border-box; }
img, video, iframe { max-width: 100%; height: auto; display: block; }

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; }

/* Fluid container */
.container{
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

/* Cards scale naturally */
.card{
  width: 100%;
  max-width: 100%;
}

/* Readable text widths for long content */
.prose{
  max-width: 72ch;
}

/* Fluid type (no “jumps” on devices) */
h1{ font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
h2{ font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; }
p, li{ font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }

/* ------------- */
/* Sticky header spacing */
/* ------------- */
/* If your header is position: fixed; */
:root{ --header-h: 110px; } /* adjust once after you see it */
body{ padding-top: var(--header-h); }

/* ------------- */
/* Simple grid helper */
/* ------------- */
.grid{
  display: grid;
  gap: 1rem;
}
.grid-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Breakpoint: tablets & down */
@media (max-width: 900px){
  .grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Breakpoint: phones */
@media (max-width: 640px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
}

/*Beliefs intro*/
.beliefs-intro {
  text-align: center;
  font-style: italic;
  max-width: 60ch;
  margin: 0 auto;
  color: #555;
}
/* Top row: logo left, title centered, spacer right */
.header-top{
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 10px;
}

.logo{
  width: 200%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(243,232,213,.22);
  background: rgba(0,0,0,.12);
  overflow: hidden;
}
.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* Title centered */
.header-title{
  text-align: center;
}
.church-name{
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 400%;
  line-height: 1.1;
}
.church-subtitle{
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 100%;
  opacity: 0.9;
}

/* Bottom row: nav aligned right */
.header-bottom{
  display: flex;
  justify-content: flex-end;
}

.nav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a{
  padding: 8px 12px;
  border-radius: 999px;
  opacity: 0.92;
}
.nav a:hover{
  opacity: 1;
  background: rgba(243,232,213,.10);
}

/* Gold accent button */
.nav-btn{
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 800;
}
.nav-btn:hover{
  background: rgba(201,162,74,.92);
}

/* =========================
   Cards (Parchment boxes)
   ========================= */


.card{
  background: var(--parchment);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.10);
}

.mini-card{
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 16px;
}

h1,h2,h3{ margin: 0 0 12px; line-height: 1.2; }
h1{ font-size: clamp(28px, 4vw, 44px); }
h2{ font-size: 28px; }
h3{ font-size: 18px; }

.muted{ opacity: 0.78; }

.hero{ padding: 26px 0 10px; }
.hero-card{
  border-left: 6px solid var(--gold);
}

.lead{
  font-size: 18px;
  margin: 0 0 14px;
}

/* Buttons inside content */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--parchment);
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.15);
}
.btn:hover{ filter: brightness(0.98); }

.btn-outline{
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(35,88,54,.45);
}
.btn-outline:hover{ background: rgba(35,88,54,.08); }

.cta{ display:flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }

.info-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.info-box{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.35);
}
.label{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  opacity: 0.75;
}
.value{
  font-weight: 900;
  font-size: 18px;
  margin-top: 6px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.grid-1{
  display:grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.embed{
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.18);
  background:#000;
}
.embed iframe{
  width: 100%;
  height: 420px;
  border: 0;
  display:block;
}

.list{ margin: 12px 0 0; padding-left: 18px; }

.split{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.map-placeholder{
  margin-top: 14px;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  border: 1px dashed rgba(0,0,0,.25);
  background: rgba(255,255,255,.22);
}

/* =========================
   Footer
   ========================= */
.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .grid-1{ grid-template-columns: 1fr; }
  .info-grid{ grid-template-columns: 1fr; }
  .header-bottom{ justify-content: center; }
  .church-name{ font-size: 20px; }
}
.embed-responsive{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(0,0,0,.08);
}

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