/* --- SECCIÓN AVISO --- */
.news-section {
    padding: 0;
    height: 405px;
    display: flex;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    border: 1px solid #333;
    margin-bottom: 30px;
}

.news-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.news-item.active {
    opacity: 1;
    z-index: 1;
}

.news-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 20px;
    z-index: 2;
    width: 100%;
}

.news-tag {
    display: inline-block;
    background: var(--brand-purple, #6C2AA6);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 2px 2px 0px #000;
    font-style: italic;
}

.news-desc {
    font-size: 0.9rem;
    color: #ccc;
    max-width: 90%;
}

.news-indicators {
    position: absolute;
    bottom: 15px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 5px;
}

.indicator {
    width: 15px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: 0.3s;
}

.indicator.active {
    background: var(--accent-green, #00f7a5);
    box-shadow: 0 0 10px var(--accent-green, #00f7a5);
}

/* --- CONTROLES DE NOTICIAS --- */
.news-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.news-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.news-prev {
    left: 15px;
}

.news-next {
    right: 15px;
}

.news-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- MODAL DE IMAGEN --- */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: var(--brand-red, #c02828);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}