/* Modal de Noticia Destacada / Infobae */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.news-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.news-modal-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 90vh;
  max-height: 840px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-modal-overlay.active .news-modal-container {
  transform: translateY(0) scale(1);
}

.news-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #111827;
  color: #f3f4f6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.news-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.news-badge {
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-topbar-title {
  color: #d1d5db;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

.news-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #03050a;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.news-close-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  filter: brightness(1.08);
}

.news-close-btn:active {
  transform: translateY(0);
}

.news-iframe-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  background: #f9fafb;
}

.news-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.news-floating-cta {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #03050a;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.4);
  transition: all 0.25s ease;
}

.news-floating-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.6);
}

@media (max-width: 768px) {
  .news-modal-overlay {
    padding: 0;
  }
  .news-modal-container {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .news-topbar-title {
    display: none;
  }
  .news-floating-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
  }
}
