/* Foglio di stile di Doctorspy Banner Generator */

/* Stile comune per tutti i banner */
.doctorspy-banner {
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}
.yt-video-container {
    position: relative;
	padding-top: 56.25%;
    height: 0;
    overflow: hidden;
}
.yt-iframe-wrapper {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Stile per il banner orizzontale */
.doctorspy-banner.orizzontale {
    flex-direction: row;
    align-items: stretch;
}
.doctorspy-banner.orizzontale:last-child {
    margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
    .doctorspy-banner.orizzontale {
        flex-direction: column;
    } 
}
.doctorspy-banner.orizzontale .immagine-orizzontale {
    flex: 1; /* 1/3 del layout */
    flex-grow: 1; /* permette all'immagine di crescere e riempire lo spazio disponibile */
    overflow: hidden;
}
.doctorspy-banner.orizzontale .immagine-orizzontale img {
    width: 100%;
    min-height: 100%; /* assicurati che l'immagine copra almeno l'intera altezza del contenitore */
    height: auto;
    object-fit: cover;
}
.doctorspy-banner.orizzontale .testo-banner-orizzontale {
    flex: 2; /* 2/3 del layout */
    background-color: rgba(211, 211, 211, 0.3);
    padding: 30px;
}
.testo-banner-orizzontale p {
    margin-bottom: 20px !Important;
}
.testo-banner-orizzontale span {
    font-size: 25px;
    font-weight: 700;
    padding-bottom: 10px;
    line-height: 1.2;
    display: block;
}

/* Stile per il banner verticale */
.doctorspy-banner.verticale {
    flex-direction: column;
}
.doctorspy-banner.verticale:last-child {
    margin-bottom: 20px;
}
.doctorspy-banner.verticale .immagine-verticale {
    width: 100%;
    overflow: hidden;
}
.doctorspy-banner.verticale .immagine-verticale img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.doctorspy-banner.verticale .testo-banner-verticale {
    background-color: rgba(211, 211, 211, 0.3);
    padding: 30px;
    width: 100%;
}
.testo-banner-verticale p {
    margin-bottom: 20px !Important;
}
.testo-banner-verticale span {
    font-size: 25px;
    font-weight: 700;
    padding-bottom: 10px;
    line-height: 1.2;
    display: block;
}

/* Stile per il pulsante */
.btn {
    margin-top: 20px;
    width: fit-content;
}
.btn a, .btn a:hover {
    color: #ffffff !Important;
    font-weight: 700;
}