/*
Theme Name: Divi Child
Description: Divi Child Theme - Performance Optimized
Author: ElegantThemes
Template: Divi
Version: 1.3.0
Updated: 2025-01-30
Requires PHP: 8.0
*/

:root {
  --primary-color: #0a66c2;
  --primary-hover: #084d9e;
  --primary-light: #f8f9fa;
  --primary-dark: #0d1117;
  --primary: #314DDF;
  --accent: #070f2b;
  --cta-hover: #1d37c7;
  --text-light: #ffffff;
  --accent-blue: #314DDF;
  --accent-blue-hover: #10269C;
  --accent-blue-light: #dbeafe;
  --accent-blue-dark: #1e40af;
  --accent-secondary: #2563eb;
  --accent-secondary-hover: #1d4ed8;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --text-dark: #1f2937;
  --text-inverse: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --bg-dark: #1f2937;
  --bg-light: #f8fafc;
  --border-primary: #e5e7eb;
  --border-secondary: #d1d5db;
  --border-dark: #9ca3af;
  --border-light: #f3f4f6;
  --info: #3b82f6;
  --info-light: #dbeafe;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  --space-0: 0;
  --space-px: 1px;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --space-3: 0.75rem;
  --space-3-5: 0.875rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-11: 2.75rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  /* Semantic space aliases (used by components) */
  --space-sm: var(--space-2);
  --space-md: var(--space-4);
  --space-lg: var(--space-6);
  --space-xl: var(--space-8);
  --container-max-width: 1200px;
  --container-padding: var(--space-4);
  --hero-min-height: 720px;
  --hero-max-width: 1400px;
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-2xl: 0 50px 100px -20px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-bounce: 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  --btn-padding-x: var(--space-4);
  --btn-padding-y: var(--space-2);
  --btn-border-radius: var(--radius-md);
  --btn-font-weight: var(--font-medium);
  --form-input-padding: var(--space-3);
  --form-input-border-radius: var(--radius-md);
  --form-input-border-color: var(--border-primary);
  --form-input-focus-border-color: var(--accent-blue);
  --card-padding: var(--space-6);
  --card-border-radius: var(--radius-lg);
  --card-shadow: var(--shadow-base);
  --nav-height: 64px;
  --nav-padding: var(--space-4);
  --footer-padding: var(--space-12);
  --footer-bg: var(--bg-dark);
  --footer-text: var(--text-inverse);
  /* Alias for white background (used by buttons/cards) */
  --bg-white: var(--bg-primary);
}


body {
  overflow-x: hidden !important;
}


@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1f2937;
    --bg-secondary: #111827;
    --bg-tertiary: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-primary: #374151;
    --border-secondary: #4b5563;
  }
}
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #000000;
    --border-primary: #000000;
    --accent-blue: #0000ff;
    --accent-secondary: #0000ff;
  }
}
body, #top-header .container, #left-area ul, .et_pb_post p, h1.entry-title, h4.title, h3, h2.et_pb_module_header, .dipi-faq-title, h3.rank-math-question, .hero-eyebrow, .hero-subtitle, .hero-support-text, .badge-title, .badge-subtitle, .vs-text {
  font-family: var(--font-primary);
}
body, #top-header .container, #left-area ul, h1.entry-title, h4.title, h3, h2.et_pb_module_header {
  color: var(--primary-color);
}
/* Post content paragraphs: readable text color, not primary (blue) */
#left-area p,
.et_pb_post p,
body.single .et_pb_section p {
  color: var(--text-primary);
}
h1.entry-title, h2.entry-title {
  font-weight: 900;
  font-size: 30px;
}
h3, h4.widgettitle {
  font-weight: 700;
}
h3 {
  font-size: 22px;
}
h4.widgettitle {
  font-size: 21px;
}
.dipi-faq-title {
  font-weight: 450;
}

h3.rank-math-question {
  font-weight: 400 !important;
  font-size: 20px !important;
}
#left-area .post-meta a {
  color: #9e7745;
  text-decoration: none;
  font-weight: 700;
}
/* Ensure sections don't overlap header */
.et_pb_section {
  position: relative !important;
}



/*
.et_pb_section_0.addition-section {
  min-height: var(--hero-min-height);
  contain: layout style;
}
body.page .et_pb_section_0 {
  background: none !important;
  color: inherit !important;
  padding: inherit !important;
  text-align: inherit !important;
}

*/
.et_pb_slider_0 {
  height: var(--hero-min-height) !important;
}
.et_pb_container[style*="height: 720px"] {
  height: var(--hero-min-height) !important;
  display: flex;
  align-items: center;
}
.et_pb_blurb_description {
  padding: 0.5vw 2vw 1.5vw 1.5vw;
}
h3.et_pb_module_header {
  padding: 0vw 1vw 0vw 1.5vw;
}
@media (min-width: 981px) {
  .cust-equal-row .et_pb_column {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
  }
}
div#et-info {
  padding-left: 25px;
  float: left;
}
.grid {
  display: grid;
}

/* Dipi masonry gallery uses .grid for absolute-positioned items — don't apply grid layout */
.dipi_masonry_gallery .grid,
.dipi_masonry_gallery_wrapper .grid {
  display: block !important;
}

