/* Hide all slides by default in the Webflow designer */
.wf-design-mode .home-hero_slider .swiper-slide {
  display: none !important;
  opacity: 0 !important;
}

/* Show the first slide by default if no data-show attribute is specified */
.wf-design-mode .home-hero_slider:not([data-show]) .swiper-slide:first-child {
  display: block !important;
  opacity: 1 !important;
}

/* Show specific slides based on data-show attribute */
.wf-design-mode .home-hero_slider[data-show="1"] .swiper-slide:nth-child(1),
.wf-design-mode .home-hero_slider[data-show="2"] .swiper-slide:nth-child(2),
.wf-design-mode .home-hero_slider[data-show="3"] .swiper-slide:nth-child(3),
.wf-design-mode .home-hero_slider[data-show="4"] .swiper-slide:nth-child(4),
.wf-design-mode .home-hero_slider[data-show="5"] .swiper-slide:nth-child(5),
.wf-design-mode .home-hero_slider[data-show="6"] .swiper-slide:nth-child(6),
.wf-design-mode .home-hero_slider[data-show="7"] .swiper-slide:nth-child(7),
.wf-design-mode .home-hero_slider[data-show="8"] .swiper-slide:nth-child(8),
.wf-design-mode .home-hero_slider[data-show="9"] .swiper-slide:nth-child(9),
.wf-design-mode .home-hero_slider[data-show="10"] .swiper-slide:nth-child(10) {
  display: block !important;
  opacity: 1 !important;
}

.wf-design-mode .accordion-scroll {
  position: relative !important;
}

/* Disable Swiper functionality in the Webflow designer */
.wf-design-mode .swiper-wrapper {
  transform: none !important;
  display: block !important;
}

/* Add a helper message in the Webflow designer */
.wf-design-mode .home-hero_slider::before {
  content: "Add data-show='1', data-show='2', etc. to preview specific slides";
  display: block;
  padding: 8px;
  background-color: #f5f5f5;
  color: #333;
  font-size: 12px;
  text-align: center;
  border: 1px dashed #ccc;
  position: absolute;
  left: 10px;
  top: 10px;
  width: calc(100% - 40px);
  z-index: 1000;
}

.hero-heading * { color: black !important; }


/* Fix for misspelled wrapper class if it exists */
.wf-design-mode .swipper-wrapper {
  display: block !important;
}

/* Modified scroll experience container - removed scroll jacking */
.scroll-experience-container {
  position: relative;
  height: auto;
  display: block;
}

.sub-accordion_header {
  cursor: pointer;
}

.sub-accordion.active .sub-accordion_header {
  background-color: var(--swatch--glacier);
}

.sub-accordion .sub-accordion_icon {
  transition: transform 0.3s ease;
}

.accordion_item.active .accordion_content {
    height: auto;
    opacity: 1;
    overflow: visible;
    padding-top: var(--section-space--small);
    padding-bottom: var(--space--md);
}

.accordion_item .accordion_content {
    height: auto; /* Changed from 0 to auto to show content by default */
    overflow: visible; /* Changed from hidden to visible */
    opacity: 1; /* Changed from 0 to 1 */
    transition: all 0.3s ease-in-out;
    padding-bottom: var(--space--md); /* Added padding */
    padding-top: var(--section-space--small); /* Added padding */
}

.wf-design-mode .scroll-experience-container {
  display: block;
  height: auto;
}

.wf-design-mode .accordion_content {
    height: auto;
    opacity: 1;
    overflow: visible;
    padding-top: var(--section-space--small);
    padding-bottom: var(--space--md);
  }

  .wf-design-mode .sub-accordion_content {
    display: block;
    position: relative;
  }


.wf-design-mode .sub-accordion_image {
display: block;
position: relative;
}
  
.wf-design-mode .sub-accordion_text:before {
content: "Update image for image to be replaced in circle";
display: block;
padding: 8px;
background-color: #f5f5f5;
color: #333;
font-size: 12px;
text-align: center;
border: 1px dashed #ccc;
margin: 8px 0 24px
}

/* Rotating animation for the left split-CTA graphic */
@keyframes rotateGraphic {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Rotating animation for the left split-CTA graphic */
@keyframes rotateGraphicReverse {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(-360deg);
    }
  }

