.wofdi-map-widget {
    --navy: #2F3759;
    --navy-dark: #1E2440;
    --orange: #CC6C2B;
    --gold: #C8A850;
    --border: #E4E2DA;
    --surface: #F9F7F1;
    font-family: 'Open Sans', Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--navy-dark);
}

.wofdi-map-widget *,
.wofdi-map-widget *::before,
.wofdi-map-widget *::after {
    box-sizing: border-box;
}

.wofdi-map-widget .map-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.wofdi-map-widget #la28-map,
.wofdi-map-widget .la28-map {
    width: 100%;
    height: 620px;
    background: var(--surface);
}

.wofdi-map-widget .legend {
    background: #fff;
    height: 620px;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.wofdi-map-widget .legend-tabs {
    flex: none;
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.wofdi-map-widget .legend-scroll {
    flex: 1;
    overflow-y: auto;
}

.wofdi-map-widget .legend-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 8px 4px 10px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700 !important;
    color: #8B8FA3 !important;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.wofdi-map-widget .legend-tab.active {
    color: var(--navy-dark) !important;
    border-bottom-color: var(--orange);
}

.wofdi-map-widget .cluster-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700 !important;
    color: var(--navy-dark) !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 18px 0 8px;
}

.wofdi-map-widget .cluster-title:first-child {
    margin-top: 0;
}

.wofdi-map-widget .cluster-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wofdi-map-widget .legend-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
}

.wofdi-map-widget .legend-item:hover {
    background: var(--surface);
}

.wofdi-map-widget .legend-thumb {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface);
}

.wofdi-map-widget .legend-num {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    vertical-align: middle;
}

.wofdi-map-widget .legend-text {
    font-size: 13px;
}

.wofdi-map-widget .legend-name {
    font-weight: 700 !important;
    color: var(--navy-dark) !important;
}

.wofdi-map-widget .legend-sport {
    font-size: 12px;
    color: #8B8FA3 !important;
}

.wofdi-map-widget .okc-note {
    margin-top: 16px;
    padding: 12px;
    background: var(--surface);
    border-radius: 8px;
    font-size: 12px;
    color: #4A4E63 !important;
    line-height: 1.5;
}

.wofdi-map-widget .okc-note button {
    display: block;
    margin-top: 8px;
    background: var(--orange) !important;
    color: #fff !important;
    border: none !important;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700 !important;
    cursor: pointer;
}

.wofdi-map-widget .info-card,
.gm-style .info-card {
    font-family: 'Open Sans', Arial, sans-serif;
    width: 220px;
}

.wofdi-map-widget .info-card img,
.gm-style .info-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 8px;
}

.wofdi-map-widget .info-card .info-title,
.gm-style .info-card .info-title {
    font-weight: 700;
    color: #1E2440;
    font-size: 14px;
    margin-bottom: 2px;
}

.wofdi-map-widget .info-card .info-sport,
.gm-style .info-card .info-sport {
    font-size: 12px;
    color: #4A4E63;
}

.la2028-venues-map-in-content {
    width: 100%;
    max-width: none;
}

@media (max-width: 800px) {
    .wofdi-map-widget .map-layout {
        grid-template-columns: 1fr;
    }

    .wofdi-map-widget #la28-map,
    .wofdi-map-widget .la28-map {
        height: 400px;
    }

    .wofdi-map-widget .legend {
        height: 400px;
    }
}
