/* Contenedor Principal (Equivalente a tus 2 columnas) */
.summary-container {
    position: relative;
    height: 346px;
    overflow: hidden; /* Evita que el zoom de la imagen se salga del contorno (Inner) */
    border-radius: 8px; /* Opcional: suaviza las esquinas */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

/* Contenedor de la imagen para controlar el Zoom */
.summary-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.summary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Alineación vertical y horizontal al centro */
    transition: transform 8s ease; /* Zoom lento y suave */
}

/* Efecto Zoom al pasar el mouse por el contenedor */
.summary-container:hover .summary-image {
    transform: scale(1.15); /* Crece sutilmente de menor a mayor */
}

/* Capas de sombreado (Transparencia a Negro) */
.gradient-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    height: 40%; /* Cubre el 40% superior e inferior */
    z-index: 2;
    pointer-events: none; /* Permite hacer click a través de la capa */
}

.gradient-overlay.top {
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.gradient-overlay.bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

/* Capa de Contenido */
.summary-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end; /* Envía el texto arriba y los botones abajo */
    padding: 20px;
    box-sizing: border-box;
    gap:3rem;
}

/* Sección Superior (Texto) */
.summary-header {
    text-align: center;
    color: #ffffff;
}

.summary-title {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.summary-description {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Sección Inferior (Botonera en Flex) */
.summary-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Separación uniforme entre los 3 botones */
    width: 100%;
}

/* Diseño de los Botones Uniformes y Dinámicos */
.action-btn {
    flex: 1; /* Hace que los 3 botones midan exactamente lo mismo */
    display: flex;
    flex-direction: column; /* Orientación vertical: Icono sobre texto */
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    padding: 8px 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* Estilizado del texto interno del botón */
.action-btn span {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
    line-height: 1.1;
}

/* Simulación o espacio para los iconos */
.action-btn i {
    font-size: 1.2rem;
    /* Si usas SVG o fuentes, aquí manejas su tamaño */
}

/* Dinamismo / Efecto Hover en botones */
.action-btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px); /* Pequeño salto minimalista */
}