
/* ============================================
   GODDARD REAL ESTATE - LOCAL EXPERT DESIGN
   Colors: Navy #1a2332 | Blue #2563eb | Emerald #10b981
   Fonts: DM Sans (headings) | Inter (body)
   ============================================ */

:root {
  --color-navy: #1a2332;
  --color-blue: #2563eb;
  --color-emerald: #10b981;
  --color-white: #ffffff;
  --color-light: #f8fafc;
  --color-gray: #64748b;
  --color-text: #1e293b;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: 0.2s ease;
}

/* Base */
body { font-family: var(--font-body); color: var(--color-text); background: #fff; margin: 0; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; color: var(--color-navy); line-height: 1.15; }
a { color: var(--color-blue); text-decoration: none; }
a:hover { color: var(--color-navy); }
img { max-width: 100%; height: auto; }

/* ============ ASTRA HEADER OVERRIDES ============ */
/* Astra logo area */
.site-logo-img {
  max-width: 280px !important;
  height: auto !important;
}
.custom-logo {
  max-width: 280px !important;
  height: auto !important;
  display: block;
}

.site-header,
.ast-primary-header-bar {
  background: var(--color-navy) !important;
  padding: 0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.main-header-bar {
  background: var(--color-navy) !important;
  padding: 12px 0 !important;
}
/* Logo */
.custom-logo-link img,
.site-logo img,
.ast-site-identity img {
  height: auto !important;
  max-height: 80px !important;
  width: auto !important;
  max-width: 280px !important;
  image-rendering: -webkit-optimize-contrast;
}
/* Nav links */
.main-header-menu .menu-link,
.main-navigation .menu-link,
#site-navigation a {
  color: rgba(255,255,255,0.88) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  padding: 8px 14px !important;
  transition: color var(--transition);
}
.main-header-menu .menu-link:hover,
#site-navigation a:hover {
  color: var(--color-blue) !important;
}
/* Site title if no logo */
.site-title a { color: #fff !important; font-family: var(--font-heading) !important; font-size: 22px !important; font-weight: 700 !important; }
/* Site title if no logo - color now set in tagline section below */

/* ============ HERO SECTION ============ */
.gd-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-navy);
  /* Break out of Astra's .ast-container and [data-ast-blocks-layout] constraints */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}
