/* Append AFTER all existing rental-renewal.css rules. PC only. */
@media (min-width: 992px) {
  #rental-renewal .rental-hero-layout {
    /* Fixed desktop header: 66px. Grow naturally if content needs more room. */
    min-height: calc(100vh - 66px);
    min-height: calc(100svh - 66px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(20px, 3vh, 42px);
    padding-bottom: clamp(20px, 3vh, 42px);
  }
  #rental-renewal .rental-hero-image {
    /* Preserve the entire illustration, including the device. */
    object-fit: contain;
    object-position: right center;
  }
  #rental-renewal .rental-hero-copy,
  #rental-renewal .rental-hero-details {
    width: 52%;
    max-width: 560px;
    flex-shrink: 0;
  }
  #rental-renewal .rental-hero h1 {
    font-size: clamp(18px, 2.3vh, 22px);
    line-height: 1.5;
    margin-bottom: clamp(12px, 2vh, 24px);
  }
  #rental-renewal .rental-hero-heading {
    font-size: clamp(36px, 5.6vh, 60px);
    line-height: 1.3;
    margin-bottom: clamp(12px, 1.8vh, 20px);
  }
  #rental-renewal .rental-hero-lead {
    font-size: clamp(18px, 2.5vh, 24px);
    line-height: 1.5;
    margin-bottom: clamp(12px, 1.8vh, 20px);
  }
  #rental-renewal .rental-hero-details > p {
    font-size: clamp(15px, 2vh, 18px);
    line-height: 1.65;
    margin-bottom: 0;
  }
  #rental-renewal .rental-hero .rental-actions {
    margin-top: clamp(12px, 2vh, 22px);
    gap: 12px;
  }
  #rental-renewal .rental-hero .rental-btn {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 15px;
    line-height: 1.5;
  }
}

/* Short laptop windows: reduce vertical space before reducing readability. */
@media (min-width: 992px) and (max-height: 720px) {
  #rental-renewal .rental-hero-layout {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  #rental-renewal .rental-hero h1 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  #rental-renewal .rental-hero h1 .rental-pc-break { display: none; }
  #rental-renewal .rental-hero-heading {
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  #rental-renewal .rental-hero-lead {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  #rental-renewal .rental-hero-details > p { font-size: 15px; line-height: 1.6; }
  #rental-renewal .rental-hero .rental-actions { margin-top: 12px; gap: 10px; }
}

/* Very short PC windows: place the two hero buttons beside each other. */
@media (min-width: 992px) and (max-height: 560px) {
  #rental-renewal .rental-hero .rental-actions {
    flex-direction: row;
    align-items: stretch;
  }
  #rental-renewal .rental-hero .rental-actions .rental-btn {
    width: auto;
    flex: 1 1 0;
    padding: 10px 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Responsive picture wrapper: load after rental-renewal.css. */
#rental-renewal .rental-hero-picture { display: block; }
#rental-renewal .rental-hero-picture .rental-hero-image {
  position: static;
  display: block;
  inset: auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
@media (min-width: 992px) {
  #rental-renewal .rental-hero-picture {
    position: absolute;
    inset: 0;
  }
  #rental-renewal .rental-hero-picture .rental-hero-image {
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
}
@media (max-width: 991.98px) {
  #rental-renewal .rental-hero-layout.container {
    padding-left: 20px;
    padding-right: 20px;
  }
  #rental-renewal .rental-hero-picture {
    position: static;
    width: calc(100% + 40px);
    max-width: none;
    margin: 15px -20px 24px;
  }
  #rental-renewal .rental-hero-picture .rental-hero-image {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }
}
