.guide-offer-dialog {
  width: min(44rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overscroll-behavior: contain;
  margin: auto;
  padding: 0;
  border: 1.5px solid var(--he-forest);
  border-radius: var(--he-radius-panel, 1rem);
  background: var(--he-cream);
  color: var(--he-forest);
  box-shadow: 0 .6rem 2.75rem #123d2b3d;
}

.guide-offer-dialog::backdrop { background: #102119a6; }

.guide-offer-dialog__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.guide-offer-dialog__art { min-width: 0; background: #ecd3a6; }

.guide-offer-dialog__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.guide-offer-dialog__close-form {
  position: absolute;
  z-index: 1;
  inset-block-start: .65rem;
  inset-inline-end: .65rem;
  margin: 0;
}

.guide-offer-dialog__close-form button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--he-forest);
  border-radius: 50%;
  background: var(--he-cream);
  color: var(--he-forest);
  font: 400 1.7rem/1 var(--body);
  cursor: pointer;
}

.guide-offer-dialog__close-form button:hover { background: var(--he-mango); }

.guide-offer-dialog__copy { padding: 3.35rem var(--he-space-card, clamp(1rem, 2.5vw, 2rem)) 1.75rem; }
.guide-offer-dialog__copy .eyebrow { margin-bottom: .55rem; color: var(--he-forest); }

.guide-offer-dialog .guide-offer-dialog__copy h2 {
  margin: 0;
  color: var(--he-forest);
  font: 800 clamp(2.65rem, 5.6vw, 4.25rem)/.96 var(--he-display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.guide-offer-dialog__copy h2 + p { margin-top: .9rem; color: var(--he-ink); line-height: 1.5; }
.guide-offer-dialog__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: 1.1rem; }
.guide-offer-dialog__actions .button { margin: 0; background: var(--he-mango); border-color: var(--he-forest); color: var(--he-forest); }
.guide-offer-dialog__actions .button:hover { background: var(--he-pink); }
.guide-offer-dialog__actions .text-link { font-size: .95rem; }

@media (max-width: 37.5rem) {
  .guide-offer-dialog__layout { grid-template-columns: minmax(0, 1fr); }
  .guide-offer-dialog__art { height: clamp(6rem, 20vh, 10.5rem); }
  .guide-offer-dialog__art img { object-position: center 59%; }
  .guide-offer-dialog__copy { padding: 1.25rem 1.2rem 1.2rem; }
  .guide-offer-dialog .guide-offer-dialog__copy h2 { font-size: clamp(2.5rem, 10.25vw, 3.7rem); }
}
