/* Base styles for menu items */
.right-menu .menu-item {
    font-family: var(--font-body);
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

/* Link styles */
.right-menu .menu-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Hover effect: change text color */
.right-menu .menu-item:hover,
.right-menu .menu-item:focus {
    color: var(--yellow);
    font-weight: 400 !important;
}

/* Optional: Hover effect with background color */
.right-menu .menu-item.hover-bg:hover,
.right-menu .menu-item.hover-bg:focus {
    background-color: var(--highlight-color);
    color: #ffffff; /* Adjust text color for contrast */
}

/* Curly brace colour */
.header .curly-brace {
    fill: var(--black);
}

.header.transparent-dark .curly-brace, .header.menu-open .curly-brace {
    fill: var(--yellow) !important;
}

/* Header container */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: var(--bone); /* Default to white */
    transition: color 0.3s ease;
    z-index: 1000;
    padding: 32px 64px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures left, center, and right alignment */
    width: 100%;
    max-width: 1800px; /* Prevents unnecessary stretching */
    margin: auto;
    position: relative;
    gap: 20px;
}

.header-container .custom-logo {
    top: none !important;
    transform: none !important;
}

.custom-logo svg {
    height: 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.container {
    padding-top: 20px;
}

@media (max-width: 1024px) {
    .header {
        padding: 16px;
    }
    .header .header-icons {
    padding-right: 0px !important;
    }
    .custom-logo svg {
        height: 20px;
        width: auto;
        max-width: 100%;
    }
    
    .custom-logo {
        display: flex;
        justify-content: center; /* Center the logo */
        align-items: center;
    }
}

/* Ensure menu is centered */
.main-navigation {
    /*flex: 1; /* Allows it to take available space */
    display: flex;
    justify-content: center; /* Centers menu */
}

.no-scroll {
    overflow: hidden;
    height: 100%; /* Ensure the height doesn't cause any scrolling */
    position: fixed; /* Prevent the page from scrolling */
    width: 100%; /* Prevent horizontal scrolling */
}

/* Base menu styling */
.menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 16px;
    align-items: center;
}

.menu a:not(.contact-button):hover {
    text-decoration: underline;
    text-underline-offset: 20%;
}

.menu-item.current-menu-item a:not(.contact-button) {
    text-decoration: underline;
    text-underline-offset: 20%;
}

@media (max-width: 1024px) {
    .menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 32px 16px 16px 16px;
    }
}

/* Make the mega menu full width */
@media (min-width: 1024px) {
    .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        /*width: 100vw !important; /* Full width of viewport */
        /*background: #FEFBE7 !important; /* Background color */
        /*padding: 40px 0 !important; /* Increase padding for better spacing */
        border-top: 1px solid #ddd !important;
        z-index: 1000 !important;
        /*opacity: 0 !important;*/
        /*visibility: hidden;*/
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
}

/* Mega menu content - Ensures it displays in three columns */
.sub-menu-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    
}

@media (min-width: 1024px) {
    .sub-menu-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Three equal columns */
        gap: 20px;
    }
}

