/* M10D1 - Hero y typewriter de Inicio (ID 777). */
@media (max-width: 768px) {
body.home:is(.page-id-777, .page-id-906) .wp-block-cover.alignfull {
        box-sizing: border-box !important;
        min-height: 100svh !important;
        padding: 96px 20px 48px !important;
    }

body.home:is(.page-id-777, .page-id-906) .wp-block-cover__inner-container {
        width: min(100%, 720px) !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
    }

body.home:is(.page-id-777, .page-id-906) .wp-block-cover__inner-container > p.has-large-font-size {
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        font-size: clamp(32px, 10vw, 48px) !important;
        line-height: 1.12 !important;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

body.home:is(.page-id-777, .page-id-906) .wp-block-cover__video-background {
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        object-fit: cover !important;
    }

}

@media (max-width: 480px) {
body.home:is(.page-id-777, .page-id-906) .wp-block-cover.alignfull {
        padding: 88px 16px 40px !important;
    }

body.home:is(.page-id-777, .page-id-906) .wp-block-cover__inner-container > p.has-large-font-size {
        font-size: clamp(30px, 10vw, 40px) !important;
    }

}

body.home:is(.page-id-777, .page-id-906) .home-hero .home-hero__headline {
  position: relative;
  min-height: 1.15em;
}

body.home:is(.page-id-777, .page-id-906) .home-hero .home-hero__headline.is-home-typewriter-active {
  color: transparent !important;
}

body.home:is(.page-id-777, .page-id-906) .home-hero .home-hero__typewriter {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  text-align: inherit;
  white-space: pre-wrap;
}

body.home:is(.page-id-777, .page-id-906) .home-hero .home-hero__typewriter::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 0.12em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: home-hero-cursor 0.75s steps(1, end) infinite;
}

body.home:is(.page-id-777, .page-id-906) .home-hero .home-hero__typewriter.is-complete::after {
  content: none;
  animation: none;
}

@keyframes home-hero-cursor {
  50% {
    opacity: 0;
  }
}