/* Hide items until masonry script has run (avoids visible "stack then jump") */
.dipi_masonry_gallery .grid .grid-item {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.dipi_masonry_gallery.dipi-masonry-ready .grid .grid-item {
  opacity: 1;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gap-4 {
  gap: 1rem;
}
.two-columns {
  max-width: 700px;
  margin: 0 auto;
}
.two-columns ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.two-columns li {
  margin-bottom: 0.4rem;
  font-size: 18px;
  line-height: 1.5;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background-color: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: var(--space-md) var(--space-lg);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
}
.btn-secondary::after {
  content: '→';
  font-size: 18px;
  margin-left: 8px;
  transition: transform var(--transition-normal);
  transform: translateX(0);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}
.btn-secondary:hover::after {
  transform: translateX(6px);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.dipi-button-grid-container {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--space-xl);
}
.dipi-button-grid {
  padding: 15px 30px !important;
  font-family: var(--font-secondary) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  text-decoration: none !important;
  transition: all var(--transition-normal) !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
  .dipi-button-grid {
    width: 100% !important;
    justify-content: center !important;
    padding: 18px 24px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .dipi-button-grid {
    padding: 16px 20px !important;
    font-size: 15px !important;
  }
}
.dipi_button_grid_child_0 .dipi-button-grid {
  background-color: var(--accent-blue) !important;
  color: var(--bg-white) !important;
  box-shadow: var(--shadow-md);
}
.dipi_button_grid_child_0 .dipi-button-grid:hover {
  background-color: var(--accent-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.dipi_button_grid_child_1 .dipi-button-grid {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
}
.dipi_button_grid_child_1 .dipi-button-grid:hover {
  background-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
  transform: translateY(-1px);
}
.dipi-button-grid:focus-visible,
.dipi_button_grid_child_0 .dipi-button-grid:focus-visible,
.dipi_button_grid_child_1 .dipi-button-grid:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.header-cta-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #1F2937;
  color: #ffffff;
  padding-block: 0.625rem;
  padding-inline: 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
  .header-cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
  }
}
.header-cta-button:hover {
  background-color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.header-cta-button .cta-icon {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  flex-shrink: 0;
}
.header-cta-button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.header-right-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.external-link {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-right: 1.2em;
  color: #007bff;
  text-decoration: none;
  display: inline-block;
  transition: color var(--transition-fast);
}
.external-link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1em;
  height: 1em;
  color: currentColor;
  transition: transform var(--transition-fast);
}
.external-link:hover {
  color: #0056b3;
}
.external-link:hover::after {
  transform: translateX(3px);
}
.external-link:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.phone-cta-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem; /* Add padding here if you want inner spacing */
  background-color: transparent;
  border-radius: 6px; /* Optional: soften the corners */
  color: #333;
}

.phone-cta-text {
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.phone-cta-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.2s;
}

.phone-cta-link:hover {
  opacity: 0.8;
}
.phone-cta-link:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.phone-cta-icon {
  margin-right: 0.35rem;
  stroke-width: 2;
}

/* Contact CTA block (call, reviews, serving areas) — control look via stylesheet */
.contact-cta-block {
  font-size: var(--text-base);
  color: #111827 !important;
  background-color: transparent;
}
.contact-cta-block p,
.contact-cta-block span {
  color: #111827 !important;
}
.contact-cta-block p {
  margin-top: 0;
  margin-bottom: 0.2rem;
}
.contact-cta-block p:last-child {
  margin-bottom: 0;
}
.contact-cta-call {
  margin-bottom: 0.25rem;
  padding: 0;
  font-size: var(--text-base);
  line-height: 1.4;
  color: #111827 !important;
}
.contact-cta-call .contact-cta-tel {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #0a66c2;
  text-decoration: none;
  padding: 0;
  margin-left: 0.15em;
  transition: color 0.2s ease;
}
.contact-cta-call .contact-cta-tel::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f095";
  margin-right: 0.35em;
  display: inline-block;
}
.contact-cta-call .contact-cta-tel:hover {
  color: #084d9e;
}
.contact-cta-call .contact-cta-tel:focus-visible {
  outline: 2px solid #314DDF;
  outline-offset: 2px;
}
.contact-cta-reviews {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.3rem;
}
.contact-cta-reviews span {
  order: 0;
}
.contact-cta-reviews img {
  order: -1;
  width: 105px;
  height: auto;
  display: block;
  margin-right: 0.6rem;
  padding-right: 0.6rem;
  border-right: 1px solid #e5e7eb;
}
.contact-cta-reviews {
  color: #111827 !important;
}
.contact-cta-reviews .contact-cta-tel {
  order: 1;
  font-weight: 600;
  line-height: 1.2;
  color: #0a66c2;
  text-decoration: none;
}
.contact-cta-reviews .contact-cta-tel::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f095";
  margin-right: 0.3em;
  display: inline-block;
}
.contact-cta-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 0.35rem 0;
}
.contact-cta-serving {
  font-weight: 800;
  font-size: var(--text-sm);
  margin-bottom: 0.15rem;
  padding: 0;
  color: #111827 !important;
}
.contact-cta-areas {
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.3;
  color: #111827 !important;
}
.contact-cta-sep {
  color: #0a66c2 !important;
  margin: 0 0.15em;
  user-select: none;
}

/* Signature CTA Styles */
.signature-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-color, #0a66c2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-bottom-color 0.3s ease, background-color 0.3s ease;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.signature-cta::after {
  content: '';
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-left: 4px;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

