.jnews-ad-container {
  margin: 20px 0;
  text-align: center;
  position: relative;
}

.jnews-ad-container.with-background {
  background-color: #ececec;
  padding: 15px;
  border-radius: 8px;
}

.jnews-ad-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: normal; /* Removido o negrito */
  text-align: center;
}

.jnews-ad-content {
  position: relative;
  text-align: center; /* Centralizar conteúdo */
}

.jnews-ad-content img,
.jnews-ad-content video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Centralizar imagens e vídeos */
}

.jnews-ad-content iframe {
  display: block;
  margin: 0 auto; /* Centralizar iframes (AdSense) */
}

.jnews-ad-over-image {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 5px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 200px;
}

.jnews-ad-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #000;
  color: #fff;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.jnews-ad-close:hover {
  background: #333;
}

.jnews-ad-footer-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid #ddd;
  z-index: 9999;
  padding: 10px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.3s ease-out;
  margin: 0 !important;
  width: 100% !important;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.jnews-ad-footer-sticky.hidden {
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.jnews-ad-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.jnews-ad-fullscreen-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 80%;
  overflow: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.jnews-ad-countdown {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
  text-align: center;
  font-weight: 600;
}

.jnews-ad-countdown span {
  color: #ffff00;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .jnews-ad-container {
    margin: 15px 0;
  }

  .jnews-ad-over-image {
    max-width: 150px;
    padding: 8px;
  }

  .jnews-ad-fullscreen-content {
    padding: 20px;
    max-width: 95%;
    max-height: 85%;
  }

  .jnews-ad-countdown {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .jnews-ad-over-image {
    max-width: 120px;
    padding: 5px;
    font-size: 12px;
  }

  .jnews-ad-fullscreen-content {
    padding: 15px;
  }

  .jnews-ad-countdown {
    font-size: 14px;
  }
}
