/* Mappe e video caricati da Google/YouTube solo dopo il clic */
.mdb-embed {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #14111c;
    color: #e5e5e5;
}

.mdb-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.mdb-embed-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 100%;
    padding: 24px;
    text-align: center;
}

.mdb-embed-inner p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
}

.mdb-embed-inner small {
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.4;
    color: #a8a3b5;
}

.mdb-embed-load {
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: #7c3aed;
    color: #ffffff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mdb-embed-load:hover {
    background: #6d28d9;
}

.mdb-embed-load:active {
    transform: scale(0.96);
}

.mdb-embed-inner a {
    color: #c4b5fd;
    font-size: 14px;
    font-weight: 600;
}

/* Video: copertina salvata sul sito con il tasto play sopra */
.mdb-embed-video {
    aspect-ratio: 16 / 9;
    height: auto;
}

.mdb-embed-video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mdb-embed-video .mdb-embed-inner {
    position: relative;
    background: rgba(0, 0, 0, 0.45);
}

.mdb-embed-video .mdb-embed-load {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 17px;
}

/* Nel riquadro 16:9 della landing autoesclusione */
.ae-video-wrapper .mdb-embed {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
}

/* Su telefono le due mappe vanno una sotto l'altra */
@media (max-width: 700px) {
    .mdb-maps-grid {
        grid-template-columns: 1fr !important;
    }
}
