Files
roi-theme/wp-content/themes/apus-theme/assets/css/hero-section.css
FrankZamora c5723925d3 Eliminar QUINTA duplicación de .hero-title en hero-section.css - Issue #108
PROBLEMA CRÍTICO ENCONTRADO:
El archivo hero-section.css (Issue #40, prioridad 20) tenía OTRA definición
de .hero-title con margin: 1rem 0; que causaba 16px de espacio entre navbar y hero.

Como se cargaba DESPUÉS de style.css (prioridad 5), sobrescribía los estilos
y agregaba el margin no deseado.

CAMBIOS:
- Eliminado .hero-title completo (líneas 30-37) incluyendo margin: 1rem 0
- Eliminado .hero-title del @media responsive (líneas 57-59)
- Mantenido solo .hero-meta, .hero-category-badge, etc.

RESUMEN DE DUPLICACIONES ELIMINADAS:
1. hero.css - .hero-title eliminado ✓
2. custom-style.css - .hero-title eliminado ✓
3. hero-section.css - .hero-title eliminado ✓

AHORA .hero-title solo existe UNA VEZ en style.css como debe ser.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 21:56:14 -06:00

63 lines
1.1 KiB
CSS

.hero-section {
background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
color: #ffffff;
margin-bottom: 2rem;
}
.hero-content {
max-width: 900px;
margin: 0 auto;
}
.hero-categories {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.hero-category-badge {
display: inline-block;
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: #ffffff;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 500;
}
.hero-meta {
color: rgba(255, 255, 255, 0.9);
font-size: 0.95rem;
margin-top: 1rem;
}
.hero-meta-item {
display: inline-flex;
align-items: center;
}
.hero-meta-separator {
margin: 0 0.75rem;
opacity: 0.6;
}
/* Responsive */
@media (max-width: 767px) {
.hero-meta {
font-size: 0.85rem;
}
.hero-meta-separator {
margin: 0 0.5rem;
}
}
@media (max-width: 575px) {
.hero-category-badge {
font-size: 0.75rem;
padding: 0.2rem 0.6rem;
}
}