:root {
  --event-ink: #06233a;
  --event-blue: #0579b5;
  --event-cyan: #1fb8d1;
  --event-yellow: #ffd400;
  --event-coral: #ff8c66;
  --event-mint: #9be8c4;
  --event-muted: #607489;
  --event-line: rgba(6, 35, 58, 0.12);
}

html {
  overflow-x: hidden;
}

body.muttas-events-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--event-ink);
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 44%, #f6fbff 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Manrope", Arial, sans-serif;
}

.muttas-events-page .site-footer.footer-redesign {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  border-radius: 0;
}

.event-container {
  width: min(1760px, calc(100% - clamp(32px, 4vw, 80px)));
  margin: 0 auto;
}

.events-hero {
  position: relative;
  min-height: clamp(560px, 66vh, 720px);
  padding: clamp(152px, 13vw, 220px) 0 clamp(64px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 212, 0, 0.7), transparent 14%),
    radial-gradient(circle at 92% 72%, rgba(31, 184, 209, 0.54), transparent 22%),
    radial-gradient(circle at 12% 76%, rgba(255, 140, 102, 0.35), transparent 22%),
    linear-gradient(120deg, #fff8de 0%, #edfaff 48%, #e9fff5 100%);
}

.events-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42) 54%, rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(90deg, rgba(6, 35, 58, 0.055) 0 1px, transparent 1px 94px);
}

.events-hero::after {
  content: "";
  position: absolute;
  right: -18vw;
  top: 18%;
  width: clamp(520px, 48vw, 900px);
  height: clamp(520px, 48vw, 900px);
  border-radius: 50%;
  z-index: -2;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(31, 184, 209, 0.15) 46%, transparent 67%);
  filter: blur(1px);
  pointer-events: none;
}

.events-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 6vw, 110px);
  z-index: 1;
}

.events-hero-copy {
  max-width: 850px;
}

.event-kicker {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #214a86;
  font-size: clamp(15px, 1vw, 20px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-kicker::before {
  content: "";
  width: clamp(54px, 5vw, 86px);
  height: 5px;
  border-radius: 999px;
  background: var(--event-yellow);
  box-shadow: 0 10px 30px rgba(255, 212, 0, 0.38);
}

.events-hero h1 {
  margin: 26px 0 22px;
  color: var(--event-ink);
  font-size: clamp(64px, 8vw, 126px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

.events-hero p {
  max-width: 760px;
  margin: 0;
  color: #34556f;
  font-size: clamp(19px, 1.45vw, 28px);
  line-height: 1.55;
  font-weight: 800;
}

.event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(34px, 4vw, 54px);
}

.event-button {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 18px 0 28px;
  border-radius: 18px;
  color: var(--event-ink);
  background: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 24px 54px rgba(6, 35, 58, 0.12);
}

.event-button span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--event-yellow);
}

.event-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.events-hero-stage {
  position: relative;
  min-height: clamp(450px, 38vw, 640px);
  isolation: isolate;
}

.event-poster-strip {
  position: absolute;
  inset: 0 -4% 0 0;
  display: block;
  transform: none;
  perspective: 1200px;
  pointer-events: auto;
}

.event-poster-strip::before {
  content: "";
  position: absolute;
  inset: 12% 4% 10% 12%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 38%, rgba(255, 206, 0, 0.24), transparent 22%),
    radial-gradient(circle at 70% 58%, rgba(23, 166, 205, 0.26), transparent 32%),
    rgba(255, 255, 255, 0.06);
  filter: blur(24px);
  opacity: 0.86;
  z-index: 0;
  pointer-events: none;
}

