/*
Theme Name:   Business License Guide Child
Theme URI:    https://businesslicenseguide.com
Description:  GeneratePress child theme for BusinessLicenseGuide.com
Author:       Business License Guide
Template:     generatepress
Version:      1.0.0
*/

/* ============================================================
   BLG DESIGN TOKENS
   ============================================================ */
:root {
  --teal:        #538996;
  --teal-dark:   #3d6b77;
  --teal-deeper: #2a4f59;
  --teal-light:  #e8f3f5;
  --teal-mid:    #c2dfe5;
  --gold:        #c9913a;
  --gold-light:  #fdf3e3;
  --text:        #1a1a1a;
  --muted:       #5a6472;
  --border:      #dde3e6;
  --bg:          #ffffff;
  --bg-soft:     #f5f8f9;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(83,137,150,0.15);
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }

/* ============================================================
   GENERATEPRESS OVERRIDES — nav teal accent
   ============================================================ */
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--teal);
}

.site-header {
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ============================================================
   FULL-WIDTH PAGE UTILITY
   Any page using our custom templates gets full-width content
   ============================================================ */
.blg-page .site-main,
.blg-page .content-area,
.blg-page article.page {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.blg-page .entry-content {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.blg-page .entry-header,
.blg-page .entry-footer {
  display: none;
}

/* ============================================================
   SHARED LAYOUT
   ============================================================ */
.blg-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.blg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: all 0.18s;
  line-height: 1;
}
.blg-btn-white  { background: #fff; color: var(--teal-dark); }
.blg-btn-white:hover  { background: var(--teal-light); color: var(--teal-dark); }
.blg-btn-ghost  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.blg-btn-ghost:hover  { background: rgba(255,255,255,0.15); color: #fff; }
.blg-btn-teal   { background: var(--teal); color: #fff; }
.blg-btn-teal:hover   { background: var(--teal-dark); color: #fff; }
.blg-btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.blg-btn-outline:hover { background: var(--teal); color: #fff; }
.blg-btn-block  { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.blg-hero {
  background: linear-gradient(140deg, var(--teal-deeper) 0%, var(--teal) 55%, #6aabba 100%);
  color: #fff;
  padding: 72px 0 64px;
  overflow: hidden;
  position: relative;
}
.blg-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -60px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.blg-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.blg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #fff;
}
.blg-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 16px;
  color: #fff;
}
.blg-hero h1 em { font-style: normal; color: #a8dde8; }
.blg-hero-desc {
  font-size: 1.05rem;
  opacity: 0.88;
  line-height: 1.72;
  margin: 0 0 28px;
  max-width: 460px;
  color: #fff;
}
.blg-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.blg-hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}
.blg-hero-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.blg-hero-card p  { font-size: 0.84rem; color: var(--muted); margin: 0 0 18px; }

.blg-search-wrap { position: relative; margin-bottom: 10px; }
.blg-search-wrap input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
  color: var(--text);
  font-family: inherit;
}
.blg-search-wrap input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(83,137,150,0.1); }
.blg-search-icon {
  position: absolute; left: 11px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.blg-state-sel {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  outline: none;
  margin-bottom: 12px;
  cursor: pointer;
  background: #fff;
  color: var(--text);
  font-family: inherit;
}
.blg-state-sel:focus { border-color: var(--teal); }

.blg-search-results {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  margin-top: 4px;
}
.blg-search-results a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
  text-decoration: none !important;
}
.blg-search-results a:last-child { border-bottom: none; }
.blg-search-results a:hover { background: var(--teal-light); color: var(--teal-dark); }

/* ============================================================
   STATS BAR
   ============================================================ */
.blg-stats {
  background: var(--teal-deeper);
  padding: 24px 0;
}
.blg-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.blg-stat {
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.blg-stat:last-child { border-right: none; }
.blg-stat strong { font-size: 1.75rem; font-weight: 800; color: #fff; display: block; line-height: 1.2; }
.blg-stat span   { font-size: 0.74rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.blg-trust {
  background: var(--teal-light);
  border-top: 1px solid var(--teal-mid);
  border-bottom: 1px solid var(--teal-mid);
  padding: 18px 0;
}
.blg-trust-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.blg-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.blg-section     { padding: 72px 0; background: #fff; }
.blg-section-alt { padding: 72px 0; background: var(--bg-soft); }

.blg-section-head { margin-bottom: 44px; }
.blg-section-head.center { text-align: center; }
.blg-section-head.center .blg-sub { margin: 0 auto; }

.blg-eyebrow-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal);
  margin-bottom: 10px;
}
.blg-title {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.25;
  color: var(--text);
}
.blg-sub { color: var(--muted); font-size: 1rem; max-width: 560px; line-height: 1.7; margin: 0; }
.blg-sub a { color: var(--teal); font-weight: 600; }

/* ============================================================
   WHY GRID
   ============================================================ */
.blg-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blg-why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blg-why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blg-why-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); }
.blg-why-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.blg-why-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.blg-why-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ============================================================
   STEPS
   ============================================================ */
.blg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.blg-step  { text-align: center; }
.blg-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.blg-step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.blg-step p  { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ============================================================
   STATE CARDS
   ============================================================ */
.blg-states-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.blg-state-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  transition: all 0.18s;
  display: block;
  text-decoration: none !important;
  color: inherit;
}
.blg-state-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.blg-state-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blg-state-abbr {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: var(--teal);
  flex-shrink: 0;
}
.blg-state-name  { font-weight: 700; font-size: 0.9rem; color: var(--text); display: block; }
.blg-state-count { font-size: 0.75rem; color: var(--muted); }
.blg-city-pills  { display: flex; flex-wrap: wrap; gap: 5px; }
.blg-city-pill   { font-size: 0.74rem; color: var(--teal-dark); background: var(--teal-light); padding: 3px 9px; border-radius: 20px; }

/* ============================================================
   CITY CARDS
   ============================================================ */
.blg-cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.blg-city-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.18s;
  text-decoration: none !important;
  color: inherit;
}
.blg-city-card:hover { border-color: var(--teal); background: var(--teal-light); color: inherit; }
.blg-city-card svg { color: var(--teal); flex-shrink: 0; }
.blg-city-name  { font-size: 0.85rem; font-weight: 600; color: var(--text); display: block; }
.blg-city-state { font-size: 0.74rem; color: var(--muted); display: block; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.blg-cta {
  background: linear-gradient(135deg, var(--teal-deeper), var(--teal));
  padding: 72px 0;
  text-align: center;
  color: #fff;
}
.blg-cta h2 { font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 14px; color: #fff; }
.blg-cta p  { opacity: 0.84; font-size: 1rem; margin: 0 0 32px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; color: #fff; }
.blg-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   ABOUT BLOCK
   ============================================================ */
.blg-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.blg-about-prose h2 { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 700; margin: 0 0 14px; color: var(--text); }
.blg-about-prose p  { color: var(--muted); line-height: 1.78; margin: 0 0 14px; font-size: 0.97rem; }
.blg-trust-rows { display: flex; flex-direction: column; gap: 14px; }
.blg-trust-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px; background: var(--bg-soft);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.blg-trust-row-icon { font-size: 1.3rem; flex-shrink: 0; }
.blg-trust-row-text strong { display: block; margin-bottom: 4px; font-size: 0.9rem; color: var(--text); }
.blg-trust-row-text span   { font-size: 0.83rem; color: var(--muted); }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.blg-disclaimer {
  background: var(--gold-light);
  border-top: 3px solid var(--gold);
  padding: 18px 0;
}
.blg-disclaimer p {
  font-size: 0.8rem; color: #7a5a1e;
  text-align: center; line-height: 1.6;
  max-width: 760px; margin: 0 auto;
}
.blg-disclaimer strong { color: #5a3c0e; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.blg-page-hero {
  background: linear-gradient(135deg, var(--teal-deeper), var(--teal));
  color: #fff; padding: 56px 0 48px; text-align: center;
}
.blg-page-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; margin: 0 0 12px; color: #fff; line-height: 1.2;
}
.blg-page-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 560px; margin: 0 auto; color: rgba(255,255,255,0.9); }

/* ============================================================
   STATES PAGE CONTROLS
   ============================================================ */
.blg-controls {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.blg-controls-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.blg-search-bar-wrap { position: relative; flex: 1; min-width: 220px; max-width: 380px; }
.blg-search-bar-wrap input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.9rem; outline: none;
  transition: border-color 0.2s;
  font-family: inherit; color: var(--text); background: #fff;
}
.blg-search-bar-wrap input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(83,137,150,0.1); }
.blg-search-bar-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.blg-jump-sel {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.88rem; outline: none;
  cursor: pointer; background: #fff;
  color: var(--text); font-family: inherit;
}
.blg-jump-sel:focus { border-color: var(--teal); }
.blg-guide-count { margin-left: auto; font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

/* State sections */
.blg-state-section { margin-bottom: 44px; scroll-margin-top: 70px; }
.blg-state-section-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-light);
}
.blg-state-badge {
  background: var(--teal); color: #fff;
  font-size: 0.72rem; font-weight: 800;
  padding: 4px 9px; border-radius: 5px;
  letter-spacing: 0.04em; flex-shrink: 0;
}
.blg-state-section-head h2 {
  font-family: Georgia, serif; font-size: 1.1rem;
  font-weight: 700; color: var(--text); margin: 0;
}
.blg-city-count { font-size: 0.78rem; color: var(--muted); margin-left: auto; flex-shrink: 0; }

/* City links — flex wrap, no empty gaps */
.blg-city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.blg-city-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem; color: var(--text); font-weight: 500;
  transition: all 0.16s; text-decoration: none !important;
  white-space: nowrap;
}
.blg-city-link:hover {
  border-color: var(--teal); background: var(--teal-light);
  color: var(--teal-dark); transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.blg-city-link svg { color: var(--teal); flex-shrink: 0; opacity: 0.7; }
.blg-city-link:hover svg { opacity: 1; }

.blg-no-results { text-align: center; padding: 72px 20px; color: var(--muted); display: none; }

/* ============================================================
   PROSE PAGES (About, Privacy, Terms)
   ============================================================ */
.blg-prose-grid { display: grid; grid-template-columns: 1fr 280px; gap: 52px; align-items: start; padding: 56px 0; }
.blg-prose h2 {
  font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700;
  margin: 36px 0 12px; color: var(--text);
  padding-top: 8px; border-top: 1px solid var(--border);
}
.blg-prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.blg-prose h3 { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; margin: 24px 0 10px; color: var(--text); }
.blg-prose p, .blg-prose li { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.blg-prose ul { padding-left: 20px; margin-bottom: 14px; }
.blg-prose ul li { margin-bottom: 6px; }
.blg-prose strong { color: var(--text); }

.blg-toc {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  position: sticky; top: 80px;
}
.blg-toc h4 {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); margin-bottom: 14px;
}
.blg-toc a {
  display: block; font-size: 0.85rem; color: var(--muted);
  padding: 5px 0; border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.blg-toc a:last-child { border-bottom: none; }
.blg-toc a:hover { color: var(--teal); text-decoration: none; }

.blg-last-updated {
  background: var(--teal-light); border: 1px solid var(--teal-mid);
  border-radius: var(--radius); padding: 12px 16px;
  font-size: 0.84rem; color: var(--teal-dark); margin-bottom: 28px;
}
.blg-sidebar-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.blg-sidebar-card h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.blg-sidebar-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.blg-sidebar-item:last-child { margin-bottom: 0; }
.blg-sidebar-icon { font-size: 1.1rem; flex-shrink: 0; }

/* Contact */
.blg-contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 52px; align-items: start; padding: 56px 0; }
.blg-form-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
}
.blg-form-card h2 { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; margin: 0 0 6px; }
.blg-form-card .blg-form-sub { font-size: 0.88rem; color: var(--muted); margin: 0 0 28px; }
.blg-form-group { margin-bottom: 20px; }
.blg-form-group label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.blg-form-group input,
.blg-form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.92rem; font-family: inherit; outline: none;
  transition: border-color 0.2s; color: var(--text); background: #fff;
}
.blg-form-group input:focus,
.blg-form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(83,137,150,0.1); }
.blg-form-group textarea { resize: vertical; min-height: 130px; }
.blg-topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.blg-chip {
  padding: 6px 14px; border-radius: 20px; font-size: 0.8rem;
  font-weight: 600; background: var(--teal-light); color: var(--teal-dark);
  cursor: pointer; border: 1px solid var(--teal-mid); transition: all 0.15s;
}
.blg-chip:hover, .blg-chip.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.blg-submit-btn {
  background: var(--teal); color: #fff; border: none;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; width: 100%; transition: background 0.18s; font-family: inherit;
}
.blg-submit-btn:hover { background: var(--teal-dark); }
.blg-success-msg {
  display: none; background: var(--teal-light);
  border: 1px solid var(--teal-mid); border-radius: var(--radius);
  padding: 16px; font-size: 0.9rem; color: var(--teal-dark);
  margin-top: 16px; text-align: center;
}

