:root {
    --background: radial-gradient(circle at center,
            rgba(25, 1, 55, 0.4) 30%, /* centre */ 
            rgba(8, 1, 35, 0.4) 60%, /* mid */
            rgba(2, 0, 12, 0.8) 100% /* far out */ 
        );
    --body-font: "Source Sans 3", sans-serif;
    --heading-font: 'Source Code Pro', monospace;
    --bg-color: #050114;
    --ui-white: #F2F5F7;
    --ui-black: #070A14;
    --ui-dark-gray: #1A232B;
    --ui-dark-purple: #611FF4;
    --ui-light-purple: #AEA3FF;
    --ui-light-blue: #8ED0DC;
    --ui-neon-green: #C9E73A;
    --ui-subtle-gray: #a8b4bc;
    --input-field-bg: rgba(71, 64, 112, 0.1);
    --input-field-border: 1px solid rgb(142, 208, 220, 0.3);
    --input-field-hover-border-color: rgba(142, 208, 220, 0.6);
    --input-field-hover-bg-color: rgba(5, 1, 25, 0.8);
    --input-field-focus-box-shadow: 0 0 12px rgba(142, 208, 220, 0.4);
    --input-field-focus-border-color: rgb(142, 208, 220, 0.8);
    --container-bg-color: rgba(34, 46, 56, 0.2);
    --container-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    --card-bg-color: rgba(71, 110, 141, 8%);
    --card-border: 1px solid rgb(142, 208, 220, 0.1);
    --popup-bg-color: rgba(246, 247, 249, 0.9);
    --popup-box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    --text-color: var(--ui-white);
    --tinted-text-color: var(--ui-subtle-gray);
    --placeholder-text-color: var(--ui-light-blue);
    --heading-color: var(--ui-light-purple);
    --link-color: var(--ui-light-blue);
    --highlight-color: var(--ui-neon-green);
    --button-border-color: var(--ui-dark-purple);
}




body, html {
    font-family: var(--body-font);
    font-optical-sizing: auto;
    font-size: 16px;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    max-width: 100vw;
    background: var(--background);
    background-color: var(--bg-color);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

main, .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#large-search-panel {
    width: auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 5em auto 1em auto;
    padding: 40px 24px;
    font-family: var(--heading-font);
}

.large-search-headings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
}

.large-search-headings h2 {
    color: var(--text-color);
    margin: 0 auto 1.2em auto;
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: .02em;
}

    .large-search-container {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        width: 100%;
        min-width: 0;
        margin: 0 auto 1.5em auto;
        border-radius: 60px;
        border: var(--input-field-border);
        background: var(--input-field-bg);
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        #large-search-input {
            flex: 1 1 auto;
            padding: 1.2em 1.6em;
            font-size: 1.1rem;
            color: var(--text-color);
            background: transparent;
            outline: none;
            border: none;
            border-radius: 600px;
            font-family: var(--body-font);
        }
        .large-search-container:hover {
            border-color: var(--input-field-hover-border-color);
            background: var(--input-field-hover-bg-color);
        }
        .large-search-container:focus-within {
            background: var(--input-field-focus-bg-color);
            box-shadow: var(--input-field-focus-box-shadow);
            border-color: var(--input-field-focus-border-color);
        }
        #large-search-input::placeholder {
            color: var(--placeholder-text-color);
            opacity: 0.5;
            font-weight: 200;
            font-style: italic;
        }

        #large-search-btn {
            padding: 0 1.5em;
            margin: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: .02em;
            cursor: pointer;
        }

        .btn-inactive {
            background: #3a3f47;
            color: #F2F5F7;
            cursor: not-allowed;
        }

.card-container {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1em;
    background-color: var(--container-bg-color);
    border-radius: 14px;
    box-shadow: var(--container-box-shadow);
    font-family: var(--body-font);
}
    .card {
        display: flex;
        flex-direction: column;
        padding: 24px 32px;
        border: var(--card-border);
        border-radius: 8px;
        background-color: var(--card-bg-color);
        font-size: 1em;
        font-weight: 300;
        letter-spacing: .01em;
    }

