/* menu.css */

/* ==== Mobile (max-width: 1000px) ==== */
@media (max-width: 1000px) {

.no-bs-czech-button {
        font-family: 'Bambe', serif !important;
        text-transform: uppercase;
        font-size: 30pt !important;
        line-height: 30px !important;
        height: 27px;
        white-space: nowrap;
        text-decoration: none;
        color: var(--color-text);
    }

.no-bs-czech-button:hover {
    color: var(--as-cyan) !important;
}

.no-bs-czech-button:visited {
    color: var(--color-text);
}

.no-bs-czech-span {
        font-size: 7pt;
        line-height: 7pt;
        margin-left: 5px;
        font-family: 'Montserrat', serif;
        text-transform: uppercase;
    }

.no-bs-czech-button:visited {
        color: var(--color-text);
    }

.open-menu-button {
        background-image: url("../../images/menu/3-lines-black.svg");
        background-size: contain;
        background-position: center;
        padding: 5px !important;
        background-color: var(--color-text-on-accent) !important;
        width: 40px;
        height: 40px;
        border: 0px;
    }

.menu {
        width: 100%;
        height: var(--header-height-mobile);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        z-index: 6;
        position: fixed;
        top: 0;
        left: 0;
        background-color: var(--color-text-on-accent);
        border-bottom: 1px solid var(--as-black);
    }

.menu-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-left: 20px;
        justify-content: space-around;
    }

.menu-container-brand-name {
        justify-content: flex-start;
    }

.menu-container-links-logged-out {
        flex-grow: 1;
        justify-content: center;
        gap: 5dvw;
    }

.menu-container-links-logged-out a {
        font-family: 'Roboto', sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: .09em;
        text-transform: uppercase;
        color: var(--as-black);
        text-decoration: none;
        white-space: nowrap;
    }

.menu-container-links-logged-out a:hover {
        color: var(--as-cyan);
    }

.menu-container-social-media-buttons {
        gap: 10px;
        justify-content: flex-start;
        margin: 0 5px 0 5px;
    }

.menu-container-register-button {
        margin-right: 20px;
    }

.menu-container-dropdown-logged-in {
        justify-content: flex-end;
        margin-right: 10px;
    }

.menu-hamburger-container {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--header-height-mobile);
        right: 0;
        max-width: 85dvw;
        z-index: 99;
        background-color: var(--color-text-on-accent);
        height: calc(1px + 100dvh - var(--header-height-mobile) - var(--footer-height-mobile));
        border-left: 1px solid var(--as-black);
        overflow-y: auto;
    }

.menu-hamburger-container .social-media-button {
        padding: 0;
    }

}

/* ==== Desktop (min-width: 1001px) ==== */
@media (min-width: 1001px) {

.no-bs-czech-button {
        font-family: 'Bambe', serif !important;
        text-transform: uppercase;
        font-size: 30pt !important;
        line-height: 30px !important;
        height: 27px;
        margin-left: 15px;
        white-space: nowrap;
        text-decoration: none;
        cursor: pointer;
    }

.no-bs-czech-button:hover {
    color: var(--as-cyan) !important;
}

.no-bs-czech-button:visited {
    color: var(--color-text);
}

.no-bs-czech-span {
        font-size: 7pt;
        line-height: 7pt;
        margin-left: 5px;
        font-family: 'Montserrat', serif;
        text-transform: uppercase;
    }

.open-menu-button {
        background-image: url("../../images/menu/3-lines-black.svg");
        background-size: contain;
        background-position: center;
        padding: 5px !important;
        background-color: var(--color-text-on-accent) !important;
        width: 40px;
        height: 40px;
    }

.open-menu-button:hover {
        background-image: url("../../images/menu/3-lines-red.svg");
    }

.menu {
        width: 100%;
        height: var(--header-height);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        z-index: 6;
        position: fixed;
        top: 0;
        left: 0;
        background-color: var(--color-text-on-accent);
        border-bottom: 1px solid var(--as-black);
    }

.menu-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-left: 20px;
        justify-content: space-around;
    }

