/*
Theme Name: CGS Theme
Theme URI: https://cgsnashua.org
Author: Church of the Good Shepherd
Author URI: https://cgsnashua.org
Description: A modern, mobile-first WordPress theme for Church of the Good Shepherd, Nashua NH. Clean, welcoming design with Episcopal warmth.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cgs-theme
Tags: church, episcopal, mobile-first, modern, clean
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   Colours and typography bridge to WordPress Global Styles
   preset variables (defined in theme.json). Changing a value
   in Appearance → Design → Styles will update --wp--preset--*
   which flows through here to every element on the site.
   The fallback values (after the comma) are used during SSR
   before WordPress has emitted its preset CSS.
   ============================================================ */
:root {
  /* --- Colours ------------------------------------------------ */
  --color-navy:       var(--wp--preset--color--navy,       #1D3557);
  --color-navy-dark:  var(--wp--preset--color--navy-dark,  #152745);
  --color-gold:       var(--wp--preset--color--gold,       #C9A84C);
  --color-gold-light: var(--wp--preset--color--gold-light, #E8CC85);
  --color-teal:       var(--wp--preset--color--teal,       #457B9D);
  --color-teal-light: var(--wp--preset--color--teal-light, #A8D8EA);
  --color-cream:      var(--wp--preset--color--cream,      #F8F6F3);
  --color-white:      var(--wp--preset--color--white,      #FFFFFF);
  --color-text:       var(--wp--preset--color--text,       #2D2D2D);
  --color-text-muted: var(--wp--preset--color--text-muted, #5C5C5C);
  --color-border:     var(--wp--preset--color--border,     #E0DBD4);
  --color-red-accent: var(--wp--preset--color--red-accent, #A83232);

  /* --- Typography --------------------------------------------- */
  --font-heading: var(--wp--preset--font-family--heading, 'Playfair Display', Georgia, 'Times New Roman', serif);
  --font-body:    var(--wp--preset--font-family--body,    'Lato', 'Helvetica Neue', Arial, sans-serif);

  --font-size-xs:   var(--wp--preset--font-size--xs,   0.75rem);
  --font-size-sm:   var(--wp--preset--font-size--sm,   0.875rem);
  --font-size-base: var(--wp--preset--font-size--base, 1rem);
  --font-size-md:   var(--wp--preset--font-size--md,   1.125rem);
  --font-size-lg:   var(--wp--preset--font-size--lg,   1.25rem);
  --font-size-xl:   var(--wp--preset--font-size--xl,   1.5rem);
  --font-size-2xl:  var(--wp--preset--font-size--2xl,  1.875rem);
  --font-size-3xl:  var(--wp--preset--font-size--3xl,  2.25rem);
  --font-size-4xl:  var(--wp--preset--font-size--4xl,  3rem);
  --font-size-5xl:  var(--wp--preset--font-size--5xl,  3.75rem);

  /* --- Spacing (not exposed as WP presets) -------------------- */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* --- Shape, shadow, motion ---------------------------------- */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);

  --transition: 0.25s ease;
  --max-width: 1160px;
  --content-width: 780px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-navy); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.25rem; }
hr { border: none; border-top: 1px solid var(--color-border); margin: var(--space-2xl) 0; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-navy);
  font-weight: 700;
}
h1 { font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl)); margin-bottom: var(--space-lg); }
h2 { font-size: clamp(var(--font-size-2xl), 3.5vw, var(--font-size-3xl)); margin-bottom: var(--space-md); }
h3 { font-size: clamp(var(--font-size-xl), 2.5vw, var(--font-size-2xl)); margin-bottom: var(--space-md); }
h4 { font-size: var(--font-size-xl); margin-bottom: var(--space-sm); }
h5 { font-size: var(--font-size-lg); margin-bottom: var(--space-sm); }
h6 { font-size: var(--font-size-base); margin-bottom: var(--space-sm); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 4px solid var(--color-gold);
  padding: var(--space-md) var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--color-cream);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
blockquote cite {
  display: block;
  margin-top: var(--space-sm);
  font-style: normal;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.container--narrow {
  max-width: var(--content-width);
}
.container--wide {
  max-width: 1400px;
}

.section {
  padding: var(--space-4xl) 0;
}
.section--sm {
  padding: var(--space-2xl) 0;
}
.section--lg {
  padding: calc(var(--space-4xl) * 1.5) 0;
}
.section--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}
.section--navy h1, .section--navy h2, .section--navy h3,
.section--navy h4, .section--navy h5, .section--navy h6 {
  color: var(--color-white);
}
.section--cream {
  background-color: var(--color-cream);
}
.section--gold {
  background-color: var(--color-gold);
  color: var(--color-navy);
}

/* ============================================================
   SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: relative;
  z-index: 1000;
  background: var(--color-navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: var(--space-lg);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
}
.site-logo__name {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.site-logo__tagline {
  font-size: var(--font-size-xs);
  color: var(--color-gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.primary-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  align-items: center;
}
.primary-nav > ul > li {
  position: relative;
}
.primary-nav > ul > li > a {
  display: block;
  padding: var(--space-md) var(--space-md);
  color: rgba(255,255,255,0.88);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-ancestor > a {
  color: var(--color-gold);
  background: rgba(255,255,255,0.06);
}

/* Dropdown */
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-navy-dark);
  min-width: 220px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  list-style: none;
  z-index: 100;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  display: block;
}
.primary-nav .sub-menu li a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: rgba(255,255,255,0.85);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.primary-nav .sub-menu li a:hover {
  background: rgba(201,168,76,0.15);
  color: var(--color-gold);
}

/* Dropdown chevron — desktop */
.primary-nav > ul > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1em);
  margin-left: 0.45em;
  vertical-align: middle;
  opacity: 0.7;
  transition: transform var(--transition), opacity var(--transition);
}
.primary-nav > ul > li.menu-item-has-children:hover > a::after,
.primary-nav > ul > li.menu-item-has-children:focus-within > a::after {
  transform: rotate(225deg) translateY(0.1em);
  opacity: 1;
}

/* Dropdown chevron — mobile nav */
.mobile-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1em);
  margin-left: 0.5em;
  vertical-align: middle;
  opacity: 0.6;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  color: var(--color-white);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s;
  transform-origin: center;
}
.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);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background: var(--color-navy-dark);
  padding: 0;
}
.mobile-nav.is-open {
  display: block;
  /* Fixed positioning gives the drawer a fully-resolved height so that
     overflow-y: auto works reliably on iOS Safari and Android Chrome.
     'top' is set in JS to the exact bottom of the header at open-time. */
  position: fixed;
  top: 64px; /* fallback — JS overwrites this with the real header height */
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 200;
  padding: var(--space-sm) 0 var(--space-md);
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav li a {
  display: block;
  padding: var(--space-sm) var(--space-xl);
  color: rgba(255,255,255,0.88);
  font-size: var(--font-size-base);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav li a:hover { background: rgba(201,168,76,0.12); color: var(--color-gold); }
.mobile-nav .sub-menu { background: rgba(0,0,0,0.2); }
.mobile-nav .sub-menu a { padding-left: calc(var(--space-xl) + var(--space-lg)); font-size: var(--font-size-sm); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.btn--primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.35);
}
.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-xs);
}
.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-base);
}