#search-results {
    width: 100%;
    max-width: 800px;
    flex-direction: column;
    padding: 1em;
    display: none;
    margin: 0 auto 5% auto;
}

.result-item {
    gap: 0.5em;
}

    .result-item p {
        font-size: 1rem;
        margin: 0 0 0.7em 0;
        padding: 6px 0;
        line-height: 1.5em;
        white-space: pre-wrap;
    }
    .result-item p::before {
        content: "• ";
        color: var(--highlight-color);
        font-weight: 600;
    }

    .result-item-cta {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

.global-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
    background-color: var(--popup-bg-color);
    backdrop-filter: blur(4px);
    color: var(--ui-black);
    padding: 32px;
    box-shadow: var(--popup-box-shadow);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
    font-size: 0.9em;
    font-family: var(--body-font);
}
    .global-drawer.open {
        right: 0;
    }

        
.global-drawer h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--ui-dark-gray);
}

.global-drawer pre {
    white-space: pre-wrap;
    margin: 0;
    font-family: var(--body-font);
}

    .global-drawer ul {
        list-style-type: disc;
        margin: 0;
        padding-left: 20px;
    }

    .global-drawer li {
        white-space: pre-wrap;
        margin-bottom: 5px;
    }

    .drawer-content {
        margin-top: 40px;
    }
        .btn-ic-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 32px;
            height: 32px;
            background: transparent;
            border: 1px solid var(--ui-dark-gray);
            cursor: pointer;
            color: var(--ui-dark-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            z-index: 1;
            transform: scale(1);
            transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
        }
        .btn-ic-close:hover {
            background: var(--ui-dark-gray);
            color: var(--ui-white);
        }
        .btn-ic-close:focus {
            outline: 2px solid rgba(26, 35, 43, 1);
            outline-offset: 2px;
        }
        .btn-ic-close:active {
            opacity: .5;
            transform: scale(0.95);
        }
        i.fa-xmark {
            transition: transform 0.3s ease;
        }
        .btn-ic-close:hover i {
            transform: rotate(90deg);
        }

.panel-cta {
    font-family: var(--heading-font);
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--link-color);
    text-decoration: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    flex-flow: row nowrap;
    padding: 6px;
    position: relative;
    cursor: pointer;
}
    .panel-cta::after {
        content: "⯈";
        font-size: 12px;
        margin-left: 4px;
        transform: translateX(0);
        transition: transform 0.3s ease;
    }
   
    .panel-cta:hover {
        color: var(--highlight-color);
    }
    .panel-cta:hover::after {
        transform: translateX(4px);
    }
    .panel-cta:focus {
        color: var(--highlight-color);
    }


