/*
Theme Name:   Good Samaritan Ministries Pakistan
Theme URI:    https://www.gsministries.org
Author:       Rev. Dr. Naeem Nasir
Author URI:   https://www.naeemnasir.com
Description:  Official custom theme for Good Samaritan Ministries Pakistan. Sharing the Gospel through church planting, free Urdu Bibles, and Christian education since 2009. Teal #2B9AB8 | Maroon #8B1A35.
Version:      1.1.0
License:      GNU General Public License v2 or later
Text Domain:  gsm-theme
Tags:         ministry, christian, pakistan, custom, teal, maroon

"Go into all the world and proclaim the gospel to every creature." — Mark 16:15
— Good Samaritan Ministries Pakistan
*/

/* =====================================================
   GSM DESIGN SYSTEM
   Teal:   #2B9AB8  |  Teal Dark:  #1E7A94
   Maroon: #8B1A35  |  Maroon Dark:#6D1228
   Cream:  #F8F5F0  |  Slate:      #334155
   Gold:   #D4AF37  |  Dark BG:    #0D1F2D
   Fonts:  Playfair Display (headings) + Open Sans (body)
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --teal:        #2B9AB8;
  --teal-dark:   #1E7A94;
  --teal-light:  #E8F5FA;
  --teal-mid:    #237A93;
  --maroon:      #8B1A35;
  --maroon-dark: #6D1228;
  --maroon-light:#F9E8EC;
  --gold:        #D4AF37;
  --dark:        #0D1F2D;
  --dark-mid:    #122536;
  --white:       #FFFFFF;
  --cream:       #F8F5F0;
  --cream-dark:  #F0EBE1;
  --slate:       #334155;
  --muted:       #64748B;
  --border:      #E2DDD5;
  --text:        #1A1A1A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate);
  border-left: 4px solid var(--teal);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--teal-light);
  border-radius: 0 6px 6px 0;
}
blockquote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 8px;
  font-family: 'Open Sans', sans-serif;
}

/* ─── Override: blockquote on dark backgrounds ─── */
.gsm-contact-closing-quote blockquote {
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  color: rgba(255,255,255,0.92) !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.gsm-contact-closing-quote blockquote p {
  color: rgba(255,255,255,0.92) !important;
}
.gsm-contact-closing-quote cite {
  color: #D4AF37 !important;
}

/* ---- UTILITY ---- */
.gsm-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.teal  { color: var(--teal) !important; }
.maroon { color: var(--maroon) !important; }
.gold  { color: var(--gold) !important; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* =====================================================
   BUTTONS
===================================================== */
.gsm-btn {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1;
}
.gsm-btn-teal    { background: var(--teal);   color: #fff; border-color: var(--teal); }
.gsm-btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.gsm-btn-maroon  { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.gsm-btn-maroon:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: #fff; }
.gsm-btn-gold    { background: var(--gold);   color: var(--dark); border-color: var(--gold); font-weight: 700; font-size: 16px; padding: 16px 38px; }
.gsm-btn-gold:hover { background: #c9a020; border-color: #c9a020; color: var(--dark); }
.gsm-btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.gsm-btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }
.gsm-btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.gsm-btn-outline-teal:hover { background: var(--teal); color: #fff; }

/* =====================================================
   HEADER
===================================================== */
#gsm-header {
  position: sticky;
  top: 0;
  z-index: 99998;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  /* Force header above ALL page stacking contexts */
  isolation: isolate;
}
.gsm-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
  height: 110px;
  overflow: visible;
}

/* Logo */
.gsm-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto; /* push nav + social icons to the right */
}
.gsm-logo-img { height: 90px; width: auto; }
.gsm-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.2;
}
.gsm-logo-tagline {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Nav */
#gsm-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-shrink: 1;
  min-width: 0;
}
#gsm-nav li { position: relative; }
#gsm-nav > li > a {
  display: block;
  padding: 7px 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  border-radius: 5px;
  transition: all 0.2s;
  white-space: nowrap;
}
#gsm-nav > li > a:hover,
#gsm-nav > li.current-menu-item > a,
#gsm-nav > li.current-menu-ancestor > a {
  color: var(--teal);
  background: var(--teal-light);
}