/* ============================================================
   GLOBAL STYLES COLOR CLASS CONFLICT FIX
   WordPress generates .has-text-color { color: ... !important }
   from the theme.json body text colour setting. This single-class
   !important rule beats the equally-specific named-colour class
   (e.g. .has-navy-color) because Global Styles CSS loads last.
   The dual-class selectors below have higher specificity (0,2,0)
   so they win over the single-class rule (0,1,0), letting
   per-block colour choices take effect as expected.
   ============================================================ */
.has-text-color.has-navy-color        { color: var(--wp--preset--color--navy)        !important; }
.has-text-color.has-navy-dark-color   { color: var(--wp--preset--color--navy-dark)   !important; }
.has-text-color.has-gold-color        { color: var(--wp--preset--color--gold)        !important; }
.has-text-color.has-gold-light-color  { color: var(--wp--preset--color--gold-light)  !important; }
.has-text-color.has-teal-color        { color: var(--wp--preset--color--teal)        !important; }
.has-text-color.has-teal-light-color  { color: var(--wp--preset--color--teal-light)  !important; }
.has-text-color.has-cream-color       { color: var(--wp--preset--color--cream)       !important; }
.has-text-color.has-white-color       { color: var(--wp--preset--color--white)       !important; }
.has-text-color.has-text-muted-color  { color: var(--wp--preset--color--text-muted)  !important; }
.has-text-color.has-border-color      { color: var(--wp--preset--color--border)      !important; }
.has-text-color.has-red-accent-color  { color: var(--wp--preset--color--red-accent)  !important; }

