/* Techno theme — the phone menu (theme-techno-mobile.js): a text "MENU" button and a
   full-screen overlay instead of the hamburger icon and the pinned bottom bar. Its own file
   because the blog loads it too: the site (listings, policy, generated pages) gets it from the
   switch in listings.html, the blog from blog-src/src/_includes/base.njk. Uses the
   --techno-* variables both theme stylesheets define. Hidden above 600px. */

html[data-theme="techno"] .techno-menu-btn,
html[data-theme="techno"] .techno-menu {
    display: none;
}

@media (max-width: 600px) {
    html[data-theme="techno"] .hamburger-menu,
    html[data-theme="techno"] .social-media-container,
    html[data-theme="techno"] .event-social-media-container,
    html[data-theme="techno"] #installButton,
    html[data-theme="techno"] #installTextArea {
        display: none !important;
    }

    html[data-theme="techno"] .techno-menu-btn {
        display: block;
        position: fixed;
        top: 14px;
        right: 16px;
        z-index: 10001;
        padding: 8px 0 8px 8px;
        background: none;
        border: 0;
        color: var(--techno-text);
        font: 400 12px var(--techno-font);
        letter-spacing: 0.35em;
        text-transform: uppercase;
        cursor: pointer;
    }

    html[data-theme="techno"] .techno-menu-btn::before {
        content: "";
        display: inline-block;
        width: 14px;
        height: 1px;
        margin-right: 10px;
        vertical-align: middle;
        background: var(--techno-red);
    }

    html[data-theme="techno"] .techno-menu.open {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        inset: 0;
        z-index: 10000;
        padding: 0 32px;
        background: var(--techno-bg);
        font-family: var(--techno-font);
        overflow-y: auto;
    }

    html.techno-menu-open,
    html.techno-menu-open body {
        overflow: hidden;
    }

    html[data-theme="techno"] .techno-menu-big {
        display: block;
        padding: 6px 0;
        color: var(--techno-text);
        text-decoration: none;
        font-weight: 900;
        font-variation-settings: "wght" 900, "wdth" 125;
        font-size: 44px;
        line-height: 1.05;
        text-transform: uppercase;
    }

    html[data-theme="techno"] .techno-menu-rule {
        width: 40px;
        height: 2px;
        margin-top: 30px;
        background: var(--techno-red);
    }

    html[data-theme="techno"] .techno-menu-small {
        display: flex;
        flex-wrap: wrap;
        gap: 18px 26px;
        margin-top: 36px;
    }

    html[data-theme="techno"] .techno-menu-small a,
    html[data-theme="techno"] .techno-menu-small button {
        padding: 0 0 2px;
        background: none;
        border: 0;
        color: rgba(255, 255, 255, 0.72);
        font: 400 12px var(--techno-font);
        letter-spacing: 0.3em;
        text-decoration: none;
        text-transform: uppercase;
        cursor: pointer;
    }

    html[data-theme="techno"] .techno-menu-small .on {
        color: var(--techno-text);
        border-bottom: 1px solid var(--techno-red);
    }
}
