/**
 * Standalone Header and Footer Stylesheet
 *
 * This stylesheet contains isolated styles for the new header and footer
 * components to be used on non-blocks template pages.
 *
 * Based on the header and footer styles from the blocks template system.
 */

/**
 * ===============================================
 * FONT DECLARATIONS
 * ===============================================
 */

/* Import Google Fonts - Inter & Manrope (backup if not loaded in header) */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

@font-face {
    font-family: 'Brave Hunter';
    src: url('../resources/fonts/brave-hunter.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Brave Hunter';
    src: url('../resources/fonts/brave-hunter-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

/**
 * ===============================================
 * CSS CUSTOM PROPERTIES
 * ===============================================
 */

:root {
    /* Font Families */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Brave Hunter', sans-serif;

    /* Colors */
    --color-primary: #e27c49;
    --color-primary-new: #C02826;
    --color-secondary: #C02826;
    --color-smoke: #ebebeb;
    --color-black: #000000;
}

/**
 * ===============================================
 * TAILWIND UTILITY CLASSES
 * ===============================================
 * These are the Tailwind utility classes used in the header and footer templates
 */

/* Layout & Display */
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.\!hidden { display: none !important; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grow { flex-grow: 1; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Width & Height */
.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.h-full { height: 100%; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.max-w-sm { max-width: 24rem; }
.max-w-\[10rem\] { max-width: 10rem; }
.\!max-w-7xl { max-width: 80rem !important; }
.max-h-\[80px\] { max-height: 80px; }
.max-h-\[32rem\] { max-height: 32rem; }

/* Spacing - Margin */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.\!mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }

/* Spacing - Padding */
.p-0 { padding: 0; }
.\!p-0 { padding: 0 !important; }
.px-0 { padding-left: 0; padding-right: 0; }
.\!px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.\!py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.\!py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.pt-16 { padding-top: 4rem; }
.\!pr-6 { padding-right: 1.5rem !important; }

/* Gap */
.gap-4 { gap: 1rem; }
.\!gap-8 { gap: 2rem !important; }
.\!gap-10 { gap: 2.5rem !important; }

/* Z-Index */
.z-10 { z-index: 10; }
.z-40 { z-index: 4000; }

/* Colors */
.text-white { color: rgb(255 255 255); }
.\!text-white { color: rgb(255 255 255) !important; }
.text-primary-new { color: var(--color-primary-new, #C02826); }
.\!text-primary-new { color: var(--color-primary-new, #C02826) !important; }
.\!bg-black { background-color: rgb(0 0 0) !important; }
.bg-primary-new { background-color: var(--color-primary-new, #C02826); }
.\!bg-primary-new { background-color: var(--color-primary-new, #C02826) !important; }
.text-center { text-align: center; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.\!text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }

/* Font */
.font-bold { font-weight: 700; }
.font-sans { font-family: var(--font-sans, 'Inter', sans-serif); }
.font-display { font-family: var(--font-display, 'Brave Hunter', sans-serif); }

/* Border */
.\!border-solid { border-style: solid !important; }
.\!border-t { border-top-width: 1px !important; }
.\!border-x-0 { border-left-width: 0 !important; border-right-width: 0 !important; }
.\!border-b-0 { border-bottom-width: 0 !important; }
.\!border-\[\#ffffff30\] { border-color: #ffffff30 !important; }
.border-primary-new { border-color: var(--color-primary-new, #C02826); }
.\!border-primary-new { border-color: var(--color-primary-new, #C02826) !important; }

/* Effects */
.opacity-50 { opacity: 0.5; }
.hover\:opacity-100:hover { opacity: 1; }
.select-none { user-select: none; }
.rounded { border-radius: 0.25rem; }
.fill-white { fill: rgb(255 255 255); }
.hover\:bg-white:hover { background-color: rgb(255 255 255); }
.hover\:fill-primary:hover { fill: var(--color-primary, #e27c49); }
.ease-in-out { transition-timing-function: ease-in-out; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-center-bottom { object-position: center bottom; }

/* List */
.list-none { list-style-type: none; }

/* Responsive: Medium (md) - 768px and up */
@media (min-width: 768px) {
    .md\:mr-10 { margin-right: 2.5rem; }
    .md\:max-w-\[12rem\] { max-width: 12rem; }
    .md\:\!flex { display: flex !important; }
    .md\:hidden { display: none; }
}

/* Responsive: Large (lg) - 1024px and up */
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Responsive: Extra Large (xl) - 1280px and up */
@media (min-width: 1280px) {
    .xl\:px-0 { padding-left: 0; padding-right: 0; }
    .xl\:bottom-auto { bottom: auto; }
    .xl\:top-0 { top: 0; }
    .xl\:object-right-top { object-position: right top; }
}

/**
 * ===============================================
 * COMPONENT-SPECIFIC STYLES
 * ===============================================
 */

/**
 * Primary Content Area - Remove default margin-top
 * Override the margin-top from the main stylesheet since the new header uses fixed positioning
 */
#primary {
    margin-top: 0 !important;
}

/**
 * Header Clearance
 */
.header-clear {
    height: 70px;
}

@media (min-width: 768px) {
    .header-clear {
        height: 72px;
    }
}

/**
 * Header on Scroll
 */
header[data-scrolled="0"] {
    transition: all 1000ms ease-in-out;
}

header[data-scrolled="1"] {
    background-color: white;
    transition: all 1000ms ease-in-out;
}

header[data-scrolled="0"] .header-logo path {
    fill: white;
}

header[data-scrolled="1"] [role="button"] {
    border-color: black;
    color: black;
}

[data-scrolled="1"] .header-logo svg path {
    fill: black !important;
}

/**
 * Burger Menu Button
 */
header label.hamburger {
    width: 36px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    flex-direction: column;
}

@media (min-width: 768px) {
    header label.hamburger {
        display: none;
    }
}

header label.hamburger span {
    height: 2px;
    margin-top: 4px;
    margin-bottom: 4px;
    background-color: white;
    transition: all .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

header[data-scrolled="1"] label.hamburger span {
    background-color: black;
}

header label.hamburger span:nth-of-type(1) {
    width: 50%;
}

header label.hamburger span:nth-of-type(2) {
    width: 100%;
}

header label.hamburger span:nth-of-type(3) {
    width: 66.666667%;
}

header input[type="checkbox"] {
    display: none;
}

header input[type="checkbox"]:checked~span:nth-of-type(1) {
    transform-origin: bottom;
    transform: translate(-15px, 1px) rotatez(45deg);
}

header input[type="checkbox"]:checked~span:nth-of-type(2) {
    transform-origin: top;
    transform: translate(1px, -2px) rotatez(-45deg);
}

header input[type="checkbox"]:checked~span:nth-of-type(3) {
    width: 50%;
    transform-origin: bottom;
    transform: translate(-2px, -6px) rotatez(45deg);
}

/**
 * Desktop Menu
 */
[data-menu="desktop"]>div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
}

[data-menu="desktop"]>div>.mega-menu-toggle {
    display: none;
}

[data-menu="desktop"]>div>ul {
    gap: 2rem;
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    z-index: 20;
    height: 100%;
}

[data-menu="desktop"]>div>ul>li {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    min-height: 75px;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    transition: all 500ms ease-in-out;
    border-bottom: 2px solid transparent;
}

[data-menu="desktop"]>div>ul>li:hover {
    border-bottom-color: var(--color-primary-new, #e27c49);
}

[data-menu="desktop"]>div>ul>li.current-menu-item {
    border-bottom-color: var(--color-secondary, #2c3e50);
}

[data-menu="desktop"]>div>ul>li>a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 1rem;
    font-weight: normal;
    display: block;
    text-decoration: none;
    line-height: 1;
    transition: all 500ms ease-in-out;
}

[data-menu="desktop"]>div>ul>li>a:hover {
    color: white;
}

[data-scrolled="1"] [data-menu="desktop"]>div>ul>li>a {
    color: black;
}

[data-menu="desktop"]>div>ul>li>div>ul {
    list-style: none;
    top: 75px;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0;
    background-color: white;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

[data-menu="desktop"]>div>ul>li>div>ul>.section-title {
    display: none;
}

[data-menu="desktop"]>div>ul>li:hover>div>ul {
    display: block;
    pointer-events: auto;
}

[data-menu="desktop"]>div>ul>li>div>ul>li {
    position: relative;
    width: 100%;
    display: flex;
    margin: 0 auto;
    margin-bottom: 0;
}

/* Mega Menu Wrapper */
[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper {
    display: flex;
    width: 100%;
    min-height: 400px;
}

/* Left Sidebar - Second Level Items */
[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar {
    width: 33.333333%;
    background-color: rgb(249 250 251);
    padding: 1.5rem;
    padding-right: 0;
    border-right: 1px solid rgb(229 231 235);
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item {
    display: block;
    position: relative;
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
    padding-left: 1rem;
    padding-right: 2.5rem;
    color: black;
    font-weight: normal;
    font-size: 1rem;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 300ms ease-in-out;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item:hover {
    color: var(--color-primary-new, #e27c49);
    text-decoration: none;
    border-left-color: var(--color-primary-new, #e27c49);
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 0.75rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 300ms ease-in-out;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M473.5 303C482.9 312.4 482.9 327.6 473.5 336.9L273.5 536.9C264.1 546.3 248.9 546.3 239.6 536.9C230.3 527.5 230.2 512.3 239.6 503L422.6 320L239.6 137C230.2 127.6 230.2 112.4 239.6 103.1C249 93.8 264.2 93.7 273.5 103.1L473.5 303.1z' fill='%23000000'/%3E%3C/svg%3E");
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item.mega-menu-item-active::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M473.5 303C482.9 312.4 482.9 327.6 473.5 336.9L273.5 536.9C264.1 546.3 248.9 546.3 239.6 536.9C230.3 527.5 230.2 512.3 239.6 503L422.6 320L239.6 137C230.2 127.6 230.2 112.4 239.6 103.1C249 93.8 264.2 93.7 273.5 103.1L473.5 303.1z' fill='%23000000'/%3E%3C/svg%3E");
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item.mega-menu-item-active {
    color: var(--color-primary-new, #e27c49);
    border-left-color: var(--color-primary-new, #e27c49);
    background-color: white;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item,
[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item>span {
    display: block;
    margin-top: 0.25rem;
    font-size: 1rem;
    font-family: var(--font-display, 'Brave Hunter', sans-serif);
    line-height: 1rem;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-sidebar>.mega-menu-sidebar-item>span.menu-description {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Right Panel - Third Level Items */
[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel {
    width: 66.666667%;
    padding: 2rem;
    position: relative;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content {
    position: absolute;
    inset: 0;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease-in-out;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content.mega-menu-panel-active {
    opacity: 1;
    visibility: visible;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content>.mega-menu-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content>.mega-menu-panel-grid>.mega-menu-panel-link {
    display: block;
    position: relative;
    padding-bottom: 0.5rem;
    background-color: white;
    line-height: 1;
    color: black;
    font-weight: normal;
    font-size: 1rem;
    font-family: var(--font-display, 'Brave Hunter', sans-serif);
    text-decoration: none;
    transition: all 300ms;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content>.mega-menu-panel-grid>.mega-menu-panel-link:hover {
    color: var(--color-primary-new, #e27c49);
    text-decoration: none;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content>.mega-menu-panel-grid>.mega-menu-panel-link>span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(0, 0, 0, 0.4);
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.7rem;
    font-weight: normal;
    line-height: 1rem;
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content>.mega-menu-panel-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgb(156 163 175);
}

[data-menu="desktop"]>div>ul>li>div>ul>li>.mega-menu-wrapper>.mega-menu-panel>.mega-menu-panel-content>.mega-menu-panel-empty>p {
    margin-bottom: 0;
}

/**
 * Mobile Menu
 */
[data-menu="mobile-menu-new"] {
    background-color: black;
    z-index: 40;
    width: 100%;
    right: 0;
    height: 100%;
    position: fixed;
    transition: all 500ms ease-in-out;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    [data-menu="mobile-menu-new"] {
        display: none;
    }
}

[data-menu="mobile-menu-new"]>div {
    position: relative;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: auto;
    max-height: calc(100vh - 131px);
}

[data-menu="mobile-menu-new"]>div ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: auto;
}

[data-menu="mobile-menu-new"]>div>ul>li {
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

[data-menu="mobile-menu-new"]>div>ul>li:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

[data-menu="mobile-menu-new"]>div>ul>li.spacer {
    margin-top: 1.5rem;
}

[data-menu="mobile-menu-new"]>div>ul>li a {
    color: white;
    font-size: 1.125rem;
    font-weight: normal;
    display: block;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-decoration: none;
    line-height: 1;
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li a:hover {
    color: white;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>span {
    position: absolute;
    top: 0;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>span:before {
    content: '';
    background-position: right;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M336 96h16v16V336v16H320V336 150.6L67.3 403.3 56 414.6 33.4 392l11.3-11.3L297.4 128H112 96V96h16H336z' fill='%23ffffff'/%3E%3C/svg%3E");
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul {
    background-color: black;
    margin: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 100%;
    margin: 0;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    transition: all 500ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    position: relative;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.section-title {
    cursor: pointer;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.section-title:before {
    content: '';
    width: 2rem;
    height: 2rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1rem;
    color: white;
    background-size: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M12.7 244.7L1.4 256l11.3 11.3 168 168L192 446.6 214.6 424l-11.3-11.3L62.6 272 432 272l16 0 0-32-16 0L62.6 240 203.3 99.3 214.6 88 192 65.4 180.7 76.7l-168 168z' fill='%23fff'/%3E%3C/svg%3E");
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li a {
    color: white;
    font-size: 1rem;
    display: block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    text-decoration: none;
    line-height: 1;
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li>a>.description {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    opacity: 0.5;
    line-height: 1.375;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children>a {
    color: white;
    font-size: 1rem;
    display: block;
    text-transform: uppercase;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    text-decoration: none;
    line-height: 1;
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children>ul {
    display: none;
    margin-left: 0;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children[data-state="1"]>ul {
    display: block;
    transition: all ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children>ul>li>a {
    font-size: 1rem;
    text-transform: none;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children>ul>li>a:hover {
    color: var(--color-secondary, #2c3e50);
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children>span {
    position: absolute;
    top: 16px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 80px;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children>span:before {
    content: '';
    background-position: right;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M336 96h16v16V336v16H320V336 150.6L67.3 403.3 56 414.6 33.4 392l11.3-11.3L297.4 128H112 96V96h16H336z' fill='%23ffffff'/%3E%3C/svg%3E");
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children[data-state="1"]>span {
    height: 80px;
    width: 26px;
    top: -16px;
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li.menu-item-has-children[data-state="1"]>span:before {
    transform: rotate(90deg);
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children[data-state="1"]>div>ul {
    left: 0;
    transition: all 300ms ease-in-out;
}

.admin-bar [data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children[data-state="1"]>div>ul {
    left: 0;
    transition: all 300ms ease-in-out;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li>ul {
    margin-left: 1rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul>li>ul>li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

[data-menu-state="0"] [data-menu="mobile-menu-new"] {
    right: -100%;
}

[data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul {
    top: 80px;
}

.admin-bar [data-menu="mobile-menu-new"]>div>ul>li.menu-item-has-children>div>ul {
    top: 127px;
}

/**
 * Footer Styles
 */
footer svg path {
    fill: white !important;
}

footer .footer-menu ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

footer .footer-menu ul li {
    margin-bottom: 0.5rem !important;
}

footer .footer-menu ul li a {
    font-size: 1rem;
    color: white !important;
}

[data-menu="legal-menu"] ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

[data-menu="legal-menu"] ul li {
    margin-bottom: 0 !important;
    padding-left: 1rem !important;
    line-height: 0;
}

[data-menu="legal-menu"] ul li a {
    font-size: 0.75rem !important;
    color: white !important;
    padding: 0 !important;
}
