/* Page Banner */
.page-noticias .page-banner-section {
    background-image: linear-gradient(140deg, #FFF 40%, rgba(255, 165, 0, .4) 100%);
    padding-top: 0;
}

/* Listing */
.page-noticias {
    --media-accent: #ffa500;
}

.news-grid {
    margin-bottom: 50px;
}

.news-card .media-card__content {
    padding: 26px;
}

.news-card .media-card__meta {
    gap: 14px;
    margin-bottom: 0;
}

.news-card .media-card__meta-badge {
    background: rgba(255, 166, 0, 0.16);
}

.news-card .media-card__meta-item {
    font-size: 0.8125rem;
}

.news-card .media-card__overlay {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.9), rgba(255, 138, 0, 0.75));
}

.news-card .media-card__overlay i {
    font-size: 2rem;
}

.news-card .media-card__placeholder {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.55), rgba(255, 115, 0, 0.8));
    color: rgba(255, 255, 255, 0.7);
}

.news-card .media-card__placeholder i {
    font-size: 3.25rem;
}

.news-card .media-card__title {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .media-card__excerpt {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.news-card .media-card__footer {
    font-size: 0.85rem;
}

.news-card .media-card__stat {
    color: #667085;
}

.news-card .media-card__action {
    font-size: 0.9rem;
}

.news-card .media-card__action i {
    transition: transform 0.3s ease;
}

.news-card:hover .media-card__action i {
    transform: translateX(4px);
}

/* Pagination */
.pagination-wrap {
    margin-top: 50px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    gap: 8px;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #FFA500;
    color: #fff;
    border-color: #FFA500;
}

.pagination .page-item.active .page-link {
    background: #FFA500;
    color: #fff;
    border-color: #FFA500;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
    border-color: #f0f0f0;
}

.pagination .page-item.disabled .page-link:hover {
    background: transparent;
    color: #ccc;
    border-color: #f0f0f0;
}

.pagination-info {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Alert */
.alert {
    padding: 30px;
    border-radius: 10px;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    color: #004085;
}

.alert i {
    font-size: 20px;
    margin-right: 10px;
}

/* Individual Article View */
.page-noticias-view .page-banner-section {
    background-image: linear-gradient(140deg, #FFF 40%, rgba(255, 165, 0, .4) 100%);
    padding-top: 0;
}

.page-noticias-view {
    --media-accent: #ffa500;
}

.page-noticias-view .media-hero {
    gap: 26px;
}

.page-noticias-view .media-hero__badge,
.page-noticias-view .media-hero__meta-badge {
    background: rgba(255, 166, 0, 0.18);
}

.page-noticias-view .media-hero__meta {
    border-color: rgba(255, 166, 0, 0.22);
}

.page-noticias-view .media-hero__cover {
    box-shadow: 0 28px 48px rgba(255, 166, 0, 0.16);
}

.page-noticias-view .media-content {
    color: #2f3c4a;
}

.article-intro {
    font-size: 1.0625rem;
    /* font-weight: 600; */
    color: #2f3c4a;
    /* margin-bottom: 28px; */
    padding: 24px 28px;
    /* background: linear-gradient(135deg, rgba(255, 166, 0, 0.12), rgba(255, 166, 0, 0.2));
    border-left: 4px solid var(--media-accent);
    border-radius: 18px; */
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-body p {
    margin: 0;
}

.article-body h2,
.article-body h3 {
    margin: 10px 0;
    color: #111a24;
}

.article-body img {
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(17, 26, 36, 0.12);
}

.article-body ul,
.article-body ol {
    margin: 0 0 12px 30px;
    padding-left: 0;
}

.article-body li {
    margin-bottom: 6px;
}

.page-noticias-view .media-footer {
    border-color: rgba(255, 166, 0, 0.22);
}

.page-noticias-view .media-share__label {
    color: #2f3c4a;
}

.page-noticias-view .media-back {
    background: rgba(255, 166, 0, 0.14);
    color: #111a24;
}
.page-noticias-view .media-back:hover i {
    color: var(--media-accent);
}

.page-noticias-view .media-gallery-section__cta {
    background: var(--media-accent);
    color: #fff;
    box-shadow: 0 20px 34px rgba(255, 166, 0, 0.22);
}

.page-noticias-view .media-gallery-section__cta:hover {
    background: #ff8c00;
}

/* Article Gallery Section */
.article-gallery-section {
    margin: 0 0 48px 0;
    padding: 34px;
    background: rgba(255, 166, 0, 0.08);
    border-radius: 22px;
    border: 1px solid rgba(255, 166, 0, 0.2);
    box-shadow: 0 22px 38px rgba(255, 166, 0, 0.14);
}

.gallery-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111a24;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.gallery-section-title i {
    color: var(--media-accent);
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

@media (max-width: 768px) {
    .article-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-gallery-item {
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(255, 166, 0, 0.16);
}

.gallery-link-wrap {
    margin-top: 6px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 166, 0, 0.2);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(17, 26, 36, 0.18);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1d9bf0;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Sidebar */
.news-sidebar {
    position: sticky;
    top: 205px;
}

/* Responsive */
@media (max-width: 991px) {
    .article-title {
        font-size: 26px;
    }
    
    .news-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 22px;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-intro {
        font-size: 16px;
        padding: 15px;
    }
}
