/*
Theme Name: Shalom Gospel Ministries
Theme URI: https://www.shalomgospel.org/
Author: Shalom Gospel Ministries
Author URI: https://www.shalomgospel.org/
Description: A professional WordPress theme for Shalom Gospel Ministries with full blog, page, menu, sidebar, comments, and responsive church website support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shalom
Tags: blog, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =============================================================
   SHALOM GOSPEL MINISTRIES — style.css
   External stylesheet. All visual rules live here; zero inline
   styles or <style> blocks are used in index.html.
   ============================================================= */


/* =============================================================
   1. CSS VARIABLES
   ============================================================= */
:root {
  /* Brand colours */
  --color-navy:                  #0A235D;
  --color-navy-dark:             #142d78;
  --color-gold:                  #785a1a;
  --color-gold-mid:              #c8971e;
  --color-gold-light:            #fed488;
  --color-gold-bright:           #e9c176;
  --color-white:                 #ffffff;

  /* Surface / background tokens */
  --color-body-bg:               #faf8fe;
  --color-body-text:             #1b1b1f;
  --color-surface:               #efedf3;
  --color-surface-low:           #f5f3f8;
  --color-outline:               #c5c6d1;
  --color-on-surface-variant:    #444650;

  /* Semantic container tokens */
  --color-primary-container:     #0a235d;
  --color-secondary-container:   #fed488;
  --color-on-secondary-container:#785a1a;

  /* Typography */
  --font-serif: 'Noto Serif', serif;
  --font-sans:  'Manrope', sans-serif;

  /* Header geometry */
  --nav-height:         90px;
  --nav-height-shrunk:  58px;
  --announce-height:    40px;
  --header-total:       130px;
  --logo-size:          180px;
  --logo-size-shrunk:   72px;

  /* Motion */
  --transition-base:   0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;

  /* Shadows */
  --shadow-card: 0 10px 30px -15px rgba(10,35,93,0.12);
  --shadow-logo: 0 8px 40px rgba(10,35,93,0.22);
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-body-bg);
  color: var(--color-body-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(10,35,93,0.2);
  clip: auto !important;
  clip-path: none;
  color: var(--color-navy);
  display: block;
  height: auto;
  left: 16px;
  padding: 12px 16px;
  top: 16px;
  width: auto;
  z-index: 100000;
}

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

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}


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

.section-gap {
  padding-top: 80px;
  padding-bottom: 80px;
}


/* =============================================================
   4. HEADER / NAVIGATION
   ============================================================= */

/* Outermost header wrapper — sticky bar */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: var(--color-white);
  overflow: visible;
  isolation: isolate;
  transition: box-shadow var(--transition-base);
}

/* Elevation state applied on scroll */
.site-header.scrolled {
  box-shadow: 0 4px 32px -4px rgba(10,35,93,0.18);
}

/* Announcement bar at very top */
.announce-bar {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.05em;
  transition:
    max-height var(--transition-smooth),
    opacity 0.3s ease,
    padding var(--transition-smooth);
  max-height: 48px;
  overflow: hidden;
}

/* Collapse announcement bar when header has shrunk */
.site-header.shrunk .announce-bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Gold accent border below nav */
.nav-border {
  border-bottom: 3px solid var(--color-gold-mid);
  overflow: visible;
}

/* Inner nav container — constrains width */
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  overflow: visible;
}

/* Flex row holding logo, nav links, and actions */
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-height);
  overflow: visible;
  transition: height var(--transition-smooth);
}

/* Logo anchor — sits in flow, overflows below nav */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;
  z-index: 100;
  align-self: flex-start;
}

/* Church name text beside the logo — hidden on desktop, shown on mobile */
.logo-text-wrap {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

.logo-text-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
}

/* Circular logo badge that overhangs onto the hero */
.logo-circle {
  position: relative;
  width: var(--logo-size);
  height: var(--logo-size);
  min-width: var(--logo-size);
  min-height: var(--logo-size);
 /* border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-logo);*/
  margin-top: 8px;
  /*transition:
    width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease;*/
}

.logo-circle img {
  position: absolute;
  top: 0;
  left: 0;
 /* width: 100%;
  height: 100%;*/
  object-fit: cover;
  display: block;
}

/* Desktop primary navigation */
.main-nav {
  display: none; /* hidden on mobile; overridden by media query below */
  align-items: center;
  gap: 4px;
  align-self: center;
}

/* Individual nav links with animated underline */
.nav-link {
  position: relative;
  padding: 4px 12px;
  color: #3a4a6b;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Right-hand CTA cluster */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
}

/* "Give" pill button */
.btn-give {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 14px -4px rgba(10,35,93,0.35);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.btn-give:hover {
  background: var(--color-navy-dark);
  box-shadow: 0 8px 20px -4px rgba(10,35,93,0.4);
}

/* "Join Us" pill button — desktop-only; hidden on <=1023px via media query */
.btn-join {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  transition: background var(--transition-base), color var(--transition-base);
}

.btn-join:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

/* Icon sizing inside CTA buttons */
.btn-give .material-symbols-outlined,
.btn-join .material-symbols-outlined {
  font-size: 16px;
}

/* Gold accent icon inside Give button */
.btn-give .icon {
  color: #fcd34d;
}


/* =============================================================
   5. HAMBURGER
   ============================================================= */
.hamburger {
  display: none; /* shown on mobile via media query */
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background var(--transition-base);
}

.hamburger:hover {
  background: #f1f5f9;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* Morph hamburger into x when open */
.hamburger.is-open {
  /* background removed to match screenshot */
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .hamburger { display: flex; }

  /* ── Mobile header / logo fixes ─────────────────────────── */

  /* Shrink the nav row height on mobile */
  .nav-row {
    height: 64px;
    gap: 8px;
    padding: 0 4px;
  }

  /* Reset the oversized badge — use a compact centred logo */
  .logo-link {
    align-self: center;   /* undo flex-start; sit in the middle of the row */
    gap: 10px;
  }

  /* Show the church name text on mobile */
  .logo-text-wrap {
    display: flex;
  }

  .logo-circle {
    width: 52px  !important;
    height: 52px !important;
    min-width: 52px  !important;
    min-height: 52px !important;
    margin-top: 0 !important;  /* no downward overhang on mobile */
  }

  .logo-circle img {
    width: 52px  !important;
    height: 52px !important;
  }

  /* Tighten the inner padding on mobile */
  .nav-inner {
    padding: 0 16px;
  }

  /* Shrink the announce bar text on very small screens */
  .announce-bar {
    font-size: 10.5px;
    padding: 6px 12px;
  }

  /* Hide the Give button text on tiny screens to save space */
  .btn-give {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Adjust the main content offset for the smaller mobile header */
  /* announce bar ~34px + nav row 64px ≈ 98px */
  main {
    /*margin-top: 98px !important;*/
  }
}


/* =============================================================
   6. DROPDOWN (MINISTRIES)
   ============================================================= */
.dropdown-wrap {
  position: relative;
}

/* Button inherits .nav-link; this adds flex for chevron icon */
.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-chevron {
  font-size: 16px;
  transition: transform 0.25s;
}

/* Flyout panel */
.dropdown-menu {
  display: none; /* toggled by JS */
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 200px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(10,35,93,0.14);
  border: 1px solid #f1f5f9;
  padding: 6px 0;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

/* Invisible bridge to keep hover active across the 8px gap */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.dropdown-wrap:hover .dropdown-menu,
.dropdown-menu.is-open {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: #444;
  transition: background var(--transition-base), color var(--transition-base);
}

.dropdown-item:hover {
  background: #f8faff;
  color: var(--color-navy);
}

.dropdown-item .material-symbols-outlined {
  font-size: 16px;
  color: var(--color-gold);
}


/* =============================================================
   7. MOBILE MENU
   ============================================================= */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--transition-smooth), opacity 0.3s;
}

.mobile-menu.open {
  max-height: 480px;
  opacity: 1;
}

.mobile-menu-inner {
  border-top: 1px solid #f1f5f9;
  background: var(--color-white);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
  transition: background var(--transition-base), color var(--transition-base);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #f8faff;
  color: var(--color-navy);
  font-weight: 600;
}

.mobile-nav-link .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-gold);
}

