/* Horarios: composición funcional de pantalla completa para los bloques
 * Gutenberg, manteniendo las tablas como contenido editable. */
body.page-id-221088 {
  --schedule-navy: #102536;
  --schedule-deep: #08141c;
  --schedule-paper: #ecebe6;
  --schedule-copy: #c7cfcb;
  --schedule-line: rgba(246, 245, 240, .2);
  --schedule-accent: var(--fya-orange);
  background: var(--schedule-navy);
}

body.page-id-221088 :is(.alfa-menu-hero--schedule, .alfa-menu-intro, .alfa-menu-panel, .alfa-menu-cta, .alfa-schedule-details),
body.page-id-221088 :is(.alfa-menu-hero--schedule, .alfa-menu-intro, .alfa-menu-panel, .alfa-menu-cta, .alfa-schedule-details) * {
  box-sizing: border-box;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.page-id-221088 :is(.alfa-menu-hero--schedule, .alfa-menu-intro, .alfa-menu-panel, .alfa-menu-cta, .alfa-schedule-details) {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

body.page-id-221088 :is(.alfa-menu-intro, .alfa-menu-panel, .alfa-menu-cta, .alfa-schedule-details) h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--fya-white) !important;
  font-family: "Inter Tight", var(--fya-font) !important;
  font-size: clamp(3rem, 6vw, 6.45rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.075em;
  line-height: .87 !important;
  text-transform: uppercase;
  text-wrap: balance;
}

body.page-id-221088 :is(.alfa-menu-eyebrow, .alfa-schedule-details__eyebrow) {
  margin: 0 0 1.25rem !important;
  color: var(--schedule-accent) !important;
  font-family: var(--fya-font) !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  letter-spacing: .2em;
  line-height: 1.25 !important;
  text-transform: uppercase;
}

/* Hero ------------------------------------------------------------------ */
body.page-id-221088 .forjando-migrated-section.alfa-menu-hero--schedule {
  display: flex !important;
  min-height: 100svh !important;
  padding: clamp(8rem, 13vw, 12rem) max(24px, calc((100vw - 1240px) / 2)) clamp(5rem, 8vw, 8rem) !important;
  align-items: flex-end;
  color: var(--fya-white);
  background: radial-gradient(circle at 83% 22%, rgba(255, 122, 22, .26), transparent 0 19%), radial-gradient(circle at 75% 70%, rgba(99, 233, 181, .1), transparent 0 25%), linear-gradient(116deg, #071720 0%, #071016 54%, #15110d 100%) !important;
}
body.page-id-221088 .alfa-menu-hero--schedule::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .45;
  background-image: linear-gradient(90deg, transparent 0 49.8%, rgba(246, 245, 240, .12) 50%, transparent 50.2%);
  background-size: clamp(10rem, 14vw, 16rem) 100%;
  content: "";
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}
body.page-id-221088 .alfa-menu-hero--schedule::after {
  position: absolute;
  z-index: -1;
  right: clamp(-10rem, -5vw, -2rem);
  bottom: clamp(-11rem, -8vw, -3rem);
  width: min(43vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(246, 245, 240, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(246, 245, 240, .025), 0 0 0 8rem rgba(246, 245, 240, .02);
  content: "";
}
body.page-id-221088 .alfa-menu-hero--schedule .alfa-menu-hero__row {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
body.page-id-221088 .alfa-menu-hero--schedule h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--fya-white) !important;
  font-family: "Inter Tight", var(--fya-font) !important;
  font-size: clamp(3.45rem, 6.7vw, 7.2rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.085em;
  line-height: .82 !important;
  text-transform: uppercase;
  text-wrap: balance;
}
body.page-id-221088 .alfa-menu-hero--schedule .alfa-menu-hero__copy {
  max-width: 37rem;
  margin: clamp(1.7rem, 3vw, 2.55rem) 0 !important;
  color: rgba(246, 245, 240, .8) !important;
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  line-height: 1.55 !important;
}

/* Intro ----------------------------------------------------------------- */
body.page-id-221088 .forjando-migrated-section.alfa-menu-intro {
  display: flex !important;
  min-height: 100svh !important;
  padding: clamp(5rem, 9vw, 9rem) max(24px, calc((100vw - 1240px) / 2)) !important;
  justify-content: center;
  background: var(--schedule-paper) !important;
}
body.page-id-221088 .alfa-menu-intro .alfa-menu-intro__row {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  align-items: center !important;
  gap: clamp(3rem, 9vw, 11rem) !important;
}
body.page-id-221088 .alfa-menu-intro :is(h2, .alfa-menu-copy) { color: var(--schedule-navy) !important; }
body.page-id-221088 .alfa-menu-intro .alfa-menu-rule {
  width: 3.5rem;
  height: .28rem;
  margin: 0 0 1.5rem !important;
  background: var(--schedule-accent);
}
body.page-id-221088 .alfa-menu-intro .alfa-menu-copy {
  max-width: 35rem;
  margin: 0 0 1.2rem auto !important;
  color: rgba(16, 37, 54, .72) !important;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem) !important;
  line-height: 1.58 !important;
}

/* Practical explanation ------------------------------------------------- */
body.page-id-221088 .alfa-schedule-details {
  display: flex;
  min-height: 100svh;
  padding: clamp(5rem, 9vw, 9rem) max(24px, calc((100vw - 1240px) / 2));
  flex-direction: column;
  justify-content: center;
  color: var(--fya-white);
  background: linear-gradient(95deg, rgba(5, 18, 27, .95), rgba(5, 18, 27, .72) 59%, rgba(5, 18, 27, .42)), url('/wp-content/uploads/2026/07/Club-Alfa-Madrid-Escuela-de-entrenamiento-y-gimnasio-39.webp') center / cover no-repeat !important;
}
body.page-id-221088 .alfa-schedule-details__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
body.page-id-221088 .alfa-schedule-details__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, .5fr);
  gap: clamp(2rem, 8vw, 10rem);
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--schedule-line);
}
body.page-id-221088 .alfa-schedule-details__eyebrow { grid-column: 1 / -1; }
body.page-id-221088 .alfa-schedule-details h2 {
  max-width: none !important;
  overflow: visible !important;
  text-wrap: wrap;
}
body.page-id-221088 .alfa-schedule-details__lead { align-self: end; }
body.page-id-221088 .alfa-schedule-details__lead p,
body.page-id-221088 .alfa-schedule-details__note {
  margin: 0;
  color: var(--schedule-copy) !important;
  font-size: clamp(1rem, 1.3vw, 1.16rem) !important;
  line-height: 1.55 !important;
}
body.page-id-221088 .alfa-schedule-details__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
body.page-id-221088 .alfa-schedule-details__item {
  min-height: 16rem;
  padding: clamp(1.45rem, 2.8vw, 2.6rem);
  border: 1px solid var(--schedule-line);
  border-radius: 14px;
  background: rgba(8, 22, 32, .58);
  backdrop-filter: blur(8px);
}
body.page-id-221088 .alfa-schedule-details__item span {
  display: block;
  margin-bottom: clamp(2.2rem, 4vw, 4rem);
  color: var(--schedule-accent);
  font-family: "Inter Tight", var(--fya-font);
  font-size: clamp(3.1rem, 5.3vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .8;
}
body.page-id-221088 .alfa-schedule-details h3 {
  margin: 0 0 .75rem;
  color: var(--fya-white) !important;
  font-family: "Inter Tight", var(--fya-font);
  font-size: clamp(1.3rem, 1.8vw, 1.85rem) !important;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .94;
}
body.page-id-221088 .alfa-schedule-details__item p {
  margin: 0;
  color: var(--schedule-copy) !important;
  font-size: .96rem !important;
  line-height: 1.5 !important;
}
body.page-id-221088 .alfa-schedule-details__note {
  max-width: 52rem;
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--schedule-accent);
}