/* Ensure lists inside sub-menu-content behave correctly */
.sub-menu-content ul {
    display: flex;
    flex-direction: column;
    /*gap: 10px;*/
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Show submenu when hovering */
.menu > li.menu-item-has-children .sub-menu {
    /*background-color: #FEFBE7 !important;*/
    /*background-color: var(--bone) !important;*/
    color: var(--header-text-color) !important;
}

.sub-menu.black-make-white-on-first-el-scroll {
    background-color: black !important;
}

.sub-menu.default-by-css {
    background-color: var(--bone) !important;
}

/* Show submenu when hovering */
/*@media (min-width: 1024px) {*/
/*    .menu > li.menu-item-has-children:hover .sub-menu {*/
/*        display: block !important;*/
/*        opacity: 1;*/
/*        visibility: visible;*/
/*    }*/
/*}*/

/*
.sub-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: black;
    z-index: 999;
}

/*
.sub-menu-wrapper .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.menu-item {
    position: relative;
}

.sub-menu {
    width: 100%;
}
*/

@media (min-width: 1024px) {
    .header-container .main-navigation .menu .menu-item-has-children .sub-menu-wrapper:before {
        border-top: solid 1px #E9E9E9;
        z-index: 100 !important;
        margin-top: 20px;
    }
}

/*
.sub-menu-content {
    z-index: 101 !important;
}
*/

.sub-menu-content ul {
    z-index: 101 !important;
}

@media (max-width: 1024px) {
.main-navigation {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    background: var(--bone);
    width: 100vw;
    height: calc(100dvh - 90px);
    border-top: 1px #E9E9E9 solid;
    overflow-x: auto;
}

.main-navigation.open {
    display: block;
}
.header.transparent-dark .main-navigation {
    background: var(--black);
}
.header.black-make-white-on-first-el-scroll .main-navigation {
    background: var(--black);
}
  
    
    /* Style for main menu items */
.elementor-nav-menu a {
    text-decoration: none; /* Remove default underline */
    font-weight: 400; /* Normal weight */
    transition: all 0.3s ease; /* Smooth transition */
}

/* Apply underline and bold on hover, focus, and active */
.elementor-nav-menu a:hover,
.elementor-nav-menu a:focus,
.elementor-nav-menu a.elementor-item-active {
    text-decoration: underline;
    font-weight: 700 !important;
}
/* Default chevron styling */
.menu-item-has-children .sub-arrow svg {
    transition: transform 0.3s ease; /* Smooth animation */
    color: #8E9298 !important;
}

/* Rotate chevron when the submenu is active */
.menu-item-has-children a[aria-expanded="true"] .sub-arrow svg {
    transform: rotate(180deg);
    color: #8E9298 !important;
}

.elementor-sub-item {
    border: 0 !important;
    /*margin-left: 0 !important;*/
}

}

.menu-item-has-children > a::after {
    font-family: "Font Awesome 6 Free"; /* Make sure FontAwesome is loaded */
    content: "\f078"; /* Unicode for FontAwesome chevron-down */
    font-weight: 900; /* Required for solid icons */
    font-size: 12px;
    margin-left: 10px; /* Adds space between text and icon */
    display: inline-block;
    transition: transform 0.3s ease;
    color: #8E9298;
}

.menu-item-has-children.open:hover > a::after {
        transform: rotate(180deg);
}

@media (min-width: 1024px) {
    /* Rotate chevron when hovered */
    .menu-item-has-children:hover > a::after {
        transform: rotate(180deg);
    }
}



/* Add this if there are any overflow issues */
@media (min-width: 1024px) {
    .main-navigation {
    position: relative;
    overflow: visible;
    }
}


.header.menu-open {
    background-color: black; /* Adjust the background color when the menu is open */
    z-index: 1100; /* Increase z-index when menu is open, if necessary */
}

/* Positioning the logo in the top-left corner */
/*
.custom-logo {
    position: absolute;
    left: 64px;
    z-index: 1100;
}
*/

/*
.custom-logo {
    flex-shrink: 0;
    margin-right: auto;
    position: relative;
}
*/

.current-location a {
    font-weight: bold !important;
    color: var(--black) !important; /* Example highlight color */
}

/* Positioning the menu button in the top center */
/*
.menu-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5000 !important;
}
*/
/* Styling the menu toggle text in its default state */
.menu-toggle {
    background: none !important; /* No background */
    border: none; /* No border */
    color: black; /* Default color of the text */
    font-size: 18px; /* Size of the button text */
    cursor: pointer;
    padding: 0; /* No padding, just text */
    text-decoration: none; /* No underline by default */
    font-weight: 500px;
    z-index: 5000 !important; /* Ensure it stays above the fullscreen menu */

}

/*
.header.transparent-dark .menu-toggle {
    color: white !important;
}
*/

/* When either class is applied, set menu text to white */
/*
.header.transparent-dark #primary-menu a,
.header.black-make-white-on-first-el-scroll #primary-menu a {
    color: white !important;
}
*/
/* Default: Keep text color unchanged on default pages */
.header.default-by-css #primary-menu a
{
    color: inherit;
}

/*
.header #primary-menu .sub-menu {
    background-color: var(--bone) !important;
}
*/

/* Allow dynamic color updates */
.header.black-make-white-on-first-el-scroll #primary-menu a {
    color: var(--header-text-color);
}

/* Allow dynamic color updates */
.header.transparent-dark #primary-menu a:not(.contact-button) {
    color: var(--header-text-color);
}


/* When header is black */
/*
.header.black-make-white-on-first-el-scroll #primary-menu .sub-menu a {
    color: var(--header-text-color);
}
*/

/* When header is black */
/*
.header.black-make-white-on-first-el-scroll #primary-menu .sub-menu {
    background-color: black !important;
}
*/

/* When header is transparent, sub-menu remains black */
.header.transparent-dark #primary-menu .sub-menu a {
    color: white !important;
}

/* When header is transparent, sub-menu remains black */
.header.transparent-dark #primary-menu .sub-menu {
    background-color: black !important;
}


/* Default: menu text black */
/*#primary-menu a {
    color: black !important;
}*/

#primary-menu a:not(.contact-button) {
    color: var(--header-text-color);
}

/*
.sub-menu.body-scrolled.body-scrolled-after-first-black-section {
    background-color: var(--bone) !important;
}
*/
.body-scrolled-after-first-black-section #primary-menu .sub-menu {
    background-color: var(--bone) !important;
}

