/* ==========================================
   ST. SEBASTIAN CATHOLIC CATHEDRAL
   Main Stylesheet
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Primary palette — Dark Blue + White + Sky Blue */
  --gold: #38BDF8;          /* sky blue — replaces gold as accent */
  --gold-light: #7DD3FC;    /* lighter sky blue */
  --gold-dark: #0284C7;     /* deeper sky blue */
  --navy: #0B1A33;          /* very dark blue (primary bg) */
  --navy-mid: #102040;      /* mid dark blue */
  --navy-light: #163058;    /* slightly lighter dark blue */
  --burgundy: #1A3A6B;      /* replaces burgundy → rich dark blue */
  --burgundy-light: #1E4B8A;
  --cream: #F0F6FF;          /* near-white with cool blue tint (light sections) */
  --cream-dark: #DBE9F8;    /* slightly deeper cool white */
  --white: #FFFFFF;
  --text-dark: #0B1A33;
  --text-mid: #2E4A72;
  --text-light: #6B87A8;
  --shadow: 0 8px 32px rgba(11, 26, 51, 0.22);
  --shadow-gold: 0 4px 20px rgba(56, 189, 248, 0.35);
  --radius: 4px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	font-size: 14px;
}

body {
	font-family: 'Source Sans 3', sans-serif;
	background: var(--white);
	color: var(--text-dark);
	line-height: 1.3;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', serif;
  line-height: 1.25;
  color: var(--navy);
}

/* ---- Utility Classes ---- */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.section-pad {
	padding: 40px 0;
}
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.bg-navy { background: var(--navy); }
.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px auto 32px;
  border-radius: 2px;
}

.divider.left { margin: 16px 0 32px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56,189,248, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover { background: var(--gold); color: var(--navy); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
	background: #FAE20A;
	transform: translateY(-2px);
}

/* ==========================================
   NAVIGATION  (one design, identical markup on every page)
   Desktop  : horizontal bar, hover/keyboard dropdowns
   Tablet & phone (< 1024px): hamburger + slide-in drawer
   ========================================== */
:root {
  --nav-h: 72px;
  --container: 1200px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  position: relative;
  z-index: 1;
  background: rgba(11, 26, 51, 0.98);
  border-bottom: 2px solid var(--gold);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }

.nav-inner {
  max-width: var(--container);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---- Brand ---- */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.nav-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #fff;
  object-fit: cover;
}

.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }

.nav-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-brand-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Menu (desktop) ---- */
.nav-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 12px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.2;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%; bottom: 5px;
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
  transition: left 0.25s ease, right 0.25s ease;
}

.nav-link:hover,
.nav-item.open > .nav-link,
.nav-link[aria-current="page"],
.nav-link.is-current {
  color: var(--gold-light);
  background: rgba(56, 189, 248, 0.08);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-link.is-current::after { left: 12px; right: 12px; }

.nav-link:focus-visible,
.nav-toggle:focus-visible,
.nav-dropdown a:focus-visible,
.nav-cta:focus-visible,
.nav-brand:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* chevron drawn in CSS so there is no glyph to mis-render */
.chev {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin 0.25s ease;
  flex-shrink: 0;
}

.nav-item.open > .nav-link .chev { transform: rotate(-135deg); margin-top: 3px; }

/* ---- Dropdown (desktop) ---- */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px 0;
  background: var(--navy);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.nav-item.open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

@media (hover: hover) and (min-width: 1024px) {
  .nav-item:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav-item:hover > .nav-link { color: var(--gold-light); background: rgba(56, 189, 248, 0.08); }
  .nav-item:hover > .nav-link .chev { transform: rotate(-135deg); margin-top: 3px; }
}

.nav-dropdown a {
  display: block;
  padding: 11px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, padding 0.2s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  color: var(--gold-light);
  background: rgba(56, 189, 248, 0.1);
  padding-left: 26px;
}

/* ---- Donate button ---- */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--gold-light); }

/* ---- Hamburger + backdrop (hidden on desktop) ---- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius);
  background: rgba(56, 189, 248, 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }

/* while the window is being resized / rotated, don't animate the nav between layouts */
.is-resizing .nav-panel,
.is-resizing .nav-dropdown,
.is-resizing .nav-backdrop,
.is-resizing .chev { transition: none !important; }

/* ---- Compact desktop / small laptop: tighten so nothing wraps ---- */
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav-inner { padding: 0 14px; gap: 10px; }
  .nav-brand-sub { display: none; }
  .nav-link { padding: 12px 9px; font-size: 0.74rem; letter-spacing: 0.5px; }
  .nav-cta { padding: 10px 16px; font-size: 0.74rem; }
}