.signature-cta:hover {
  color: var(--primary-hover, #084d9e);
  border-bottom-color: var(--primary-hover, #084d9e);
  background-color: rgba(10, 102, 194, 0.05);
}

.signature-cta:hover::after {
  transform: translateX(4px);
}
.signature-cta:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}
/* Main H1 Title */
.maserat-hero-text h1 {
  font-family: 'Intro', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: #12283F;
  margin-bottom: 1rem;
  max-width: 700px;
}

@media (max-width: 768px) {
  .maserat-hero-text h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-support-text {
    font-size: 16px;
  }
}

.maserat-hero-text.left-align {
  text-align: left;
  padding-top: 0;
}
/* Eyebrow Text (top label) */
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #4B5563;
  margin-bottom: 0.5rem;
}
/* Subtitle (support sentence under H1) */
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  color: #1A1A1A; /* was #1F2937 or lighter */
  margin-bottom: 1.2rem;
  max-width: 650px;
}


/* Supporting Body Text */
.hero-support-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: #374151; /* deeper gray for readability */
  max-width: 650px;
}

.maserat-hero-text p {
  margin-bottom: 1.2rem;
}
.trust-badges-container {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.trust-badges-container,
.badges-container {
  display: flex;
  gap: 16px; 
  justify-content: flex-start; 
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 0;
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
  .badges-container {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .badges-container {
    gap: var(--space-sm);
  }
}
.certification-badge {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.certification-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}
.badge-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent-blue);
  flex-shrink: 0;
}
.badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
}
.badge-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.2;
}
.badge-img {
  width: auto;
  height: 32px;
  max-width: 80px;
  object-fit: contain;
}

.badge-vs {
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-blue);
  border-radius: 50%;
  margin: 0 var(--space-sm);
}
.vs-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.section-subtitle {
  font-size: 19px;
  font-weight: 500;
  color: #444;
  line-height: 1.5; /* instead of 1.6 */
  text-align: left;
  margin: 12px auto 36px auto;
  font-family: 'Montserrat', sans-serif;
  padding: 0 0px;
  position: relative;
}

.section-subtitle::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: #d2a679; /* gold accent */
  margin: 16px auto 0;
  border-radius: 1px;
}

@media (max-width: 480px) {
  .section-subtitle::after {
    width: 36px;
  }
}
.trust-badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
  .trust-badge {
    width: 100%;
    justify-content: center;
  }
}
.trust-badge img,
.certification-badge img,
.badge-img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  
  vertical-align: middle;
}


.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px; /* spacing between icons */
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0;
  justify-content: center;
}

.trust-badge {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.trust-badge img {
 display: block;
  height: 32px;
  width: auto;
  max-height: 32px;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  transition: none !important;
}
/* Consolidated Animation Styles */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Mobile responsive overrides */
@media (max-width: 480px) {
  .fade-in {
    animation: none;
  }
}

@media (prefers-reduced-data: reduce) {
  .fade-in {
    animation: none;
  }
}

.delay-0 { animation-delay: 0.1s; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.5s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.has-tooltip {
  position: relative;
  cursor: help;
}
.tooltip-content {
  position: absolute;
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.9);
  color: var(--bg-white);
  font-size: 13px;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  max-width: 250px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-100%);
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  bottom: calc(100% + 10px);
  left: 50%;
}
.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}
.has-tooltip:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
}
.maserat-post-taxonomy {
  position: static !important;
  float: none !important;
  order: 999 !important;
}
.et_pb_row .et_pb_module:has(.maserat-post-taxonomy) {
  order: 999;
}
#top-header {
  background-color: #1B2A3C !important;
  position: relative !important;
}
#et-info-phone,
#et-secondary-menu a {
  color: #FFFFFF !important;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
#et-info-phone:hover,
#et-secondary-menu a:hover {
  opacity: 1;
}
#top-header .container {
  padding: 8px 6px;
}
#et-secondary-menu > * {
  margin-right: 24px;
}
#et-secondary-menu > *:last-child {
  margin-right: 0;
}
/* Ensure header is full width and properly positioned */
/* Only style #main-header when plugin is NOT active */
body:not(.maserat-nav-active) #main-header {
  background-color: rgba(255,255,255,0.95) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.maserat-nav-active) #main-header .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  height: 80px !important;
  width: 100% !important;
}
#logo {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #314DDF !important;
  text-decoration: none !important;
}
#top-menu {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 2rem !important;
  height: 100%;
  align-items: center;
}
#top-menu > li > a {
  color: #495057 !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  font-family: 'Intro', 'Montserrat', sans-serif !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}
#top-menu > li > a:hover {
  color: #314DDF !important;
  text-decoration: underline !important;
}
#top-menu .sub-menu a {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  padding: 10px 20px !important;
  color: #495057 !important;
  background: transparent !important;
  transition: background-color 0.3s ease !important;
}
#top-menu .sub-menu a:hover {
  background-color: rgba(49,77,223,0.1) !important;
  color: #314DDF !important;
}
#top-menu i,
#top-menu .icon {
  margin-right: 8px !important;
  vertical-align: middle !important;
}
.main-header {
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 9999;
}
.main-header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
@media (max-width: 767px) {
  .main-header {
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.9);
  }
}
.header-ctalinkk a,
.site-header .header-ctalinkk a,
#header .header-ctalinkk a,
header .header-ctalinkk a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 2rem !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  border-radius: 0.375rem !important;
  text-decoration: none !important;
  line-height: 1 !important;
  color: #FBFBFB !important;
  background-color: #314DDF !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
  text-transform: uppercase;
  position: relative !important;
}
.header-ctalinkk a:hover {
  background-color: #10269C !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important;
  color: #FBFBFB !important;
}
.header-ctalinkk a::after {
  content: "→" !important;
  margin-left: 0.5rem !important;
  display: inline-block !important;
  transition: transform 0.3s ease !important;
}
.header-ctalinkk a:hover::after {
  transform: translateX(3px) !important;
}
.header-ctalinkk a:focus-visible {
  outline: 2px solid var(--text-inverse);
  outline-offset: 2px;
}

