.modal-atualizacao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px; /* Garante espaço nas bordas em mobile */
  }

  .modal-atualizacao-conteudo {
    background: white;
    width: 100%;
    max-width: 380px;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    font-family: Arial, sans-serif;
  }

  .modal-atualizacao-titulo {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .modal-atualizacao-conteudo p {
    font-size: 15px;
    line-height: 1.4;
  }

  .botao-modal-atualizacao {
    margin-top: 18px;
    padding: 12px 20px;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
  }

  .botao-modal-atualizacao:active {
    opacity: 0.85;
  }

  /* Ajustes extras para telas menores */
  @media (max-width: 480px) {
    .modal-atualizacao-conteudo {
      padding: 18px;
    }
    .modal-atualizacao-titulo {
      font-size: 17px;
    }
    .botao-modal-atualizacao {
      font-size: 15px;
      padding: 10px;
    }
  }

/* Widget: Evento - World Trends 2026 */

.world-trends-widget {
  width: 100%;
}

.world-trends-header {
  margin-bottom: 2rem;
  text-align: center;
}

.world-trends-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.world-trends-content {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

/* Banner à esquerda */
.world-trends-banner {
  flex: 0 0 40%;
  max-width: 35%;
}

.banner-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vídeos à direita */
.world-trends-videos {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

/* Desktop: Grid de 4 vídeos em uma linha */
.videos-grid-desktop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  height: 100%;
  align-items: stretch;
    width: 100%;
}

.video-item {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #000;
}

.video-item .youtube-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile: Carrossel Swiper */
.videos-carousel-mobile {
  display: none;
  width: 100%;
  padding-bottom: 2rem;
}

.videos-carousel-mobile .swiper-slide {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Aspect ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #000;
}

.videos-carousel-mobile .swiper-slide .youtube-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Navegação do carrossel */
.videos-carousel-mobile .swiper-button-next,
.videos-carousel-mobile .swiper-button-prev {
  color: #333;
  background-color: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.videos-carousel-mobile .swiper-button-next:after,
.videos-carousel-mobile .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.videos-carousel-mobile .swiper-pagination {
  bottom: 0;
}

.videos-carousel-mobile .swiper-pagination-bullet {
  background-color: #333;
  opacity: 0.5;
}

.videos-carousel-mobile .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .world-trends-widget {
    padding: 1rem;
    margin: 1rem 0;
  }

  .world-trends-title {
    font-size: 1.5rem;
  }

  .world-trends-content {
    flex-direction: column;
    gap: 1rem;
  }

  .world-trends-banner {
    flex: 1;
    max-width: 100%;
    width: 100%;
  }

  .banner-placeholder {
    min-height: 250px;
  }

  /* Esconder grid desktop no mobile */
  .videos-grid-desktop {
    display: none;
  }

  /* Mostrar carrossel no mobile */
  .videos-carousel-mobile {
    display: block;
  }

  .world-trends-videos {
    width: 100%;
  }
}

/* Responsive: Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .world-trends-banner {
    flex: 0 0 35%;
    max-width: 35%;
  }

  .videos-grid-desktop {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}

/* Responsive: Desktop pequeno */
@media (min-width: 1025px) and (max-width: 1200px) {
  .world-trends-banner {
    flex: 0 0 38%;
    max-width: 38%;
  }
}