/*
Theme Name: Golden Solutions
Theme URI: https://goldensoulutions.com
Description: Custom theme for Golden Solutions Insurance Agency
Author: David Vaughn
Version: 1.2
Template: twentytwentyfour
Text Domain: golden-solutions
*/

/* ============================================================
   GOLDEN SOLUTIONS INSURANCE — CORE DESIGN SYSTEM
   Version: 1.2

   COLOR SYSTEM
   --gs-blue:        #008CD1  (Blue — primary color)
   --gs-blue-dark:   #0070A8  (Darker Blue — hover states)
   --gs-blue-light:  #E5F4FB  (Light Blue tint)
   --gs-gold:        #CEB456  (Gold — accents, badges, dividers)
   --gs-gold-dark:   #B09A3E  (Dark Gold — hover)
   --gs-gold-tint:   #F8F4E8  (Warm Gold Tint — card backgrounds)
   --gs-bg:          #F0F2F5  (Cool Light Gray — page background)
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & RESET
   ============================================================ */

:root {
  --gs-blue:        #008CD1;
  --gs-blue-dark:   #0070A8;
  --gs-blue-light:  #E5F4FB;
  --gs-navy:        #008CD1;
  --gs-navy-dark:   #0070A8;
  --gs-navy-light:  #E5F4FB;
  --gs-gold:        #CEB456;
  --gs-gold-dark:   #B09A3E;
  --gs-gold-tint:   #F8F4E8;
  --gs-bg:          #F0F2F5;
  --gs-white:       #FFFFFF;
  --gs-gray-100:    #F5F5F5;
  --gs-gray-200:    #E0E0E0;
  --gs-gray-400:    #AAAAAA;
  --gs-gray-600:    #666666;
  --gs-success:     #2E7D32;
  --gs-warning:     #F0A500;
  --gs-danger:      #C62828;
  --gs-radius:      8px;
  --gs-radius-lg:   12px;
  --gs-shadow:      0 4px 20px rgba(0,0,0,0.10);
  --gs-shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --gs-transition:  all 0.2s ease;
  --gs-font:        'Arial', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--gs-font);
  background: var(--gs-bg);
  color: var(--gs-navy);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--gs-navy); text-decoration: none; transition: var(--gs-transition); }
a:hover { color: var(--gs-navy-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }


/* ============================================================
   2. KILL WHITE GAP — NUCLEAR OPTION
   ============================================================ */

.wp-site-blocks { padding-block-start: 0 !important; padding-top: 0 !important; margin-top: 0 !important; }
.wp-block-post-content { padding-top: 0 !important; margin-top: 0 !important; }
.wp-block-post-content > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.entry-content { padding: 0 !important; margin-top: 0 !important; }
.entry-content > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
main { padding-top: 0 !important; margin-top: 0 !important; }
main > *:first-child { margin-top: 0 !important; }
.wp-block-group { margin-top: 0 !important; }
.singular .wp-block-post-content { padding-top: 0 !important; }
.has-global-padding { padding-top: 0 !important; }


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 { font-family: var(--gs-font); color: var(--gs-navy); line-height: 1.3; margin: 0 0 16px 0; }
h1 { font-size: 2rem;   font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: 1rem;   font-weight: 700; }
h6 { font-size: 0.9rem; font-weight: 700; }
p  { margin: 0 0 16px 0; color: var(--gs-navy); }

.gs-text-navy    { color: var(--gs-navy) !important; }
.gs-text-gold    { color: var(--gs-gold) !important; }
.gs-text-muted   { color: var(--gs-gray-600) !important; }
.gs-text-white   { color: var(--gs-white) !important; }
.gs-text-success { color: var(--gs-success) !important; }
.gs-text-danger  { color: var(--gs-danger) !important; }
.gs-text-sm      { font-size: 12px; }
.gs-text-md      { font-size: 14px; }
.gs-text-lg      { font-size: 18px; }
.gs-text-xl      { font-size: 22px; }
.gs-bold         { font-weight: 700; }
.gs-uppercase    { text-transform: uppercase; letter-spacing: 0.8px; }


/* ============================================================
   4. LAYOUT
   ============================================================ */

.gs-container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gs-container-sm { max-width: 800px;  margin: 0 auto; padding: 0 24px; }
.gs-section      { padding: 60px 0; }
.gs-section-sm   { padding: 32px 0; }

.gs-page-header { background: var(--gs-navy); padding: 40px 0; margin-bottom: 40px; }
.gs-page-header h1, .gs-page-header h2 { color: var(--gs-white); margin: 0; }
.gs-page-header p { color: rgba(255,255,255,0.75); margin: 6px 0 0; }

.gs-grid   { display: grid; gap: 24px; }
.gs-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gs-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gs-grid-4 { grid-template-columns: repeat(4, 1fr); }

.gs-flex         { display: flex; gap: 16px; }
.gs-flex-center  { display: flex; align-items: center; gap: 12px; }
.gs-flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gs-spacer       { margin-bottom: 24px; }
.gs-spacer-lg    { margin-bottom: 48px; }


/* ============================================================
   5. CARDS
   ============================================================ */

.gs-card { background: linear-gradient(160deg, #ffffff 0%, var(--gs-gold-tint) 100%); border: 2px solid var(--gs-navy); border-radius: var(--gs-radius-lg); box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04); overflow: hidden; transition: var(--gs-transition); transform: translateY(-2px); }
.gs-card:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.10), 0 20px 40px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.04); transform: translateY(-6px); }
.gs-card-header { background: var(--gs-navy); padding: 16px 22px; }
.gs-card-header h3, .gs-card-header h4 { color: var(--gs-white); font-weight: bold; margin: 0; font-size: 17px; }
.gs-card-header p { color: rgba(255,255,255,0.72); font-size: 12px; margin: 4px 0 0; }
.gs-card-body   { padding: 20px 22px; background: var(--gs-gold-tint); }
.gs-card-footer { padding: 12px 22px 18px; background: var(--gs-gold-tint); border-top: 1px solid rgba(0,140,209,0.12); display: flex; gap: 10px; }
.gs-card-white  { background: var(--gs-white); border: 1px solid var(--gs-gray-200); }
.gs-card-white .gs-card-body, .gs-card-white .gs-card-footer { background: var(--gs-white); }
.gs-card-flat   { box-shadow: none; border: 1px solid var(--gs-gray-200); }