/*
.body-scrolled #primary-menu a {
    color: var(--header-text-color) !important;
}


.body-scrolled-after-first-black-section #primary-menu a {
    color: white !important;
}


.body-scrolled-after-first-black-section #primary-menu .sub-menu a {
    color: white !important;
}


.body-scrolled-after-first-black-section #primary-menu .sub-menu {
    background-color: var(--bone) !important;
}


.body-scrolled #primary-menu .sub-menu a {
    color: white !important;
}
*/


/*
.body-scrolled #primary-menu .sub-menu{
    background-color: black !important;
}
*

.body-scrolled-after-first-black-section #primary-menu .sub-menu {
    background-color: black !important;
}
*/

.sub-menu.black-make-white-on-first-el-scroll {
    background-color: black !important;
    color: white !important;
}



/* Underline the text on hover when the menu is not active */
.menu-toggle:hover {
    color: black; /* Default color of the text */
    text-decoration: underline; /* Underline on hover */
}

/* Active state when the menu is visible */
.menu-toggle.active {
    color: white; /* Change to white when the menu is visible */
    text-decoration: none; /* Remove underline by default */
}

/* Underline the text on hover when the menu is active */
.menu-toggle.active:hover {
    text-decoration: underline; /* Underline on hover */
}

/* The fullscreen menu container styles */
.fullscreen-menu {
    position: fixed;
    padding-top: 10px;
    /*top: 50px;*/
    left: 0;
    width: 100%;
    height: calc(100% - 50px); /* Take up the full height minus the top header */
    background-color: black; /* Background color of the fullscreen menu */
    display: none; /* Hidden by default */
    /*justify-content: space-between;*/
    align-items: flex-start;
    justify-content: center;
    z-index: 2000;
    /*opacity: 0;*/
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border-bottom: 0px solid transparent; /* Initially no border */
}

 .fullscreen-menu-container {
    width: 100%;
    max-width: calc(1800px - 40px * 2);
    height: 100%;
    display: flex;
    align-items: flex-start;
    position: relative;
} 

/* When the fullscreen menu is visible */
.fullscreen-menu.visible {
    background-color: black; /* Background color of the fullscreen menu */
    display: flex; /* Show the menu when visible class is added */
    opacity: 1;
    visibility: visible;
    border-bottom: 4px solid transparent; /* Make room for the border */
}

/* General styles for both menus */
.section-menu {
    display: flex;
    flex-direction: column; /* Make items vertical */
    align-items: flex-start; /* Align items to the left */
    padding: 0;
}

.right-menu .menu-item:hover ~ .left-menu .menu-item {
    display: none;
}

.right-menu .menu-item:hover ~ .left-menu .menu-paragraph[data-paragraph-item] {
    display: none;
}

.right-menu .menu-item:hover ~ .left-menu .menu-paragraph[data-paragraph-item]:hover {
    display: block;
}
    
/* Hide the paragraphs by default */
.menu-paragraph {
    width: 80%;
    display:none;
    color: white;
    font-size: 26px;
    font-weight: 400 !important;
    /*margin: 1em 0;*/
    z-index: 10001;
    position: relative;
    font-family: var(--font-body); /* Apply the font-family using the CSS variable 
}
.menu-item:hover .menu-paragraph {
    display: block; /* or visibility: visible; or opacity: 1; */
}

.menu-paragraph .menu-title {
    font-weight: 500 !important;
}

.menu-paragraph .short-description {
    font-weight: 400 !important; /* Inherit the font-weight from the parent */
    color: var(--white);

}

/* Left Menu Specific Styles */
.left-menu {
    width: 66.66%; /* Take up 2/3 of the screen width */
    padding-left: 25px; /* Adjust padding as needed */
}

/* Styling for the left menu items (About, Work, etc.) */
.left-menu .menu-item {
    font-family: var(--font-body);
    font-size: 72px !important;
    /*font-size: var(--font-size-h1) !important; /* Use the font size of h1 */
    /*line-height: var(--line-height-h1); /* Use the line height of h1 */
    line-height: 0.75em;
    font-weight: 200 !important; /* Match the typical weight of an h1 */
    color: var(--white); /* Adjust the color as needed */
    padding-bottom: 0.2em; /* Add some spacing similar to h1 */
    position: relative;
}

/* Hover effect for left menu items */
.left-menu .menu-item:hover {
    color: var(--yellow); /* Change to yellow on hover */
    font-weight: 400 !important; /* Match the typical weight of an h1 */

}

.left-menu .menu-item:hover::after {
    position: absolute;
    top: -10px;
    right: -30px;
    font-size: 34px;
    font-weight: 600 !important;
    transition: color 0.3s ease;
    /*content: '↗︎';*/
    content: '\f061';  /* This is the Unicode for the "arrow-right" icon */
    /*color: red !important;*/
    font-family: 'Font Awesome 5 Free'; /* Ensure correct Font Awesome font-family */
    display: inline-block;
    transform: rotate(-45deg); /* Rotate the icon to point up-right */
}

