/* She Makes Content: small fixes on top of the engine's own styles. */

/* Centre every section label (How it works, What you get, The path, ...). */
.dp .dp-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

/* Give the headline lines more room, so the highlight never covers the line above. */
.dp h1,
.dp h2 {
  line-height: 1.22;
}

/* A slimmer highlight that sits behind the words, not over the neighbouring lines. */
.dp mark {
  background: linear-gradient(transparent 14%, var(--dp-mark) 14%, var(--dp-mark) 90%, transparent 90%);
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Centre the numbers band, however many numbers it holds. */
.dp .dp-stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.dp .dp-stats-grid > div {
  flex: 1 1 200px;
  max-width: 300px;
  min-width: 0;
}

/* The top bar logo, a touch smaller on phones so it fits on one line. */
@media (max-width: 430px) {
  .site-head .logo { max-width: 100%; height: auto; }
}

/* Results: show each phone screenshot at phone size, centred, not full width. */
.dp .dp-case img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 16px auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.dp .dp-case .dp-chips {
  justify-content: center;
}


/* Client chat screenshots: four side by side on desktop, stacked on phones. */
.dp .dp-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  max-width: 1080px;
}
@media (max-width: 700px) {
  .dp .dp-gallery {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* The VSL: under the subheadline (the engine puts it above), in a tall phone-shaped player. */
.dp .dp-hero {
  display: flex;
  flex-direction: column;
}
.dp .dp-hero > * { order: 4; }
.dp .dp-hero > h1 { order: 1; }
.dp .dp-hero > .dp-sub { order: 2; }
.dp .dp-hero > .dp-video { order: 3; }
.dp .dp-hero > .dp-video {
  width: min(360px, 100%);
  max-width: none;
  padding-top: 0;
  aspect-ratio: 9 / 16;
  margin: 6px auto 26px;
}