/* ============================================================
   GUTENBERG BUTTON BLOCK
   Gives wp:button blocks a palette-consistent style and a
   well-defined hover so the global a:hover rule doesn't bleed in.
   ============================================================ */
.wp-block-button__link {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
}
.wp-block-button__link:hover {
  background-color: var(--color-gold);
  color: var(--color-navy);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29,53,87,0.85) 0%,
    rgba(29,53,87,0.5) 60%,
    rgba(69,123,157,0.3) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: var(--space-2xl) var(--space-xl);
}
.hero__eyebrow {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__badge {
  position: absolute;
  bottom: var(--space-3xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
  color: rgba(255,255,255,0.9);
  font-size: var(--font-size-sm);
  white-space: nowrap;
}

/* ============================================================
   SERVICE TIMES BANNER
   ============================================================ */
.service-banner {
  background: var(--color-gold);
  color: var(--color-navy);
  padding: var(--space-lg) 0;
}
.service-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.service-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-time__label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(29,53,87,0.7);
  margin-bottom: 2px;
}
.service-time__value {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
}
.service-time__sub {
  font-size: 0.9em;
  color: rgba(29,53,87,0.75);
  margin-top: 2px;
}
.service-divider {
  width: 1px;
  height: 40px;
  background: rgba(29,53,87,0.25);
}

/* ============================================================
   WELCOME SECTION
   ============================================================ */
.welcome-section {
  padding: var(--space-4xl) 0;
}
.welcome-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.welcome-section__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.welcome-section__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.welcome-section__image::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 3px solid var(--color-gold);
  border-radius: calc(var(--radius-lg) + 8px);
  z-index: -1;
}
.welcome-section__text .eyebrow {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 3px;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.cards-section {
  background: var(--color-cream);
  padding: var(--space-4xl) 0;
}
.cards-section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-xl);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card__icon {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  font-size: 3rem;
}
.card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}
.card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-md);
}
.card__link {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-teal);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
}
.card:hover .card__link {
  gap: 8px;
  color: var(--color-navy);
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.events-section {
  padding: var(--space-4xl) 0;
}
.events-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.events-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}
.events-list {
  display: grid;
  gap: var(--space-md);
}
.event-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.event-item:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  min-height: 64px;
}
.event-date__month {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  line-height: 1;
}
.event-date__day {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: 1;
}
.event-info__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  margin-bottom: 2px;
}
.event-info__time {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}
.event-info__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ============================================================
   NEWS / BLOG
   ============================================================ */
.news-section {
  background: var(--color-cream);
  padding: var(--space-2xl) 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.news-card__body { padding: var(--space-lg); }
.news-card__meta {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}
.news-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.news-card a { color: inherit; text-decoration: none; }
.news-card a:hover .news-card__title { color: var(--color-teal); }
.news-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   CALL TO ACTION BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  background: var(--color-navy);
  padding: var(--space-4xl) 0;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: 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='%23C9A84C' fill-opacity='1'%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");
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  color: var(--color-white);
}
.cta-banner__content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}
.cta-banner__content p {
  color: rgba(255,255,255,0.85);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-2xl);
}
.cta-banner__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--color-navy);
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal), var(--color-gold));
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-xl);
}
.page-hero__eyebrow {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 0;
}
.page-hero__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: var(--font-size-md);
  max-width: 600px;
  margin: var(--space-md) auto 0;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}