/* Right Menu Specific Styles */
.right-menu {
    width: 33.33%; /* Take up 1/3 of the screen width */
    /*padding-right: 20px; /* Adjust padding as needed */
}

/* Styling for the right menu items (Insights, Creative, etc.) */
.right-menu .menu-item {
    font-weight: 200;
    color: white; /* Default color */
    font-size: 40px; /* Font size */
    margin: 0; /* Space between items */
    line-height: 1.1em; /* Ensure tighter line height */
    cursor: pointer;
    position: relative; /* To position the arrow */
    /*transition: color 0.3s ease;*/
    padding: 0;
}

.right-menu .menu-item:hover::after {
    position: absolute;
    top: -5px;
    right: -25px;
    font-size: 24px;
    font-weight: 600 !important;
    /*transition: color 0.3s ease;*/
    /*content: '↗︎';*/
    content: '\f061';  /* This is the Unicode for the "arrow-right" icon */
    font-family: 'Font Awesome 5 Free'; /* Ensure correct Font Awesome font-family */
    display: inline-block;
    transform: rotate(-45deg); /* Rotate the icon to point up-right */
}

.right-menu .menu-heading,
.left-menu .menu-heading {
    color: white;
    /*font-size: var(--font-size-p4);*/
    font-size: 13px;
    font-weight: 400;
    line-height: 0;
    padding-bottom: 10px;
    /*margin-bottom: 0;*/
}

.right-menu .menu-heading {
    margin-bottom: 10px !important;
}

/* Default color for logo parts */
.logo-part {
    fill: black;
}

.header.transparent-dark .logo-part {
    fill: white !important;
}
/*
.header-icons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-right: 30px;
    color: black; /* Default color for icons 
}
*/

/* Keep header icons aligned to the right */
.header-icons {
    /*flex: 1;*/
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.header.menu-open .header-icons {
    color: white; /* Color when fullscreen menu is open */
}

/* Override styling for all header icons except the contact button */
.header-icon:not(.contact-button) {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 3px;
    color: var(--black) !important; /* Override Elementor's color */
}

.header-icon:not(.contact-button):hover {
    background-color: var(--grey) !important; /* Ensure hover effect applies */
    color: var(--black) !important; /* Override Elementor's color */
}

.header-icon:not(.contact-button):active {
    color: var(--black) !important; /* Ensure active state applies */
    background-color: var(--white) !important;
}

/* Ensure that non-contact header icons keep the desired color when active */
.header-icon:not(.contact-button):focus,
.header-icon:not(.contact-button).active {
    color: var(--black) !important; /* Keep the color black */
}

/* Set the contact button font color to grey when active or focused */
.contact-button:focus,
.contact-button.active {
    /*color: var(--grey) !important;*/
    /*background-color: var(--black) !important;*/
    /*border: 1px solid var(--grey) !important;*/
}

/* Base styles for header icons */
.header-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--black); /* Default color */
    transition: fill 0.3s ease; /* Smooth transition for color change */
}

/* Change header icons color to white when the menu is open */
.header.menu-open .header-icon svg {
    fill: white !important; /* Change to white when the menu is open */
}

/* Ensure active state applies */
.header-icon:not(.contact-button):active svg {
    fill: var(--black) !important;
    background-color: var(--white) !important;
}

.search-bar:active {
    z-index: 100000 !important;
}

/* Default styling for the search toggle */
#search-toggle {
    color: var(--black); /* Default color */
    background-color: transparent; /* Default background */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
}

/* When the menu is open, keep the search toggle white */
.header.menu-open #search-toggle {
    color: white !important; /* Ensure it's visible */
    background-color: transparent !important; /* Keep the background transparent */
}

/* Ensure it stays white even when active or focused */
.header.menu-open #search-toggle.active,
.header.menu-open #search-toggle:focus {
    color: white !important;
    background-color: transparent !important;
}

