/* Estilos para o Quadro de Notícias */
.news-board {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(40, 40, 60, 0.95));
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.news-board__header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
}

.news-board__header h2 {
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.news-board__header i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.news-board__content {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar personalizada */
.news-board__content::-webkit-scrollbar {
    width: 8px;
}

.news-board__content::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.5);
    border-radius: 4px;
}

.news-board__content::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

.news-board__content::-webkit-scrollbar-thumb:hover {
    background: #f4d03f;
}

/* Item de notícia */
.news-item {
    display: flex;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item:hover {
    border-color: #d4af37;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.news-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item__image img {
    transform: scale(1.1);
}

.news-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item__date {
    color: #d4af37;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.news-item__date i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.news-item__title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.news-item__summary {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.news-item__link {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.news-item__link:hover {
    transform: translateX(3px);
}

.news-item__link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.news-item__link:hover i {
    transform: translateX(3px);
}

/* Estado vazio */
.news-board__empty {
    text-align: center;
    padding: 40px 20px;
    color: #cccccc;
}

.news-board__empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .news-board {
        padding: 15px;
    }
    
    .news-item {
        flex-direction: column;
        padding: 12px;
    }
    
    .news-item__image {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .news-board__header h2 {
        font-size: 1.5rem;
    }
    
    .news-board__content {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .news-item__title {
        font-size: 1rem;
    }
    
    .news-item__summary {
        font-size: 0.85rem;
    }
    
    .news-item__link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}