/**
 * Estilos para o single de Eventos
 */

.cbem-single-evento-wrapper * {
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif !important;
}

/* Wrapper principal */
.cbem-single-evento-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Hero com imagem */
.cbem-evento-hero-container {
  max-width: 1120px;
  width: 100%;
  margin: 40px auto 0;
  padding: 0 20px;
}

.cbem-evento-hero-image {
  width: 100%;
  height: 451px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* Wrapper do card de detalhes */
.cbem-evento-details-wrapper {
  max-width: 1025px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Card de detalhes */
.cbem-evento-details-card {
  max-width: 644px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 45px 31px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.08);
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

/* Breadcrumb */
.cbem-evento-breadcrumb {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #626262;
  margin-bottom: 8px;
}

.cbem-evento-breadcrumb a {
  color: #626262;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cbem-evento-breadcrumb a:hover {
  color: #03569A;
}

.cbem-evento-breadcrumb .separator {
  margin: 0 4px;
  color: #626262;
}

.cbem-evento-breadcrumb .current {
  color: #00713C;
}

/* Título */
.cbem-evento-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 28px !important;
  line-height: 36px !important;
  color: #03569A !important;
  margin: 0 0 40px 0 !important;
}

/* Ícones */
.cbem-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

.cbem-share-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.cbem-share-icon:hover {
  transform: scale(1.1);
}

/* Data e Horário - Label */
.cbem-evento-datetime-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cbem-evento-datetime-label span {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #1E1E1E;
  opacity: 0.9;
}

/* Data e Horário - Row */
.cbem-evento-datetime-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.cbem-evento-datetime-left {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #1E1E1E;
}

.cbem-evento-datetime-right {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: #1E1E1E;
}

/* Local e Compartilhar - Row */
.cbem-evento-location-share-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.cbem-evento-location-left {
  flex: 1;
}

.cbem-evento-location-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cbem-evento-location-label span {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #1E1E1E;
  opacity: 0.9;
}

.cbem-evento-location-text {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #1E1E1E;
}

.cbem-evento-share-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cbem-evento-share-label {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #1E1E1E;
  opacity: 0.9;
}

.cbem-evento-share-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cbem-evento-share-icons a {
  display: inline-block;
  line-height: 0;
}

/* Seção de Detalhes do Evento */
.cbem-evento-content-wrapper {
  max-width: 1025px;
  width: 100%;
  margin: 80px auto 60px;
  padding: 0 20px;
}

.cbem-evento-content-section {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 119px;
  width: 100%;
}

/* Coluna esquerda - Detalhes */
.cbem-evento-content-left {
  flex: 1;
  max-width: 62.83%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cbem-evento-section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  font-size: 36px !important;
  line-height: 1.22;
  color: #03569A;
  margin: 0;
}

.cbem-evento-content-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cbem-evento-content-text p {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #1E1E1E;
  margin: 0;
}

/* Coluna direita - Card de Contato */
.cbem-evento-contact-card {
  width: 25.56%;
  min-width: 240px;
  background: rgba(209, 209, 209, 0.2);
  border-radius: 12px;
  padding: 28px 19px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cbem-evento-contact-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  font-size: 20px !important;
  line-height: 28px !important;
  color: #03569A;
  margin: 0;
}

.cbem-evento-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cbem-evento-contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbem-evento-contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbem-contact-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
}

.cbem-evento-contact-label span {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  color: #1E1E1E;
  opacity: 0.9;
}

.cbem-evento-contact-value {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.43;
  color: #03569A;
  text-decoration: none;
  transition: opacity 0.3s ease;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cbem-evento-contact-value:hover {
  opacity: 0.8;
}

/* Galeria de Imagens */
.cbem-evento-galeria-wrapper {
  max-width: 1120px;
  width: 100%;
  margin: 80px auto 60px;
  padding: 0 20px;
}

.cbem-evento-galeria-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

/* Linha do slider com 3 imagens */
.cbem-galeria-slider-row {
  width: 100%;
}

/* Swiper Slider */
.cbem-evento-swiper {
  width: 100%;
  overflow: hidden;
}

.cbem-evento-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbem-evento-swiper .swiper-slide img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
}

/* Navegação: Arrows e Dots */
.cbem-galeria-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

/* Arrows */
.cbem-galeria-arrows {
  display: flex;
  gap: 24px;
  align-items: center;
}

.cbem-galeria-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  padding: 0;
}

.cbem-galeria-arrow:hover {
  opacity: 0.7;
}

.cbem-galeria-arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cbem-galeria-arrow svg {
  width: 24px;
  height: 24px;
}