/* Default color for header icons */
.header-icon:not(.contact-button) {
    color: var(--black) !important; /* Default to black */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

/* Change header icons color to white when the menu is open */
.header.menu-open .header-icon:not(.contact-button) {
    color: white !important; /* Override with white when menu is open */
    background-color: transparent !important; /* Remove background color */

}

.search-bar, .location-list {
    position: fixed;
    background-color: inherit;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /*z-index: 999999999 !important;*/
}

.search-bar input {
    width: 80%; /* Adjust width of the input field */
    padding: 10px; /* Add padding for better visibility */
    font-size: 18px; /* Increase font size */
    /*border: 2px solid #ccc; /* Make the border more visible */
    border-radius: 5px; /* Optional: Add some border-radius */
}

.search-bar button {
    padding: 10px 20px; /* Increase padding for the button */
    background-color: black; /* Make the button more prominent */
    color: white; /* White text for contrast */
    border: none;
    cursor: pointer;
    font-size: 18px; /* Increase font size */
    /*border-radius: 5px; /* Optional: Add some border-radius */
}

.contact-button {
    padding: 12px 24px;
    background-color: var(--yellow);
    color: var(--black);
    cursor: pointer;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500 !important;
    border-color: var(--yellow);
    transition: background-color .2s ease, color .2s ease;
}

.contact-button:hover {
    background-color: var(--black) !important;
    color: var(--yellow) !important;
}

.contact-button:focus-visible {
    background-color: var(--yellow) !important;
    color: var(--black) !important;
    border-color: var(--yellow) !important;
    outline: 2px solid var(--yellow) !important;
    outline-offset: 2px !important;
}

.contact-button:active {
    background-color: #333333 !important;
    color: var(--yellow) !important;
    outline: none !important;
}

.header-icon.contact-button:hover {
    background-color: transparent;
    color: var(--black);
}

.search-bar {
    top: 0;
    left: 0;
    width: 100%; /* Make it full-width */
    padding: 20px; /* Add padding */
    background-color: var(--white); /* Background color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for emphasis */
    z-index: 10000000 !important; /* Bring to front */
    display: none; /* Initially hidden */
    margin-top: 60px;
}

.search-bar.active {
    display: block; /* Make visible when active */
    width: 100%;
    background-color: var(--white) !important;

}

.search-input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    border: none;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border-top: 1px solid #ccc; /* Add border for better visibility */
    border-radius: 5px 0 0 5px; /* Rounded corners on the left side */
    width: calc(100% - 40px); /* Full width minus space for the close button */
}

.close-search {
    background: none !important;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--black) !important;
    margin-left: -50px; /* Position it inside the input */
    z-index: 10000001; /* Ensure the close button is on top */
    /*padding-right: 10px; /* Adjust padding */
}

.close-search:hover {
    color: var(--black);

}

.search-bar button {
    padding: 10px 20px; /* Increase padding for the button */
    background-color: black; /* Make the button more prominent */
    color: white; /* White text for contrast */
    border: none;
    cursor: pointer;
    font-size: 18px; /* Increase font size */
    border-radius: 5px; /* Optional: Add some border-radius */
}

#searchform {
    border: none !important;
}

.contact-form {
    display: block; /* Ensure it is visible */
    opacity: 1 !important; /* Ensure it's fully visible */
    visibility: visible !important; /* Ensure it's not hidden */
    position: relative; /* Ensure it's positioned correctly */
    z-index: 9999; /* Bring it to the front */
    height: auto; /* Ensure it has height */
    width: auto; /* Ensure it has width */
    overflow: visible; /* Ensure content isn't clipped */
    background-color: white; /* Make sure it has a background to be visible */
}

.hidden {
    display: none;
}

.location-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 2px;
}

#location-toggle {
    position: relative;
    z-index: 1; /* Ensure the button stays on top */
}

#current-location-code {
    margin-top: 0px !important;
    position: absolute;
    top: 100%; /* Position just below the icon */
    left: 50%;
    transform: translateX(-50%); /* Center the text horizontally */
    font-size: 10px;
    color: var(--black); /* Adjust this color to match your design */
    text-align: center;
    margin-top: 5px; /* Adjust this for additional spacing if needed */
}

.location-list {
    position: absolute;
    right: -45px;
    top: 40px;
    width: 110px;
    list-style-type: none; /* Removes bullet points */
    padding-top: 10px; /* Removes default padding */
    padding-bottom: 10px; /* Removes default padding */
    margin-top: 10px; /* Removes default margin */
    border-radius: 10px;
    border: 0.5px solid var(--black);
    background-color: white !important;
    z-index: 100000000 !important;
}

.location-list::before {
    top: -5px; /* Position the arrow closer to the dropdown */
    border-width: 0 8px 8px 8px; /* Adjust size of the arrow */
}

.location-list li {
    padding: 2px 0px; /* Add padding for spacing */
    font-size: 12px;
    text-align: center;
    font-family: var(--font-body);
}

.location-list li a:active {
    text-decoration: none;
    color: black !important;
    display: block; /* Make the entire area clickable */
}

.location-list li a {
    text-decoration: none;
    color: var(--grey);
    display: block; /* Make the entire area clickable */
}

.location-list li a:hover {
    color: var(--black);
}


/* Hide the default submenu */
.trigger-mega-menu .elementskit-dropdown {
    display: none !important; /* Ensure the default submenu is hidden */
}




/* Main Menu Items */
/*
.main-menu-item .ekit-navbar-nav > .menu-item > a {
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: "Neue Haas Grotesk Text", sans-serif !important;
    text-decoration: none !important;
    color: #000 !important;
}

.main-menu-item .ekit-navbar-nav > .menu-item > a:hover {
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.sub-menu-item .elementskit-dropdown-menu .menu-item > a {
    font-size: 16px !important;
    font-weight: 300 !important;
    font-family: "Neue Haas Grotesk Text", sans-serif !important;
    text-decoration: none !important;
    color: #000 !important;
}

.sub-menu-item .elementskit-dropdown-menu .menu-item > a:hover {
    font-weight: 700 !important;
    text-decoration: underline !important;
}
*/

