/* Google Maps Style Card */
.location-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap; 
}

.studio-map-card {
    position: relative; /* Changed from absolute */
    width: 360px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 20px; /* Match site style */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: #fff;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    padding: 0;
}

/* Override the inline style width for the map wrapper via class if possible, or just rely on flex */
.map-responsive-wrapper {
    flex: 1;
    min-width: 300px;
    height: 450px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid var(--accent-color);
}

.map-card-header {
    height: 100px;
    width: 100%;
    margin: 0;
    position: relative;
    background-image: url('../images/studio_map_header.png');
    background-size: cover;
    background-position: center;
}

.map-card-logo {
    position: absolute;
    bottom: -30px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #0f172a; /* Matches card bg hex approx */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    object-fit: cover;
    z-index: 2;
    background-color: #fff;
}

.map-card-content {
    padding: 25px;
}

.location-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    color: #fff;
    margin-bottom: 5px;
}

.location-coords {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 25px;
}

.map-card-actions {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #8ab4f8; /* Google blue link color */
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.action-btn:hover {
    color: #fff;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #5f6368;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    color: #8ab4f8;
}

.action-btn:hover .icon-circle {
    background: rgba(138, 180, 248, 0.1);
    border-color: #8ab4f8;
}

.direction-icon {
    background: #1a73e8; /* Filled blue for directions */
    border: none;
    color: #fff;
}

.action-btn:hover .direction-icon {
    background: #4285f4;
    color: #fff;
}

.map-card-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: #e8eaed;
    font-size: 0.95rem;
}

.detail-icon {
    color: #9aa0a6;
    margin-top: 2px;
}

.detail-sub {
    color: #9aa0a6;
    font-size: 0.85rem;
    display: block;
    margin-top: 2px;
}

/* Specific Responsive for Map Card */
@media (max-width: 900px) {
    .location-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .map-responsive-wrapper {
        width: 100%;
        height: 350px; /* Smaller on mobile */
    }

    .studio-map-card {
        width: 100%;
        max-width: 500px;
        order: 2; /* Map first, details second */
        /* But user requested "Right part", which implies second on desktop. Default block is top-down so order 2 is natural below. */
    }
}