.gs-field          { margin-bottom: 14px; }
.gs-field-label    { font-size: 10px; font-weight: bold; color: var(--gs-navy); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; }
.gs-field-value    { font-size: 14px; color: var(--gs-navy); font-weight: 700; }
.gs-field-value.normal { font-weight: normal; }
.gs-field-divider  { border: none; border-top: 1px solid var(--gs-gold); margin: 14px 0; opacity: 0.45; }


/* ============================================================
   6. BADGES & STATUS INDICATORS
   ============================================================ */

.gs-badge { display: inline-block; font-size: 11px; font-weight: bold; padding: 4px 11px; border-radius: 20px; letter-spacing: 0.4px; white-space: nowrap; }
.gs-badge-active     { background: var(--gs-gold);    color: #1a1a1a; }
.gs-badge-lead       { background: var(--gs-warning);  color: #1a1a1a; }
.gs-badge-incomplete { background: var(--gs-gray-200); color: var(--gs-gray-600); }
.gs-badge-navy       { background: var(--gs-navy);     color: var(--gs-white); }
.gs-badge-success    { background: var(--gs-success);  color: var(--gs-white); }
.gs-badge-danger     { background: var(--gs-danger);   color: var(--gs-white); }

.gs-status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: bold; }
.gs-status-dot::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.gs-status-dot.available::before { background: var(--gs-success); }
.gs-status-dot.available { color: var(--gs-success); }
.gs-status-dot.busy::before { background: var(--gs-danger); }
.gs-status-dot.busy { color: var(--gs-danger); }
.gs-status-dot.away::before { background: var(--gs-warning); }
.gs-status-dot.away { color: var(--gs-warning); }


/* ============================================================
   7. BUTTONS
   ============================================================ */

.gs-btn { display: inline-block; padding: 10px 22px; border-radius: var(--gs-radius); font-size: 14px; font-weight: bold; font-family: var(--gs-font); cursor: pointer; border: 2px solid transparent; transition: var(--gs-transition); text-align: center; text-decoration: none; white-space: nowrap; }

.gs-btn-primary       { background: var(--gs-navy);      color: var(--gs-white);  border-color: var(--gs-navy); }
.gs-btn-primary:hover { background: var(--gs-navy-dark);  border-color: var(--gs-navy-dark); color: var(--gs-white); text-decoration: none; }
.gs-btn-outline       { background: transparent; color: var(--gs-navy);  border-color: var(--gs-navy); }
.gs-btn-outline:hover { background: var(--gs-navy); color: var(--gs-white); text-decoration: none; }
.gs-btn-gold          { background: var(--gs-gold);       color: #1a1a1a; border-color: var(--gs-gold); }
.gs-btn-gold:hover    { background: var(--gs-gold-dark);  border-color: var(--gs-gold-dark); text-decoration: none; }
.gs-btn-ghost         { background: transparent; color: var(--gs-navy); border-color: var(--gs-gray-200); }
.gs-btn-ghost:hover   { background: var(--gs-gray-100); text-decoration: none; }
.gs-btn-danger        { background: var(--gs-danger); color: var(--gs-white); border-color: var(--gs-danger); }
.gs-btn-sm   { padding: 6px 14px;  font-size: 12px; }
.gs-btn-lg   { padding: 14px 32px; font-size: 16px; }
.gs-btn-full { display: block; width: 100%; }
.gs-btn:disabled { opacity: 0.5; cursor: not-allowed; }


/* ============================================================
   8. TABLES
   ============================================================ */

.gs-table-wrap { overflow-x: auto; border-radius: var(--gs-radius-lg); box-shadow: var(--gs-shadow); border: 2px solid var(--gs-navy); }
.gs-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--gs-gold-tint); }
.gs-table thead tr { background: var(--gs-navy); }
.gs-table thead th { color: var(--gs-white); font-weight: bold; text-align: left; padding: 13px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; white-space: nowrap; }
.gs-table tbody tr { border-bottom: 1px solid rgba(206,180,86,0.3); transition: background 0.15s ease; }
.gs-table tbody tr:last-child { border-bottom: none; }
.gs-table tbody tr:nth-child(even) { background: rgba(206,180,86,0.06); }
.gs-table tbody tr:hover { background: var(--gs-navy-light); cursor: pointer; }
.gs-table tbody td { padding: 12px 18px; color: var(--gs-navy); vertical-align: middle; }
.gs-table tfoot tr { background: var(--gs-gray-100); border-top: 2px solid var(--gs-gold); }
.gs-table tfoot td { padding: 10px 18px; font-weight: bold; font-size: 13px; }


