/* --- ESTILO DOS CARDS DE EVENTOS NA AGENDA --- */
.area-eventos-randomicos { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; padding: 2em 1em; }
a.card-evento-link, div.card-evento-link-desativado { text-decoration: none; display: flex; }
.card-evento { background: #fff; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,.08); max-width: 360px; width: 100%; overflow: hidden; display: flex; flex-direction: column; text-align: left; height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
a.card-evento-link:hover .card-evento { transform: translateY(-10px); box-shadow: 0 12px 25px rgba(0,0,0,.12); }
.evento-imagem { overflow: hidden; height: 200px; background: #e9ecef; }
.evento-imagem img, .evento-imagem svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a.card-evento-link:hover .evento-imagem img { transform: scale(1.05); }
.evento-conteudo { padding: 1.5rem 2rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.evento-data { color: #c1272d; font-size: .95rem; font-weight: 600; margin-bottom: .75rem; display: flex; align-items: center; gap: 8px; }
.evento-data .dashicons { font-size: 1.2rem; }
.inscricoes-abertas { color: #d9534f; font-weight: 600; margin-bottom: .5rem; font-size: .9rem; text-transform: uppercase; }
.titulo-evento { margin-bottom: 1rem; font-size: 1.5rem; color: #1a1a1a; font-weight: 700; line-height: 1.3; }
.tipo-prova { color: #666; font-size: 1rem; line-height: 1.6; }
.botao-evento-no-card { display: inline-block; padding: 8px 16px; margin-top: 1rem; background: #c1272d; color: #fff; border-radius: 8px; font-weight: 600; align-self: flex-start; text-align: center; }

/* --- NOVO: ESTILO DA PÁGINA COMPLETA DO EVENTO --- */
.evento-single-container { max-width: 1100px; margin: 0 auto; }
.evento-hero-banner { position: relative; height: 400px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.evento-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); }
.evento-hero-title { position: relative; z-index: 2; font-size: 3.5rem; font-weight: 800; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }

.evento-main-content-area { display: flex; flex-wrap: wrap; gap: 2rem; padding: 3rem 1rem; }
.evento-coluna-principal { flex: 1; min-width: 300px; flex-basis: 65%; }
.evento-coluna-sidebar { flex-basis: 30%; min-width: 280px; }

.evento-coluna-principal .entry-content p { font-size: 1.1rem; line-height: 1.8; color: #333; }
.evento-coluna-principal .entry-content h2, .evento-coluna-principal .entry-content h3 { margin-top: 2rem; }

.detalhes-box { background: #f9f9f9; padding: 1.5rem; border-radius: 8px; border: 1px solid #e5e5e5; }
.detalhes-titulo { font-size: 1.5rem; margin-top: 0; margin-bottom: 1.5rem; border-bottom: 2px solid #e5e5e5; padding-bottom: 0.5rem; }
.detalhes-box ul { list-style: none; padding: 0; margin: 0; }
.detalhes-box li { display: flex; align-items: flex-start; margin-bottom: 1rem; font-size: 1rem; }
.detalhes-box li .dashicons { margin-right: 10px; color: #c1272d; font-size: 1.4rem; }
.detalhes-box li strong { display: block; font-size: 0.9rem; color: #555; }

.botao-evento-single { display: block; width: 100%; text-align: center; padding: 14px; margin-top: 1.5rem; background-color: #c1272d; color: #fff; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 1.2rem; transition: background-color .3s ease, transform .2s ease; }
.botao-evento-single:hover { background-color: #a51f24; transform: translateY(-2px); }

@media (max-width: 768px) {
    .evento-hero-title { font-size: 2.5rem; }
    .evento-main-content-area { flex-direction: column; }
}