/*
Theme Name: alfa theme
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Child Theme Configurator
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: tema hijo para Alfa Multimedia
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.6.1771349182
Updated: 2026-02-17 17:26:22

*/



 .tarjetaproyecto .infobox-icon img {
    width: 500px !important;  
    height:500px !important; 
    object-fit: contain !important; 
    object-position: center; 
}


 .tarjetaproyecto .infobox-icon {

    display: flex;
    justify-content: center;
    align-items: center;
}

.titulo-oculto{
	position: absolute !important;
	top: -9999px !important;
	left: -9999px !important;
}


.tituloalfa {
  display: inline-block;
  position: relative;
  padding-bottom: 20px; 
 }


.tituloalfa::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; 
  width: 50px;
  height: 8px; 
  background-color:#F25C05; 
  border-radius: 0px;
}

a {
	color: black;
	font-weight:500;
}

a ::hover {
	color: gray;
	font-weight:500;
}


/* BANNERS*/
/* --- ESTILOS PRINCIPAL (16:9) --- */
.ratio-16-9 {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* --- ESTILOS SECUNDARIOS (Grid 4 col y 1:1) --- */
.grid-patrocinadores-secundarios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ratio-1-1 {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* Ajuste común para que la imagen no se deforme */
.ratio-16-9 img, .ratio-1-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ajuste para tablets/móvil */
@media (max-width: 768px) {
    .grid-patrocinadores-secundarios {
        grid-template-columns: repeat(1, 1fr);
    }
}