/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://gatemarkinternational.com
 Description:  Gatemark International — Child theme of Hello Elementor
 Author:       Gatemark International Limited
 Author URI:   https://gatemarkinternational.com
 Template:     hello-elementor
 Version:      3.0.0
 Text Domain:  hello-elementor-child
*/

/* ═══════════════════════════════════════════════════════════
   TABLE OF CONTENTS
    1.  Brand Tokens & Elementor Variable Map
    2.  Global Base
    3.  Elementor Kit line-height Fix (root cause)
    4.  Buttons
    5.  Section Backgrounds & Eyebrow Tag
    6.  Home — Hero
    7.  Home — Pillar Cards
    8.  Home — Value Band
    9.  Home — Why Cards
   10.  Blog Cards (shared)
   11.  Blog Page — Hero
   12.  Blog Page — Filter Bar
   13.  Blog Page — Featured Post
   14.  Blog Page — Posts Grid & Layout
   15.  Blog Page — Sidebar
   16.  Newsletter Band
   17.  Single Post Page
   18.  About Page
   19.  Solutions Page
   20.  Contact Page
   21.  PHP Templates — Shared
   22.  Inner Pages
   23.  Responsive ≤ 1024px
   24.  Responsive ≤ 767px
   25.  Responsive ≤ 480px
   26.  ElementsKit Nav Overrides
   27.  Utilities
   28.  Your Custom CSS
═══════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────
   1. BRAND TOKENS & ELEMENTOR VARIABLE MAP
───────────────────────────────────────────────────────── */
:root {
  --gm-primary:    #1C244B;
  --gm-secondary:  #F3F5F8;
  --gm-body-text:  #324A6D;
  --gm-accent:     #467FF7;
  --gm-bg:         #FFFFFF;
  --gm-blue-el:    #C8D5DC;
  --gm-blue-light: #F9FAFD;
  --gm-font-head:  'Bricolage Grotesque', sans-serif;
  --gm-font-body:  'DM Sans', sans-serif;
  --gm-max-width:  1200px;
  --gm-radius:     14px;
  --gm-radius-lg:  20px;
  --gm-shadow:     0 4px 32px rgba(28,36,75,0.08);
  --gm-shadow-lg:  0 12px 60px rgba(28,36,75,0.14);

  /* Elementor global colours */
  --e-global-color-primary:   var(--gm-primary);
  --e-global-color-secondary: var(--gm-secondary);
  --e-global-color-text:      var(--gm-body-text);
  --e-global-color-accent:    var(--gm-accent);

  /* Elementor global typography */
  --e-global-typography-primary-font-family:   'Bricolage Grotesque';
  --e-global-typography-primary-font-weight:   700;
  --e-global-typography-secondary-font-family: 'Bricolage Grotesque';
  --e-global-typography-secondary-font-weight: 800;
  --e-global-typography-text-font-family:      'DM Sans';
  --e-global-typography-text-font-weight:      400;
  --e-global-typography-accent-font-family:    'DM Sans';
  --e-global-typography-accent-font-weight:    600;
}


/* ─────────────────────────────────────────────────────────
   2. GLOBAL BASE
───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--gm-font-body);
  color: var(--gm-body-text);
  background-color: var(--gm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gm-font-head);
  color: var(--gm-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }

p { line-height: 1.75; }
a { color: var(--gm-accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #2f68e8; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--gm-max-width);
}


/* ─────────────────────────────────────────────────────────
   3. ELEMENTOR KIT LINE-HEIGHT FIX
   Problem: Elementor Kit outputs --e-global-typography-*-line-height: 1.2px
   (wrong unit — px makes headings collapse to near-zero height)
   Fix A: Override the CSS variables at :root — resolves everywhere
   Fix B: Explicit selectors matching Kit specificity — belt & braces
───────────────────────────────────────────────────────── */

/* Fix A — variable override (loaded after Kit via child theme enqueue) */
:root {
  --e-global-typography-primary-line-height:   1.2;
  --e-global-typography-secondary-line-height: 1.1;
  --e-global-typography-text-line-height:      1.75;
  --e-global-typography-accent-line-height:    1.5;
}

/* Fix B — explicit overrides matching .elementor-kit-425 specificity */
.elementor-kit-425 h1,
.elementor-kit-425 h2,
.elementor-kit-425 h4,
.elementor-kit-425 h5,
.elementor-kit-425 h6,
.elementor-kit-425 .elementor-heading-title { line-height: 1.2; }

/* h3 specifically needs 1.3 — slightly looser for readability */
.elementor-kit-425 h3,
.elementor-kit-425 h3.elementor-heading-title { line-height: 1.3; }

.elementor-kit-425 p,
.elementor-kit-425 .elementor-widget-text-editor p { line-height: 1.75; }