#logo,
picture#logo source,
picture#logo img {
  max-height: 60%;
  vertical-align: middle;
}
img.anna-round {
  border-radius: 50%;
  border: solid 1px #a8a8a8;
  float: left;
  margin-right: 25px;
}
img.houzz {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
#footer-info {
  color: #d0d0d0;
  line-height: 15px;
}
#footer-info a,
#footer-widgets .footer-widget a,
#footer-widgets .footer-widget li a {
  color: white;
  font-weight: 600;
}

footer#main-footer {
  background-color: #202533;
}
.textwidget {
  color: #e7e7e8;
}
#main-footer .footer-widget h4 {
  color: #aa814a;
}
ul#menu-footer-pages a {
  color: #e7e7e8 !important;
}
#footer-bottom {
  background-color: #1c212d;
}
#footer-widgets .footer-widget li {
  height: 25px;
  padding-left: 2px;
}
.et_pb_widget a {
  text-decoration: none;
  color: #1f1f1f;
  font-size: 15px;
}
.et_pb_widget li a:hover {
  color: #a77f48;
  font-weight: 500;
}
#footer-widgets .footer-widget li:before {
  border-style: none;
}
.et_pb_widget ul li {
  margin-bottom: 0;
}
#top-menu .sub-menu .menu-item a {
  font-size: 15px;
  text-transform: capitalize;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border: 2px solid transparent;
  outline: none;
  transition: all 0.2s ease;
}
#top-menu li ul {
  padding: 10px 0;
  width: 280px !important;
  border-top: 3px solid #925f36;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 8px 8px;
}
#top-menu li li {
  width: 100%;
  margin: 0;
  padding: 0px 4px;
  position: relative;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  transition: all 0.2s ease;
}
.icon-xs { width: 0.75rem; height: 0.75rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-primary { color: var(--primary); }
.icon-secondary { color: var(--text-secondary); }
.icon-muted { color: var(--text-muted); }
.icon-light { color: var(--text-light); }
.icon-spin {
  animation: icon-spin 1s linear infinite;
}

@keyframes icon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.icon-pulse {
  animation: icon-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes icon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}
.dipi-button-grid::before {
  content: attr(data-icon);
  font-family: "ETmodules" !important;
  font-size: 1.2em;
  margin-right: 8px;
  flex-shrink: 0;
}
a.et_pb_button.dipi-button-wrap[data-icon]:after {
  content: attr(data-icon);
  font-family: 'ETmodules' !important;
  display: inline-block;
  padding-left: 10px;
  font-size: 1em;
  line-height: 1;
  position: relative;
  top: 1px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
a.et_pb_button.dipi-button-wrap:hover:after {
  transform: translateX(4px);
}
.arrow-right {
  transform: translateX(0);
  transition: transform 0.3s ease;
}
.arrow-right:hover {
  transform: translateX(3px);
}





.dipi_faq_0 .dipi-faq-entry {
  background-color: #f4f4f4;
  margin-bottom: 10px !important;
}
.dt-zoom-in,
.dt-zoom-in a {
  overflow: hidden;
  transition: all 1.5s 0s ease;
}
.dt-zoom-in img {
  transform: scale(1.1);
}
.arrow::after,
.arrow-right::after {
  content: '›';
  pointer-events: none;
  display: inline-block;
  margin-left: 0.25em;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.6, 1);
}


ul.et-social-icons {
  display: none;
}
div#et_top_search {
  display: none;
}
@media (max-width: 768px) {
  .et_pb_section_0.addition-section {
    min-height: auto;
  }
.et_pb_slider_0 {
    height: 400px !important;
    order: 2;
  }
  .et_pb_container[style*="height: 720px"] {
    height: 400px !important;
  }
  

  
  .hero-support-text {
    font-size: 15px;
    margin-bottom: var(--space-lg);
  }
  
  .certification-badge {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
.badge-title {
    font-size: 12px;
  }
.badge-subtitle {
    font-size: 10px;
  }

  
  .phone-cta-container {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  
.trust-indicators,
  .badges-container {
    justify-content: center;
  }

  .has-tooltip {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .tooltip-content {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .hero-eyebrow {
    font-size: 12px;
  }
  
  .phone-cta-container {
    padding: 1rem;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
.dipi-button-grid-container {
    gap: var(--space-lg);
  }
}
@media (max-width: 767px) {
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
}
.container {
  contain: layout style;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.maserat-related-posts-section,
.maserat-post-taxonomy {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
  contain: layout style paint;
}
img,
video,
iframe {
  content-visibility: auto;
  contain: layout style paint;
}

.maserat-related-post-card,
.maserat-post-thumbnail,
.maserat-related-post-title,
.maserat-related-post-cta,
.maserat-cta-arrow,
.btn-secondary::after,
.external-link::after,
.trust-badge,
.certification-badge {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.maserat-related-post-card,
.maserat-post-thumbnail,
.maserat-related-post-title,
.maserat-related-post-cta,
.maserat-cta-arrow,
.btn-secondary::after,
.external-link::after,
.trust-badge,
.certification-badge {
  transition: transform var(--transition-smooth), 
              color var(--transition-smooth), 
              background-color var(--transition-smooth),
              box-shadow var(--transition-smooth);
}
.phone-cta-container,
.phone-cta-link,
.badges-container,
.certification-badge,
.badge-vs,
.maserat-post-taxonomy {
  display: flex;
  align-items: center;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

/* Inter and Poppins are loaded via wp_enqueue_style (Google Fonts) in functions.php */

.maserat-related-posts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  align-items: stretch;
  contain: layout style;
}
@media print {
  * {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
.maserat-related-posts-container {
    display: block;
  }

}
@media (max-width: 768px) {
  .maserat-related-post-card:hover {
    transform: none;
    box-shadow: var(--shadow-base);
  }
}
@media (prefers-reduced-data: reduce) {
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

.maserat-related-posts-container {
  contain: layout style;
}
@media (prefers-reduced-data: reduce) {
  * {
    background-image: none !important;
  }
  
  * {
    font-family: system-ui, -apple-system, sans-serif !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --text-light: #000000;
    --border-light: #000000;
  }
}
@media print {
  /* Print styles are handled in blog-post-shortcodes.css */
}
/* ===== DIVI THEME INTEGRATION STYLES ===== */
/* Meta Information Container */
.et_pb_post_title .et_pb_title_meta_container {
  margin-bottom: 24px !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 14px !important;
  color: #6b7280 !important;
}
/* Meta Links */
.et_pb_title_meta_container a {
  color: #111827 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.et_pb_title_meta_container a:hover {
  color: #4b5563 !important;
}
/* Meta Separators */
.et_pb_title_meta_container .et_pb_title_separator {
  margin: 0 8px !important;
  color: #d1d5db !important;
}
/* Common styles for both author and date (blog-author-d = correct; blog-authoer-d = legacy typo) */
.et_pb_text.blog-author-d,
.et_pb_text.blog-authoer-d,
.et_pb_text.blog-date-d {
  font-family: "Roboto", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
}
/* Author Name Styles */
.et_pb_text.blog-author-d,
.et_pb_text.blog-authoer-d {
  font-weight: 600 !important;
  color: #111827 !important;
}
.et_pb_text.blog-author-d:before,
.et_pb_text.blog-authoer-d:before {
  content: "By " !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
}
/* Date Styles */
.et_pb_text.blog-date-d {
  font-weight: 400 !important;
  color: #6b7280 !important;
}
/* Container for author and date */
.et_pb_text.blog-author-d,
.et_pb_text.blog-authoer-d,
.et_pb_text.blog-date-d {
  display: inline-block !important;
  margin-right: 16px !important;
}
/* ===== RESPONSIVE STYLES FOR DIVI ELEMENTS ===== */
/* Tablet Responsive */
@media (max-width: 768px) {
  .et_pb_post_title h1.entry-title {
    font-size: 28px !important;
    margin-bottom: 12px !important;
  }
  .et_pb_text.blog-author-d,
  .et_pb_text.blog-authoer-d,
  .et_pb_text.blog-date-d {
    font-size: 13px !important;
  }
}
/* Mobile Responsive */
@media (max-width: 480px) {
  .et_pb_post_title h1.entry-title {
    font-size: 24px !important;
  }
  .et_pb_title_meta_container {
    font-size: 13px !important;
  }
  .et_pb_text.blog-author-d,
  .et_pb_text.blog-authoer-d,
  .et_pb_text.blog-date-d {
    font-size: 12px !important;
    display: block !important;
    margin-right: 0 !important;
  }
}
/* ===== INTEGRATION WITH SHORTCODE STYLES ===== */
/* Note: Taxonomy styles moved to dedicated shortcode folders */
/* ===== MASERAT RELATED POSTS STYLES ===== */
.maserat-related-posts-section {
  margin: 48px 0;
  padding: 0;
  clear: both;
}
.maserat-related-posts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
  padding: 0;
}
/* Large format - 3 columns on desktop */
@media (min-width: 1024px) {
  .maserat-related-posts-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
/* Related Post Card - Equal Heights */
.maserat-related-post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}
/* Enhanced Hover Effects */
.maserat-related-post-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
  border-color: #d1d5db;
}
.maserat-related-post-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: all 0.3s ease;
}
.maserat-related-post-link:hover {
  text-decoration: none;
  color: inherit;
}
/* Image Section - Fixed Height for Consistency */
.maserat-related-post-image {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #f9fafb;
  flex-shrink: 0;
}
.maserat-post-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.maserat-related-post-card:hover .maserat-post-thumbnail {
  transform: scale(1.08);
}
/* Placeholder for posts without images */
.maserat-post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  background: #f9fafb;
}
/* Content Section - Flexible Height */
.maserat-related-post-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.maserat-related-post-text {
  flex-grow: 1;
  margin-bottom: 24px;
}
/* Enhanced Title Styling */
.maserat-related-post-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  margin: 0 0 16px 0;
  transition: color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.maserat-related-post-card:hover .maserat-related-post-title {
  color: #2563eb;
}
.maserat-related-post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Footer Section - Always at Bottom */
.maserat-related-post-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}
.maserat-related-post-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #2563eb;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.maserat-related-post-card:hover .maserat-related-post-cta {
  transform: translateX(6px);
  color: #1d4ed8;
}
.maserat-cta-text {
  margin-right: 8px;
}
.maserat-cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.maserat-related-post-card:hover .maserat-cta-arrow {
  transform: translateX(4px);
}
/* Tablet Responsive */
@media (max-width: 1023px) {
  .maserat-related-posts-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
  }
.maserat-related-post-content {
    padding: 24px;
  }
.maserat-related-post-title {
    font-size: 22px;
  }
}
/* Mobile Responsive */
@media (max-width: 767px) {
  .maserat-related-posts-section {
    margin: 32px 0;
  }
.maserat-related-posts-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
.maserat-related-post-image {
    height: 180px;
  }
.maserat-related-post-content {
    padding: 20px;
  }
.maserat-related-post-title {
    font-size: 20px;
    line-height: 1.3;
  }
.maserat-related-post-excerpt {
    font-size: 15px;
  }
.maserat-related-post-cta {
    font-size: 14px;
  }
}
/* Small Mobile */
@media (max-width: 480px) {
  .maserat-related-post-image {
    height: 160px;
  }
.maserat-related-post-content {
    padding: 18px;
  }
.maserat-related-post-title {
    font-size: 18px;
  }
.maserat-related-post-excerpt {
    font-size: 14px;
  }
}
/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .maserat-related-post-card,
  .maserat-post-thumbnail,
  .maserat-related-post-title,
  .maserat-related-post-cta,
  .maserat-cta-arrow {
    transition: none;
  }
.maserat-related-post-card:hover {
    transform: none;
  }
.maserat-related-post-card:hover .maserat-post-thumbnail {
    transform: none;
  }
.maserat-related-post-card:hover .maserat-related-post-cta {
    transform: none;
  }
.maserat-related-post-card:hover .maserat-cta-arrow {
    transform: none;
  }
}
/* High Contrast Mode */
@media (prefers-contrast: high) {
  .maserat-related-post-card {
    border: 2px solid #000;
  }
.maserat-related-post-title {
    color: #000;
  }
.maserat-related-post-card:hover .maserat-related-post-title {
    color: #0000ff;
  }
.maserat-related-post-cta {
    color: #0000ff;
  }
}
/* Print Styles */
@media print {
  .maserat-related-posts-section {
    break-inside: avoid;
    margin: 20px 0;
  }
.maserat-related-posts-container {
    display: block;
  }
.maserat-related-post-card {
    border: 1px solid #000;
    box-shadow: none;
    margin-bottom: 20px;
    break-inside: avoid;
  }
.maserat-related-post-image {
    height: 120px;
  }
.maserat-related-post-cta {
    display: none;
  }
}
/* Dark Mode Support (if theme supports it) */
@media (prefers-color-scheme: dark) {
  .maserat-related-post-card {
    background: #1f2937;
    border-color: #374151;
  }
.maserat-related-post-title {
    color: #f9fafb;
  }
.maserat-related-post-excerpt {
    color: #d1d5db;
  }
.maserat-related-post-footer {
    border-color: #374151;
  }
.maserat-post-placeholder {
    background: #374151;
    color: #9ca3af;
  }
}

/* Loading State (optional) */
.maserat-related-posts-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #6b7280;
}
/* No Results State */
.maserat-related-posts-empty {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  font-style: italic;
}


