/* ========================================
   Estilos para a página de exibição de notícia
   ======================================== */

/* Reset e configurações gerais */
body {
    background: #f5f5f5 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-container {
    margin-top: 0 !important;
}

.dashboard-wrapper {
    background: #f5f5f5 !important;
}

/* Container principal */
.noticia-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Card de cabeçalho da notícia */
.noticia-header {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

/* Badges de tipo de mídia */
.media-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.media-badge i {
    margin-right: 8px;
    font-size: 16px;
}

.media-badge.digital {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.media-badge.impresso {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.media-badge.audio {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.media-badge.video {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.media-badge.revista {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.media-badge.rede-social {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.media-badge.web-tv {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #333;
}

/* Informações da matéria */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.info-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.info-item label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-item span {
    display: block;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

/* Título da notícia */
.noticia-titulo {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

/* Card de conteúdo */
.noticia-conteudo-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    min-height: 400px;
}

.noticia-texto {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.noticia-texto img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card de mídia */
.noticia-media-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: sticky;
    top: 20px;
}

.media-preview {
    margin-bottom: 20px;
}

.media-preview img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

/* Players de áudio e vídeo */
audio, video {
    width: 100%;
    border-radius: 6px;
    outline: none;
}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
    border-radius: 6px;
}

.embed-responsive.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.embed-responsive.embed-responsive-4by3 {
    padding-bottom: 75%;
}

/* Botões de ação */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Toggle de transcrição */
.transcricao-toggle {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #667eea;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.transcricao-toggle:hover {
    background: #5568d3;
    color: #fff;
    text-decoration: none;
}

.transcricao-conteudo {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

/* Enfoque label */
.enfoque-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Responsividade */
@media (max-width: 768px) {
    .noticia-header {
        padding: 20px;
    }
    
    .noticia-conteudo-card {
        padding: 20px;
    }
    
    .noticia-titulo {
        font-size: 22px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .noticia-media-card {
        position: relative;
        top: 0;
        margin-top: 20px;
    }
}
