/*
 Theme Name: GeneratePress Child - Water Damage
 Template: generatepress
 Description: Emergency Authority theme for Water Damage Repair Experts Coral Springs
 Version: 1.0.0
 Author: AI Software Labs
*/

/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════ */
:root {
  --wd-navy: #1a3a6b;
  --wd-navy-dark: #0d1f3c;
  --wd-red: #e63946;
  --wd-red-hover: #c62828;
  --wd-white: #ffffff;
  --wd-light: #f0f7ff;
  --wd-gray-bg: #f8f9fa;
  --wd-gray-text: #6c757d;
  --wd-body-text: #2d3436;
  --wd-font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --wd-font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --wd-max-width: 1140px;
  --wd-radius: 8px;
}

/* ═══════════════════════════════════════════
   RESET & BASE TYPOGRAPHY
   ═══════════════════════════════════════════ */
body {
  font-family: var(--wd-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--wd-body-text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wd-font-heading);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.15;
  color: var(--wd-navy);
}

p { margin: 0 0 1em; }

a { color: var(--wd-red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--wd-red-hover); }

img { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════
   GP FRAMEWORK OVERRIDES
   ═══════════════════════════════════════════ */
.site-content,
.inside-article,
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.content-area {
  width: 100% !important;
  float: none !important;
}

#secondary,
.sidebar,
.sidebar-primary {
  display: none !important;
}

.entry-header,
.page .entry-title {
  display: none !important;
}

.inside-article {
  border: none !important;
}

/* ═══════════════════════════════════════════
   HEADER / STICKY NAV
   ═══════════════════════════════════════════ */
.site-header {
  background: var(--wd-navy) !important;
  position: sticky;
  top: 0;
  z-index: 9998;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.inside-header {
  background: transparent !important;
  padding: 12px 30px !important;
}

.site-title,
.site-title a {
  color: var(--wd-white) !important;
  font-family: var(--wd-font-heading) !important;
  font-size: 1.5em !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.site-description {
  color: rgba(255,255,255,0.7) !important;
  font-family: var(--wd-font-body) !important;
}

.main-navigation,
.main-navigation .main-nav {
  background: transparent !important;
}

.main-navigation a,
.main-navigation .main-nav ul li a {
  color: var(--wd-white) !important;
  font-family: var(--wd-font-heading) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
}

.main-navigation a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--wd-red) !important;
}

.main-navigation ul ul {
  background: #0d2b52 !important;
  border-top: 3px solid var(--wd-red);
}

.nav-phone-btn a {
  background: var(--wd-red) !important;
  color: var(--wd-white) !important;
  padding: 10px 22px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-phone-btn a:hover {
  background: var(--wd-red-hover) !important;
  transform: translateY(-1px);
}

.menu-toggle,
.menu-toggle .mobile-menu {
  color: var(--wd-white) !important;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.wd-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.wd-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 50, 0.78);
}

.wd-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 40px 24px;
}

.wd-hero-content h1 {
  color: var(--wd-white);
  font-size: 3em;
  margin-bottom: 16px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

.wd-hero-sub {
  color: rgba(255,255,255,0.92);
  font-family: var(--wd-font-body);
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 32px;
}

.wd-badge {
  display: inline-block;
  background: var(--wd-red);
  color: var(--wd-white);
  padding: 8px 24px;
  border-radius: 50px;
  font-family: var(--wd-font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: wd-pulse 2s ease-in-out infinite;
}

@keyframes wd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.5); }
  50% { box-shadow: 0 0 0 14px rgba(230,57,70,0); }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.wd-btn-red {
  display: inline-block;
  background: var(--wd-red);
  color: var(--wd-white);
  padding: 18px 38px;
  border-radius: 4px;
  font-family: var(--wd-font-heading);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 18px rgba(230,57,70,0.35);
}

.wd-btn-red:hover {
  background: var(--wd-red-hover);
  color: var(--wd-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,57,70,0.45);
}

.wd-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--wd-white);
  padding: 18px 38px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 4px;
  font-family: var(--wd-font-heading);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin: 8px;
  transition: all 0.3s;
}

.wd-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--wd-white);
  color: var(--wd-white);
}

