:root {
    /* Primary Brand Colors */
    --sss-main-color: #0B2153;
    --sss-main-color-variant: #0A142F;
    --sss-main-color-dark: #040F27;
    --sss-main-color-darker: #0b0b15;

    /* Text Colors */
    --sss-text-primary: #231F20;
    --sss-text-secondary: #333;
    --sss-text-muted: #434343;
    --sss-text-dark: #000;
    --sss-text-light-gray: rgba(35, 35, 35, 0.80);
    /* --sss-text-darker: #231f20; */
    
    /* White and Light Colors */
    --sss-white: #ffffff;
    --sss-light-gray: #f8f9fa;
    --sss-gray: #ccc;
    --sss-border-gray: #D9D9D9;
    --sss-gray-light: #E6E7E8;
    
    /* Secondary Colors */
    --sss-dark-green: #47504E;
    --sss-gold: #E1CD98;
    --sss-gold-alt: #DBC792;
    --sss-brown: #736F5C;
    --sss-brown-alt: #7A7462;
    
    /* System Colors */
    --sss-danger: #dc3545;
    --sss-transparent: transparent;
    
    /* Background Colors with Alpha */
    --sss-black-overlay-light: rgba(0, 0, 0, 0.1);
    --sss-black-overlay-medium: rgba(0, 0, 0, 0.15);
    --sss-black-overlay-dark: rgba(0, 0, 0, 0.19);
    --sss-black-overlay-darker: rgba(0, 0, 0, 0.25);
    --sss-black-overlay-darkest: rgba(0, 0, 0, 0.27);
    --sss-black-overlay-strong: rgba(0, 0, 0, 0.3);
    --sss-green-overlay: rgba(71, 80, 78, 0.85);
    --sss-main-color-gradient: rgba(211, 17, 70, 1);
    --sss-main-color-transparent: rgba(211, 17, 70, 0);
    --sss-green-gradient-start: rgba(71,80,78,0.8505996148459384);
    --sss-green-gradient-end: rgba(71,80,78,1);
    --sss-white-transparent: rgba(255, 255, 255, 0);
}  
  
  
* {
    box-sizing: border-box; /* Ensures padding and border are included in width/height */
}
body:not(.has-transparent-menu)  {
    padding-top: 72px;
}
@media (min-width: 1200px) {
    body:not(.has-transparent-menu)  {
    padding-top: 100px;
}
.has-transparent-menu #primary-menu {
    background: transparent;
}
 
.has-transparent-menu header {
    background: transparent;
}
.has-transparent-menu #secondary-menu a {
    background: transparent;
}
}
.has-transparent-menu .submenu-open, 
.has-transparent-menu header.shrink {
    background: var(--sss-main-color-variant);
}

.has-transparent-menu main {
    padding-top: 100px;
}
.has-transparent-menu .hero {
    margin-top: -100px;
}

.site-header {
    background: var(--sss-main-color-variant);
    color: var(--sss-white);
    padding: 10px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
    transition: all 0.3s ease-in-out;
    font-family: "montserrat", sans-serif;
}

.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.logo {
    display: flex;
}
.logo img {
    max-height: 100px;
    transition: all 0.3s ease-in-out;
}


button#menu-toggle {
    padding: 10px;
    border: 0;
    background: transparent;
}

#menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}
#menus {
    
    flex-direction: column;
    align-items: flex-end;
}


nav {
    display: flex;
    align-items: center;
}

#primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    background: var(--sss-main-color-variant);
    width: 100%;
    text-align: left;
    padding-top: 0;
    padding-bottom: 0;
}

#secondary-menu {
    margin: 0 0 0 auto;
    padding: 0;
    list-style-type: none;
    display: flex;
}
#menus{
    display: none;
}

#menus.show {
    display: flex;
}
.menus-inner {
    width: 100%;
    flex-direction: column;
    display: flex;
}
#primary-menu li {
    margin: 0;
}

#primary-menu > li > a {
    color: var(--sss-white);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background 0.3s;
    cursor: pointer;
}
#primary-menu > li > a {
    font-size: 24px;
    padding: 18px 35px;
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    font-family: "SabonNext LT";
    font-weight: 600;
}
#primary-menu > li:last-child > a {
    border-bottom: none;
}
.menu-container {
    display: flex;
}
.menu-container > *:not(#menus) {
    /* Flex-grow can be set to 0 if you don't want the elements to stretch */
    flex-grow: 0;
}
#menus {
    width: 100%; /* Make it full width */
    order: 1; /* Ensure it appears after other items */
    position: absolute; /* Remove from the flex container flow */
    top: 100%; /* Position below the flex container */
    left: 0;
    width: 100%; /* Full width */
    z-index: 1; /* Ensure it appears above other content if necessary */
}
 
