.locations {
    background-color: var(--main-bg-color);
    display: flex;
    flex-direction: column;
}

.locations .text {
    width: 100%;
    padding: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.locations .text > div {
    width: fit-content;
}

.locations h2 {
    font-size: 24px;
    line-height: 29px;
    color: var(--main-color);
    margin-bottom: 20px;
}

.locations .dealer:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--main-color);
    margin-bottom: 15px;
}

.locations h3 {
    font-size: 18px;
    line-height: 22px;
    color: var(--main-color);
    margin-bottom: 6px;
    background: transparent url(../../assets-genericas/img/icons/pointer.svg) no-repeat center left;
    background-size: 9px 12px;
    padding-left: 24px;
}

.locations p {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 0;
}

.locations .map {
    overflow: hidden;
    --map-margin: 67px;
    --map-height: 334px;
    height: var(--map-height);
    position: relative;
}

.locations .map iframe {
    position: absolute;
    top: calc(var(--map-margin) * -1);
    width: 100%;
    height: calc(var(--map-margin) + var(--map-height));
}

@media (min-width: 1200px) {
    .locations .map {
        width: 843px;
        min-width: 843px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .locations .map {
        width: 650px;
        min-width: 650px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .locations .map {
        width: 500px;
        min-width: 500px;
    }
}

@media (min-width: 768px) {
    .locations {
        flex-direction: row;
    }
}