/* Locations Overview Styles */

.elementor-locations-overview {
    min-height: 100vh;
    padding: 140px 20px 60px 20px;
    background: #0a0a0a;
}

.locations-section {
    position: relative;
    padding: 40px 20px;
    background-color: #000000;
    overflow: hidden;
}

.locations-map-wrapper {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    width: 100%;
}

.locations-map-container {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.locations-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.locations-container .events-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 20px;
}

/* Region Headers */
.region-header {
    padding: 16px 14px 8px 14px;
    background: transparent;
}

.region-header.country-header {
    padding-top: 40px;
    margin-top: 16px;
    border-bottom: 2px solid rgba(220, 0, 0, 0.3);
    padding-bottom: 12px;
}

.region-header.country-header:first-child {
    padding-top: 20px;
    margin-top: 0;
}

.region-country-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.region-header.state-header {
    padding-top: 24px;
    margin-top: 8px;
}

.region-header.state-header:first-child {
    padding-top: 16px;
    margin-top: 0;
}

.region-title {
    font-size: 16px;
    font-weight: 700;
    color: #dc0000;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.region-header.city-header {
    padding-top: 12px;
    padding-bottom: 4px;
}

.region-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Location Card - Modern Card Design */
.location-card {
    background: rgba(15, 15, 15, 0.95);
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.location-card::before {
    content: '';
    display: none;
}

.location-card:hover {
    /* Kein Hover-Effekt */
}

/* Location Image */
.location-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(220, 0, 0, 0.1), rgba(40, 40, 40, 0.5));
    position: relative;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.location-card:hover .location-image img {
    /* Kein Hover-Effekt */
}

/* Location Image Placeholder (wenn kein Bild) */
.location-image:empty::after {
    content: '📍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    opacity: 0.3;
}

/* Location Content */
.location-card .event-details {
    padding: 0;
    width: 100%;
}

.location-card .event-content {
    width: 100%;
}

.location-card .event-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1px 0;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.location-address {
    color: #666;
    font-size: 10px;
    margin-bottom: 6px;
    font-weight: 400;
    line-height: 1;
}

/* Events Section */
.location-events {
    margin-top: 6px;
    width: 100%;
}

.event-bands-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dc0000;
    font-weight: 700;
    margin-bottom: 12px;
}

.location-event-item {
    padding: 6px 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #fff;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
    cursor: pointer;
    width: 100%;
}

.location-event-item:last-child {
    border-bottom: none;
}

.location-event-item:hover {
    /* Kein Hover-Effekt */
}

.location-event-item:hover .location-event-date {
    /* Kein Hover-Effekt */
}

.event-item-header {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 10px;
    width: 100%;
    align-items: start;
}

.location-event-date {
    font-weight: 500;
    color: #888;
    font-size: 11px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.location-event-name {
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
    line-height: 1.3;
}

.event-item-bands {
    margin-top: 2px;
    grid-column: 2;
    width: 100%;
}

.event-bands {
    font-size: 10px;
    color: #666;
    line-height: 1.3;
    display: block;
}

/* No Events State */
.location-no-events {
    padding: 8px 0;
    font-size: 11px;
}

.location-no-events span {
    color: #555;
    font-style: italic;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 20px;
    color: #999;
}

/* Responsive */
@media (max-width: 1024px) {
    .locations-container .events-list {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .elementor-locations-overview {
        padding: 100px 15px 40px 15px;
    }

    .locations-section {
        padding: 30px 15px;
    }

    .locations-map-container {
        height: 350px;
        border-radius: 12px;
    }

    .locations-container {
        padding: 0 15px;
    }

    .locations-container .events-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .location-image {
        height: 180px;
    }

    .location-card .event-details {
        padding: 20px;
    }

    .location-card .event-title {
        font-size: 20px;
    }

    .location-event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .location-event-date {
        min-width: auto;
    }

    .location-event-name {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .location-card:hover {
        transform: translateY(-4px);
    }

    .locations-map-container {
        height: 280px;
    }
}