/* Feature Lists */
.feature-list {
  list-style-type: none;
  padding-left: 0;
  margin-left: 15px;
  line-height: 0.9em !important;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-left: 0;
  list-style-type: none !important;
}
.feature-list li:before {
  content: "\2714";
  color: #22c55e;
  margin-right: 10px;
  font-weight: bold;
}
/* Autofill Styling */
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset !important;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}
/* ===== LANDING PAGE STYLES ===== */
/* CTA Full Width */
.cta-full-with a {
  width: 100% !important;
  height: 50px !important;
  font-size: 20px;
  text-transform: capitalize !important;
}
/* Social Links */
.right-section {
  display: flex;
  align-items: center;
}
.divider {
  width: 1px;
  height: 16px;
  background-color: #d1d5db;
  margin: 0 24px;
}
.social-links {
  display: flex;
  align-items: center;
}
.social-link {
  color: #9ca3af;
  transition: color 0.2s;
  margin-left: 16px;
}
.social-link:hover {
  color: #4b5563;
}
.social-link svg {
  width: 20px;
  height: 20px;
}


/* ===== BLOG-SPECIFIC STYLES ===== */
/* WordPress Block Images - Fixed margins and rounded corners */
.wp-block-image {
  max-width: 100% !important;
  margin: 1.5em 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.wp-block-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: unset !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
/* Blog Post Typography */
h2.wp-block-heading {
  margin: 20px 0 40px 0;
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

ol.wp-block-list {
  padding-left: 4%;
}
/* TL;DR Boxes */
.tldr-box {
  padding: 32px;
  position: relative;
  border-radius: 8px;
  border-left: 4px solid #b3935d;
  margin: 32px 0;
}
.tldr-box::before {
  content: "TL;DR";
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 500;
}
.tldr-box p {
  font-size: 24px !important;
  line-height: 1.6 !important;
  margin-top: 20px !important;
  letter-spacing: -0.8px !important;
  font-weight: 400;
}
.tldr-platinum {
  background: #f5f5f5;
}
.tldr-platinum::before {
  background: #1e293b;
  color: #f8f7f4;
}
.tldr-platinum p {
  color: #1e293b !important;
}
/* External Links */
/* Section Titles */
p.section-title {
  color: #1e40af;
  font-weight: 600;
  font-size: 18px;
  padding: 1rem 2rem;
  background-color: rgb(239 246 255);
  border-radius: 8px;
  margin-bottom: 1rem;
  display: inline-block;
  text-transform: uppercase;
  border: 1px solid #1e40af1f;
}
/* Breadcrumbs */
nav.rank-math-breadcrumb {
  color: #111827;
  font-size: 15px;
}
/* ===== CONSOLIDATED RESPONSIVE DESIGN SYSTEM ===== */

/* ===== LARGE DESKTOP (2XL) ===== */
/* Base .container and layout already cover 2xl; add overrides here if needed */
/* ===== DESKTOP (XL) ===== */
@media (min-width: 1280px) and (max-width: 1535px) {

  

}
/* ===== LAPTOP (LG) ===== */
@media (min-width: 1024px) and (max-width: 1279px) {

  

.dipi-button-grid-container {
    gap: var(--space-lg);
  }
}
/* ===== TABLET (MD) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Hero Section */
  .et_pb_section_0.addition-section {
    min-height: auto;
  }
.et_pb_slider_0 {
    height: 400px !important;
  }
.et_pb_container[style*="height: 720px"] {
    height: 400px !important;
  }

  .hero-support-text {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
  }
  
  /* Button Grid */
  .dipi-button-grid-container {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }
.dipi-button-grid {
    width: 100% !important;
    justify-content: center !important;
    padding: var(--space-4) var(--space-6) !important;
    font-size: var(--text-base) !important;
  }
  
  /* Trust Badges */
  .badges-container {
    justify-content: center;
    gap: var(--space-md);
  }
  
  .certification-badge {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
.badge-title {
    font-size: var(--text-xs);
  }
.badge-subtitle {
    font-size: var(--text-xs);
  }
.badge-img {
    height: 32px !important;
    max-height: 32px !important;
    width: auto;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    filter: grayscale(100%) contrast(110%);
    transition: filter 0.3s ease;
  }

  
  /* Tooltip */
  .trust-indicators,
  .badges-container {
    justify-content: center;
  }
  
  .has-tooltip {
    border-left: none !important;
    padding-left: 0 !important;
  }
  
  .tooltip-content {
    display: none !important;
  }
  
.maserat-post-taxonomy {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
  }
  
  /* Forms - Consolidated */
  .form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .form-header p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 1rem;
    max-width: 560px;
  }

  
  /* Blog Styles */
  .wp-block-image {
    margin: 1em 0 !important;
  }
  
  .tldr-box {
    padding: var(--space-6);
    margin: var(--space-6) 0;
  }
  
  .tldr-box p {
    font-size: var(--text-xl) !important;
  }
  
  .section-title {
    font-size: var(--text-base);
    padding: var(--space-2) var(--space-3);
  }
  

  
  /* Related Posts */
  .maserat-related-posts-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-7);
  }