.mobile-nav-actions {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-btn-give {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  background: var(--color-navy);
  color: var(--color-white);
}

.mobile-btn-join {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.mobile-btn-join:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* Reveal desktop nav and hide hamburger at >=1024px */
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .hamburger { display: none !important; }
}

/* Hide Join Us button below 1024px */
@media (max-width: 1023px) {
  .btn-join { display: none; }
}

@media (min-width: 1024px) {
  .btn-join { display: inline-flex; }
}


/* =============================================================
   8. HERO SLIDER
   ============================================================= */
.hero-section {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  background: var(--color-primary-container);
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 80vh;
}

/* Each slide stacks absolutely; JS toggles .is-active */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 10;
}

/* Background image wrapper */
.slide-bg {
  position: absolute;
  inset: 0;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Colour overlay variants */
.slide-overlay {
  position: absolute;
  inset: 0;
}

.slide-overlay--navy  { background: rgba(10,35,93,0.70); }
.slide-overlay--brown { background: rgba(58,26,0,0.75); }

/* Text content area */
.slide-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}

/* Badge pill above heading */
.hero-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 9999px;
  background: var(--color-secondary-container);
  color: var(--color-on-secondary-container);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA button row */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
}

.hero-btn-primary {
  padding: 16px 40px;
  background: var(--color-white);
  color: var(--color-primary-container);
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
  transition: background var(--transition-base), transform var(--transition-base);
}

.hero-btn-primary:hover { background: #f1f5f9; }

.hero-btn-secondary {
  padding: 16px 40px;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--transition-base);
}

.hero-btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Initial hidden state for JS-animated elements.
   JS removes these via direct style manipulation after a tick. */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
}

/* Prev / Next arrow buttons */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), transform var(--transition-base);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover { background: rgba(255,255,255,0.4); }
.hero-arrow:active { transform: translateY(-50%) scale(0.9); }

.hero-arrow--prev { left: 32px; }
.hero-arrow--next { right: 32px; }

.hero-arrow .material-symbols-outlined { font-size: 28px; }

/* Dot navigation */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}

.hero-dot.is-active {
  background: var(--color-white);
  transform: scale(1.3);
}

/* Auto-play progress bar at bottom edge */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(254,212,136,0.8);
  z-index: 20;
  width: 0;
}

@media (max-width: 767px) {
  .hero-arrow--prev { left: 12px; }
  .hero-arrow--next { right: 12px; }
}


/* =============================================================
   9. SCRIPTURE SECTION
   ============================================================= */
.scripture-section {
  background: var(--color-surface-low); /* soft background */
  padding: 80px 0;
  border-top: 1px solid var(--color-outline);
  border-bottom: 1px solid var(--color-outline);
  position: relative;
}

.scripture-inner {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 56px 64px;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(10,35,93,0.08);
  position: relative;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Move the quote icon to the side on desktop */
.scripture-quote-icon {
  position: relative;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  color: var(--color-gold-light);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -12px; /* visually align with first line */
  user-select: none;
  font-weight: bold;
}

.scripture-content {
  flex: 1;
}

.scripture-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  color: var(--color-navy);
  line-height: 1.8;
  text-align: left;
}

.scripture-cite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-gold-mid);
}

.scripture-cite::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold-mid);
}

@media (max-width: 767px) {
  .scripture-inner {
    flex-direction: column;
    padding: 40px 24px;
    gap: 16px;
  }
  .scripture-quote-icon {
    font-size: 56px;
    margin-top: 0;
  }
  .scripture-text {
    font-size: 13px;
    line-height: 1.7;
  }
  .scripture-cite {
    margin-top: 24px;
  }
}


/* =============================================================
   10. FOUR PILLARS SECTION
   ============================================================= */
.pillars-section {
  padding: 80px 0;
  background: var(--color-body-bg);
}

/* Shared section heading styles (reused across sections) */
.section-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.section-title-bar {
  height: 6px;
  width: 96px;
  background: var(--color-secondary-container);
  border-radius: 9999px;
  margin: 0 auto 16px;
}

.section-subtitle {
  color: var(--color-on-surface-variant);
  max-width: 480px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive grid for pillar cards */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Individual pillar card */
.pillar-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border-top: 8px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

/* Navy accent variant */
.pillar-card--navy { border-top-color: var(--color-navy); }

.pillar-card:hover { transform: translateY(-8px); }

/* Icon circle */
.pillar-icon {
  width: 64px;
  height: 64px;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.pillar-icon--navy { color: var(--color-navy); }

.pillar-icon .material-symbols-outlined { font-size: 32px; }

.pillar-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.pillar-sub {
  color: var(--color-on-surface-variant);
  font-size: 14px;
  margin-bottom: 12px;
}

.pillar-desc {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  line-height: 1.6;
}


/* =============================================================
   11. JOIN SERVICE SECTION
   ============================================================= */
.service-section {
  padding: 80px 0;
  background: var(--color-surface);
  overflow: hidden;
}

/* Two-column layout at desktop */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-media { position: relative; }

/* Video / image thumbnail */
.service-video {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
}

.service-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating info badge — hidden on mobile */
.service-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--color-secondary-container);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.15);
}

@media (max-width: 767px) {
  .service-badge { display: none; }
}

.service-badge-title {
  color: var(--color-on-secondary-container);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}

.service-badge-sub {
  color: rgba(120,90,26,0.8);
  font-size: 15px;
}

/* Copy column */
.service-content h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.service-content p {
  font-size: 18px;
  color: var(--color-on-surface-variant);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Info items (location, time) */
.service-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.service-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-info-item .material-symbols-outlined {
  color: var(--color-gold);
  padding-top: 2px;
}

.service-info-item h4 {
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.service-info-item p {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  margin-bottom: 0;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Reusable primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 8px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.btn-primary:hover {
  box-shadow: 0 8px 20px -5px rgba(10,35,93,0.4);
}

/* Reusable gold outline button */
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--color-on-secondary-container);
  color: var(--color-on-secondary-container);
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--transition-base), color var(--transition-base);
}