.split-cta_graphic.left svg {
  animation: rotateGraphic 400s linear infinite; /* 30 seconds for a full rotation */
  transform-origin: center; /* Rotate around the center */
}

/* Pause animation when user prefers reduced motion */
@media (prefers-reduced-motion) {
  .split-cta_graphic.left svg{
    animation: none;
  }
}

  
  .animate-360 {
    animation: rotateGraphic 400s linear infinite; /* 30 seconds for a full rotation */
    transform-origin: center; /* Rotate around the center */
  }

  .animate-360-reverse {
    animation: rotateGraphicReverse 400s linear infinite; /* 30 seconds for a full rotation */
    transform-origin: center; /* Rotate around the center */
  }
  
  /* Pause animation when user prefers reduced motion */
  @media (prefers-reduced-motion) {
    .animate-360{
      animation: none;
    }
    .animate-360-reverse {
      animation: none;
    }
  }

  .prose p { font-size: var(--size--1-25rem); }

  .prose blockquote {
    border-left: 4px solid var(--swatch--sunstone-100); /* Distinct border */
    padding: 2rem;
    margin: 1.5rem 0;
    font-style: italic;
    font-size: var(--size--1-125rem);
    color: var(--swatch--forge-500); /* Muted color for emphasis */
    background-color: var(--swatch--parchment-100); /* Optional: subtle background */
  }

  .prose blockquote p {
    font-size: var(--size--1-125rem); /* Slightly smaller than regular paragraphs */
    line-height: 1.6;
  }

  /* General styling for the prose class */
  .prose {
    max-width: 61.9375rem ; /* or whatever width suits your layout */
    margin-left: auto;
    margin-right: auto;
    font-family: sans-serif; /* Adjust as needed */
    color: var(--swatch--forge-500);
    line-height: 1.75;
  }

  .prose sup {
    font-size: 0.875rem;
    color: var(--swatch--sunstone-100);
  }

  .prose sup a {
    color: var(--swatch--sunstone-100);
  }

  .prose h1,
  .prose h2,
  .prose h3,
  .prose h4,
  .prose h5,
  .prose h6 {
    color: var(--swatch--forge-900);
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .prose h1 { font-size: var(--size--3rem); }
  .prose h2 { font-size: var(--size--2-5rem); }
  .prose h3 { font-size: var(--size--2rem); }
  .prose h4 { font-size: var(--size--1-75rem); }
  .prose h5 { font-size: var(--size--1-5rem); }
  .prose h6 { font-size: var(--size--1-25rem); }

  .prose ul,
  .prose ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
  }

  .prose ul {
    list-style-type: disc;
    font-size: var(--size--1-25rem);
    color: var(--swatch--forge-500);
    font-family: var(--text-main--font-family);
  }

  .prose ol {
    list-style-type: decimal;
    font-size: var(--size--1-25rem);
    color: var(--swatch--forge-500);
    font-family: var(--text-main--font-family);
  }

  .prose li {
    margin-bottom: 0.5rem;
  }

  .prose ul > li::marker,
  .prose ol > li::marker {
    color: var(--swatch--sunstone-100);
  }

  .prose a {
    color: var(--swatch--sunstone-500);
    text-decoration: underline;
  }

  .prose a:hover {
    color: var(--swatch--sunstone-700);
  }

  .prose img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
  }

  .prose code {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    font-size: 0.85em;
    border-radius: 3px;
  }

  .prose pre {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    overflow-x: auto;
    border-radius: 5px;
  }

  /* Team Slider Styles for Webflow Designer */
.wf-design-mode .team_slider-main .swiper-wrapper,
.wf-design-mode .team_slider-track .swiper-wrapper {
  display: flex !important;
  transform: none !important;
  flex-wrap: nowrap;
  overflow: visible;
}

/* Show only one slide in the main slider */
.wf-design-mode .team_slider-main .collection-item {
  display: none !important;
  opacity: 0 !important;
}

.wf-design-mode .team_slider-main .collection-item:first-child {
  display: block !important;
  opacity: 1 !important;
  width: 100% !important;
}

/* Show three slides in the track slider */
.wf-design-mode .team_slider-track .collection-item {
  display: none !important;
  opacity: 0 !important;
}