/* Donate button in nav — larger, more prominent */
#gsm-nav li.menu-item-donate > a,
#gsm-nav li:last-child > a {
  background: #8B1A35 !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 22px !important;
  margin-left: 8px;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(139,26,53,0.35);
}
#gsm-nav li.menu-item-donate > a:hover,
#gsm-nav li:last-child > a:hover {
  background: #6D1228 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139,26,53,0.45);
}

/* Dropdown */
#gsm-nav li:hover > ul,
#gsm-nav li:focus-within > ul { display: block; }
#gsm-nav ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  list-style: none;
  padding: 12px 0 10px;
  z-index: 99999;
  margin-top: 0;
}
/* invisible bridge between parent link and dropdown */
#gsm-nav li.menu-item-has-children > a::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
#gsm-nav ul li a {
  display: block;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  transition: all 0.15s;
}
#gsm-nav ul li a:hover {
  background: var(--teal-light);
  color: var(--teal);
}

/* Mobile-only FB icon (left of logo) — hidden on desktop */
.gsm-mobile-fb { display: none !important; }

/* Header Social Buttons */
.gsm-header-social {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 18px; /* close but not attached to Donate button */
}
.gsm-header-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.gsm-header-social-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.gsm-header-social-btn svg { width: 20px; height: 20px; }
.gsm-header-yt { background: #FF0000; color: #fff; }
.gsm-header-wa { background: #25D366; color: #fff; }
.gsm-header-fb { background: #1877F2; color: #fff; }

/* Hamburger */
.gsm-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}
.gsm-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: all 0.3s;
}
.gsm-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gsm-menu-toggle.active span:nth-child(2) { opacity: 0; }
.gsm-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   TOP BAR (above header)
===================================================== */
.gsm-top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gsm-top-bar a { color: var(--gold); }
.gsm-top-bar a:hover { color: #fff; }
.gsm-top-bar-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  margin-left: 12px;
  font-size: 12px;
}
.gsm-top-bar-social a:hover { color: var(--gold); }

/* =====================================================
   HERO
===================================================== */
.gsm-hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.gsm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gsm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13,31,45,0.92) 0%, rgba(43,154,184,0.35) 100%);
}
.gsm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 40px;
  margin: 0 auto 0 10%;
}
.gsm-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.gsm-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}
.gsm-hero h1 .teal { color: var(--teal) !important; }
.gsm-hero h1 .gold { color: var(--gold) !important; }
.gsm-hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.gsm-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 560px;
}
.gsm-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- HERO SLIDER ---- */
.gsm-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.gsm-slide.active { opacity: 1; }

.gsm-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.gsm-slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}
.gsm-slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}

.gsm-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gsm-slider-arrow:hover { background: rgba(0,0,0,0.65); }
.gsm-slider-prev { left: 20px; }
.gsm-slider-next { right: 20px; }

/* =====================================================
   STATS BAR
===================================================== */
.gsm-stats-bar {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a4a 100%);
  padding: 28px 0;
}
.gsm-stats-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.gsm-stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.gsm-stat-item:last-child { border-right: none; }
.gsm-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.gsm-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* =====================================================
   SECTIONS
