/* v4.3.17: Desktop visual overlap without content collisions.
   Keep the booking panel in normal flow so it reserves its own height;
   make the photograph and its dark text overlay end above the panel.
   This exposes a subtle card overhang and removes the large empty strip. */
@media (min-width: 1101px) {
  .dpa40-course .dpa40-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 440px !important;
    align-items: start !important;
    justify-content: stretch !important;
    height: auto !important;
    max-height: none !important;
    min-height: 540px !important;
  }
  .dpa40-course .dpa40-photo {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 82px !important;
    left: 0 !important;
    height: auto !important;
    max-height: none !important;
  }
  .dpa40-course .dpa40-hero-copy {
    position: absolute !important;
    top: 0 !important;
    bottom: 82px !important;
    height: auto !important;
    max-height: none !important;
  }
  .dpa40-course .dpa40-hero > .dpa40-booking {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    justify-self: end !important;
    flex: none !important;
    order: initial !important;
    width: 400px !important;
    max-width: calc(100% - 20px) !important;
    margin: 20px 20px 0 0 !important;
    float: none !important;
    transform: none !important;
  }
  .dpa40-course .dpa40-content {
    padding-top: 22px;
  }
}
@media (min-width: 1101px) and (max-width: 1320px) {
  .dpa40-course .dpa40-hero {
    grid-template-columns: minmax(0, 1fr) 400px !important;
  }
  .dpa40-course .dpa40-hero > .dpa40-booking {
    width: 360px !important;
  }
}
