/* --- ESTILOS PÁGINA DE DETALHE DA PUBLICAÇÃO --- */

.publication-main-content {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.publication-image {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.publication-class {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.publication-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 1rem;
}

.publication-meta {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.publication-meta i {
    margin-right: 8px;
}

.publication-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
    color: #495057;
    margin-top: 1.5rem;
}

.publication-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #343a40;
}

.gallery-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.gallery-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
}

.video-list-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}