/* ===== AI MICROSITE NAVIGATION - MOBILE & STICKY STYLES ===== */

/* Base styles for AI microsite navigation */
.ai-microsite-navigation {
    background: #000;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 998; /* Below main header but above content */
    transition: all 0.3s ease;
}

/* When main header is sticky, adjust top position */
.main-header.sticky ~ .ai-microsite-navigation,
.main-header.reveal ~ .ai-microsite-navigation {
    top: 70px; /* Adjust based on main header height */
}

/* Admin bar adjustments */
.admin-bar .ai-microsite-navigation {
    top: 32px;
}

.admin-bar .main-header.sticky ~ .ai-microsite-navigation,
.admin-bar .main-header.reveal ~ .ai-microsite-navigation {
    top: 102px; /* 70px main header + 32px admin bar */
}

@media (max-width: 48.875rem) {
    .admin-bar .ai-microsite-navigation {
        top: 46px;
    }
    
    .admin-bar .main-header.sticky ~ .ai-microsite-navigation,
    .admin-bar .main-header.reveal ~ .ai-microsite-navigation {
        top: 116px; /* 70px main header + 46px admin bar */
    }
}

/* Navigation list styles */
.ai-microsite-navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 50px;
}

.ai-microsite-navigation li {
    margin: 0;
    padding: 0;
}

.ai-microsite-navigation a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.ai-microsite-navigation a:hover,
.ai-microsite-navigation a:focus {
    color: #8FFF3E;
    border-bottom-color: #8FFF3E;
    text-decoration: none;
}

.ai-microsite-navigation a.active,
.ai-microsite-navigation .current-menu-item a {
    color: #8FFF3E;
    border-bottom-color: #8FFF3E;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ai-microsite-navigation {
        padding: 0 10px;
    }
    
    .ai-microsite-navigation ul {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    /* Hide scrollbar for Chrome, Safari and Opera */
    .ai-microsite-navigation ul::-webkit-scrollbar {
        display: none;
    }
    
    .ai-microsite-navigation a {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-width: max-content;
    }
}

