/*
Theme Name: Churches in Pakistan
Theme URI: https://www.churchesinpakistan.com
Author: Rev. Dr. Naeem Nasir
Author URI: https://www.gsministries.org
Description: A professionally designed, SEO-optimized WordPress theme tailored for Churches in Pakistan — the leading online directory connecting Christian churches across the nation.
Version: 2.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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: churchesinpakistan
Tags: church, directory, christian, pakistan, one-page, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
  --teal: #0D7377;
  --teal-dark: #095456;
  --teal-light: #14919B;
  --teal-pale: #E8F4F5;
  --white: #FFFFFF;
  --offwhite: #F0F7F7;
  --cream: #FAFCFC;
  --dark: #1A2332;
  --dark-light: #2A3542;
  --gray: #64748B;
  --gray-light: #E2E8F0;
  --gray-lighter: #F1F5F9;
  --accent: #E8B931;
  --accent-dark: #C49A1A;
  --green: #059669;
  --red: #DC2626;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-teal: 0 8px 32px rgba(13,115,119,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--dark);
}
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce-bar {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
}
.announce-bar a { color: var(--accent); text-decoration: underline; }
.announce-bar a:hover { color: #fff; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--gray-light);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Default text logo (shown when no custom logo uploaded) */
.logo-mark {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 22px;
  flex-shrink: 0;
}
.logo-text h1 {
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin: 0;
}
.logo-text .tagline {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
/* Custom Logo (uploaded via Customize > Site Identity) */
.site-logo .custom-logo-link { display: inline-block !important; max-height: 70px !important; }
.site-logo .custom-logo-link img,
.site-logo img.custom-logo,
.site-logo img {
  max-height: 70px !important;
  width: auto !important;
  height: 70px !important;
  object-fit: contain !important;
}
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.current { background: var(--offwhite); color: var(--teal); }
.main-nav .nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  font-weight: 600;
  margin-left: 8px;
  padding: 10px 20px;
}
.main-nav .nav-cta:hover { background: var(--teal-dark); }

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 28px; cursor: pointer;
  color: var(--dark); padding: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  background: var(--offwhite);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,115,119,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-tag .dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
}
.hero-title {
  font-size: 54px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title .highlight { color: var(--teal); }
.hero-subtitle {
  font-size: 19px;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Search Box */
.search-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-teal);
  display: flex;
}
.search-box input[type="text"] {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-size: 16px;
  font-family: var(--font-body);
  outline: none;
  border-radius: var(--radius-md);
  background: transparent;
}
.search-box select {
  padding: 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--dark);
  font-family: var(--font-body);
  border-left: 1px solid var(--gray-light);
  cursor: pointer;
  outline: none;
}
.search-box button {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: var(--transition);
}
.search-box button:hover { background: var(--teal-dark); }