===================================================== */
.gsm-section { padding: 80px 0; }
.gsm-section-cream { background: var(--cream); }
.gsm-section-white { background: var(--white); }
.gsm-section-dark  { background: var(--dark); color: rgba(255,255,255,0.85); }
.gsm-section-teal  { background: var(--teal); color: #fff; }
.gsm-section-maroon{ background: var(--maroon); color: #fff; }

.gsm-section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.gsm-section-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.gsm-section-heading h2 { color: var(--dark); margin-bottom: 14px; }
.gsm-section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.gsm-section-dark .gsm-section-heading h2,
.gsm-section-teal .gsm-section-heading h2,
.gsm-section-maroon .gsm-section-heading h2 { color: #fff; }
.gsm-section-dark .gsm-section-heading p,
.gsm-section-teal .gsm-section-heading p,
.gsm-section-maroon .gsm-section-heading p { color: rgba(255,255,255,0.75); }

/* =====================================================
   GRIDS
===================================================== */
.gsm-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gsm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gsm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* =====================================================
   MINISTRY CARDS
===================================================== */
.gsm-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.gsm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.gsm-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gsm-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gsm-card-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.gsm-card h3 {
  color: var(--dark);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.gsm-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.gsm-card a.gsm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 16px;
}
.gsm-card a.gsm-card-link:hover { color: var(--teal-dark); }

/* Ministry card variant (cream bg) */
.gsm-min-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 28px;
  transition: border-top-color 0.2s, box-shadow 0.2s;
}
.gsm-min-card:hover { border-top-color: var(--maroon); box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.gsm-min-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(43,154,184,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
  transition: background 0.2s, color 0.2s;
}
.gsm-min-card-icon svg { width: 28px; height: 28px; }
.gsm-min-card:hover .gsm-min-card-icon { background: var(--teal); color: #fff; }
.gsm-min-card h3 { color: var(--maroon); margin-bottom: 10px; font-size: 1.1rem; }
.gsm-min-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* =====================================================
   FOUNDER SECTION
===================================================== */
.gsm-founder-section {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  align-items: center;
}
.gsm-founder-img-wrap { position: relative; }
.gsm-founder-img-wrap img {
  width: 100%;
  border-radius: 12px;
  border: 4px solid var(--teal);
  box-shadow: 0 12px 40px rgba(43,154,184,0.2);
}
.gsm-founder-img-caption {
  position: absolute;
  bottom: -18px;
  left: 20px;
  right: 20px;
  background: var(--maroon);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
}
.gsm-founder-text .eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.gsm-founder-text h2 { color: var(--dark); margin-bottom: 6px; }
.gsm-founder-text .title { display: block; color: var(--maroon); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.gsm-founder-text p { color: var(--slate); }
.gsm-founder-text blockquote {
  font-size: 1rem;
  color: var(--slate);
  background: var(--teal-light);
  border-left-color: var(--teal);
}

/* =====================================================
   TESTIMONY CARDS
===================================================== */
.gsm-testimony-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  position: relative;
}
.gsm-testimony-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--teal);
  opacity: 0.15;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}
.gsm-testimony-card p { color: var(--slate); font-style: italic; font-size: 0.95rem; position: relative; z-index: 1; }
.gsm-testimony-name { font-weight: 700; color: var(--dark); margin-top: 16px; font-size: 14px; }
.gsm-testimony-location { color: var(--muted); font-size: 12.5px; }

/* =====================================================
   MOTTO STRIP
===================================================== */
.gsm-motto-strip {
  background: var(--teal);
  padding: 40px 24px;
  text-align: center;
}
.gsm-motto-strip .gsm-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.gsm-motto-strip blockquote {
  border: none;
  background: none;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  line-height: 1.55;
  padding: 0;
  margin: 0;
  max-width: 760px;
}
.gsm-motto-strip cite {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 13.5px;
  font-style: normal;
  letter-spacing: 0.02em;
}

/* =====================================================
   CTA STRIP
===================================================== */
.gsm-cta-strip {
  background: var(--maroon);
  padding: 70px 24px;
  text-align: center;
}
.gsm-cta-strip h2 { color: #fff; margin-bottom: 16px; }
.gsm-cta-strip p { color: rgba(255,255,255,0.8); max-width: 580px; margin: 0 auto 32px; font-size: 1.05rem; }
.gsm-cta-strip .gsm-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.gsm-cta-social-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.gsm-cta-whatsapp  { background: #25D366; color: #fff; border-color: #25D366; }
.gsm-cta-whatsapp:hover  { background: #1ebe5d; border-color: #1ebe5d; color: #fff; }
.gsm-cta-facebook  { background: #1877F2; color: #fff; border-color: #1877F2; }
.gsm-cta-facebook:hover  { background: #1464d1; border-color: #1464d1; color: #fff; }

/* =====================================================
   FOOTER
===================================================== */
#gsm-footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.gsm-footer-inner {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.gsm-footer-logo-area img { height: 52px; width: auto; margin-bottom: 14px; }
.gsm-footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 8px; }
.gsm-footer-desc a { color: var(--gold); }
.gsm-footer-desc a:hover { color: #fff; }
.gsm-footer-col h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.gsm-footer-col ul { list-style: none; }
.gsm-footer-col ul li { margin-bottom: 8px; }
.gsm-footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.6); }
.gsm-footer-col ul li a:hover { color: var(--teal); }
.gsm-footer-social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.gsm-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
}
.gsm-footer-social a:hover { background: var(--teal); color: #fff; }
.gsm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.gsm-footer-bottom a { color: rgba(255,255,255,0.7); }
.gsm-footer-bottom a:hover { color: var(--teal); }
.gsm-footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; max-width: 1160px; margin: 0 auto; }
.gsm-footer-tagline { color: #ffffff; font-style: italic; }

/* =====================================================
   SINGLE PAGE / INNER PAGE HERO
===================================================== */
.gsm-page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 70px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gsm-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--maroon));
}
.gsm-page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.6rem, 3.5vw, 2.5rem); line-height: 1.25; }
.gsm-page-hero .gsm-breadcrumb { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 14px; }
.gsm-page-hero .gsm-breadcrumb a { color: var(--gold); }
.gsm-page-hero p { color: rgba(255,255,255,0.8); max-width: 700px; margin: 10px auto 0; }