/* ---- Tablet & phone: drawer ---- */
@media (max-width: 1023px) {
  :root { --nav-h: 64px; }

  .nav-inner { padding: 0 16px; }
  .nav-logo { width: 46px; height: 46px; }
  .nav-toggle { display: flex; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(3, 10, 24, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-open { overflow: hidden; }

  .nav-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 1;
    width: min(88vw, 380px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--nav-h) + 12px) 0 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--navy);
    border-left: 2px solid var(--gold);
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.45);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
  }
  .nav-panel.open { transform: none; visibility: visible; transition-delay: 0s; }

  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 0 12px; }

  .nav-link {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    font-size: 0.9rem;
    text-align: left;
  }
  .nav-link::after { display: none; }
  .nav-link:hover,
  .nav-link[aria-current="page"],
  .nav-link.is-current { border-left: 3px solid var(--gold); padding-left: 11px; }

  /* accordion instead of floating dropdown */
  .nav-dropdown {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-left: 2px solid rgba(56, 189, 248, 0.3);
    border-radius: 0;
    margin-left: 14px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s ease;
  }
  .nav-item.open > .nav-dropdown { max-height: 320px; padding: 4px 0; }

  .nav-dropdown a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    font-size: 0.8rem;
  }
  .nav-dropdown a:hover,
  .nav-dropdown a[aria-current="page"] { padding-left: 18px; }

  .nav-cta { margin: 20px 24px 0; padding: 15px 20px; font-size: 0.86rem; }
}

@media (max-width: 479px) {
  :root { --nav-h: 58px; }
  .nav-inner { padding: 0 12px; gap: 10px; }
  .nav-logo { width: 40px; height: 40px; }
  .nav-brand { gap: 9px; }
  .nav-brand-name { font-size: 0.82rem; }
  .nav-brand-sub { font-size: 0.58rem; letter-spacing: 0.6px; }
  .nav-toggle { width: 44px; height: 44px; }
  .nav-panel { width: min(86vw, 340px); }
}

@media (max-width: 359px) {
  .nav-brand-sub { display: none; }
  .nav-brand-name { font-size: 0.76rem; }
  .nav-logo { width: 36px; height: 36px; }
}


