/*
Theme Name: Grace Church
Theme URI: https://graceintlministries.org
Description: Premium child theme for Grace International Ministries — cinematic, editorial design inspired by Elevation, Life.Church, Hillsong.
Author: Grace International Ministries
Template: hello-elementor
Version: 2.0
*/

/* ─────────────────────────────────────────────
   GOOGLE FONTS
───────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Lato:wght@300;400;700&display=swap");

/* ─────────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────────── */
:root {
  --navy:        #0B1F3A;
  --royal:       #1A3A6B;
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --cream:       #FAF6EE;
  --white:       #FFFFFF;
  --text-dark:   #1A1A2E;
  --text-muted:  #6B7280;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 16px 60px rgba(0,0,0,0.18);
  --radius:      8px;
  --transition:  0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ─────────────────────────────────────────────
   "NEW HERE?" DISMISSIBLE BANNER
───────────────────────────────────────────── */
#gim-welcome-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 9999;
}
#gim-welcome-banner a {
  color: var(--navy);
  text-decoration: underline;
  margin-left: 8px;
}
#gim-welcome-banner .banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
  line-height: 1;
  padding: 4px 8px;
}

/* ─────────────────────────────────────────────
   STICKY HEADER
───────────────────────────────────────────── */
.gim-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gim-header .site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.gim-header .site-logo img {
  height: 48px;
  width: auto;
}
.gim-header .site-name {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}
.gim-header .site-name span { color: var(--gold); }

/* Primary nav */
.gim-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gim-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.gim-nav a:hover,
.gim-nav a.current-page { color: var(--gold); background: rgba(201,168,76,0.1); }

.gim-nav .nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 4px;
  margin-left: 12px;
  transition: background var(--transition) !important;
}
.gim-nav .nav-cta:hover { background: var(--gold-light) !important; }

/* WordPress menu compatibility */
.gim-header .menu { display: flex; align-items: center; gap: 4px; }
.gim-header .menu li > a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  display: block;
}
.gim-header .menu li > a:hover,
.gim-header .menu .current-menu-item > a { color: var(--gold); background: rgba(201,168,76,0.1); }
.gim-header .menu .nav-cta > a {
  background: var(--gold);
  color: var(--navy) !important;
  margin-left: 12px;
}
.gim-header .menu .nav-cta > a:hover { background: var(--gold-light) !important; }

/* Hamburger toggle */
.gim-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.gim-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.gim-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gim-hamburger.open span:nth-child(2) { opacity: 0; }
.gim-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.gim-mobile-nav {
  display: none;
  background: var(--navy);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gim-mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition), padding var(--transition);
}
.gim-mobile-nav a:hover { color: var(--gold); padding-left: 52px; }

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
.gim-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

/* Video background */
.gim-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Dark overlay so text stays readable over video */
.gim-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11,31,58,0.82) 0%,
    rgba(26,58,107,0.72) 50%,
    rgba(11,31,58,0.88) 100%
  );
  z-index: 1;
}

/* Decorative floating elements */
.gim-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.gim-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,82,152,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.gim-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 60px 30px;
}

.gim-hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 32px;
  filter: drop-shadow(0 8px 32px rgba(201,168,76,0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.gim-hero-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.9;
}

.gim-hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 8px;
}
.gim-hero-title .gold { color: var(--gold); }

.gim-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Animated gold accent line */
.gim-hero-line {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 40px;
  animation: expandLine 1.2s ease forwards 0.6s;
  border-radius: 2px;
}
@keyframes expandLine {
  to { width: 120px; }
}

.gim-hero-verse {
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-bottom: 44px;
  letter-spacing: 0.3px;
}

.gim-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.gim-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.gim-scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 36px;
  border-radius: 4px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  color: var(--navy);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 4px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}
