/* Mantiene el recorte lateral de los enlaces inclinados y permite bajar al último. */
@media (min-width: 768px) {
  .live-mas-live-nav {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 767px) {
  /* Webflow añade el atributo al abrir y conserva el control de la animación. */
  .live-mas-live-nav .nav-menu[data-nav-menu-open] {
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

.live-mas-live-nav .custom_link:focus-visible {
  outline: 3px solid #7124b4;
  outline-offset: -6px;
  background-color: #fff;
  color: #7124b4;
  text-decoration: underline;
}

.live-mas-live-nav .w-nav-button:focus-visible,
.live-mas-live-nav .w-nav-brand:focus-visible {
  outline: 3px solid #7124b4;
  outline-offset: -3px;
}

.live-mas-live-nav .w-nav-button.w--open:focus-visible,
.live-mas-live-nav .w-nav-brand:not(.mobile_brand):focus-visible {
  outline-color: #fff;
}

.live-mas-live-page .custom_link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.live-mas-live-page .live-mas-live-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5000;
  transform: translateY(calc(-100% - 16px));
  padding: 10px 14px;
  background: #fff;
  color: #7124b4;
}

.live-mas-live-page .live-mas-live-skip:focus {
  transform: none;
  outline: 3px solid #7124b4;
}

.live-mas-live-page .live-mas-live-shell {
  margin-top: 0;
  overflow: visible; /* El índice sigue el scroll de la página. */
}

.live-mas-live-page .live-mas-live-main {
  --live-mas-live-gutter: clamp(1rem, 4vw, 4rem);
  --live-mas-live-anchor-offset: 1.5rem;
  background: #fff;
  color: #222;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.live-mas-live-page .live-mas-live-main:focus-visible {
  outline: 3px solid #7124b4;
  outline-offset: -3px;
}

.live-mas-live-page .live-mas-live-header-inner,
.live-mas-live-page .live-mas-live-layout {
  max-width: calc(72rem + 2 * var(--live-mas-live-gutter));
  margin-inline: auto;
  padding-inline: var(--live-mas-live-gutter);
}

.live-mas-live-page .live-mas-live-header {
  --live-mas-live-diagonal: clamp(1.25rem, 4vw, 4.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.75rem, 7vw, 7rem) calc(clamp(2rem, 4vw, 3.5rem) + var(--live-mas-live-diagonal));
  background: linear-gradient(110deg, #7124b4 15%, #491179 100%);
  color: #fff;
}

.live-mas-live-page .live-mas-live-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 40%;
  background: linear-gradient(122deg, transparent 28%, rgb(255 255 255 / 8%) 28% 52%, transparent 52% 60%, rgb(255 255 255 / 5%) 60% 73%, transparent 73%);
}

.live-mas-live-page .live-mas-live-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: var(--live-mas-live-diagonal);
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.live-mas-live-page .live-mas-live-campaign {
  margin: 0 0 clamp(1.25rem, 3vw, 2.25rem);
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(2.875rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 1.04;
}

.live-mas-live-page .live-mas-live-header h1 {
  margin: 0 0 0.625rem;
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(1.25rem, 2.3vw, 1.875rem);
  line-height: 1.2;
}

.live-mas-live-page .live-mas-live-subtitle {
  max-width: 50ch;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.375rem);
  font-weight: 600;
  line-height: 1.5;
}

.live-mas-live-page .live-mas-live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(1.5rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem);
}

.live-mas-live-page .live-mas-live-index,
.live-mas-live-page .live-mas-live-content {
  width: 100%;
  max-width: 70ch;
  min-width: 0;
}

.live-mas-live-page .live-mas-live-index {
  border-inline-start: 4px solid #7124b4;
  padding: 0.875rem 1rem;
  background: #f7f2fb;
}

.live-mas-live-page .live-mas-live-index p {
  margin: 0 0 0.375rem;
  font-family: Oswald, Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}

.live-mas-live-page .live-mas-live-index ol {
  margin: 0;
  padding-inline-start: 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.live-mas-live-page .live-mas-live-index a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: #491179;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.live-mas-live-page .live-mas-live-index a:hover {
  color: #222;
}

.live-mas-live-page .live-mas-live-index a:focus-visible,
.live-mas-live-page .live-mas-live-section h2:focus-visible {
  outline: 2px solid #7124b4;
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  .live-mas-live-page .live-mas-live-layout {
    grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  }
}

@media (min-width: 1024px) and (min-height: 640px) {
  .live-mas-live-page .live-mas-live-index {
    position: sticky;
    top: 1.5rem;
  }
}

.live-mas-live-page .live-mas-live-section + .live-mas-live-section {
  margin-top: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2.75rem);
  border-top: 1px solid #e4dce9;
}

.live-mas-live-page .live-mas-live-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 0 0.875rem;
  scroll-margin-top: var(--live-mas-live-anchor-offset);
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.25;
}

.live-mas-live-page .live-mas-live-number {
  flex: 0 0 auto;
  padding: 0.125em 0.45em;
  background: #7124b4;
  color: #fff;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.live-mas-live-page .live-mas-live-section p,
.live-mas-live-page .live-mas-live-section ol,
.live-mas-live-page .live-mas-live-section ul {
  margin: 0 0 0.875rem;
}

.live-mas-live-page .live-mas-live-section > :last-child {
  margin-bottom: 0;
}

.live-mas-live-page .live-mas-live-section ol,
.live-mas-live-page .live-mas-live-section ul {
  padding-inline-start: clamp(1.5rem, 3vw, 2rem);
}

.live-mas-live-page .live-mas-live-section li::marker,
.live-mas-live-page .live-mas-live-index li::marker {
  color: #7124b4;
  font-weight: 700;
}

.live-mas-live-page .live-mas-live-section li + li {
  margin-top: 8px;
}

.live-mas-live-page .footer_text a {
  color: #fff;
}

.live-mas-live-page .row_footer a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .live-mas-live-page .live-mas-live-shell {
    margin-top: 72px;
  }

  .live-mas-live-page .live-mas-live-main {
    --live-mas-live-anchor-offset: calc(72px + 1rem);
    scroll-margin-top: 72px;
  }

  .live-mas-live-page .menu-button {
    border: 0;
    background: transparent;
  }

  .live-mas-live-page .menu-button span {
    display: block;
  }

  .live-mas-live-page .menu-button .icon {
    display: none;
  }
}
