/* =========================
   SWIPER PROYECTOS
========================= */

.projectsSwiper {
    width: 100%;
    overflow: hidden;
    padding: 10px 5px 20px;
}

/* =========================
   PREVIEW CONTAINER
========================= */

.project-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #f0f2f5;
    background-color: #f3f4f6;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-preview iframe {
    /* Aumentamos el tamaño interno al 320% (en lugar de 300%) 
       para que las barras de scroll se desplacen hacia afuera y queden ocultas */
    width: 320%;
    height: 320%;
    
    transform: scale(0.33333334); 
    transform-origin: 0 0;

    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;

    border: 0 !important;
    outline: none !important;
    display: block;
    pointer-events: none; /* Crucial para que el drag de Swiper funcione bien */
}

/* =========================
   SWIPER SLIDE
========================= */

.projectsSwiper .swiper-slide {
    height: auto;
}

/* =========================
   CARD
========================= */

.project-card {
    display: block;

    background: #fff;

    border-radius: 24px;

    overflow: hidden;

    text-decoration: none;

    box-shadow: 0 4px 20px rgba(0,0,0,.06);

    transition: all .3s ease;
}

.project-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

/* =========================
   CONTENIDO
========================= */

.project-content {
    padding: 18px;
}

.project-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3f4e;
    margin-bottom: 6px;
}

.project-content span {
    font-size: 13px;
    color: #6b7280;

    display: flex;
    align-items: center;
    gap: 6px;
}

.project-content i {
    color: #416799;
}