/* ===== HERO SECTION NOTICIAS ===== */
.lp-news-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    min-height: 60vh !important;
}

.lp-news-background-parallax {
    transform: translateZ(0);
    will-change: transform;
}

.lp-news-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.6;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.lp-news-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.3) 100%);
}

.lp-news-hero:hover .lp-news-background-image {
    transform: scale(1.05);
}

.lp-news-badge .badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.lp-news-title {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.lp-text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-news-subtitle {
    font-weight: 300;
    opacity: 0.9;
}

/* ===== ESTADÍSTICAS ===== */
.lp-stat-card {
    text-align: center;
    padding: 1rem;
}

.lp-stat-card h3 {
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.lp-stat-card small {
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* ===== SECCIONES GENERALES ===== */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lp-light-mode {
    background: var(--dark-bg);
}

/* ===== FILTROS ===== */
.lp-news-filters {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.lp-filter-select {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    background: #ffffff;
    transition: var(--transition);
}

.lp-filter-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.1);
}

/* ===== GRID DE NOTICIAS ===== */
.lp-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lp-news-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.lp-news-card:hover {
    transform: translateY(-5px);
}

.lp-service-card-light {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--box-shadow-light);
}

.lp-service-card-light:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Imagen de la noticia */
.lp-news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.lp-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lp-news-card:hover .lp-news-image img {
    transform: scale(1.05);
}

.lp-news-placeholder {
    height: 220px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Categoría */
.lp-news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(212, 175, 55, 0.9);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contenido de la noticia */
.lp-news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}

.lp-news-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lp-news-date,
.lp-news-comments {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6c757d;
}

.lp-news-card-title {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lp-news-card-title a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: var(--transition);
}

.lp-news-card-title a:hover {
    color: var(--gold);
    text-decoration: none;
}

.lp-news-excerpt {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.lp-news-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.lp-news-author {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6c757d;
}

.lp-news-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.lp-news-read-more:hover {
    color: var(--gold-light);
    text-decoration: none;
    transform: translateX(3px);
}

/* ===== PAGINACIÓN ===== */
.lp-news-pagination {
    text-align: center;
}

.lp-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-news-pagination .page-numbers li {
    margin: 0 0.25rem;
}

.lp-news-pagination .page-numbers a,
.lp-news-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.lp-news-pagination .page-numbers a {
    color: #495057;
    background: #ffffff;
}

.lp-news-pagination .page-numbers a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}

.lp-news-pagination .page-numbers .current {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}

/* ===== SIDEBAR ===== */
.lp-news-sidebar {
    position: sticky;
    top: 2rem;
}

.lp-sidebar-widget {
    padding: 2rem;
    border-radius: var(--border-radius);
}

.lp-sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

/* Lista de Categorías */
.lp-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-category-item {
    margin-bottom: 0.75rem;
}

.lp-category-item:last-child {
    margin-bottom: 0;
}

.lp-category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    background: #f8f9fa;
}

.lp-category-item a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    text-decoration: none;
}

.lp-category-name {
    font-weight: 500;
}

.lp-category-count {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Posts Destacados */
.lp-featured-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp-featured-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition);
    background: #f8f9fa;
}

.lp-featured-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.lp-featured-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.lp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-featured-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.lp-featured-content {
    flex: 1;
}

.lp-featured-title {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.lp-featured-title a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.lp-featured-title a:hover {
    color: var(--gold);
    text-decoration: none;
}

.lp-featured-date {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}

/* Tags */
.lp-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lp-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lp-tag:hover {
    background: var(--gold);
    color: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-2px);
    border-color: var(--gold);
}

/* ===== NO POSTS ===== */
.lp-no-posts {
    padding: 3rem 2rem;
    text-align: center;
}

/* ===== BADGE TRANSPARENTE ===== */
.bg-gold-transparent {
    background: rgba(212, 175, 55, 0.1) !important;
    backdrop-filter: blur(10px);
}

/* ===== ANIMACIONES ===== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .lp-news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .lp-news-title {
        font-size: 2.5rem;
    }

    .lp-news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .lp-news-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .lp-news-title {
        font-size: 2rem;
    }

    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .lp-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lp-news-filters {
        padding: 1rem;
    }

    .lp-news-filters .row {
        flex-direction: column;
        gap: 1rem;
    }

    .lp-news-filters .col-md-6 {
        text-align: left !important;
    }

    .lp-filter-select {
        width: 100% !important;
        margin: 0.25rem 0;
    }

    .lp-sidebar-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .lp-news-title {
        font-size: 1.8rem;
    }

    .lp-news-subtitle {
        font-size: 1.2rem !important;
    }

    .lp-news-content {
        padding: 1.5rem;
    }

    .lp-news-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .lp-stat-card h3 {
        font-size: 1.5rem !important;
    }
}

/* ===== MEJORAS DE RENDIMIENTO ===== */
@media (prefers-reduced-motion: reduce) {

    .lp-news-card,
    .lp-featured-item,
    .lp-news-read-more,
    .lp-tag {
        transition: none !important;
    }

    .lp-news-hero:hover .lp-news-background-image {
        transform: none;
    }
}