/* ═══════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════ */
.wd-trust-bar {
  background: var(--wd-white);
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.wd-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.wd-trust-item {
  padding: 12px 8px;
}

.wd-trust-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.wd-trust-label {
  font-family: var(--wd-font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wd-navy);
}

/* ═══════════════════════════════════════════
   SECTION SYSTEM
   ═══════════════════════════════════════════ */
.wd-section {
  padding: 72px 24px;
}

.wd-section--white { background: var(--wd-white); }
.wd-section--gray { background: var(--wd-gray-bg); }
.wd-section--navy { background: var(--wd-navy); color: var(--wd-white); }
.wd-section--navy h2,
.wd-section--navy h3 { color: var(--wd-white); }
.wd-section--navy p { color: rgba(255,255,255,0.85); }

.wd-section__inner {
  max-width: var(--wd-max-width);
  margin: 0 auto;
}

.wd-section__title {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 12px;
}

.wd-section__subtitle {
  text-align: center;
  color: var(--wd-gray-text);
  font-size: 1.08em;
  max-width: 640px;
  margin: 0 auto 44px;
}

.wd-section--navy .wd-section__subtitle {
  color: rgba(255,255,255,0.65);
}

/* ═══════════════════════════════════════════
   AEO ANSWER BLOCK
   ═══════════════════════════════════════════ */
.wd-aeo {
  background: var(--wd-light);
  border-left: 4px solid var(--wd-navy);
  padding: 22px 28px;
  margin: 0 auto;
  max-width: var(--wd-max-width);
  border-radius: 4px;
  font-size: 1.02em;
  line-height: 1.7;
}

.wd-aeo strong {
  color: var(--wd-navy);
}

/* ═══════════════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════════════ */
.wd-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05em;
  line-height: 1.8;
  color: #444;
}

/* ═══════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════ */
.wd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wd-service-card {
  background: var(--wd-white);
  border: 1px solid #eaeaea;
  border-radius: var(--wd-radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.wd-service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--wd-red);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.wd-service-card:hover::after {
  transform: scaleX(1);
}

.wd-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.1);
}

.wd-service-card__icon {
  font-size: 2.8em;
  margin-bottom: 16px;
}

.wd-service-card h3 {
  font-size: 1.15em;
  margin: 0 0 10px;
}

.wd-service-card p {
  color: var(--wd-gray-text);
  font-size: 0.95em;
  margin: 0 0 18px;
}

.wd-service-card__link {
  font-family: var(--wd-font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--wd-red);
}

.wd-service-card__link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════ */
.wd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
}

.wd-why-item {
  text-align: center;
}

.wd-why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(230,57,70,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.7em;
  color: var(--wd-white);
}

.wd-why-item h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.wd-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.wd-about-grid img {
  width: 100%;
  border-radius: var(--wd-radius);
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
}