.tertiary-button {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04rem;
    color: var(--link-color);
    text-decoration: none;
    position: relative;
    padding: 8px;
    margin: 1em auto;
}

    .tertiary-button::before {
        content: "";
        height: 2px;
        width: 90%;
        background: var(--highlight-color);
        display: inline-block;
        position: absolute;
        top: calc(100% + 4px);
        transform: translateY(-8px);
        opacity: 0;
        transition: opacity 0.1s ease-in-out, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
        .tertiary-button:hover::before, .tertiary-button:focus::before {
            transform: translateY(0);
            opacity: 1;
        }

    

.secondary-button {
    background-color: transparent;
    color: var(--ui-white);
    border: 1px solid var(--button-border-color);
    box-shadow: none;
    border-radius: 300px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
    .secondary-button:hover, .secondary-button:focus {
        background: var(--ui-dark-purple);
        color: var(--text-color);
    }
    .secondary-button::after {
        margin-left: 0.5em;
        font-size: 1em;
    }
            .secondary-button.go-to-node:hover::after {
                content: " ⦿";
            }
            .secondary-button.go-to-node::after {
                content: " ⦾";     
            }
            .secondary-button.go-to-insights:hover::after {
                content: " 📰";
            }
            .secondary-button.go-to-insights::after {
                content: " 🗞️";
            }



.network-container {
    position: relative;
    max-width: 100vw;
    height: auto;
    overflow: hidden;
}

#network {
    width: 95vw;
    height: 90vh;
    border: var(--input-field-border);
    border-radius: 18px;
    background: transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}
    #network:hover {
        border-color: var(--input-field-hover-border-color);
        box-shadow: 0 0px 18px 6px rgba(0, 6, 10, 0.2);
    }
    #network:focus {
        outline: 1px solid rgba(142, 208, 220, 0.8);
        outline-offset: 4px;
    }

        .control-panel {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            background: #222e38;
            color: var(--text-color);
            border-radius: 12px 0 0 12px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
            width: 280px;
            max-width: 90vw;
            min-height: 200px;
            transition: right 0.3s, top 0.3s, box-shadow 0.3s;
            z-index: 1001;
            display: flex;
            flex-direction: row;
            align-items: stretch;
        }
    
        .control-panel.collapsed {
            right: -220px;
            box-shadow: none;
        }
    
        .control-panel-toggle {
            background: #1a232b;
            border: none;
            border-radius: 12px 0 0 0;
            color: #f8fafb;
            width: 60px;
            min-width: 60px;
            height: 56px;
            cursor: pointer;
            outline: none;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
        }
    
        .control-panel-title {
            writing-mode: vertical-rl;
            transform: rotate(180deg);
            position: absolute;
            top: 38%;
            text-align: center;
            white-space: nowrap;
            margin-bottom: 0;
            margin-top: 0;
        }
    
        button#control-panel-toggle span.label_small {
            font-family: var(--body-font);
            font-size: 0.9em;
            font-weight: 500;
            color: var(--ui-light-blue);
        }
        button#control-panel-toggle:focus {
            outline: none;
            background: var(--ui-light-blue);
            color: #1a232b;
        }   
    
        .control-panel-toggle:hover {
            background: #263544;
        }
    
        .control-panel-content {
            flex: 1;
            display: flex;
            padding: 24px 20px 24px 12px;
            overflow-y: auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
            border-left: 1px solid rgba(142, 208, 220, 0.15);   
        }

div.vis-tooltip {
    font-size: 14px;
    max-width: 500px;
    white-space: pre-wrap;
    background-color: var(--popup-bg-color);
    color: var(--ui-black);
    border-radius: 8px;
    padding: 6px 14px;
    border: var(--input-field-border);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.15);
}

div.vis-button {
    transition: border-color 0.2s;
    border-radius: 40px;
    }