/* Page with featured image hero */
.gsm-page-hero-img {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.gsm-page-hero-img .gsm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.gsm-page-hero-img .gsm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,31,45,0.97) 0%,
    rgba(13,31,45,0.75) 45%,
    rgba(13,31,45,0.35) 100%
  );
}
.gsm-page-hero-img .gsm-page-hero-text {
  position: relative;
  z-index: 2;
  padding: 48px 48px 44px;
  width: 100%;
  max-width: 900px;
}
.gsm-page-hero-img .gsm-page-hero-text h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  margin-bottom: 10px;
}
.gsm-page-hero-img .gsm-page-hero-text a {
  color: var(--gold);
  text-shadow: none;
}
.gsm-page-hero-img .gsm-page-hero-text p {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Dr. Naeem Nasir page — portrait-friendly hero */
.page-slug-dr-naeem-nasir .gsm-page-hero-img {
  min-height: 520px;
}
.page-slug-dr-naeem-nasir .gsm-page-hero-img .gsm-hero-bg {
  background-position: center 20%;
}
.page-slug-dr-naeem-nasir .gsm-page-hero-img .gsm-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(13,31,45,0.92) 0%,
    rgba(13,31,45,0.55) 40%,
    rgba(13,31,45,0.1) 100%
  );
}

/* =====================================================
   CONTENT AREA (pages/posts)
===================================================== */
.gsm-content-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 24px;
}
.gsm-content-wrap.narrow { max-width: 800px; }

/* =====================================================
   SINGLE POST LAYOUT
===================================================== */
.gsm-single-wrap { padding: 50px 0 70px; background: #f8f9fa; }
.gsm-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.gsm-article-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  padding: 48px 52px;
}
.gsm-article-card .entry-content { font-size: 1.02rem; line-height: 1.85; color: var(--slate); }
.gsm-article-card .entry-content p { margin-bottom: 1.2rem; }
.gsm-article-card .entry-content h2 { color: var(--teal); font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.gsm-article-card .entry-content h3 { color: var(--maroon); font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.gsm-article-card .entry-content img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.gsm-article-card .entry-content ul,
.gsm-article-card .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; text-align: left !important; }
.gsm-article-card .entry-content li { text-align: left !important; }
.gsm-article-card .entry-content h2 { text-align: left !important; }
.gsm-article-card .entry-content h3 { text-align: left !important; }

/* Share bar */
.gsm-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 28px;
  background: #f0f8fb;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  margin: 32px 0 0;
}
.gsm-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.gsm-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gsm-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  line-height: 1;
}
.gsm-share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.gsm-share-fb { background: #1877F2; color: #fff; }
.gsm-share-wa { background: #25D366; color: #fff; }
.gsm-share-tw { background: #000; color: #fff; }
.gsm-share-copy { background: var(--teal); color: #fff; }

/* Post footer bar */
.gsm-post-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.gsm-post-author { display: flex; align-items: center; gap: 14px; }
.gsm-post-author-avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal); }
.gsm-post-author strong { display: block; font-size: 14px; color: var(--dark); }
.gsm-post-author span { font-size: 12px; color: var(--muted); }

/* Related posts */
.gsm-related-posts { margin-top: 40px; }
.gsm-related-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--teal); }
.gsm-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gsm-related-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.gsm-related-card img { width: 100%; display: block; }
.gsm-related-card-body { padding: 14px 16px 18px; }
.gsm-related-card-body h4 { font-size: 14px; line-height: 1.45; margin: 6px 0 0; }
.gsm-related-card-body h4 a { color: var(--dark); text-decoration: none; }
.gsm-related-card-body h4 a:hover { color: var(--teal); }