/* ============================================================
   9. FORMS
   ============================================================ */

.gs-form-group { margin-bottom: 20px; }
.gs-label { display: block; font-size: 12px; font-weight: bold; color: var(--gs-navy); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 6px; }

.gs-input, .gs-select, .gs-textarea {
  width: 100%; padding: 10px 14px; border: 2px solid var(--gs-gray-200);
  border-radius: var(--gs-radius); font-size: 14px; font-family: var(--gs-font);
  color: var(--gs-navy); background: var(--gs-white); transition: var(--gs-transition); outline: none;
}

.gs-input:focus, .gs-select:focus, .gs-textarea:focus { border-color: var(--gs-navy); box-shadow: 0 0 0 3px rgba(0,140,209,0.12); }
.gs-textarea    { min-height: 100px; resize: vertical; }
.gs-input-error { border-color: var(--gs-danger) !important; }
.gs-error-msg   { font-size: 12px; color: var(--gs-danger); margin-top: 4px; }
.gs-help-text   { font-size: 12px; color: var(--gs-gray-600); margin-top: 4px; }


/* ============================================================
   10. BACKEND SIDEBAR
   ============================================================ */

.gs-sidebar { width: 240px; min-height: 100vh; background: var(--gs-navy); position: fixed; top: 0; left: 0; z-index: 100; }
.gs-sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.gs-sidebar-logo .gs-site-name    { color: var(--gs-white); font-size: 16px; font-weight: bold; margin: 0; }
.gs-sidebar-logo .gs-site-tagline { color: var(--gs-gold);  font-size: 11px; margin: 2px 0 0; }
.gs-nav-section       { padding: 16px 0 8px; }
.gs-nav-section-label { font-size: 10px; font-weight: bold; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1.2px; padding: 0 20px; margin-bottom: 6px; }
.gs-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--gs-transition); text-decoration: none; border-left: 3px solid transparent; }
.gs-nav-item:hover  { background: rgba(255,255,255,0.07); color: var(--gs-white); text-decoration: none; }
.gs-nav-item.active { background: rgba(0,140,209,0.4); color: var(--gs-white); border-left-color: var(--gs-gold); }
.gs-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.gs-topbar { height: 60px; background: var(--gs-white); border-bottom: 2px solid var(--gs-gold); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 90; box-shadow: var(--gs-shadow-sm); }
.gs-topbar-title { font-size: 18px; font-weight: bold; color: var(--gs-navy); }
.gs-main-content { margin-left: 240px; padding: 32px; min-height: 100vh; }