/* ==========================================
   HERO SLIDER
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,26,51,0.85) 0%, rgba(11,26,51,0.4) 50%, rgba(26,58,107,0.5) 100%);
}

/* Placeholder slide backgrounds */
.slide-1 { background: linear-gradient(160deg, #050E1F 0%, #0B1A33 50%, #102040 100%); }
.slide-2 { background: linear-gradient(160deg, #0B1A33 0%, #102040 50%, #050E1F 100%); }
.slide-3 { background: linear-gradient(160deg, #102040 0%, #0B1A33 50%, #163058 100%); }

.hero-content {
  z-index: 2;
  text-align: center;
}

.hero-inner {
	max-width: 1200px;
	animation: heroFadeUp 1s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
	font-family: 'Cinzel', serif;
	font-size: clamp(1.9rem, 6vw, 3.6rem);
	font-weight: 700;
	color: var(--white);
	margin-bottom: 12px;
	text-shadow: 0 4px 20px rgba(0,0,0,0.5);
	line-height: 1.15;
}

.hero-diocese {
	font-family: 'Cinzel', serif;
	font-size: clamp(0.9rem, 2vw, 1.2rem);
	color: var(--gold-light);
	letter-spacing: 2px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.hero-dot.active { background: var(--gold); transform: scale(1.3); }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  right: 30px;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  z-index: 3;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================
   QUICK INFO BAR
   ========================================== */
.quick-bar {
	background: #B31106;
	border-bottom: 3px solid var(--gold);
	padding: 0;
}

.quick-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid rgba(11,26,51,0.15);
  transition: var(--transition);
  cursor: pointer;
}

.quick-bar-item:last-child { border-right: none; }
.quick-bar-item:hover { background: rgba(11,26,51,0.1); }

.quick-bar-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.quick-bar-label {
	font-family: 'Cinzel', serif;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #FFFF00;
	opacity: 0.85;
}

.quick-bar-val {
  font-family: 'Lora', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

/* ==========================================
   WELCOME SECTION
   ========================================== */
.welcome-section { padding: 90px 0; }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.welcome-img-wrap {
  position: relative;
}

.bishop-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: linear-gradient(160deg, var(--navy-light), var(--burgundy));
}

.bishop-photo-placeholder {
	width: 100%;
	aspect-ratio: 3/4;
	background: linear-gradient(160deg, var(--navy-mid), var(--burgundy));
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	font-size: 4rem;
	gap: 16px;
}

.bishop-photo-placeholder span {
	font-family: 'Cinzel', serif;
	font-size: 24px;
	letter-spacing: 1px;
}

.welcome-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--navy);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Cinzel', serif;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  font-size: 0.6rem;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px;
}

.welcome-text .section-title { text-align: left; }

.welcome-message {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  border-left: 4px solid var(--gold);
  padding-left: 20px;
}

.welcome-body {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

.bishop-sig {
	margin-top: 28px;
	padding-top: 10px;
	border-top: 1px solid var(--cream-dark);
}

.bishop-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.bishop-title {
  font-size: 0.85rem;
  color: var(--gold-dark);
}

/* ==========================================
   MASS SCHEDULE SECTION
   ========================================== */
.mass-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.mass-section::before {
  content: '✝';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  color: rgba(255,255,255,0.02);
  font-family: serif;
}

.mass-section .section-title { color: var(--white); }
.mass-section .section-subtitle { color: var(--gold); }

.mass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.mass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.mass-card:hover {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.5);
  transform: translateY(-4px);
}

.mass-card-icon { font-size: 2rem; margin-bottom: 12px; }

.mass-card-title {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.mass-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
}

.mass-time:last-child { border-bottom: none; }
.mass-time-hour { color: var(--gold-light); font-weight: 600; }

/* ==========================================
   NEWS & EVENTS
   ========================================== */
.news-section { padding: 80px 0; background: var(--cream); }

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(11,26,51,0.18); }

.news-img {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-light), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}

.news-body { padding: 24px; }

.news-tag {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  color: var(--gold-dark);
  border: 1px solid rgba(56,189,248,0.3);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  font-family: 'Cinzel', serif;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-meta { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 14px; }

/* Events sidebar */
.events-sidebar {}
.events-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.event-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
  transition: var(--transition);
}

.event-item:hover { padding-left: 6px; }

.event-date {
  flex-shrink: 0;
  width: 48px;
  height: 56px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

.event-date strong { font-size: 1.3rem; display: block; }

.event-name { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.event-location { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }

/* ==========================================
   GALLERY SLIDER
   ========================================== */
.gallery-section { padding: 80px 0; background: var(--navy); }
.gallery-section .section-title { color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, var(--navy-light), var(--burgundy));
}

.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.gallery-item-inner {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,26,51,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-item-inner { transform: scale(1.08); }

.gallery-overlay-icon { color: var(--gold); font-size: 2rem; }

/* ==========================================
   VIDEO SECTION
   ========================================== */
.video-section { padding: 80px 0; background: var(--cream); }

.video-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: rgba(255,255,255,0.6);
  gap: 16px;
  cursor: pointer;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(56,189,248,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--navy);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56,189,248,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(56,189,248,0); }
}

.video-placeholder p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ==========================================
   DAILY REFLECTION
   ========================================== */
.reflection-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 32px;
  color: var(--white);
  border: 1px solid rgba(56,189,248,0.2);
}

.reflection-date {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reflection-verse {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.reflection-ref {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
}

.reflection-body {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  border-top: 1px solid rgba(56,189,248,0.15);
  padding-top: 16px;
}

/* ==========================================
   PARISH TEAM SECTION
   ========================================== */
.team-section {
	background: var(--cream-dark);
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 16px rgba(11,26,51,0.08);
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--navy-light), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  position: relative;
}

.team-avatar-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.team-info { padding: 18px 14px; }

.team-name {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-style: italic;
}

/* ==========================================
   ORGANIZATIONS
   ========================================== */
.orgs-section { padding: 80px 0; }

.orgs-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.org-tab {
  padding: 12px 24px;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: var(--cream-dark);
  color: var(--text-mid);
  transition: var(--transition);
  flex: 1;
  min-width: 120px;
}

.org-tab.active { background: var(--navy); color: var(--gold-light); }
.org-tab:hover:not(.active) { background: var(--cream); }

.org-content { display: none; }
.org-content.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.org-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.org-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }

.org-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.org-name {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.org-desc { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 65%, var(--navy-light) 100%);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2338BDF8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero-sub {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { opacity: 0.5; }

/* ==========================================
   HISTORY PAGE
   ========================================== */
.timeline { position: relative; padding: 40px 0; }

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  position: relative;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 0; height: 0;
  border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--white) transparent transparent;
}

.timeline-year {
  flex-shrink: 0;
  width: 80px;
  margin-top: 10px;
  text-align: center;
}

.timeline-year-inner {
  background: var(--navy);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.timeline-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.timeline-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ==========================================
   NEW CATHEDRAL PAGE
   ========================================== */
.progress-section { padding: 60px 0; }

.progress-bar-wrap { margin-bottom: 32px; }

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--navy);
}

.progress-bar {
  height: 12px;
  background: var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 6px;
  transition: width 1.5s ease;
}

.donation-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 36px;
  color: var(--white);
  text-align: center;
  border: 1px solid rgba(56,189,248,0.3);
}

.donation-card h3 { color: var(--gold-light); margin-bottom: 12px; font-size: 1.2rem; }
.donation-card p { color: rgba(255,255,255,0.75); margin-bottom: 24px; font-size: 0.9rem; }

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.donation-amt {
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--gold-light);
  padding: 10px;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.donation-amt:hover, .donation-amt.selected { background: var(--gold); color: var(--navy); }

