/* SEO prompt pages are documents, not interactive modal dialogs. */
body.prompt-page .app__main {
  padding-bottom: 36px;
}

body.prompt-page .modal {
  position: static;
  inset: auto;
}

body.prompt-page .modal__backdrop {
  display: none;
}

body.prompt-page .modal__content.prompt-page__card {
  position: static;
  top: auto;
  left: auto;
  display: grid;
  grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: 1080px;
  max-height: none;
  margin: 0 auto;
  transform: none;
  overflow: visible;
}

body.prompt-page .modal__image-wrap {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-bottom: 18px;
}

body.prompt-page .modal__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

body.prompt-page .modal__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-height: none;
  padding: 28px 30px;
  overflow: visible;
}

body.prompt-page .modal__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding: 0 30px 28px;
}

body.prompt-page .modal__content.prompt-page__card {
  animation: none;
}

/* The CTA sits on the card surface, not on a media-colored strip. */
body.prompt-page .modal__image-wrap {
  background: transparent;
}

body.prompt-page .modal__image {
  border-radius: 14px;
}

body.prompt-page .prompt-ssr__related {
  margin-top: 44px;
}

body.prompt-page .prompt-ssr__related .seo-landing__heading {
  margin-bottom: 18px;
}

body.prompt-page .seo-landing__prompt-list {
  gap: 14px;
}

body.prompt-page .prompt-related__item {
  padding: 10px;
}

body.prompt-page .prompt-related__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

body.prompt-page .prompt-related__thumb {
  flex: 0 0 auto;
  width: 120px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--card-alt);
}

body.prompt-page .prompt-related__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

body.prompt-page .prompt-related__title {
  font-weight: 700;
}

body.prompt-page .prompt-related__text {
  display: -webkit-box;
  margin: 0;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 760px) {
  body.prompt-page .app__main {
    padding-bottom: 24px;
  }

  body.prompt-page .modal__content.prompt-page__card {
    display: flex;
    width: 100%;
    border-radius: 0;
  }

  body.prompt-page .modal__image-wrap,
  body.prompt-page .modal__body,
  body.prompt-page .modal__actions {
    display: flex;
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  body.prompt-page .modal__image-wrap {
    display: block;
    padding: 0 0 14px;
  }

  body.prompt-page .modal__body {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  body.prompt-page .modal__actions {
    justify-content: stretch;
    padding-bottom: 20px;
  }

  body.prompt-page .modal__actions .btn {
    width: 100%;
    text-align: center;
  }

  body.prompt-page .prompt-ssr__related {
    margin-top: 32px;
    padding: 0 16px;
  }

  body.prompt-page .prompt-related__thumb {
    width: 96px;
    height: 64px;
  }
}