/* Morning and afternoon tables ----------------------------------------- */
body.page-id-221088 .forjando-migrated-section.alfa-menu-panel {
  display: flex !important;
  min-height: 100svh !important;
  padding: clamp(5rem, 9vw, 9rem) max(24px, calc((100vw - 1240px) / 2)) !important;
  justify-content: center;
  background: #0b1210 !important;
}
body.page-id-221088 .alfa-menu-panel .forjando-migrated-row {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
body.page-id-221088 .alfa-menu-panel .alfa-menu-rule {
  width: 3.5rem;
  height: .28rem;
  margin: 0 0 1.5rem !important;
  background: var(--schedule-accent);
}
body.page-id-221088 .alfa-menu-panel .alfa-menu-title { margin: 0 0 clamp(2.25rem, 4vw, 4rem) !important; }
body.page-id-221088 .alfa-menu-panel h2.alfa-menu-title::before {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--schedule-accent);
  content: "GRUPOS DE FUERZA";
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.2;
}
body.page-id-221088 .alfa-schedule-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
body.page-id-221088 .alfa-schedule-tables__group {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  border: 1px solid var(--schedule-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24, 48, 62, .92), rgba(11, 23, 29, .92));
}
body.page-id-221088 .alfa-schedule-tables__group header {
  display: flex;
  margin-bottom: 1.3rem;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
body.page-id-221088 .alfa-schedule-tables__group header p {
  margin: 0;
  color: var(--schedule-accent) !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .13em;
  line-height: 1.2 !important;
}
body.page-id-221088 .alfa-schedule-tables__group h3 {
  margin: 0;
  color: var(--fya-white) !important;
  font-family: "Inter Tight", var(--fya-font);
  font-size: clamp(1.7rem, 2.6vw, 2.65rem) !important;
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
}
body.page-id-221088 .alfa-schedule-tables__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--schedule-accent) transparent;
}
body.page-id-221088 .alfa-menu-table {
  width: 100% !important;
  min-width: 31rem;
  margin: 0 !important;
  border: 1px solid var(--schedule-line) !important;
  border-collapse: collapse !important;
  background: rgba(7, 18, 24, .58) !important;
  color: var(--fya-white) !important;
  font-size: .89rem !important;
  line-height: 1.2 !important;
  table-layout: fixed;
}
body.page-id-221088 .alfa-menu-table :is(th, td) {
  padding: 1rem .65rem !important;
  border: 1px solid var(--schedule-line) !important;
  color: var(--schedule-copy) !important;
  font-weight: 500 !important;
  text-align: center !important;
  vertical-align: middle !important;
}
body.page-id-221088 .alfa-menu-table th {
  background: rgba(255, 122, 22, .14) !important;
  color: var(--fya-white) !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  letter-spacing: .13em;
  text-transform: uppercase;
}
body.page-id-221088 .alfa-menu-table :is(th, td):first-child {
  width: 13%;
  color: var(--schedule-accent) !important;
  font-weight: 900 !important;
}