.breadcrumbs__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-sm);
  align-items: center;
  font-size: var(--font-size-sm);
  max-width: var(--max-width);
  padding: 0 var(--space-xl);
  margin: 0 auto;
  flex-wrap: wrap;
}
.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-sm);
  color: var(--color-border);
}
.breadcrumbs__item a { color: var(--color-teal); }
.breadcrumbs__item.current { color: var(--color-text-muted); }

/* ============================================================
   PAGE CONTENT LAYOUT
   ============================================================ */
.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
}
.page-wrapper--no-sidebar {
  grid-template-columns: 1fr;
  max-width: var(--content-width);
}
.page-wrapper--wide {
  grid-template-columns: 1fr;
  max-width: var(--max-width);
}

.entry-content {
  font-size: var(--font-size-md);
  line-height: 1.75;
}
.entry-content h2 {
  margin-top: var(--space-2xl);
}
.entry-content h3 {
  margin-top: var(--space-xl);
  color: var(--color-teal);
}
.entry-content a:not(.btn):not([class*="wp-block-button"]) {
  color: var(--color-teal);
  text-decoration: underline;
  text-decoration-color: rgba(69,123,157,0.4);
  text-underline-offset: 3px;
}
.entry-content a:not(.btn):not([class*="wp-block-button"]):hover { color: var(--color-navy); text-decoration-color: var(--color-navy); }
.entry-content ul, .entry-content ol { margin-bottom: var(--space-md); }
.entry-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.widget {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
}
.widget-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-gold);
}
.widget ul {
  list-style: none;
  padding: 0;
}
.widget ul li {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--color-text);
  font-size: var(--font-size-sm);
}
.widget ul li a:hover { color: var(--color-teal); padding-left: var(--space-sm); }

/* Service Times Widget — outer wrapper override */
.widget_cgs_service_times {
  background: transparent;
  border: none;
  padding: 0;
}

/* Service Times Widget */
.service-widget {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.service-widget .widget-title { color: var(--color-gold); border-color: var(--color-gold); }
.service-widget .service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.85);
}
.service-widget .service-row:last-child { border-bottom: none; }
.service-widget .service-row strong { color: var(--color-white); font-weight: 600; }

/* ============================================================
   STAFF / PEOPLE GRID
   ============================================================ */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}
.person-card {
  text-align: center;
}
.person-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--color-gold);
  box-shadow: var(--shadow-md);
}
.person-card__name {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: 4px;
}
.person-card__title {
  font-size: var(--font-size-sm);
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.person-card__bio {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.person-card__email a {
  font-size: var(--font-size-sm);
  color: var(--color-teal);
}

/* ============================================================
   NOTICE / ANNOUNCEMENT BOX
   ============================================================ */
.notice-box {
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  margin: var(--space-2xl) 0;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.notice-box__icon { font-size: 2.5rem; flex-shrink: 0; }
.notice-box__content { flex: 1; min-width: 200px; }
.notice-box__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}
.notice-box__text {
  color: rgba(255,255,255,0.88);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* ============================================================
   SCRIPTURE QUOTE
   ============================================================ */
.scripture-banner {
  background: var(--color-cream);
  border-top: 4px solid var(--color-gold);
  border-bottom: 4px solid var(--color-gold);
  padding: var(--space-3xl) 0;
  text-align: center;
}
.scripture-banner__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-navy);
  font-style: italic;
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.5;
  padding: 0 var(--space-xl);
}
.scripture-banner__ref {
  display: block;
  margin-top: var(--space-md);
  font-style: normal;
  font-size: var(--font-size-sm);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   GIVE / DONATE SECTION
   ============================================================ */
.give-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}
.give-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.give-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}
.give-card__icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.give-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}
.give-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   LOCATION / MAP BOX
   ============================================================ */
