/* Estilos generales */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-title {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0;
}

.site-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Buscador Google */
.google-search .input-group {
    max-width: 300px;
    margin-left: auto;
}

/* Anuncios */
.ad-container {
    margin: 1rem 0;
}

.ad-placeholder {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #6c757d;
}

.ad-dimensions {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.ad-header .ad-placeholder {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ad-in-article .ad-placeholder {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ad-footer .ad-placeholder {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Secciones de noticias */
.section-title {
    border-left: 4px solid #0d6efd;
    padding-left: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.news-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: 100%;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-summary {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Noticia principal */
.main-news {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.featured-news {
    max-width: 100%;
}

.news-image-container {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: auto;
    display: block;
}

.main-news-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.main-news-meta {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.news-author {
    font-weight: 600;
}

.news-content {
    line-height: 1.7;
}

.news-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-content p {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #212529;
    color: #fff;
    margin-top: 3rem;
}

.footer a {
    color: #adb5bd;
}

.footer a:hover {
    color: #fff;
}

.footer h3, .footer h5 {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .header .row {
        text-align: center;
    }
    
    .google-search .input-group {
        margin: 1rem auto 0;
    }
    
    .ad-header, .ad-footer {
        margin: 1rem 0;
    }
    
    .main-news-title {
        font-size: 1.5rem;
    }
}