.btn-outline-gold:hover {
  background: var(--color-on-secondary-container);
  color: var(--color-white);
}


/* =============================================================
   12. RECENT UPDATES SECTION
   ============================================================= */
.updates-section {
  padding: 80px 0;
  background: var(--color-body-bg);
}

/* Header row with "View All" link */
.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.updates-header h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-navy);
}

.updates-header p {
  color: var(--color-on-surface-variant);
  margin-top: 8px;
}

/* "View All" link — hidden on mobile */
.view-all-btn {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--color-navy);
  font-weight: 700;
}

.view-all-btn:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .view-all-btn { display: flex; }
}

/* Three-column card grid */
.updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .updates-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Individual update card */
.update-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Zoom image on card hover */
.update-card:hover .update-card-img { transform: scale(1.05); }

/* Image thumbnail */
.update-card-img-wrap {
  height: 192px;
  overflow: hidden;
  background: #e2e8f0;
}

.update-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.update-card-body { padding: 24px; }

/* Category tag */
.update-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.update-tag--green  { background: #dcfce7; color: #166534; }
.update-tag--blue   { background: #dbeafe; color: #1e40af; }
.update-tag--orange { background: #ffedd5; color: #9a3412; }

.update-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.update-card-excerpt {
  color: var(--color-on-surface-variant);
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* "Read more" arrow link */
.update-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 14px;
  transition: gap var(--transition-base);
}

.update-card:hover .update-card-link { gap: 8px; }

.update-card-link .material-symbols-outlined { font-size: 16px; }


/* =============================================================
   13. PRAYER CTA SECTION
   ============================================================= */
.prayer-section {
  padding: 48px 0;
  background: var(--color-navy);
}

.prayer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .prayer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.prayer-text {
  color: var(--color-white);
  text-align: center;
}

@media (min-width: 768px) {
  .prayer-text { text-align: left; }
}

.prayer-text h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prayer-text p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

.prayer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 640px) {
  .prayer-actions {
    flex-direction: row;
    width: auto;
  }
}

/* White-filled button */
.btn-white {
  padding: 12px 32px;
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 700;
  border-radius: 8px;
  transition: box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn-white:hover { box-shadow: 0 8px 20px -5px rgba(0,0,0,0.25); }

/* Ghost button on dark background */
.btn-ghost-white {
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--transition-base);
  white-space: nowrap;
}

.btn-ghost-white:hover { background: rgba(255,255,255,0.1); }


/* =============================================================
   14. FOOTER
   ============================================================= */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
}

/* SVG wave that transitions from page bg into footer */
.footer-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* Footer content wrapper */
.footer-body {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 32px 40px;
}

/* Responsive 4-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Small circular logo in footer */
.footer-logo-img-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
  background: var(--color-white);
  flex-shrink: 0;
}

.footer-logo-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.footer-logo-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-top: 2px;
}

.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-registered {
  color: var(--color-gold-mid);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: -4px;
  margin-bottom: 4px;
  max-width: 280px;
}

/* Contact details list */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-contact-item .material-symbols-outlined {
  font-size: 16px;
  color: #fbbf24;
  flex-shrink: 0;
}

/* Social icon strip */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition-base), color var(--transition-base);
}

.footer-social-link:hover {
  background: #fbbf24;
  color: var(--color-navy);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Navigation column headings */
.footer-nav-col h5 {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Gold accent bar before heading */
.footer-nav-col h5::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #fbbf24;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Navigation link list */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color var(--transition-base);
}

.footer-nav-link:hover { color: #fbbf24; }

/* Arrow icon that appears on hover */
.footer-nav-link .material-symbols-outlined {
  font-size: 13px;
  color: #fbbf24;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.footer-nav-link:hover .material-symbols-outlined { opacity: 1; }

/* Service times card */
.footer-times-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px;
}

.footer-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-time-row:last-of-type { border-bottom: none; }

/* Saturday Watchnight highlight row */
.footer-time-row--highlight {
  background: rgba(200,151,30,0.12);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 0 -10px 4px;
  border-bottom: none !important;
}
.footer-time-row--highlight .footer-time-label { color: var(--color-gold-mid); font-weight: 700; }
.footer-time-row--highlight .footer-time-value { color: var(--color-gold-mid); font-weight: 700; }

.footer-time-label {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
}

.footer-time-value {
  color: #fbbf24;
  font-size: 14px;
  font-weight: 700;
}

/* Watch Live button inside service times card */
.footer-live-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: #fbbf24;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
  transition: background var(--transition-base);
}

.footer-live-btn:hover { background: #fcd34d; }

.footer-live-btn .material-symbols-outlined { font-size: 16px; }

/* Bottom copyright bar */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 16px;
}

.footer-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-bar-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  transition: color var(--transition-base);
}

.footer-legal a:hover { color: #fbbf24; }


/* =============================================================
   15. ANNOUNCEMENT BAR DETAIL STYLES
   ============================================================= */

/* Small icons inside the announcement bar */
.announce-bar .material-symbols-outlined {
  font-size: 14px;
  color: #fbbf24;
  vertical-align: middle;
}

/* Live stream link inside the announcement bar */
.announce-bar-link {
  color: #fcd34d;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-base);
}

.announce-bar-link:hover {
  color: #fef08a;
}


/* =============================================================
   16. SCROLL-TO-TOP BUTTON
   ============================================================= */
#scroll-top-btn {
  position: fixed;
  bottom: 100px;          /* sits above the WhatsApp widget */
  right: 24px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(10,35,93,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
}

#scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top-btn:hover {
  background: var(--color-gold);
}

#scroll-top-btn .material-symbols-outlined {
  font-size: 22px;
}

@media (max-width: 767px) {
  #scroll-top-btn {
    bottom: 90px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}


/* =============================================================
   17. WHATSAPP FLOATING WIDGET
   ============================================================= */
#whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Main WhatsApp button */
.wa-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.wa-btn:hover {
  background: #20b958;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Pulse animation ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Tooltip label beside the button */
.wa-tooltip {
  background: #fff;
  color: #1a202c;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.14);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  position: absolute;
  right: 66px;
  bottom: 10px;
}

#whatsapp-widget:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  #whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }
  .wa-btn {
    width: 50px;
    height: 50px;
  }
}


/* =============================================================
   19. PRAYER REQUEST MODAL
   ============================================================= */

/* Overlay */
.pr-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pr-overlay[hidden] { display: none; }

/* Dark backdrop */
.pr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 40, 0.72);
  backdrop-filter: blur(4px);
  animation: pr-fade-in 0.25s ease;
}

@keyframes pr-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pr-slide-up {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Dialog box */
.pr-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(10,35,93,0.3);
  animation: pr-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Header strip */
.pr-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 2;
}

.pr-header-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-navy), #1a3a7a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-mid);
}

.pr-header-icon .material-symbols-outlined {
  font-size: 1.5rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.pr-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 4px;
}