/* ============================================================
   11. NOTES / ACTIVITY LOG
   ============================================================ */

.gs-notes-log { display: flex; flex-direction: column; gap: 14px; }
.gs-note { background: var(--gs-white); border: 1px solid var(--gs-gray-200); border-left: 4px solid var(--gs-navy); border-radius: var(--gs-radius); padding: 14px 16px; }
.gs-note-meta   { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.gs-note-author { font-size: 12px; font-weight: bold; color: var(--gs-navy); text-transform: uppercase; letter-spacing: 0.5px; }
.gs-note-time   { font-size: 11px; color: var(--gs-gray-400); }
.gs-note-body   { font-size: 14px; color: var(--gs-navy); line-height: 1.5; }


/* ============================================================
   12. ALERTS
   ============================================================ */

.gs-alert { padding: 14px 18px; border-radius: var(--gs-radius); font-size: 14px; margin-bottom: 16px; border-left: 4px solid; display: flex; align-items: flex-start; gap: 10px; }
.gs-alert-info    { background: var(--gs-navy-light); border-color: var(--gs-navy);    color: var(--gs-navy); }
.gs-alert-success { background: #E8F5E9; border-color: var(--gs-success); color: #1B5E20; }
.gs-alert-warning { background: #FFF8E1; border-color: var(--gs-warning); color: #6B4E00; }
.gs-alert-danger  { background: #FFEBEE; border-color: var(--gs-danger);  color: #7F0000; }

.gs-birthday-card   { background: var(--gs-gold-tint); border: 2px solid var(--gs-gold); border-radius: var(--gs-radius); padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.gs-birthday-icon   { font-size: 28px; }
.gs-birthday-name   { font-weight: bold; color: var(--gs-navy); font-size: 15px; }
.gs-birthday-detail { font-size: 12px; color: var(--gs-gray-600); }


/* ============================================================
   13. AGENT CARDS
   ============================================================ */

.gs-agent-card { background: linear-gradient(160deg, #ffffff 0%, var(--gs-gold-tint) 100%); border: 2px solid var(--gs-navy); border-radius: var(--gs-radius-lg); box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04); padding: 24px; text-align: center; transition: var(--gs-transition); transform: translateY(-2px); }
.gs-agent-card:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.10), 0 20px 40px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.04); transform: translateY(-6px); }
.gs-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gs-gold); margin: 0 auto 14px; display: block; }
.gs-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--gs-navy); color: var(--gs-white); font-size: 28px; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; border: 3px solid var(--gs-gold); }
.gs-agent-name  { font-size: 17px; font-weight: bold; color: var(--gs-navy); margin: 0 0 4px; }
.gs-agent-title { font-size: 12px; color: var(--gs-navy); font-weight: bold; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 12px; }


/* ============================================================
   14. STAT WIDGETS
   ============================================================ */

.gs-stat-card { background: var(--gs-white); border: 1px solid var(--gs-gray-200); border-top: 4px solid var(--gs-navy); border-radius: var(--gs-radius); padding: 20px 22px; box-shadow: var(--gs-shadow-sm); }
.gs-stat-label { font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gs-gray-600); margin-bottom: 6px; }
.gs-stat-value { font-size: 36px; font-weight: 800; color: var(--gs-navy); line-height: 1; margin-bottom: 4px; }
.gs-stat-sub   { font-size: 12px; color: var(--gs-gray-600); }
.gs-stat-card.gold    { border-top-color: var(--gs-gold); }
.gs-stat-card.success { border-top-color: var(--gs-success); }
.gs-stat-card.warning { border-top-color: var(--gs-warning); }


/* ============================================================
   15. MODAL
   ============================================================ */

.gs-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gs-modal { background: var(--gs-white); border-radius: var(--gs-radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.25); width: 100%; max-width: 520px; overflow: hidden; }
.gs-modal-header { background: var(--gs-navy); padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; }
.gs-modal-header h3 { color: var(--gs-white); margin: 0; font-size: 17px; }
.gs-modal-close { color: rgba(255,255,255,0.7); font-size: 20px; cursor: pointer; background: none; border: none; line-height: 1; }
.gs-modal-close:hover { color: var(--gs-white); }
.gs-modal-body   { padding: 24px 22px; }
.gs-modal-footer { padding: 14px 22px 20px; border-top: 1px solid var(--gs-gray-200); display: flex; justify-content: flex-end; gap: 10px; }