.maserat-related-post-content {
    padding: var(--space-6);
  }
.maserat-related-post-title {
    font-size: var(--text-xl);
  }
}
/* ===== MOBILE (SM) ===== */
@media (max-width: 767px) {
  /* Grid Layout */
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  
  /* Related Posts */
  .maserat-related-posts-section {
    margin: var(--space-8) 0;
  }
.maserat-related-posts-container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
.maserat-related-post-image {
    height: 180px;
  }
.maserat-related-post-content {
    padding: var(--space-5);
  }
.maserat-related-post-title {
    font-size: var(--text-xl);
    line-height: var(--leading-snug);
  }
.maserat-related-post-excerpt {
    font-size: var(--text-sm);
  }
.maserat-related-post-cta {
    font-size: var(--text-sm);
  }
}
/* ===== SMALL MOBILE (XS) ===== */
@media (max-width: 480px) {
  /* Hero Text */
  .maserat-hero-text {
    font-size: var(--text-xl);
  }
  
  .hero-eyebrow {
    font-size: var(--text-xs);
  }
  
  /* Buttons */
  .dipi-button-grid {
    padding: var(--space-4) var(--space-5) !important;
    font-size: var(--text-sm) !important;
  }
  
  /* Badges */
  .badges-container {
    gap: var(--space-2);
  }
  
  
  /* Related Posts */
  .maserat-related-post-image {
    height: 160px;
  }
.maserat-related-post-content {
    padding: var(--space-4);
  }
.maserat-related-post-title {
    font-size: var(--text-lg);
  }
.maserat-related-post-excerpt {
    font-size: var(--text-sm);
  }
  
}