.wd-about-grid h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.wd-about-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--wd-font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--wd-red);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.wd-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.wd-testimonial {
  background: var(--wd-white);
  border-radius: var(--wd-radius);
  padding: 32px;
  border-left: 4px solid var(--wd-red);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.wd-testimonial__stars {
  color: #f59e0b;
  font-size: 1.1em;
  margin-bottom: 14px;
}

.wd-testimonial blockquote {
  font-style: italic;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.65;
  font-size: 0.98em;
}

.wd-testimonial__author {
  font-family: var(--wd-font-heading);
  font-weight: 700;
  color: var(--wd-navy);
  font-size: 0.95em;
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.wd-faq details {
  border: 1px solid #eaeaea;
  border-radius: var(--wd-radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.wd-faq details:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.wd-faq summary {
  padding: 18px 24px;
  padding-right: 48px;
  font-family: var(--wd-font-heading);
  font-weight: 600;
  font-size: 1.08em;
  color: var(--wd-navy);
  cursor: pointer;
  background: var(--wd-white);
  transition: background 0.2s;
  list-style: none;
  position: relative;
}

.wd-faq summary::-webkit-details-marker { display: none; }

.wd-faq summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.4em;
  color: var(--wd-red);
}

.wd-faq details[open] summary::after { content: '\2212'; }

.wd-faq summary:hover { background: #fafafa; }

.wd-faq details[open] summary {
  color: var(--wd-red);
  border-bottom: 1px solid #eaeaea;
}

.wd-faq details p {
  padding: 18px 24px;
  margin: 0;
  color: #555;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   AREAS GRID
   ═══════════════════════════════════════════ */
.wd-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.wd-areas-grid a {
  color: var(--wd-navy);
  font-weight: 500;
  padding: 10px;
  border-radius: 4px;
  transition: all 0.2s;
  display: block;
}

.wd-areas-grid a:hover {
  color: var(--wd-red);
  background: var(--wd-light);
}

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.wd-cta {
  text-align: center;
}

.wd-cta h2 {
  color: var(--wd-white);
  font-size: 2.2em;
  margin-bottom: 12px;
}

.wd-cta p {
  color: rgba(255,255,255,0.82);
  font-size: 1.12em;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   SERVICE PAGE HERO
   ═══════════════════════════════════════════ */
.wd-service-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.wd-service-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 50, 0.72);
}

.wd-service-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px;
}

.wd-service-hero__content h1 {
  color: var(--wd-white);
  font-size: 2.6em;
  text-shadow: 0 3px 10px rgba(0,0,0,0.3);
  margin-bottom: 8px;
}

.wd-service-hero__content p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1em;
}

/* ═══════════════════════════════════════════
   FLOATING CALL BUTTON (mobile)
   ═══════════════════════════════════════════ */
.wd-floating-call {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--wd-red);
  color: var(--wd-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 26px;
  box-shadow: 0 4px 18px rgba(230,57,70,0.4);
  text-decoration: none;
  animation: wd-pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer-widgets {
  background: var(--wd-navy-dark) !important;
  padding: 52px 0 !important;
}

.footer-widgets,
.footer-widgets p,
.footer-widgets li,
.footer-widgets a {
  color: #adb5bd !important;
  font-family: var(--wd-font-body) !important;
}

.footer-widgets a:hover {
  color: var(--wd-red) !important;
}

.footer-widgets .widget-title {
  color: var(--wd-white) !important;
  font-family: var(--wd-font-heading) !important;
  font-size: 1.1em !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px !important;
}

.footer-widgets ul {
  list-style: none !important;
  padding: 0 !important;
}

.footer-widgets ul li {
  padding: 5px 0 !important;
}

.site-info {
  background: #050c18 !important;
  text-align: center !important;
  padding: 18px 0 !important;
}

.site-info,
.site-info a,
.site-info p,
.site-info span {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.85em !important;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .wd-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wd-hero-content h1 { font-size: 2em; }
  .wd-hero { min-height: 70vh; }

  .wd-services-grid,
  .wd-why-grid,
  .wd-testimonials-grid,
  .wd-about-grid {
    grid-template-columns: 1fr;
  }

  .wd-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .wd-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wd-section {
    padding: 48px 16px;
  }

  .wd-section__title { font-size: 1.7em; }

  .nav-phone-btn { display: none !important; }

  .wd-floating-call { display: block; }

  .wd-btn-red, .wd-btn-outline {
    display: block;
    text-align: center;
    margin: 8px 0;
  }

  .wd-service-hero__content h1 { font-size: 1.8em; }
}


/* ═══════════════════════════════════════════
   FULL-WIDTH OVERRIDE — Break out of GP container
   ═══════════════════════════════════════════ */

/* Homepage template — remove all GP container constraints */
.page-template-templates-front-page-php .entry-content,
.page-template-templates-front-page-php .entry,
.page-template-templates-front-page-php article,
.page-template-templates-front-page-php .inside-article,
.page-template-front-page .entry-content,
.page-template-front-page .entry,
.page-template-front-page article,
.page-template-front-page .inside-article {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.page-template-templates-front-page-php .content-area,
.page-template-templates-front-page-php .site-main,
.page-template-templates-front-page-php #primary,
.page-template-front-page .content-area,
.page-template-front-page .site-main,
.page-template-front-page #primary {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.page-template-templates-front-page-php .container,
.page-template-templates-front-page-php .grid-container,
.page-template-templates-front-page-php .inside-page-header,
.page-template-front-page .container,
.page-template-front-page .grid-container,
.page-template-front-page .inside-page-header {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Service page template — also full width */
.page-template-templates-service-page-php .entry-content,
.page-template-templates-service-page-php article,
.page-template-templates-service-page-php .inside-article,
.page-template-templates-service-page-php .content-area,
.page-template-templates-service-page-php .site-main,
.page-template-templates-service-page-php .container,
.page-template-templates-service-page-php .grid-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* GP's grid-container is the main culprit */
body.page-template-templates-front-page-php .grid-container,
body.page-template-templates-service-page-php .grid-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* The wd-section__inner handles the actual content width */
.wd-section__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ═══════════════════════════════════════════
   CORRECT GP BODY CLASS SELECTORS
   (actual class: page-template-templatesfront-page-php)
   ═══════════════════════════════════════════ */

body.page-template-templatesfront-page-php .grid-container,
body.page-template-templatesfront-page-php .inside-article,
body.page-template-templatesfront-page-php .entry-content,
body.page-template-templatesfront-page-php article,
body.page-template-templatesfront-page-php .content-area,
body.page-template-templatesfront-page-php .site-main,
body.page-template-templatesfront-page-php #primary,
body.page-template-templatesfront-page-php .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-template-templatesservice-page-php .grid-container,
body.page-template-templatesservice-page-php .inside-article,
body.page-template-templatesservice-page-php .entry-content,
body.page-template-templatesservice-page-php article,
body.page-template-templatesservice-page-php .content-area,
body.page-template-templatesservice-page-php .site-main,
body.page-template-templatesservice-page-php #primary,
body.page-template-templatesservice-page-php .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Also target the page-template class directly */
body.page-template .grid-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-template .inside-article {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* GP's generate_container class */
.generate-columns-container,
.generate-sections-container {
  max-width: 100% !important;
}


/* ═══ NUCLEAR: Force white site title — highest specificity ═══ */
html body .site-header .site-title a,
html body .site-header .site-title a:link,
html body .site-header .site-title a:visited,
html body .site-header .site-title a:hover,
html body .site-header .site-title,
html body .inside-header .site-title a,
html body .site-branding .site-title a,
html body #masthead .site-title a,
body .site-title a[href] {
  color: #ffffff !important;
  text-decoration: none !important;
}
html body .site-header .site-description,
html body .inside-header .site-description {
  color: rgba(255,255,255,0.75) !important;
}


/* ═══ FULL WIDTH: Remove ALL GP container constraints ═══ */
.site-main,
.content-area,
#primary,
.inside-article,
.entry,
article.page,
.entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container,
.grid-container,
.generate-columns-container,
.inside-page-header {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}

.entry-content > *,
.entry-content > div,
.entry-content > section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Sections span full width, inner content is centered */
.wd-section {
  width: 100% !important;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.wd-section__inner {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ═══ SITE TITLE: Target GP's ACTUAL class .main-title a ═══ */
.main-title a,
.main-title a:link,
.main-title a:visited,
.main-title a:hover,
p.main-title a,
.site-branding .main-title a,
.inside-header .main-title a {
  color: #ffffff !important;
}
.wd-btn-red--large {
  font-size: 20px;
  padding: 22px 48px;
}


/* ═══════════════════════════════════════════
   FIX: INNER WIDTH CORRECTIONS
   ═══════════════════════════════════════════ */

/* FIX 1 — Header: center nav content away from edges */
.site-header .inside-header,
.site-header .inside-header.grid-container,
.main-navigation .inside-navigation,
.main-navigation .inside-navigation.grid-container,
.site-header .site-branding,
.header-widget,
.navigation-branding {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* FIX 2 — Content sections: proper readable width */
.entry-content > div > div,
.section-inner,
.wp-block-group__inner-container {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure wd-section__inner is properly sized */
.wd-section__inner {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* AEO block centered */
.wd-aeo {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
}

/* FIX 3 — Footer: center widget columns */
.site-footer .inside-footer,
.footer-widgets,
.site-footer .footer-widget-area,
.footer-bar .inside-footer-bar {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.footer-widgets .footer-widgets-container,
.footer-widgets .footer-widgets-container.grid-container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

.inside-site-info,
.inside-site-info.grid-container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* Trust bar grid — already has max-width:900px in template, keep centered */
.wd-trust-grid {
  max-width: 900px !important;
  margin: 0 auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-header .inside-header,
  .main-navigation .inside-navigation,
  .wd-section__inner,
  .wd-aeo,
  .footer-widgets .footer-widgets-container,
  .inside-site-info {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
