/* --- ESTILOS GENERALES --- */ .ev { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; padding: 3rem 0; background-color: #ffffff; text-align: center; } .ev-container { margin: 0 auto; padding: 0 20px; } .ev-title-minimal { color: #999; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 25px; } .ev-divider { height: 1px; width: 40px; background-color: #8D203D; margin: 0 auto 25px auto; opacity: 0.5; } /* --- GRID Y TARJETAS (CARTELERAS) --- */ .ev-grid { display: grid; /* Definimos un tamaño de columna que permita que se vea 'en pequeño' pero bien ajustado */ grid-template-columns: repeat(auto-fill, minmax(280px, 320px)); gap: 30px; justify-content: center; } .ev-card { position: relative; /* Proporción 3:4 es ideal para carteles/flyers verticales */ aspect-ratio: 3 / 4; cursor: pointer; background: #fdfdfd; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .ev-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); } .ev-card img { width: 100%; height: 100%; /* 'contain' asegura que se vea TODO el cartel sin importar sus dimensiones originales */ /* Si prefieres que llene todo el cuadro aunque se corte un milímetro, usa 'cover' */ object-fit: contain; background-color: #f9f9f9; transition: transform 0.6s ease; } .ev-card:hover img { transform: scale(1.03); } /* Capa de información sobre la imagen */ .ev-overlay { position: absolute; inset: 0; /* Degradado más suave para no tapar el diseño del cartel */ background: linear-gradient(transparent 60%, rgba(0,0,0,0.6)); opacity: 0; transition: opacity 0.3s ease; } .ev-card:hover .ev-overlay { opacity: 1; } .ev-content { position: absolute; bottom: 15px; left: 15px; right: 15px; color: white; text-align: left; z-index: 2; } .ev-title { font-size: 14px; font-weight: 600; margin: 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); } .ev-label { font-size: 11px; font-weight: 700; color: #bbb; text-transform: uppercase; letter-spacing: 0.1em; margin: 50px 0 20px 0; display: flex; align-items: center; } .ev-label::after { content: ""; flex: 1; height: 1px; background: #f0f0f0; margin-left: 15px; } @media (max-width: 768px) { .ev { padding: 2rem 0; } .ev-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } } Encuentro de lenguas originarias