/* ==========================================================================
   Grid Video Cards — stile allineato al prototipo (sezione #voci)
   Colori/spaziature gestite via utility Bootstrap inline nel template:
   .text-info = teal accent (#119199), .border-info, .bg-dark, .rounded-2, ecc.
   ========================================================================== */

/* --- Heading sezione (prototipo .section-heading-copy / .section-intro) --- */
.grid-video-cards .eyebrow {
    display: block;
    font-family: "League Spartan", sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
}

.grid-video-cards .section-heading-copy {
    flex: 1 1 720px;
    max-width: 900px;
}

.grid-video-cards .section-intro {
    max-width: 860px;
}

.grid-video-cards .section-intro p {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.grid-video-cards .section-intro p + p {
    margin-top: 0.9rem;
}

/* prototipo .founder-intro-lead */
.grid-video-cards .section-intro .intro-lead {
    max-width: 820px;
    color: #030303;
    font-family: "League Spartan", sans-serif;
    font-size: clamp(1.125rem, calc(2vw - 2px), 1.425rem);
    font-weight: 400;
    line-height: 1.4;
}

/* --- CTA heading (prototipo .btn-outline, colori da .btn-outline-dark) --- */
.grid-video-cards .btn-cta {
    padding: 16px 28px;
    font-family: "League Spartan", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    border-radius: 4px;
}

/* --- Card (prototipo .founder-grid-card) --- */
.grid-video-cards .video-card.has-video {
    cursor: pointer;
}

.grid-video-cards .video-card {
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.grid-video-cards .video-card.has-video:hover {
    border-color: #030303 !important;
    transform: translateY(-4px);
}

.grid-video-cards .video-card:focus-visible {
    outline: 3px solid var(--bs-info);
    outline-offset: 4px;
}

/* --- Immagine card (aspect-ratio 16/9, effetto grayscale -> colore) --- */
.grid-video-cards .video-card__img {
    aspect-ratio: 16 / 9;
}

.grid-video-cards .video-card__img img {
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

.grid-video-cards .video-card.has-video:hover .video-card__img img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* --- Play overlay --- */
.grid-video-cards .video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    z-index: 2;
}

.grid-video-cards .video-card.has-video:hover .video-card__play {
    background: var(--bs-info);
    border-color: var(--bs-info);
}

.grid-video-cards .video-card__play::after {
    content: '';
    border-left: 10px solid #ffffff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 3px;
}

/* --- Titolo overlay sull'immagine --- */
.grid-video-cards .video-card__overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(0deg, rgba(3, 3, 3, 0.9) 0%, rgba(3, 3, 3, 0) 100%);
    color: #ffffff;
    font-family: "League Spartan", sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    z-index: 2;
}

/* --- Ruolo e citazione --- */
.grid-video-cards .video-card__role {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    font-weight: 500;
    font-family: "League Spartan", sans-serif;
}

.grid-video-cards .video-card__quote {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive (allineato alle media query del prototipo)
   ========================================================================== */

@media (max-width: 991.98px) {
    .grid-video-cards .video-card__img {
        aspect-ratio: 4 / 3;
    }

    .grid-video-cards .video-card__overlay-title {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        line-height: 1.3;
    }
}

@media (max-width: 767.98px) {
    .grid-video-cards .section-intro .intro-lead {
        font-size: 1.125rem;
    }

    .grid-video-cards .section-intro p:not(.intro-lead) {
        font-size: 1rem;
    }
}