.btn-navy:hover { background: var(--royal); color: var(--gold); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   SERVICE TIMES BAR
───────────────────────────────────────────── */
.gim-service-bar {
  background: var(--gold);
  padding: 16px 20px;
  text-align: center;
}
.gim-service-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.gim-service-item {
  text-align: center;
}
.gim-service-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(11,31,58,0.7);
  margin-bottom: 2px;
}
.gim-service-time {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.gim-service-divider {
  width: 1px;
  height: 36px;
  background: rgba(11,31,58,0.2);
}
.gim-countdown-wrapper {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
}
.gim-countdown-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(11,31,58,0.6);
  margin-bottom: 3px;
}
#gim-countdown { font-size: 1.1rem; font-family: "Playfair Display", serif; color: var(--navy); }

/* ─────────────────────────────────────────────
   SECTION SHARED STYLES
───────────────────────────────────────────── */
.gim-section {
  padding: 100px 20px;
}
.gim-section-cream { background: var(--cream); }
.gim-section-navy { background: var(--navy); }
.gim-section-dark {
  background: linear-gradient(135deg, #060f1e 0%, var(--navy) 100%);
}

.gim-container {
  max-width: 1200px;
  margin: 0 auto;
}
.gim-container-sm { max-width: 800px; margin: 0 auto; }

.gim-section-header {
  text-align: center;
  margin-bottom: 64px;
}
.gim-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.gim-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}
.gim-title-white {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.gim-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.gim-subtitle-white {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
}
.gim-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Scroll animation */
.gim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.gim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   SERMON CARDS
───────────────────────────────────────────── */
.gim-sermons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.sermon-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.sermon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sermon-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.sermon-card-header::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 100px;
  font-family: "Playfair Display", serif;
  color: rgba(201,168,76,0.1);
  line-height: 1;
}

.sermon-date {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.sermon-title-card {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}

.sermon-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sermon-scripture {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.sermon-preacher {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sermon-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.sermon-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sermon-series-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ─────────────────────────────────────────────
   ANNOUNCEMENT CARDS
───────────────────────────────────────────── */
.gim-announcements-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.announcement-card {
  border-left: 4px solid var(--gold);
  background: var(--white);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.announcement-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.announcement-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.announcement-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.announcement-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   ABOUT SECTION — SPLIT LAYOUT
───────────────────────────────────────────── */
.gim-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gim-about-image {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 400px;
}
.gim-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.gim-about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.6), rgba(26,58,107,0.4));
}
.gim-about-placeholder {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--gold);
}
.gim-about-placeholder-icon {
  font-size: 80px;
  margin-bottom: 16px;
  opacity: 0.6;
}
.gim-about-content {
  background: var(--cream);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gim-about-content .gim-kicker { text-align: left; }
.gim-about-content .gim-title { text-align: left; }
.gim-about-content .gim-divider { margin: 20px 0; }
.gim-about-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.gim-values-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.gim-value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 400;
}
.gim-value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   STATS SECTION
───────────────────────────────────────────── */
.gim-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}
.gim-stat-item {
  background: rgba(255,255,255,0.04);
  padding: 48px 24px;
  text-align: center;
  transition: background var(--transition);
}
.gim-stat-item:hover { background: rgba(201,168,76,0.08); }
.gim-stat-number {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.gim-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ─────────────────────────────────────────────
   STAFF CARDS
───────────────────────────────────────────── */
.gim-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.gim-staff-card {
  text-align: center;
  padding: 20px;
}
.gim-staff-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--gold);
  box-shadow: 0 8px 32px rgba(201,168,76,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gim-staff-card:hover .gim-staff-photo {
  transform: scale(1.05);
  box-shadow: 0 12px 48px rgba(201,168,76,0.35);
}
.gim-staff-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  margin: 0 auto 20px;
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: 0 8px 32px rgba(201,168,76,0.25);
}
.gim-staff-name {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.gim-staff-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.gim-staff-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   MINISTRY CARDS
───────────────────────────────────────────── */
.gim-ministry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.gim-ministry-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gim-ministry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gim-ministry-header {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
}
.gim-ministry-body {
  padding: 24px;
}
.gim-ministry-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.gim-ministry-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────
   EVENT CARDS
───────────────────────────────────────────── */
.gim-events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gim-event-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gim-event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.gim-event-date-block {
  background: var(--navy);
  color: var(--white);
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.gim-event-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.gim-event-day {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.gim-event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gim-event-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.gim-event-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   NEWSLETTER / CTA SECTION
───────────────────────────────────────────── */
.gim-newsletter {
  background: linear-gradient(135deg, #060f1e, var(--navy));
  padding: 80px 20px;
  text-align: center;
}
.gim-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.gim-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 14px;
  font-family: "Lato", sans-serif;
  outline: none;
  transition: border-color var(--transition);
}
.gim-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.gim-newsletter-form input[type="email"]:focus { border-color: var(--gold); }
.gim-newsletter-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--transition);
}
.gim-newsletter-form button:hover { background: var(--gold-light); }

/* ─────────────────────────────────────────────
   PLAN YOUR VISIT SECTION
───────────────────────────────────────────── */
.gim-visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.gim-visit-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gim-visit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gim-visit-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.gim-visit-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.gim-visit-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   CONTACT / MAP SECTION
───────────────────────────────────────────── */
.gim-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.gim-contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.gim-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.gim-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.gim-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.gim-contact-value {
  font-size: 15px;
  color: var(--text-dark);
}
.gim-map-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  text-align: center;
  padding: 40px;
}