/* Style main menu links */
#ekit-megamenu-new-main-menu .ekit-menu-nav-link {
    font-family: "Neue Haas Grotesk Text", sans-serif !important; /* Your desired font */
    font-size: 14px !important; /* Adjust font size */
    color: #000 !important; /* Adjust text color */
    font-weight: 400 !important; /* Default font weight */
    text-decoration: none !important; /* Remove underline */
}

/* Style main menu hover */
#ekit-megamenu-new-main-menu .ekit-menu-nav-link:hover,
#ekit-megamenu-new-main-menu .ekit-menu-nav-link:focus {
    font-weight: 700 !important; /* Bold on hover */
    text-decoration: underline !important; /* Add underline on hover */
}

/* Keep main menu bold when the mega menu is hovered */
#ekit-megamenu-new-main-menu .elementskit-dropdown-has:hover > .ekit-menu-nav-link,
#ekit-megamenu-new-main-menu .elementskit-dropdown-has:focus-within > .ekit-menu-nav-link {
    font-weight: 700 !important; /* Keep bold when submenu is active */
}

/* Style submenu links */
#ekit-megamenu-new-main-menu .custom-mega-menu .menu-item > a {
    font-family: "Neue Haas Grotesk Text", sans-serif !important;
    font-size: 16px !important; /* Adjust font size for submenu */
    color: #000 !important; /* Submenu text color */
    font-weight: 300 !important; /* Submenu font weight */
    text-decoration: none !important; /* Remove underline */
}

/* Style submenu hover */
#ekit-megamenu-new-main-menu .custom-mega-menu .menu-item > a:hover {
    font-weight: 700 !important; /* Bold on hover */
    text-decoration: underline !important; /* Add underline on hover */
    color: #000 !important; /* Change color on hover */
}



/* Style the custom mega menu container */
.custom-menu-container ul {
    display: grid; /* Enable grid layout */
    grid-template-rows: repeat(4, auto); /* 4 rows per column */
    grid-auto-flow: column; /* New column after 4 rows */
    grid-gap: 16px; /* Uniform gap for both rows and columns */
    padding: 0; /* Remove any default padding */
    margin: 0; /* Remove any default margin */
    list-style: none; /* Remove bullet points */
    width: auto; /* Let the container adjust dynamically */
    max-width: 100%; /* Ensure it doesn't overflow */
}

/* Ensure the container holding the mega menu doesn't add extra padding */
.custom-menu-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Style individual menu items */
.custom-menu-container ul li {
    padding: 0; /* Remove extra padding */
    margin: 0; /* Remove extra margin */
    text-align: left;
}

/* Style the links */
.custom-menu-container ul li a {
    display: block;
    text-decoration: none;
    color: #000000;
    /*font-size: 16px;
    font-weight: 400; /* Normal weight for default state */
}

/* Hover state */
.custom-menu-container ul li a:hover {
    font-weight: 700; /* Make text bold */
    text-decoration: underline; /* Add underline */
}

/* Responsive: Single column for smaller screens */
/*@media (max-width: 768px) {
    .custom-menu-container ul {
        grid-template-rows: none;
        grid-template-columns: 1fr;
        grid-gap: 0;
    }
}
*/

.custom-menu-container {
    /*width: 100%; /* Ensure it spans full width */
    /*padding: 0;
    margin: 0;*/
}

/* Style the mega menu container */
.elementskit-megamenu-panel {
    /*position: absolute; /* Position the menu relative to the viewport */
    /*left: 0; /* Align the menu to the left edge of the page */
    w/*idth: 100vw; /* Make the menu span the entire width of the viewport */
    z-index: 9999; /* Ensure it appears above other content */
    /*background-color: white; /* Set your desired background color */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/*
.elementskit-megamenu-panel {
    box-shadow: none !important;
}
*/

/* Default font weight */
.elementskit-navbar-nav .menu-item a {
    font-weight: 400 !important; /* Normal font weight */
    transition: none; /* Disable smooth transition */
}

/* Bold font on hover */
.elementskit-navbar-nav .menu-item a:hover {
    font-weight: 700 !important; /* Bold font weight */
}

/* Default state (down arrow) */
.mega-menu-item .elementskit-submenu-indicator {
    display: inline-block !important;
    /*transition: transform 0.3s ease; /* Smooth rotation */
}

/* Hover state (up arrow) */
.mega-menu-item:hover .elementskit-submenu-indicator {
    transform: rotate(180deg) !important;
}









/* General Styling for Header Icons */
.new-header-icons .header-icon {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 3px;
    transition: color 0.3s ease, background-color 0.3s ease;
    color: var(--black) !important; /* Default color for the icon */
}

/* Styling for SVG Icons */
.new-header-icons .header-icon svg {
    display: block;
    width: 22px !important; /* For the search icon */
    height: 22px !important;
    fill: var(--header-text-color) !important; /* Matches original style */
    transition: fill 0.3s ease;
}

/* Location Menu Icon */
.new-location-dropdown .header-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: var(--header-text-color) !important;
    transition: fill 0.3s ease;
}