.event-poster-strip img {
  position: absolute;
  width: clamp(128px, 13vw, 224px);
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: clamp(20px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 90px rgba(6, 35, 58, 0.24), 0 10px 26px rgba(6, 35, 58, 0.14);
  transform-origin: center;
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
  will-change: transform;
}

.event-poster-strip img:nth-child(1) {
  left: 7%;
  top: 9%;
  opacity: 0.24;
  filter: blur(2.4px) saturate(0.85);
  z-index: 1;
  transform: rotate(-13deg) scale(0.82);
}

.event-poster-strip img:nth-child(2) {
  left: 34%;
  top: 1%;
  opacity: 0.3;
  filter: blur(2px) saturate(0.9);
  z-index: 2;
  transform: rotate(9deg) scale(0.86);
}

.event-poster-strip img:nth-child(3) {
  left: 61%;
  top: 10%;
  opacity: 0.28;
  filter: blur(2.2px) saturate(0.86);
  z-index: 1;
  transform: rotate(14deg) scale(0.8);
}

.event-poster-strip img:nth-child(4) {
  left: 19%;
  top: 22%;
  opacity: 0.54;
  filter: blur(1.1px) saturate(0.98);
  z-index: 4;
  transform: rotate(7deg) scale(0.98);
}

.event-poster-strip img:nth-child(5) {
  left: 48%;
  top: 21%;
  opacity: 0.62;
  filter: blur(0.8px) saturate(1.02);
  z-index: 5;
  transform: rotate(-8deg) scale(1.02);
}

.event-poster-strip img:nth-child(6) {
  left: 71%;
  top: 28%;
  opacity: 0.5;
  filter: blur(1.2px) saturate(0.96);
  z-index: 4;
  transform: rotate(10deg) scale(0.94);
}

.event-poster-strip img:nth-child(7) {
  left: 8%;
  top: 48%;
  opacity: 0.9;
  filter: saturate(1.04);
  z-index: 7;
  transform: rotate(-7deg) scale(1.08);
}

.event-poster-strip img:nth-child(8) {
  left: 38%;
  top: 44%;
  opacity: 1;
  filter: saturate(1.08);
  z-index: 9;
  transform: rotate(4deg) scale(1.16);
}

.event-poster-strip img:nth-child(9) {
  left: 66%;
  top: 51%;
  opacity: 0.88;
  filter: saturate(1.04);
  z-index: 8;
  transform: rotate(-5deg) scale(1.06);
}

.event-poster-strip:hover img:nth-child(n + 7) {
  box-shadow: 0 42px 110px rgba(6, 35, 58, 0.32), 0 16px 34px rgba(6, 35, 58, 0.18);
}

.event-poster-strip:hover img:nth-child(7) {
  transform: rotate(-7deg) scale(1.12) translateY(-4px);
}

.event-poster-strip:hover img:nth-child(8) {
  transform: rotate(4deg) scale(1.2) translateY(-5px);
}

.event-poster-strip:hover img:nth-child(9) {
  transform: rotate(-5deg) scale(1.1) translateY(-4px);
}

.event-orbit {
  position: absolute;
  inset: 12% 0 6% 10%;
  border-radius: 999px;
  border: 1px solid rgba(6, 35, 58, 0.12);
  transform: rotate(-18deg);
  pointer-events: none;
}

.event-orbit::before,
.event-orbit::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--event-yellow);
  box-shadow: 0 0 0 16px rgba(255, 212, 0, 0.18);
}

.event-orbit::before {
  left: 22%;
  top: 4%;
}

.event-orbit::after {
  right: 13%;
  bottom: 18%;
}

.events-list-section {
  position: relative;
  padding: clamp(76px, 8vw, 124px) 0 clamp(82px, 9vw, 130px);
}

.events-section-head {
  max-width: 980px;
  margin: 0 auto clamp(38px, 5vw, 70px);
  text-align: center;
}

.events-section-line {
  display: inline-block;
  width: clamp(58px, 5vw, 92px);
  height: 5px;
  margin: 0 18px 12px;
  border-radius: 999px;
  vertical-align: middle;
  background: var(--event-yellow);
  box-shadow: 0 10px 30px rgba(255, 212, 0, 0.32);
}

.events-section-head .event-kicker {
  justify-content: center;
}

.events-section-head .event-kicker::after {
  content: "";
  width: clamp(54px, 5vw, 86px);
  height: 5px;
  border-radius: 999px;
  background: var(--event-yellow);
  box-shadow: 0 10px 30px rgba(255, 212, 0, 0.38);
}

.events-section-head h2 {
  margin: 18px 0 0;
  color: #214a86;
  font-size: clamp(38px, 4.5vw, 76px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 34px);
}

.event-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(6, 35, 58, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(6, 35, 58, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.event-card[hidden] {
  display: none;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 184, 209, 0.45);
  box-shadow: 0 34px 92px rgba(6, 35, 58, 0.16);
}

.event-media-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  background: #e9f7fc;
}

.event-media-button img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.event-card:hover .event-media-button img {
  transform: scale(1.045);
}

.event-media-button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(6, 35, 58, 0.52));
}

.event-date-chip {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--event-yellow);
  color: var(--event-ink);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(6, 35, 58, 0.18);
}