/* CTA ------------------------------------------------------------------- */
body.page-id-221088 .forjando-migrated-section.alfa-menu-cta {
  display: flex !important;
  min-height: 100svh !important;
  padding: clamp(5rem, 9vw, 9rem) max(24px, calc((100vw - 1240px) / 2)) !important;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 43%, rgba(255, 122, 22, .24), transparent 0 28%), #102536 !important;
}
body.page-id-221088 .alfa-menu-cta .forjando-migrated-row {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--schedule-line);
}
body.page-id-221088 .alfa-menu-cta h2 { margin-inline: auto; }
body.page-id-221088 .alfa-menu-cta .alfa-menu-copy {
  max-width: 32rem;
  margin: 1.6rem auto 2.1rem !important;
  color: var(--schedule-copy) !important;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem) !important;
  line-height: 1.55 !important;
}

body.page-id-221088 :is(.alfa-menu-hero--schedule, .alfa-menu-cta) .wp-block-button__link {
  min-width: 12.7rem;
  padding: 1.05rem 1.3rem !important;
  border: 1px solid var(--schedule-accent) !important;
  border-radius: 0 !important;
  background: var(--schedule-accent) !important;
  color: var(--schedule-navy) !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  letter-spacing: .12em;
  line-height: 1 !important;
  transition: transform .2s ease, background-color .2s ease;
}
body.page-id-221088 :is(.alfa-menu-hero--schedule, .alfa-menu-cta) .wp-block-button__link:hover {
  background: var(--fya-white) !important;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  body.page-id-221088 .entry-content > :is(.alfa-menu-hero--schedule, .alfa-menu-intro, .alfa-menu-panel, .alfa-menu-cta),
  body.page-id-221088 .entry-content > .alfa-schedule-details,
  body.page-id-221088 .entry-content > .wp-block-html .alfa-schedule-details {
    position: sticky !important;
    top: 0;
  }
  body.page-id-221088 .alfa-menu-hero--schedule { z-index: 1; }
  body.page-id-221088 .alfa-menu-intro { z-index: 2; }
  body.page-id-221088 .alfa-schedule-details { z-index: 3; }
  body.page-id-221088 .alfa-menu-panel { z-index: 4; }
  body.page-id-221088 .alfa-menu-cta { z-index: 5; }

  body.page-id-221088.schedule-motion-ready :is(.alfa-menu-intro, .alfa-schedule-details, .alfa-menu-panel, .alfa-menu-cta) :is(.alfa-menu-rule, h2, .alfa-menu-copy, .alfa-schedule-details__eyebrow, .alfa-schedule-details__lead, .alfa-schedule-details__grid, .alfa-schedule-details__note, .alfa-schedule-tables, .wp-block-buttons) {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .68s cubic-bezier(.2, .8, .2, 1), transform .68s cubic-bezier(.2, .8, .2, 1);
  }
  body.page-id-221088.schedule-motion-ready .is-schedule-visible :is(.alfa-menu-rule, h2, .alfa-menu-copy, .alfa-schedule-details__eyebrow, .alfa-schedule-details__lead, .alfa-schedule-details__grid, .alfa-schedule-details__note, .alfa-schedule-tables, .wp-block-buttons) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  body.page-id-221088 .alfa-menu-intro .alfa-menu-intro__row,
  body.page-id-221088 .alfa-schedule-details__heading { display: grid !important; grid-template-columns: 1fr !important; }
  body.page-id-221088 .alfa-menu-intro .alfa-menu-copy { margin-left: 0 !important; }
  body.page-id-221088 .alfa-schedule-details__grid { grid-template-columns: 1fr; }
  body.page-id-221088 .alfa-schedule-tables { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body.page-id-221088 .forjando-migrated-section.alfa-menu-hero--schedule { min-height: 100svh !important; padding-top: 8rem !important; }
  body.page-id-221088 .alfa-menu-hero--schedule h1,
  body.page-id-221088 :is(.alfa-menu-intro, .alfa-menu-panel, .alfa-menu-cta, .alfa-schedule-details) h2 { font-size: clamp(2.7rem, 12vw, 4.7rem) !important; }
  body.page-id-221088 :is(.forjando-migrated-section.alfa-menu-intro, .forjando-migrated-section.alfa-menu-panel, .forjando-migrated-section.alfa-menu-cta, .alfa-schedule-details) { min-height: auto !important; padding: 5rem 24px !important; }
  body.page-id-221088 .alfa-schedule-details__item { min-height: 0; }
  body.page-id-221088 :is(.alfa-menu-hero--schedule, .alfa-menu-cta) .wp-block-button,
  body.page-id-221088 :is(.alfa-menu-hero--schedule, .alfa-menu-cta) .wp-block-button__link { display: flex; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-221088.schedule-motion-ready :is(.alfa-menu-intro, .alfa-schedule-details, .alfa-menu-panel, .alfa-menu-cta) :is(.alfa-menu-rule, h2, p, .alfa-schedule-details__grid, .alfa-schedule-tables, .wp-block-buttons) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