div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends {
    background-image: url(/src/Assets/ic_resetZoom.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

div.vis-network div.vis-navigation div.vis-button.vis-zoomOut {
    background-image: url(/src/Assets/ic_zoomOut.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

div.vis-network div.vis-navigation div.vis-button.vis-zoomIn {
    background-image: url(/src/Assets/ic_zoomIn.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

div.vis-network div.vis-navigation div.vis-button.vis-up {
    background-image: url(Assets/ic_chevron.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0px;
    display: none;
}

div.vis-network div.vis-navigation div.vis-button.vis-down {
    background-image: url(Assets/ic_chevron.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0px;
    transform: rotate(180deg);
    transform-origin: center center;
    display: none;
}

div.vis-network div.vis-navigation div.vis-button.vis-left {
    background-image: url(Assets/ic_chevron.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0px;
    transform: rotate(-90deg);
    transform-origin: center center;
    display: none;
}

div.vis-network div.vis-navigation div.vis-button.vis-right {
    background-image: url(Assets/ic_chevron.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0px;
    transform: rotate(90deg);
    transform-origin: center center;
    display: none;
}

    div.vis-button:hover {
        border-color: rgba(142, 208, 220, 0.9);
    }

.menu {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    padding: 1.5rem 2rem;
    z-index: 1000;
    font-family: var(--heading-font);
    text-align: center;
    font-size: .9rem;
    font-weight: 500;
}
    .menu-items {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
        text-align: left;
        list-style: none;
        opacity: 1;
        visibility: visible;
        gap: .5em;
        transition: opacity .3s ease-out;
    }
        .menu ul li {
            margin-right: 24px;
        }
            .menu li a {
                text-decoration: none;
                color: var(--text-color);
                transition: color 0.3s ease;
                position: relative;
                padding: 0.5rem;
            }
            .menu a:visited {
                color: var(--text-color);
            }
            .menu a:hover {
                color: var(--highlight-color);
            }
            .menu a:active {
                color: var(--highlight-color);
                opacity: .5;
            }
            .menu a.current {
                color: var(--highlight-color);
            }
            .menu li a::after {
                content: "";
                display: block;
                position: absolute;
                left: 5%;
                bottom: -0.5em;
                width: 100%;
                height: 2px;
                background: var(--highlight-color);
                transform: scaleX(0);
                transform-origin: left;
                transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                border-radius: 2px;
                pointer-events: none;
                opacity: 0.9;
            }
                .menu li a:hover::after,
                .menu li a:focus::after {
                    transform: scaleX(0.9);
                }
    
a#home-logo {
    display: flex;
}
    .nav-logo {
        width: 11em;
        height: auto;
    }

.hamburger-menu {
    display: none;
}



.checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2em;
    margin-bottom: 0.5em;
}

.control-panel-content input[type="checkbox"] {
    accent-color: var(--highlight-color);
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 4px;
    transition: box-shadow 0.2s;
}
.control-panel-content label {
    font-family: var(--body-font);
    font-size: .9em;
    font-weight: 300;
    color: var(--text-color);
    cursor: pointer;
    vertical-align: middle;
    user-select: none;
    transition: color 0.2s;
}
.control-panel-content input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--ui-light-blue);
    outline-offset: 2px;
}
.control-panel-content input[type="checkbox"]:checked + label {
    color: var(--highlight-color);
    font-weight: 600;
}

.small-search-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .small-search-container {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
        transition: background 0.2s, box-shadow 0.2s;
    }

    #small-search-input, #data-search {
        padding: 0.5em;
        border-radius: 6px;
        border: 1px solid rgb(142, 208, 220, 0.5);
        background: #1a232b;
        color: var(--text-color);
        font-family: var(--body-font);
        font-size: 0.9em; 
        transition: border-color 0.2s, box-shadow 0.2s;
    }
        .small-search-container:hover {
            background: #263544;
            box-shadow: 0 0 8px rgba(142, 208, 220, 0.3);
        }

        #small-search-input:hover {
            border-color: var(--ui-light-blue);
            box-shadow: 0 0 5px rgba(58, 156, 231, 0.5); 
        }

        #small-search-input::placeholder {
            color: var(--placeholder-text-color);
            opacity: 0.5;
            font-weight: 200;
            font-style: italic;
        }

            #small-search-clear {
                position: absolute;
                right: 0;
                top: auto;
                transform: translate(-2.75em, 1em);
                width: 1.5em;
                height: 1.5em;
                background: rgba(248, 250, 251, 0.1);
                color: var(--text-color);
                border-radius: 50%;
                border: solid 1px rgba(248, 250, 251, 0.2);
                cursor: pointer;
                display: none;
                font-size: 0.6em;
                font-weight: 100;
                line-height: 1;
                padding: 0;
            }
        
                #small-search-clear:hover {
                    background: var(--highlight-color);
                    color: var(--ui-black);
                }
        
                .small-search-result-count {
                    font-size: 0.75em;
                    color: var(--ui-light-blue);
                    padding-right: 0.5em;
                    margin-top: 0.25em;
                    align-self: flex-end;         
                }




h1 {
    color: var(--heading-color);
    font-size: 5rem;
    font-family: var(--heading-font);
    font-weight: 400;
}

h2 {
    color: var(--heading-color);
    font-size: 3rem;
    font-family: var(--heading-font);
    font-weight: 600;
}

h3 {
    font-size: 1.2rem;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: .1rem;
    color: var(--heading-color);
}

h4 {
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--heading-color);
}

h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
    color: var(--heading-color);
}

p {
    color: var(--text-color);
    font-size: 1.125rem;
    line-height: 1.8rem;
    font-weight: 300;
    letter-spacing: .03em;
}

p.intro-text {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--tinted-text-color);
}

.sub-text {
    font-size: 1rem;
    line-height: auto;
}