@media (max-width: 480px) {
    .ai-microsite-navigation {
        padding: 0 5px;
    }
    
    .ai-microsite-navigation a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .ai-microsite-navigation a {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

/* Smooth scrolling for horizontal scroll on mobile */
.ai-microsite-navigation ul {
    scroll-behavior: smooth;
}

/* Add subtle gradient for scroll indication on mobile */
@media (max-width: 768px) {
    .ai-microsite-navigation {
        position: relative;
    }
    
    .ai-microsite-navigation::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 100%;
        background: linear-gradient(to right, transparent, #000);
        pointer-events: none;
        opacity: 0.7;
    }
}

/* Ensure proper spacing from content below */
.ai-microsite-navigation + * {
    margin-top: 0 !important;
}

/* If there's a specific container class, add padding-top to account for sticky nav */
.ai-microsite-page {
    padding-top: 60px; /* Adjust as needed */
}

@media (max-width: 768px) {
    .ai-microsite-page {
        padding-top: 50px;
    }
}

@media (max-width: 48rem) {
    .icon-cards--column-image-container {
        max-width: unset !important;
    }
}

/* === SUB-NAVIGATION === */
.sub-navigation {
  background-color: #5D564B;
  border-bottom: 1px solid #555555;
  padding: 15px 0;
}

.sub-navigation .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ai-microsite-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.ai-microsite-nav li {
  margin: 0;
}

.ai-microsite-nav a {
  text-decoration: none;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 0px;
  font-weight: 500;
  display: block;
  transition: all 0.3s ease;
}

.ai-microsite-nav a:hover {
  background-color: #716b61;
}

.ai-microsite-nav .current-menu-item a {
  background-color: transparent;
	border-bottom: 2px solid #8FFF3E;
	border-radius: 0px;
}


/* === HEADER STYLING === */

/* Notification bar */
/* body.single-ai_microsite #notification {
/*   background-color: #5D564B !important;
/*   color: #ffffff !important;
/* }

/* Utility menu */
/* body.single-ai_microsite nav.utility-menu,
/* body.single-ai_microsite nav.utility-menu * {
/*   background-color: #2C3CBB !important;
/*   color: #ffffff !important;
/*   fill: #ffffff !important;
/*   border-color: #ffffff !important;
}

/* Main header and navigation */
/* body.single-ai_microsite header.main-header,
/* body.single-ai_microsite .main-header * {
/*   background-color: #000000 !important;
/*   color: #ffffff !important;
}

/* Request Demo button */
/* body.single-ai_microsite nav.utility-menu #menu-item-140 a {
/*   background-color: #8FFF3E !important;
/*   color: #000000 !important;
/*   border: 2px solid #8FFF3E !important;
/*   transition: all 0.3s ease;
}

body.single-ai_microsite nav.utility-menu #menu-item-140 a:hover {
  background-color: transparent !important;
  color: #8FFF3E !important;
}

/* === CUSTOM BUTTONS === */
/* body.single-ai_microsite .custom-button {
/*   display: inline-block;
/*   padding: 12px 24px;
/*   font-weight: bold;
/*   text-transform: uppercase;
/*   text-align: center;
/*   border-radius: 999px;
/*   text-decoration: none !important;
/*   font-family: sans-serif;
/*   margin-top: 30px;
/*   transition: background 0.3s ease, color 0.3s ease;
/* }

/* body.single-ai_microsite .custom-button.green {
/*   background-color: #8FFF3E;
/*   color: #000 !important;
/*   border: 2px solid #8FFF3E;
/* }

/* body.single-ai_microsite .custom-button.green:hover {
/*   background-color: transparent;
/*   color: #8FFF3E !important;
/* }

/* body.single-ai_microsite .custom-button.green-outline {
/*   background-color: transparent;
/*   color: #8FFF3E !important;
/*   border: 2px solid #8FFF3E;
/* }

/* body.single-ai_microsite .custom-button.green-outline:hover {
/*   background-color: #8FFF3E;
/*   color: #000000 !important;
/* }

/* body.single-ai_microsite .custom-button.cement-outline {
/*   background-color: transparent;
/*   color: #5D564B !important;
/*   border: 2px solid #5D564B;
/* }

/* body.single-ai_microsite .custom-button.cement-outline:hover {
/*   background-color: #5D564B;
/*   color: #FFFFFF !important;
/* }

/* === LAYOUT COLUMNS === */
/* body.single-ai_microsite * {
  box-sizing: border-box;
}

body.single-ai_microsite .column-block .row.gap-small>.col {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

body.single-ai_microsite .column2 {
  float: left;
  width: 50%;
  padding: 15px;
}

body.single-ai_microsite .column3 {
  width: 33.33%;
  float: left;
  padding: 75px;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  color: white;
  border: 1px solid #8fff3e;
  text-align: center;
  min-height: 320px;
}

body.single-ai_microsite .columnsconcrete3 {
border: 1px solid #5d564b !important;
  padding: 10px 20px !important;
  float: left;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}


body.single-ai_microsite .rowsconcrete {
border: 1px solid #5d564b !important;
  padding: 10px 20px !important;
  float: left;
  margin: 0px -10px 0px 0px !important;
  background-size: cover;
  background-position: center;
  width:100% !important;
}

body.single-ai_microsite .rowsconcretefirst {
border: 1px solid #5d564b !important;
  padding: 10px 20px !important;
  float: left;
  margin: -50px 0px 0px 0px !important;
  background-size: cover;
  background-position: center;
  width:100% !important;
}

body.single-ai_microsite .imagefullright {
    background-image: url(https://www.ehs.com/wp-content/uploads/2025/07/FPOcolumncontentpic.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 831px;
    margin: -50px 0px 0px -30px !important;
    border-right: 1px solid #5d564b;
    border-bottom: 1px solid #5d564b;
    border-top: 1px solid #5d564b;
}

body.single-ai_microsite .column4 {
  width: 25%;
  float: left;
  padding: 40px;
  border: 1px solid #8fff3e;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  min-height: 220px;
}

body.single-ai_microsite .row:after {
  content: "";
  display: table;
  clear: both;
}

/* === FOOTER STYLING === */
/* body.single-ai_microsite footer,
body.single-ai_microsite .site-footer,
body.single-ai_microsite .main-footer {
  background-color: #2C3CBB !important;
  background-image: none !important;
  color: #ffffff !important;
  border-top: none !important;
}

body.single-ai_microsite footer *,
body.single-ai_microsite .site-footer *,
body.single-ai_microsite .main-footer * {
  color: #ffffff !important;
}

body.single-ai_microsite footer a:hover,
body.single-ai_microsite .site-footer a:hover,
body.single-ai_microsite .main-footer a:hover {
  color: #cccccc !important;
  text-decoration: underline;
}

/* Fix footer logo to be exact lime green #8FFF3E */
/* body.single-ai_microsite footer img,
/* body.single-ai_microsite .site-footer img,
/* body.single-ai_microsite .main-footer img {
/*   filter: brightness(0) saturate(100%) invert(90%) sepia(100%) saturate(1500%) hue-rotate(45deg) brightness(115%) contrast(90%) !important;
}

/* Social media icons */
/* body.single-ai_microsite footer .social-icons,
body.single-ai_microsite footer .social-links {
  filter: brightness(0) invert(1) !important;
}

body.single-ai_microsite footer .social-icons a,
body.single-ai_microsite footer .social-links a {
  border: 1px solid #ffffff !important;
  border-radius: 4px;
  padding: 8px;
  margin: 0 5px;
}

body.single-ai_microsite footer .social-icons a:hover,
body.single-ai_microsite footer .social-links a:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Newsletter button */
/* body.single-ai_microsite footer .newsletter-button,
body.single-ai_microsite footer .newsletter-btn,
body.single-ai_microsite footer a[href*="newsletter"] {
  background-color: #8FFF3E !important;
  color: #000000 !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  border: 2px solid #8FFF3E !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
}

body.single-ai_microsite footer .newsletter-button:hover,
body.single-ai_microsite footer .newsletter-btn:hover,
body.single-ai_microsite footer a[href*="newsletter"]:hover {
  background-color: transparent !important;
  color: #8FFF3E !important;
}

/* Footer buttons - place AFTER newsletter to avoid override */
/* body.single-ai_microsite footer button:not(.newsletter-button):not(.newsletter-btn),
body.single-ai_microsite footer input[type="submit"] {
  background-color: #8FFF3E !important;
  color: #000000 !important;
  border: 2px solid #8FFF3E !important;
  border-radius: 25px !important;
  padding: 12px 24px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
}

body.single-ai_microsite footer button:not(.newsletter-button):not(.newsletter-btn):hover,
body.single-ai_microsite footer input[type="submit"]:hover {
  background-color: transparent !important;
  color: #8FFF3E !important;
}

/* === BACK TO TOP BUTTON === */
/* body.single-ai_microsite .back-to-top,
body.single-ai_microsite .back-to-top-button,
body.single-ai_microsite .scroll-to-top,
body.single-ai_microsite #back-to-top,
body.single-ai_microsite .top-button {
  background-color: #8FFF3E !important;
  border: 2px solid #8FFF3E !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  transition: all 0.3s ease !important;
}

body.single-ai_microsite .back-to-top:hover,
body.single-ai_microsite #back-to-top:hover {
  background-color: transparent !important;
  border-color: #8FFF3E !important;
}

/* Arrow icon */
/* body.single-ai_microsite .back-to-top::after,
body.single-ai_microsite #back-to-top::after {
  content: "↑" !important;
  font-size: 24px !important;
  color: #000000 !important;
  display: block !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  font-weight: bold !important;
}

body.single-ai_microsite .back-to-top:hover::after,
body.single-ai_microsite #back-to-top:hover::after {
  color: #5D564B !important;
}

/* Hide text content */
/* body.single-ai_microsite .back-to-top span:not([class*="icon"]):not([class*="arrow"]),
body.single-ai_microsite #back-to-top span:not([class*="icon"]):not([class*="arrow"]) {
  display: none !important;
}

/* === ICON CARDS === */
/* body.single-ai_microsite .icon-cards--column-inner {
/*   border: 1px solid #5D564B !important;
/*   border-top: 1px solid #5D564B !important;
/* }

/* Convert icon images to brown */
/* body.single-ai_microsite .icon-card img,
/* body.single-ai_microsite .icon-cards img,
/* body.single-ai_microsite .wp-block-group img {
/*   filter: brightness(0) saturate(100%) invert(37%) sepia(10%) saturate(1195%) hue-rotate(314deg) brightness(92%) contrast(89%) !important;
}

/* === STATS MODULE === */
/* body.single-ai_microsite .stats--number {
  border-bottom-color: #2C3CBB !important;
  border-bottom: 3px solid;
}

/* Fix search icon positioning and container */
/* body.single-ai_microsite nav.utility-menu li#menu-item-141 {
    padding-right: 18px;
}

/* === RESPONSIVE DESIGN === */
/* @media screen and (max-width: 600px) {
  body.single-ai_microsite .column2,
  body.single-ai_microsite .column3,
  body.single-ai_microsite .column4 {
    width: 100%;
  }
}