.gd-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}
.gd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,35,50,0.82) 0%, rgba(37,99,235,0.38) 100%);
}
.gd-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 780px;
  padding: 48px 24px;
}
.gd-hero-badge {
  display: inline-block;
  background: var(--color-emerald);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.gd-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.1;
}
.gd-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 36px;
  line-height: 1.7;
}
.gd-hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--color-blue);
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============ SEARCH BAR ============ */
.gd-search-bar {
  background: #fff;
  border-radius: 12px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 580px;
  margin: 28px auto 0;
  box-shadow: var(--shadow-lg);
}
.gd-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: transparent;
}
.gd-search-bar input::placeholder { color: var(--color-gray); }
.gd-search-bar button {
  background: var(--color-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.gd-search-bar button:hover { background: #1d4ed8; }

/* ============ TRUST BAR ============ */
.gd-trust-bar {
  background: var(--color-blue);
  padding: 18px 0;
}
.gd-trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.gd-trust-item {
  text-align: center;
  color: #fff;
}
.gd-trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.gd-trust-item span {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============ SECTIONS SHARED ============ */
.gd-section {
  padding: 80px 0;
}
.gd-section-light { background: var(--color-light); }
.gd-section-navy { background: var(--color-navy); }
.gd-container {
  max-width: 1100px;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 24px;
  box-sizing: border-box;
}
.gd-section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 10px;
  display: block;
}
.gd-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 12px;
  line-height: 1.2;
}
.gd-section-navy .gd-section-title { color: #fff; }
.gd-section-subtitle {
  font-size: 1rem;
  color: var(--color-gray);
  margin: 0 0 48px;
  line-height: 1.7;
}
.gd-section-navy .gd-section-subtitle { color: rgba(255,255,255,0.7); }

/* ============ MARKET STATS ============ */
.gd-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.gd-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--color-blue);
  text-align: center;
  transition: transform var(--transition);
}
.gd-stat-card:hover { transform: translateY(-3px); }
.gd-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 6px;
}
.gd-stat-change {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}
.gd-stat-change.up { background: #dcfce7; color: #16a34a; }
.gd-stat-change.down { background: #fee2e2; color: #dc2626; }
.gd-stat-label {
  font-size: 13px;
  color: var(--color-gray);
  font-weight: 500;
}

/* ============ NEIGHBORHOOD CARDS ============ */
.gd-neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.gd-neighborhood-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gd-neighborhood-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gd-neighborhood-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
}
.gd-neighborhood-card-body { padding: 20px; }
.gd-neighborhood-card-body h3 { font-size: 1.1rem; margin: 0 0 6px; color: var(--color-navy); }
.gd-neighborhood-card-body p { font-size: 13px; color: var(--color-gray); margin: 0 0 14px; line-height: 1.6; }
.gd-neighborhood-card-body a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gd-neighborhood-card-body a::after { content: ' →'; }

/* ============ AGENT CARD ============ */
.gd-agent-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.gd-agent-photo {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  height: 360px;
  max-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.gd-agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.gd-agent-info h2 { margin-bottom: 8px; }
.gd-agent-title { color: var(--color-blue); font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.gd-agent-bio { color: var(--color-gray); line-height: 1.8; margin-bottom: 24px; }
.gd-agent-awards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.gd-award-badge {
  background: var(--color-light);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-navy);
}

/* ============ LEAD FORM ============ */
.gd-lead-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e3a5f 100%);
  padding: 80px 0;
}
.gd-lead-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.gd-lead-inner h2 { color: #fff; margin-bottom: 8px; }
.gd-lead-inner p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.gd-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gd-form input, .gd-form select, .gd-form textarea {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  box-sizing: border-box;
}
.gd-form input::placeholder, .gd-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.gd-form input:focus, .gd-form textarea:focus { border-color: var(--color-blue); }
.gd-form button {
  background: var(--color-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition);
}
.gd-form button:hover { background: #1d4ed8; }
.gd-form-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 8px; }

/* ============ FOOTER OVERRIDES ============ */
.site-footer, footer.site-footer {
  background: var(--color-navy) !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 40px 0 20px !important;
  font-family: var(--font-body) !important;
  font-size: 13px;
}
.site-footer a { color: rgba(255,255,255,0.75) !important; }
.site-footer a:hover { color: #fff !important; }
.ast-small-footer { border-top: 1px solid rgba(255,255,255,0.12) !important; }
.ast-footer-copyright { color: rgba(255,255,255,0.6) !important; }

/* ============ ASTRA MISC OVERRIDES ============ */
.ast-container { max-width: 1200px !important; }
/* Remove default Astra page header on front page */
.ast-page-title-bar { display: none !important; }
/* Remove entry header on front page */
.front-page .entry-header { display: none !important; }
.home .entry-header { display: none !important; }
/* Remove default padding on front page */
.home .site-content { padding: 0 !important; }
.home .entry-content { margin: 0 !important; }
.home .ast-article-single { padding: 0 !important; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .gd-hero { min-height: 70vh; }
  .gd-trust-bar-inner { gap: 28px; }
  .gd-agent-section { grid-template-columns: 1fr; gap: 32px; }
  .gd-agent-photo { min-height: 260px; }
  .gd-section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .gd-search-bar { flex-direction: column; padding: 12px; }
  .gd-search-bar input { width: 100%; }
  .gd-search-bar button { width: 100%; }
}

/* ============ COMPLIANCE FOOTER ============ */
.gd-compliance-footer {
  background: #0f1824;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gd-compliance-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  line-height: 1.7;
}
.gd-compliance-inner p { margin: 0 0 8px; }
.gd-compliance-inner strong { color: rgba(255,255,255,0.7); }
.gd-compliance-logos { margin-bottom: 16px; }

/* ============ FRONT PAGE FULL-WIDTH BREAKOUT ============ */
/* Kill Astra's content container padding on front page */
.home .site-content,
.home .ast-container,
.home .content-area,
.home .site-primary,
.home .entry-content,
.home .ast-article-single,
.home article.page {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
/* Kill inner padding that Astra adds */
.home .entry-content > * {
  margin: 0 !important;
}
/* Make sure the wp:html block itself is full width */
.home .wp-block-html {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* ============ HEADER ALIGNMENT FIX ============ */
/* Astra main header bar — remove default side padding, use same full-width as content */
.main-header-bar .ast-container,
.ast-primary-header-bar .ast-container,
#masthead .ast-container {
  max-width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

/* ============ LOGO STACKED ABOVE SITE TITLE ============ */
/* Stack logo image above the text branding */
.ast-site-identity {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}
.custom-logo-link {
  display: block !important;
}
.custom-logo-link img,
.site-logo img,
.ast-site-identity img,
.custom-logo {
  height: auto !important;
  max-height: 64px !important;
  width: auto !important;
  max-width: 240px !important;
  display: block !important;
  image-rendering: -webkit-optimize-contrast;
}
/* Site title as smaller text below logo */
.site-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}
.site-title a {
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  font-weight: 400 !important;
  font-family: var(--font-body) !important;
}
/* Nav: vertically center in header */
.main-header-bar .main-navigation,
.main-header-bar .ast-flex {
  align-items: center !important;
}

/* Break trust bar and other full-width sections out of Astra layout too */
.gd-trust-bar,
.gd-lead-section,
.gd-compliance-footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

/* Override Astra's blocks-layout max-width on our custom divs */
[data-ast-blocks-layout] .gd-hero,
[data-ast-blocks-layout] .gd-trust-bar,
[data-ast-blocks-layout] .gd-lead-section,
[data-ast-blocks-layout] .gd-compliance-footer {
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Also override the primary container top margin Astra adds */
@media (min-width:1200px) {
  .home.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
.home #primary,
.home .site-main,
.home .entry-content {
  padding: 0 !important;
  margin-top: 0 !important;
}

/* (centering now handled by .gd-container rule above) */

/* === Wide-screen centering fix ===
   Astra's #primary gets left-aligned inside .ast-container on wide screens.
   Make the full wrapper chain width:100% so .gd-container centers within viewport. */
.home .ast-container,
.home #primary.content-area,
.home .site-main,
.home .ast-article-single,
.home .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}


/* ============================================================
   CENTERING MASTER FIX — Apr 23 2026
   Problem: on wide screens, Astra's #primary is left-aligned
   inside .ast-container. The entire content block shifts left.
   Solution: force full-width on wrapper chain, then use
   .gd-container with margin:auto to center content.
   ============================================================ */

/* 1. Make Astra's wrapper chain full-width on home page */
.home .ast-container,
.home #primary.content-area,
.home .site-main,
.home .ast-article-single,
.home .entry-content,
.home .entry-content > section,
.home .entry-content > div {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
}

/* 2. Center the content container within full-width viewport */
.gd-container {
  max-width: 1100px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* 3. Center-align all section text */
.gd-section-label,
.gd-section-title,
.gd-section-subtitle {
  text-align: center !important;
  display: block !important;
}

/* 4. Center agent section text */
.gd-agent-info h2,
.gd-agent-info p,
.gd-agent-info .gd-agent-meta,
.gd-agent-cta {
  text-align: center !important;
}


/* ============================================================
   CENTERING MASTER FIX v2 — Apr 23 2026
   Root cause: Astra's [data-ast-blocks-layout] > * rule sets
   max-width: var(--wp--custom--ast-content-width-size) on all
   direct children of .entry-content. Our <section> elements
   hit this cap and sit left when viewport > cap width.
   Fix: override the CSS variable + force our sections full-width,
   then center content inside .gd-container.
   ============================================================ */

/* Override Astra's content width variable at root */
:root,
.home {
  --wp--custom--ast-content-width-size: 100% !important;
  --wp--custom--ast-wide-width-size: 100% !important;
  --ast-normal-container-width: 100% !important;
}

/* Force our custom sections to be truly full-width */
.entry-content[data-ast-blocks-layout] > .gd-hero,
.entry-content[data-ast-blocks-layout] > .gd-trust-bar,
.entry-content[data-ast-blocks-layout] > section,
.entry-content[data-ast-blocks-layout] > div.gd-lead-section,
.entry-content[data-ast-blocks-layout] > div.gd-compliance-footer {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Center the inner container within those full-width sections */
.gd-container {
  max-width: 1100px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* Center section headings */
.gd-section-label,
.gd-section-title,
.gd-section-subtitle {
  text-align: center !important;
}

/* ===== Trust Bar (canonical) ===== */
.gd-trust-bar {
  background: rgba(0,0,0,0.35);
  padding: 16px 0;
  width: 100%;
}
.gd-trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 44px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.gd-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  gap: 2px;
}
.gd-trust-item strong {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.gd-trust-item span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
}
.gd-trust-item--logo img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: none;
}

/* ===== HubSpot Form Overrides ===== */
.gd-hubspot-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
/* Inputs */
.gd-hubspot-form .hs-form-field input[type=text],
.gd-hubspot-form .hs-form-field input[type=email],
.gd-hubspot-form .hs-form-field input[type=tel],
.gd-hubspot-form .hs-form-field input[type=number],
.gd-hubspot-form .hs-form-field select,
.gd-hubspot-form .hs-form-field textarea,
.hs-form-frame input,
.hs-form-frame select,
.hs-form-frame textarea {
  width: 100% !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  font-family: var(--font-body) !important;
  box-sizing: border-box !important;
  margin-bottom: 12px !important;
}
.hs-form-frame input::placeholder,
.hs-form-frame select::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
.hs-form-frame select option {
  background: var(--color-navy) !important;
  color: #fff !important;
}
/* Labels */
.hs-form-frame label,
.gd-hubspot-form label {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 4px !important;
  display: block !important;
}
/* Submit button */
.hs-form-frame input[type=submit],
.hs-form-frame .hs-button,
.gd-hubspot-form input[type=submit],
.gd-hubspot-form .hs-button {
  width: 100% !important;
  background: var(--color-emerald) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  transition: background 0.2s ease !important;
}
.hs-form-frame input[type=submit]:hover,
.hs-form-frame .hs-button:hover {
  background: #059669 !important;
}
/* Error messages */
.hs-form-frame .hs-error-msg,
.hs-form-frame .hs-error-msgs label {
  color: #fca5a5 !important;
  font-size: 0.75rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
/* Remove HubSpot branding if present */
.hs-form-frame .hs-richtext p a[href*="hubspot"] {
  display: none !important;
}

/* ===== Trust bar logo size lock (must stay at end) ===== */
div.gd-trust-bar div.gd-trust-item--logo img,
div.gd-trust-bar-inner div.gd-trust-item--logo img {
  height: 48px !important;
  width: auto !important;
  max-width: 140px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}

/* ===== Trust bar logo nuclear lock ===== */
body .gd-trust-bar .gd-trust-bar-inner .gd-trust-item.gd-trust-item--logo img {
  height: 48px !important;
  width: auto !important;
  max-height: 48px !important;
  max-width: 140px !important;
  min-height: unset !important;
  min-width: unset !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}



/* ===== Lead section — tighter width ===== */
.gd-lead-section .gd-lead-inner {
  max-width: 560px !important;
  margin: 0 auto !important;
}
.gd-hubspot-form,
.gd-lead-section .hs-form-frame {
  max-width: 480px !important;
  margin: 0 auto !important;
}





/* ===== Site tagline (phone number) ===== */
.site-description,
.ast-site-description,
p.site-description,
.ast-header-break-point .site-description {
  color: #28903a !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0.02em !important;
  margin: 3px 0 0 0 !important;
  text-align: left !important;
  display: block !important;
}



/* ===== Lead Section: Two-Column Layout ===== */
.gd-lead-section {
  padding: 48px 0 !important;
}
/* Kill old single-col centering */
.gd-lead-section .gd-lead-inner,
.gd-hubspot-form,
.gd-lead-section .hs-form-frame {
  max-width: 100% !important;
  margin: 0 !important;
}

.gd-lead-two-col {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Form column ── */
.gd-lead-form-col {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
}
.gd-lead-heading {
  color: #ffffff !important;
  font-size: 1.55rem !important;
  font-family: var(--font-heading) !important;
  margin: 0.2rem 0 0.4rem !important;
  text-align: left !important;
}
.gd-lead-subtext {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.88rem !important;
  margin: 0 0 0.75rem !important;
  text-align: left !important;
}
.gd-lead-form-col .gd-section-label {
  text-align: left !important;
}

/* ── Social column ── */
.gd-lead-social-col {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
}
.gd-social-header {
  flex-shrink: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.gd-social-header .gd-section-label { display: block; margin-bottom: 0.1rem; }
.gd-social-heading { margin: 0.1rem 0 0.1rem !important; }
.gd-social-subtext { margin: 0 !important; padding-bottom: 0 !important; font-size: 0.82rem; opacity: 0.8; }
.gd-social-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  justify-content: flex-start !important;
  margin-top: 0.3rem !important;
}
.gd-social-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 1rem 0.9rem !important;
  min-height: 52px !important;
  font-family: var(--font-body);
  font-size: 0.9rem !important;
  font-weight: 600;
  text-decoration: none !important;
  color: #fff !important;
  transition: opacity 0.18s, transform 0.18s;
  border-radius: 0 !important;
}
.gd-social-btn:first-child { border-radius: 7px 7px 0 0 !important; }
.gd-social-btn:last-child  { border-radius: 0 0 7px 7px !important; }
.gd-social-btn svg { flex-shrink: 0; width: 22px !important; height: 22px !important; }
.gd-social-btn:hover { transform: translateX(4px); opacity: 0.9; }

.gd-social-facebook  { background: #1877F2; }
.gd-social-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.gd-social-tiktok    { background: #010101; border: 1px solid #333; }
.gd-social-linkedin  { background: #0A66C2; }
.gd-social-x         { background: #000; border: 1px solid #444; }
.gd-social-google    { background: #4285F4; }

.gd-social-cta { flex-shrink: 0; margin-top: 0.75rem; }
.gd-social-call {
  background: var(--color-emerald) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.9rem !important;
}


/* Responsive */
@media (max-width: 600px) {
  .gd-lead-two-col {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .gd-lead-form-col,
  .gd-lead-social-col { flex: 1 1 100%; }
  .gd-social-links { justify-content: flex-start; }
}

/* ===== Lead Section: Force text colors (high specificity) ===== */
section.gd-lead-section h2,
section.gd-lead-section h2.gd-lead-heading,
.gd-lead-two-col h2,
.gd-lead-form-col h2 {
  color: #ffffff !important;
  font-size: 1.55rem !important;
  margin: 0.2rem 0 0.4rem !important;
  text-align: left !important;
}
section.gd-lead-section h3,
section.gd-lead-section h3.gd-social-heading,
.gd-lead-two-col h3,
.gd-lead-social-col h3 {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  margin: 0.15rem 0 0.2rem !important;
}
section.gd-lead-section p,
.gd-lead-form-col p.gd-lead-subtext,
.gd-lead-social-col p.gd-social-subtext {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.88rem !important;
  margin: 0 0 0.6rem !important;
  text-align: left !important;
}
section.gd-lead-section .gd-section-label,
.gd-lead-two-col .gd-section-label {
  color: var(--color-emerald) !important;
  text-align: left !important;
}

/* ===== Social col: stretch to form height, space buttons evenly ===== */
.gd-lead-two-col { align-items: stretch !important; }
.gd-lead-social-col {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}
.gd-social-header { margin-bottom: 0.5rem !important; padding-bottom: 0 !important; flex-shrink: 0; }
.gd-social-subtext { margin-bottom: 0 !important; }
.gd-social-links {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0 !important;
  margin-top: 0 !important;
}

/* ===== Social buttons: grow to fill column height ===== */
.gd-social-links {
  justify-content: space-between !important;
}
.gd-social-btn {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

/* ===== Social buttons: explicit height + X/TikTok visibility fix ===== */
.gd-social-links {
  flex: 1 1 auto !important;
  min-height: 360px !important;
}
.gd-social-btn {
  flex: 1 1 0 !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
}
.gd-social-x      { background: #1a1a2e !important; border: 1px solid #555 !important; }
.gd-social-tiktok { background: #1a1a1a !important; border: 1px solid #555 !important; }

/* ===== Mobile: social buttons explicit height ===== */
@media (max-width: 600px) {
  .gd-lead-social-col {
    align-self: auto !important;
  }
  .gd-social-links {
    flex: none !important;
    min-height: unset !important;
    gap: 0.4rem !important;
    justify-content: flex-start !important;
  }
  .gd-social-btn {
    flex: none !important;
    min-height: 52px !important;
    height: 52px !important;
  }
}

/* ===== Breakpoint fix: stack at 600px not 768px ===== */
@media (min-width: 601px) {
  .gd-lead-two-col {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }
  .gd-lead-form-col  { flex: 0 0 55% !important; max-width: 55% !important; }
  .gd-lead-social-col { flex: 0 0 40% !important; max-width: 40% !important; }
}
@media (max-width: 600px) {
  .gd-lead-two-col { flex-direction: column !important; }
  .gd-lead-form-col, .gd-lead-social-col { flex: 1 1 100% !important; max-width: 100% !important; }
  .gd-social-btn { flex: none !important; height: 52px !important; min-height: 52px !important; }
  .gd-social-links { gap: 0.4rem !important; }
}

/* ===== Page 19 market report: full-width breakout ===== */
.page-id-19 .entry-content,
.page-id-19 [data-ast-blocks-layout] {
  --wp--custom--ast-content-width-size: 100% !important;
  --wp--custom--ast-wide-width-size: 100% !important;
  --ast-normal-container-width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-id-19 .entry-content > *,
.page-id-19 [data-ast-blocks-layout] > * {
  max-width: 100% !important;
}
/* Also apply to other content pages */
.page-id-20 .entry-content, .page-id-21 .entry-content,
.page-id-23 .entry-content {
  --wp--custom--ast-content-width-size: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-id-20 .entry-content > *, .page-id-21 .entry-content > *,
.page-id-23 .entry-content > * > * {
  max-width: 100% !important;
}
\n/* ===== Page 19 hero: slim it down ===== */\n.page-id-19 .gd-hero {\n  padding: 32px 0 !important;\n  min-height: unset !important;\n}\n/* ===== All content pages full-width fix (override Astra container) ===== */\n.page-id-19 .site-content .ast-container,\n.page-id-19 .site-content .entry-content,\n.page-id-20 .site-content .ast-container,\n.page-id-20 .site-content .entry-content,\n.page-id-21 .site-content .ast-container,\n.page-id-21 .site-content .entry-content,\n.page-id-23 .site-content .ast-container,\n.page-id-23 .site-content .entry-content {\n  max-width: 100% !important;\n  width: 100% !important;\n  padding-left: 0 !important;\n  padding-right: 0 !important;\n}\n

/* ===== Page 19 hero: slim it down ===== */
.page-id-19 .gd-hero {
  padding: 32px 0 !important;
  min-height: unset !important;
}
/* ===== All content pages full-width fix (override Astra container) ===== */
.page-id-20 .site-content .ast-container,
.page-id-20 .site-content .entry-content,
.page-id-21 .site-content .ast-container,
.page-id-21 .site-content .entry-content,
.page-id-23 .site-content .ast-container,
.page-id-23 .site-content .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===== Hide empty page title bar on content pages ===== */
.page-id-19 .ast-page-title-wrap,
.page-id-19 .entry-header,
.page-id-19 .ast-archive-description,
.page-id-19 .page-header,
.page-id-20 .ast-page-title-wrap,
.page-id-20 .entry-header,
.page-id-21 .ast-page-title-wrap,
.page-id-21 .entry-header,
.page-id-22 .ast-page-title-wrap,
.page-id-22 .entry-header,
.page-id-23 .ast-page-title-wrap,
.page-id-23 .entry-header,
.page-id-24 .ast-page-title-wrap,
.page-id-24 .entry-header,
.page-id-25 .ast-page-title-wrap,
.page-id-25 .entry-header {
  display: none !important;
}

/* ===== Kill empty Astra entry-header bar on all pages ===== */
.ast-no-title.ast-header-without-markup,
header.entry-header.ast-no-title,
header.entry-header.ast-header-without-markup {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}


/* ===== Market Report Page Styles ===== */
.mr-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:2rem;}
.mr-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 20px rgba(0,0,0,.08);text-align:center;}
.mr-card.up{border-top:4px solid #10b981;}.mr-card.down{border-top:4px solid #ef4444;}
.mr-card-label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-weight:600;margin-bottom:8px;}
.mr-card-value{font-size:2.2rem;font-weight:700;color:#1a2332;line-height:1;}
.mr-card-change{font-size:.85rem;font-weight:600;margin-top:6px;}
.mr-card-change.up{color:#10b981;}.mr-card-change.down{color:#ef4444;}
.mr-card-note{font-size:.72rem;color:#94a3b8;margin-top:4px;}
.mr-charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:2rem;}
.mr-chart-card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 2px 12px rgba(0,0,0,.06);}
.mr-chart-title{font-size:.88rem;font-weight:700;color:#1a2332;margin-bottom:1rem;font-family:var(--font-heading);}
.mr-chart-wrap{height:220px;position:relative;}
.mr-table-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 12px rgba(0,0,0,.06);margin-bottom:1.5rem;overflow-x:auto;}
.mr-table-header{font-family:var(--font-heading);font-size:1rem;font-weight:700;color:#1a2332;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0;}
.mr-table-card table{width:100%;border-collapse:collapse;font-size:.88rem;}
.mr-table-card th{text-align:left;padding:.5rem .75rem;background:#f8fafc;color:#475569;font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;}
.mr-table-card td{padding:.5rem .75rem;border-bottom:1px solid #f1f5f9;color:#374151;}
.mr-table-card tr:last-child td{border-bottom:none;}
.chg-up{color:#10b981;font-weight:600;}.chg-dn{color:#ef4444;font-weight:600;}
.mr-analysis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:2rem;}
.mr-analysis-card{background:#1a2332;border-radius:12px;padding:1.5rem;}
.mr-analysis-card h3{color:#10b981;font-family:var(--font-heading);font-size:1rem;margin:0 0 .75rem;}
.mr-analysis-card p{color:rgba(255,255,255,.82);font-size:.875rem;line-height:1.6;margin:0;}
.mr-cta{background:linear-gradient(135deg,#28903a,#1d6b2a);border-radius:16px;padding:2rem;text-align:center;margin-top:2rem;}
.mr-cta h2{color:#fff;font-family:var(--font-heading);margin:0 0 .5rem;}
.mr-cta p{color:rgba(255,255,255,.85);margin:0 0 1.5rem;}
.mr-compliance{font-size:.72rem;color:#94a3b8;text-align:center;padding:1rem 0;border-top:1px solid #e2e8f0;margin-top:2rem;}
@media(max-width:768px){
  .mr-cards{grid-template-columns:1fr;}
  .mr-charts-grid{grid-template-columns:1fr;}
  .mr-analysis-grid{grid-template-columns:1fr;}
}

/* Contact page: social buttons full-width */
.gd-social-links .gd-social-btn {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: center !important;
  gap: 10px !important;
}

/* === Social button final overrides: rounded corners + spacing === */
.gd-social-btn,
.gd-social-btn:first-child,
.gd-social-btn:last-child { border-radius: 8px !important; }
.gd-social-links { gap: 9px !important; }
