/* Container principal */
.evento-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
}

/* Título do evento */
.evento-titulo {
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-align: center;
}

/* Data do evento */
.evento-data {
  text-align: center;
  font-size: 1.1rem;
  color: var(--cinza-medio);
  margin-bottom: 20px;
}

/* Botão LinkedIn */
.btn-linkedin {
  display: inline-flex; /* inline-flex para alinhar texto e ícone */
  background-color: #0077b5;
  color: white;
  padding: 10px 20px;
  margin: 0 auto 30px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.btn-linkedin:hover {
  background-color: #005885;
}

/* ====================
   GALERIA DO EVENTO
   ==================== */
.evento-galeria {
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Swiper container (usado para o carrossel) */
.evento-carousel.swiper {
  width: 100%;
  height: 380px;
  position: relative; /* importante para os controles */
}

/* Cada slide do Swiper */
.evento-slide.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: transparent;
  position: relative;
}

.evento-slide img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  display: block;
}

/* Legenda da imagem */
.descricao-img {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* evita interferência no hover */
}

.evento-slide:hover .descricao-img {
  opacity: 1;
}

/* Dots / Paginação do Swiper */
.carousel-dots.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  display: flex;
  gap: 10px; /* espaçamento entre os bullets */
}

/* Dots (pagination bullets) */
.swiper-pagination-bullet {
  background: var(--cinza-claro, #ccc); /* cor padrão cinza claro */
  opacity: 0.7;
  transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--vermelho-principal); /* cor do site */
  opacity: 1;
}

/* Botões de navegação (setas) */
.swiper-button-next,
.swiper-button-prev {
  color: var(--vermelho-principal);
  transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--vermelho-hover); /* cor hover, se quiser um destaque */
}

/* Ajuste o tamanho das setas se quiser */
.swiper-button-next,
.swiper-button-prev {
  font-size: 24px; /* aumenta ou diminui o tamanho */
}

/* Posicionamento padrão das setas */
.swiper-button-next {
  right: 10px; /* distância da borda direita */
}

.swiper-button-prev {
  left: 10px; /* distância da borda esquerda */
}


/* ====================
   CONTEÚDO DO EVENTO
   ==================== */
.evento-conteudo {
  padding: 10px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.evento-conteudo p {
  margin-bottom: 1.2em;
}

/* Botão voltar para eventos */
.evento-voltar { text-align: center; margin: 1rem 0 3rem; }
.evento-voltar .btn-vermelho { padding: 12px 24px; }

/* Responsivo */
@media (max-width: 768px) {
  .evento-carousel.swiper {
    height: 300px;
  }

  .btn-linkedin {
    flex-direction: column;
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}