/* ==========================================
   CHARITABLE WORKS
   ========================================== */
.charity-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(11,26,51,0.08);
  transition: var(--transition);
}

.charity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.charity-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.charity-body { padding: 24px; }
.charity-title { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.charity-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }

.charity-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.contact-val { font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; }

.contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.1);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

textarea.form-control { resize: vertical; min-height: 120px; }

/* ==========================================
   MASS SCHEDULES PAGE
   ========================================== */
.schedule-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.sched-tab {
  flex: 1;
  padding: 14px 20px;
  background: var(--cream-dark);
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
}

.sched-tab.active { background: var(--navy); color: var(--gold-light); }

.sched-content { display: none; }
.sched-content.active { display: block; }

.sched-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sched-table thead tr { background: var(--navy); }

.sched-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sched-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.sched-table tbody tr:last-child td { border-bottom: none; }
.sched-table tbody tr:hover { background: var(--cream); }

.sched-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Cinzel', serif;
}

.badge-main { background: rgba(11,26,51,0.1); color: var(--navy); }
.badge-special { background: rgba(56,189,248,0.2); color: var(--gold-dark); }
.badge-extra { background: rgba(26,58,107,0.1); color: var(--burgundy); }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #060D1C;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-name {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-about { font-size: 0.88rem; line-height: 1.8; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56,189,248,0.2);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 10px;
  transition: var(--transition);
  font-family: 'Source Sans 3', sans-serif;
}

.footer-newsletter input:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: var(--gold-light); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .quick-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:first-child { grid-column: span 3; grid-row: auto; aspect-ratio: 21/9; }
}

@media (max-width: 768px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-badge { display: none; }
  .mass-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .org-content.active { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quick-bar-grid { grid-template-columns: 1fr 1fr; }
  
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; padding-left: 50px; }
  .timeline-year { width: auto; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .quick-bar-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .mass-grid { grid-template-columns: 1fr; }
  .donation-amounts { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   ANIMATIONS & SCROLL
   ========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================
   DONATION PAGE STYLES
   ========================================== */
.donate-hero-amounts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0;
}

.donate-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.donate-category-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  border: 2px solid var(--cream-dark);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.donate-category-card:hover,
.donate-category-card.selected {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(56,189,248,0.05), var(--white));
}

.donate-category-icon { font-size: 2.4rem; margin-bottom: 12px; }
.donate-category-name {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.donate-category-desc { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

.bank-details-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 36px;
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--white);
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}
.bank-detail-val { font-size: 0.95rem; color: rgba(255,255,255,0.9); font-weight: 600; }

.appreciation-banner {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  color: var(--navy);
}

.appreciation-banner h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
}

/* ==========================================
   CATHEDRAL HALL PAGE STYLES
   ========================================== */
.hall-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.hall-feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}

.hall-feature-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.hall-feature-icon { font-size: 2.2rem; margin-bottom: 12px; }
.hall-feature-name {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.hall-feature-desc { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

.pricing-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--cream-dark);
  transition: var(--transition);
  text-align: center;
}

.pricing-card.featured { border-color: var(--gold); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(11,26,51,0.2); }

.pricing-header {
  background: var(--navy);
  padding: 28px 24px;
  color: var(--white);
}

.pricing-card.featured .pricing-header {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
}

.pricing-name {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-period { font-size: 0.8rem; opacity: 0.7; }

.pricing-features {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.pricing-feature::before { content: '✓'; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; }
.pricing-feature.no::before { content: '✗'; color: var(--text-light); }
.pricing-feature.no { color: var(--text-light); }

.availability-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.avail-day {
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.avail-day.free { background: rgba(39,174,96,0.12); color: #27ae60; border: 1px solid rgba(39,174,96,0.3); }
.avail-day.booked { background: rgba(26,58,107,0.1); color: var(--burgundy); border: 1px solid rgba(26,58,107,0.2); }
.avail-day.partial { background: rgba(56,189,248,0.12); color: var(--gold-dark); border: 1px solid rgba(56,189,248,0.3); }

/* ==========================================
   SOCIETIES PAGE STYLES
   ========================================== */
.society-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(11,26,51,0.07);
  transition: var(--transition);
  border: 1px solid var(--cream-dark);
}

.society-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }

.society-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.society-icon {
  font-size: 2.8rem;
  margin-bottom: 10px;
  display: block;
}

.society-name {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.society-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}

.society-card-body { padding: 24px; }
.society-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }

.society-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}

.society-meta-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.society-meta-label {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  min-width: 80px;
  flex-shrink: 0;
  padding-top: 1px;
}

/* ==========================================
   PAST ADMINISTRATORS STYLES
   ========================================== */
.admin-timeline { position: relative; padding: 40px 0; }

.admin-timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark), var(--navy));
}

.admin-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.admin-year-block {
  width: 120px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 24px;
  position: relative;
  padding-top: 14px;
}

