/* Ad Space frontend */
.adaspace-banner {
  position: relative;
  display: block;
  margin: 1rem 0;
  overflow: hidden;
  background: #0f172a;
  border-radius: 12px;
}
.adaspace-banner__img {
  display: block;
  width: 100%;
  height: auto;
}
.adaspace-banner--main-full { max-width: 100%; }
.adaspace-banner--half { max-width: 50%; }
.adaspace-banner--quarter { max-width: 25%; }
.adaspace-banner--side { max-width: 300px; }
.adaspace-banner--long-across { max-width: 100%; }
.adaspace-banner--vertical { max-width: 360px; margin-inline: auto; }
.adaspace-banner--landscape { max-width: 960px; }
.adaspace-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}

.adaspace-video,
.adaspace-live {
  margin: 1.25rem 0;
  color: #0f172a;
}
.adaspace-video__stage,
.adaspace-live__stage {
  position: relative;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.adaspace-video--vertical .adaspace-video__stage {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin-inline: auto;
}
.adaspace-video__el,
.adaspace-live__el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.adaspace-video__overlay,
.adaspace-live__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px;
  z-index: 1;
}
/* During content, clear chrome so native video controls stay usable. */
.adaspace-video.is-content .adaspace-video__overlay {
  display: none;
}
.adaspace-video.is-content .adaspace-video__el {
  position: relative;
  z-index: 2;
}
.adaspace-video__label,
.adaspace-live__badge,
.adaspace-live__label,
.adaspace-video__countdown,
.adaspace-live__countdown {
  align-self: flex-start;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
.adaspace-live__badge { background: #dc2626; font-weight: 700; }
.adaspace-video__cta,
.adaspace-live__cta {
  pointer-events: auto;
  align-self: flex-end;
  margin-top: auto;
  margin-left: auto;
  background: #38bdf8;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}
.adaspace-video__play,
.adaspace-live__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  z-index: 2;
}
.adaspace-video__play.is-hidden,
.adaspace-live__play.is-hidden { display: none; }
.adaspace-video__meta,
.adaspace-live__meta,
.adaspace-live__warn {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
.adaspace-live__warn { color: #b45309; }

.adaspace-prices {
  overflow-x: auto;
  margin: 1rem 0;
}
.adaspace-prices__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.adaspace-prices__table th,
.adaspace-prices__table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.adaspace-prices__note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .adaspace-banner--half,
  .adaspace-banner--quarter { max-width: 100%; }
}
