/* ============================================
   MUSEO RAYO - EVENTOS REDISEÑO PREMIUM
   Shortcode: [mrhp_eventos]
   ============================================ */

:root {
  --mrev-black: #000000;
  --mrev-white: #ffffff;
  --mrev-gray: #909595;
  --mrev-soft: #f4f0e8;
  --mrev-line: rgba(0, 0, 0, 0.1);
  --mrev-line-invert: rgba(255, 255, 255, 0.16);
  --mrev-primary-font: 'Bank Gothic', 'Arial Black', sans-serif;
  --mrev-body-font: 'Futura Medium', Arial, sans-serif;
  --mrev-ease: 280ms ease;
}

.mrhp-eventos{
    padding-top: 0 !important;
}

.mrhp-eventos {
  background: var(--mrev-soft);
  color: var(--mrev-black);
  font-family: var(--mrev-body-font);
  overflow: hidden;
  padding-top: 0;
  margin: 0;
}

.mrhp-eventos main {
  margin: 0;
}

.mrev-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.mrev-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mrev-gray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.mrev-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.mrev-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(144, 149, 149, 0.22), transparent 28%),
    linear-gradient(135deg, var(--mrev-black) 0%, #151515 58%, var(--mrev-soft) 58.2%, var(--mrev-soft) 100%);
}

.mrev-hero::before,
.mrev-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(45deg);
}

.mrev-hero::before {
  width: 340px;
  height: 340px;
  right: 8%;
  top: 90px;
}

.mrev-hero::after {
  width: 190px;
  height: 190px;
  right: 25%;
  bottom: 70px;
  border-color: rgba(0, 0, 0, 0.12);
}

.mrev-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}

.mrev-hero-copy {
  color: var(--mrev-white);
  max-width: 640px;
}

.mrev-hero-copy h1 {
  font-size: clamp(42px, 5.4vw, 78px);
  margin-top: 20px;
  max-width: 680px;
  line-height: .94;
}

.mrev-section-head h2,
.mrev-experience-panel h2,
.mrev-cta h2 {
  font-family: var(--mrev-primary-font);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}

.mrev-hero-copy h1 {
  font-size: clamp(44px, 7.6vw, 104px);
  margin-top: 22px;
  max-width: 900px;
}

.mrev-hero-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.85;
  margin: 28px 0 0;
  max-width: 690px;
}

.mrev-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.mrev-btn {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-family: var(--mrev-primary-font);
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.13em;
  min-height: 50px;
  padding: 15px 26px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform var(--mrev-ease), background var(--mrev-ease), color var(--mrev-ease), border-color var(--mrev-ease);
}

.mrev-btn:hover {
  transform: translateY(-2px);
}

.mrev-btn-dark {
  background: var(--mrev-black);
  color: var(--mrev-white);
  border-color: var(--mrev-black);
}

.mrev-btn-dark:hover {
  background: var(--mrev-gray);
  border-color: var(--mrev-gray);
}

.mrev-hero .mrev-btn-dark {
  background: var(--mrev-white);
  color: var(--mrev-black);
  border-color: var(--mrev-white);
}

.mrev-hero .mrev-btn-dark:hover {
  background: transparent;
  color: var(--mrev-white);
}

.mrev-btn-line {
  background: transparent;
  color: inherit;
}

.mrev-hero-card {
  align-self: center;
  min-height: 360px;
  max-width: 420px;
  justify-self: end;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--mrev-black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.mrev-hero-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -70px;
  border: 28px solid rgba(144, 149, 149, 0.28);
  transform: rotate(45deg);
}