.admin-year-block::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-dark);
}

.admin-year-text {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 700;
  line-height: 1.4;
}

.admin-card {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: var(--transition);
}

.admin-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }

.admin-photo {
  width: 90px;
  height: 110px;
  background: linear-gradient(160deg, var(--navy-mid), var(--burgundy));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.admin-details { flex: 1; }

.admin-name {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.admin-title {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-style: italic;
  margin-bottom: 12px;
}

.admin-tenure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11,26,51,0.07);
  border: 1px solid rgba(11,26,51,0.12);
  color: var(--navy);
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.admin-bio { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; }

@media (max-width: 768px) {
  .admin-timeline::before { left: 20px; }
  .admin-year-block { width: 60px; padding-right: 16px; }
  .admin-year-block::after { right: -8px; }
  .admin-item { gap: 20px; }
  .admin-card { flex-direction: column; }
  .donate-category-grid { grid-template-columns: 1fr 1fr; }
  .hall-features-grid { grid-template-columns: repeat(2, 1fr); }
  .availability-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .donate-category-grid { grid-template-columns: 1fr; }
  .hall-features-grid { grid-template-columns: 1fr 1fr; }
  .availability-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-card { gap: 16px; }
  .admin-photo { width: 70px; height: 85px; font-size: 1.6rem; }
}

/* ==========================================
   DAILY MASS READING STYLES
   ========================================== */
.reading-date-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 20px 0;
  text-align: center;
}

.reading-date-text {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.reading-liturgy-color {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-light);
  opacity: 0.9;
  margin-top: 4px;
}

.reading-block {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 2px 20px rgba(11,26,51,0.06);
  border: 1px solid var(--cream-dark);
  margin-bottom: 24px;
}

.reading-block-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reading-block-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}

.reading-block-ref {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.reading-text {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text-dark);
}

.reading-text p { margin-bottom: 14px; }
.reading-text p:last-child { margin-bottom: 0; }

.gospel-block {
  background: var(--navy);
  border-radius: 8px;
  padding: 40px;
  color: var(--white);
  border: 1px solid rgba(56,189,248,0.25);
  margin-bottom: 24px;
}

.gospel-block .reading-block-label { color: var(--gold); }
.gospel-block .reading-block-label::after { background: rgba(56,189,248,0.2); }
.gospel-block .reading-block-ref { color: var(--gold-light); }
.gospel-block .reading-text { color: rgba(255,255,255,0.88); }

.reflection-full {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  border-radius: 8px;
  padding: 36px;
  border-left: 4px solid var(--gold);
}

.reflection-full-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.reflection-full-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.85;
  margin: 16px 0;
}

.psalm-block {
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.psalm-response {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  color: var(--gold-dark);
  text-align: center;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius);
  margin: 16px 0;
  font-style: italic;
}

.devotional-download-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(56,189,248,0.2);
}

.devotional-download-icon { font-size: 3rem; flex-shrink: 0; }

/* ==========================================
   NEWS & EVENTS PAGE STYLES
   ========================================== */
.events-filter-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  flex-wrap: wrap;
}

.events-filter-btn {
  padding: 12px 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: var(--cream-dark);
  color: var(--text-mid);
  transition: var(--transition);
  flex: 1;
  min-width: 100px;
}

.events-filter-btn.active { background: var(--navy); color: var(--gold-light); }
.events-filter-btn:hover:not(.active) { background: var(--cream); }

.featured-event-card {
  background: var(--navy);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(56,189,248,0.2);
  margin-bottom: 40px;
}

.featured-event-img {
  background: linear-gradient(135deg, var(--burgundy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 260px;
}

.featured-event-body {
  padding: 40px;
  color: var(--white);
}

.featured-event-tag {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.35);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.featured-event-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.featured-event-excerpt {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 24px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.countdown-block {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(56,189,248,0.15);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
}

.countdown-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-family: 'Cinzel', serif;
  margin-top: 4px;
}

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.upcoming-event-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--cream-dark);
  box-shadow: 0 2px 12px rgba(11,26,51,0.06);
  transition: var(--transition);
}

.upcoming-event-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-3px); }

.upcoming-event-date {
  flex-shrink: 0;
  width: 60px;
  height: 68px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  text-align: center;
}

.upcoming-event-date strong { font-size: 1.5rem; display: block; line-height: 1; margin-bottom: 2px; }

.upcoming-event-name {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.upcoming-event-meta { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; }

@media (max-width: 768px) {
  .featured-event-card { grid-template-columns: 1fr; }
  .featured-event-img { min-height: 180px; }
  .news-cards-grid { grid-template-columns: 1fr; }
  .upcoming-events-grid { grid-template-columns: 1fr; }
  .countdown-grid { grid-template-columns: repeat(4, 1fr); }
  .hall-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   HALL BOOKING PAGE
   ========================================== */
.hall-stats-bar {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 0;
}

.hall-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hall-stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(56,189,248,0.15);
}

.hall-stat-item:last-child { border-right: none; }

.hall-stat-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.hall-stat-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .hall-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hall-stat-item { border-right: none; border-bottom: 1px solid rgba(56,189,248,0.1); }
}


