/* Placeholder GDPR per video YouTube prima del consenso iubenda */
.ec-yt-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  padding: 28px 24px;
  background: linear-gradient(135deg, #1b1b19 0%, #2a2a27 100%);
  color: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.elementor-wrapper .ec-yt-placeholder {
  position: absolute;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.ec-yt-placeholder__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ec-yt-placeholder__icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.ec-yt-placeholder__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.ec-yt-placeholder__text {
  margin: 0 0 18px;
  max-width: 440px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.ec-yt-placeholder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ec-yt-placeholder__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  border: 0;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ec-yt-placeholder__btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.ec-yt-placeholder__btn--accept {
  background: linear-gradient(90deg, #ff3b73 0%, #fdc348 100%);
  color: #ffffff;
}

.ec-yt-placeholder__btn--prefs {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.ec-yt-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

iframe.ec-yt-gated-iframe:not([src]) {
  display: none;
}
