html {
    height: 100%;
    min-height: 100%;
}

body {
    min-height: 100%;
    transition: background-color 1s;
}

.colorme {
    transition: color 1s;
}

.section {
    max-width: 70em;
    margin: auto;
    padding-top: 2rem
}

.footer {
    background-color: white;
    padding: 0rem;
    text-align: left;
}


.black-box {
    background-color: black;
    color: white;
    border-radius: 10px;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    max-width: 500px;
    max-height: 80px;
    word-wrap: break-word;
    display: inline-block;
}

.bf {
    font-weight: bold;
}

.navbar {
    padding-bottom: 1rem;
    background-color: inherit;
}

.title {
    font-size: 1.5rem;
}

.title2 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: .3em;
}


.bd-post-content {
    max-width: 70em;
}

.name {
    margin-bottom: 2em;
}

.authors {
    color: #4a4a4a;
}

.conferencetitle {
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}

.bio {
    margin-top: 2em;
    margin-bottom: 2em;
}

.right {
    float: right;
}

.tagp {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.tag.is-rounded {
    border-radius: 4px !important;
    margin-left: 0.2em !important;
}

.tag-button {
    border-width: 0em;
    border-color: rgba(170, 170, 170, 0.525);
    border-style: solid;
}

.ghostbutton {
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}

.is-size-55 {
    font-size: 1.15rem;
}

.is-size-66 {
    font-size: 1.65rem;
}

.padded_block {
    margin-bottom: 0.5rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
}

.bottom_padding {
    margin-bottom: 0rem;
}

.bottom_padding_2 {
    margin-bottom: 1.6rem;
}


.resume_block {
    margin-bottom: 3rem;
    text-align: left;
}


.nowrap {
    white-space: nowrap;
}

.button_container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.subtitle-no-margin {
    margin-bottom: 12px !important;
}

.subtitle {
    font-size: 1rem;
}

.dropdown-menu {
    z-index: 1000;
}

#reset {
    display: none;
}

.top_padding {
    margin-top: 0.5rem;
}

.resume_header {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: inherit;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-card {
    width: 100%;
    max-width: 50em;
}


.modal-background {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-card-head {
    background-color: rgba(0, 0, 0, 0.3);
    ;
    padding: 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-card-foot {
    padding: 0px;
}

.modal-card-title {
    font-size: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding: 0.3rem;
    font-weight: 600;
    color: white;
}

.teach-section {
    display: flex;
    flex-direction: row;
}

.teach-description {
    padding-right: .8em;
    flex: 80%;
}


.wrapper {
    position: relative;
}

.target-div {
    position: relative;
    z-index: 1;
}


#my-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    /* To allow interaction with the content beneath the canvas */
}

#my-canvas-2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    /* To allow interaction with the content beneath the canvas */
}

.no-wrap {
    white-space: nowrap;
}


.tsparticles-container {
    position: relative;
}

#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

#tsparticles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0));
    z-index: 0;
    pointer-events: none;
}

.tsparticles-content {
    z-index: 1;
}

.entry {
    background-color: transparent;
    border-radius: 6px;
    padding: 20px;
    margin-right: 0.6em;
    margin-left: 0.6em;
    margin-bottom: 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* border-left: 0px;
    border-right: 0px; */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    /* backdrop-filter: blur(6px); */
    /* -webkit-backdrop-filter: blur(6px); */
}

.highlighter {
    background-color: transparent;
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    /* background-color: rgba(76, 176, 239, 0.187); */
    /* border: 1px solid rgba(0, 0, 0, 1); */
}

.year {
    background-color: transparent;
    border: 0px;
    margin-bottom: 0rem !important;
    box-shadow: none;
    font-family: 'Outfit', sans-serif;
    padding-right: 15px;
    text-align: right;
    padding-top: 4px;
}


img {
    border-radius: 4px
}

/* style="border-radius: 20px; border: 8px solid hsl(347, 90%, 90%);" */

hr {
    /* border: none; */
    height: 1px;
    background-color: rgba(198, 198, 198, 0.9);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    margin-top: 12px;
    margin-bottom: 6px;
}