/* ─────────────────────────────────────────────
   GIVING / ONLINE GIVING SECTION
───────────────────────────────────────────── */
.gim-giving-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.gim-giving-option {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,0.2);
  transition: background var(--transition), border-color var(--transition);
}
.gim-giving-option:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.4);
}
.gim-giving-icon { font-size: 48px; margin-bottom: 16px; }
.gim-giving-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.gim-giving-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   PRAYER REQUEST FORM
───────────────────────────────────────────── */
.gim-prayer-form {
  max-width: 600px;
  margin: 0 auto;
}
.gim-form-group {
  margin-bottom: 20px;
}
.gim-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.gim-form-group input,
.gim-form-group textarea,
.gim-form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: "Lato", sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.gim-form-group input:focus,
.gim-form-group textarea:focus,
.gim-form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.gim-form-group input::placeholder,
.gim-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.gim-form-group textarea { min-height: 140px; resize: vertical; }
.gim-form-group select option { background: var(--navy); color: var(--white); }

/* ─────────────────────────────────────────────
   SINGLE SERMON PAGE
───────────────────────────────────────────── */
.gim-single-sermon-header {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  padding: 80px 20px 60px;
  text-align: center;
}
.gim-single-sermon-header .gim-kicker { margin-bottom: 16px; }
.gim-single-sermon-header .gim-title-white { margin-bottom: 20px; }
.gim-sermon-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.gim-sermon-meta-item {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}
.gim-sermon-meta-item strong { color: var(--gold); }

.gim-sermon-share {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.gim-share-btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--transition);
}
.gim-share-btn:hover { opacity: 0.85; }
.gim-share-fb { background: #1877F2; color: white; }
.gim-share-tw { background: #000; color: white; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.gim-footer {
  background: linear-gradient(180deg, #060f1e 0%, #040c17 100%);
  color: rgba(255,255,255,0.65);
  padding: 80px 40px 0;
}
.gim-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.gim-footer-brand {}
.gim-footer-logo-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}
.gim-footer-logo-name span { color: var(--gold); }
.gim-footer-tagline {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.gim-footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.gim-footer-social {
  display: flex;
  gap: 12px;
}
.gim-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none;
}
.gim-social-link:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.gim-footer-heading {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gim-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gim-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition), padding-left var(--transition);
}
.gim-footer-links a:hover { color: var(--gold); padding-left: 6px; }

.gim-footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.gim-footer-contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.gim-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}
.gim-footer-bottom a { color: var(--gold); opacity: 0.7; transition: opacity var(--transition); }
.gim-footer-bottom a:hover { opacity: 1; }

/* WordPress menu in footer */
.gim-footer .menu { display: flex; flex-direction: column; gap: 10px; }
.gim-footer .menu li > a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}
.gim-footer .menu li > a:hover { color: var(--gold); padding-left: 6px; }

/* ─────────────────────────────────────────────
   PAGE HERO (non-homepage)
───────────────────────────────────────────── */
.gim-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  padding: 80px 20px;
  text-align: center;
}
.gim-page-hero .gim-title-white { margin-bottom: 16px; }
.gim-page-hero .gim-kicker { margin-bottom: 12px; }
.gim-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}
.gim-breadcrumb a { color: var(--gold); }