/* M10D2 - EXPERIENCIA (orden histórico preservado) */
body.home:is(.page-id-777, .page-id-906) .home-experience {
  box-sizing: border-box;
  display: block !important;
  width: 100%;
  max-width: none !important;
  padding: clamp(88px, 9vw, 140px) clamp(20px, 4vw, 64px) clamp(80px, 8vw, 128px);
}
body.home:is(.page-id-777, .page-id-906) .home-experience > .wp-block-group__inner-container {
  display: grid !important;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  column-gap: clamp(48px, 7vw, 112px);
  row-gap: 24px;
  width: min(100%, 1500px) !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__title {
  grid-column: 1;
  grid-row: 1;
  align-self: end !important;
  width: 100% !important;
  margin: 0 !important;
  font-size: clamp(2.35rem, 3.6vw, 4.5rem);
  line-height: 1.08;
  text-wrap: balance;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__line {
  grid-column: 1;
  grid-row: 2;
  align-self: start !important;
  width: 100px !important;
  max-width: 100% !important;
  height: 3px !important;
  margin: 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__body {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: block;
  width: 100% !important;
  margin: 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__body > .wp-block-group__inner-container {
  display: grid;
  gap: clamp(20px, 2vw, 32px);
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__paragraph {
  width: 100%;
  margin: 0 !important;
  color: #3f3936;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.75;
  text-align: left !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: center;
  width: min(100%, 1160px);
  margin: clamp(56px, 6vw, 88px) auto 0 !important;
  padding: 48px 0 0;
  color: #a85e48;
  font-size: clamp(1.2rem, 1.65vw, 1.7rem);
  line-height: 1.55;
  text-align: center !important;
  text-wrap: balance;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 32px;
  background: #a85e48;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  body.home:is(.page-id-777, .page-id-906) .home-experience {
    padding: 72px 20px 80px;
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience > .wp-block-group__inner-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__title,
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__line,
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__body,
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight {
    grid-column: 1;
    grid-row: auto;
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__title {
    font-size: clamp(2.15rem, 8vw, 3.5rem);
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__body {
    margin-top: 16px !important;
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight {
    margin-top: 40px !important;
    padding-top: 40px;
  }
}
@media (max-width: 480px) {
  body.home:is(.page-id-777, .page-id-906) .home-experience {
    padding: 64px 20px 72px;
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__paragraph {
    font-size: 1rem;
    line-height: 1.7;
  }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight {
    font-size: 1.15rem;
    line-height: 1.55;
  }
}
body.home:is(.page-id-777, .page-id-906) .home-experience > .wp-block-group__inner-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 64px);
    row-gap: 0;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__title {
    grid-area: auto / 1 / auto / -1;
    align-self: start !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__line {
    grid-area: auto / 1 / auto / -1;
    margin: clamp(18px, 2vw, 28px) 0 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__body,
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__body > .wp-block-group__inner-container {
    display: contents !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__paragraph,
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight {
    grid-area: auto;
    align-self: start;
    justify-self: stretch;
    width: auto !important;
    margin: clamp(32px, 3vw, 48px) 0 0 !important;
    padding: 0 !important;
    color: #3f3936;
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    font-weight: 400;
    line-height: 1.75;
    text-align: left !important;
    text-wrap: wrap;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight::before {
    content: none;
    display: none;
}
@media (max-width: 900px) {
  body.home:is(.page-id-777, .page-id-906) .home-experience > .wp-block-group__inner-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
  body.home:is(.page-id-777, .page-id-906) .home-experience > .wp-block-group__inner-container {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }
  body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__highlight {
        grid-column: auto;
    }
}

/* M10D3 - EJES COMPARTIDOS DE INICIO */
body.home:is(.page-id-777, .page-id-906) {
  --home-section-title-gutter: max(clamp(20px, 4vw, 64px), calc((100% - 1500px) / 2));
}
body.home:is(.page-id-777, .page-id-906) .home-values {
  padding-inline: var(--home-section-title-gutter);
}
body.home:is(.page-id-777, .page-id-906) .tajetaspadre {
  --home-section-title-gutter: max(clamp(20px, 4vw, 64px), calc((100% - 1500px + 30px) / 2));
}
body.home:is(.page-id-777, .page-id-906) .tajetaspadre > .t2,
body.home:is(.page-id-777, .page-id-906) .wp-custom-css-2b92c373 > .t2,
body.home:is(.page-id-777, .page-id-906) .tajetaspadre > .barra_titulo,
body.home:is(.page-id-777, .page-id-906) .wp-custom-css-2b92c373 > .barra_titulo {
  margin-left: var(--home-section-title-gutter) !important;
}

/* M10D4 - VALORES Y LINEAS DECORATIVAS SCOPED */
body.home:is(.page-id-777, .page-id-906) .barrapila {
    width: 100px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
body.home:is(.page-id-777, .page-id-906) .barrapila img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(20px, 4vw, 64px);
}
body.home:is(.page-id-777, .page-id-906) .home-values > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner {
  box-sizing: border-box;
  width: min(100%, 1500px) !important;
  max-width: 1500px !important;
  margin-inline: auto !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container > .t2 {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container > .barra_titulo {
  margin-right: auto !important;
  margin-left: 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container > .seccion-valores-ajedrez {
  width: 100% !important;
  max-width: none !important;
  padding-inline: 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .seccion-valores-ajedrez > .wp-block-group > p,
body.home:is(.page-id-777, .page-id-906) .home-values .seccion-valores-ajedrez > .wp-block-group > p > span,
body.home:is(.page-id-777, .page-id-906) .home-values .seccion-valores-ajedrez > .wp-block-group > p > strong,
body.home:is(.page-id-777, .page-id-906) .home-values .seccion-valores-ajedrez > .wp-block-group > p > a {
	font-size: clamp(18px, calc(16px + 0.45vw), 24px) !important;
	line-height: 1.3 !important;
	font-weight: 400 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .seccion-valores-ajedrez > .wp-block-group .wp-block-image {
  width: 45px !important;
  height: 2px !important;
  background: #a85e48 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .seccion-valores-ajedrez > .wp-block-group .wp-block-image img {
  display: none !important;
}
body.home:is(.page-id-777, .page-id-906) .home-values .seccion-valores-ajedrez > .wp-block-group .wp-block-image {
  margin-left: 0 !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__line,
body.home:is(.page-id-777, .page-id-906) .tajetaspadre > .barra_titulo,
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container > .barra_titulo,
body.home:is(.page-id-777, .page-id-906) .wp-custom-css-2b92c373 > .barra_titulo {
  background-color: #a85e48 !important;
  margin-top: clamp(18px, 2vw, 28px) !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__line {
  height: 3px !important;
}
body.home:is(.page-id-777, .page-id-906) .tajetaspadre > .barra_titulo,
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container > .barra_titulo,
body.home:is(.page-id-777, .page-id-906) .wp-custom-css-2b92c373 > .barra_titulo {
  box-sizing: border-box !important;
  width: 100px !important;
  max-width: 100% !important;
  height: 3px !important;
  min-height: 3px !important;
  overflow: hidden !important;
}
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__line > figure,
body.home:is(.page-id-777, .page-id-906) .tajetaspadre > .barra_titulo > figure,
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container > .barra_titulo > figure,
body.home:is(.page-id-777, .page-id-906) .wp-custom-css-2b92c373 > .barra_titulo > figure,
body.home:is(.page-id-777, .page-id-906) .home-experience .home-experience__line img,
body.home:is(.page-id-777, .page-id-906) .tajetaspadre > .barra_titulo img,
body.home:is(.page-id-777, .page-id-906) .home-values .home-values__inner > .wp-block-group__inner-container > .barra_titulo img,
body.home:is(.page-id-777, .page-id-906) .wp-custom-css-2b92c373 > .barra_titulo img {
  display: none !important;
}
