/* VEMORIQ policy-safe advertising layout. HTML is generated separately by policy-safe-ads.js. */
.vq-route-ad-layout {
  width: min(1320px, calc(100% - 32px));
  margin: 1rem auto 2rem;
}

.vq-route-ad-layout > .vq-route {
  width: 100%;
  max-width: none;
  margin: 0;
}

.vq-ad-container {
  box-sizing: border-box;
  color: #6f6672;
  background: #fff;
  border: 1px solid rgba(117, 79, 111, 0.14);
  border-radius: 16px;
  overflow: hidden;
}

.vq-ad-label {
  margin: 0;
  padding: 7px 10px 5px;
  color: #776e79;
  font: 500 9px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-align: center;
  opacity: 0.62;
  pointer-events: none;
}

.vq-ad-container .adsbygoogle {
  width: 100%;
  min-height: inherit;
}

.vq-ad-preview {
  display: grid;
  place-items: center;
  height: calc(100% - 25px);
  padding: 18px;
  color: #746a77;
  background: repeating-linear-gradient(135deg, #faf7fa, #faf7fa 12px, #f4eef5 12px, #f4eef5 24px);
  font: 600 12px/1.5 system-ui, sans-serif;
  text-align: center;
}

.vq-ad-container--desktop {
  display: none;
}

.vq-ad-container--mobile {
  width: min(100% - 32px, 720px);
  min-height: 120px;
  margin: 48px auto;
}

@media (min-width: 1360px) {
  .vq-route-ad-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
  }

  .vq-ad-container--desktop {
    display: block;
    position: sticky;
    top: 104px;
    width: 300px;
    min-height: 600px;
    max-height: 600px;
  }

  .vq-ad-container--mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .vq-route-ad-layout {
    width: calc(100% - 24px);
    margin-block: 12px 24px;
  }

  .vq-ad-container--mobile {
    width: calc(100% - 24px);
    margin-block: 48px;
    min-height: 100px;
    border-radius: 14px;
  }

  .vq-route-actions,
  .vq-route-review,
  .vq-route-save {
    scroll-margin-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vq-ad-container {
    scroll-behavior: auto;
  }
}

