/* Home subscription callouts; the existing Monthly CTA URL activates all three. */
.dmi-v4-site .dm-home-page :is(.dm-home-subscription,.dm-home-subscription__button,.dm-home-hero__actions) {
  box-sizing: border-box;
}
.dmi-v4-site .dm-home-page .dm-home-hero {
  height: auto;
  align-items: stretch;
}
.dmi-v4-site .dm-home-page .dm-home-hero__copy {
  height: auto;
  justify-content: center;
}
.dmi-v4-site .dm-home-page .dm-home-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  margin-top: 4px;
}
.dmi-v4-site .dm-home-page .dm-home-subscription {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 740px;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--dm-line);
  border-radius: 16px;
  background-color: var(--dm-warm);
  text-align: center;
}
.dmi-v4-site .dm-home-page .dm-home-subscription .dm-home-subscription__title {
  width: 100%;
  margin: 0;
  font-family: var(--dm-display);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dm-blue-dark);
  text-wrap: balance;
}
.dmi-v4-site .dm-home-page .dm-home-subscription .dm-home-subscription__body {
  width: 100%;
  max-width: 610px;
  margin: 0;
  font-family: var(--dm-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--dm-ink);
}
.dmi-v4-site .dm-home-page .dm-home-subscription .dm-home-subscription__button {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--dm-blue);
  color: var(--dm-white) !important;
  font: 600 15px/1.4 var(--dm-ui) !important;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}
.dmi-v4-site .dm-home-page .dm-home-subscription .dm-home-subscription__button:disabled {
  cursor: not-allowed;
  opacity: .7;
  transform: none;
  box-shadow: none;
}
.dmi-v4-site .dm-home-page .dm-home-subscription .dm-home-subscription__button:focus-visible {
  outline: 2px solid var(--dm-blue-dark);
  outline-offset: 4px;
}
html[data-theme="dark"] .dmi-v4-site .dm-home-page .dm-home-subscription .dm-home-subscription__button {
  background: var(--dm-blue-dark) !important;
  color: #172c39 !important;
}
.dmi-v4-site .dm-home-page .dm-home-subscription--hero {
  gap: 12px;
  max-width: 500px;
  padding: 20px;
  text-align: left;
}
.dmi-v4-site .dm-home-page .dm-home-subscription--hero .dm-home-subscription__body {
  font-size: 18px;
  color: var(--dm-muted);
}
.dmi-v4-site .dm-home-page .dm-arrivals {
  height: auto;
}
.dmi-v4-site .dm-home-page .dm-home-subscription--mailbox {
  margin-top: 16px;
}
.dmi-v4-site .dm-home-page > .dm-home-subscription--process {
  width: calc(100% - 96px);
  margin: 32px auto 48px;
}
.dmi-v4-site .dm-home-page > .dm-home-subscription.dm-home-subscription--process {
  background-color: #FBF7F0 !important;
  background-image: none !important;
}
html[data-theme="dark"] .dmi-v4-site .dm-home-page > .dm-home-subscription.dm-home-subscription--process {
  background-color: var(--dm-warm) !important;
}
@media (min-width: 768px) {
  .dmi-v4-site .dm-home-page .dm-home-hero .dm-photo {
    height: auto;
    min-height: 520px;
  }
}
@media (max-width: 767px) {
  .dmi-v4-site .dm-home-page .dm-home-hero__actions { gap: 14px; }
  .dmi-v4-site .dm-home-page .dm-home-subscription { gap: 14px; padding: 24px 20px; }
  .dmi-v4-site .dm-home-page .dm-home-subscription--hero { padding: 18px 16px; }
  .dmi-v4-site .dm-home-page .dm-home-subscription .dm-home-subscription__title {
    font-family: var(--dm-mobile-display, var(--dm-display));
    font-size: 26px;
  }
  .dmi-v4-site .dm-home-page > .dm-home-subscription--process {
    width: calc(100% - 44px);
    margin: 24px auto 32px;
  }
}