.logo img {
    max-width: 235px;
}
.menus-inner {

    overflow-y: auto;
    height: calc(100vh - 82px);
    background: var(--sss-main-color-variant);
}
button#menu-toggle {
    margin-right: -10px;
}

@media (min-width: 380px) {
    .site-header {
        padding: 10px 25px;
    }
}
@media (min-width: 1200px) {
    .menus-inner {

        overflow-y: unset;
        height: unset;
        background: transparent;
    }
    #primary-menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
}




@media (min-width: 1200px) {
.menu-container {
    flex-direction: row;
}   

#menus {
     position: unset;  
      background: transparent; 
}
.menus-inner {
    width: unset;
    flex-direction: unset;
    display: block;
}

    #menus {
    display: flex;
}
    #menu-toggle {
        display: none;
    }
    #primary-nav {
    display: flex;
    align-items: center;
}
#primary-nav > ul {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: flex-end;
        margin-left: -20px;
        margin-right: -20px;
    }

#primary-nav > ul li {
    margin-left: 20px;
}

#primary-nav > ul > li > a {
    color: var(--sss-white);
    text-decoration: none;
}

#primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    position: unset;
    width: unset;
}
.logo {
    display: flex;
}
.logo img {
    width: 450px;
    max-width: 450px;
}

#primary-menu > li {
    margin: 0 20px;
}

#primary-menu > li > a {
    color: var(--sss-white);
    text-decoration: none;
    font-size: 16px;
    font-family: "montserrat";
    letter-spacing: -.5px;
    padding: unset;
}

#primary-menu > li > a {
 
    border-bottom: 0 solid transparent;
    font-weight: 500;
}

#primary-menu {
    margin-left: -20px;
    margin-right: -20px;
}


.shrink .logo img {
    width: 348px;
}
 
}
#primary-menu {
    overflow: hidden;
}
@media (min-width: 1200px) {
    #primary-menu {
        overflow: unset;
    }
}

