/* =========================================
   02. HOMEPAGE
   WAVE Fix: Work With Us button contrast
   ========================================= */

body.home .buttons .button.solid_color a.primary-color[href*="/get-a-quote/"] {
    color: #222222 !important;
}

/* =========================================
   ABOUT US — Paragraph contrast correction
   Preserve existing background transparency
   ========================================= */

.icarus-about-text p {
    color: #111111 !important;
    opacity: 1 !important;
}

.icarus-about-text {
    background-color: rgba(255, 255, 255, 0.15);
}

body.page-id-40 .flip-box-back h5 strong {
    color: #222222 !important;
	text-shadow: none !important;
}

/* =========================================
   SERVICES — Shared text contrast correction
   Applied to text blocks with custom class:
   icarus-services-text
   ========================================= */

.icarus-services-text h1,
.icarus-services-text h2,
.icarus-services-text h3,
.icarus-services-text h4,
.icarus-services-text h5,
.icarus-services-text h6,
.icarus-services-text p {
    color: #111111 !important;
    opacity: 1 !important;
}

.icarus-services-text {
    background-color: rgba(255, 255, 255, 0.15);
}

/* =========================================
   OUR WORK — Text contrast correction
   Preserve translucent background panels
   ========================================= */

.icarus-work-text h1,
.icarus-work-text h2,
.icarus-work-text h3,
.icarus-work-text h4,
.icarus-work-text h5,
.icarus-work-text h6,
.icarus-work-text p {
    color: #111111 !important;
    opacity: 1 !important;
}

.icarus-work-text {
    background-color: rgba(255, 255, 255, 0.15);
}

/* =========================================
   TV SERIES — Portfolio Grid Style 4
   WAVE: White text on yellow background
   ========================================= */

.portfolio-items .work-item.style-4
.work-info .bottom-meta h3 {
    color: #222222 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* =========================================
   NEWS / BLOG — Active pagination contrast
   WAVE: White text on yellow background
   ========================================= */

#pagination .page-numbers.current {
    color: #222222 !important;
}

/* =========================================
   CONTACT — Athens & Shanghai Fancy Boxes
   Dark background for text and buttons
   ========================================= */

.icarus-contact-locations .nectar-fancy-box.using-img .inner,
.icarus-contact-locations .nectar-fancy-box.using-img .link-text {
    background-color: rgba(0, 0, 0, 0.35) !important;
}

/* Preserve white text */
.icarus-contact-locations .nectar-fancy-box.using-img .inner h3,
.icarus-contact-locations .nectar-fancy-box.using-img .inner p,
.icarus-contact-locations .nectar-fancy-box.using-img .inner a,
.icarus-contact-locations .nectar-fancy-box.using-img .link-text {
    color: #ffffff !important;
    opacity: 1 !important;
}

.icarus-contact-locations
.nectar-fancy-box .box-link .screen-reader-text {
    color: #222222 !important;
    opacity: 1 !important;
}

/* =========================================
   GET A QUOTE — Gravity Forms required marks
   ========================================= */

#gform_4 .gfield_required {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

#gform_4 #gform_submit_button_4 {
    color: #222222 !important;
    opacity: 1 !important;
}

/* =========================================
   NAVIGATION — Dropdown menu contrast
   Hover, active and keyboard focus states
   ========================================= */

/* Hover state */
#header-outer .sf-menu .sub-menu li > a:hover .menu-title-text,

/* Active/current menu item */
#header-outer .sf-menu .sub-menu li.current-menu-item > a .menu-title-text,
#header-outer .sf-menu .sub-menu li.current-menu-ancestor > a .menu-title-text,

/* Keyboard focus */
#header-outer .sf-menu .sub-menu li > a:focus-visible .menu-title-text {
    color: #222222 !important;
}