/* ===== ESTILOS PARA PÁGINAS DE NOTICIAS ===== */

.noticia-main {
    margin-top: 0;
    padding: 0;
}

/* Hero Section */
.noticia-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.noticia-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.noticia-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(94, 23, 235, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem 2rem;
}

.noticia-hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    color: var(--konea-light);
}

.noticia-badge {
    display: inline-block;
    background: var(--konea-secondary);
    color: var(--konea-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 1rem 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.noticia-meta {
    display: flex;
    gap: 2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

.noticia-meta-date,
.noticia-meta-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contenido */
.noticia-contenido {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.noticia-container {
    flex: 1;
    max-width: 750px;
}

.noticia-seccion {
    margin-bottom: 2.5rem;
}

.noticia-intro {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--konea-secondary);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--konea-secondary);
    padding-left: 1.5rem;
}

.noticia-contenido p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.noticia-h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--konea-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--konea-secondary);
}

.noticia-h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--konea-light);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.noticia-lista {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.noticia-lista li {
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
}

.noticia-lista li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--konea-secondary);
    font-weight: bold;
}

/* Figuras e imágenes */
.noticia-figura {
    margin: 2.5rem 0;
    overflow: hidden;
}

.noticia-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.noticia-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.noticia-figura-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.noticia-figura-img:hover {
    transform: scale(1.02);
}

.noticia-figura figcaption {
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    margin-top: 0.8rem;
    font-style: italic;
}

/* Tags */
.noticia-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(94, 23, 235, 0.2);
}

.noticia-tag-item {
    background: rgba(94, 23, 235, 0.15);
    color: var(--konea-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--konea-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.noticia-tag-item:hover {
    background: var(--konea-secondary);
    color: var(--konea-dark);
}

/* Sidebar */
.noticia-sidebar {
    flex-basis: 280px;
    height: fit-content;
}

.sidebar-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--konea-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--konea-secondary);
}

.noticias-relacionadas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(94, 23, 235, 0.1);
    border: 1px solid rgba(94, 23, 235, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.noticia-relacionada {
    display: block;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--konea-secondary);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.noticia-relacionada:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(5px);
}

.noticia-rel-titulo {
    color: var(--konea-light);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.equipos-sidebar {
    margin-top: 2rem;
}
    text-decoration: none;
    transition: all 0.3s ease;
}

.noticia-relacionada:hover {
    background: rgba(240, 183, 34, 0.1);
    border-left-color: var(--konea-light);
}

.noticia-rel-titulo {
    color: var(--konea-light);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Botón volver */
.noticia-volver {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
    padding: 2rem;
}

.btn-volver {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #1a1a1a; /* Dark text for better contrast on yellow */
    text-decoration: none;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
    text-shadow: none;
}

.btn-volver:hover {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
}

.btn-volver:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 900px) {
    .noticia-contenido {
        flex-direction: column;
        gap: 2rem;
    }

    .noticia-sidebar {
        position: static;
        flex-basis: auto;
    }

    .noticia-hero-title {
        font-size: 2rem;
    }

    .noticia-hero {
        height: 350px;
    }

    .noticia-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .noticia-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .noticia-main {
        padding: 0;
    }

    .noticia-hero {
        height: 300px;
    }

    .noticia-hero-title {
        font-size: 1.8rem;
    }

    .noticia-hero-overlay {
        padding: 1.5rem 1rem;
    }

    .noticia-container {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .noticia-h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem 0;
    }

    .noticia-h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.8rem 0;
    }

    .noticia-lista {
        margin: 0.8rem 0;
        padding-left: 1.2rem;
    }

    .noticia-lista li {
        margin-bottom: 0.5rem;
    }

    .noticia-volver {
        padding: 1rem;
    }

    .btn-volver {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .noticia-hero-title {
        font-size: 1.5rem;
    }

    .noticia-h2 {
        font-size: 1.3rem;
        margin: 1.2rem 0 0.8rem 0;
    }

    .noticia-contenido p {
        text-align: left;
        font-size: 0.95rem;
        margin: 0.8rem 0;
        line-height: 1.6;
    }

    .noticia-hero {
        height: 250px;
    }

    .noticia-hero-overlay {
        padding: 1rem;
    }

    .noticia-container {
        max-width: 100%;
        padding: 1rem;
    }

    .noticia-meta {
        font-size: 0.85rem;
    }

    .noticia-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .noticia-tags {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }

    .noticia-tag-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .noticias-relacionadas {
        gap: 0.8rem;
    }

    .noticia-relacionada {
        padding: 0.8rem;
    }

    .noticia-rel-titulo {
        font-size: 0.9rem;