/* Sidebar */
.gsm-single-sidebar { display: flex; flex-direction: column; gap: 24px; }
.gsm-sidebar-widget {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.gsm-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--dark);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
}
.gsm-sidebar-feature-img { border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.gsm-sidebar-feature-img img { width: 100%; height: 160px; object-fit: cover; display: block; }
.gsm-sidebar-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: none; }
.gsm-sidebar-link:hover { color: var(--maroon); }
.gsm-sidebar-cta { background: var(--dark); }
.gsm-sidebar-cta h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; margin: 0 0 10px; }
.gsm-sidebar-cta p { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.6; }

@media (max-width: 900px) {
  .gsm-single-layout { grid-template-columns: 1fr; }
  .gsm-article-card { padding: 32px 24px; }
  .gsm-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .gsm-related-grid { grid-template-columns: 1fr; }
  .gsm-post-footer-bar { flex-direction: column; align-items: flex-start; }
}
.entry-content h2 { color: var(--teal); margin: 2rem 0 1rem; text-align: left !important; }
.entry-content h3 { color: var(--maroon); margin: 1.5rem 0 0.75rem; text-align: left !important; }
.entry-content h4 { color: var(--dark); margin: 1.2rem 0 0.6rem; text-align: left !important; }
.entry-content p { color: var(--slate); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; color: var(--slate); margin-bottom: 1rem; text-align: left !important; }
.entry-content ul li, .entry-content ol li { margin-bottom: 6px; text-align: left !important; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; text-align: left !important; }
.entry-content table th { background: var(--teal); color: #fff; padding: 10px 14px; text-align: left !important; }
.entry-content table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left !important; }
.entry-content table tr:nth-child(even) td { background: #f5f7fa; }
.entry-content blockquote { border-left: 4px solid var(--teal); margin: 1.5rem 0; padding: 16px 24px; background: #f0f8fb; border-radius: 0 8px 8px 0; font-style: italic; color: var(--slate); }
.entry-content img { border-radius: 8px; margin: 20px 0; }
.entry-content a { color: var(--teal); font-weight: 600; }

/* Contact info boxes */
.gsm-contact-box {
  background: var(--teal-light);
  border: 1px solid rgba(43,154,184,0.2);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.gsm-contact-box h4 { color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; }
.gsm-contact-box p { color: var(--slate); margin: 0; font-size: 15px; }
.gsm-contact-box a { color: var(--teal); font-weight: 600; }

/* Donation tier cards */
.gsm-donate-tier {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.gsm-donate-tier:hover { border-color: var(--teal); box-shadow: 0 6px 24px rgba(43,154,184,0.12); }
.gsm-donate-tier .amount { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--teal); font-weight: 700; }
.gsm-donate-tier h4 { color: var(--dark); margin: 8px 0 6px; }
.gsm-donate-tier p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* =====================================================
   BLOG / POSTS
===================================================== */
.gsm-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gsm-post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.gsm-post-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.gsm-post-card img { width: 100%; height: 200px; object-fit: cover; }
.gsm-post-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.gsm-post-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.gsm-post-card h3 { font-size: 1rem; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.gsm-post-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.gsm-post-card a.read-more { margin-top: 14px; color: var(--teal); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* =====================================================
   MINISTRY PHOTO ROW
===================================================== */
.gsm-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.gsm-photo-card {
  position: relative;
  padding-bottom: 40px; /* room for caption to hang below */
}
.gsm-photo-card-img {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  height: 240px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.14);
  text-decoration: none;
  transition: box-shadow 0.3s;
}
.gsm-photo-card:hover .gsm-photo-card-img { box-shadow: 0 14px 40px rgba(0,0,0,0.2); }
.gsm-photo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gsm-photo-card:hover .gsm-photo-card-img img { transform: scale(1.05); }

/* Caption: half on image, half below — like founder */
.gsm-photo-card-caption {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  padding: 13px 20px 15px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  text-align: center;
}
.gsm-caption-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.gsm-photo-card-caption strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Colour variants */
.gsm-caption-teal   { background: var(--teal); }
.gsm-caption-teal   .gsm-caption-eyebrow { color: rgba(255,255,255,0.78); }
.gsm-caption-teal   strong { color: #fff; }

.gsm-caption-maroon { background: var(--maroon); }
.gsm-caption-maroon .gsm-caption-eyebrow { color: var(--gold); }
.gsm-caption-maroon strong { color: #fff; }

.gsm-caption-dark   { background: var(--dark); }
.gsm-caption-dark   .gsm-caption-eyebrow { color: var(--gold); }
.gsm-caption-dark   strong { color: #fff; }

@media (max-width: 900px) {
  .gsm-photo-row { grid-template-columns: 1fr; gap: 60px; }
  .gsm-photo-card-img { height: 240px; }
}

/* =====================================================
   BLOG INDEX
===================================================== */
.gsm-blog-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.gsm-blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13,31,45,0.88) 0%, rgba(43,154,184,0.4) 100%);
}
.gsm-blog-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}
.gsm-blog-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gsm-blog-hero-content h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-family: 'Playfair Display', serif;
  margin: 0 0 12px;
  line-height: 1.2;
}
.gsm-blog-hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  max-width: 600px;
  margin: 0;
}

.gsm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gsm-blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gsm-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.13); }
.gsm-blog-card-img-wrap { position: relative; overflow: hidden; }
.gsm-blog-card-img-link { display: block; overflow: hidden; }
.gsm-blog-card-img-link img { transition: transform 0.4s; display: block; }
.gsm-blog-card:hover .gsm-blog-card-img-link img { transform: scale(1.04); }
.gsm-blog-card-category {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.gsm-blog-card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.gsm-blog-card-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; line-height: 1.4; margin: 8px 0 10px; }
.gsm-blog-card-title a { color: var(--dark); text-decoration: none; }
.gsm-blog-card-title a:hover { color: var(--teal); }
.gsm-blog-card-excerpt { font-size: 0.9rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.gsm-blog-read-more { font-size: 13px; font-weight: 700; color: var(--teal); text-decoration: none; margin-top: auto; }
.gsm-blog-read-more:hover { color: var(--maroon); }

.gsm-pagination { text-align: center; margin-top: 50px; }
.gsm-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.gsm-pagination .page-numbers {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  background: #fff;
}
.gsm-pagination .page-numbers.current,
.gsm-pagination .page-numbers:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

@media (max-width: 900px) { .gsm-blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .gsm-blog-grid { grid-template-columns: 1fr; } .gsm-blog-hero { height: 280px; } }

/* =====================================================
   GALLERY
===================================================== */
.gsm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.gsm-gallery-item { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.gsm-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gsm-gallery-item:hover img { transform: scale(1.05); }

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .gsm-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gsm-founder-section { grid-template-columns: 1fr; }
  .gsm-founder-img-wrap { max-width: 400px; margin: 0 auto 40px; }
  .gsm-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .gsm-top-bar { display: none; }
  .gsm-header-inner {
    height: 90px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    padding: 0 16px;
    gap: 0;
  }
  .gsm-mobile-fb {
    display: flex !important;
    grid-column: 1;
    justify-self: start;
  }
  .gsm-logo-link {
    grid-column: 2;
    justify-self: center;
  }
  .gsm-logo-img { height: 70px; }
  .gsm-menu-toggle {
    grid-column: 3;
    justify-self: end;
    display: flex;
    position: static;
    transform: none;
  }
  .gsm-header-social { display: none; }

  #gsm-nav {
    display: none;
    position: fixed;
    inset: 68px 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
  }
  #gsm-nav.open { display: flex; }
  #gsm-nav > li > a { padding: 12px 16px; border-radius: 6px; font-size: 15px; }
  #gsm-nav ul {
    display: none !important;
    position: static;
    box-shadow: none;
    border: none;
    background: var(--cream);
    border-radius: 6px;
    margin: 4px 0 8px 16px;
    padding: 4px 0;
  }
  #gsm-nav li.open > ul { display: block !important; }

  .gsm-hero { min-height: 500px; }
  .gsm-hero-content { padding: 60px 24px; margin: 0 auto; }
  .gsm-stats-inner { gap: 0; }
  .gsm-stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .gsm-stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }

  .gsm-grid-2, .gsm-grid-3, .gsm-grid-4 { grid-template-columns: 1fr; }
  .gsm-post-grid { grid-template-columns: 1fr; }
  .gsm-footer-inner { grid-template-columns: 1fr; padding: 40px 24px; }
  .gsm-section { padding: 50px 0; }
}