.rotate {
    transform: rotate(180deg);
}

.fa-chevron-down {
    transition: transform 0.3s ease-in-out;
}

.tile.is-child {
    /* max-width: 30em; */
    padding: 1em;
    border-radius: 0.5em;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 0.7em !important;
    margin-bottom: 0.7em !important;
    margin-right: 0.7em !important;
    margin-left: 0.7em !important;
    position: relative;
    z-index: 10;
}

.tile.is-only-child {
    padding: 1em;
    border-radius: 0.5em;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 0.7em !important;
    margin-bottom: 0.7em !important;
    margin-right: 0.7em !important;
    margin-left: 0.7em !important;
    position: relative;
    z-index: 10;
    /* padding: 1em;
    padding-right: 1.5em;
    padding-left: 1.5em;
    border-radius: 0.5em;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 0.7em !important;
    margin-bottom: 0.7em !important;
    margin-left: 0.7em !important;
    margin-right: 0.7em !important;
    z-index: 10; */
}


#mii {
    position: relative;
    /* To position the pseudo-element correctly */
    display: inline-block;
    /* To fit the div size to the image */
    border-radius: 100px;
    overflow: hidden;
    /* To clip the pseudo-element to the border radius */
}

#mii::before {
    content: "";
    /* Required for pseudo-elements */
    position: absolute;
    /* To cover the entire parent element */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 100px;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.2);
}


.image {
    position: relative;
    /* To position the pseudo-element correctly */
    display: inline-block;
    /* To fit the div size to the image */
    overflow: hidden;
    /* To clip the pseudo-element to the border radius */
    border-radius: 4px;
}

.image::before {
    content: "";
    /* Required for pseudo-elements */
    position: absolute;
    /* To cover the entire parent element */
    border-radius: 4px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.custom-marker {
    background-image: url('./assets/mii.png');
    background-size: cover;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Trajectory map styles */
.trajectory-marker {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trajectory-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Map container enhancements */
#map {
    position: relative;
    overflow: hidden;
}

#map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 6px -6px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position: relative;
    z-index: 0;
}

@media screen and (max-width: 768px) {
    .is-flex-mobile {
        flex-direction: column !important;
    }

    .is-flex-mobile .media-left {
        margin-right: 0;
        margin-bottom: 1em;
    }
}


.navbar-container {
    margin: 0.4em;
    position: relative;
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(0px);
    font-size: 24px;
    font-weight: 500;
    padding: 14px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}


@media (max-width: 380px) {
    .navbar-item {
        width: 100%;
        text-align: center;
    }
}

.navbar-highlight {
    width: fit-content;
    border-radius: 8px;
    background: rgb(255, 255, 255);
    z-index: -1;
}

.navbar-item {
    border-radius: 8px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 32px;
    margin: 0px 6px 0px 6px;
    padding: 24px 16px;
    transition: opacity 0.3s ease 0s;
    color: rgb(13, 17, 23);
}

a.nav {
    color: rgb(74, 74, 74);
    text-decoration: none;
}

a.nav:hover {
    color: rgb(72, 95, 199);
    text-decoration: none;
    cursor: pointer;
}

.navbar-item {
    transition: left 1s ease-out;
}


.tile.is-child.centered-icon {
    /* background-color: white; */
    /* or any specific pastel blue you prefer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile.is-child.centered-icon-jukeguesser {
    background-color: white;
    /* or any specific pastel blue you prefer */
    display: flex;
    align-items: center;
    justify-content: center;
}


.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    font-size: 2em;
    /* Adjust based on your preference */
    color: rgba(74, 74, 74, 0.8);
    color: rgb(70, 70, 70);
}

.icon-text {
    font-size: 1.4em;
    /* Adjust based on your preference */
    color: rgba(74, 74, 74, 0.8);
    /* color:rgb(72, 95, 199); */
    font-weight: 500;
}

/* Style for the container holding the scrollable content */
.scrollable-container {
    position: relative;
    /* height: 240px; Adjust this height according to your needs */
    overflow: hidden;
}