/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Disable specific animations */
  .maserat-related-post-card,
  .maserat-post-thumbnail,
  .maserat-related-post-title,
  .maserat-related-post-cta,
  .maserat-cta-arrow,
  .btn-secondary::after,
  .external-link::after,
  .trust-badge,
  .certification-badge,
  .fade-in {
    transition: none !important;
    animation: none !important;
  }

  /* Disable transforms */
  .maserat-related-post-card:hover,
  .btn-secondary:hover::after,
  .external-link:hover::after,
  .trust-badge:hover,
  .certification-badge:hover {
    transform: none !important;
  }
}
/* ===== PRINT STYLES FOR MERGED COMPONENTS ===== */
@media print {
.maserat-post-taxonomy {
    border: 1px solid #000;
    box-shadow: none;
  }
}

/* Slide caption box with blur effect */
.et_pb_slide_description {
  will-change: opacity, transform;
}

.et_pb_slider .et_pb_slide_description {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.35); /* lighter and more transparent */
  padding: 16px 20px !important;
  border-radius: 10px;
  max-width: 320px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* subtle shadow for separation */
  backdrop-filter: blur(8px); /* stronger blur */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  font-family: 'Montserrat', sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.2); /* subtle edge highlight */
}

/* Title: strong but elegant */
.et_pb_slider .et_pb_slide_description .et_pb_slide_title {
  font-size: 19px !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  color: #1a1a1a !important;
  line-height: 1.4;
  text-align: left !important;
  text-shadow: none !important;
  font-family: 'Intro', sans-serif;
  letter-spacing: 0.3px;
  padding-bottom: 4px;
}