b {
    font-weight: 700;
}

a {
    color: var(--link-color);
    font-weight: 600;
}
    a:hover {
        color: var(--highlight-color);
    }
    a:active {
        opacity: .5;
    }

.label_small {
    font-size: 0.875em;
    font-weight: 500;
    color: var(--ui-light-blue);
}

.short-vertical-divider {
    width: 1px;
    height: 100%;
    min-height: 16px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: auto 1em;
}

.cta-link {
    text-decoration: none;
    align-self: flex-end;
    margin: 1rem 5% 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
    .cta-link:hover {
        color: var(--highlight-color);
    }
    .cta-link:hover::before {
        transform: scaleX(1);
    }
    .cta-link::before {
        content: "";
        width: 100%;
        height: 2px;
        background: var(--highlight-color);
        display: block;
        position: relative;
        top: 2em;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }
    .cta-link::after {
        content: "";
        font-size: 1em;
        margin-left: 4px;
        transition: transform 0.3s ease;
    }
        .cta-link:hover::after {
            transform: translateX(4px);
        }
       .cta-link.open-new-tab::after {
            content: "↗";
        }

footer {
    width: 100%;
    max-width: 100vw;
    font-family: 'Source Code Pro', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 10%;
    padding: 2rem 4rem;
    color: var(--text-color);
    box-sizing: border-box;
    overflow: hidden;
    /* background: rgba(0, 6, 11, 0.4); */
}
            footer a {
            color: var(--text-color);
            }

    .footer-main-container {
        width: 100%;
        max-width: 95vw;
        height: auto;
        display: flex;
        flex-flow: row wrap;
        gap: 1em;
        padding: 1em 0 1.5em 0;
        align-items: center;
        justify-content: space-between;
        border-bottom: solid 1px rgba(197, 211, 239, 0.15);
    }
        .footer-left-content {
            width: auto;
            max-width: 70vw;
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            justify-content: flex-start;
            gap: 2em;
        }
            .footer-logo {
                width: 3em;
                height: auto;
            }
            .footer-links {
                display: flex;
                flex-flow: row wrap;
                gap: 1.5em;
            }
                .footer-links a {
                    font-size: .8em;
                    text-decoration: none;
                    text-align: left;
                    white-space: nowrap;
                }
                .footer-links a:hover {
                    font-weight: 800;
                    text-decoration: underline;
                    color: var(--highlight-color);
                }
                .footer-links a:current {
                    font-weight: 800;
                }
        .footer-socials {
            display: flex;
            flex-flow: row nowrap;
            gap: 1.5em;
        }
    .footer-bottom {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        gap: 1.5em;
        font-family: var(--body-font);
        font-size: .8em;
        font-weight: 400;
        letter-spacing: .04em;
    }
        .footer-bottom a {
            text-decoration: none;
            text-align: center;
            color: var(--text-color);
            font-weight: inherit;
        }
        .footer-copyright {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .footer-bottom-links {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5em;
        }


button {
    padding: 0.9em 1.5em;
    border-radius: 500px;
    font-family: var(--heading-font);
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: .03em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    transition: all .2s;
}
a.button-link {
    text-decoration: none;
}
    button span {
        display: inline-block;
        transition: all .5s ease;
    }
    button span img {
        width: 1.5em;
    }
    button span.btn-label {
        position: relative;
        top: 0;
        opacity: 1;
        transition: .3s;
    }
    button span.btn-icon {
        position: absolute;
        transform: translateY(10px);
        visibility: hidden;
        opacity: 0;
        transition: .4s;
    }
        button:hover span.btn-label {
            top: -10px;
            opacity: 0;
        }
        button:hover span.btn-icon {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }
    button:active {
        opacity: .6;
    }
button:focus {
        outline: 2px solid var(--ui-light-blue);
        outline-offset: 4px;
    }
    #header-sponsor-cta {
        margin-left: auto;
    }
    .primary-button {
        background: linear-gradient(145deg, #611FF4 20%, #02d9ff 100%);
        background-size: 200% 100%;
        background-position: 0% 50%;
        box-shadow: 0 2px 10px rgba(97, 31, 244, 0.15);
        border: none;
        color: var(--text-color);
        transition: background-position 0.5s ease, box-shadow 0.3s ease;
    }
        .primary-button:hover {
            background-position: 100% 50%;
            box-shadow: 0 2px 14px rgba(29, 3, 87, 0.25);
            outline: none;
        }
        .primary-button:focus {
            outline: 2px solid var(--ui-light-blue);
            outline-offset: 4px;
        }

.link {
    transition: color 0.1s;
}
    .link:hover {
        color: var(--highlight-color);
    }
    .link:visited {
        color: var(--ui-dark-purple);
    }


.large-cta-link {
    font-family: var(--heading-font);
    text-decoration: none;
    display: inline-flex;
    transition: color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1em;
    border-bottom: 1px solid;
    padding-bottom: 1.5em;
}
    .large-cta-link:hover {
        color: var(--highlight-color);
    }


.text-container-wrapper {
    width: auto;
    max-width: 100vw;
    height: auto;
    text-align: left;
    flex: 1 0 auto;
    display: flex;
    flex-flow: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: calc(80px + 2%) 15%;
}
    .text-paragraph {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1em;
    }
        .text-paragraph h4 {
            margin-bottom: 0;
        }
    .text-container-wrapper .primary-button {
        margin-top: calc(1rem + 2%);
    }

    .sponsor-links, #sponsor-links {
        font-family: var(--heading-font);
        font-size: 1.1em;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        margin-top: 2rem;
    }
        @media (max-width: 1024px) {
            .sponsor-links, #sponsor-links {
                gap: 2rem;
            }
        }
  

