/* Estudio vivo: solo Curso de Teoría Musical. El resto de cursos conserva su diseño. */
body:has(main.eoacs-theory-studio) > .eoacs-nav {
  background: #0c1727;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand strong,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand span,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-links a:not(.btn) {
  color: #fff;
}
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand img {
  filter: grayscale(1) brightness(0) invert(1);
}
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-links .btn {
  color: #fff;
  background: #d84d5d;
  border-color: #d84d5d;
}
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-menu summary span,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-menu summary span::before,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-menu summary span::after {
  background: #fff;
}

main.eoacs-course.eoacs-theory-studio .page-subnav {
  background: #101c2e;
  border: 0;
  box-shadow: none;
}
main.eoacs-course.eoacs-theory-studio .page-subnav a { color: #d9e0e9; }
main.eoacs-course.eoacs-theory-studio .page-subnav a:hover,
main.eoacs-course.eoacs-theory-studio .page-subnav a:focus-visible { color: #fff; }

main.eoacs-course.eoacs-theory-studio .hero.hero-theory {
  padding: clamp(66px, 6vw, 98px) 0 clamp(58px, 6vw, 88px);
  background: #172237;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory::before,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory::after { display: none; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(34px, 4vw, 66px);
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #fa8a97;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 {
  max-width: 680px;
  margin: 22px 0 19px;
  font-size: clamp(3.35rem, 5.1vw, 5.9rem);
  line-height: .97;
  letter-spacing: -.065em;
  text-wrap: balance;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 span:not(.eoacs-theory-sr-only),
main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 em { display: block; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 em {
  color: #f27888;
  font-style: normal;
}
.eoacs-theory-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-promise {
  max-width: 620px;
  margin: 0 0 14px;
  color: #f4f6f9;
  font-size: clamp(1.2rem, 1.65vw, 1.48rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .lead {
  max-width: 540px;
  font-size: 1.04rem;
  line-height: 1.62;
  color: #cbd4e1;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 8px;
  background: #d84d5d;
  border: 1px solid #d84d5d;
  color: #fff;
  box-shadow: 0 12px 25px rgba(5,13,25,.23);
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn.ghost {
  padding-inline: 6px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.5);
  border-radius: 0;
  box-shadow: none;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn:focus-visible,
main.eoacs-course.eoacs-theory-studio .eoacs-theory-play:focus-visible {
  outline: 3px solid #ffbfca;
  outline-offset: 4px;
}

main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-visual::before { display: none; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait {
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 55px rgba(0, 6, 18, .31);
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 57%;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card figcaption {
  padding: 20px 24px 23px;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-badge,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-caption small {
  display: block;
  margin: 0 0 7px;
  color: #c14556;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-copy strong,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-caption strong {
  color: #172237;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.2;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-copy span,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-caption span {
  color: #667181;
  font-size: .91rem;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait { position: relative; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 38%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  color: #172237;
  background: #fff;
  box-shadow: 0 9px 28px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
  cursor: pointer;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #172237;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play:hover {
  background: #f8e8ea;
}
.eoacs-theory-video-dialog {
  width: min(900px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #0b1423;
  color: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}
.eoacs-theory-video-dialog::backdrop { background: rgba(3,8,18,.82); }
.eoacs-theory-video-panel { padding: 13px; }
.eoacs-theory-video-close {
  display: block;
  margin: 0 0 10px auto;
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.eoacs-theory-video-close:hover,
.eoacs-theory-video-close:focus-visible { background: rgba(255,255,255,.15); }
.eoacs-theory-video-frame { aspect-ratio: 16 / 9; background: #000; }
.eoacs-theory-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal-row {
  grid-template-columns: repeat(3, minmax(0,1fr));
  max-width: 550px;
  margin-top: 35px;
  padding-top: 22px;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal { padding: 0 16px; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal strong { font-size: .91rem; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal span { font-size: .8rem; }

main.eoacs-course.eoacs-theory-studio .eoacs-theory-method {
  padding: clamp(38px, 5vw, 70px) 0;
  background: #fff;
  color: #172237;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(30px, 4vw, 65px);
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-label {
  display: block;
  margin-bottom: 15px;
  color: #c14556;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method h2 {
  max-width: 630px;
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method p {
  margin: 0;
  color: #637083;
  font-size: .94rem;
  line-height: 1.5;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-step {
  display: grid;
  align-content: start;
  gap: 7px;
  padding-top: 15px;
  border-top: 2px solid #d84d5d;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-number {
  color: #c14556;
  font-size: 1.3rem;
  font-weight: 800;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-step strong {
  font-size: .98rem;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-copy {
  color: #677284;
  font-size: .84rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-grid { gap: 28px; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 { font-size: clamp(2.9rem, 6vw, 4rem); }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-inner { display: block; }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-steps { margin-top: 25px; }
}
@media (max-width: 760px) {
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory { padding: 49px 0 42px; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 {
    max-width: 12ch;
    margin: 18px 0;
    font-size: clamp(2.9rem, 10.6vw, 4.5rem);
    line-height: .99;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-promise {
    font-size: 1.12rem;
    line-height: 1.35;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .lead { font-size: .98rem; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn { width: 100%; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn.ghost {
    width: fit-content;
    justify-self: start;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait {
    margin-top: 27px;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait img {
    aspect-ratio: 16 / 11;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-caption {
    padding: 18px 20px 21px;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play { top: 37%; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal-row {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    margin-top: 26px;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal,
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal:first-child {
    padding: 0 8px;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal:first-child { padding-left: 0; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal strong { font-size: .75rem; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal span { font-size: .72rem; }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method { padding: 39px 0 46px; }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method h2 { font-size: clamp(1.9rem, 7vw, 2.7rem); }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-steps { gap: 10px; }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-step strong { font-size: .85rem; }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-copy { font-size: .74rem; }
}
@media (max-width: 380px) {
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal-row,
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-method-steps { grid-template-columns: 1fr; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal,
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .signal:first-child { padding: 8px 0; border-left: 0; }
}

/* Videos de Teoría: mismo lenguaje visual y reproducción en línea que Lectura. */
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #101820;
  box-shadow: 0 24px 54px rgba(0, 7, 18, .28), 0 7px 18px rgba(0, 7, 18, .12);
  line-height: 1;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card img,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform .35s ease;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card figcaption,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait figcaption { display: none; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play::before,
main.eoacs-course.eoacs-theory-studio #fragmentos .play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(68px, 6.5vw, 82px);
  height: clamp(68px, 6.5vw, 82px);
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 34px rgba(0,0,0,.32);
  transform: translate(-50%,-50%);
  transition: transform .2s ease, box-shadow .2s ease;
  pointer-events: none;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play::after,
main.eoacs-course.eoacs-theory-studio #fragmentos .play-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #1b293e;
  transform: translate(-35%,-50%);
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play:hover,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play:focus-visible { background: transparent; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card:hover img,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait:hover img { transform: scale(1.025); }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play:hover::before,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play:focus-visible::before,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-trigger:hover .play-mark,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-trigger:focus-visible .play-mark {
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
  transform: translate(-50%,-50%) scale(1.06);
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card iframe,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait iframe,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

main.eoacs-course.eoacs-theory-studio #fragmentos .video-showcase {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
  gap: 22px;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-feature,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-mini {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: #24364c;
  box-shadow: 0 16px 34px rgba(2,10,22,.13);
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-frame {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  flex: none;
  overflow: hidden;
  border-radius: 0;
  background: #101820;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-trigger {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #101820;
  cursor: pointer;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-trigger img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: none;
  transition: transform .35s ease;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-trigger:hover img,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-trigger:focus-visible img { transform: scale(1.025); }
main.eoacs-course.eoacs-theory-studio #fragmentos .play-mark { z-index: 1; }
main.eoacs-course.eoacs-theory-studio #fragmentos .video-feature-body,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-mini-body {
  display: block;
  width: 100%;
  height: auto;
  padding: 19px 23px 22px;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-label {
  color: #ff8896;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-feature-body h3,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-mini-body h3 {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(1.12rem,1.45vw,1.35rem);
  line-height: 1.25;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-feature-body p,
main.eoacs-course.eoacs-theory-studio #fragmentos .video-mini-body p {
  margin: 8px 0 0;
  color: #cdd8e5;
  font-size: .88rem;
  line-height: 1.5;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-note {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 19px 23px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  box-shadow: none;
  color: #fff;
}
main.eoacs-course.eoacs-theory-studio #fragmentos .video-note span { color: #cdd8e5; }

@media (max-width: 760px) {
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card,
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait { border-radius: 12px; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play::before,
  main.eoacs-course.eoacs-theory-studio #fragmentos .play-mark { width: 58px; height: 58px; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play::after,
  main.eoacs-course.eoacs-theory-studio #fragmentos .play-mark::before {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 17px;
  }
  main.eoacs-course.eoacs-theory-studio #fragmentos .video-showcase { grid-template-columns: 1fr; gap: 17px; }
  main.eoacs-course.eoacs-theory-studio #fragmentos .video-feature-body,
  main.eoacs-course.eoacs-theory-studio #fragmentos .video-mini-body { padding: 17px 19px 20px; }
  main.eoacs-course.eoacs-theory-studio #fragmentos .video-note {
    display: block;
    padding: 18px 19px;
  }
  main.eoacs-course.eoacs-theory-studio #fragmentos .video-note span { display: block; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card img,
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait img,
  main.eoacs-course.eoacs-theory-studio #fragmentos .video-trigger img,
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eoacs-theory-play::before,
  main.eoacs-course.eoacs-theory-studio #fragmentos .play-mark { transition: none; }
}

/* Primera pantalla: misma jerarquía editorial de Lectura, sin cambiar la ruta en vivo. */
body:has(main.eoacs-theory-studio) > .eoacs-nav {
  background: #f7f4ec;
  color: #1b293a;
  border-bottom: 1px solid #e7e2d9;
}
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand strong,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand span,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-links a:not(.btn) { color: #1b293a; }
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-brand img { filter: none; }
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-menu summary span,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-menu summary span::before,
body:has(main.eoacs-theory-studio) > .eoacs-nav .eoacs-nav-menu summary span::after { background: #1b293a; }

main.eoacs-course.eoacs-theory-studio .page-subnav {
  background: #f7f4ec;
  border-bottom: 1px solid #e7e2d9;
}
main.eoacs-course.eoacs-theory-studio .page-subnav a { color: #3b4754; }
main.eoacs-course.eoacs-theory-studio .page-subnav a:hover,
main.eoacs-course.eoacs-theory-studio .page-subnav a:focus-visible { color: #c33648; }

main.eoacs-course.eoacs-theory-studio .hero.hero-theory {
  padding: clamp(54px, 6vw, 84px) 0;
  background: #f7f4ec;
  color: #1b293a;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-grid {
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  align-items: center;
  gap: clamp(28px, 3vw, 42px);
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .eyebrow {
  color: #c33648;
  letter-spacing: .16em;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 {
  max-width: 650px;
  margin: 19px 0 21px;
  color: #1b293a;
  font-size: clamp(3rem, 5.1vw, 4.75rem);
  line-height: 1.055;
  letter-spacing: -.055em;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 em { color: #d74350; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-promise { display: none; }
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .lead {
  max-width: 490px;
  margin-bottom: 0;
  color: #626b73;
  font-size: clamp(1.06rem, 1.45vw, 1.19rem);
  line-height: 1.55;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions {
  gap: 11px;
  margin-top: 29px;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn {
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #d74350;
  border-color: #d74350;
  box-shadow: 0 13px 25px rgba(215,67,80,.18);
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn.ghost {
  padding: 13px 24px;
  border: 1px solid #dededb;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: #1b293a;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn:hover,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn:focus-visible {
  background: #b72b3b;
  border-color: #b72b3b;
  color: #fff;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn.ghost:hover,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn.ghost:focus-visible {
  background: #f5eeee;
  border-color: #d74350;
  color: #1b293a;
}
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .theory-live-card,
main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait {
  box-shadow: 0 27px 60px rgba(21,32,47,.18), 0 8px 18px rgba(21,32,47,.12);
}

main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip {
  background: #fff;
  border-block: 1px solid #e9e7e2;
  color: #1b293a;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal-row:has(.signal:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 93px;
  padding: 16px 24px;
  text-align: center;
  border: 0;
  border-left: 1px solid #e9e7e2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal:first-child { border-left: 0; }
main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal strong {
  color: #1b293a;
  font-size: .97rem;
  line-height: 1.25;
}
main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal span {
  color: #747c83;
  font-size: .82rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory { padding: 36px 0 34px; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory h1 {
    max-width: 14ch;
    margin: 17px 0;
    font-size: clamp(2.65rem, 10vw, 4.5rem);
    line-height: 1.02;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .lead {
    max-width: 36ch;
    font-size: 1rem;
    line-height: 1.5;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions { margin-top: 24px; }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .hero-actions .btn.ghost {
    width: 100%;
    justify-self: stretch;
  }
  main.eoacs-course.eoacs-theory-studio .hero.hero-theory .mobile-piano-portrait { margin-top: 27px; }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal {
    min-height: 78px;
    padding: 12px 5px;
  }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal-row:has(.signal:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal-row:has(.signal:nth-child(4)) .signal:nth-child(odd) {
    border-left: 0;
  }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal-row:has(.signal:nth-child(4)) .signal:nth-child(n+3) {
    border-top: 1px solid #e9e7e2;
  }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal strong { font-size: .79rem; }
  main.eoacs-course.eoacs-theory-studio .eoacs-theory-benefit-strip .signal span { font-size: .7rem; }
}

/* Perfil, resultados y programa: el resumen orienta; el temario conserva el detalle. */
main.eoacs-course.eoacs-theory-studio #perfil,
main.eoacs-course.eoacs-theory-studio #aprendizaje,
main.eoacs-course.eoacs-theory-studio #temario { padding-block: clamp(58px, 7vw, 88px); }
main.eoacs-course.eoacs-theory-studio #perfil .split-head,
main.eoacs-course.eoacs-theory-studio #temario .split-head { align-items: end; margin-bottom: 28px; }
main.eoacs-course.eoacs-theory-studio #perfil .split-head h2,
main.eoacs-course.eoacs-theory-studio #aprendizaje h2,
main.eoacs-course.eoacs-theory-studio #temario h2 { max-width: 17ch; letter-spacing: -.035em; }
main.eoacs-course.eoacs-theory-studio #perfil .profile-card,
main.eoacs-course.eoacs-theory-studio #perfil .profile-card.dark {
  padding: 26px;
  background: #fbfaf7;
  border-color: #e6e5e1;
}
main.eoacs-course.eoacs-theory-studio #perfil .profile-card:first-child {
  background: #1b293a;
  border-color: #1b293a;
}
main.eoacs-course.eoacs-theory-studio #perfil .profile-card .num { margin-bottom: 14px; }
main.eoacs-course.eoacs-theory-studio #perfil .profile-card h3 { margin-bottom: 8px; }

main.eoacs-course.eoacs-theory-studio #aprendizaje { background: #f7f4ec; }
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-panel {
  display: block;
}
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-copy {
  max-width: 780px;
  margin: 0 0 30px;
  padding: 0;
  background: none;
  box-shadow: none;
  color: #1b293a;
}
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-copy .eyebrow { color: #bd3444; }
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-copy h2 { color: #1b293a; }
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-copy p {
  max-width: 58ch;
  margin-bottom: 0;
  color: #606a73;
}
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 28px;
  border: 1px solid #e6e5e1;
  border-radius: 16px;
  box-shadow: none;
}
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card .eoacs-learning-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: #fceced;
  color: #b93445;
  font-size: .78rem;
}
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card strong { font-size: 1.14rem; line-height: 1.25; }
main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card span { line-height: 1.5; }

main.eoacs-course.eoacs-theory-studio #temario .module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
main.eoacs-course.eoacs-theory-studio #temario .module {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 13px;
  row-gap: 6px;
  align-content: start;
  padding: 22px;
  box-shadow: none;
}
main.eoacs-course.eoacs-theory-studio #temario .module b {
  grid-row: 1 / 3;
  margin: 0;
  font-size: 1.27rem;
  line-height: 1.2;
}
main.eoacs-course.eoacs-theory-studio #temario .module strong { grid-column: 2; line-height: 1.25; }
main.eoacs-course.eoacs-theory-studio #temario .module p {
  grid-column: 2;
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  main.eoacs-course.eoacs-theory-studio #temario .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  main.eoacs-course.eoacs-theory-studio #perfil,
  main.eoacs-course.eoacs-theory-studio #aprendizaje,
  main.eoacs-course.eoacs-theory-studio #temario { padding-block: 52px; }
  main.eoacs-course.eoacs-theory-studio #perfil .split-head,
  main.eoacs-course.eoacs-theory-studio #temario .split-head { display: block; margin-bottom: 22px; }
  main.eoacs-course.eoacs-theory-studio #perfil .split-head h2,
  main.eoacs-course.eoacs-theory-studio #aprendizaje h2,
  main.eoacs-course.eoacs-theory-studio #temario h2 { max-width: none; }
  main.eoacs-course.eoacs-theory-studio #perfil .split-head .lead,
  main.eoacs-course.eoacs-theory-studio #temario .split-head .lead { margin-top: 12px; }
  main.eoacs-course.eoacs-theory-studio #perfil .profile-grid { gap: 9px; }
  main.eoacs-course.eoacs-theory-studio #perfil .profile-card,
  main.eoacs-course.eoacs-theory-studio #perfil .profile-card.dark {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    column-gap: 12px;
    padding: 17px 18px;
  }
  main.eoacs-course.eoacs-theory-studio #perfil .profile-card .num { grid-row: 1 / 3; margin: 1px 0 0; }
  main.eoacs-course.eoacs-theory-studio #perfil .profile-card h3 { margin: 0 0 4px; }
  main.eoacs-course.eoacs-theory-studio #perfil .profile-card p { margin: 0; line-height: 1.45; }
  main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-copy { margin-bottom: 20px; }
  main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-grid { grid-template-columns: 1fr; gap: 9px; }
  main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 3px;
    padding: 18px;
  }
  main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card .eoacs-learning-number { grid-row: 1 / 3; margin: 0; }
  main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card strong,
  main.eoacs-course.eoacs-theory-studio #aprendizaje .learn-card span { grid-column: 2; }
  main.eoacs-course.eoacs-theory-studio #temario .module-grid { grid-template-columns: 1fr; gap: 8px; }
  main.eoacs-course.eoacs-theory-studio #temario .module { padding: 17px; }
}