@media (max-width: 480px) {
  .gsm-hero h1 { font-size: 1.9rem; }
  .gsm-hero-buttons { flex-direction: column; }
  .gsm-hero-buttons .gsm-btn { text-align: center; }
  .gsm-cta-strip .gsm-cta-buttons { flex-direction: column; align-items: center; }
}

/* =====================================================
   GUTENBERG BLOCK OVERRIDES
===================================================== */
.wp-block-group, .wp-block-cover, .wp-block-columns { max-width: 100% !important; }
.alignwide { max-width: 1160px; margin-left: auto; margin-right: auto; }
.alignfull { margin-left: 0; margin-right: 0; }
.has-text-align-center { text-align: center; }

/* =====================================================
   CONTACT PAGE
===================================================== */
.gsm-contact-wrap {
  background: #f5f7fa;
  padding: 70px 0 80px;
}
.gsm-contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}
/* Contact Info Box */
.gsm-contact-info-box {
  background: var(--dark);
  border-radius: 16px;
  padding: 40px 36px 36px;
  color: #fff;
  position: sticky;
  top: 120px;
}
.gsm-contact-info-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.gsm-contact-info-org {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.gsm-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gsm-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.gsm-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gsm-contact-icon svg { width: 20px; height: 20px; }
.gsm-ci-wa { background: rgba(37,211,102,0.2); color: #25D366; }
.gsm-ci-pin { background: rgba(43,154,184,0.2); color: var(--teal); }
.gsm-ci-web { background: rgba(212,175,55,0.2); color: var(--gold); }
.gsm-contact-list li > div { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.gsm-contact-list li strong { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.gsm-contact-list li a, .gsm-contact-list li span { font-size: 14px; color: rgba(255,255,255,0.9); text-decoration: none; line-height: 1.5; }
.gsm-contact-list li a:hover { color: var(--teal); }
/* Social links in contact */
.gsm-contact-social { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.gsm-contact-social-label { font-size: 12px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.gsm-contact-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.gsm-cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.gsm-cs-btn:hover { opacity: 0.85; }
.gsm-cs-fb { background: #1877F2; color: #fff; }
.gsm-cs-yt { background: #FF0000; color: #fff; }
.gsm-cs-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.gsm-cs-tw { background: #000; color: #fff; }
.gsm-contact-social-handle { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 10px; }
/* Contact Form */
.gsm-contact-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 44px 44px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.gsm-contact-form-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.gsm-contact-form-sub { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.gsm-contact-form { display: flex; flex-direction: column; gap: 20px; }
.gsm-form-row { display: flex; flex-direction: column; gap: 20px; }
.gsm-form-two-col { flex-direction: row; gap: 18px; }
.gsm-form-two-col > .gsm-form-field { flex: 1; min-width: 0; }
.gsm-form-field { display: flex; flex-direction: column; gap: 6px; }
.gsm-form-field label { font-size: 13px; font-weight: 600; color: var(--dark); }
.gsm-req { color: var(--maroon); }
.gsm-form-field input,
.gsm-form-field select,
.gsm-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e5eb;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--dark);
  background: #fafbfc;
  transition: border-color 0.2s;
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
}
.gsm-form-field input:focus,
.gsm-form-field select:focus,
.gsm-form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.gsm-form-field textarea { resize: vertical; min-height: 140px; }
.gsm-form-footer { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gsm-form-submit { font-size: 15px; padding: 14px 36px; }
.gsm-form-note { font-size: 12.5px; color: var(--muted); }
.gsm-contact-alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--slate);
}
.gsm-contact-alt a { color: var(--teal); text-decoration: none; font-weight: 600; }
.gsm-contact-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}
.gsm-contact-success {
  text-align: center;
  padding: 60px 20px;
}
.gsm-contact-success-icon {
  width: 64px;
  height: 64px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}
.gsm-contact-success h3 { color: var(--dark); font-size: 1.4rem; margin-bottom: 10px; }
.gsm-contact-success p { color: var(--slate); font-size: 15px; }
/* CTA strip */
.gsm-contact-cta-strip {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a4a 100%);
  padding: 64px 24px;
  text-align: center;
}
.gsm-contact-cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 10px;
}
.gsm-contact-cta-strip p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 28px; }
.gsm-contact-cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.gsm-btn-wa { background: #25D366; color: #fff; }
.gsm-btn-wa:hover { background: #1ebe5a; color: #fff; }
/* Contact responsive */
@media (max-width: 900px) {
  .gsm-contact-grid { grid-template-columns: 1fr; }
  .gsm-contact-info-box { position: static; }
}
@media (max-width: 600px) {
  .gsm-contact-form-wrap { padding: 28px 20px; }
  .gsm-form-two-col { flex-direction: column; }
}

/* =====================================================
   SOCIAL SHARING — responsive
===================================================== */
@media (max-width: 600px) {
  .gsm-share-bar { flex-direction: column; align-items: flex-start; }
}



/* Mobile Responsive - April 2026 */
@media (max-width: 768px) {
  .gsm-mobile-fb { display: none !important; }
  .gsm-header-inner {
    height: 90px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 16px !important;
    position: relative !important;
  }
  .gsm-logo-link {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .gsm-logo-img {
    height: 80px !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  .gsm-menu-toggle {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .gsm-header-social { display: none !important; }
  .gsm-logo-text { display: none !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(auto-fit"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr auto"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(auto-fit"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr auto"] { grid-template-columns: 1fr !important; }
  section[style*="padding:80px"],
  section[style*="padding:76px"],
  section[style*="padding:75px"],
  section[style*="padding:64px"] {
    padding: 48px 0 40px !important;
  }
  .gsm-container { padding-left: 16px !important; padding-right: 16px !important; }
  section[style*="min-height:580px"],
  section[style*="min-height:520px"] {
    min-height: 400px !important;
  }
  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.4rem !important; }
  [style*="gap:64px"] { gap: 32px !important; }
  [style*="gap:60px"] { gap: 28px !important; }
  [style*="gap:48px"] { gap: 24px !important; }
  .gsm-stats-inner { flex-direction: column !important; gap: 12px !important; padding: 20px 16px !important; }
  .gsm-stat-item { flex-direction: row !important; gap: 8px !important; }
  [style*="display:flex"][style*="gap:12px"],
  [style*="display:flex"][style*="gap:16px"] { flex-direction: column !important; }
  .gsm-btn, a[class*="gsm-btn"] { width: 100% !important; text-align: center !important; box-sizing: border-box !important; }
  .gsm-footer-inner { grid-template-columns: 1fr !important; text-align: center; gap: 32px !important; }
}

@media (max-width: 480px) {
  .gsm-logo-img { height: 70px !important; width: auto !important; max-width: none !important; object-fit: contain !important; }
  .gsm-header-inner { height: 80px !important; padding: 0 12px !important; }
  h1 { font-size: 1.5rem !important; }
  section[style*="min-height"] { min-height: 320px !important; }
  .gsm-container { padding-left: 12px !important; padding-right: 12px !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr 1fr !important; }
  .gsm-container { padding-left: 20px !important; padding-right: 20px !important; }
}


/* Landscape orientation fix */
@media (max-width: 900px) and (orientation: landscape) {
  .gsm-header-inner {
    height: 70px !important;
  }
  .gsm-logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
  }
  section[style*="min-height"] {
    min-height: 300px !important;
  }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr 1fr !important; }
}

/* Hide AIOSEO Author Bio Box on all posts */
.aioseo-author-bio-compact{display:none!important;}
