/**
 * Estilos para las publicaciones de Instagram
 */

/* Contenedor de las miniaturas de Instagram */
.instagram-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Proporción 1:1 para Instagram */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* Efecto de hover */
.instagram-post:hover .instagram-thumbnail {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Overlay para el icono de Instagram */
.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

/* Icono con círculo blanco y símbolo azul */
.instagram-play-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.instagram-play-icon i {
    font-size: 26px;
    color: #004494; /* Color azul del proyecto */
}

.instagram-post:hover .instagram-play-icon {
    transform: scale(1.1);
}

/* Estilos específicos para la sección de Instagram */
section.section .instagram-post {
    display: block;
    margin-bottom: 20px;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .instagram-thumbnail {
        margin-bottom: 10px;
    }
    
    .instagram-play-icon {
        width: 40px;
        height: 40px;
    }
    
    .instagram-play-icon i {
        font-size: 18px;
    }
} 