.navigation-grid {
    width: 100%;
    padding: 20px;
    gap: 10px;
}

.dropdown-list-full-wrapper {
    padding: 0px !important;
    min-width: 100%;
    width: 100%;
    background-color: white;
}

.navigation-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    width: 65%;
    align-items: center;
}

.navigation-link {
    white-space: nowrap;
    width: max-content;
    padding: 10px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
}


@media screen and (max-width: 991px) {
    .navigation-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .navigation-left,
    .navigation-brand {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
    }
    
    .navigation-right,
    .navigation-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        width: auto !important;
        gap: 10px;
    }
    
    .menu-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
        padding: 0 !important;
        font-size: 24px !important;
        border: 1px solid rgba(17, 17, 17, 0.1) !important;
        border-radius: 10px !important;
        color: #000 !important;
        margin: 0 !important;
        height: 56px;
        width: 56px;
        flex-shrink: 0;
        z-index: 1001;
        position: relative;
    }
    
    .menu-button .w-icon-nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: absolute;
        top: 100px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 100px);
        transition: left 0.3s ease;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-list {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        display: none;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
    }

    .dropdown-list.w--open {
        display: block;
        padding-top: 0px;
    }

    .dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }

    .menu-button.w--open {
        color: #000;
    }

    .navigation-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .navigation-column + .navigation-column {
        margin-top: 0;
        padding-top: 0;
    }

    .dropdown-list-full-wrapper {
        min-width: auto;
    }

    .navigation-grid {
        width: 100%;
        padding: 0;
    }

    .navigation-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .navigation-column {
        width: 100%;
    }

    .navigation-column .navigation-link {
        padding: 15px 0;
        width: 100%;
    }

    .navigation-column:last-child .navigation-link:last-child {
        border-bottom: none;
    }

    .dropdown-list-full-wrapper {
        min-width: 100%;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .navigation-drop-container {
        padding: 0;
    }

    .navigation-column .navigation-link {
        border-bottom: none !important;
    }

    .navigation-column:last-child .navigation-link:last-child {
        border-bottom: none !important;
    }

    .navigation .dropdown-list .navigation-column {
        padding: 0 !important;
    }

    .navigation .navigation-column .navigation-link[style*="visibility: hidden"] {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: none !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .navigation .nav-menu.navigation-center > .mobile-nav-buttons {
        display: none !important;
    }
}

@media screen and (min-width: 992px) {
    .menu-button {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static;
        height: auto;
        background: none;
    }
}

@media screen and (max-width: 585px) {
    .navigation-right .button-navigation.w-button,
    .navigation-right .desktop-nav-button,
    .navigation-actions .button-navigation.w-button,
    .navigation-actions .desktop-nav-button {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .navigation-right .button-navigation.w-button,
    .navigation-actions .button-navigation.w-button {
        display: none !important;
    }
    
    .nav-menu .button-navigation.w-button {
        display: block !important;
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}

.mobile-nav-button {
    display: none !important;
}

/* Show desktop nav button between 586px and 991px */
@media screen and (min-width: 586px) and (max-width: 991px) {
    .desktop-nav-button {
        display: block !important;
    }
}

/* Hide desktop nav button at 585px and below */
@media screen and (max-width: 585px) {
    .desktop-nav-button {
        display: none !important;
    }
    
    .mobile-nav-button {
        display: block !important;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    .nav-menu .mobile-nav-button {
        padding: 15px 0;
    }
}

.button-navigation.w-button {
    padding: 18px 24px !important;
    font-size: 16px !important;
    min-height: 56px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 10px;
}

@media screen and (max-width: 480px) {
    .navigation-right .button-navigation.w-button.desktop-nav-button,
    .navigation-actions .button-navigation.w-button.desktop-nav-button {
        display: none !important;
    }
    
    .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }
    
    .mobile-nav-buttons .nav-link {
        display: block !important;
        width: 100%;
        padding: 15px 0;
        color: #fff;
        background-color: #33a1fd;
        border-radius: 10px;
        text-align: center;
        font-weight: 700;
    }
}
.nav-menu.active .mobile-nav-buttons {
    display: flex !important;
}

.mobile-only {
    display: none !important;
}

@media screen and (max-width: 480px) {
    .mobile-only {
        display: block !important;
    }
    
    .navigation-right .button-navigation.w-button,
    .navigation-actions .button-navigation.w-button {
        display: none !important;
    }
}

@media screen and (max-width: 1269px) {
    .navigation-link {
        padding: 10px 16px;  
        font-size: 14px;     
    }
}
.dropdown-list .navigation-link {
    width: max-content;
    padding: 10px 16px;
}

.navigation-link.w-inline-block {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;  
    width: auto;        
    min-width: fit-content;
    border-radius: 8px;
    transition: all 200ms ease;
    text-decoration: none;
}

.navigation-link.w-inline-block div {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;   
    text-overflow: ellipsis;
}

.page-grid-rec-book-nav {
    width: 100%;
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.navigation-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navigation-column .navigation-link {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
}

.dropdown-list-full-wrapper {
    min-width: 400px;
    padding: 20px;
}

.navigation-column:last-child .navigation-link:last-child {
    border-bottom: none;
}

.dropdown-list-full-wrapper {
    min-width: 100%;
}

.navigation-drop-container {
    padding: 20px;
}

.navigation-grid {
    display: grid;
    grid-auto-columns: 1fr;
    width: 100%;
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    grid-template-columns: 1fr 1fr;
}

.navigation-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.navigation-link {
    display: flex;
    padding: 10px 16px;
    align-items: center;
    border-radius: 8px;
    transition: all 200ms ease;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    color: #252b2d;
    text-align: left;
    font-family: Karla, sans-serif;
}

/* Remove any extra padding/margins */
.dropdown-list-full-wrapper {
    padding: 0;
}

.navigation-row {
    display: flex;
    gap: 20px;
    padding: 0;
}

.book-image {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.navigation-link:hover,
.navigation-link.w-inline-block:hover,
.navigation-link.w--current:hover,
.dropdown-list .navigation-link:hover,
.navigation-column .navigation-link:hover,
.w-dropdown-toggle .navigation-link:hover,
.navigation-link:visited:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    color: #252b2d !important;
}

.dropdown-toggle:hover,
.w-dropdown-toggle:hover {
    background-color: transparent !important;
}

@media screen and (max-width: 479px) {
    .navigation-link:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
        color: #252b2d !important;
    }
}

/* Spark60 header nav — keep in this file; avoid duplicating in Blade */
.navigation .nav-menu.w-nav-menu.navigation-center {
    float: none;
}

.navigation .navigation-brand img.logo {
    width: auto;
    max-width: 220px;
    min-width: 0;
    height: auto;
}

@media screen and (min-width: 1200px) {
    .navigation .navigation-brand img.logo {
        max-width: 230px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .navigation .navigation-brand img.logo {
        max-width: 150px;
    }
}

@media screen and (max-width: 991px) {
    .navigation .navigation-brand img.logo {
        max-width: 148px;
    }
}

@media screen and (max-width: 767px) {
    .navigation .navigation-brand img.logo {
        max-width: 140px;
    }
}

@media screen and (min-width: 992px) {
    .navigation.w-nav .nav-menu.navigation-center {
        gap: 8px;
    }

    .navigation .nav-menu.navigation-center > .w-dropdown,
    .navigation .nav-menu.navigation-center > .dropdown,
    .navigation .nav-menu.navigation-center > a.nav-top-link {
        margin-left: 0;
        margin-right: 0;
    }
}

.navigation .nav-menu.navigation-center > a.nav-top-link.navigation-link.w-inline-block {
    font-weight: 700;
    justify-content: flex-start;
}

.navigation .nav-menu.navigation-center > a.nav-top-link.navigation-link.w-inline-block div {
    text-align: left;
    font-weight: 700;
}

.navigation .nav-top-link__label--short {
    display: none;
}

.navigation .nav-top-link__label--full {
    display: inline;
}

@media screen and (max-width: 991px) {
    .navigation .nav-menu.navigation-center > a.nav-top-link.navigation-link.w-inline-block {
        padding: 10px 16px;
    }

    .navigation .nav-menu.navigation-center.active {
        overscroll-behavior: contain;
        touch-action: pan-y;
    }
}

html.nav-drawer-open {
    overflow: hidden;
    height: 100%;
}

html.nav-drawer-open body {
    overflow: hidden;
}

@media screen and (min-width: 992px) and (max-width: 1280px) {
    .navigation .navigation-brand a.brand {
        margin-right: 12px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1184px) {
    .navigation .navigation-brand img.logo {
        max-width: 128px;
    }

    .navigation.w-nav .nav-menu.navigation-center {
        gap: 4px;
    }

    .navigation .nav-menu.navigation-center > .w-dropdown .navigation-link.w-inline-block {
        padding: 8px 5px !important;
        font-size: 14px;
    }

    .navigation .nav-menu.navigation-center > a.nav-top-link.navigation-link.w-inline-block {
        padding: 8px 6px !important;
        font-size: 14px;
        flex-shrink: 0;
    }
}

.navigation.w-nav {
    border-bottom: none !important;
    box-shadow: none !important;
}

.navigation .nav-menu.navigation-center > .w-dropdown,
.navigation .nav-menu.navigation-center > .w-dropdown > .dropdown-toggle,
.navigation .nav-menu.navigation-center > .w-dropdown > .w-dropdown-toggle,
.navigation .nav-menu.navigation-center > a.navigation-link,
.navigation .nav-menu.navigation-center > .mobile-nav-buttons,
.navigation .nav-menu.navigation-center > .mobile-nav-buttons .button-navigation.w-button {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
}

@media screen and (max-width: 991px) {
    .navigation .nav-menu.navigation-center .dropdown-list .navigation-link,
    .navigation .nav-menu.navigation-center .navigation-column .navigation-link,
    .navigation .nav-menu.navigation-center .navigation-column .navigation-link.w-inline-block {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
    }

    .navigation .nav-menu.navigation-center > .w-dropdown {
        border: none !important;
        box-shadow: none !important;
    }

    /* mobile drawer: small down-caret (CSS triangle only — no border-right “divider” bug) */
    .navigation .nav-menu.navigation-center > .w-dropdown > .w-dropdown-toggle .navigation-link.w-inline-block::after,
    .navigation .nav-menu.navigation-center > .w-dropdown > .dropdown-toggle .navigation-link.w-inline-block::after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 8px;
        vertical-align: middle;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .navigation .nav-menu.navigation-center > .w-dropdown > .w-dropdown-toggle.w--open .navigation-link.w-inline-block::after,
    .navigation .nav-menu.navigation-center > .w-dropdown > .dropdown-toggle.w--open .navigation-link.w-inline-block::after {
        transform: rotate(180deg);
    }
}

@media screen and (min-width: 992px) {
    /* desktop top nav: dropdown caret (triangle, not 2-sided border chevron) */
    .navigation .nav-menu.navigation-center > .w-dropdown > .w-dropdown-toggle .navigation-link.w-inline-block::after,
    .navigation .nav-menu.navigation-center > .w-dropdown > .dropdown-toggle .navigation-link.w-inline-block::after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 6px;
        vertical-align: middle;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .navigation .nav-menu.navigation-center > .w-dropdown > .w-dropdown-toggle.w--open .navigation-link.w-inline-block::after,
    .navigation .nav-menu.navigation-center > .w-dropdown > .dropdown-toggle.w--open .navigation-link.w-inline-block::after {
        transform: rotate(180deg);
    }

    .navigation .nav-menu.navigation-center > .w-dropdown > .w-dropdown-list,
    .navigation .nav-menu.navigation-center > .w-dropdown > .dropdown-list {
        position: absolute;
    }

    .navigation .nav-menu.navigation-center .dropdown-list.w-dropdown-list.w--open,
    .navigation .nav-menu.navigation-center .dropdown-list.w--open {
        top: 100% !important;
        padding-top: 0 !important;
    }

    .navigation .nav-menu.navigation-center .dropdown-list.w-dropdown-list.w--open::before,
    .navigation .nav-menu.navigation-center .dropdown-list.w--open::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -24px;
        height: 24px;
        background: transparent;
    }

    .navigation .dropdown-list.w-dropdown-list.w--open {
        padding-top: 8px !important;
    }

    .navigation .dropdown-list-full-wrapper {
        padding-top: 0 !important;
    }

    .navigation .navigation-drop-container {
        padding-top: 10px !important;
        padding-bottom: 16px !important;
    }

    .navigation .navigation-grid {
        padding-top: 0 !important;
    }
}
