/* Motavo v2.36: scoped homepage / Stripe subscription layout corrections. */
/* Keep homepage actions together at desktop widths; retain stacked touch targets on phones. */
@media (min-width: 901px) {
  .hero.hero-bleed .mtv-v236-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
  }
  .hero.hero-bleed .mtv-v236-hero-actions > .button {
    flex: 0 1 auto;
    min-width: 0;
    padding: 12px 11px !important;
    font-size: clamp(11px, .84vw, 14px);
    line-height: 1.25;
    white-space: nowrap;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .hero.hero-bleed .mtv-v236-hero-actions { flex-wrap: wrap; }
}
/* Car of the Day replaces the featured-search message; no empty placeholder underneath. */
.hero.hero-bleed .hero-car-card.mtv-v236-cotd-shell {
  padding-bottom: 20px;
}
.hero.hero-bleed .hero-car-card.mtv-v236-cotd-shell > .mtv-v233-cotd { margin: 0; }
/* Keep the subscriptions header, form and configured plans on the same centred grid. */
.mtv-v236-subscriptions {
  box-sizing: border-box;
  width: min(var(--container, 1330px), calc(100% - var(--container-pad, 56px)));
  margin: 50px auto 70px;
  min-width: 0;
}
.mtv-v236-subscriptions > .dashboard-head {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 26px !important;
  padding: 0;
}
.mtv-v236-subscriptions > .dashboard-head > div { min-width: 0; }
.mtv-v236-subscriptions > .dashboard-head p { max-width: 850px; }
.mtv-v236-subscriptions > .admin-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 24px;
}
.mtv-v236-subscriptions > .mtv-v236-subscription-form {
  width: min(850px, 100%);
  margin-bottom: 24px;
}
.mtv-v236-subscriptions .ledger-row,
.mtv-v236-subscriptions .ledger-row > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .mtv-v236-subscriptions {
    width: calc(100% - 20px);
    max-width: 720px;
    margin: 28px auto 48px;
  }
  .mtv-v236-subscriptions > .admin-panel { padding: clamp(18px, 4vw, 28px); }
  .mtv-v236-subscriptions > .dashboard-head { margin-bottom: 18px !important; }
}
@media (max-width: 560px) {
  .mtv-v236-subscriptions .ledger-row { flex-direction: column; align-items: stretch; gap: 14px; }
}