/* ==========================================
   BOOK HALL HERO BUTTON
   ========================================== */
.btn-book-hall {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(56,189,248,0.4);
  border: 2px solid rgba(125,211,252,0.4);
}
.btn-book-hall:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(56,189,248,0.6);
	background: #FAE20A;
	color: var(--navy);
	background-color: #FF9900;
}

/* ==========================================
   CATHEDRAL HALL HERO CAPTION BANNER
   ========================================== */
.hall-hero-caption {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-bottom: 3px solid var(--gold);
  padding: 18px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hall-hero-caption::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(56,189,248,0.04) 80px,
    rgba(56,189,248,0.04) 82px
  );
  pointer-events: none;
}
.hall-hero-caption-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hall-caption-icon {
  font-size: 1.8rem;
  animation: pulse-icon 2.5s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.hall-caption-text {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.hall-caption-sub {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-top: 2px;
}
.hall-caption-divider {
  width: 2px;
  height: 36px;
  background: rgba(56,189,248,0.35);
  border-radius: 1px;
}
.hall-caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.35);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ==========================================
   COLOUR SCHEME OVERRIDES — SECTION BACKGROUNDS
   Ensure section backgrounds use new palette
   ========================================== */
/* Section backgrounds that used cream shades now use new palette */
.section-pad { background: var(--white); }

/* Inline style overrides for hardcoded warm colours in new pages */
/* (handled via variables — CSS vars cascade correctly) */

/* Donation quick amount buttons */
.donation-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.donation-amt {
  padding: 8px 16px;
  background: var(--cream-dark);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}
.donation-amt:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ==========================================
   RESPONSIVE — MOBILE NAV BOOK HALL
   ========================================== */
@media (max-width: 768px) {
  .hall-hero-caption-inner {
    flex-direction: column;
    gap: 10px;
  }
  .hall-caption-divider { display: none; }
}

/* ==========================================================================
   RESPONSIVE LAYER
   --------------------------------------------------------------------------
   Written desktop-down. Breakpoints:
     >= 1600   large desktop / TV        (bigger type + wider container)
     1024-1599 laptop & desktop          (base styles)
     <= 1023   tablet                    (drawer nav)
     <=  900   tablet portrait           (two-column layouts become one)
     <=  767   large phone
     <=  599   phone
     <=  479   small phone
     <=  359   very small phone
   ========================================================================== */

/* ---- Foundations ---- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body { min-width: 320px; overflow-wrap: break-word; }

img, svg, video, canvas, iframe, embed, object { max-width: 100%; }
iframe { border: 0; }

h1, h2, h3, h4, h5 { overflow-wrap: break-word; }

.container { max-width: var(--container); }

/* wide tables scroll inside their own box instead of breaking the page */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

/* grid/flex children may shrink below their content width (stops 1fr blow-outs) */
.rg > *, .welcome-grid > *, .news-grid > *, .video-grid > *, .contact-grid > *,
.mass-grid > *, .team-grid > *, .footer-grid > *, .org-content > * { min-width: 0; }

/* ---- Hero (home) : no more fixed offsets, works at any size ---- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: clamp(300px, 42vh, 460px);
  padding: 48px 0 84px;
}

.hero-content {
  position: relative;
  inset: auto;
  left: auto;
  top: auto;
  display: block;
  width: 100%;
  padding: 0 20px;
}

.hero-inner { margin: 0 auto; }

/* ---- Large desktop ---- */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
  html { font-size: 16px; }
}

@media (min-width: 1920px) {
  :root { --container: 1560px; }
}