/* Stats Row */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}
.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--teal);
  display: block;
}
.hero-stat .stat-label {
  font-size: 13px;
  color: var(--gray);
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */
.section { padding: 80px 0; }
.section--alt { background: var(--offwhite); }
.section--dark { background: var(--teal); color: var(--white); }
.section--accent { background: linear-gradient(135deg, var(--teal-dark), var(--teal-light)); color: var(--white); }
.section--cream { background: var(--cream); }

.section-header { margin-bottom: 44px; }
.section-header--center { text-align: center; }
.section-header .overline {
  color: var(--teal);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section--dark .section-header .overline { color: var(--accent); }
.section-header .section-title {
  font-size: 36px;
  margin-bottom: 12px;
}
.section--dark .section-header .section-title { color: var(--white); }
.section-header .section-desc {
  color: var(--gray);
  font-size: 16px;
  max-width: 600px;
}
.section-header--center .section-desc { margin: 0 auto; }
.section--dark .section-header .section-desc { color: rgba(255,255,255,0.7); }

.section-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.section-top-bar .view-all {
  color: var(--teal);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  line-height: 1.4;
}
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); }
.btn--secondary { background: var(--offwhite); color: var(--teal); }
.btn--secondary:hover { background: var(--teal-pale); }
.btn--white { background: var(--white); color: var(--teal); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--teal); }
.btn--outline { border: 2px solid rgba(255,255,255,0.4); color: var(--white); background: transparent; }
.btn--outline:hover { border-color: var(--white); color: var(--white); }
.btn--gold { background: var(--accent); color: var(--dark); }
.btn--gold:hover { background: var(--accent-dark); color: var(--dark); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-group--center { justify-content: center; }

/* ==========================================================================
   CHURCH CARDS
   ========================================================================== */
.church-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.church-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.church-card:hover {
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
  border-color: var(--teal);
}
.church-card--featured { border-color: var(--teal); border-width: 2px; }
.church-card__image {
  height: 180px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.church-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.church-card__image .placeholder-icon {
  font-size: 48px;
  opacity: 0.25;
  color: var(--white);
}
.church-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.church-card__location {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.church-card__body { padding: 22px; }
.church-card__title {
  font-size: 18px;
  margin-bottom: 6px;
}
.church-card__address {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.church-card__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 18px;
}
.church-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.church-card__actions { display: flex; gap: 8px; }
.church-card__actions .btn { flex: 1; justify-content: center; }

/* ==========================================================================
   CHURCH SHOWCASE (Homepage HQ + Side Layout)
   ========================================================================== */
.church-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.church-showcase__hq {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.church-showcase__hq .image-placeholder {
  min-height: 350px;
  border-radius: 0;
  flex: 1;
}
.church-showcase__info {
  padding: 24px;
}
.church-showcase__badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.church-showcase__title {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--dark);
}
.church-showcase__desc {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.church-showcase__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 16px;
}
.church-showcase__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.church-showcase__links {
  display: flex;
  gap: 10px;
}

/* Side cards (School + Bible College) */
.church-showcase__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.church-showcase__side-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.church-showcase__side-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-3px);
}
.church-showcase__side-img.image-placeholder {
  min-height: 140px;
  border-radius: 0;
}
.church-showcase__side-info {
  padding: 14px 16px;
}
.church-showcase__side-info h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 4px;
}
.church-showcase__side-info span {
  font-size: 12px;
  color: var(--gray);
}

/* Bottom Church Row (3 per row) */
.church-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.church-row__card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.church-row__card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-3px);
}
.church-row__image.image-placeholder {
  min-height: 160px;
  border-radius: 0;
}
.church-row__body {
  padding: 16px 18px;
}
.church-row__title {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--dark);
}
.church-row__location,
.church-row__time {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 4px;
}
.church-row__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.church-row__link:hover {
  color: var(--teal-dark);
}

/* ==========================================================================
   MINISTRY CARDS
   ========================================================================== */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ministry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  text-align: center;
}
.ministry-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-3px);
}
.section--dark .ministry-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.section--dark .ministry-card:hover {
  background: rgba(255,255,255,0.1);
}
.ministry-card__icon { font-size: 36px; margin-bottom: 14px; }
.ministry-card__title {
  font-size: 17px;
  margin-bottom: 8px;
}
.section--dark .ministry-card__title { color: var(--white); }
.ministry-card__desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.section--dark .ministry-card__desc { color: rgba(255,255,255,0.6); }

