/* ====== CAR WRECK DOCTOR — CUSTOMIZER OVERRIDES ====== */

/* GLOBAL RESETS */
body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important; font-size: 18px; line-height: 1.78; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif !important; font-weight: 900 !important; color: #222 !important; }
h1 { font-size: 36px; } h2 { font-size: 38px; } h3 { font-size: 32px; }

/* HIDE SITE TITLE TEXT (live site shows only logo) */
.site-branding { display: none !important; }

/* REMOVE GENERATEPRESS ARTICLE STYLING */
.separate-containers .inside-article { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.separate-containers .site-main > * { margin-bottom: 0 !important; }
article { background: transparent !important; }
.site-content .inside-article, .separate-containers .inside-article, .site-main article { background: transparent !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.separate-containers .site-main { margin: 0 !important; }

/* FULL-WIDTH CONTENT */
.site-content .content-area { width: 100% !important; }
.sidebar.is-right-sidebar { display: none !important; }
.site-content { display: block !important; }
.page-header { display: none !important; }
.single-city-chiro .entry-header,
.single-city-doctor .entry-header,
.single-city-lawyer .entry-header,
.single-state-hub .entry-header,
.page .entry-header { display: none !important; }

/* GREEN TOP BAR */
.cwd-top-bar { background: #333333; color: #fff; padding: 10px 0; text-align: center; font-size: 16px; }
.cwd-top-bar a { color: #fff !important; font-weight: 600; text-decoration: none; }

/* WHITE STICKY HEADER */
.site-header { background: #fff !important; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #E0E0E0; }
.site-header .inside-header { padding: 12px 20px !important; display: flex; align-items: center; }

/* LOGO SIZING */
.site-logo img { max-height: 70px !important; width: auto !important; }

/* NAV STYLES — UPPERCASE like live site */
.main-navigation a { color: #222 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 16px !important; text-transform: uppercase !important; letter-spacing: 0.5px; padding: 12px 16px; }
.main-navigation a:hover { color: #3FBE7F !important; }
.main-navigation .sub-menu { background: #fff; border: 1px solid #E0E0E0; }
.main-navigation .sub-menu a { font-size: 14px !important; padding: 10px 20px !important; text-transform: none !important; }

/* GREEN CTA BUTTON IN NAV — compact like live site */
.header-cta { background: transparent !important; padding: 0 !important; display: flex !important; align-items: center !important; }
.header-cta a { background: #3FBE7F !important; color: #fff !important; padding: 12px 24px !important; font-weight: 700 !important; font-size: 14px !important; border-radius: 4px !important; text-transform: uppercase !important; display: inline-block !important; line-height: 1.2 !important; white-space: nowrap; }
.header-cta a:hover { background: #35a56e !important; }

/* PHONE BUTTON IN HEADER (bordered style like live site) */
.cwd-phone-btn { align-self: center !important; height: auto !important; display: flex !important; align-items: center !important; }
.cwd-phone-btn a { border: 2px solid #3FBE7F !important; padding: 10px 20px !important; font-weight: 700 !important; font-size: 14px !important; color: #222 !important; border-radius: 4px; background: transparent !important; white-space: nowrap; height: auto !important; line-height: 1.2 !important; }
.cwd-phone-btn a:hover { border-color: #35a56e !important; color: #35a56e !important; background: transparent !important; }

/* HERO GRID */
.cwd-hero { background: #fff; padding: 60px 0; }
.cwd-hero .hero-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 40px; align-items: center; }
.cwd-hero h1 { font-size: 44px !important; font-weight: 900 !important; line-height: 1.15; margin-bottom: 20px; }
.cwd-hero .hero-sub { font-size: 18px; color: #616161; max-width: 700px; line-height: 30px; margin: 0 0 32px; }
.cwd-hero .cta-phone { display: inline-block; background: #3FBE7F; color: #fff !important; font-size: 20px; font-weight: 700; padding: 16px 40px; text-decoration: none; transition: background 0.3s; }
.cwd-hero .cta-phone:hover { background: #35a56e; }
.cwd-hero .hero-image img { width: 100%; height: auto; border-radius: 8px; }

/* CONTENT SECTIONS */
.cwd-section { padding: 60px 0; }
.cwd-section.alt-bg { background: #FAFAFA; }
.cwd-section h2 { font-size: 38px !important; font-weight: 900 !important; margin-bottom: 24px; }

/* SERVICE CARDS */
.service-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; gap: 24px; margin: 32px 0; }
.service-card { background: #fff; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); border-top: 4px solid #3FBE7F; transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.service-card h3 { font-size: 20px !important; font-weight: 900 !important; margin-bottom: 12px; }

/* PURPLE CALLOUT */
.cwd-callout { background: #572684 !important; color: #fff !important; padding: 40px; margin: 40px 0; text-align: center; }
.cwd-callout h2, .cwd-callout h3 { color: #fff !important; margin-bottom: 16px; }
.cwd-callout p { color: rgba(255,255,255,0.9); font-size: 18px; }
.cwd-callout .cta-phone { display: inline-block; background: #3FBE7F; color: #fff !important; font-size: 20px; font-weight: 700; padding: 14px 36px; text-decoration: none; margin-top: 16px; }

/* NEARBY CITIES */
.nearby-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0; }
.nearby-cities a { display: block; padding: 12px 16px; background: #fff; border: 1px solid #E0E0E0; text-decoration: none; font-weight: 600; font-size: 14px; }
.nearby-cities a:hover { border-color: #3FBE7F; background: #E8F5E9; }

/* FOOTER */
.site-footer { background: #000 !important; color: #BDBDBD; padding: 60px 0 24px; }
.site-footer a { color: #BDBDBD; }
.site-footer a:hover { color: #3FBE7F; }
.footer-bottom { border-top: 1px solid #333; padding-top: 24px; margin-top: 40px; text-align: center; font-size: 14px; color: #757575; }

/* FLOATING CTA (matches live site bottom-right callout) */
.cwd-floating-cta { position: fixed; bottom: 20px; right: 20px; background: #572684; color: #fff; padding: 20px 28px; z-index: 9999; text-align: center; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.25); max-width: 300px; }
.cwd-floating-cta .cta-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; color: #fff; }
.cwd-floating-cta a { color: #fff !important; font-size: 22px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; justify-content: center; }
.cwd-floating-cta a:hover { color: #3FBE7F !important; }

/* NO BODY PADDING */
body { padding-top: 0 !important; margin-top: 0 !important; background: #fff !important; }
#page, .site { margin: 0 !important; max-width: 100% !important; }
body.admin-bar { padding-top: 0 !important; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .cwd-hero { padding: 40px 16px; }
  .cwd-hero .hero-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .cwd-hero h1 { font-size: 28px !important; }
  .cwd-hero .hero-image { order: -1; }
  .cwd-section { padding: 40px 16px; }
  .cwd-section h2 { font-size: 28px !important; }
  .service-cards { grid-template-columns: 1fr !important; }
  .cwd-callout { padding: 24px 16px; }
  .cwd-floating-cta { bottom: 10px; right: 10px; left: 10px; max-width: none; }
  .cwd-header-phone { display: none !important; }
}
@media (max-width: 480px) {
  .cwd-hero h1 { font-size: 24px !important; }
  .cwd-hero .cta-phone { font-size: 16px; padding: 12px 24px; }
  .nearby-cities { grid-template-columns: 1fr; }
}

/* HIDE GENERATEPRESS CREDIT */
.copyright-bar { font-size: 0 !important; }
.copyright-bar .copyright { font-size: 14px !important; }
.copyright-bar a { display: none !important; }

/* STATE GRID */
.cwd-state-grid ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 16px; }
.cwd-state-grid li { margin: 0; }
.cwd-state-grid a { color: #222; font-size: 15px; padding: 6px 0; display: block; border-bottom: 1px solid #eee; transition: color 0.3s; }
.cwd-state-grid a:hover { color: #3FBE7F; }

/* SERVICE PAGE LISTS */
.entry-content ul, .entry-content ol { margin: 16px 0; padding-left: 24px; }
.entry-content li { margin-bottom: 10px; font-size: 17px; line-height: 1.6; }
.entry-content h2 { margin-top: 40px; color: #222; }

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .cwd-state-grid ul { grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
  .cwd-state-grid a { font-size: 14px; }
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  .entry-content { padding: 0 10px; }
  .site-header .inside-header { padding: 8px 12px; }
  .cwd-top-bar { font-size: 13px; padding: 8px 0; }
}
@media (max-width: 480px) {
  .cwd-state-grid ul { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 22px !important; }
  h2 { font-size: 20px !important; }
}

/* BLOG LISTING STYLES */
.blog .entry-summary, .archive .entry-summary { font-size: 16px; line-height: 1.6; color: #616161; }
.blog h2.entry-title a, .archive h2.entry-title a { color: #222; font-size: 22px; }
.blog h2.entry-title a:hover { color: #3FBE7F; }
.blog article, .archive article { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid #eee; }

/* STICKY MOBILE CTA BAR */
.cwd-mobile-cta { display: none; }
@media (max-width: 768px) {
  .cwd-mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; background: #3FBE7F; text-align: center; padding: 12px; z-index: 9999; box-shadow: 0 -2px 8px rgba(0,0,0,0.15); }
  .cwd-mobile-cta a { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; display: block; }
}