/**
 * Example Map Block Styles
 */

.example-map {
    width: 100%;
    padding: 60px 0;
    background: #fff;
    font-family: 'Urbano', sans-serif;
}

.example-map__main-header {
    text-align: center;
    margin-bottom: 40px;
}

.example-map__main-heading {
    font-size: 48px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.example-map__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Left Map Section */
.example-map__map-section {
    flex: 1;
}

.example-map__header {
    margin-bottom: 30px;
}

.example-map__label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.example-map__title {
    font-size: 28px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.example-map__image-container {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: start;
    justify-content: start;
}

.example-map__image {
    width: 100%;
    height: 400px;
    object-fit: fill;
    border-radius: 8px;
}

.example-map__placeholder {
    text-align: center;
    color: #999;
    font-size: 16px;
}

/* Right Regions Section */
.example-map__regions-section {
    flex: 1;
    max-width: 400px;
}

.example-map__regions-list {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    gap: 8px;
}

.example-map__region-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.example-map__region-toggle {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.example-map__region-toggle:hover {
    background: #f9f9f9;
}

.example-map__region-toggle.active {
    background: #f0f0f0;
}

.example-map__region-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.example-map__expand-icon {
    transition: transform 0.3s ease;
}

.example-map__region-toggle.active .example-map__expand-icon {
    transform: rotate(180deg);
}

.example-map__region-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.example-map__region-content.expanded {
    max-height: 500px;
}

.example-map__locations-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.example-map__location-item {
    border-top: 1px solid #eee;
}

.example-map__location-item:first-child {
    border-top: none;
}

.example-map__location-link,
.example-map__location-text {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
}

.example-map__location-link:hover {
    color: #333;
    background: #f0f0f0;
}

.example-map__location-text {
    color: #999;
}

.location-link-icon {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .example-map {
        padding: 40px 0;
    }

    .example-map__main-heading {
        font-size: 36px;
    }

    .example-map__container {
        flex-direction: column;
        gap: 40px;
        padding: 0 15px;
    }

    .example-map__map-section,
    .example-map__regions-section {
        max-width: 100%;
    }

    .example-map__title {
        font-size: 24px;
    }

    .example-map__image-container {
        min-height: 320px;
    }

    /* Mobile grid layout for regions */
    .example-map__regions-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 20px;
    }

    .example-map__region-item {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }

    .example-map__region-item:last-child:nth-child(odd) {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