/* Media query for devices less than 1024px */
/*
@media (max-width: 1024px) {
    .new-header-icons .header-icon svg,
    .new-location-dropdown .header-icon svg {
        width: 32px !important;
        height: 32px !important;
    }
}
*/

/* Hover Effect for Header Icons */
.new-header-icons .header-icon:hover,
.new-location-dropdown .header-icon:hover {
    background-color: var(--grey); /* Background color on hover */
    color: var(--black) !important; /* Icon color on hover */
}

.new-header-icons .header-icon:hover svg,
.new-location-dropdown .header-icon:hover svg {
    fill: var(--black); /* Fill color on hover */
}

/* Active State for Header Icons */
.new-header-icons .header-icon:active,
.new-location-dropdown .header-icon:active {
    color: var(--black) !important;
    background-color: var(--white) !important; /* Active background */
}

/* Search Bar */
#new-search-bar {
    top: 0;
    left: 0;
    width: 100%; /* Full-width bar */
    padding: 20px; /* Add padding */
    background-color: var(--white); /* Background color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for emphasis */
    z-index: 10000000 !important; /* Bring to front */
    display: none; /* Hidden by default */
    margin-top: 60px;
}

#new-search-bar.active {
    display: block; /* Show when active */
}

/* Input Field in Search Bar */
#new-search-bar input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: none;
    /*border: 1px solid #ccc; /* Border for better visibility */
    border-radius: 5px 0 0 5px; /* Rounded corners */
    width: calc(100% - 40px); /* Full width minus space for the close button */
}

/* Close Search Button */
#new-close-search {
    background: none !important;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--black) !important;
    margin-left: -50px; /* Positioned inside the input */
    z-index: 10000001; /* Ensure the close button is on top */
}

#new-close-search:hover {
    color: var(--black);
}

/* Location Dropdown */
.new-location-dropdown {
    position: relative;
    display: inline-block;
}

/* Location Dropdown Toggle */
#new-location-toggle {
    position: relative;
    z-index: 1; /* Ensure the button stays on top */
}

/* Current Location Text */
#new-current-location-code {
    margin-top: 0px !important;
    position: absolute;
    top: 100%; /* Position below the icon */
    left: 50%;
    transform: translateX(-50%); /* Center the text horizontally */
    font-size: 10px;
    color: var(--black); /* Adjust color */
    text-align: center;
    margin-top: 5px; /* Spacing */
}

/* Dropdown List */
#new-location-list {
    position: absolute;
    right: -45px;
    top: 40px;
    width: 110px;
    list-style-type: none;
    padding: 10px;
    border-radius: 10px;
    border: 0.5px solid var(--black);
    background-color: white !important;
    z-index: 100000000 !important;
}

/* Dropdown List Items */
#new-location-list li {
    /*padding: 5px 0;*/
    font-size: 12px;
    text-align: center;
    font-family: var(--font-body);
}

/* Dropdown List Links */
#new-location-list li a {
    text-decoration: none;
    color: var(--black);
    display: block;
}

#new-location-list li a:hover {
    color: var(--black);
}

/* Highlight Current Location */
.current-location a {
    font-weight: bold !important;
    color: var(--black) !important;
}




/* Hover Effect for Header Icons */
.mobile-header-icons .header-icon:hover,
.mobile-location-dropdown .header-icon:hover {
    /*background-color: var(--grey);*/
    color: var(--black) !important;
    /*width: 22px !important;
    height: 22px !important;*/
}

.mobile-header-icons .header-icon:hover svg,
.mobile-location-dropdown .header-icon:hover svg {
    fill: var(--black);
}

/* Active State for Header Icons */
.mobile-header-icons .header-icon:active,
.mobile-location-dropdown .header-icon:active {
    color: var(--black) !important;
    /*background-color: var(--white) !important; /* Active background */
}

/* Search Bar */
#mobile-search-bar {
    top: 0;
    left: 0;
    width: 100%; /* Full-width bar */
    padding: 20px; /* Add padding */
    background-color: var(--white); /* Background color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for emphasis */
    z-index: 10000000 !important; /* Bring to front */
    display: none; /* Hidden by default */
    margin-top: 60px;
}

#mobile-search-bar.active {
    display: block; /* Show when active */
}

/* Input Field in Search Bar */
#mobile-search-bar input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px 0 0 5px; /* Rounded corners */
    width: calc(100% - 40px); /* Full width minus space for the close button */
}