/* ─────────────────────────────────────────────
   BLOG / ARCHIVE
───────────────────────────────────────────── */
.gim-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.gim-post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gim-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gim-post-thumbnail {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  overflow: hidden;
}
.gim-post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gim-post-content { padding: 24px; }
.gim-post-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.gim-post-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.gim-post-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────
   ADMIN — Pastor Quick Publish
───────────────────────────────────────────── */
.gim-admin-form {
  max-width: 700px;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  margin-top: 20px;
}
.gim-admin-form h2 {
  color: var(--navy);
  font-family: "Playfair Display", serif;
  margin-bottom: 24px;
  font-size: 1.6rem;
}
.gim-admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLET
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .gim-header { padding: 0 24px; }
  .gim-nav { display: none; }
  .gim-hamburger { display: flex; }

  .gim-about-split { grid-template-columns: 1fr; }
  .gim-about-image { min-height: 280px; }
  .gim-about-content { padding: 48px 36px; }

  .gim-footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .gim-contact-grid { grid-template-columns: 1fr; }

  .gim-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE
───────────────────────────────────────────── */
@media (max-width: 600px) {
  .gim-section { padding: 70px 16px; }
  .gim-hero-title { font-size: 2.2rem; }
  .gim-hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }

  .gim-service-bar-inner { gap: 20px; }
  .gim-service-divider { display: none; }

  .gim-sermons-grid { grid-template-columns: 1fr; }
  .gim-staff-grid { grid-template-columns: repeat(2, 1fr); }
  .gim-ministry-grid { grid-template-columns: 1fr; }
  .gim-events-list .gim-event-card { flex-direction: column; }
  .gim-event-date-block { flex-direction: row; gap: 8px; min-width: auto; }

  .gim-footer { padding: 60px 20px 0; }
  .gim-footer-bottom { flex-direction: column; text-align: center; }

  .gim-about-content { padding: 36px 24px; }
  .gim-stats-grid { grid-template-columns: 1fr; }

  .gim-admin-row { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}

/* Utility */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* Hello Elementor header overrides */
.site-header,
.elementor-section.elementor-section-full_width { width: 100%; }
.page-content, .entry-content { max-width: 100%; }


/* ===== SERMON RESOURCES TABS ===== */
.gim-tabs {
  margin: 44px auto 0;
  max-width: 860px;
  background: #fff;
  border: 1px solid #ECE3CF;
  border-radius: 18px;
  box-shadow: 0 10px 50px rgba(11,31,58,0.08);
  overflow: hidden;
}
.gim-tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--navy);
  padding: 8px 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.gim-tabs-nav::-webkit-scrollbar { display: none; }