.location-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0;
}
.location-box__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.location-box__map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}
.location-box__details h3 { color: var(--color-navy); }
.location-box__address {
  font-style: normal;
  font-size: var(--font-size-md);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}
.directions-block {
  margin-top: var(--space-md);
}
.directions-block h4 {
  font-size: var(--font-size-base);
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}
.directions-block p {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   VESTRY TABLE
   ============================================================ */
.vestry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}
.vestry-member {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 4px solid var(--color-gold);
}
.vestry-member__name {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  margin-bottom: 4px;
}
.vestry-member__role {
  font-size: var(--font-size-sm);
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.vestry-member__bio {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   ACCORDION (for FAQ / Programs)
   ============================================================ */
.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-xl) 0;
}
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  width: 100%;
  background: var(--color-white);
  border: none;
  padding: var(--space-lg);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-navy);
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--color-cream); }
.accordion-header[aria-expanded="true"] {
  background: var(--color-navy);
  color: var(--color-white);
}
.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}
.accordion-body {
  display: none;
  padding: var(--space-lg);
  background: var(--color-cream);
  font-size: var(--font-size-md);
  line-height: 1.7;
}
.accordion-body.is-open { display: block; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--space-4xl) 0 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-3xl);
}
.footer-brand {}
.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}
.footer-brand__tagline {
  font-size: var(--font-size-sm);
  color: var(--color-gold);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}
.footer-brand__desc {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: var(--space-lg);
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
}
.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: var(--font-size-sm);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.footer-social__link:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}
.footer-col__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-col ul li a {
  color: rgba(255,255,255,0.72);
  font-size: var(--font-size-sm);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-gold); }
.footer-contact p {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--color-gold); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-header {
  margin-bottom: var(--space-2xl);
}
.post-header__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.post-header__meta a { color: var(--color-teal); }
.post-thumbnail {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-md);
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}
.post-nav__item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-text);
}
.post-nav__item--next { text-align: right; }
.post-nav__label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.post-nav__title { font-family: var(--font-heading); color: var(--color-teal); }

/* ============================================================
   SEARCH
   ============================================================ */
.search-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 600px;
  margin: var(--space-xl) auto;
}
.search-form input[type="search"] {
  flex: 1;
  padding: 0.75rem var(--space-lg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  outline: none;
  transition: border-color var(--transition);
}
.search-form input[type="search"]:focus { border-color: var(--color-teal); }
.search-form button {
  padding: 0.75rem var(--space-xl);
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: background var(--transition);
}
.search-form button:hover { background: var(--color-teal); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--color-gold); }
.text-teal { color: var(--color-teal); }
.text-navy { color: var(--color-navy); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-white); }
.eyebrow {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .welcome-section__inner {
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
  }

  .primary-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header__inner {
    padding: var(--space-md) var(--space-lg);
  }
  .site-logo__tagline { display: none; }

  .hero { min-height: 70vh; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__badge { display: none; }

  .service-banner__inner { gap: var(--space-xl); }
  .service-divider { display: none; }

  .welcome-section__inner {
    grid-template-columns: 1fr;
  }
  .welcome-section__image::before { display: none; }
  .welcome-section__image img { height: 280px; }

  .page-wrapper {
    grid-template-columns: 1fr;
    padding: var(--space-2xl) var(--space-lg);
  }

  .location-box {
    grid-template-columns: 1fr;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav__item--next { text-align: left; }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .footer-brand { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: var(--space-xl); }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .event-item {
    grid-template-columns: 60px 1fr;
  }
  .event-item > .btn { display: none; }

  .container { padding: 0 var(--space-lg); }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .give-options { grid-template-columns: 1fr; }
  .vestry-grid { grid-template-columns: 1fr; }
  .service-banner__inner { flex-direction: column; gap: var(--space-lg); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .sidebar, .nav-toggle, .hero__actions { display: none; }
  .page-wrapper { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
  h1, h2, h3 { page-break-after: avoid; }
}