.pr-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.pr-close {
  margin-left: auto;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: background 0.2s, color 0.2s;
}

.pr-close:hover { background: #fee2e2; color: #dc2626; }
.pr-close .material-symbols-outlined { font-size: 1.1rem; }

/* Form body */
.pr-form {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) { .pr-form-row { grid-template-columns: 1fr; } }

.pr-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pr-form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pr-required { color: #dc2626; }

.pr-form-group input,
.pr-form-group select,
.pr-form-group textarea {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #1a202c;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.pr-form-group input:focus,
.pr-form-group select:focus,
.pr-form-group textarea:focus {
  border-color: var(--color-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,35,93,0.1);
}

.pr-form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.pr-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A235D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Anonymous checkbox */
.pr-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.pr-checkbox-wrap input[type="checkbox"] { display: none; }

.pr-checkbox-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-checkbox-wrap input:checked + .pr-checkbox-box {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.pr-checkbox-wrap input:checked + .pr-checkbox-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.pr-checkbox-label {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

/* Success message */
.pr-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 16px;
  color: #166534;
}

.pr-success[hidden] { display: none; }

.pr-success .material-symbols-outlined {
  font-size: 1.8rem;
  color: #16a34a;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  flex-shrink: 0;
}

.pr-success strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.pr-success p { margin: 0; font-size: 0.82rem; line-height: 1.5; }

/* Action buttons */
.pr-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 4px;
}

.pr-btn-cancel {
  padding: 11px 24px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.pr-btn-cancel:hover { background: #f8fafc; border-color: #cbd5e1; }

/* Validation error state */
.pr-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important;
}
.pr-invalid:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.2) !important;
}

.pr-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 10px;
  border: none;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.pr-btn-submit:hover {
  background: #0d2f7a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,35,93,0.28);
}

.pr-btn-submit .material-symbols-outlined { font-size: 1rem; }

@media (max-width: 480px) {
  .pr-dialog { border-radius: 16px 16px 0 0; max-height: 95vh; }
  .pr-overlay { align-items: flex-end; padding: 0; }
  .pr-header { padding: 20px 20px 16px; }
  .pr-form { padding: 20px 20px 24px; }
  .pr-form-actions { flex-direction: column-reverse; }
  .pr-btn-cancel, .pr-btn-submit { width: 100%; justify-content: center; }
}


/* =============================================================
   18. CONTACT PAGE
   ============================================================= */
/* ── Contact page styles ───────────────────────────────── */
    .contact-banner {
      background: linear-gradient(135deg, var(--color-navy) 0%, #162e6e 60%, #0d1f4f 100%);
      padding: 72px 24px 80px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .contact-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('images/hero1.jpg') center/cover no-repeat;
      opacity: 0.08;
    }
    .contact-banner-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
    .contact-banner-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(200,151,30,0.15); border: 1px solid rgba(200,151,30,0.35);
      color: var(--color-gold-mid); font-size: 0.78rem; font-weight: 700; letter-spacing: .12em;
      text-transform: uppercase; border-radius: 999px; padding: 4px 16px; margin-bottom: 20px;
    }
    .contact-banner h1 { font-family: 'Noto Serif', serif; font-size: clamp(2rem,5vw,3.2rem); font-weight: 700; color: #fff; margin: 0 0 16px; }
    .contact-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.7; margin: 0; }

    /* ── Contact section wrapper ──────────────────────────── */
    .contact-section { background: #faf8fe; padding: 72px 24px; }
    .contact-layout {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
    }
    @media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

    /* ── Contact form ─────────────────────────────────────── */
    .contact-form-card {
      background: #fff; border-radius: 18px; padding: 40px;
      box-shadow: 0 4px 32px rgba(10,35,93,0.09); border: 1px solid rgba(10,35,93,0.07);
    }
    .contact-form-card h2 { font-family: 'Noto Serif', serif; font-size: 1.5rem; color: var(--color-navy); margin: 0 0 6px; }
    .contact-form-card > p { color: #6b7280; font-size: 0.92rem; margin: 0 0 28px; line-height: 1.6; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    @media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
    .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
    .form-group label { font-size: 0.82rem; font-weight: 700; color: var(--color-navy); letter-spacing: .04em; text-transform: uppercase; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 12px 16px;
      font-family: 'Manrope', sans-serif; font-size: 0.95rem; color: #1a202c;
      background: #f8fafc; transition: border-color .2s, box-shadow .2s;
      outline: none; width: 100%;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--color-navy); background: #fff;
      box-shadow: 0 0 0 3px rgba(10,35,93,0.1);
    }
    .form-group textarea { resize: vertical; min-height: 130px; }
    .form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A235D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
    .btn-form-submit {
      display: inline-flex; align-items: center; gap: 8px; justify-content: center;
      background: var(--color-navy); color: #fff; font-weight: 700; font-size: 0.95rem;
      border: none; border-radius: 10px; padding: 14px 32px; cursor: pointer; width: 100%;
      transition: background .2s, transform .15s, box-shadow .2s; letter-spacing: .03em;
    }
    .btn-form-submit:hover { background: #0d2f7a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,35,93,0.25); }
    .btn-form-submit .material-symbols-outlined { font-size: 1.15rem; }
    .form-note { font-size: 0.78rem; color: #9ca3af; text-align: center; margin-top: 12px; }

    /* ── Contact info cards ───────────────────────────────── */
    .contact-info-col { display: flex; flex-direction: column; gap: 20px; }
    .contact-info-header h2 { font-family: 'Noto Serif', serif; font-size: 1.5rem; color: var(--color-navy); margin: 0 0 6px; }
    .contact-info-header p { color: #6b7280; font-size: 0.92rem; line-height: 1.6; margin: 0 0 24px; }
    .contact-info-card {
      background: #fff; border-radius: 14px; padding: 22px 24px;
      box-shadow: 0 2px 16px rgba(10,35,93,0.07); border: 1px solid rgba(10,35,93,0.07);
      display: flex; align-items: flex-start; gap: 16px;
    }
    .contact-info-icon {
      width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
      background: linear-gradient(135deg, var(--color-navy) 0%, #162e6e 100%);
      display: flex; align-items: center; justify-content: center; color: #fff;
    }
    .contact-info-icon .material-symbols-outlined { font-size: 1.3rem; }
    .contact-info-text h4 { font-weight: 700; color: var(--color-navy); font-size: 0.92rem; margin: 0 0 4px; }
    .contact-info-text p, .contact-info-text a { color: #4b5563; font-size: 0.88rem; line-height: 1.6; margin: 0; text-decoration: none; }
    .contact-info-text a:hover { color: var(--color-navy); }
    .service-times-card {
      background: linear-gradient(135deg, var(--color-navy) 0%, #1a3575 100%);
      border-radius: 14px; padding: 22px 24px; color: #fff;
    }
    .service-times-card h4 { font-family: 'Noto Serif', serif; font-size: 1rem; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
    .service-times-card .material-symbols-outlined { font-size: 1.1rem; color: var(--color-gold-mid); }
    .service-time-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.88rem; }
    .service-time-row:last-child { border-bottom: none; }
    .service-time-row span:first-child { color: rgba(255,255,255,0.8); }
    .service-time-row span:last-child { font-weight: 700; color: var(--color-gold-mid); }

    /* ── Map section ──────────────────────────────────────── */
    .map-section { padding: 0 24px 72px; background: #faf8fe; }
    .map-inner { max-width: 1100px; margin: 0 auto; }
    .map-inner h2 { font-family: 'Noto Serif', serif; font-size: 1.75rem; color: var(--color-navy); margin: 0 0 8px; }
    .map-inner > p { color: #6b7280; font-size: 0.95rem; margin: 0 0 24px; }
    .map-placeholder {
      width: 100%; height: 380px; border-radius: 18px;
      background: linear-gradient(135deg, var(--color-navy) 0%, #1a3575 100%);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 12px; color: #fff; position: relative; overflow: hidden;
      border: 1px solid rgba(10,35,93,0.12);
    }
    .map-placeholder::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px),
                  repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
    }
    .map-pin-icon { font-size: 3.5rem; color: var(--color-gold-mid); position: relative; z-index: 1; }
    .map-placeholder h3 { font-family: 'Noto Serif', serif; font-size: 1.2rem; margin: 0; position: relative; z-index: 1; }
    .map-placeholder p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; position: relative; z-index: 1; text-align: center; max-width: 420px; }
    .map-directions-btn {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--color-gold-mid); color: var(--color-navy); font-weight: 700; font-size: 0.88rem;
      border-radius: 999px; padding: 10px 24px; text-decoration: none; position: relative; z-index: 1;
      margin-top: 8px; transition: background .2s, transform .15s;
    }
    .map-directions-btn:hover { background: #d9a421; transform: translateY(-1px); }

    /* ── Prayer banner ────────────────────────────────────── */
    .prayer-banner {
      background: linear-gradient(135deg, #0A235D 0%, #162e6e 100%);
      padding: 64px 24px; text-align: center; position: relative; overflow: hidden;
    }
    .prayer-banner::before {
      content: ''; position: absolute; right: -60px; top: -60px;
      width: 320px; height: 320px; border-radius: 50%;
      background: rgba(200,151,30,0.08);
    }
    .prayer-banner::after {
      content: ''; position: absolute; left: -40px; bottom: -80px;
      width: 260px; height: 260px; border-radius: 50%;
      background: rgba(200,151,30,0.06);
    }
    .prayer-banner-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
    .prayer-banner .material-symbols-outlined { font-size: 3rem; color: var(--color-gold-mid); display: block; margin-bottom: 16px; }
    .prayer-banner h2 { font-family: 'Noto Serif', serif; font-size: clamp(1.6rem,4vw,2.2rem); color: #fff; margin: 0 0 14px; }
    .prayer-banner p { color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.7; margin: 0 0 28px; }
    .prayer-banner-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =============================================================
   WORDPRESS BLOG AND CORE TEMPLATE STYLES
   ============================================================= */
.shalom-wp-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shalom-wp-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--color-body-text);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base);
}

.shalom-wp-menu .current-menu-item > a,
.shalom-wp-menu .current_page_item > a,
.shalom-wp-menu a:hover {
  background: rgba(10,35,93,0.08);
  color: var(--color-navy);
}

.shalom-wp-menu .sub-menu {
  display: none;
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 10px;
  min-width: 220px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  z-index: 40;
}

.shalom-wp-menu li {
  position: relative;
}

.shalom-wp-menu li:hover > .sub-menu,
.shalom-wp-menu li:focus-within > .sub-menu {
  display: block;
}

.footer-wp-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-wp-menu a {
  display: flex;
  color: inherit;
  padding: 6px 0;
  text-decoration: none;
}

.page-hero,
.single-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
}

.page-hero-bg,
.single-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img,
.single-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,35,93,0.88), rgba(20,45,120,0.68));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.page-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-gold-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.page-hero h1,
.single-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0;
}

.page-hero p,
.single-hero p {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.75;
}

.blog-section,
.wp-page-content {
  padding: 72px 24px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.blog-posts {
  display: grid;
  gap: 24px;
}

.post-card,
.single-article,
.comments-area,
.blog-sidebar .widget,
.no-results {
  background: var(--color-white);
  border: 1px solid rgba(10,35,93,0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.post-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
}

.post-card-thumb {
  min-height: 220px;
  background: var(--color-surface);
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 28px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-card-title {
  margin: 10px 0 12px;
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.22;
}

.post-card-title a,
.read-more-link {
  color: inherit;
  text-decoration: none;
}

.post-card-excerpt,
.entry-content {
  color: var(--color-on-surface-variant);
  font-size: 1rem;
  line-height: 1.8;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--color-navy);
  font-weight: 800;
}

.single-article {
  padding: clamp(28px, 5vw, 56px);
}

.entry-content > * + * {
  margin-top: 1.1em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--color-navy);
  font-family: var(--font-serif);
  line-height: 1.2;
}

.entry-content a {
  color: var(--color-navy);
  font-weight: 700;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.post-tags {
  margin-top: 32px;
  color: var(--color-gold);
  font-weight: 700;
}

.navigation,
.nav-links,
.pagination {
  margin-top: 28px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.page-numbers,
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(10,35,93,0.1);
}

.page-numbers.current {
  background: var(--color-navy);
  color: var(--color-white);
}

.blog-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.blog-sidebar .widget {
  padding: 24px;
}

.widget-title {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.widget ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget a {
  color: var(--color-on-surface-variant);
  text-decoration: none;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-field,
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(10,35,93,0.16);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

.search-submit,
.form-submit .submit {
  border: 0;
  border-radius: 8px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
}

.comments-area {
  margin-top: 32px;
  padding: 32px;
}

.comment-list {
  display: grid;
  gap: 18px;
  margin: 0 0 32px;
  padding-left: 22px;
}

.alignwide {
  max-width: 1100px;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.shalom-elementor-header,
.shalom-elementor-footer {
  position: relative;
  z-index: 50;
}

.elementor-full-width-page,
.elementor-blank-page {
  width: 100%;
  overflow-x: clip;
}

.elementor-blank-canvas {
  background: var(--color-body-bg);
}

.sgm-elementor-header {
  --sgm-header-primary: var(--color-navy);
  --sgm-header-accent: var(--color-gold-mid);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 999;
  transition: box-shadow 0.25s ease;
  will-change: transform;
  isolation: isolate;
}

.sgm-elementor-header-spacer {
  display: block;
  height: 161px;
}

.sgm-elementor-header-spacer + #primary,
.sgm-elementor-header-spacer + .site-main {
  margin-top: 0 !important;
}

.sgm-elementor-header.is-shrunk {
  box-shadow: 0 8px 24px rgba(10,35,93,0.12);
}

.sgm-elementor-announce {
  background: var(--sgm-header-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  max-height: 80px;
  opacity: 1;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.sgm-elementor-header.is-shrunk .sgm-elementor-announce {
  max-height: 0;
  opacity: 0;
}

.sgm-elementor-announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding-top: 6px;
  padding-bottom: 6px;
  overflow: hidden;
  white-space: nowrap;
}

.sgm-announce-item,
.sgm-announce-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sgm-announce-service {
  flex: 0 1 auto;
  max-width: 42%;
  overflow: hidden;
}

.sgm-announce-location {
  flex: 1 1 auto;
  overflow: hidden;
}

.sgm-announce-service > span:last-child,
.sgm-announce-location > span:last-child {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sgm-announce-item .material-symbols-outlined {
  color: var(--sgm-header-accent);
  font-size: 18px;
  line-height: 1;
}

.sgm-announce-separator {
  color: rgba(255,255,255,0.45);
}

.sgm-announce-live {
  color: var(--sgm-header-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.sgm-elementor-nav-row {
  position: relative;
  background: var(--color-white);
  border-bottom: 1px solid rgba(200,151,30,0.75);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.sgm-elementor-header.is-shrunk .sgm-elementor-nav-row {
  background: var(--color-white) !important;
  border-bottom-color: rgba(200,151,30,0.9);
}

.sgm-elementor-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 116px;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

.sgm-elementor-header.is-shrunk .sgm-elementor-header-inner {
  min-height: 72px;
}

.sgm-elementor-brand {
  position: absolute;
  left: 0;
  top: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sgm-header-primary);
  text-decoration: none;
  transition: top 0.25s ease, transform 0.25s ease;
}

.sgm-elementor-brand img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--color-white);
  transition: width 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
}

.sgm-elementor-header.is-shrunk .sgm-elementor-brand {
  top: 0;
}

.sgm-elementor-header.is-shrunk .sgm-elementor-brand img {
  width: 100px;
  height: 100px;
  box-shadow: 0 4px 16px rgba(10,35,93,0.12);
}

.sgm-elementor-brand strong,
.sgm-elementor-brand small {
  display: none;
  line-height: 1.1;
}

.sgm-elementor-brand strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.sgm-elementor-brand small {
  color: var(--sgm-header-accent);
  font-weight: 800;
}

.sgm-elementor-header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  min-width: 0;
  margin-left: 270px;
  padding-right: 170px;
  transition: margin 0.25s ease, padding 0.25s ease;
}

.sgm-elementor-menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: inherit;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgm-elementor-menu-list li {
  position: relative;
  margin: 0;
  padding: 0;
}

.sgm-elementor-header.is-shrunk .sgm-elementor-header-menu {
  margin-left: 120px;
}

.sgm-elementor-header-menu a,
.sgm-elementor-menu-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-navy);
  padding: 10px 0;
  border-radius: 0;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sgm-menu-text {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sgm-menu-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.sgm-menu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.sgm-elementor-menu-list > li:hover > a .sgm-menu-arrow,
.sgm-elementor-menu-list > li:focus-within > a .sgm-menu-arrow {
  transform: rotate(180deg);
}

.sgm-elementor-header-menu a:hover,
.sgm-elementor-menu-list a:hover {
  background: transparent;
  color: var(--sgm-header-primary);
}

.sgm-elementor-header-menu > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.sgm-elementor-header-menu > a:hover::after,
.sgm-elementor-menu-list > li.current-menu-item > a .sgm-menu-text::after,
.sgm-elementor-menu-list > li.current-menu-ancestor > a .sgm-menu-text::after,
.sgm-elementor-menu-list > li > a:hover .sgm-menu-text::after {
  transform: scaleX(1);
}

.sgm-elementor-menu-list .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 1000;
  display: grid;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 18px 40px rgba(10,35,93,0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.sgm-elementor-menu-list .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + 8px);
  transform: translate(8px, 0);
}

.sgm-elementor-menu-list li:hover > .sub-menu,
.sgm-elementor-menu-list li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sgm-elementor-menu-list .sub-menu li:hover > .sub-menu,
.sgm-elementor-menu-list .sub-menu li:focus-within > .sub-menu {
  transform: translate(0, 0);
}

.sgm-elementor-menu-list .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 13px;
  border-radius: 6px;
  color: var(--color-on-surface-variant);
  font-size: 0.92rem;
  text-align: left;
}

.sgm-elementor-menu-list .sub-menu a:hover {
  background: rgba(10,35,93,0.07);
  color: var(--color-navy);
}

.sgm-elementor-menu-list .sub-menu .sgm-menu-text::after {
  display: none;
}

.sgm-elementor-menu-list .sub-menu .sgm-menu-arrow {
  transform: rotate(-90deg);
}

.sgm-elementor-menu-list .sub-menu li:hover > a .sgm-menu-arrow,
.sgm-elementor-menu-list .sub-menu li:focus-within > a .sgm-menu-arrow {
  transform: rotate(-90deg) translateY(2px);
}

.sgm-elementor-header-button {
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 28px;
  border: 2px solid var(--sgm-header-accent);
  border-radius: 28px;
  background: transparent;
  color: var(--color-navy);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.sgm-elementor-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.sgm-elementor-mobile-toggle span {
  display: block;
  width: 29px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sgm-elementor-mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sgm-elementor-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.sgm-elementor-mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.sgm-elementor-footer {
  color: rgba(255,255,255,0.78);
  background: transparent;
  overflow: hidden;
}

.sgm-elementor-footer-wave {
  height: 64px;
  margin-bottom: -1px;
  background: transparent;
}

.sgm-elementor-footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sgm-elementor-footer-wave path {
  fill: var(--color-navy);
}

.sgm-elementor-footer-main {
  background: var(--color-navy);
  padding: 92px 24px 78px;
}

.sgm-elementor-footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(180px, 0.75fr) minmax(190px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(32px, 5vw, 86px);
  align-items: start;
  max-width: 1420px;
  margin: 0 auto;
}

.sgm-elementor-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.sgm-elementor-footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--color-white);
}

.sgm-elementor-footer-title {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
}

.sgm-elementor-footer-subtitle {
  margin-top: 3px;
  color: var(--color-gold-mid);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sgm-elementor-footer-description {
  max-width: 350px;
  margin: 0 0 28px;
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.sgm-elementor-footer-contact {
  display: grid;
  gap: 16px;
}

.sgm-elementor-footer-contact-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}

.sgm-elementor-footer-contact-item .material-symbols-outlined {
  color: var(--color-gold-mid);
  font-size: 20px;
  line-height: 1.3;
}

.sgm-elementor-footer-social {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.sgm-elementor-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  font-weight: 900;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.sgm-elementor-footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.sgm-elementor-footer-social a:hover {
  background: var(--color-gold-mid);
  color: var(--color-navy);
}

.sgm-elementor-footer-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.sgm-elementor-footer-heading::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-gold-mid);
}

.sgm-elementor-footer-links {
  display: grid;
  gap: 18px;
}

.sgm-elementor-footer-links a,
.sgm-elementor-footer-legal a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sgm-elementor-footer-links a:hover,
.sgm-elementor-footer-legal a:hover {
  color: var(--color-gold-mid);
}

.sgm-elementor-footer-times-card {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
}

.sgm-elementor-footer-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.94);
  font-weight: 700;
}

.sgm-elementor-footer-time-row:first-child {
  padding-top: 0;
}

.sgm-elementor-footer-time-value {
  color: var(--color-gold-mid);
  white-space: nowrap;
}

.sgm-elementor-footer-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  min-height: 52px;
  border-radius: 12px;
  background: var(--color-gold-mid);
  color: var(--color-navy) !important;
  font-weight: 900;
  text-decoration: none;
}

.sgm-elementor-footer-live .material-symbols-outlined {
  font-size: 20px;
}

.sgm-elementor-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--color-navy);
  padding: 24px;
  color: rgba(255,255,255,0.52);
}

.sgm-elementor-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1420px;
  margin: 0 auto;
}

.sgm-elementor-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

@media (max-width: 1100px) {
  .sgm-elementor-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .blog-layout,
  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card-thumb {
    min-height: 260px;
  }

  .sgm-elementor-header-inner,
  .sgm-elementor-footer-grid {
    grid-template-columns: 1fr;
    flex-direction: row;
    text-align: center;
  }

  .sgm-elementor-footer-grid {
    grid-template-columns: 1fr;
  }

  .sgm-elementor-footer-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .sgm-elementor-footer-main {
    padding: 64px 20px 56px;
  }

  .sgm-elementor-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sgm-elementor-footer-brand {
    justify-content: flex-start;
  }

  .sgm-elementor-brand,
  .sgm-elementor-header-button {
    position: static;
  }

  .sgm-elementor-header-inner {
    min-height: 82px;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sgm-elementor-brand img {
    width: 68px;
    height: 68px;
    box-shadow: none;
  }

  .sgm-elementor-brand {
    text-align: left;
    gap: 10px;
  }

  .sgm-elementor-brand span {
    display: block;
  }

  .sgm-elementor-brand strong {
    display: block;
    color: var(--color-navy);
    font-size: 1.25rem;
  }

  .sgm-elementor-brand small {
    display: block;
    color: var(--color-gold);
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .sgm-elementor-announce-inner {
    flex-wrap: wrap;
  }

  .sgm-elementor-header-button {
    display: none;
  }

  .sgm-elementor-mobile-toggle {
    display: inline-flex;
  }

  .sgm-elementor-header-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 0;
    padding: 0;
    background: var(--color-white);
    border-top: 1px solid rgba(10,35,93,0.08);
    box-shadow: 0 16px 28px rgba(10,35,93,0.12);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.24s ease, opacity 0.2s ease;
  }

  .sgm-elementor-header.mobile-menu-open .sgm-elementor-header-menu {
    max-height: min(70vh, 620px);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .sgm-elementor-menu-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }

  .sgm-elementor-header-menu a,
  .sgm-elementor-menu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(10,35,93,0.08);
    color: var(--color-navy);
  }

  .sgm-elementor-header-menu a::after,
  .sgm-elementor-menu-list a::after {
    display: none;
  }

  .sgm-elementor-menu-list .sub-menu,
  .sgm-elementor-menu-list .sub-menu .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(10,35,93,0.035);
  }

  .sgm-elementor-menu-list .sub-menu a {
    padding-left: 38px;
    font-size: 0.92rem;
    color: var(--color-on-surface-variant);
  }

  .sgm-elementor-menu-list .sub-menu .sub-menu a {
    padding-left: 52px;
  }

  .sgm-menu-arrow,
  .sgm-elementor-menu-list .sub-menu .sgm-menu-arrow {
    transform: none;
  }

  .sgm-elementor-menu-list > li:hover > a .sgm-menu-arrow,
  .sgm-elementor-menu-list > li:focus-within > a .sgm-menu-arrow,
  .sgm-elementor-menu-list .sub-menu li:hover > a .sgm-menu-arrow,
  .sgm-elementor-menu-list .sub-menu li:focus-within > a .sgm-menu-arrow {
    transform: none;
  }

  .sgm-elementor-header.is-shrunk .sgm-elementor-header-inner {
    min-height: 72px;
  }

  .sgm-elementor-header.is-shrunk .sgm-elementor-brand img {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 640px) {
  .sgm-elementor-announce {
    font-size: 0.82rem;
  }

  .sgm-elementor-announce-inner {
    justify-content: flex-start;
    gap: 8px 12px;
    min-height: 61px;
    padding-top: 7px;
    padding-bottom: 7px;
    white-space: normal;
  }

  .sgm-announce-service,
  .sgm-announce-location {
    max-width: none;
    flex: 1 1 calc(50% - 12px);
  }

  .sgm-announce-service > span:last-child,
  .sgm-announce-location > span:last-child {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .sgm-announce-live {
    display: none;
  }

  .sgm-announce-separator {
    display: inline-block;
  }

  .sgm-elementor-header-inner {
    min-height: 82px;
  }

  .sgm-elementor-brand img {
    width: 64px;
    height: 64px;
  }

  .sgm-elementor-brand strong {
    font-size: 1.18rem;
    line-height: 1.05;
  }

  .sgm-elementor-brand small {
    font-size: 0.78rem;
  }
}

@media (max-width: 720px) {
  .page-hero,
  .single-hero {
    min-height: 320px;
  }

  .blog-section,
  .wp-page-content {
    padding: 48px 16px;
  }

  .search-form,
  .nav-links {
    flex-direction: column;
  }
}

/* --- New Blog Redesign Styles --- */
.blog-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0d1f4f 100%);
  color: var(--color-white);
  padding: 80px 24px;
  text-align: center;
  margin-bottom: 40px;
}
.blog-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--color-gold-mid);
}
.breadcrumbs .separator {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumbs .current {
  color: var(--color-white);
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  line-height: 1.6;
}
.hero-categories {
  margin-bottom: 20px;
}
.update-tag--gold {
  background: rgba(200, 151, 30, 0.2);
  color: var(--color-gold-mid);
  border: 1px solid rgba(200, 151, 30, 0.4);
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-gold-mid);
}