.gim-tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  padding: 16px 22px;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  border-bottom: 3px solid transparent;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.gim-tab:hover { color: #fff; background: rgba(255,255,255,0.06); }
.gim-tab.is-active {
  color: var(--navy);
  background: #fff;
  border-bottom-color: var(--gold);
}
.gim-tab-ico { font-size: 1rem; }
.gim-tab:focus-visible { outline: 3px solid var(--gold-light); outline-offset: -3px; }

.gim-tabpanel { padding: 34px 36px 30px; }
.gim-tabpanel[hidden] { display: none; }
@keyframes gimFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.gim-panel-hint { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 20px; text-align: center; }

/* ----- Study Guide accordion ----- */
.gim-study-body { max-width: 720px; margin: 0 auto; }
.gim-study-body .sg-block { border-bottom: 1px solid #EEE7D6; }
.gim-study-body .sg-block:last-child { border-bottom: none; }
.gim-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--navy);
  padding: 20px 4px;
  transition: color 0.15s;
}
.gim-acc-head:hover { color: var(--royal); }
.gim-acc-head:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.gim-acc-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.gim-acc-icon::before, .gim-acc-icon::after {
  content: ""; position: absolute; background: var(--gold);
  border-radius: 2px; transition: transform 0.2s;
}
.gim-acc-icon::before { top: 10px; left: 3px; width: 16px; height: 2.5px; }
.gim-acc-icon::after  { top: 3px; left: 10px; width: 2.5px; height: 16px; }
.sg-block.open .gim-acc-icon::after { transform: rotate(90deg); opacity: 0; }
.gim-acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.sg-block.open .gim-acc-body { max-height: 4000px; padding-bottom: 22px; }
.gim-acc-body p { color: #3A4252; line-height: 1.8; margin: 0 0 12px; font-size: 1.02rem; }
.gim-acc-body ul, .gim-acc-body ol { margin: 0 0 10px; padding-left: 24px; }
.gim-acc-body li { color: #3A4252; line-height: 1.75; margin-bottom: 9px; font-size: 1.02rem; }
.gim-acc-body ul ul, .gim-acc-body ol ul { margin-top: 8px; }
.gim-acc-body ol > li::marker { color: var(--gold); font-weight: 700; }
.gim-acc-body strong { color: var(--navy); }
.gim-study-foot {
  text-align: center; margin-top: 26px; padding-top: 18px;
  border-top: 1px dashed #DDD3BC; font-size: 0.82rem; color: #9A8F76; letter-spacing: 0.5px;
}

/* ----- Follow Along ----- */
.gim-fa-list { display: flex; flex-direction: column; gap: 10px; padding-right: 6px; }
.gim-fa-list::-webkit-scrollbar { width: 6px; }
.gim-fa-list::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.45); border-radius: 3px; }
.gim-fa-item {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%;
  background: #FAF6EE; border: 1px solid #ECE3CF; border-radius: 12px;
  padding: 14px 16px; cursor: pointer; font-family: inherit;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.1s;
}
.gim-fa-item:hover { background: #F4ECD9; }
.gim-fa-item:active { transform: scale(0.99); }
.gim-fa-item.active {
  background: #FFF; border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold) inset, 0 6px 20px rgba(201,168,76,0.18);
}
.gim-fa-time {
  flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 0.85rem;
  color: var(--navy); background: var(--gold); border-radius: 6px; padding: 4px 9px; margin-top: 2px;
}
.gim-fa-content { display: flex; flex-direction: column; gap: 4px; }
.gim-fa-itemtitle { color: var(--navy); font-weight: 700; font-size: 1.02rem; }
.gim-fa-scripture { color: #B8902F; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; }
.gim-fa-note { color: #4A5263; font-size: 0.92rem; line-height: 1.55; }

/* ----- Transcript ----- */
.gim-transcript { max-width: 720px; margin: 0 auto; padding-right: 8px; }
.gim-transcript::-webkit-scrollbar { width: 6px; }
.gim-transcript::-webkit-scrollbar-thumb { background: rgba(11,31,58,0.2); border-radius: 3px; }
.gim-tr-line { display: flex; gap: 12px; align-items: baseline; margin: 0 0 10px; line-height: 1.7; }
.gim-tr-time {
  flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.78rem;
  color: var(--royal); background: #EEF2F8; border: none; border-radius: 5px;
  padding: 3px 8px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.gim-tr-time:hover { background: var(--gold); color: var(--navy); }
.gim-tr-text { color: #3A4252; font-size: 1rem; }

@media (max-width: 640px) {
  .gim-tabpanel { padding: 24px 18px; }
  .gim-tab { padding: 14px 14px; font-size: 0.85rem; }
  .gim-acc-head { font-size: 1.15rem; }
}

/* ===== SIDE-BY-SIDE SERMON LAYOUT ===== */
.gim-sermon-wrap { padding: 0 20px; }
.gim-sermon-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.gim-sermon-layout.is-single { grid-template-columns: minmax(0, 820px); justify-content: center; }

.gim-video-col { min-width: 0; }
.gim-video-sticky { position: sticky; top: 24px; }

.gim-video-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.gim-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #EEF2F8; color: var(--royal);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.3px;
  padding: 7px 13px; border-radius: 999px;
}
.gim-badge.gold { background: rgba(201,168,76,0.16); color: #9A7B1E; }

.gim-video-desc {
  font-size: 1.02rem; line-height: 1.8; color: var(--text-dark);
  margin-top: 18px; padding-top: 18px; border-top: 1px solid #eee;
}

/* The tabs card sits in the right column, no extra top margin */
.gim-resource-col .gim-tabs { margin: 0; }

/* Section icons in the accordion headers */
.gim-acc-head .gim-sec-ico {
  flex-shrink: 0; width: 30px; height: 30px; margin-right: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.15); border-radius: 8px; font-size: 1rem;
}
.gim-acc-head { gap: 10px; }
.gim-acc-headline { flex: 1; }

/* Scripture references styled as pills inside study guide + transcript hints */
.gim-acc-body .sg-ref {
  display: inline-block; background: rgba(11,31,58,0.06); color: var(--royal);
  font-weight: 700; font-size: 0.9em; padding: 1px 8px; border-radius: 5px;
}

/* Stack on tablet/mobile */
@media (max-width: 980px) {
  .gim-sermon-layout, .gim-sermon-layout.is-single { grid-template-columns: 1fr; }
  .gim-video-sticky { position: static; }
  .gim-resource-col .gim-tabs { margin-top: 8px; }
}

/* ===== Bigger video + synced transcript (2026-06-27) ===== */
/* Give the video column more room */
.gim-sermon-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; }
.gim-video-sticky video, .gim-video-sticky .gim-sermon-video { max-height: 80vh !important; }

/* Transcript: scrollable, follows playback */
.gim-transcript { max-height: 62vh; overflow-y: auto; }
.gim-transcript::-webkit-scrollbar { width: 6px; }
.gim-transcript::-webkit-scrollbar-thumb { background: rgba(11,31,58,0.2); border-radius: 3px; }
.gim-tr-line { padding: 5px 10px; border-radius: 7px; transition: background 0.2s, color 0.2s; }
.gim-tr-line.active { background: rgba(201,168,76,0.18); }
.gim-tr-line.active .gim-tr-text { color: var(--navy); font-weight: 600; }
.gim-tr-line.active .gim-tr-time { background: var(--gold); color: var(--navy); }

@media (max-width: 980px) {
  .gim-sermon-layout { grid-template-columns: 1fr; }
  .gim-transcript { max-height: 70vh; }
}

/* ===== Bigger video + scroll all panels (override) ===== */
.gim-sermon-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) !important; gap: 40px; }
.gim-video-sticky video, .gim-video-sticky .gim-sermon-video { max-height: 86vh !important; }

/* Each panel's content scrolls internally so the card height matches the video */
.gim-study-body { max-height: 64vh; overflow-y: auto; padding-right: 10px; }
.gim-fa-list { max-height: 64vh; overflow-y: auto; display: block; padding-right: 10px; }
.gim-fa-item { margin-bottom: 10px; }
.gim-transcript { max-height: 64vh; overflow-y: auto; }

.gim-study-body::-webkit-scrollbar, .gim-fa-list::-webkit-scrollbar, .gim-transcript::-webkit-scrollbar { width: 7px; }
.gim-study-body::-webkit-scrollbar-thumb, .gim-fa-list::-webkit-scrollbar-thumb, .gim-transcript::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.5); border-radius: 4px; }

