/* ============================================= */
/* CSS para Páginas de Detalhes (Evento, etc.)   */
/* ============================================= */

.detail-page-main {
    background-color: #FFFFFF;
}

.detail-container {
    padding-bottom: 5rem;
}

/* ---- Cabeçalho com Banner ---- */
.detail-header .detail-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay escuro para dar contraste ao título, se necessário no futuro */
.detail-header .detail-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
}

.detail-header .header-content {
    background-color: #FFFFFF;
    padding: 2rem 0;
    border-bottom: 1px solid #DEE2E6;
}

.detail-header .tags {
    margin-bottom: 0.5rem;
}
.detail-header .tag {
    display: inline-block;
    background-color: #eee;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.detail-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #343A40;
}


/* ---- Corpo da Página (Duas Colunas) ---- */
.detail-body {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Coluna principal 2x maior que a lateral */
    gap: 3rem;
    padding-top: 3rem;
}

/* ---- Conteúdo Principal (Esquerda) ---- */
.main-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #009A44;
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.organizer {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.organizer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #6c757d;
}
.organizer p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #343A40;
    margin-bottom: 0;
}

.main-content .map-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 */
    border-radius: 8px;
    overflow: hidden;
}
.main-content .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ---- Barra Lateral de Informações (Direita) ---- */
.info-sidebar {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #DEE2E6;
    height: fit-content; /* Altura se ajusta ao conteúdo */
    position: sticky; /* Efeito "grudento" ao rolar a página */
    top: 2rem;
}

.info-sidebar h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.info-sidebar .info-list {
    list-style: none;
    padding: 0;
}
.info-sidebar .info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-sidebar .info-list img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    margin-top: 4px;
}
.info-sidebar .info-list strong {
    display: block;
    font-weight: 700;
    color: #343A40;
}
.info-sidebar .info-list span {
    color: #6c757d;
}

.cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #009A44;
    color: #FFFFFF;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    margin-bottom: 2rem;
}
.cta-button:hover {
    background-color: #007A33;
}

.share-buttons {
    text-align: center;
}
.share-buttons span {
    font-weight: 700;
    color: #6c757d;
    margin-right: 1rem;
}
.share-buttons img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.share-buttons a:hover img {
    opacity: 1;
}

/* ---- Responsividade ---- */
@media (max-width: 992px) {
    .detail-body {
        grid-template-columns: 1fr; /* Coluna única em telas menores */
    }
}