/* ─────────────────────────────────────────────────────────
   4. BUTTONS
   Usage: Add class to Elementor button widget via
          Advanced → CSS Classes
   gm-btn-primary  solid accent
   gm-btn-outline  transparent, for light backgrounds
   gm-btn-light    semi-transparent, for dark backgrounds
───────────────────────────────────────────────────────── */
.gm-btn-primary .elementor-button,
.gm-btn-primary.elementor-button {
  background-color: var(--gm-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 9px !important;
  font-family: var(--gm-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 13px 28px !important;
  box-shadow: 0 4px 18px rgba(70,127,247,0.3) !important;
  transition: all 0.25s ease !important;
}

.gm-btn-primary .elementor-button:hover,
.gm-btn-primary.elementor-button:hover {
  background-color: #2f68e8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(70,127,247,0.4) !important;
}

.gm-btn-outline .elementor-button,
.gm-btn-outline.elementor-button {
  background: transparent !important;
  color: var(--gm-primary) !important;
  border: 1.5px solid var(--gm-blue-el) !important;
  border-radius: 9px !important;
  font-family: var(--gm-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 13px 28px !important;
  transition: all 0.25s ease !important;
}

.gm-btn-outline .elementor-button:hover,
.gm-btn-outline.elementor-button:hover {
  border-color: var(--gm-accent) !important;
  color: var(--gm-accent) !important;
  background: rgba(70,127,247,0.05) !important;
}

/* Outline on dark/navy sections — auto white */
.gm-hero-section .gm-btn-outline .elementor-button,
.gm-hero-section .gm-btn-outline.elementor-button,
.gm-bg-dark .gm-btn-outline .elementor-button,
.gm-bg-dark .gm-btn-outline.elementor-button {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
}

.gm-hero-section .gm-btn-outline .elementor-button:hover,
.gm-hero-section .gm-btn-outline.elementor-button:hover,
.gm-bg-dark .gm-btn-outline .elementor-button:hover,
.gm-bg-dark .gm-btn-outline.elementor-button:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.4) !important;
  color: #fff !important;
}

.gm-btn-light .elementor-button,
.gm-btn-light.elementor-button {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
  border-radius: 9px !important;
  font-family: var(--gm-font-body) !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  padding: 13px 28px !important;
  transition: all 0.25s ease !important;
}

.gm-btn-light .elementor-button:hover,
.gm-btn-light.elementor-button:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.4) !important;
}


/* ─────────────────────────────────────────────────────────
   5. SECTION BACKGROUNDS & EYEBROW TAG
───────────────────────────────────────────────────────── */
.gm-bg-white { background-color: var(--gm-bg) !important; }
.gm-bg-light { background-color: var(--gm-blue-light) !important; }
.gm-bg-soft  { background-color: var(--gm-secondary) !important; }
.gm-bg-dark  { background-color: var(--gm-primary) !important; }

.gm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(70,127,247,0.1);
  color: var(--gm-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(70,127,247,0.2);
  margin-bottom: 20px;
  line-height: 1;
}

.gm-eyebrow-dark {
  background: rgba(70,127,247,0.15);
  color: #8aaffe;
  border-color: rgba(70,127,247,0.25);
}


/* ─────────────────────────────────────────────────────────
   6. HOME — HERO
───────────────────────────────────────────────────────── */
.gm-hero-section {
  background-color: var(--gm-primary);
  position: relative;
  overflow: hidden;
}

.hero-glow-bg::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70,127,247,0.18) 0%, transparent 70%);
  animation: gm-breathe 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-bg::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(70,127,247,0.12);
  pointer-events: none;
  z-index: 0;
}

@keyframes gm-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1;   }
}

.gm-hero-right { transition: all 0.3s ease; }