@media (max-width: 980px) {
  .gim-sermon-layout { grid-template-columns: 1fr !important; }
  .gim-study-body, .gim-fa-list, .gim-transcript { max-height: 70vh; }
}

/* ===== Wider page + theater toggle ===== */
.gim-sermon-wrap { max-width: 1600px !important; padding: 0 28px; }

/* Toggle bar */
.gim-view-toggle { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.gim-theater-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; border: 1.5px solid var(--navy);
  font-family: "Lato", sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.3px;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.gim-theater-btn:hover { background: var(--royal); }
.gim-theater-btn.on { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.gim-tb-icon {
  width: 16px; height: 12px; border: 2px solid currentColor; border-radius: 2px; position: relative;
}
.gim-theater-btn.on .gim-tb-icon::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; right: -2px; width: 6px;
  background: currentColor; border-radius: 0 2px 2px 0;
}
.gim-theater-btn .gim-tb-icon::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; right: 4px; width: 6px;
  border-left: 2px solid currentColor;
}

/* Bigger video in normal side-by-side */
.gim-sermon-layout { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr) !important; }

/* VIDEO-ONLY mode: hide the resource column, center & enlarge the video */
.gim-sermon-layout.is-video-only { grid-template-columns: 1fr !important; }
.gim-sermon-layout.is-video-only .gim-resource-col { display: none; }
.gim-sermon-layout.is-video-only .gim-video-col { max-width: 1200px; margin: 0 auto; width: 100%; }
.gim-sermon-layout.is-video-only .gim-video-sticky { position: static; }
.gim-sermon-layout.is-video-only .gim-video-sticky video,
.gim-sermon-layout.is-video-only .gim-video-sticky .gim-sermon-video { max-height: 88vh !important; }