/* Pagination (dots) */
.cbem-galeria-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 20%;
  justify-content: flex-end;
}

.cbem-galeria-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #D1D1D1;
  opacity: 1;
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 !important;
}

.cbem-galeria-pagination .swiper-pagination-bullet-active {
  background: #03569A;
  width: 24px;
  height: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
  .cbem-evento-hero-container {
    margin: 20px auto 0;
    padding: 0 15px;
  }

  .cbem-evento-hero-image {
    height: 250px;
    border-radius: 12px;
  }

  .cbem-evento-details-wrapper {
    padding: 0 15px;
  }

  .cbem-evento-details-card {
    padding: 30px 20px;
    margin-top: -40px;
    border-radius: 16px;
  }

  .cbem-evento-breadcrumb {
    font-size: 11px;
  }

  .cbem-evento-title {
    font-size: 22px !important;
    line-height: 28px !important;
    margin-bottom: 30px !important;
  }

  .cbem-evento-datetime-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 30px;
  }

  .cbem-evento-location-share-row {
    flex-direction: column;
    gap: 30px;
  }

  .cbem-evento-share-right {
    align-items: flex-start;
    width: 100%;
  }

  .cbem-icon {
    width: 20px;
    height: 20px;
  }

  .cbem-share-icon {
    width: 20px;
    height: 20px;
  }

  /* Seção de conteúdo mobile */
  .cbem-evento-content-wrapper {
    margin: 37px auto 40px;
    padding: 0 20px;
  }

  .cbem-evento-content-section {
    flex-direction: column;
    gap: 37px;
    align-items: center;
  }

  .cbem-evento-content-left {
    max-width: 100%;
    gap: 21px;
    align-items: center;
    text-align: center;
  }

  .cbem-evento-section-title {
    font-size: 22px !important;
    line-height: 1.2;
  }

  .cbem-evento-content-text {
    gap: 21px;
  }

  .cbem-evento-content-text p {
    font-size: 14px;
    line-height: 1.32;
  }

  .cbem-evento-contact-card {
    width: 100%;
    padding: 16px 12px;
    gap: 17px;
    align-items: center;
    text-align: center;
  }

  .cbem-evento-contact-title {
    font-size: 19px !important;
    line-height: 1.26 !important;
  }

  .cbem-evento-contact-info {
    align-items: center;
  }

  .cbem-evento-contact-item {
    align-items: center;
  }

  .cbem-contact-icon {
    width: 20px;
    height: 20px;
  }

  .cbem-evento-contact-label span {
    font-size: 12px;
  }

  .cbem-evento-contact-value {
    font-size: 14px;
    line-height: 1.29;
  }

  /* Galeria mobile */
  .cbem-evento-galeria-wrapper {
    margin: 37px auto 40px;
  }

  .cbem-evento-galeria-container {
    gap: 17px;
  }

  .cbem-evento-swiper .swiper-slide img {
    height: 200px;
  }

  .cbem-galeria-navigation {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .cbem-galeria-pagination {
    width: 100%;
    justify-content: center;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .cbem-evento-hero-container {
    margin: 30px auto 0;
  }

  .cbem-evento-hero-image {
    height: 350px;
  }

  .cbem-evento-details-card {
    margin-top: -60px;
  }

  .cbem-evento-title {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  /* Seção de conteúdo tablet */
  .cbem-evento-content-wrapper {
    padding: 0 25px;
  }

  .cbem-evento-content-section {
    gap: 15px;
    flex-wrap: wrap;
  }

  .cbem-evento-content-left {
    gap: 15px;
  }

  .cbem-evento-section-title {
    font-size: 24px;
    line-height: 1.22;
  }

  .cbem-evento-content-text {
    gap: 15px;
  }

  .cbem-evento-content-text p {
    font-size: 15px;
    line-height: 1.42;
  }

  .cbem-evento-contact-card {
    padding: 20px 15px;
    gap: 15px;
  }

  .cbem-evento-contact-title {
    font-size: 18px;
    line-height: 1.4;
  }

  .cbem-evento-contact-label span {
    font-size: 10px;
  }

  .cbem-evento-contact-value {
    font-size: 12px;
    line-height: 1.43;
  }

  /* Galeria tablet */
  .cbem-evento-galeria-wrapper {
    margin: 60px auto 50px;
  }

  .cbem-evento-galeria-container {
    gap: 15px;
  }

  .cbem-evento-swiper .swiper-slide img {
    height: 240px;
  }
}

/* Desktop grande */
@media (min-width: 1200px) {
  .cbem-evento-hero-container {
    max-width: 1120px;
  }

  .cbem-evento-details-wrapper {
    max-width: 1025px;
  }
}