.wf-design-mode .team_slider-track .collection-item:nth-child(2),
.wf-design-mode .team_slider-track .collection-item:nth-child(3),
.wf-design-mode .team_slider-track .collection-item:nth-child(4) {
  display: block !important;
  opacity: 1 !important;
  padding-left: 1rem;
  width: 33.333% !important;
}

/* Responsive design preview for track slider */
@media screen and (max-width: 991px) {
  .wf-design-mode .team_slider-track .collection-item:nth-child(4) {
    display: none !important;
  }
  
  .wf-design-mode .team_slider-track .collection-item:nth-child(2),
  .wf-design-mode .team_slider-track .collection-item:nth-child(3) {
    width: 50% !important;
  }
}

@media screen and (max-width: 767px) {
  .wf-design-mode .team_slider-track .collection-item:nth-child(3) {
    display: none !important;
  }
  
  .wf-design-mode .team_slider-track .collection-item:nth-child(2) {
    width: 100% !important;
  }
}

/* Disabled arrow styling */
.team_arrow.disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Lenis smooth scroll styles */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

.team-card .team-content { opacity: 0; transition: opacity 0.3s ease; }
.team-card:hover .team-content { opacity: 1; }

.image-card {
  overflow: hidden;
}


.image-card:hover .image-card_image {
    transition: transform 2s ease;
    transform: scale(1.20);
    position: relative;
    z-index: 1;
}

.tab-nav_item .tab-nav_icon,
.tab-nav_item .tab-nav_headline {
  transition: color 0.3s ease;
}
.tab-nav_item:hover .tab-nav_icon,
.tab-nav_item:hover .tab-nav_headline {
  color: var(--swatch--forge-100);
}

.tab-nav_item.active .tab-nav_icon,
.tab-nav_item.active .tab-nav_headline {
  color: var(--swatch--forge-100);
}

.tab-nav_item::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--swatch--anchor-100);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: height 0.3s ease;
}

.tab-nav_item.active::after {
    height: 4px;
}

.wf-design-mode .tab-content_item {
  padding: 2rem 0;
}

/* Main Menu Styles - Final Fix */
.main-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100vh;
  color: white;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.main-menu.active {
  transform: translateX(0);
}

