/* v0.68 — Hero con imagen más ancha y degradado real; banner recomendado más alto en agenda. */

@media (min-width: 980px) {
  .page-events .editorial-feature-events {
    position: relative;
    display: block;
    min-height: 405px;
    overflow: hidden;
    padding: 1.35rem;
    background: #fff;
  }

  /* Se elimina el overlay global anterior y se lleva el degradado directamente al contenedor de imagen. */
  .page-events .editorial-feature-events::after {
    display: none;
  }

  .page-events .editorial-feature-events .editorial-feature-copy {
    position: relative;
    z-index: 2;
    width: min(52%, 610px);
    min-height: 355px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: .08rem 0 0;
  }

  .page-events .editorial-feature-events .editorial-feature-copy > p:not(.eyebrow) {
    max-width: 520px;
  }

  .page-events .editorial-feature-events .editorial-feature-media {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(58%, 540px); /* ~35% más ancho que el contenedor previo */
    min-width: 460px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 26px 26px 0;
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 35%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 16%,
      rgba(255,255,255,.86) 40%,
      rgba(255,255,255,.48) 68%,
      rgba(255,255,255,0) 100%);
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0 26px 26px 0;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.14);
    transform-origin: right center;
  }

  .page-events .editorial-feature-events .button {
    width: auto !important;
    min-width: 0;
    max-width: 218px;
    align-self: flex-start;
    margin-top: auto;
    padding: .66rem 1rem;
    border-radius: 13px;
    font-size: .86rem;
    line-height: 1;
  }

  /* Banner recomendado con más altura real, para acercarlo al alto solicitado. */
  .page-events .agenda-side-panel-event {
    min-height: 735px !important;
    height: 735px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-copy {
    min-height: 735px;
    height: 100%;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-body {
    padding: 1.02rem 1rem 1rem;
  }
}

@media (max-width: 979px) {
  .page-events .editorial-feature-events .editorial-feature-media {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    border-radius: 22px;
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 28%;
    width: 100%;
    z-index: 2;
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.24) 48%,
      rgba(255,255,255,.78) 100%);
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    transform: scale(1.04);
    border-radius: 22px;
  }
}