.social-ctas {
    width: auto;
    height: auto;
    display: flex;
    flex-flow: row wrap;
    gap: 3rem;
}
    .social-ctas a, .social-cta {
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background: transparent;
        border-radius: 4px;
        border: 1px solid var(--ui-light-blue);
    }
    .social-cta:hover {
        background-color: var(--ui-neon-green);
        color: var(--ui-black);
    }
        

hr {
    width: 100%;
   margin: 8% 0;
   border: 1px solid rgba(136, 146, 230, 0.15);
}

.notice-panel {
    display: block;
    width: 80vw;
    max-width: 800px;
    height: auto;
    padding: 5% 7%;
    border-radius: 18px;
    background: var(--popup-bg-color);
    backdrop-filter: blur(5px);
    color: var(--ui-black);
    font-weight: 400;
}
    .notice-panel p {
        color: var(--ui-black);
        font-weight: 400;
    }
    .notice-panel a {
        color:  #0491AA;
        font-weight: 600;
    }
        .notice-panel a:hover {
            color: var(--ui-dark-purple);
        }

/* BREAK POINTS */

@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }
}

@media (max-width: 961px) { /* mostly used because of Header Menu */
    .menu {
            justify-content: space-between;
            align-items: center;
            height: auto;
            gap: 2rem;
            max-height: 64px;
            width: 100vw;
        }
    
        #header-sponsor-cta {
            display: none;
        }
    
        .menu-items {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            font-size: 1.2em;
            text-align: right;
            gap: 1.5em;
            background: linear-gradient(135deg,
                    rgba(29, 3, 76, 0.25) 10%,
                    rgba(31, 10, 87, 0.75) 50%,
                    rgba(5, 1, 20, 0.95) 100%);
            backdrop-filter: blur(12px) saturate(120%);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(67, 105, 220, 0.3);
            width: calc(100% - 2em);
            padding: 2em;
            margin: auto;
            box-sizing: border-box;
            position: absolute;
            top: 4em;
            left: 50%;
            border-radius: 10px;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transform: translate(-50%, -20px);
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease-in, visibility 0s linear 0.3s;
        }
    
        .sponsor-button-mobile {
            margin-top: 1.5em;
            font-size: 14px;
        }
    
        .sponsor-button-mobile::after {
            content: '🤍';
        }
    
        .menu-items-mobile_open {
            visibility: visible;
            opacity: 1;
            transform: translate(-50%, 0);
            pointer-events: auto;
            transition-delay: 0s;
        }
    
        .hamburger-menu {
            display: block;
            cursor: pointer;
        }
    
        .hamburger-menu:active {
            opacity: .5;
        }
    
        .menu ul li {
            margin-right: 0;
        }
}

