.sea-studies-map-container {
    position: relative;
    width: 100%;
    height: 800px;
}

#sea-studies-map {
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #ffffff;
}

#sea-studies-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: #fff;
    /* Leave space for the absolute-positioned close button */
    padding: 20px 60px 20px 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

#sea-studies-city-title {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    /* Prevent long titles from sitting under the close button */
    padding-right: 52px;
}

.sea-studies-list {
    display: grid;
    gap: 12px;
}

.sea-studies-item {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
}

.sea-studies-uni {
    font-weight: 600;
    color: #1f2937;
}

.sea-studies-course {
    margin-top: 4px;
    color: #374151;
    font-size: 0.95em;
}

.sea-studies-website {
    margin-top: 8px;
}

@media (max-width: 768px) {
    #sea-studies-sidebar {
        width: 100%;
        height: 50%;
        top: 50%;
        right: 0;
        border-radius: 20px 20px 0 0;
    }
}


