/* Fondos por dispositivo; contenido alineado con el contenedor de la página. */
.academic-masters-hero { padding: 0; background: var(--navy); }
.academic-masters-banner { background-position: center; background-size: cover; background-repeat: no-repeat; }
.academic-masters-copy { min-width: 0; }
.academic-masters-copy > p:not(.bv-eyebrow) { max-width: 62ch; color: #ddd1e5; font-size: 21px; }
.academic-masters-portrait {
  min-width: 0;
  background: var(--academic-portrait, url('../img/banners/maestrias-mujer.png?v=1')) right bottom / contain no-repeat;
}
@media (max-width: 767px) {
  .academic-masters-banner { background-image: url('../img/banners/maestrias-fondo-movil.svg?v=1'); }
  .academic-masters-copy { padding: 32px 0 24px; }
  .academic-masters-banner h1 { max-width: none; margin: 12px 0; font-size: clamp(32px, 8.7vw, 44px); }
  .academic-masters-banner .academic-masters-copy > p:not(.bv-eyebrow) { font-size: 17px; line-height: 1.5; }
  .academic-masters-banner .academic-masters-actions { gap: 12px 20px; margin: 20px 0 0; }
  .academic-masters-portrait { height: clamp(240px, 70vw, 360px); max-width: 400px; margin-inline: auto; background-position: center bottom; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .academic-masters-banner { background-image: url('../img/banners/maestrias-fondo-tablet.svg?v=1'); }
  .academic-masters-banner > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 24px;
    min-height: clamp(480px, 64vw, 640px);
  }
  .academic-masters-copy { align-self: center; padding: 36px 0; }
  .academic-masters-banner h1 { max-width: none; margin: 14px 0; font-size: clamp(32px, 4.15vw, 42px); }
  .academic-masters-banner .academic-masters-copy > p:not(.bv-eyebrow) { font-size: 18px; line-height: 1.5; }
  .academic-masters-banner .academic-masters-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin: 24px 0 0; }
}
@media (min-width: 1024px) {
  .academic-masters-hero { padding: 0; background: var(--navy); }
  .academic-masters-banner {
    background: url('../img/banners/maestrias-fondo.svg?v=1') center / cover no-repeat;
  }
  .academic-masters-banner > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(24px, 3vw, 48px);
    min-height: clamp(440px, 36vw, 540px);
  }
  .academic-masters-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(32px, 4vw, 64px) 0;
  }
  .academic-masters-portrait {
    display: block;
    min-width: 0;
    background: var(--academic-portrait, url('../img/banners/maestrias-mujer.png?v=1')) right bottom / contain no-repeat;
  }
  .academic-masters-banner h1 {
    max-width: none;
    margin: 16px 0;
    font-size: clamp(34px, 3.4vw, 56px);
    text-wrap: initial;
  }
  .academic-masters-banner .academic-masters-copy > p:not(.bv-eyebrow) {
    max-width: 52ch;
    font-size: clamp(16px, 1.15vw, 22px);
    line-height: 1.5;
  }
  .academic-masters-banner .academic-masters-actions { gap: 24px; margin: 24px 0 0; }
}