/* ─────────────────────────────────────────────────────────
   7. HOME — PILLAR CARDS
───────────────────────────────────────────────────────── */
.gm-pillar-card {
  background-color: var(--gm-bg);
  border: 1px solid var(--gm-blue-el);
  border-radius: var(--gm-radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gm-pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gm-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.gm-pillar-card:hover { transform: translateY(-6px); box-shadow: var(--gm-shadow-lg); border-color: rgba(70,127,247,0.25); }
.gm-pillar-card:hover::after { transform: scaleX(1); }


/* ─────────────────────────────────────────────────────────
   8. HOME — VALUE BAND
───────────────────────────────────────────────────────── */
.gm-value-band {
  background-color: var(--gm-primary);
  position: relative;
  overflow: hidden;
}

.gm-value-band::before {
  content: '';
  position: absolute;
  left: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(70,127,247,0.1);
  pointer-events: none;
}

.gm-stat-item { border-left: 2px solid var(--gm-accent); padding-left: 20px; margin-bottom: 32px; }
.gm-stat-num  { font-family: var(--gm-font-head); font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.gm-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 4px; }


/* ─────────────────────────────────────────────────────────
   9. HOME — WHY CARDS
───────────────────────────────────────────────────────── */
.gm-why-card {
  background-color: var(--gm-bg);
  border: 1px solid var(--gm-blue-el);
  border-radius: var(--gm-radius);
  padding: 36px 32px;
  display: flex;
  gap: 20px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  margin-bottom: 24px;
}

.gm-why-card:hover { box-shadow: var(--gm-shadow); border-color: rgba(70,127,247,0.25); }


/* ─────────────────────────────────────────────────────────
   10. BLOG CARDS  (shared: home preview, blog page, related)
───────────────────────────────────────────────────────── */
.gm-blog-card {
  background: var(--gm-bg);
  border: 1px solid var(--gm-blue-el);
  border-radius: var(--gm-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gm-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gm-shadow-lg);
  border-color: rgba(70,127,247,0.25);
}

/* Thumbnail — gradient + dot overlay */
.gm-blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, #0f1f4a 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.gm-blog-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(70,127,247,0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Thumbnail with actual image */
.gm-blog-thumb--image { height: 180px; overflow: hidden; background: none; }
.gm-blog-thumb--image::before { display: none; }
.gm-blog-thumb--image img { width: 100%; height: 180px; object-fit: cover; }

/* Thumb link wrapper */
.gm-card-thumb-link { display: block; text-decoration: none; }

/* Card body */
.gm-blog-card-body { padding: 24px 22px; }

/* Category badge */
.gm-post-cat-badge {
  display: inline-block;
  background: rgba(70,127,247,0.1);
  color: var(--gm-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Title link */
.gm-card-title-link {
  display: block;
  font-family: var(--gm-font-head);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gm-primary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.gm-card-title-link:hover,
.gm-blog-card:hover .gm-card-title-link { color: var(--gm-accent); }

/* Excerpt */
.gm-blog-card-body > p {
  font-size: 0.82rem;
  color: var(--gm-body-text);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Meta row */
.gm-blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gm-secondary);
}

.gm-blog-card-meta > span {
  font-size: 0.75rem;
  color: var(--gm-body-text);
  opacity: 0.6;
}

/* Read link */
.gm-read-more {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gm-accent);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gm-read-more:hover { color: #2f68e8; }


/* ─────────────────────────────────────────────────────────
   11. BLOG PAGE — HERO
───────────────────────────────────────────────────────── */
.gm-blog-hero {
  background: linear-gradient(135deg, var(--gm-primary) 0%, #2a3875 100%);
  padding: 80px 64px 64px;
  position: relative;
  overflow: hidden;
}

.gm-blog-hero::before {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(70,127,247,0.1);
  pointer-events: none;
}

.gm-blog-hero h1 { color: #fff; margin-bottom: 20px; }
.gm-hero-lead { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 560px; margin: 0; }


/* ─────────────────────────────────────────────────────────
   12. BLOG PAGE — FILTER BAR
───────────────────────────────────────────────────────── */
.gm-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 64px;
  background: var(--gm-secondary);
  border-bottom: 1px solid var(--gm-blue-el);
  flex-wrap: wrap;
}

.gm-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gm-body-text);
  margin-right: 8px;
}

.gm-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gm-body-text);
  background: var(--gm-bg);
  border: 1.5px solid var(--gm-blue-el);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gm-filter-chip:hover,
.gm-filter-chip.active { background: var(--gm-accent); color: #fff; border-color: var(--gm-accent); }


/* ─────────────────────────────────────────────────────────
   13. BLOG PAGE — FEATURED POST
───────────────────────────────────────────────────────── */
.gm-featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--gm-blue-el);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 56px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.gm-featured-post:hover { box-shadow: var(--gm-shadow-lg); }

.gm-fp-visual {
  background: linear-gradient(145deg, #0f1f4a 0%, #1e3a8a 60%, #0d4f6e 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-size: 5rem;
}

.gm-fp-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(70,127,247,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.gm-fp-visual::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70,127,247,0.2), transparent 70%);
  pointer-events: none;
}

.gm-fp-badge {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 3;
  background: var(--gm-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

.gm-fp-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gm-bg);
}

.gm-fp-body .gm-post-cat-badge { margin-bottom: 16px; }

.gm-fp-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.gm-fp-body > p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--gm-body-text);
  margin-bottom: 28px;
}