/* Description: readable and clean */
.et_pb_slider .et_pb_slide_description p {
  font-size: 15.5px !important;
  font-weight: 500;
  color: #2c2c2c !important;
  line-height: 1.55;
  margin: 0;
  text-align: left !important;
  text-shadow: none !important;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
  .et_pb_slider .et_pb_slide_description {
    left: 12px;
    bottom: 12px;
    padding: 12px 16px !important;
    max-width: 80%;
  }
}



@media (max-width: 480px) {
  .section-subtitle::after {
    width: 36px;
  }
}

.equal-height-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px; /* Adjust based on your tallest column */
}

@media (max-width: 768px) {
  .equal-height-column {
    min-height: auto;
  }
}

.addition-card {
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.card-title {
  color: #1e3a8a;
  font-size: 20px;
  font-weight: 600;
  margin-left: 12px;
  margin-bottom: 0;
}

.card-description {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 18px;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  letter-spacing: -0.6px !important;
  line-height: 1.4em;
}

/* Heading styles */
.section-heading {
  font-family: 'Intro', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #12283F;
  margin-bottom: 0.5em;
}

.section-subheading {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1.5em;
}

/* Contact info */
.contact-info {
  list-style: none;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #1A1A1A;
}
.contact-info li {
  margin-bottom: 0.75em;
}
.contact-info a {
  color: #204CE5;
  text-decoration: none;
}

/* === Contact Details & Social Icons === */
.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
.contact-details a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

/* Trust indicators */
.trust-indicators {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
  font-size: 0.75rem !important;
  color: #6c757d !important;
}


/* Contact info text improvements */
.contact-info p,
.contact-info a {
  font-size: 16px;
  font-weight: 400;
  color: #1f2937;
  line-height: 1.6;
}

/* Contact headline */
.contact-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

/* Social icons alignment */
.contact-info img {
  margin-right: 10px;
  vertical-align: middle;
}

/* ===== CUSTOM COMPONENTS (CONSOLIDATED) ===== */

/* Fine divider */
hr.fine-divider {
  border: none;
  border-top: 1px solid rgb(215 215 215 / 80%);
  width: 30%;
  margin-left: 0;
  margin: 11px 0;
}

/* Signature CTA link */
.signature-cta {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.25s ease;
  gap: 0.4em;
  position: relative;
  border-bottom: 1px solid transparent;
}

.signature-cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 1.1em;
  transform: translateX(0);
}

.signature-cta:hover {
  color: #0a66c2;
  border-bottom: 1px solid #0a66c2;
}

.signature-cta:hover::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .signature-cta {
    padding: 10px 0;
    font-size: 18px;
  }

  .signature-cta:hover {
    background-color: rgba(10, 102, 194, 0.05);
  }
}

/* Divi blurb / module header spacing */
.et_pb_blurb_description {
  padding: 0.5vw 2vw 1.5vw 1.5vw;
}

h3.et_pb_module_header {
  padding: 0 1vw 0 1.5vw;
}

/* Secondary button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-secondary::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

.btn-secondary:hover::after {
  transform: translateX(6px);
}

/* Trust badge & certification */
.trust-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trust-badge {
  transition: all 0.2s ease-in-out;
}

.certification-badge img {
  transition: opacity 0.2s ease-in-out;
}

.certification-badge img:hover {
  opacity: 0.9;
}

/* Tooltip */
.has-tooltip {
  cursor: pointer;
}

.has-tooltip .tooltip-content {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 6px;
  width: max-content;
  max-width: 250px;
  z-index: 100;
  text-align: center;
}

.has-tooltip .tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.has-tooltip:hover .tooltip-content {
  display: block;
}

@media (max-width: 768px) {
  .trust-indicators {
    justify-content: center;
  }

  .badges-container {
    justify-content: center;
  }

  .trust-badge {
    width: 100%;
    justify-content: center;
  }

  .has-tooltip {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .has-tooltip .tooltip-content {
    display: none !important;
  }
}

/* Badges container */
.badges-container {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* Phone CTA */
.phone-cta-container {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.25rem;
  background-color: transparent;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 0;
  color: #374151;
}

.phone-cta-text {
  /* inherits from .phone-cta-container */
}

.phone-cta-link {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.phone-cta-link:hover {
  color: #1d4ed8;
}

.phone-cta-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
  vertical-align: middle;
}

/* External link */
.external-link {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-right: 1.2em;
  color: #007bff;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.external-link::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1em;
  color: #007bff;
  transition: transform 0.2s ease, color 0.2s ease;
}

.external-link:hover {
  color: #0056b3;
}

.external-link:hover::after {
  transform: translateX(3px);
  color: #0056b3;
}

/* Utility: grid & two-columns (masonry override is earlier in file) */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

.two-columns {
  max-width: 700px;
  margin: 0 auto;
}

.two-columns ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.two-columns li {
  margin-bottom: 0.4rem;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
}