.event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 2vw, 34px);
}

.event-card h3 {
  margin: 0;
  color: var(--event-ink);
  font-size: clamp(24px, 1.8vw, 34px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.event-meta-list {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.event-meta {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(6, 35, 58, 0.1);
  border-radius: 18px;
  background: rgba(238, 248, 252, 0.64);
}

.event-meta svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-meta-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #0477b7;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(31, 184, 209, 0.2);
}

.event-meta small {
  display: block;
  color: #74879a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--event-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.event-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #046fb0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.event-card-link::after {
  content: "";
  display: block;
  position: absolute;
  left: clamp(24px, 2vw, 34px);
  right: clamp(24px, 2vw, 34px);
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--event-yellow), var(--event-cyan));
  transform: scaleX(0.36);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.event-card:hover .event-card-link::after {
  transform: scaleX(1);
}

.event-arrow {
  display: inline-grid;
  place-items: center;
}

.event-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.events-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: clamp(34px, 4vw, 56px);
}

.events-page-nav,
.events-page-button {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(6, 35, 58, 0.12);
  border-radius: 18px;
  color: var(--event-ink);
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(6, 35, 58, 0.08);
}

.events-page-button[aria-current="page"] {
  border-color: transparent;
  background: var(--event-yellow);
}

.events-page-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.events-page-nav:disabled {
  cursor: default;
  opacity: 0.42;
}

.events-page-status {
  min-width: 82px;
  color: #6a7e91;
  font-weight: 900;
  text-align: center;
}

.event-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
  background: rgba(3, 18, 31, 0.78);
  backdrop-filter: blur(18px);
}

.event-lightbox[hidden] {
  display: none;
}

.event-lightbox-inner {
  position: relative;
  display: inline-grid;
  width: fit-content;
  max-width: calc(100vw - 36px);
  max-height: 92vh;
  overflow: visible;
  place-items: center;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}

.event-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 36px);
  max-height: min(86vh, 820px);
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
}

.event-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  color: var(--event-ink);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(6, 35, 58, 0.18);
}

.event-lightbox-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

@media (max-width: 1180px) {
  .events-hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .events-hero-stage {
    min-height: 360px;
  }

  .event-poster-strip {
    inset: 0 6%;
    opacity: 0.86;
  }

  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .event-container {
    width: min(100% - 28px, 560px);
  }

  .events-hero {
    min-height: auto;
    padding: 142px 0 58px;
  }

  .events-hero h1 {
    font-size: clamp(54px, 17vw, 72px);
  }

  .events-hero p {
    font-size: 18px;
  }

  .event-hero-actions,
  .event-button {
    width: 100%;
  }

  .event-button {
    justify-content: space-between;
  }

  .events-hero-stage {
    display: block;
    min-height: 285px;
    margin-top: 18px;
    overflow: hidden;
  }

  .event-poster-strip {
    inset: 0;
    transform: scale(0.88);
    transform-origin: center top;
  }

  .event-poster-strip::before {
    inset: 14% 5% 8%;
    filter: blur(18px);
    opacity: 0.68;
  }

  .event-poster-strip img {
    width: clamp(92px, 27vw, 124px);
    border-radius: 18px;
  }

  .event-poster-strip img:nth-child(1) {
    left: 3%;
    top: 9%;
  }

  .event-poster-strip img:nth-child(2) {
    left: 32%;
    top: 2%;
  }

  .event-poster-strip img:nth-child(3) {
    left: 62%;
    top: 10%;
  }

  .event-poster-strip img:nth-child(4) {
    left: 15%;
    top: 25%;
  }

  .event-poster-strip img:nth-child(5) {
    left: 45%;
    top: 23%;
  }

  .event-poster-strip img:nth-child(6) {
    left: 68%;
    top: 30%;
  }

  .event-poster-strip img:nth-child(7) {
    left: 4%;
    top: 51%;
  }

  .event-poster-strip img:nth-child(8) {
    left: 34%;
    top: 47%;
  }

  .event-poster-strip img:nth-child(9) {
    left: 64%;
    top: 53%;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .events-section-head h2 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .event-card {
    border-radius: 24px;
  }

  .event-media-button img {
    aspect-ratio: 0.82;
  }

  .events-pagination {
    gap: 8px;
  }

  .events-page-nav,
  .events-page-button {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .events-page-status {
    min-width: 68px;
  }
}
