/* GulfXPrime V14.0.11 — mega menu + portfolio article contrast correction */

/* ========== MEGA MENU: LIGHT OUTER PANEL, DARK INTRO CARD ========== */
.gxp-v14-0-3 .mega-menu,
.gxp-v14-0-3 .compact-mega,
.gxp-v14-0-3 .mini-menu,
.gxp-v14-0-3 .mega-menu.v1408-dark-block,
.gxp-v14-0-3 .compact-mega.v1408-dark-block,
.gxp-v14-0-3 .mini-menu.v1408-dark-block{
  background:#ffffff !important;
  color:#0f172a !important;
  border:1px solid rgba(148,163,184,.22) !important;
  box-shadow:0 28px 80px rgba(15,23,42,.14) !important;
}
.gxp-v14-0-3 .mega-menu .mega-intro{
  background:linear-gradient(145deg,#17233a 0%,#252b3a 100%) !important;
  border-radius:18px !important;
  padding:18px 20px !important;
  color:#ffffff !important;
}
.gxp-v14-0-3 .mega-menu .mega-intro span{color:#cbd5e1 !important}
.gxp-v14-0-3 .mega-menu .mega-intro h2,
.gxp-v14-0-3 .mega-menu .mega-intro strong,
.gxp-v14-0-3 .mega-menu .mega-intro b{color:#ffffff !important}
.gxp-v14-0-3 .mega-menu .mega-intro p{color:#e2e8f0 !important}
.gxp-v14-0-3 .mega-menu .mega-intro a{color:#ffffff !important}
.gxp-v14-0-3 .mega-menu .mega-links,
.gxp-v14-0-3 .mega-menu .mega-links a,
.gxp-v14-0-3 .compact-mega a,
.gxp-v14-0-3 .mini-menu a{background:transparent !important;color:#0f172a !important}
.gxp-v14-0-3 .mega-menu .mega-links b,
.gxp-v14-0-3 .mega-menu .mega-links strong,
.gxp-v14-0-3 .compact-mega b,
.gxp-v14-0-3 .compact-mega strong{color:#172033 !important}
.gxp-v14-0-3 .mega-menu .mega-links small,
.gxp-v14-0-3 .mega-menu .mega-links span,
.gxp-v14-0-3 .compact-mega small,
.gxp-v14-0-3 .compact-mega span,
.gxp-v14-0-3 .mini-menu small,
.gxp-v14-0-3 .mini-menu span{color:#64748b !important}
.gxp-v14-0-3 .mega-menu .mega-links a:hover,
.gxp-v14-0-3 .compact-mega a:hover,
.gxp-v14-0-3 .mini-menu a:hover{background:#f5f8fc !important;color:#0f172a !important}

/* ========== PORTFOLIO DETAIL: ALWAYS LIGHT ARTICLE BODY ========== */
.gxp-v14-0-3 .v1402-project-body{background:#ffffff !important;color:#172033 !important}
.gxp-v14-0-3 .v1402-project-article,
.gxp-v14-0-3 .v1402-article-section,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block{
  background:transparent !important;
  color:#172033 !important;
  box-shadow:none !important;
}
.gxp-v14-0-3 .v1402-article-section h1,
.gxp-v14-0-3 .v1402-article-section h2,
.gxp-v14-0-3 .v1402-article-section h3,
.gxp-v14-0-3 .v1402-article-section h4,
.gxp-v14-0-3 .v1402-article-section strong,
.gxp-v14-0-3 .v1402-article-section b,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block h1,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block h2,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block h3,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block h4,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block strong,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block b{color:#101827 !important;opacity:1 !important}
.gxp-v14-0-3 .v1402-article-section p,
.gxp-v14-0-3 .v1402-article-section li,
.gxp-v14-0-3 .v1402-article-section small,
.gxp-v14-0-3 .v1402-article-section span:not(.v1402-section-no),
.gxp-v14-0-3 .v1402-article-section a,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block p,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block li,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block small,
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block span:not(.v1402-section-no),
.gxp-v14-0-3 .v1402-article-section.v1408-dark-block a{color:#526075 !important;opacity:1 !important}
.gxp-v14-0-3 .v1402-section-no{color:#ef3f5f !important;opacity:1 !important}

/* project editorial callouts */
.gxp-v14-0-3 .v1402-live-copy,
.gxp-v14-0-3 .v1402-live-copy.v1408-dark-block{
  background:#f8fafc !important;
  color:#526075 !important;
  border-left:4px solid #ef3f5f !important;
  box-shadow:none !important;
}
.gxp-v14-0-3 .v1402-live-copy > span{color:#8793a5 !important}
.gxp-v14-0-3 .v1402-live-copy p,
.gxp-v14-0-3 .v1402-live-copy li,
.gxp-v14-0-3 .v1402-live-copy strong,
.gxp-v14-0-3 .v1402-live-copy b{color:#526075 !important}
.gxp-v14-0-3 .v1402-live-copy strong,
.gxp-v14-0-3 .v1402-live-copy b{color:#172033 !important}

/* light inner grids/cards inside portfolio articles */
.gxp-v14-0-3 .v1402-journey > div,
.gxp-v14-0-3 .v1402-cap-grid > div,
.gxp-v14-0-3 .v1402-scan-grid > div,
.gxp-v14-0-3 .v1402-checklist > div,
.gxp-v14-0-3 .v1402-tech-facts > div,
.gxp-v14-0-3 .v1402-priority-grid article,
.gxp-v14-0-3 .v1402-timeline article,
.gxp-v14-0-3 .v1402-estimate-note,
.gxp-v14-0-3 .v1402-live-unavailable{
  background:#f8fafc !important;
  border:1px solid #e3e9f1 !important;
  color:#172033 !important;
  box-shadow:none !important;
}
.gxp-v14-0-3 .v1402-journey h3,
.gxp-v14-0-3 .v1402-journey b,
.gxp-v14-0-3 .v1402-journey span,
.gxp-v14-0-3 .v1402-cap-grid h3,
.gxp-v14-0-3 .v1402-cap-grid b,
.gxp-v14-0-3 .v1402-scan-grid strong,
.gxp-v14-0-3 .v1402-checklist b,
.gxp-v14-0-3 .v1402-tech-facts b,
.gxp-v14-0-3 .v1402-priority-grid h3,
.gxp-v14-0-3 .v1402-timeline h3,
.gxp-v14-0-3 .v1402-estimate-note b,
.gxp-v14-0-3 .v1402-live-unavailable b{color:#172033 !important}
.gxp-v14-0-3 .v1402-journey p,
.gxp-v14-0-3 .v1402-cap-grid p,
.gxp-v14-0-3 .v1402-scan-grid span,
.gxp-v14-0-3 .v1402-checklist p,
.gxp-v14-0-3 .v1402-tech-facts span,
.gxp-v14-0-3 .v1402-priority-grid p,
.gxp-v14-0-3 .v1402-timeline p,
.gxp-v14-0-3 .v1402-estimate-note p,
.gxp-v14-0-3 .v1402-live-unavailable p{color:#667085 !important}

/* TOC: light card + only note remains dark */
.gxp-v14-0-3 .v1402-toc-card,
.gxp-v14-0-3 .v1402-toc-card.v1408-dark-block{background:#ffffff !important;color:#172033 !important;border:1px solid #e2e8f0 !important;box-shadow:0 10px 28px rgba(15,23,42,.05) !important}
.gxp-v14-0-3 .v1402-toc-card h2{color:#172033 !important}
.gxp-v14-0-3 .v1402-toc-card a{color:#59667a !important}
.gxp-v14-0-3 .v1402-toc-card a:hover{color:#ef3f5f !important}
.gxp-v14-0-3 .v1402-toc-note{background:linear-gradient(180deg,#17233a,#1d2c48) !important;color:#fff !important}
.gxp-v14-0-3 .v1402-toc-note p{color:#d7e1ed !important}

/* Hero of a project is also light content next to the actual dark screenshot card */
.gxp-v14-0-3 .v1402-project-hero-grid,
.gxp-v14-0-3 .v1402-project-hero-grid.v1408-dark-block{background:transparent !important;color:#172033 !important;box-shadow:none !important}
.gxp-v14-0-3 .v1402-project-hero-copy h1{color:#101827 !important}
.gxp-v14-0-3 .v1402-project-hero-copy p{color:#526075 !important}
.gxp-v14-0-3 .v1402-project-badges span{background:#fff !important;color:#4d5b70 !important;border-color:#dce2ea !important}

/* Actual screenshot overlay remains intentionally dark */
.gxp-v14-0-3 .v1402-project-visual-meta{background:rgba(15,23,42,.90) !important;color:#fff !important}
.gxp-v14-0-3 .v1402-project-visual-meta span{color:#ff9aad !important}
.gxp-v14-0-3 .v1402-project-visual-meta b{color:#fff !important}
.gxp-v14-0-3 .v1402-project-visual-meta small{color:#cbd5e1 !important}

/* Safety against old opacity inheritance */
.gxp-v14-0-3 .mega-menu *,
.gxp-v14-0-3 .v1402-project-body *{opacity:1}