.menu-container-brand-name {
        justify-content: flex-start;
    }

.menu-container-links-logged-out {
        flex-grow: 1;
        justify-content: flex-end;
        gap: 4dvw;
        margin-right: 1dvw;
    }

.menu-container-links-logged-out a {
        font-family: 'Roboto', sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: .09em;
        text-transform: uppercase;
        color: var(--as-black);
        text-decoration: none;
        white-space: nowrap;
    }

.menu-container-links-logged-out a:hover {
        color: var(--as-cyan);
    }

.menu-container-social-media-buttons {
        gap: 10px;
        justify-content: flex-end;
    }

.menu-container-register-button {
    margin-right: 20px;
}

.menu-container-register-button button {
    font-family: 'Roboto', sans-serif;
    font-size: 11pt;
    font-weight: 500;
    padding: 10px 20px;
}

.menu-container-dropdown-logged-in {
        justify-content: flex-end;
        margin-right: 10px;
    }

.menu-container-links-flat {
        flex-grow: 1;
        justify-content: flex-end;
        gap: 40px;
    }

.menu-container-links-flat a {
        font-family: 'Roboto', monospace;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--as-black);
        text-decoration: none;
        white-space: nowrap;
    }

.menu-container-links-flat a:hover {
        color: var(--as-cyan);
    }

.open-menu-button-avatar {
        background-image: url("../../images/menu/3-lines-black.svg") !important;
        background-color: var(--color-text-on-accent) !important;
        background-size: 16px !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        border-radius: 50%;
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
    }

.open-menu-button-avatar:hover {
        background-image: url("../../images/menu/3-lines-cyan.svg") !important;
    }

.menu-hamburger-container {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        right: 0;
        z-index: 99;
        background-color: var(--color-text-on-accent);
        height: calc(1px + 100dvh - var(--header-height) - var(--footer-height));
        border-left: 1px solid var(--as-black);
        overflow-y: auto;
    }

.menu-button-group-1 h1 {
        box-sizing: border-box;
        font-family: 'Bambe', serif;
        margin: 15px;
        font-size: 25pt;
        white-space: nowrap;
        color: var(--color-text);
        /* font-family: 'Thrashlane';
        margin: 15px 30px 15px 30px;
        font-size: 30pt; */
    }

.menu-button-group-2 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

.menu-button-group-3 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

}

/* ==== Expandable menu panel content (shared across breakpoints) ==== */

.hb-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    background-color: var(--color-surface-alt);
    border-bottom: 1px solid var(--as-black);
}

.hb-header-user {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hb-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-surface-alt);
    background-size: cover;
    background-position: center;
    border: 2px solid var(--as-black);
}

.hb-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hb-user-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--as-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-user-meta {
    font-family: 'Roboto', monospace;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--as-grey);
}

.hb-close-button {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-surface-alt);
    border: 1.5px solid var(--as-black);
    color: var(--as-black);
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 1dvw;
}

.hb-close-button:hover {
    background-color: var(--as-black);
    color: var(--as-white);
}

.hb-section {
    display: flex;
    flex-direction: column;
    padding: 18px 16px 4px;
}

.hb-section-title {
    display: inline-block;
    width: fit-content;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--as-black);
    margin: 0 0 14px 0;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--as-cyan);
}

.hb-section a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--as-black);
    text-decoration: none;
    padding: 0 0 16px 0;
    letter-spacing: .06em;
}

.hb-section a:hover {
    color: var(--as-cyan);
}

.hb-section a.hb-logout {
    color: var(--color-primary);
}

.hb-section a.hb-logout:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

/* Logged-out mobile menu (plain links, no hb-header/hb-section wrapper) */
.menu-hamburger-container > a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--as-black);
    text-decoration: none;
    padding: 16px 16px 0;
}

.menu-hamburger-container > a:hover {
    color: var(--as-cyan);
}

.menu-hamburger-container > .menu-container-social-media-buttons {
    padding: 16px;
}