/* Style for the scrollable content */
.scrollable-content {
    width: 100%;
    height: 100%;
    padding-right: 12px;
    padding-bottom: 50px;
    overflow-y: scroll;
    scrollbar-width: thin;
    /* Hide the default scrollbar */
}

/* Style for the custom scrollbar */
.scrollable-content::-webkit-scrollbar {
    width: 8px;
    /* Adjust the width of the scrollbar */
}

/* Style for the custom scrollbar track */
.scrollable-content::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    /* Adjust the background color of the track */
    border-radius: 20px;
}

/* Style for the custom scrollbar thumb (slider) */
.scrollable-content::-webkit-scrollbar-thumb {
    background-color: #fdfdfdc9;
    /* Adjust the color of the thumb (slider) */
    border-radius: 20px;
    /* Add some rounded corners for a nicer appearance */
}

/* Style for the custom scrollbar thumb when hovered */
.scrollable-content::-webkit-scrollbar-thumb:hover {
    background-color: #666;
    /* Adjust the color of the thumb (slider) on hover */
}

.sticker-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Ensure stickers are behind other content */
}

.sticker {
    position: absolute;
    width: 200px;
    /* Adjust the width as needed */
    height: 200px;
    /* Adjust the height as needed */
}

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.9em;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    animation: fadeInOut 2s infinite alternate;
    z-index: 10;
}

.scroll-indicator i {
    display: block;
    margin-bottom: 3px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(3px);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Make scrollbar more visible */
.scrollable-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    /* Darker, more visible scrollbar */
    border-radius: 20px;
}

/* Add a gradient fade at the bottom of the content */
.scrollable-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
}

/* Class to remove gradient from specific scrollable containers */
.scrollable-container.no-gradient::after {
    display: none;
}

.sticker-tooltip {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 300px;
    text-align: center;
    z-index: 1000;
    pointer-events: none;
    /* Prevents tooltip from blocking hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.2s ease;
    font-weight: 500;
    animation: bounce-in 0.3s ease-out;
    white-space: nowrap;
    overflow: ellipses;
}

.sticker-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent rgba(255, 255, 255, 0.9) transparent transparent;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ad Banner Styles */
.ad-banner-tile {
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
}

.ad-banner-link {
    position: relative;
    display: block;
}

.ad-banner-external-link {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ad-banner-external-link i {
    font-size: 0.7rem;
    color: #fff;
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5em;
    transition: opacity 0.3s ease;
}

.ad-image:hover {
    opacity: 0.9;
}

/* Workshop Bento Box Styles - Edgeless */
.workshop-bento-tile {
    padding: 0 !important;
    margin: 0 !important;
}

.workshop-bento-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 308px;
    overflow: hidden;
    background-color: #F8F9F9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.workshop-external-link {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.workshop-external-link i {
    font-size: 0.7rem;
    color: #666;
}

.workshop-biosignal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* JavaScript-controlled animation rows */
.workshop-biosignal-row-js {
    position: absolute;
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.workshop-biosignal-icon-js {
    width: 100px;
    height: 100px;
    object-fit: contain;
    opacity: 0.9;
    flex-shrink: 0;
    position: absolute;
    transition: none;
}

.workshop-bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.workshop-bento-text {
    text-align: center;
}

.workshop-bento-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.workshop-bento-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0.2rem;
}

.workshop-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #7f8c8d;
}

.workshop-bento-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.workshop-bento-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .workshop-bento-title {
        font-size: 0.85rem;
    }

    .workshop-bento-subtitle {
        font-size: 0.7rem;
    }

    .workshop-date {
        font-size: 0.65rem;
    }

    .workshop-biosignal-icon-js {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .workshop-bento-content {
        padding: 0.8rem;
    }

    .workshop-bento-title {
        font-size: 0.8rem;
    }

    .workshop-bento-subtitle {
        font-size: 0.65rem;
    }

    .workshop-date {
        font-size: 0.6rem;
    }

    .workshop-biosignal-icon-js {
        width: 60px;
        height: 60px;
    }
}

/* COSYNE Tutorial Bento Box Styles */
.cosyne-tutorial-bento-tile {
    padding: 0 !important;
    margin: 0 !important;
}