.gm-fp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--gm-body-text);
  opacity: 0.7;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.gm-fp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gm-accent);
  color: #fff;
  font-family: var(--gm-font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 9px;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 4px 18px rgba(70,127,247,0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gm-fp-cta:hover { background: #2f68e8; color: #fff; transform: translateY(-1px); }


/* ─────────────────────────────────────────────────────────
   14. BLOG PAGE — POSTS GRID & LAYOUT
   Single definition. No duplicates.
───────────────────────────────────────────────────────── */

/* Outer: 2/3 content + 1/3 sidebar */
.gm-blog-list-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Posts grid: 2 columns within the content area */
.gm-posts-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

/* Pagination */
.gm-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.gm-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 9px;
  border: 1px solid var(--gm-blue-el);
  background: var(--gm-bg);
  color: var(--gm-body-text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gm-page-btn:hover,
.gm-page-btn.active { background: var(--gm-accent); border-color: var(--gm-accent); color: #fff; }

.gm-no-posts { padding: 60px 0; text-align: center; }
.gm-no-posts p { font-size: 1rem; color: var(--gm-body-text); margin-bottom: 16px; }
.gm-no-posts a { color: var(--gm-accent); font-weight: 600; }


/* ─────────────────────────────────────────────────────────
   15. BLOG PAGE — SIDEBAR
───────────────────────────────────────────────────────── */
.gm-blog-sidebar { position: sticky; top: 100px; }

.gm-sidebar-widget {
  background: var(--gm-blue-light);
  border: 1px solid var(--gm-blue-el);
  border-radius: var(--gm-radius);
  padding: 24px;
  margin-bottom: 24px;
}

.gm-sidebar-widget h4 {
  font-family: var(--gm-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gm-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gm-accent);
  display: inline-block;
}

.gm-sidebar-dark { background: var(--gm-primary); border-color: transparent; }
.gm-sidebar-dark h4 { color: #fff; border-bottom-color: rgba(70,127,247,0.4); text-transform: none; letter-spacing: 0; font-size: 0.95rem; }

.gm-topic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.gm-topic-tag {
  display: inline-flex;
  padding: 5px 12px;
  background: var(--gm-bg);
  border: 1px solid var(--gm-blue-el);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gm-body-text);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gm-topic-tag:hover,
.gm-topic-tag.active { border-color: var(--gm-accent); color: var(--gm-accent); }

.gm-tag-count { font-size: 0.68rem; opacity: 0.5; margin-left: 3px; }

.gm-recent-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.gm-recent-post:hover { background: var(--gm-bg); }

.gm-rp-thumb {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f1f4a, #1e3a8a);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.gm-rp-info h5 { font-size: 0.8rem; color: var(--gm-primary); line-height: 1.4; margin-bottom: 3px; }
.gm-rp-info span { font-size: 0.7rem; color: var(--gm-body-text); opacity: 0.6; }

.gm-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gm-accent);
  color: #fff;
  font-family: var(--gm-font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 11px 20px;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(70,127,247,0.3);
  transition: background 0.2s ease;
}

.gm-sidebar-cta:hover { background: #2f68e8; color: #fff; }


/* ─────────────────────────────────────────────────────────
   16. NEWSLETTER BAND
───────────────────────────────────────────────────────── */
.gm-newsletter-band {
  background: var(--gm-primary);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

.gm-newsletter-band::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70,127,247,0.15), transparent 70%);
  pointer-events: none;
}

.gm-newsletter-text h3 {
  font-family: var(--gm-font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.gm-newsletter-text p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; margin: 0; }

.gm-newsletter-input { display: flex; gap: 10px; flex: 1; max-width: 420px; flex-shrink: 0; }

.gm-newsletter-input input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--gm-font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.gm-newsletter-input input::placeholder { color: rgba(255,255,255,0.35); }
.gm-newsletter-input input:focus { border-color: var(--gm-accent); }

.gm-newsletter-band button {
  display: inline-flex;
  align-items: center;
  background: var(--gm-accent);
  color: #fff;
  font-family: var(--gm-font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 22px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(70,127,247,0.3);
  transition: background 0.2s ease;
}

.gm-newsletter-band button:hover { background: #2f68e8; }

.gm-newsletter-outer { padding: 0 64px 96px; }
.gm-newsletter-outer > div { max-width: var(--gm-max-width); margin: 0 auto; }


/* ─────────────────────────────────────────────────────────
   17. SINGLE POST PAGE
───────────────────────────────────────────────────────── */
.single-post .entry-header,
.single-post .post-thumbnail,
.single-post .entry-footer { display: none; }

.gm-post-hero {
  background: linear-gradient(135deg, var(--gm-primary) 0%, #2a3875 100%);
  padding: 80px 64px 64px;
  position: relative;
  overflow: hidden;
}

.gm-post-hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70,127,247,0.15), transparent 70%);
  pointer-events: none;
}

.gm-post-hero-inner { max-width: var(--gm-max-width); margin: 0 auto; position: relative; z-index: 1; }

.gm-breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.gm-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.gm-breadcrumb span { margin: 0 8px; }

.gm-post-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gm-post-hero-cat {
  display: inline-flex;
  align-items: center;
  background: rgba(70,127,247,0.2);
  border: 1px solid rgba(70,127,247,0.35);
  color: #8aaffe;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.gm-post-hero-cat:hover { background: rgba(70,127,247,0.35); color: #8aaffe; }
.gm-post-hero-date, .gm-post-hero-read { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

.gm-post-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.gm-post-hero-byline { display: flex; align-items: center; gap: 12px; }

.gm-post-hero-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(70,127,247,0.2);
  border: 1.5px solid rgba(70,127,247,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.gm-post-hero-avatar img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.gm-post-hero-avatar-fallback { font-size: 1rem; color: rgba(255,255,255,0.6); }
.gm-post-hero-author { font-size: 0.88rem; font-weight: 600; color: #fff; }
.gm-post-hero-role   { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

.gm-post-body {
  max-width: var(--gm-max-width);
  margin: 0 auto;
  padding: 72px 64px 96px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Article typography */
.entry-content { font-family: var(--gm-font-body); font-size: 1.05rem; color: var(--gm-body-text); line-height: 1.85; }

.entry-content h2 {
  font-family: var(--gm-font-head); font-size: 1.6rem; font-weight: 700; color: var(--gm-primary);
  letter-spacing: -0.3px; margin: 52px 0 20px; padding-top: 52px;
  border-top: 1px solid var(--gm-secondary); line-height: 1.2;
}

.entry-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.entry-content h3 {
  font-family: var(--gm-font-head); font-size: 1.2rem; font-weight: 700;
  color: var(--gm-primary); margin: 36px 0 14px; line-height: 1.3;
}

.entry-content p { margin-bottom: 24px; }

.entry-content a {
  color: var(--gm-accent); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: rgba(70,127,247,0.3);
  transition: text-decoration-color 0.2s ease;
}

.entry-content a:hover { text-decoration-color: var(--gm-accent); }

.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 24px; }
.entry-content li { margin-bottom: 10px; line-height: 1.75; }
.entry-content ul li::marker { color: var(--gm-accent); }

.entry-content blockquote {
  margin: 40px 0; padding: 28px 32px;
  background: var(--gm-blue-light);
  border-left: 3px solid var(--gm-accent);
  border-radius: 0 var(--gm-radius) var(--gm-radius) 0;
  position: relative;
}

.entry-content blockquote p { font-family: var(--gm-font-head); font-size: 1.15rem; font-weight: 600; color: var(--gm-primary); line-height: 1.5; margin: 0; }

.entry-content blockquote::before {
  content: '"';
  position: absolute; top: -12px; left: 24px;
  font-family: var(--gm-font-head); font-size: 4rem;
  color: var(--gm-accent); opacity: 0.3; line-height: 1;
}

.entry-content img { border-radius: var(--gm-radius); width: 100%; height: auto; margin: 8px 0 28px; border: 1px solid var(--gm-blue-el); }

/* Post tags */
.gm-post-tags {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 40px; margin-top: 48px; border-top: 1px solid var(--gm-secondary);
}

.gm-post-tag {
  display: inline-flex; padding: 5px 14px; border-radius: 100px;
  border: 1px solid var(--gm-blue-el); background: var(--gm-blue-light);
  font-size: 0.75rem; color: var(--gm-body-text); text-decoration: none; transition: all 0.2s ease;
}

.gm-post-tag:hover { background: var(--gm-accent); border-color: var(--gm-accent); color: #fff; }

/* Related posts */
.gm-related-posts { background: var(--gm-secondary); padding: 80px 64px; }
.gm-related-posts-inner { max-width: var(--gm-max-width); margin: 0 auto; }
.gm-related-heading { font-family: var(--gm-font-head); font-size: 1.6rem; font-weight: 700; color: var(--gm-primary); margin: 8px 0 40px; line-height: 1.2; }
.gm-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }


/* ─────────────────────────────────────────────────────────
   18. ABOUT PAGE
───────────────────────────────────────────────────────── */
.gm-page-hero {
  background: linear-gradient(135deg, var(--gm-primary) 0%, #2a3875 100%);
  padding: 96px 64px 80px;
  position: relative;
  overflow: hidden;
}

.gm-page-hero::before {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(70,127,247,0.1);
  pointer-events: none;
}

.gm-page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }

.gm-page-hero-inner { max-width: var(--gm-max-width); margin: 0 auto; position: relative; z-index: 1; }

.gm-identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 64px; }

.gm-identity-visual {
  background: var(--gm-primary);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gm-identity-visual::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(70,127,247,0.25), transparent 70%);
  pointer-events: none;
}

.gm-id-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.gm-id-badge {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 20px 24px;
}

.gm-id-badge h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; line-height: 1.2; }
.gm-id-badge p  { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; margin: 0; }

.gm-advantage-list { display: flex; flex-direction: column; gap: 28px; margin-top: 12px; }

.gm-adv-item { display: flex; gap: 16px; align-items: flex-start; }

.gm-adv-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--gm-blue-light); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; border: 1px solid var(--gm-blue-el); flex-shrink: 0;
}

.gm-adv-item h4 { font-size: 0.95rem; color: var(--gm-primary); margin-bottom: 6px; }
.gm-adv-item p  { font-size: 0.83rem; color: var(--gm-body-text); line-height: 1.65; margin: 0; }

.gm-tagline-banner {
  background: var(--gm-blue-light); border: 1px solid var(--gm-blue-el);
  border-radius: var(--gm-radius); padding: 40px 48px; text-align: center; margin-top: 64px;
}

.gm-tagline-banner p { font-family: var(--gm-font-head); font-size: 1.4rem; font-weight: 700; color: var(--gm-primary); letter-spacing: -0.3px; margin: 0; line-height: 1.4; }
.gm-tagline-banner span { color: var(--gm-accent); }


/* ─────────────────────────────────────────────────────────
   19. SOLUTIONS PAGE
───────────────────────────────────────────────────────── */
.gm-solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--gm-secondary);
}

.gm-solution-block:last-child { border-bottom: none; }
.gm-solution-block.gm-sol-reverse { direction: rtl; }
.gm-solution-block.gm-sol-reverse > * { direction: ltr; }

.gm-sol-num { font-family: var(--gm-font-head); font-size: 5rem; font-weight: 800; color: rgba(70,127,247,0.08); line-height: 1; margin-bottom: -20px; }

.gm-sol-tag { display: inline-block; background: rgba(70,127,247,0.1); color: var(--gm-accent); font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 6px; margin-bottom: 14px; }

.gm-sol-visual { background: linear-gradient(145deg, var(--gm-primary), #1e3a8a); border-radius: 20px; min-height: 340px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }

.gm-sol-visual-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 22px 22px; }
.gm-sol-visual-icon { position: relative; z-index: 2; font-size: 5rem; opacity: 0.6; }

.gm-sol-features { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

.gm-sol-feat { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; background: var(--gm-blue-light); border-radius: 10px; border: 1px solid var(--gm-blue-el); transition: border-color 0.2s ease; }
.gm-sol-feat:hover { border-color: rgba(70,127,247,0.3); }

.gm-feat-dot { width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: var(--gm-accent); margin-top: 7px; flex-shrink: 0; }
.gm-sol-feat p { font-size: 0.85rem; color: var(--gm-body-text); line-height: 1.55; margin: 0; }


/* ─────────────────────────────────────────────────────────
   20. CONTACT PAGE
───────────────────────────────────────────────────────── */
.gm-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }

.gm-contact-info h2 { margin-bottom: 16px; }

.gm-contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }

.gm-contact-item { display: flex; gap: 16px; align-items: flex-start; }

.gm-contact-icon { width: 44px; height: 44px; min-width: 44px; background: var(--gm-blue-light); border: 1px solid var(--gm-blue-el); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

.gm-contact-item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gm-body-text); margin-bottom: 4px; font-weight: 500; }
.gm-contact-item p  { font-size: 0.92rem; color: var(--gm-primary); font-weight: 500; margin: 0; }
.gm-contact-item a  { color: var(--gm-accent); text-decoration: none; }

.gm-contact-next { background: var(--gm-blue-light); border: 1px solid var(--gm-blue-el); border-radius: var(--gm-radius); padding: 28px 24px; }
.gm-contact-next h4 { font-size: 0.95rem; color: var(--gm-primary); margin-bottom: 8px; }
.gm-contact-next p  { font-size: 0.83rem; line-height: 1.7; color: var(--gm-body-text); margin: 0; }

.gm-contact-form-wrap { background: var(--gm-bg); border: 1px solid var(--gm-blue-el); border-radius: 20px; padding: 44px 40px; box-shadow: var(--gm-shadow); }

.gm-contact-form-wrap h3 { font-size: 1.4rem; color: var(--gm-primary); margin-bottom: 8px; line-height: 1.2; }
.gm-form-sub { font-size: 0.85rem; color: var(--gm-body-text); margin-bottom: 32px; }

.gm-form-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); border-radius: 9px; padding: 12px 16px; font-size: 0.85rem; color: #dc2626; margin-bottom: 20px; }

.gm-form { display: flex; flex-direction: column; gap: 16px; }
.gm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gm-form-group { display: flex; flex-direction: column; gap: 7px; }

.gm-form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--gm-primary); letter-spacing: 0.3px; }
.gm-required { color: var(--gm-accent); }

