/* GulfXPrime V14.0.8 — global readability and contrast tuning */
.gxp-v14-0-3 .gxp-dark-surface,
.gxp-v14-0-3 .v1408-dark-block,
.gxp-v14-0-3 .v1408-red-block{position:relative}

/* Keep emergency removal from older buggy auto-contrast logic */
.gxp-v14-0-3 .gxp-dark-surface h1,
.gxp-v14-0-3 .gxp-dark-surface h2,
.gxp-v14-0-3 .gxp-dark-surface h3,
.gxp-v14-0-3 .gxp-dark-surface h4,
.gxp-v14-0-3 .gxp-dark-surface h5,
.gxp-v14-0-3 .gxp-dark-surface h6,
.gxp-v14-0-3 .gxp-dark-surface strong,
.gxp-v14-0-3 .gxp-dark-surface b,
.gxp-v14-0-3 .gxp-dark-surface p,
.gxp-v14-0-3 .gxp-dark-surface li,
.gxp-v14-0-3 .gxp-dark-surface small,
.gxp-v14-0-3 .gxp-dark-surface span,
.gxp-v14-0-3 .gxp-dark-surface a:not(.nav-cta):not(.nav-audit):not(.button):not(.btn):not(.v14-btn){color:revert!important}

/* Strong readable treatment for true dark visual blocks */
.gxp-v14-0-3 .v1408-dark-block h1,
.gxp-v14-0-3 .v1408-dark-block h2,
.gxp-v14-0-3 .v1408-dark-block h3,
.gxp-v14-0-3 .v1408-dark-block h4,
.gxp-v14-0-3 .v1408-dark-block h5,
.gxp-v14-0-3 .v1408-dark-block h6,
.gxp-v14-0-3 .v1408-dark-block strong,
.gxp-v14-0-3 .v1408-dark-block b{color:#f8fbff!important}
.gxp-v14-0-3 .v1408-dark-block p,
.gxp-v14-0-3 .v1408-dark-block li,
.gxp-v14-0-3 .v1408-dark-block small,
.gxp-v14-0-3 .v1408-dark-block span,
.gxp-v14-0-3 .v1408-dark-block label,
.gxp-v14-0-3 .v1408-dark-block a:not(.nav-cta):not(.nav-audit):not(.button):not(.btn):not(.v14-btn){color:#d6e0ec!important}
.gxp-v14-0-3 .v1408-dark-block .eyebrow,
.gxp-v14-0-3 .v1408-dark-block [class*="kicker"],
.gxp-v14-0-3 .v1408-dark-block [class*="badge"]{color:#ff9cab!important}
.gxp-v14-0-3 .v1408-dark-block [class*="chip"],
.gxp-v14-0-3 .v1408-dark-block [class*="tag"]{background:rgba(255,255,255,.08)!important;color:#eef4fa!important;border-color:rgba(255,255,255,.12)!important}
.gxp-v14-0-3 .v1408-dark-block .v14-text-link,
.gxp-v14-0-3 .v1408-dark-block .text-link,
.gxp-v14-0-3 .v1408-dark-block [class*="link"]{color:#fff!important}
.gxp-v14-0-3 .v1408-dark-block .live-preview-badge{background:rgba(255,255,255,.96)!important;color:#101828!important}
.gxp-v14-0-3 .v1408-dark-block .nav-audit,
.gxp-v14-0-3 .v1408-dark-block .v14-btn-light{color:#111827!important}

/* Readable treatment for bright red highlight blocks */
.gxp-v14-0-3 .v1408-red-block h1,
.gxp-v14-0-3 .v1408-red-block h2,
.gxp-v14-0-3 .v1408-red-block h3,
.gxp-v14-0-3 .v1408-red-block h4,
.gxp-v14-0-3 .v1408-red-block h5,
.gxp-v14-0-3 .v1408-red-block h6,
.gxp-v14-0-3 .v1408-red-block strong,
.gxp-v14-0-3 .v1408-red-block b{color:#111827!important}
.gxp-v14-0-3 .v1408-red-block p,
.gxp-v14-0-3 .v1408-red-block li,
.gxp-v14-0-3 .v1408-red-block small,
.gxp-v14-0-3 .v1408-red-block span,
.gxp-v14-0-3 .v1408-red-block label,
.gxp-v14-0-3 .v1408-red-block a:not(.nav-cta):not(.nav-audit):not(.button):not(.btn):not(.v14-btn){color:rgba(255,255,255,.90)!important}
.gxp-v14-0-3 .v1408-red-block [class*="kicker"],
.gxp-v14-0-3 .v1408-red-block [class*="badge"],
.gxp-v14-0-3 .v1408-red-block .eyebrow{color:#fff!important;letter-spacing:.14em}
.gxp-v14-0-3 .v1408-red-block .v14-btn-light,
.gxp-v14-0-3 .v1408-red-block .nav-audit{color:#111827!important;background:#fff!important}
.gxp-v14-0-3 .v1408-red-block .v14-text-link,
.gxp-v14-0-3 .v1408-red-block .text-link,
.gxp-v14-0-3 .v1408-red-block [class*="link"]{color:#fff!important}

/* Targeted selectors for known problem zones */
.gxp-v14-0-3 .hero-copy h1,.gxp-v14-0-3 .hero-copy h2,.gxp-v14-0-3 .hero-copy h3{color:#111827!important}
.gxp-v14-0-3 .hero-copy p,.gxp-v14-0-3 .hero-proof span,.gxp-v14-0-3 .hero-proof small{color:#59667a!important}
.gxp-v14-0-3 .hero-copy em,.gxp-v14-0-3 .hero-copy .accent{color:#ef1744!important}
.gxp-v14-0-3 .v14-audit-copy h1,.gxp-v14-0-3 .v14-audit-copy h2,.gxp-v14-0-3 .v14-audit-copy h3{color:#111827!important}
.gxp-v14-0-3 .v14-audit-copy p{color:#667085!important}

/* Extra safe fixes for service/capability cards and CTA areas */
.gxp-v14-0-3 .service-card h1,.gxp-v14-0-3 .service-card h2,.gxp-v14-0-3 .service-card h3,
.gxp-v14-0-3 .work-card h1,.gxp-v14-0-3 .work-card h2,.gxp-v14-0-3 .work-card h3,
.gxp-v14-0-3 .insight-card h1,.gxp-v14-0-3 .insight-card h2,.gxp-v14-0-3 .insight-card h3{position:relative;z-index:2}

/* Prevent text wash-out from inherited opacity styles */
.gxp-v14-0-3 .v1408-dark-block *,
.gxp-v14-0-3 .v1408-red-block *{opacity:1}

@media (max-width:768px){
  .gxp-v14-0-3 .v1408-dark-block p,
  .gxp-v14-0-3 .v1408-red-block p{line-height:1.75}
}