/* ---- Team grid: four across until it gets tight ---- */
@media (min-width: 901px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   <= 1023  TABLET
   ========================================================================== */
@media (max-width: 1023px) {
  .welcome-badge { right: 12px; bottom: 12px; }

  .welcome-section,
  .mass-section,
  .news-section,
  .gallery-section,
  .video-section,
  .orgs-section { padding-top: 64px; padding-bottom: 64px; }

  .footer { padding-top: 54px; }
  .footer-grid { gap: 32px; }

  .mass-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mass-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .news-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .org-content.active { grid-template-columns: repeat(2, 1fr); }

  .rg-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .rg-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* tab strips wrap instead of overflowing */
  .orgs-tabs, .schedule-tabs, .events-filter-bar { flex-wrap: wrap; }
  .org-tab, .sched-tab, .events-filter-btn { flex: 1 1 140px; }
}

/* ==========================================================================
   <= 900  TABLET PORTRAIT : side-by-side content stacks
   ========================================================================== */
@media (max-width: 900px) {
  .welcome-grid,
  .news-grid,
  .video-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .rg-split { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }

  .bishop-photo-placeholder { max-width: 440px; margin-left: auto; margin-right: auto; }
  .welcome-badge { display: none; }

  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .featured-event-card { grid-template-columns: 1fr; }
}

/* ==========================================================================
   <= 767  LARGE PHONE
   ========================================================================== */
@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }

  .welcome-section,
  .mass-section,
  .news-section,
  .gallery-section,
  .video-section,
  .orgs-section { padding-top: 48px; padding-bottom: 48px; }

  .section-title { margin-bottom: 8px; }
  .divider { margin: 12px auto 24px; }
  .divider.left { margin: 12px 0 24px; }

  .hero { min-height: 0; padding: 40px 0 44px; }
  .hero-content { padding: 0 16px; }
  .hero-nav, .hero-scroll { display: none; }
  .hero-tagline { margin-bottom: 24px; }

  .page-hero { padding: 52px 0 36px; }
  .breadcrumb { flex-wrap: wrap; font-size: 0.68rem; }

  .quick-bar-item { padding: 16px 14px; gap: 10px; }
  .quick-bar-icon { font-size: 1.35rem; }
  .quick-bar-val { font-size: 0.85rem; }

  .news-grid { gap: 28px; }
  .news-cards-grid,
  .upcoming-events-grid { grid-template-columns: 1fr; }

  .rg-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px !important; }

  /* iOS Safari zooms into any input under 16px */
  .form-control,
  .footer-newsletter input,
  input, select, textarea { font-size: 16px; }

  .sched-table th, .sched-table td { padding: 12px 12px; }

  .btn { padding: 13px 24px; }
}

/* ==========================================================================
   <= 599  PHONE
   ========================================================================== */
