/* DELTA GROOMING — full Alice portraits on phones.
   Keep the first slide in normal flow to set the real portrait height.
   The second slide overlays it; both retain the existing 30s fade cycle.
   Desktop styles are untouched. */
@media screen and (max-width: 760px) {
  html body #education .education-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  html body #education .education-cover.delta-education-slider {
    position: relative !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #f8f3f6 !important;
  }

  html body #education .education-cover.delta-education-slider > img.delta-education-slide-first {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  html body #education .education-cover.delta-education-slider > img.delta-education-slide-second {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  html body #education .education-cover::after {
    display: none !important;
  }

  html body #education .education-text {
    width: 100% !important;
    padding: 16px !important;
  }
}