.cosyne-tutorial-bento-tile {
    position: relative;
}

.cosyne-tutorial-bento-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 308px;
    overflow: hidden;
    background-color: #f5f5f5;
    /* Light gray background */
    border: none;
    /* No border */
    border-radius: 0.5em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    cursor: pointer;
}

.cosyne-tutorial-animation-background {
    position: absolute;
    inset: 0;
    /* fill full box */
    z-index: 1;
    opacity: 0.3;
    filter: blur(0.5px);
}

.cosyne-tutorial-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cosyne-tutorial-external-link {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    /* Light background for icon */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for icon */
}

.cosyne-tutorial-external-link i {
    font-size: 0.7rem;
    color: #666;
    /* Dark gray icon color */
}

.cosyne-tutorial-bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.cosyne-tutorial-bento-text {
    text-align: center;
}

.cosyne-tutorial-bento-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.cosyne-tutorial-bento-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.cosyne-tutorial-date {
    display: block;
    font-size: 0.7rem;
    color: #7f8c8d;
    line-height: 1.2;
}

.cosyne-tutorial-bento-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* NeuroFM Brain Bento Box Styles */
.neurofm-brain-bento-tile {
    padding: 0 !important;
    margin: 0 !important;
}

.neurofm-brain-bento-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 308px;
    overflow: hidden;
    background-color: #f5f5f5;
    border: none;
    border-radius: 0.5em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

#neurofm-brain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neurofm-brain-external-link {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.neurofm-brain-external-link i {
    font-size: 0.7rem;
    color: #666;
}

.neurofm-brain-bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.neurofm-brain-bento-text {
    text-align: center;
}

.neurofm-brain-bento-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.neurofm-brain-bento-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0.2rem;
}

.neurofm-brain-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #7f8c8d;
}

.neurofm-brain-bento-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.neurofm-brain-bento-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Responsive adjustments for brain bento */
@media (max-width: 768px) {
    .neurofm-brain-bento-title {
        font-size: 0.85rem;
    }

    .neurofm-brain-bento-subtitle {
        font-size: 0.7rem;
    }

    .neurofm-brain-date {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .neurofm-brain-bento-content {
        padding: 0.8rem;
    }

    .neurofm-brain-bento-title {
        font-size: 0.8rem;
    }

    .neurofm-brain-bento-subtitle {
        font-size: 0.65rem;
    }

    .neurofm-brain-date {
        font-size: 0.6rem;
    }
}

/* Neuro-Galaxy Bento */
.neuro-galaxy-bento-tile {
    padding: 0 !important;
    margin: 0 !important;
}

.neuro-galaxy-bento-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 308px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.5em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.neuro-galaxy-external-link {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.neuro-galaxy-external-link i {
    font-size: 0.7rem;
    color: #666;
}

.neuro-galaxy-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ng-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    animation: orbit-rotate 20s linear infinite;
}

.ng-orbit-1 {
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
}

.ng-orbit-2 {
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
    animation-duration: 26s;
}

.ng-orbit-3 {
    width: 60%;
    height: 60%;
    left: 20%;
    top: 20%;
    animation-duration: 32s;
}

@keyframes orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.neuro-galaxy-bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.9rem;
}

.neuro-galaxy-header {
    margin-bottom: 0.4rem;
}

.neuro-galaxy-title {
    font-weight: 700;
    font-size: 1rem;
    color: #222;
}

.neuro-galaxy-subtitle {
    font-size: 0.8rem;
    color: #666;
}

.neuro-galaxy-packages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.ng-package {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ng-package:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ng-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 6px;
}

.ng-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ng-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
}

.ng-desc {
    font-size: 0.8rem;
    color: #666;
}

.neuro-galaxy-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(90deg, #eef1ff 0%, #f6f9ff 100%);
    border: 1px solid rgba(72, 95, 199, 0.15);
    color: #3b4cca;
    font-weight: 600;
}

.neuro-galaxy-cta i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .neuro-galaxy-title {
        font-size: 0.95rem;
    }

    .neuro-galaxy-subtitle {
        font-size: 0.8rem;
    }

    .ng-desc {
        display: none;
    }
}