/* Sidebar Recent Articles */
.widget_recent_entries ul,
.widget_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget_recent_entries li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.widget_recent_entries li:last-child {
  margin-bottom: 0;
}
.recent-post-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.recent-post-thumb:hover img {
  transform: scale(1.1);
}
.recent-post-thumb.no-thumb .material-symbols-outlined {
  color: #94a3b8;
  font-size: 24px;
}
.recent-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recent-post-title {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.2s;
}
.recent-post-title:hover {
  color: var(--color-gold-mid);
}
.recent-post-date {
  font-size: 12px;
  color: #64748b;
}

/* Search Widget */
.search-form {
  position: relative;
}
.search-input-wrap {
  display: flex;
  align-items: center;
}
.search-field {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.search-field:focus {
  border-color: var(--color-navy);
}
.search-submit {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-submit:hover {
  color: var(--color-navy);
}




/* =============================================================
   DAILY MEDITATION (BLOG ARCHIVE) REDESIGN
   ============================================================= */

.meditation-hero {
  background: linear-gradient(135deg, rgba(10,35,93,0.92) 0%, rgba(20,45,120,0.85) 100%), url('https://images.unsplash.com/photo-1519817914152-2a24126eddaf?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
  color: var(--color-white);
  padding: 120px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.meditation-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}

.meditation-hero .breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
  margin-bottom: 24px;
}

.meditation-hero .breadcrumbs a {
  color: var(--color-gold-light);
  transition: color 0.3s;
}

.meditation-hero .breadcrumbs a:hover {
  color: var(--color-white);
}

.meditation-hero .page-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.meditation-hero .hero-subtitle {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Card Redesign */
.meditation-card {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 30px -10px rgba(10,35,93,0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.meditation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(10,35,93,0.18);
}

.meditation-card .update-card-img-wrap {
  border-radius: 16px 16px 0 0;
  height: 220px;
}

.meditation-card .update-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,35,93,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.meditation-card:hover .update-card-img-wrap::after {
  opacity: 1;
}

.meditation-card-body {
  padding: 32px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.meditation-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.3;
  margin: 16px 0;
}

.meditation-card-title a {
  color: var(--color-navy);
  transition: color 0.3s;
}

.meditation-card-title a:hover {
  color: var(--color-gold-mid);
}

.meditation-card-excerpt {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.meditation-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  margin-top: auto;
}

.meditation-card-link .icon-arrow {
  transition: transform 0.3s ease;
}

.meditation-card:hover .meditation-card-link {
  color: var(--color-gold-mid);
}

.meditation-card:hover .meditation-card-link .icon-arrow {
  transform: translateX(6px);
}



/* =============================================================
   DAILY MEDITATION LIST VIEW OVERRIDE
   ============================================================= */

.meditation-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
}

.meditation-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px !important;
}

.meditation-img-wrap .img-link, .meditation-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meditation-img-wrap.no-img .img-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .meditation-card {
    flex-direction: row !important;
    align-items: stretch;
  }
  
  .meditation-card .meditation-img-wrap {
    width: 340px;
    height: auto !important;
    min-height: 100%;
    border-radius: 16px 0 0 16px !important;
    flex-shrink: 0;
  }
  
  .meditation-card-body {
    padding: 40px 48px !important;
    justify-content: center;
  }
}

/* Contact Form 7 Overrides for Shalom Theme */
.wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.wpcf7-form p { margin-bottom: 0; }
.wpcf7-form label { font-size: 0.82rem; font-weight: 700; color: var(--color-navy); letter-spacing: .04em; text-transform: uppercase; width: 100%; }
.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-email, .wpcf7-form .wpcf7-tel, .wpcf7-form .wpcf7-textarea, .wpcf7-form .wpcf7-select { border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 12px 16px; font-family: 'Manrope', sans-serif; font-size: 0.95rem; color: #1a202c; background: #f8fafc; transition: border-color .2s, box-shadow .2s; outline: none; width: 100%; box-sizing: border-box; margin-top: 6px; }
.wpcf7-form .wpcf7-text:focus, .wpcf7-form .wpcf7-email:focus, .wpcf7-form .wpcf7-tel:focus, .wpcf7-form .wpcf7-textarea:focus, .wpcf7-form .wpcf7-select:focus { border-color: var(--color-navy); background: #fff; box-shadow: 0 0 0 3px rgba(10,35,93,0.1); }
.wpcf7-form .wpcf7-textarea { resize: vertical; min-height: 130px; }
.wpcf7-form .wpcf7-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A235D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.wpcf7-form .wpcf7-submit { display: inline-flex; align-items: center; gap: 8px; justify-content: center; background: var(--color-navy); color: #fff; font-weight: 700; font-size: 0.95rem; border: none; border-radius: 10px; padding: 14px 32px; cursor: pointer; width: 100%; transition: background .2s, transform .15s, box-shadow .2s; letter-spacing: .03em; margin-top: 12px; }
.wpcf7-form .wpcf7-submit:hover { background: #0d2f7a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,35,93,0.25); }
.wpcf7-form .wpcf7-list-item { margin-left: 0; }

/* =============================================================
   CLASSIC BLOG LAYOUT (REDESIGN)
   ============================================================= */
.classic-blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.classic-blog-card {
  background: #fff;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.classic-blog-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-navy);
  margin-top: 0;
  margin-bottom: 15px;
}
.classic-blog-title a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.3s;
}
.classic-blog-title a:hover {
  color: var(--color-gold);
}
.classic-blog-meta {
  font-size: 12px;
  color: #475569;
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.classic-blog-meta span {
  display: inline-flex;
  align-items: center;
}
.classic-blog-meta span .material-symbols-outlined {
  font-size: 16px;
  margin-right: 5px;
  color: var(--color-gold);
}
.classic-blog-content {
  margin-bottom: 20px;
}
.classic-blog-thumb {
  float: left;
  margin-right: 25px;
  margin-bottom: 15px;
  max-width: 40%;
}
.classic-blog-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.classic-blog-excerpt {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}
.classic-blog-readmore {
  float: right;
  background: var(--color-navy);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 15px;
  transition: background 0.3s, color 0.3s;
}
.classic-blog-readmore:hover {
  background: var(--color-gold);
  color: #fff;
}
.classic-blog-pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.classic-blog-pagination a {
  color: var(--color-navy);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
}
.classic-blog-pagination a:hover {
  color: var(--color-gold);
}
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}
@media (max-width: 767px) {
  .classic-blog-thumb {
    float: none;
    max-width: 100%;
    margin-right: 0;
  }
}

/* =============================================================
   BEAUTIFIED COMMENTS SECTION
   ============================================================= */
.comments-title, .comment-reply-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-navy);
  margin-bottom: 25px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 15px;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}
.comment-list .comment {
  margin-bottom: 30px;
}
.comment-body {
  position: relative;
  padding: 25px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}
.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.comment-author .avatar {
  border-radius: 50%;
  margin-right: 15px;
  width: 40px;
  height: 40px;
}
.comment-author .fn {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-navy);
  font-style: normal;
}
.comment-author .says {
  display: none; /* Hide "says" text */
}
.comment-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 15px;
  margin-left: 55px; /* Aligned with text, passing avatar */
}
.comment-meta a {
  color: #64748b;
  text-decoration: none;
}
.comment-content {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-left: 55px;
}
.comment-content p {
  margin-bottom: 10px;
}
.reply {
  margin-left: 55px;
  margin-top: 15px;
}
.reply a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s;
}
.reply a:hover {
  color: var(--color-gold);
}
.comment-respond {
  margin-top: 40px;
}
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.comment-notes, .logged-in-as {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 15px;
}
.comment-form p {
  margin-bottom: 0;
}
.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #334155;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(10,35,93,0.1);
}
.comment-form .form-submit {
  margin-top: 15px;
}
.comment-form .submit {
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-size: 15px;
}
.comment-form .submit:hover {
  background: var(--color-gold);
  transform: translateY(-1px);
}
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
}
.comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 4px;
  width: auto;
}
.comment-form-cookies-consent label {
  display: inline;
  font-weight: normal;
  color: #475569;
  margin-bottom: 0;
}