@media (max-width: 812px) {
    
    h1 {
            font-size: 3rem;
            font-weight: 500;
        }
    
    h2 {
        font-size: 2.3rem;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    .text-container-wrapper {
        margin: 5rem 3rem;
        gap: 1rem;
    }

    footer {
        justify-content: center;
        padding: 2rem;
    }
        .footer-main-container {
            justify-content: center;
            padding: 1em 0 2em 0;
            gap: 2em;
        }
            .footer-left-content {
                flex-wrap: wrap;
                max-width: 100%;
                justify-content: center;
                gap: 2em;
            }
                .footer-links {
                    justify-content: center;
                    flex-grow: 1;
                }
}


@media (max-width: 769px) {
    
    div.vis-network div.vis-navigation {
        display: none;
    }
    #home-footer {
        width: 100%;
    }

    .control-panel-toggle {
        width: 48px;
        min-width: 48px;
        padding: 8px;
    }
    .control-panel.collapsed {
        right: calc(-280px + 48px);
    }
    #large-search-panel {
        margin-left: 0;
        margin-right: 0;
    }
    #large-search-panel,
    #search-results {
        max-width: 95vw;
        box-sizing: border-box;
    }
    #search-results {
        max-width: 95vw;
    }

    
}

@media (max-width: 600px) {
    .menu-items {
            align-items: center;
            text-align: center;
        }

    /* ul {
        padding-left: 1em;
    } */

    #large-search-panel {
        padding: 24px; 
    }

        #large-search-panel h2 {
            font-size: 28px;
        }
    
        #large-search-input {
            font-size: 1rem;
            padding: 1.2em 1.4em;
        }
    
        #search-results {
            padding: 1em;
        }

    .control-panel {
        width: 90vw;
    }

    .control-panel.collapsed {
        right: calc(-90vw + 48px);
    }

    .sponsor-links {
        font-size: 1em;
    }

        .footer-bottom {
            flex-direction: column;
            gap: 2em;
        }
            .footer-copyright,
            .footer-bottom-links {
                flex-grow: 1;
            }
                footer .footer-bottom .short-vertical-divider {
                    display: none;
                }
   
}

@media (max-width: 481px) {

    body {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    #large-search-panel {
        padding: 16px; 
    }
    #search-results {
        margin: 1rem 1rem 3rem 1rem;
    }
        .result-item-cta {
            flex-direction: column;
            align-items: center;
            gap: 1em;
        }
    .control-panel {
        width: 80vw;
        height: 40vh;
        flex-direction: column;
        top: 100%;
        left: calc((95vw - 80vw) / 2);
        border-radius: 12px 12px 0 0;
        transform: translateY(-100%);
    }
    .control-panel.collapsed {
        top: calc(100% + 40vh - 56px);
    }
        .control-panel-title {
            writing-mode: horizontal-tb;
            transform: rotate(0);
            top: 20px;
            left: calc(50% - 40px);
        }
        .control-panel-content {
            border-top: solid rgba(142, 208, 220, 0.15);
            border-left: none;
        }


}

@media (max-width: 426px) {
    
    .global-drawer {
        width: 95vw;
        padding: 24px;
    }
    .global-drawer h3 {
        font-size: 1.2em;
    }

    .text-container-wrapper {
        margin: 5rem 2rem;
    }

    #sponsor-links-anchor {
        scroll-margin-top: -35rem;
    }

}

@media (max-width: 370px) {
    .large-search-container {
        flex-direction: column;
        justify-content: center;
        gap: 1em;
        border-radius: 8px;
    }
    #large-search-btn {
        padding: 14px;
    }
    #search-results {
        padding: 12px
    }
    .result-item {
        padding: 16px;
    }
    .menu-items {
        padding: 2em 1em;
    }
    .text-container-wrapper {
        margin: 5rem 1.5rem;
    }
}