/* Commitment cards */
.blg-commitment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 40px 0; }
.blg-commitment-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; border-left: 4px solid var(--teal);
}
.blg-commitment-card h4 { font-size: 0.92rem; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.blg-commitment-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ============================================================
   UTILITY
   ============================================================ */
.blg-center { text-align: center; margin-top: 28px; }
.blg-mt-8   { margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .blg-hero-inner    { grid-template-columns: 1fr; gap: 32px; }
  .blg-hero-card     { max-width: 440px; }
  .blg-why-grid      { grid-template-columns: 1fr 1fr; }
  .blg-steps         { grid-template-columns: 1fr 1fr; }
  .blg-stats-inner   { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .blg-stat          { border-right: none; padding: 8px 0; }
  .blg-states-grid   { grid-template-columns: repeat(2, 1fr); }
  .blg-cities-grid   { grid-template-columns: repeat(2, 1fr); }
  .blg-about-grid    { grid-template-columns: 1fr; gap: 36px; }
  .blg-prose-grid    { grid-template-columns: 1fr; }
  .blg-contact-grid  { grid-template-columns: 1fr; }
  .blg-toc           { position: static; margin-bottom: 32px; }
  .blg-commitment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blg-hero          { padding: 48px 0 40px; }
  .blg-why-grid      { grid-template-columns: 1fr; }
  .blg-steps         { grid-template-columns: 1fr; }
  .blg-states-grid   { grid-template-columns: 1fr 1fr; }
  .blg-cities-grid   { grid-template-columns: 1fr 1fr; }
  .blg-trust-inner   { gap: 16px; }
  .blg-section, .blg-section-alt { padding: 48px 0; }
}

/* ============================================================
   FIX 1: HIDE GENERATEPRESS WIDGET FOOTER (sidebar/widget area
   that shows Recent Posts, Categories etc.)
   ============================================================ */
.site-footer .widget-area,
.site-footer .sidebar,
.footer-widgets,
.footer-bar .widget,
.footer-bar .widget_recent_entries,
.footer-bar .widget_categories,
.footer-bar .widget_pages,
.footer-bar .widget_archive,
.footer-bar .widget_meta,
.footer-bar .widget_nav_menu,
.site-footer .footer-widget-area,
.site-footer .inside-footer-widgets,
.site-footer .widget_recent_entries,
.site-footer .widget_categories,
.site-footer ul.wp-block-latest-posts,
/* GeneratePress footer bar that contains widgets */
.footer-bar {
  display: none !important;
}

/* ============================================================
   FIX 2: HIDE DEFAULT GP FOOTER COPYRIGHT — we have our own
   ============================================================ */
.site-info,
.site-footer .site-info {
  display: none !important;
}

/* ============================================================
   FIX 3: CONTENT WIDTH & CENTERING
   Force our blg-page templates to be full-width and centered
   ============================================================ */
.blg-page .site-content,
.blg-page #content,
.blg-page .content-area,
.blg-page .entry-content,
.blg-page article,
.blg-page .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Remove GeneratePress default left/right content padding */
.blg-page .entry-content > *:not([class^="blg-"]):not([class*=" blg-"]) {
  max-width: 100%;
}

/* Ensure grid container doesn't push content off-center */
.blg-page .site-main {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* ============================================================
   FIX 4: OUR CUSTOM FOOTER — full width, properly styled
   We inject this via footer.php override. These rules make
   sure GP doesn't clip or pad it.
   ============================================================ */
.blg-footer-wrap {
  background: #2a4f59;
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
  width: 100%;
  margin: 0;
}
.blg-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.blg-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.blg-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none !important;
}
.blg-footer-logo-mark {
  width: 36px; height: 36px;
  border-radius: 7px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.82rem;
  flex-shrink: 0; font-family: system-ui, sans-serif;
  letter-spacing: -0.5px;
}
.blg-footer-logo-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: system-ui, sans-serif;
}
.blg-footer-brand p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  margin: 0;
}
.blg-footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.42);
  margin: 0 0 14px;
}
.blg-footer-col a {
  display: block;
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.85rem;
  margin-bottom: 9px;
  text-decoration: none !important;
  transition: color 0.15s;
}
.blg-footer-col a:hover { color: #fff !important; }
.blg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}
.blg-footer-bottom a {
  color: rgba(255,255,255,0.38) !important;
  text-decoration: none !important;
}
.blg-footer-bottom a:hover { color: #fff !important; }

/* ============================================================
   FIX 5: LOGO — hide the WordPress uploaded image logo,
   we override with CSS-generated BLG mark in header.
   Site title gets styled as our logo.
   ============================================================ */
.site-header .site-logo img,
.site-header .custom-logo,
.site-header .custom-logo-link img {
  display: none !important;
}

/* Style the site title as our teal BLG badge + text */
.site-header .site-title {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.site-header .site-title a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #2a4f59 !important;
  text-decoration: none !important;
  font-weight: 700;
}
.site-header .site-title a:hover { color: #538996 !important; }

/* Inject BLG badge before the site title text via pseudo-element */
.site-header .site-title a::before {
  content: 'BLG';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #538996;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Hide site tagline */
.site-header .site-description { display: none !important; }

/* Nav color accent */
.main-navigation .current-menu-item > a,
.main-navigation a:focus,
.main-navigation a:hover {
  color: #538996 !important;
}

@media (max-width: 900px) {
  .blg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .blg-footer-grid { grid-template-columns: 1fr; }
  .blg-footer-bottom { flex-direction: column; text-align: center; }
}

/* GP wraps our generate_footer output in .site-footer — strip its defaults */
.site-footer {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Hide the stray widget footer that sometimes appears below */
.site-footer > .footer-bar,
.site-footer > .inside-footer-widgets,
.site-footer .widget-area {
  display: none !important;
}