/* ============================================================
   16. WORDPRESS HEADER OVERRIDE — GOLD BAR
   ============================================================ */

header.wp-block-template-part,
.wp-site-blocks header,
body > header {
  background: #F8F4E8 !important;
  padding: 4px 24px !important;
  min-height: unset !important;
  line-height: 1 !important;
}

.wp-block-site-title a,
.wp-block-site-title {
  color: #008CD1 !important;
  font-weight: 800 !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item a {
  background: #008CD1 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 9px 18px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  margin: 0 3px !important;
  display: inline-block !important;
}

.wp-block-navigation a:hover {
  background: #0070A8 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}


/* ============================================================
   17. FOOTER LEGAL STYLES
   ============================================================ */

.gs-site-footer { background: var(--gs-navy); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.gs-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.gs-footer-brand .gs-logo-name    { color: var(--gs-white); font-size: 18px; font-weight: 800; display: block; margin-bottom: 4px; }
.gs-footer-brand .gs-logo-tagline { color: var(--gs-gold);  font-size: 12px; display: block; margin-bottom: 16px; }
.gs-footer-brand p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.6; }
.gs-footer-heading { color: var(--gs-white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.gs-footer-links   { list-style: none; margin: 0; padding: 0; }
.gs-footer-links li { margin-bottom: 8px; }
.gs-footer-links a  { color: rgba(255,255,255,0.6); font-size: 13px; }
.gs-footer-links a:hover { color: var(--gs-gold); text-decoration: none; }

.gs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.gs-footer-bottom a { color: rgba(255,255,255,0.4); }
.gs-footer-bottom a:hover { color: var(--gs-gold); }

.gs-footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 16px;
  padding-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  text-align: center;
}


/* ============================================================
   18. HERO
   ============================================================ */

.gs-hero { position: relative; overflow: hidden; min-height: 520px; padding: 0; }
.gs-hero h1 { color: var(--gs-white); font-size: 2.6rem; margin-bottom: 20px; }
.gs-hero p  { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 560px; margin-bottom: 32px; }
.gs-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }


/* ============================================================
   19. RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .gs-grid-4, .gs-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gs-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .gs-sidebar { display: none; }
  .gs-main-content { margin-left: 0; padding: 20px; }
  .gs-grid-2, .gs-grid-3, .gs-grid-4 { grid-template-columns: 1fr; }
  .gs-flex, .gs-flex-between { flex-direction: column; align-items: flex-start; }
  .gs-container { padding: 0 16px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .wp-block-navigation { display: none !important; }
  .gs-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gs-footer-bottom { flex-direction: column; text-align: center; }
  .gs-hero h1 { font-size: 1.8rem; }
  .gs-hero { min-height: 400px; }
}

@media (max-width: 480px) {
  .gs-card-footer { flex-direction: column; }
  .gs-btn-full { width: 100%; }
  .gs-stat-value { font-size: 28px; }
  .gs-hero-btns { flex-direction: column; }
}


/* ============================================================
   20. BUG FIXES
   ============================================================ */

/* Kill empty paragraph tags WordPress inserts */
p:empty,
div p:empty,
section p:empty,
.gs-container p:empty,
.entry-content p:empty,
.wp-block-post-content p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Kill br tags at section edges */
.gs-container br,
.entry-content br:first-child,
.entry-content br:last-child {
  display: none !important;
  height: 0 !important;
}

/* Body background — page color, NOT blue */
body {
  background-color: #F0F2F5 !important;
}

/* Section margin reset */
.entry-content section,
.wp-block-post-content section {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  border-top: none !important;
  outline: none !important;
}

/* Preserve intentional gold bottom borders on sections */
.entry-content section[style*="border-bottom"],
.wp-block-post-content section[style*="border-bottom"] {
  border-bottom: inherit;
}

/* Agent cards equal height */
.agent-card-outer {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.agent-card-body {
  flex: 1;
  overflow-y: auto;
  min-height: 80px;
  max-height: 120px;
  padding-bottom: 16px !important;
}

/* ============================================================
   21. GS-MAIN PAGE WRAPPER
   ============================================================ */

.gs-main {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
footer {
  padding-top: 20px;
}