/** Main Menu Dropdowns
--------------------------------- **/
@media (min-width: 1200px) {
    #primary-menu > li:hover:after {
        opacity: 1;
      }
    }
   
    #primary-nav > ul > li > a {
        position: relative;
        padding: 20px 35px;
    }
    #primary-nav > ul > li  {
        margin: 0;
    }
    /* hover buffer */
    @media (min-width: 1200px) {
        #primary-nav > ul > li > a:after {
            content: '';
            width: calc(100% + 6px);
            display: block;
            position: absolute;
            bottom: -35px;
            left: -3px;
            right: -3px;
            height: 35px;
            cursor: pointer;
        }
        #primary-nav > ul > li > a:before {
            content: '';
            width: calc(100% + 6px);
            display: block;
            position: absolute;
            top: -10px;
            left: -3px;
            right: -3px;
            height: 10px;
            cursor: pointer;
        }
    }
    /* Main Dropdown Styles */
    #site-header.submenu-open, #site-header.shrink {
        background: var(--sss-main-color-variant);
    }
    #primary-menu li .dropdown-links a {
        color: #231F20;
        font-family: "montserrat";
    }
    #primary-menu li .dropdown-links a:hover {
        color: var(--sss-main-color-variant);
    }
    .wide-dropdown.show {
        display: block;
    }
    .wide-dropdown {
        display: none;
        background: #231f20;
    }
    .wide-dropdown img {
        display: none;
    }
    
    @media (min-width: 1200px) {
    .wide-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--sss-white);
        color: #333;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        width: 100vw;
        padding: 65px 35px 80px 35px;
    }
    .wide-dropdown img {
        display: block;
    }
    .dropdown-content {
        display: flex;
        align-items: center;
        max-width: 909px;
        margin: auto;
        padding-top: 50px;
    }
    .submenu {
        list-style-type: none;
        margin: 0;
        padding: 0;
        width: 66.66%;
        column-count: 2;
        column-gap: 20px;  
        margin-left: -20px;
    }
    .dropdown-content img {
        max-width: 362px;
        width: 33.33%;
    }
    #primary-menu .submenu li a {
        color: #231F20;
        padding: 5px 0;
        display: block;
        transition: color 0.3s ease;
    }
    #primary-menu .submenu li a:hover {
        color: var(--sss-main-color);
    }
    #primary-nav > ul > li > a {
        position: relative;
        padding: 0 10px;
    }
    }
    @media (min-width: 1280px) {
        #primary-nav > ul > li > a {
            position: relative;
            padding: 0 15px;
        }
    }
    @media (min-width: 1379px) {
        #primary-nav > ul > li > a {
            position: relative;
            padding: 0 20px;
        }
    }
    @media (min-width: 1449px) {
    .wide-dropdown {
        padding: 100px 35px 80px 35px;
    }
}
    #primary-menu > li:after {
        color: var(--sss-main-color-variant);
        content: " ";
        width: calc(100% - 40px);
        height: 2px;
        background: white;
        display: block;
        opacity: 0;
        pointer-events: none;
        transform: translateY(3px);
        transition: opacity 0.3s ease;
        margin-left: 20px;
    }
 
    .dd-heading {
        display: none;
        justify-content: center;

    }
    
    .dd-heading-inner {
        max-width: 1414px;
        width: 100%;
        display: flex;
        align-items: flex-start;
        position: relative;
        flex-direction: column;
    }

    .dd-title {
        font-size: 2.5em;
        color: var(--sss-main-color-variant);
        margin: 0;
        white-space: nowrap;
        position: absolute;
        left: 0;
        line-height: 14px;
        right: 1180px;
        text-align: right;
        position: relative;
    }
   
    .sub-menu-title {
        color: var(--sss-main-color-variant);
        font-family: "montserrat";
        font-size: 43px;
        font-style: normal;
        font-weight: 600;
        line-height: 64px;
        margin-bottom: -18px;
    }
    .submenu {
        list-style-type: none;
        padding-bottom: 50px;
        padding-top: 50px;
    }
    .submenu a {
        color: white;
        text-decoration: none;
        padding: 15px 0;
        display: flex;
        font-size: 18px;
        font-family: "montserrat";
        
    }
    .dd-heading {
        display: none;
    }
    .dd-heading-inner {
        padding: 35px;
    }
    .sub-menu-title {
        padding: 0;
        font-size: 24px;
        color: white;
        text-decoration: none;
    }
    @media (min-width: 1200px) {
        .dd-heading {
            display: flex;
        }
        .submenu {
            padding-bottom: 0;
            padding-top: 0;
        }
        .sub-menu-title {
            padding: 0;
            font-size: 43px;
            font-family: "SabonNextLTPro-Bold";
            color: var(--sss-main-color-variant);
            text-decoration: none;
            width: 100%;
        }
        .dd-heading {
            display: flex;
            max-width: 909px;
            margin: auto;
        }
            
        .dd-title {
            padding-bottom: 35px;
            display: flex;
        }
        .dd-heading-inner {
            padding: 0;
        }
        .title-line {
            flex-grow: 1;
            height: 2px;
            background: linear-gradient(to right, var(--sss-main-color-variant), transparent);
            margin: auto;
            max-width: 909px;
            width: 100%;
        }
        #primary-menu > li[aria-expanded="true"]:after {
            opacity: 1;
            transition: opacity 0.3s ease;
        }
    }
    @media (min-width: 1449px) {
        .dd-heading {
            max-width: unset;
        }     
    .dd-heading-inner {
        flex-direction: row;
        align-items: flex-end;
    }
    .dd-title {
        position: absolute;
        padding-bottom: 0;
    }
}

 /** Accessibility **/
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--sss-main-color-variant);
    outline-offset: 3px;
}
.has-transparent-menu  #primary-menu > li > a:focus-visible,  #primary-menu > li > a:focus-visible  {
    outline: 2px solid #f5c15e;
    outline-offset: 3px;
    border: 1px solid var(--sss-main-color-variant);
}

@media (min-width: 1200px) {
.has-transparent-menu  #primary-menu > li > a,  #primary-menu > li > a {
    border: 1px solid transparent;
}
}
.has-transparent-menu .submenu-open .primary-menu > li > a:focus-visible, .has-transparent-menu header.shrink .primary-menu > li > a:focus-visible {
    outline: 2px solid #f5c15e;
    outline-offset: 3px;
}

.dropdown-accessibility-button {
    position: relative;
    width: 100%;
    display: block;
    pointer-events: none;
}
.dropdown-accessibility-button svg {
    position: absolute;
    right: -4px;
    top: -22px;
    opacity: 0;
    border-radius: 50%;
    border: 1px solid white;
    background: var(--sss-main-color);
    z-index: 1;
}
.dropdown-accessibility-button:focus svg {
    opacity: 1;
    outline: 2px solid #f5c15e;
    outline-offset: 3px;
}
span.dropdown-accessibility-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}