/* Close Search Button */
#mobile-close-search {
    background: none !important;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--black) !important;
    margin-left: -50px; /* Positioned inside the input */
    z-index: 10000001; /* Ensure the close button is on top */
}

#mobile-close-search:hover {
    color: var(--black);
}

/* Location Dropdown */
.mobile-location-dropdown {
    position: relative;
    display: inline-block;
}

/* Location Dropdown Toggle */
#mobile-location-toggle {
    position: relative;
    z-index: 1; /* Ensure the button stays on top */
}

/* Current Location Text */
#mobile-current-location-code {
    margin-top: 0px !important;
    position: absolute;
    top: 100%; /* Position below the icon */
    left: 50%;
    transform: translateX(-50%); /* Center the text horizontally */
    font-size: 10px;
    color: var(--black); /* Adjust color */
    text-align: center;
    margin-top: 5px; /* Spacing */
}

/* Dropdown List */
#mobile-location-list {
    position: absolute;
    right: -45px;
    top: 40px;
    width: 110px;
    list-style-type: none;
    padding: 10px;
    border-radius: 10px;
    border: 0.5px solid var(--black);
    background-color: white !important;
    z-index: 100000000 !important;
}

/* Dropdown List Items */
#mobile-location-list li {
    font-size: 12px;
    text-align: center;
    font-family: var(--font-body);
}

/* Dropdown List Links */
#mobile-location-list li a {
    text-decoration: none;
    color: var(--black);
    display: block;
}

#mobile-location-list li a:hover {
    color: var(--black);
}
























/* Mobile Header Icons */
.mobile-header-icons .header-icon svg {
    display: block !important;
    width: 22px !important; /* Adjusting width for mobile */
    height: 22px !important; /* Adjusting height for mobile */
    /*fill: var(--header-text-color) !important; /* Ensures consistent color */
    /*transition: fill 0.3s ease; /* Smooth color transition */
}

/* Mobile Location Menu Icon */
.mobile-location-dropdown .header-icon svg {
    display: block !important;
    width: 18px !important; /* Matches the desired size */
    height: 18px !important; /* Matches the desired size */
    /*fill: var(--header-text-color) !important;
    transition: fill 0.3s ease; /* Consistent with other icons */
}

/* Hide on desktop (above 1024px) */
@media (min-width: 1025px) {
    .header button[data-hamburg="yes"],
    .hamburg-default-by-css,
    .hamburg-transparent-dark,
    .hamburg-black-make-white-on-first-el-scroll {
        display: none !important;
    }
}


/* Base styling for both location and search text */
.location-icon-text,
.search-icon-text {
    font-size: 4px !important;
    margin: 0; /* Resets all margins */
    text-align: center;
    color: inherit; /* Inherit default text color */
}

/* Individual adjustments */
.location-icon-text {
    margin-top: 4px !important;
}

.search-icon-text {
    margin-top: 1px !important;
}

/* Default (when the header has no special class) */
.header.default-by-css .location-icon-text,
.header.default-by-css .search-icon-text {
    color: black; /* Keeps the default color */
}

/* When header is transparent-dark, use the dynamic header text color */
.header.transparent-dark .location-icon-text,
.header.transparent-dark .search-icon-text {
    color: var(--header-text-color);
}

/* When the header turns black, force text to white */
.header.black-make-white-on-first-el-scroll .location-icon-text,
.header.black-make-white-on-first-el-scroll .search-icon-text {
    color: white;
}

/* When body is scrolled after first black section, force text to white */
.header-icon.body-scrolled-after-first-black-section .location-icon-text,
.header-icon.body-scrolled-after-first-black-section .search-icon-text {
    color: black;
}

.search-icon-text.body-scrolled-after-first-black-section,
.location-icon-text.body-scrolled-after-first-black-section {
    color: white;
}

.search-icon-text.body-scrolled.body-scrolled-after-first-black-section,
.location-icon-text.body-scrolled.body-scrolled-after-first-black-section {
    color: black;
}

.header.transparent-dark.this-is-the-header.body-scrolled.body-scrolled-after-first-black-section 
.location-icon-text, 
.header.transparent-dark.this-is-the-header.body-scrolled.body-scrolled-after-first-black-section 
.search-icon-text {
    color: white !important;
}


@media (max-width: 1024px) { /* Adjusts icons for mobile screens */
    .header-icons .header-icon svg {
        width: 30px !important;  /* Increase width */
        height: 30px !important; /* Increase height */
    }
        .hamburg svg {
        width: 40px !important;  /* Increase icon size */
        height: 40px !important;
    }


/* Mobile-specific styling */
/*
@media (max-width: 1024px) {
    .location-icon-text,
    .search-icon-text {
        font-size: 4px !important;
        margin: 0;
        text-align: center;
    }
    
    .location-icon-text {
        margin-top: 4px !important;
    }
    
    .search-icon-text {
        margin-top: 1px !important;
    }
}
*/

