/**
 * Estilos para Portada 2.0 - Optimizada para SEO, Google News y Discover
 * 
 * @package     Kutak
 * @since       1.0
 * @author      F&H Team
 */

/* Header principal de la portada */
.portada-header {
    background: linear-gradient(135deg, #d91346 0%, #a00e35 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}

.portada-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.portada-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

/* Títulos de sección */
.section-title {
    color: #d91346;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #d91346;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Clase para títulos ocultos (solo para screen readers) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Meta información de posts */
.post-meta-small {
    font-size: 12px;
    color: #666;
    margin: 4px 0;
    line-height: 1.3;
}

.post-meta-small .post-author {
    color: #777;
    text-decoration: none;
    font-weight: 500;
}

.post-meta-small .post-author:hover {
    text-decoration: underline;
}

.post-meta-small .post-date {
    color: #888;
}

.post-meta-small .post-updated {
    color: #d91346;
    font-style: italic;
    font-size: 11px;
}

/* Footer estilo periódico */
.newspaper-footer {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 3px solid #d91346;
}

.newspaper-footer .footer-sections {
    margin-bottom: 30px;
}

.newspaper-footer .footer-sections .tax-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newspaper-footer .footer-sections .tax-list li {
    display: inline-block;
    margin-right: 15px;
}

.newspaper-footer .footer-sections .tax-list li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.newspaper-footer .footer-sections .tax-list li a:hover {
    background-color: #d91346;
    color: white;
}

.newspaper-footer .meta-title {
    color: #d91346;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newspaper-footer .tax-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newspaper-footer .tax-list li {
    margin-bottom: 8px;
}

.newspaper-footer .tax-list li a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.newspaper-footer .tax-list li a:hover {
    color: #d91346;
    text-decoration: underline;
}

/* Optimizaciones de rendimiento */
.featnews-image--small img,
.businessnews-image--small img {
    transition: opacity 0.3s ease;
}

.featnews-image--small img:hover,
.businessnews-image--small img:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .newspaper-footer .footer-sections .tax-list {
        flex-direction: column;
        gap: 8px;
    }
    
    .newspaper-footer .footer-sections .tax-list li {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .post-meta-small {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .newspaper-footer {
        padding: 20px 0;
    }
    
    .newspaper-footer .meta-title {
        font-size: 14px;
    }
}