.mrev-card-number {
  color: var(--mrev-gray);
  display: block;
  font-family: var(--mrev-primary-font);
  font-size: clamp(44px, 4.6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 24px;
}

.mrev-hero-card h2 {
  font-family: var(--mrev-primary-font);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.08;
  letter-spacing: .015em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.mrev-hero-card p {
  color: rgba(0, 0, 0, 0.74);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.mrev-section {
  padding: 104px 0;
}

.mrev-section-light {
  background: var(--mrev-soft);
}

.mrev-section-dark {
  background: var(--mrev-black);
  color: var(--mrev-white);
  position: relative;
}

.mrev-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.25;
}

.mrev-section-dark > .mrev-wrap {
  position: relative;
  z-index: 1;
}

.mrev-section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.mrev-section-head h2,
.mrev-experience-panel h2,
.mrev-cta h2 {
  font-size: clamp(34px, 5vw, 70px);
  margin-top: 20px;
}

.mrev-section-head p,
.mrev-experience-panel p,
.mrev-cta p {
  color: rgba(0, 0, 0, 0.72);
  font-size: 16px;
  line-height: 1.85;
  margin: 22px 0 0;
}

.mrev-head-invert p {
  color: rgba(255, 255, 255, 0.74);
}

.mrev-agenda-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.mrev-event-card {
  background: var(--mrev-white);
  border: 1px solid var(--mrev-line);
  min-height: 260px;
  padding: 30px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  transition: transform var(--mrev-ease), box-shadow var(--mrev-ease), border-color var(--mrev-ease);
  position: relative;
  overflow: hidden;
}

.mrev-event-card:hover {
  border-color: var(--mrev-black);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.09);
  transform: translateY(-6px);
}

.mrev-featured {
  grid-row: span 2;
  min-height: 542px;
  align-content: end;
  background:
    linear-gradient(145deg, rgba(0,0,0,0.78), rgba(0,0,0,0.12)),
    linear-gradient(135deg, #202020 0%, #8f9494 100%);
  color: var(--mrev-white);
}

.mrev-featured::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  top: -105px;
  border: 36px solid rgba(255,255,255,0.13);
  transform: rotate(45deg);
}

.mrev-datebox {
  border-top: 3px solid currentColor;
  color: var(--mrev-gray);
  padding-top: 14px;
  text-transform: uppercase;
}

.mrev-datebox span,
.mrev-datebox strong {
  display: block;
  font-family: var(--mrev-primary-font);
  line-height: 1;
}

.mrev-datebox span {
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.mrev-datebox strong {
  color: currentColor;
  font-size: 26px;
}

.mrev-event-content {
  position: relative;
  z-index: 1;
}

.mrev-tag {
  color: var(--mrev-gray);
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mrev-event-content h3,
.mrev-program-card h3,
.mrev-mini-cards h3 {
  font-family: var(--mrev-primary-font);
  font-weight: 900;
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
}

.mrev-event-content h3 {
  font-size: clamp(22px, 2.6vw, 38px);
}

.mrev-event-content p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 15px;
  line-height: 1.75;
  margin: 18px 0 0;
}

.mrev-featured .mrev-event-content p {
  color: rgba(255,255,255,0.78);
  max-width: 560px;
}

.mrev-featured .mrev-datebox,
.mrev-featured .mrev-tag {
  color: rgba(255,255,255,0.72);
}

.mrev-link {
  color: inherit;
  display: inline-block;
  font-family: var(--mrev-primary-font);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-top: 28px;
  text-decoration: none;
  text-transform: uppercase;
}

.mrev-link::after {
  content: " →";
}

.mrev-program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mrev-program-card {
  border: 1px solid var(--mrev-line-invert);
  background: rgba(255, 255, 255, 0.04);
  min-height: 330px;
  padding: 30px;
  transition: background var(--mrev-ease), transform var(--mrev-ease), border-color var(--mrev-ease);
}

.mrev-program-card:hover {
  background: var(--mrev-white);
  border-color: var(--mrev-white);
  color: var(--mrev-black);
  transform: translateY(-6px);
}

.mrev-program-card span {
  color: var(--mrev-gray);
  display: block;
  font-family: var(--mrev-primary-font);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 82px;
}

.mrev-program-card h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.mrev-program-card p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.mrev-program-card:hover p {
  color: rgba(0,0,0,0.72);
}

.mrev-experience {
  background: var(--mrev-soft);
  padding: 96px 0;
}

.mrev-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: stretch;
}

.mrev-experience-panel {
  background: var(--mrev-white);
  border: 1px solid var(--mrev-line);
  padding: clamp(34px, 5vw, 64px);
}

.mrev-mini-cards {
  display: grid;
  gap: 18px;
}

.mrev-mini-cards article {
  background: var(--mrev-black);
  border: 1px solid var(--mrev-black);
  color: var(--mrev-white);
  min-height: 150px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.mrev-mini-cards article::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  right: -28px;
  top: -28px;
  border: 12px solid rgba(255,255,255,0.14);
  transform: rotate(45deg);
}

.mrev-mini-cards h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.mrev-mini-cards p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.mrev-cta {
  background: var(--mrev-white);
  padding: 100px 0;
}

.mrev-cta-box {
  border: 1px solid var(--mrev-line);
  padding: clamp(34px, 6vw, 76px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mrev-cta-box::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

.mrev-cta-box > * {
  position: relative;
  z-index: 1;
}

.mrev-cta .mrev-kicker {
  justify-content: center;
}

.mrev-cta .mrev-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.mrev-cta .mrev-hero-actions {
  justify-content: center;
}

@media (max-width: 1024px) {
  .mrev-hero {
    background: var(--mrev-black);
  }

  .mrev-hero-grid,
  .mrev-experience-grid {
    grid-template-columns: 1fr;
  }

  .mrev-hero-card {
    min-height: 320px;
  }

  .mrev-agenda-grid {
    grid-template-columns: 1fr;
  }

  .mrev-featured {
    grid-row: auto;
    min-height: 430px;
  }

  .mrev-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mrhp-eventos {
    padding-top: 0;
  }

  .mrev-wrap {
    width: calc(100% - 30px);
  }

  .mrev-hero-grid {
    gap: 32px;
    padding: 68px 0;
  }

  .mrev-hero-copy h1 {
    font-size: 42px;
  }

  .mrev-section {
    padding: 72px 0;
  }

  .mrev-section-head {
    margin-bottom: 36px;
  }

  .mrev-section-head h2,
  .mrev-experience-panel h2,
  .mrev-cta h2 {
    font-size: 34px;
  }

  .mrev-event-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .mrev-featured {
    min-height: auto;
  }

  .mrev-program-grid {
    grid-template-columns: 1fr;
  }

  .mrev-program-card {
    min-height: 250px;
  }

  .mrev-program-card span {
    margin-bottom: 48px;
  }

  .mrev-hero-actions,
  .mrev-cta .mrev-hero-actions {
    flex-direction: column;
  }

  .mrev-btn {
    width: 100%;
  }
}

/* Versión más refinada */

.mrev-agenda-grid .mrev-event-card:nth-child(2) .mrev-event-content h3,
.mrev-agenda-grid .mrev-event-card:nth-child(3) .mrev-event-content h3 {
  font-size: 28px;
  line-height: 1.05;
  max-width: 250px;
  letter-spacing: 0.01em;
}