/* ==========================================================================
   ABOUT / FOUNDER
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.about-feature {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}
.section--dark .about-feature { border-color: rgba(255,255,255,0.08); }
.about-feature__icon { font-size: 28px; margin-bottom: 8px; }
.about-feature__title { font-size: 15px; margin-bottom: 4px; }
.about-feature__desc { font-size: 13px; opacity: 0.6; }

.founder-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}
.founder-card--light {
  background: var(--offwhite);
  border-color: var(--gray-light);
}
.founder-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13,115,119,0.2);
}
.founder-avatar--placeholder {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  font-family: var(--font-heading);
  color: var(--dark);
}
.founder-card__name {
  font-size: 22px;
  margin-bottom: 4px;
}
.section--dark .founder-card__name { color: var(--white); }
.founder-card__role {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.founder-card__bio {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}
.section--dark .founder-card__bio { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 80px 0;
  text-align: center;
}
.cta-section .cta-title {
  font-size: 38px;
  margin-bottom: 14px;
}
.section--accent .cta-title { color: var(--white); }
.cta-section .cta-desc {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   PAGE HERO (Interior Pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -50px; bottom: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
.page-hero__title {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero__subtitle {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.page-hero .breadcrumb {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.6;
}
.page-hero .breadcrumb a { color: var(--white); opacity: 0.8; }
.page-hero .breadcrumb a:hover { opacity: 1; }

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */
.content-block { margin-bottom: 40px; }
.content-block h2 {
  font-size: 30px;
  margin-bottom: 16px;
  color: var(--dark);
}
.content-block h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.content-block p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
}
.content-block p.lead {
  font-size: 18px;
  color: var(--dark);
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Image placeholder */
.image-placeholder {
  background: linear-gradient(135deg, var(--teal-pale), var(--offwhite));
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
  min-height: 300px;
}
.image-placeholder .placeholder-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.image-placeholder .placeholder-text { font-weight: 600; }
.image-placeholder .placeholder-size { font-size: 12px; opacity: 0.6; margin-top: 4px; }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-light);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -32px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-item .year {
  font-weight: 700; color: var(--teal);
  font-size: 14px; margin-bottom: 4px;
}
.timeline-item h4 { font-size: 17px; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--gray); }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Contact info cards */
.contact-info-cards { display: grid; gap: 16px; }
.contact-info-card {
  background: var(--offwhite);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-card__icon {
  width: 48px; height: 48px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info-card__title { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.contact-info-card__text { font-size: 14px; color: var(--gray); }

/* ==========================================================================
   SCHOOL / PROGRAM CARDS
   ========================================================================== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.program-card:hover {
  box-shadow: var(--shadow-teal);
  transform: translateY(-3px);
}
.program-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.program-card__image .placeholder-icon { font-size: 48px; opacity: 0.3; }
.program-card__body { padding: 24px; }
.program-card__title { font-size: 20px; margin-bottom: 8px; }
.program-card__desc { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.program-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.program-card__tag {
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ==========================================================================
   DEGREE GRID
   ========================================================================== */
.degree-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.degree-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.degree-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.degree-card__icon { font-size: 32px; margin-bottom: 12px; }
.degree-card__title { font-size: 17px; margin-bottom: 6px; }
.degree-card__desc { font-size: 13px; color: var(--gray); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 15px;
}
.site-footer a {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
}
.site-footer a:hover { color: var(--teal-light); }
.site-footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--teal-light); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .church-grid { grid-template-columns: repeat(2, 1fr); }
  .ministry-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .degree-grid { grid-template-columns: repeat(2, 1fr); }
  .church-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-light);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 12px 16px; width: 100%; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; }

  .hero-title { font-size: 36px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .search-box { flex-direction: column; }
  .search-box select { border-left: none; border-top: 1px solid var(--gray-light); }

  .church-grid,
  .ministry-grid,
  .program-grid,
  .degree-grid { grid-template-columns: 1fr; }

  .church-showcase { grid-template-columns: 1fr; }
  .church-row { grid-template-columns: 1fr; }

  .about-grid,
  .two-col { grid-template-columns: 1fr; gap: 40px; }

  .section-top-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-hero__title { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* ==========================================================================
   WORDPRESS CORE STYLES
   ========================================================================== */
.wp-block-image { margin-bottom: 1.5em; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--gray); text-align: center; padding: 8px 0; }
.gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-item { flex: 1 1 calc(33% - 8px); }
.sticky { border-left: 4px solid var(--teal); padding-left: 16px; }
.bypostauthor { background: var(--offwhite); padding: 16px; border-radius: var(--radius-sm); }
</style>