.gm-form-group input,
.gm-form-group select,
.gm-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gm-blue-el);
  border-radius: 9px;
  font-family: var(--gm-font-body);
  font-size: 0.88rem;
  color: var(--gm-primary);
  background: var(--gm-blue-light);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.gm-form-group input:focus,
.gm-form-group select:focus,
.gm-form-group textarea:focus { border-color: var(--gm-accent); background: #fff; box-shadow: 0 0 0 3px rgba(70,127,247,0.1); }

.gm-form-group input::placeholder,
.gm-form-group textarea::placeholder { color: rgba(50,74,109,0.4); }

.gm-form-group textarea { resize: vertical; min-height: 110px; }

.gm-form-submit {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 13px 28px;
  background: var(--gm-accent); color: #fff;
  border: none; border-radius: 9px;
  font-family: var(--gm-font-body); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 18px rgba(70,127,247,0.3);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gm-form-submit:hover { background: #2f68e8; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(70,127,247,0.4); }

.gm-form-success { text-align: center; padding: 40px 20px; }
.gm-form-success-icon { font-size: 3rem; margin-bottom: 16px; }
.gm-form-success h3 { font-size: 1.4rem; color: var(--gm-primary); margin-bottom: 8px; }
.gm-form-success p  { font-size: 0.92rem; color: var(--gm-body-text); margin-bottom: 24px; }

.gm-btn-inline { display: inline-flex; align-items: center; padding: 10px 24px; background: var(--gm-accent); color: #fff; border-radius: 9px; font-size: 0.88rem; font-weight: 600; text-decoration: none; font-family: var(--gm-font-body); transition: background 0.2s ease; }
.gm-btn-inline:hover { background: #2f68e8; color: #fff; }


/* ─────────────────────────────────────────────────────────
   21. PHP TEMPLATES — SHARED
───────────────────────────────────────────────────────── */
.gm-container { max-width: var(--gm-max-width); margin: 0 auto; padding: 0 64px; }
.gm-section { padding: 96px 0; }
.gm-lead { font-size: 1.05rem; font-weight: 300; color: var(--gm-body-text); line-height: 1.75; max-width: 600px; }


/* ─────────────────────────────────────────────────────────
   22. INNER PAGES
───────────────────────────────────────────────────────── */
.gm-people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.gm-person-card { background: var(--gm-bg); border: 1px solid var(--gm-blue-el); border-radius: var(--gm-radius-lg); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.gm-person-card:hover { transform: translateY(-4px); box-shadow: var(--gm-shadow-lg); }
.gm-person-photo { height: 200px; background: linear-gradient(145deg, var(--gm-primary), #1e3a8a); display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; overflow: hidden; }
.gm-person-photo::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(70,127,247,0.1) 1px, transparent 1px); background-size: 18px 18px; }
.gm-person-body { padding: 24px; }
.gm-person-name { font-size: 1.05rem; font-weight: 700; color: var(--gm-primary); margin-bottom: 4px; }
.gm-person-role { font-size: 0.78rem; color: var(--gm-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.gm-person-bio  { font-size: 0.83rem; color: var(--gm-body-text); line-height: 1.65; }

.gm-partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.gm-partner-card { background: var(--gm-blue-light); border: 1px solid var(--gm-blue-el); border-radius: var(--gm-radius); padding: 32px 24px; text-align: center; transition: border-color 0.2s, box-shadow 0.2s; }
.gm-partner-card:hover { border-color: rgba(70,127,247,0.3); box-shadow: var(--gm-shadow); }
.gm-partner-logo { font-size: 2.5rem; margin-bottom: 16px; }
.gm-partner-name { font-family: var(--gm-font-head); font-size: 0.9rem; font-weight: 700; color: var(--gm-primary); margin-bottom: 8px; }
.gm-partner-tier { font-size: 0.72rem; color: var(--gm-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.gm-jobs-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.gm-job-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--gm-bg); border: 1px solid var(--gm-blue-el); border-radius: var(--gm-radius); padding: 24px 28px; transition: border-color 0.2s, box-shadow 0.2s; }
.gm-job-card:hover { border-color: rgba(70,127,247,0.3); box-shadow: var(--gm-shadow); }
.gm-job-title { font-size: 1rem; font-weight: 700; color: var(--gm-primary); margin-bottom: 6px; }
.gm-job-meta  { display: flex; gap: 16px; flex-wrap: wrap; }
.gm-job-tag   { font-size: 0.75rem; color: var(--gm-body-text); opacity: 0.7; }
.gm-job-tag::before { content: '• '; color: var(--gm-accent); }

.gm-legal-body { max-width: 780px; margin: 0 auto; padding: 72px 64px 96px; }
.gm-legal-body h2 { font-size: 1.4rem; font-weight: 700; color: var(--gm-primary); margin: 48px 0 12px; padding-top: 48px; border-top: 1px solid var(--gm-secondary); line-height: 1.2; }
.gm-legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.gm-legal-body p  { font-size: 0.95rem; line-height: 1.8; color: var(--gm-body-text); margin-bottom: 16px; }
.gm-legal-body ul { padding-left: 20px; margin-bottom: 16px; }
.gm-legal-body li { font-size: 0.95rem; line-height: 1.75; color: var(--gm-body-text); margin-bottom: 8px; }
.gm-legal-body strong { color: var(--gm-primary); font-weight: 600; }
.gm-legal-last-updated { font-size: 0.8rem; color: var(--gm-body-text); opacity: 0.55; margin-bottom: 48px; }

.gm-page-content { max-width: 780px; }
.gm-page-content p  { font-size: 1rem; line-height: 1.8; margin-bottom: 20px; color: var(--gm-body-text); }
.gm-page-content h2 { font-size: 1.6rem; font-weight: 700; color: var(--gm-primary); margin: 48px 0 16px; line-height: 1.2; }
.gm-page-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--gm-primary); margin: 32px 0 12px; line-height: 1.3; }
.gm-page-content ul { padding-left: 0; margin-bottom: 20px; list-style: none; }
.gm-page-content ul li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.95rem; line-height: 1.7; color: var(--gm-body-text); }
.gm-page-content ul li::before { content: '→'; color: var(--gm-accent); font-weight: 700; flex-shrink: 0; }


/* ─────────────────────────────────────────────────────────
   23. RESPONSIVE — TABLET  ≤ 1024px
───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gm-container   { padding: 0 32px; }
  .gm-section     { padding: 72px 0; }
  .gm-legal-body  { padding: 56px 32px 72px; }

  /* Hero */
  .gm-hero-right  { display: none !important; }
  .gm-hero-left   { width: 100% !important; }

  /* Heroes */
  .gm-blog-hero   { padding: 64px 32px 48px; }
  .gm-page-hero   { padding: 72px 32px 56px; }
  .gm-post-hero   { padding: 64px 32px 48px; }

  /* Filter */
  .gm-filter-bar  { padding: 16px 32px; }

  /* Featured post */
  .gm-featured-post   { grid-template-columns: 1fr; }
  .gm-fp-visual       { min-height: 220px; }
  .gm-fp-body         { padding: 32px 32px; }

  /* Blog list */
  .gm-blog-list-section { grid-template-columns: 1fr; }
  .gm-blog-sidebar      { position: static; }

  /* Newsletter */
  .gm-newsletter-band  { flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px 36px; }
  .gm-newsletter-input { max-width: 100%; width: 100%; }
  .gm-newsletter-outer { padding: 0 32px 72px; }

  /* Post */
  .gm-post-body        { grid-template-columns: 1fr; padding: 56px 32px 72px; gap: 48px; }
  .gm-related-posts    { padding: 64px 32px; }
  .gm-related-grid     { grid-template-columns: 1fr 1fr; }

  /* About */
  .gm-identity-grid    { grid-template-columns: 1fr; gap: 40px; }
  .gm-identity-visual  { min-height: 260px; }

  /* Solutions */
  .gm-solution-block   { grid-template-columns: 1fr; gap: 36px; direction: ltr !important; padding: 56px 0; }
  .gm-sol-visual       { min-height: 220px; }
  .gm-sol-num          { font-size: 3.5rem; }

  /* Contact */
  .gm-contact-grid     { grid-template-columns: 1fr; gap: 40px; }

  /* Inner pages */
  .gm-people-grid      { grid-template-columns: 1fr 1fr; }
  .gm-partners-grid    { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────────────────────
   24. RESPONSIVE — MOBILE  ≤ 767px
───────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .gm-container  { padding: 0 20px; }
  .gm-section    { padding: 56px 0; }
  .gm-legal-body { padding: 40px 20px 56px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .gm-blog-hero  { padding: 60px 20px 44px; }
  .gm-page-hero  { padding: 60px 20px 44px; }
  .gm-post-hero  { padding: 56px 20px 40px; }

  /* Filter — horizontal scroll */
  .gm-filter-bar {
    padding: 12px 20px;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gm-filter-bar::-webkit-scrollbar { display: none; }
  .gm-filter-chip { white-space: nowrap; font-size: 0.74rem; }

  /* Featured post */
  .gm-featured-post { border-radius: 14px; }
  .gm-fp-visual     { min-height: 180px; }
  .gm-fp-body       { padding: 28px 22px; }
  .gm-fp-body h2    { font-size: 1.3rem; }

  .gm-blog-list-section { gap: 32px; }
  .gm-blog-sidebar { order: -1; }

  /* Posts grid — single column */
  .gm-posts-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Blog preview shortcode inline-style override */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Newsletter */
  .gm-newsletter-band {
    padding: 28px 20px;
    flex-direction: column;
    gap: 20px;
    border-radius: 14px;
    margin-top: 40px;
  }
  .gm-newsletter-input { flex-direction: column; width: 100%; max-width: 100%; }
  .gm-newsletter-input input { width: 100%; }
  .gm-newsletter-band button { width: 100%; justify-content: center; }
  .gm-newsletter-outer { padding: 0 20px 56px; }

  /* Post */
  .gm-post-body    { padding: 40px 20px 56px; gap: 40px; }
  .gm-post-hero h1 { font-size: 1.7rem; }

  .gm-related-posts { padding: 56px 20px; }
  .gm-related-grid  { grid-template-columns: 1fr; }

  /* About */
  .gm-identity-visual { min-height: 200px; padding: 28px; }
  .gm-tagline-banner  { padding: 28px 20px; }
  .gm-tagline-banner p { font-size: 1rem; }

  /* Solutions */
  .gm-solution-block { padding: 48px 0; gap: 28px; }
  .gm-sol-visual     { min-height: 160px; border-radius: var(--gm-radius); }
  .gm-sol-num        { font-size: 2.8rem; }

  /* Contact */
  .gm-contact-form-wrap { padding: 28px 20px; }
  .gm-form-row          { grid-template-columns: 1fr; }
  .gm-contact-details   { gap: 16px; }

  /* Buttons */
  .gm-btn-primary .elementor-button,
  .gm-btn-outline .elementor-button,
  .gm-btn-light .elementor-button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .gm-why-card { padding: 24px 20px; }

  .gm-job-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gm-job-card .gm-btn-inline { width: 100%; justify-content: center; }

  .gm-people-grid   { grid-template-columns: 1fr; }
  .gm-partners-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}


/* ─────────────────────────────────────────────────────────
   25. RESPONSIVE — SMALL MOBILE  ≤ 480px
───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .gm-blog-thumb   { height: 150px; }
  .gm-page-hero h1 { font-size: 1.7rem; }

  .gm-topic-tags { gap: 6px; }
  .gm-topic-tag  { font-size: 0.7rem; padding: 4px 10px; }

  .gm-partners-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────
   26. ELEMENTSKIT NAV OVERRIDES
───────────────────────────────────────────────────────── */
.ekit-nav-menu .ekit-menu-nav-link {
  font-family: var(--gm-font-body) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--gm-body-text) !important;
  transition: color 0.2s ease;
}

.ekit-nav-menu .ekit-menu-nav-link:hover,
.ekit-nav-menu .current-menu-item > .ekit-menu-nav-link { color: var(--gm-accent) !important; }

@media (max-width: 767px) {
  .ekit-nav-menu .menu-item-nav-cta a {
    display: block !important; text-align: center !important;
    background: var(--gm-accent) !important; color: #fff !important;
    border-radius: 8px !important; margin-top: 8px !important; padding: 13px !important;
  }
}


/* ─────────────────────────────────────────────────────────
   27. UTILITIES
───────────────────────────────────────────────────────── */
.hide-mobile { display: block; }
.show-mobile { display: none;  }

@media (max-width: 767px) {
  .hide-mobile { display: none  !important; }
  .show-mobile { display: block !important; }
}


/* ─────────────────────────────────────────────────────────
   28. YOUR CUSTOM CSS — add overrides below this line
───────────────────────────────────────────────────────── */