/* When the menu is active, ensure the primary panel is visible and aligned to the right */
.main-menu.active .main-menu_primary {
  position: relative;
  left: 50%;
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When submenu is active, reset the primary panel position */
.main-menu.submenu-active .main-menu_primary {
  left: 0;
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-menu_container {
  display: flex;
  width: 100%;
  height: 100%;
}

.main-menu_primary {
  width: 50%;
  overflow-y: auto;
  background-color: #0f1a2a;
}
.main-menu_primary,
.main-menu_secondary {
  padding: 7rem 4.5rem 2.5rem;
}

.main-menu_secondary {
  width: 50%;
  background-color: var(--swatch--parchment-100, #e8f1f5);
  color: var(--swatch--forge-100, #0f1a2a);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-menu.submenu-active .main-menu_secondary {
  opacity: 1;
  visibility: visible;
}

.main-menu_link-text {
    padding: 2.5rem 0;
    position: relative;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.main-menu_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.main-menu_link-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  background-color: transparent;
}

.main-menu_link { position: relative;}

/* Position the submenu toggle correctly */
.main-menu_submenu-toggle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Only transition the background */
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%); /* This centers it vertically */
}

.main-menu_submenu-toggle:hover {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

/* Handle the SVG rotation separately */
.main-menu_submenu-toggle svg {
  transition: transform 0.3s ease;
  transform: rotate(0deg); /* Default state - arrow points right */
}

/* Active state - arrow points left */
.main-menu_item.active .main-menu_submenu-toggle svg {
  transform: rotate(180deg); /* Rotate 180 degrees to point left */
}

.main-menu_submenu {
  display: none;
  flex-direction: column;
  gap: 2.5rem;
  text-align: right;
}
.main-menu_submenu-item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--swatch--anchor-100, #A6B5B1);
}

.main-menu_submenu-item div { 
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-menu_submenu-header {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--swatch--forge-100, #0f1a2a);
  margin-bottom: 15px;
  text-decoration: none;
}

.main-menu_submenu-link {
  display: block;
  font-size: 16px;
  color: var(--swatch--forge-100, #0f1a2a);
  margin-bottom: 10px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.main-menu_submenu-link:hover {
  opacity: 1;
}

/* Close button styles for primary and secondary panels */
.main-menu_close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1010;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.main-menu_close:hover {
  transform: rotate(90deg);
}

/* Base close button styles */
.main-menu_close::before,
.main-menu_close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transition: background-color 0.3s ease;
}

/* X shape for close buttons */
.main-menu_close::before {
  transform: rotate(45deg);
}

.main-menu_close::after {
  transform: rotate(-45deg);
}

/* Primary close button is always white */
.main-menu_close-primary::before,
.main-menu_close-primary::after {
  background-color: white;
}

/* Secondary close button is dark */
.main-menu_close-secondary::before,
.main-menu_close-secondary::after {
  background-color: var(--swatch--forge-100, #0f1a2a);
}

/* Hide secondary close button by default */
.main-menu_close-secondary {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show secondary close button when submenu is active */
.main-menu.submenu-active .main-menu_close-secondary {
  opacity: 1;
  visibility: visible;
}

/* Update the secondary close button styles */
.main-menu_close-secondary {
    position: relative;
    top: 0;
    right: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Ensure the secondary close button has the same hover effect as the primary */
.main-menu_close-secondary:hover {
    transform: rotate(90deg);
}

/* Hide primary close button when submenu is active */
.main-menu.submenu-active .main-menu_close-primary {
  opacity: 0;
  visibility: hidden;
}

.main-menu_button {
  cursor: pointer;
  font-size: 24px;
  transition: opacity 0.3s ease;
}

.main-menu_button:hover {
  opacity: 0.8;
}

.main-menu_back {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(15, 26, 42, 0.1);
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.main-menu_back:hover {
  background-color: rgba(15, 26, 42, 0.2);
}

/* Responsive styles */
@media (max-width: 991px) {
  .main-menu {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .main-menu {
    width: 100%;
  }
  
  .main-menu_primary,
  .main-menu_secondary {
    padding: 7rem 4.5rem;
  }
  
  .main-menu_link-text {
    font-size: 20px;
  }
  
  .main-menu_submenu-header {
    font-size: 18px;
  }
}

/* When submenu is active, ensure the menu stays visible */
.main-menu.submenu-active {
  transform: translateX(0);
}

/* Ensure the menu is wide enough to show both panels */
.main-menu {
  width: 80%;
}

/* On smaller screens, make the menu full width */
@media (max-width: 991px) {
  .main-menu {
    width: 100%;
  }
}

/* Mobile menu styles */
@media (max-width: 768px) {
  /* Make primary menu full width */
  .main-menu_primary {
    width: 100%;
    left: 0 !important; /* Override the desktop positioning */
  }
  
  /* Make secondary menu full width and position it to slide in from the right */
  .main-menu_secondary {
    width: 100%;
    position: absolute;
    top: 0;
    right: -100%; /* Start off-screen to the right */
    height: 100%;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* When submenu is active, slide in the secondary menu */
  .main-menu.submenu-active .main-menu_secondary {
    right: 0;
  }
  
  /* Hide the primary menu when submenu is active */
  .main-menu.submenu-active .main-menu_primary {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  /* Adjust the back button to be more prominent on mobile */
  .main-menu_back {
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* Desktop menu width adjustments - Restored */
@media (min-width: 769px) {
  /* Set specific widths for primary and secondary panels */
  .main-menu {
    width: 783px; /* Total width: 353px + 430px */
  }
  
  .main-menu_primary {
    width: 353px;
    flex: 0 0 353px; /* Prevent flexbox from resizing */
  }
  
  .main-menu_secondary {
    width: 430px;
    flex: 0 0 430px; /* Prevent flexbox from resizing */
  }
  
  /* Reset the left position for the primary panel */
  .main-menu.active .main-menu_primary {
    left: auto; /* Remove the left positioning */
    position: relative; /* Reset position to static */
  }
  
  /* When submenu is active, ensure both panels are visible side by side */
  .main-menu.submenu-active {
    transform: translateX(0); /* Show the full menu */
  }
  
  /* Override the previous mobile-focused styles */
  .main-menu.submenu-active .main-menu_primary {
    opacity: 1;
    visibility: visible;
    left: auto;
    position: relative;
  }
  
  /* Ensure the secondary panel appears properly */
  .main-menu.submenu-active .main-menu_secondary {
    position: relative;
    right: auto;
  }
  
  /* Adjust the transform for the initial state to show only the primary panel */
  .main-menu.active:not(.submenu-active) {
    transform: translateX(430px); /* Show only the primary panel initially */
  }
  
  /* Simple fix for close button position */
  .main-menu.active:not(.submenu-active) .main-menu_close {
    left: 300px; /* Position from the left instead of right */
    right: auto;
  }
  
  /* Reset close button position when submenu is active */
  .main-menu.submenu-active .main-menu_close {
    left: auto;
    right: 0;
  }
}


.main-menu_action-links {
    margin-top: auto;
}

.main-menu_action-links > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.main-menu_primary {
    display: flex;
    flex-direction: column;
}

/* Fix for arrow orientation if needed */
.arrow-fixed {
  transform: rotate(0deg) !important; /* Force correct initial orientation */
}

.main-menu_item.active .arrow-fixed {
  transform: rotate(180deg) !important; /* Force correct active orientation */
}

.main-menu_action-link { display: flex; align-items: center; gap: .25rem; }

/* Focus styles for keyboard navigation - Fixed */
.main-menu_link-text:focus,
.main-menu_submenu-toggle:focus,
.main-menu_back:focus,
.main-menu_submenu-link:focus,
.main-menu_submenu-header:focus,
.main-menu_close:focus,
.main-menu_button:focus {
  outline: 2px solid #4d90fe;
  outline-offset: 2px;
}

/* Hide outline for mouse users but show for keyboard */
body:not(.keyboard-nav) .main-menu *:focus {
  outline: none;
}

/* Webflow Design Mode Preview Styles - For Default Structure */
.wf-design-mode [data-show-menu="true"] .main-menu {
  transform: translateX(0) !important;
  position: relative !important;
  height: auto !important;
  width: 100% !important;
  overflow: visible !important;
  z-index: 1 !important;
  background-color: transparent !important;
  display: block !important;
}

/* Show the menu items directly in design mode */
.wf-design-mode [data-show-menu="true"] .main-menu_item {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-bottom: 20px !important;
  background-color: rgba(15, 26, 42, 0.9) !important;
  padding: 15px !important;
  border-radius: 8px !important;
}

.wf-design-mode [data-show-menu="true"] .main-menu_action-links {
display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-bottom: 20px !important;
  background-color: rgba(15, 26, 42, 0.9) !important;
  padding: 15px !important;
  border-radius: 8px !important;
}

/* Make menu links visible */
.wf-design-mode [data-show-menu="true"] .main-menu_link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.wf-design-mode [data-show-menu="true"] .main-menu_link-text {
  color: white !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

/* Make submenu toggles visible */
.wf-design-mode [data-show-menu="true"] .main-menu_submenu-toggle {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Show all submenus for editing */
.wf-design-mode [data-show-menu="true"] .main-menu_submenu {
  display: block !important;
  margin-top: 15px !important;
  padding: 15px !important;
  background-color: rgba(232, 241, 245, 0.95) !important;
  border-radius: 8px !important;
}

/* Style submenu items */
.wf-design-mode [data-show-menu="true"] .main-menu_submenu-item {
  margin-bottom: 15px !important;
  padding: 10px !important;
  border: 1px solid rgba(15, 26, 42, 0.1) !important;
  border-radius: 4px !important;
}

.wf-design-mode [data-show-menu="true"] .main-menu_submenu-header {
  display: block !important;
  color: var(--swatch--forge-100, #0f1a2a) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  margin-bottom: 10px !important;
}

.wf-design-mode [data-show-menu="true"] .main-menu_submenu-link {
  display: block !important;
  color: var(--swatch--forge-100, #0f1a2a) !important;
  opacity: 0.8 !important;
  margin-bottom: 5px !important;
  padding: 5px !important;
}

/* Hide close buttons in design mode */
.wf-design-mode [data-show-menu="true"] .main-menu_close {
  display: none !important;
}

/* Add helpful labels */
.wf-design-mode [data-show-menu="true"] .main-menu::before {
  content: "Menu Preview (Editor Only)" !important;
  display: block !important;
  text-align: center !important;
  font-weight: bold !important;
  padding: 10px !important;
  background-color: #f5f5f5 !important;
  color: #333 !important;
  border-radius: 4px !important;
  margin-bottom: 20px !important;
}

.wf-design-mode [data-show-menu="true"] .main-menu_submenu::before {
  content: "Submenu Content" !important;
  display: block !important;
  color: var(--swatch--forge-100, #0f1a2a) !important;
  font-size: 12px !important;
  font-weight: bold !important;
  margin-bottom: 10px !important;
}

/* Style for active map layers */
.map-layer {
  transition: opacity 0.3s ease-in-out; /* Add transition for opacity */
}

/* Style for active map layers */
.map-layer.active-filter {
  opacity: 1; /* Make the layer fully visible */
}

/* Style for active filter item */
.map-filter_item:hover {
    transition: all 0.3s ease-in-out;
    color: var(--swatch--forge-100);
  }
/* Style for active filter item */
.map-filter_item.active-filter {
  background-color: var(--swatch--sunstone-100);
  color: #fff;
}

.map-filter_item.active-filter  svg g > path{
  fill: #fff !important; opacity: .40 !important;
}

.map-filter_item.active-filter svg path + path {
   fill: #fff !important;
  }

.js-read-more-bio {
  display: none;
}

/* Styles for scroll item active state */
.sub-scroll_item_content-container {
  transition: opacity 0.4s ease, transform 0.5s ease;
  opacity: 0.2;
  transform: scale(0.80) translateY(20px);
  transition: ease all 0.3s;
}

.sub-scroll_item_content-container.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  background-color: rgba(255, 255, 255, 0.05);
}

.sub-scroll_item_content-container:hover {
  background-color: var(--swatch--glacier);
}

/* Image transition styles */
.accodion_image-container .g_visual_img {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Make sure the image container has proper positioning for absolute elements */
.accodion_image-container {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 991px) and (max-width: 1400px) and (max-height: 830px) {
  .accodion_image-container {
      border-radius: 29rem;
      width: 20rem;
      height: 20rem;
  }
  .code-embed-6 {
    z-index: 20;
    width: 30rem;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  } 
  .scroll-item_image {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    position: sticky;
    top: 50%;
    transform: translate(0, -50%);
    margin-top: 50% !important;
    display: flex;
    align-items: center;
  }
  .sub-scroll_item {
    min-height: 50vh;
  }
}

@media screen and (min-width: 991px) and (max-width: 1400px) and (max-height: 700px) {
  .accodion_image-container {
      width: 18rem;
      height: 18rem;
  }
  .code-embed-6 {
    width: 27rem;
  } 
  .scroll-item_image {
    transform: translate(0, -40%);
  }
  .sub-scroll_item {
    min-height: 60vh;
  }
}

@media screen and (max-height: 900px) {
  .steps_header,
  .step { position: static; }
}

/* Placeholder color for form elements */
::placeholder,
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: var(--swatch--anchor-100) !important;
  opacity: 1; /* Firefox requires this to apply the color properly */
}

/* For older browsers that use different pseudo-elements */
::-webkit-input-placeholder {
  color: var(--swatch--anchor-100) !important;
}

::-moz-placeholder {
  color: var(--swatch--anchor-100) !important;
  opacity: 1; /* Firefox requires this */
}

:-ms-input-placeholder {
  color: var(--swatch--anchor-100) !important;
}

:-moz-placeholder {
  color: var(--swatch--anchor-100) !important;
  opacity: 1; /* Firefox requires this */
}

/* For select elements with no value selected */
select:invalid,
select option:first-child {
  color: var(--swatch--anchor-100) !important;
}

/* Sticky Header Styles */
.header-sticky {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.header-hidden {
  transform: translateY(-100%);
}

.header-visible {
  transform: translateY(0);
}

.split-panel_headline sup {
  font-size: 40%;
  top: -1.125em;
}

.project-slider .swiper-pagination-bullet {
  background-color: var(--swatch--glacier);
}

.project-slider .swiper-pagination-bullet-active {
  background-color: var(--swatch--glacier);
}

.rich-on-dark p {
  color: white;
}
.rich-on-dark {
  color: white;
}

.rich-on-dark a {
  color: white;
}

.rich-on-dark h1,
.rich-on-dark h2,
.rich-on-dark h3,
.rich-on-dark h4,
.rich-on-dark h5,
.rich-on-dark h6 {
  color: white;
}