@media (max-width: 980px) {
  .gim-sermon-layout { grid-template-columns: 1fr !important; }
  .gim-view-toggle { justify-content: center; }
}

/* ===== GIVE PAGE ===== */
.gim-give-featured {
  display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center;
  background: linear-gradient(180deg,#FAF6EE,#fff); border: 1px solid #ECE3CF;
  border-radius: 20px; padding: 40px; box-shadow: 0 10px 40px rgba(11,31,58,0.07);
}
.gim-give-qr-wrap { text-align: center; }
.gim-give-qr-card { background: #fff; border: 1px solid #e7e7e7; border-radius: 16px; padding: 16px; box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.gim-give-qr-card img { display: block; width: 230px; height: 230px; }
.gim-zelle-tag { margin-top: 14px; font-weight: 800; font-size: 1.3rem; color: #6D1ED4; letter-spacing: 0.5px; }
.gim-give-info h2 { color: var(--navy); }
.gim-give-info p { color: #3A4252; line-height: 1.8; }
.gim-give-steps { margin: 16px 0; padding-left: 20px; }
.gim-give-steps li { color: #3A4252; line-height: 1.7; margin-bottom: 10px; }
.gim-give-steps li::marker { color: var(--gold); font-weight: 700; }
.gim-give-fineprint { font-size: 0.9rem; color: var(--text-muted); margin-top: 10px; }

.gim-give-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }
.gim-give-card {
  background: #fff; border: 1px solid #ECE3CF; border-radius: 16px; padding: 30px 26px;
  text-align: center; box-shadow: 0 6px 24px rgba(11,31,58,0.05); transition: transform .2s, box-shadow .2s;
}
.gim-give-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(11,31,58,0.12); }
.gim-give-icon { font-size: 2.4rem; margin-bottom: 12px; }
.gim-give-card h3 { font-family: "Playfair Display",serif; color: var(--navy); font-size: 1.4rem; margin-bottom: 12px; }
.gim-give-card p { color: #3A4252; line-height: 1.7; margin-bottom: 10px; }
.gim-give-when { font-size: 0.88rem; color: var(--gold); font-weight: 700; }
.gim-give-address { font-weight: 600; color: var(--navy); line-height: 1.6; }

@media (max-width: 760px) {
  .gim-give-featured { grid-template-columns: 1fr; gap: 28px; padding: 28px; text-align: center; }
  .gim-give-steps { text-align: left; }
}

/* ===== Fix Follow Along text being cut off ===== */
.gim-fa-content { min-width: 0; flex: 1; }
.gim-fa-itemtitle, .gim-fa-note, .gim-fa-scripture { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
.gim-fa-list { overflow-x: hidden; }
.gim-fa-item { align-items: flex-start; }

/* ===== ABOUT PAGE ===== */
.gim-about-story p { font-size: 1.12rem; line-height: 1.9; color: #3A4252; margin-bottom: 18px; }
.gim-about-story strong { color: var(--navy); }
.gim-about-map { margin-top: 50px; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -4px 30px rgba(11,31,58,0.08); }
.gim-about-map iframe { filter: grayscale(0.15); }

/* ===== COMING SOON ===== */
.gim-comingsoon { background:linear-gradient(180deg,#FAF6EE,#fff); border:1px solid #ECE3CF; border-radius:20px; padding:54px 40px; box-shadow:0 10px 40px rgba(11,31,58,0.06); }
.gim-cs-icon { font-size:3rem; margin-bottom:8px; }