@media (max-width: 599px) {
  .mass-grid,
  .org-content.active,
  .rg-3 { grid-template-columns: minmax(0, 1fr) !important; }
  .mass-grid > :last-child:nth-child(odd),
  .rg-3 > :last-child:nth-child(odd) { grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px 18px; }

  .reading-block, .reflection-full, .psalm-block { padding: 22px 18px; }
  .gospel-block { padding: 24px 18px; }
  .devotional-download-card { flex-direction: column; text-align: center; padding: 24px 18px; }

  .featured-event-body { padding: 24px 18px; }
  .donation-card, .bank-details-card, .reflection-card { padding: 24px 18px; }
  .appreciation-banner { padding: 32px 20px; }
  .appreciation-banner h3 { font-size: 1.3rem; }

  .bank-detail-row { flex-wrap: wrap; gap: 4px 12px; }
  .bank-detail-val { overflow-wrap: anywhere; }

  /* scroll hint-free: keep the table readable, let it pan sideways */
  .sched-table { min-width: 520px; }
  .sched-tab { padding: 12px 8px; font-size: 0.7rem; letter-spacing: 0.5px; }

  .hero-buttons { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* fixed-size / padded inline blocks used on a few pages */
  [style*="width:280px"] { width: min(280px, 100%) !important; height: auto !important; aspect-ratio: 7 / 9; }
  [style*="padding:22px 28px"] { padding: 16px 16px !important; gap: 14px !important; }
  [style*="padding:40px"][style*="gap:32px"] { flex-direction: column; padding: 24px 18px !important; gap: 20px !important; text-align: center; }

  .map-placeholder { height: 240px !important; }
}

/* ==========================================================================
   <= 479  SMALL PHONE
   ========================================================================== */
@media (max-width: 479px) {
  html { font-size: 14px; }

  .welcome-section,
  .mass-section,
  .news-section,
  .gallery-section,
  .video-section,
  .orgs-section { padding-top: 40px; padding-bottom: 40px; }

  .section-subtitle { font-size: 0.82rem; letter-spacing: 1.5px; }

  .hero-badge { font-size: 0.62rem; letter-spacing: 1px; padding: 7px 14px; margin-bottom: 16px; text-align: center; }

  .page-hero { padding: 44px 0 30px; }

  .timeline-content, .admin-card, .org-card, .news-body { padding: 18px 16px; }
  .countdown-number { font-size: 1.3rem; }
  .countdown-label { font-size: 0.55rem; }
  .countdown-block { padding: 10px 4px; }

  .rg-4 { gap: 12px !important; }
  .rg-pair { gap: 10px !important; }

  .btn { padding: 12px 20px; font-size: 0.78rem; letter-spacing: 1px; }

  .event-item { gap: 12px; }
  .hall-features-grid { gap: 12px; }
  .hall-feature-card { padding: 20px 12px; }
}

/* ==========================================================================
   <= 359  VERY SMALL PHONE (320px class)
   ========================================================================== */
@media (max-width: 359px) {
  .container { padding-left: 12px; padding-right: 12px; }

  .team-grid { grid-template-columns: 1fr; }
  .quick-bar-item { padding: 14px 10px; }

  .rg-7 { gap: 3px !important; }
  .avail-day { padding: 10px 2px; font-size: 0.62rem; }

  .section-title { font-size: 1.45rem; }
  .page-hero-title { font-size: 1.55rem; }
}

/* ---- Landscape phones: very little vertical room ---- */
@media (max-height: 480px) and (orientation: landscape) {
  :root { --nav-h: 52px; }
  .nav-logo { width: 38px; height: 38px; }
  .nav-panel { padding-top: calc(var(--nav-h) + 4px); }
  .nav-link { min-height: 42px; padding-top: 10px; padding-bottom: 10px; }
  .nav-dropdown a { min-height: 40px; padding-top: 9px; padding-bottom: 9px; }
  .nav-cta { margin-top: 12px; padding: 12px 20px; }
  .hero { min-height: 0; padding: 28px 0 36px; }
  .page-hero { padding: 32px 0 24px; }
}

/* ---- Touch devices: comfortable tap targets ---- */
@media (pointer: coarse) {
  .btn, .org-tab, .sched-tab, .events-filter-btn, .donation-amt { min-height: 44px; }
  .footer-links a { padding-top: 4px; padding-bottom: 4px; }
  .footer-social a { min-width: 40px; min-height: 40px; }
}

/* ---- Respect "reduce motion" ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ==========================================
   HALL RENTAL PLACEHOLDERS (orange)
   ========================================== */
:root { --orange: #FF8A00; --orange-light: #FFB347; --orange-dark: #E65C00; }

.hall-alert {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--orange-light), var(--orange), var(--orange-dark));
  background-size: 200% 100%;
  animation: hallShine 6s linear infinite;
  border-bottom: 2px solid #fff3;
}
.hall-alert-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--navy);
  text-align: center;
}
.hall-alert-icon { font-size: 1.2rem; animation: pulse-icon 2s ease-in-out infinite; }
.hall-alert-text {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hall-alert-btn {
  background: var(--navy);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  transition: transform .25s ease;
}
.hall-alert-inner:hover .hall-alert-btn { transform: translateX(3px); }

.hall-band {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange) 55%, var(--orange-light));
  padding: 38px 0;
  position: relative;
  overflow: hidden;
}
.hall-band::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,.07) 18px 36px);
  pointer-events: none;
}
.hall-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.hall-band-copy { flex: 1 1 320px; min-width: 0; }
.hall-band-kicker {
  display: block;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.hall-band-title {
  color: var(--navy);
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}
.hall-band-btn {
  background: var(--navy);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(11,26,51,.35);
  transition: transform .25s ease, background .25s ease;
}
.hall-band-btn:hover { transform: translateY(-2px); background: #000; }

@keyframes hallShine { to { background-position: -200% 0; } }

@media (max-width: 599px) {
  .hall-alert-inner { padding: 8px 12px; gap: 6px 10px; }
  .hall-alert-text { font-size: 0.78rem; letter-spacing: 1px; }
  .hall-band { padding: 30px 0; }
  .hall-band-inner { text-align: center; justify-content: center; }
  .hall-band-btn { width: 100%; text-align: center; padding: 15px 20px; }
}
@media (prefers-reduced-motion: reduce) { .hall-alert, .hall-alert-icon { animation: none; } }

/* ==========================================
   PHOTO SLIDER (shared on every page)
   ========================================== */
.slider {
  position: relative;
  width: auto;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  background: var(--navy);
  touch-action: pan-y;
}
.slides { display: flex; width: 100%; transition: transform 0.7s ease-in-out; will-change: transform; }
.slides img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}
.dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
.dot {
  width: 24px;            /* generous tap area; the visible dot is the ::before */
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dot::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: opacity .3s ease, transform .3s ease;
}
.dot.active::before { opacity: 1; transform: scale(1.2); }
.dot:focus-visible { outline: 2px solid var(--gold-light); border-radius: 50%; }

@media (max-width: 768px) {
  .slider { margin: 10px auto; border-radius: 6px; }
  .slides img { aspect-ratio: 16 / 9; }
  .dots { bottom: 6px; }
  .dot::before { width: 9px; height: 9px; }
}
@media (max-width: 480px) {
  .slider { margin: 0 auto 10px; border-radius: 0; }
  .slides img { aspect-ratio: 4 / 3; }
  .dot::before { width: 8px; height: 8px; }
}


.slider-pause {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(11,26,51,.65);
  color: #fff;
  cursor: pointer;
  opacity: .8;
  transition: opacity .25s ease, background .25s ease;
}
.slider-pause:hover, .slider-pause:focus-visible { opacity: 1; background: rgba(11,26,51,.9); }
.slider-pause:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
@media (max-width: 480px) { .slider-pause { top: 8px; right: 8px; width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .slides { transition-duration: 0.01ms; } }
