:root {
  --mf-raffles-ink: #11131b;
  --mf-raffles-paper: #ffffff;
  --mf-raffles-soft: #f2f4f7;
  --mf-raffles-line: #c9ced8;
  --mf-raffles-brand: #6734ff;
  --mf-raffles-brass: #a16207;
  --mf-raffles-green: #16574f;
}

.mf-raffles *,
.mf-raffles *::before,
.mf-raffles *::after,
.mf-home-venue *,
.mf-home-venue *::before,
.mf-home-venue *::after {
  box-sizing: border-box;
}

.mf-raffles a,
.mf-raffles button,
.mf-home-venue a {
  letter-spacing: 0;
}

#main.mf-raffles {
  padding-top: 0 !important;
  color: var(--mf-raffles-ink);
  background: var(--mf-raffles-paper);
}

.mf-raffles__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.mf-raffles__hero {
  position: relative;
  display: flex;
  min-height: min(720px, 78vh);
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background: #171722;
}

.mf-raffles__hero-media,
.mf-home-venue__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-raffles__hero::after,
.mf-home-venue::after {
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 20, 0.58);
  content: "";
}

.mf-raffles__hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 68px;
}

.mf-raffles__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 92px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.mf-raffles__breadcrumb a {
  color: #ffffff !important;
  text-underline-offset: 4px;
}

.mf-raffles__eyebrow,
.mf-home-venue__eyebrow {
  margin: 0 0 14px;
  color: #f6d38b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.mf-raffles__hero h1 {
  max-width: 880px;
  margin: 0;
  color: #ffffff;
  font-size: 76px;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.mf-raffles__hero-summary {
  max-width: 700px;
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.54);
}

.mf-raffles__hero-actions,
.mf-raffles__intro-actions,
.mf-home-venue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.mf-raffles__action,
.mf-home-venue__action {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mf-raffles-brand);
  border-radius: 4px;
  color: #ffffff !important;
  background: var(--mf-raffles-brand);
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mf-raffles__action--secondary,
.mf-home-venue__action--secondary {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(17, 19, 27, 0.68);
}

.mf-raffles__action:hover,
.mf-raffles__action:focus-visible,
.mf-home-venue__action:hover,
.mf-home-venue__action:focus-visible {
  border-color: #ffffff;
  color: var(--mf-raffles-ink) !important;
  background: #ffffff;
  outline: none;
}

.mf-raffles__intro {
  padding: 74px 0;
  background: var(--mf-raffles-paper);
}

.mf-raffles__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: start;
}

.mf-raffles__intro h2,
.mf-raffles__gallery-header h2,
.mf-raffles__films h2 {
  margin: 0;
  color: var(--mf-raffles-ink);
  font-size: 46px;
  line-height: 1.08;
}

.mf-raffles__intro-copy > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #4a4f5d;
  font-size: 19px;
  line-height: 1.65;
}

.mf-raffles__intro-actions .mf-raffles__action--secondary {
  border-color: var(--mf-raffles-ink);
  color: var(--mf-raffles-ink) !important;
  background: transparent;
}

.mf-raffles__facts {
  margin: 0;
  border-top: 3px solid var(--mf-raffles-brass);
}

.mf-raffles__fact {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--mf-raffles-line);
}

.mf-raffles__fact dt {
  color: #555b69;
  font-weight: 700;
}

.mf-raffles__fact dd {
  margin: 0;
  color: var(--mf-raffles-ink);
  font-weight: 800;
}

.mf-raffles__featured {
  padding: 0 0 82px;
  background: var(--mf-raffles-paper);
}

.mf-raffles__featured-grid {
  display: grid;
  min-height: 590px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 12px;
}

.mf-raffles__featured-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #dfe3ea;
}

.mf-raffles__featured-item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.mf-raffles__featured-item:nth-child(2),
.mf-raffles__featured-item:nth-child(3) {
  grid-column: span 5;
}

.mf-raffles__featured-item:nth-child(n + 4) {
  display: none;
}

.mf-raffles__featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.mf-raffles__featured-item:hover img {
  transform: scale(1.02);
}

.mf-raffles__featured-item figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 9px 11px;
  border-radius: 3px;
  color: #ffffff;
  background: rgba(17, 19, 27, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.mf-raffles__gallery {
  padding: 78px 0 90px;
  background: var(--mf-raffles-soft);
}

.mf-raffles__gallery-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
}

.mf-raffles__gallery-header p {
  margin: 0;
  color: #505665;
  font-size: 17px;
  line-height: 1.6;
}

.mf-raffles__filters {
  display: flex;
  margin: 34px 0 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.mf-raffles__filter {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #747b8a;
  border-radius: 4px;
  color: var(--mf-raffles-ink);
  background: #ffffff;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mf-raffles__filter[aria-pressed="true"],
.mf-raffles__filter:hover,
.mf-raffles__filter:focus-visible {
  border-color: var(--mf-raffles-brand);
  color: #ffffff;
  background: var(--mf-raffles-brand);
  outline: none;
}

.mf-raffles__gallery-status {
  margin: 0 0 18px;
  color: #555b69;
  font-size: 14px;
}

.mf-raffles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mf-raffles__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--mf-raffles-line);
  border-radius: 4px;
  background: #ffffff;
}

.mf-raffles__media[hidden] {
  display: none;
}

.mf-raffles__media-button {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0;
  padding: 0;
  border: 0;
  line-height: 0;
  background: #dfe3ea;
  cursor: zoom-in;
}

.mf-raffles__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.mf-raffles__media-button:hover img,
.mf-raffles__media-button:focus-visible img {
  transform: scale(1.025);
}

.mf-raffles__media-button:focus-visible {
  outline: 3px solid var(--mf-raffles-brand);
  outline-offset: -3px;
}

.mf-raffles__media figcaption {
  min-height: 58px;
  padding: 13px 14px;
  color: #2e3340;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.mf-raffles__films {
  padding: 78px 0 92px;
  color: #ffffff;
  background: #11131b;
}

.mf-raffles__films h2 {
  color: #ffffff;
}

.mf-raffles__films-intro {
  max-width: 680px;
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.mf-raffles__video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mf-raffles__video {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.mf-raffles__video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.mf-raffles__video figcaption {
  padding: 14px 0 18px;
  color: #ffffff;
  font-weight: 750;
}

.mf-raffles__dialog {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: #11131b;
}

.mf-raffles__dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
}

.mf-raffles__dialog-frame {
  display: grid;
  min-height: 70vh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.mf-raffles__dialog-bar {
  display: flex;
  min-height: 54px;
  padding: 8px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mf-raffles__dialog-bar button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.mf-raffles__dialog-bar button:hover,
.mf-raffles__dialog-bar button:focus-visible {
  color: #11131b;
  background: #ffffff;
  outline: none;
}

.mf-raffles__dialog img {
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #090a0f;
}

.mf-raffles__dialog-caption {
  margin: 0;
  padding: 14px 18px 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.mf-home-venue {
  position: relative;
  display: flex;
  width: 100vw;
  min-height: 500px;
  margin-left: calc(50% - 50vw);
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background: #171722;
}

.mf-home-venue__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 70px;
}

.mf-home-venue h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.54);
}

.mf-home-venue__summary {
  max-width: 720px;
  margin: 20px 0 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.58);
}

@media (max-width: 900px) {
  .mf-raffles__intro-grid,
  .mf-raffles__gallery-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .mf-raffles__featured-grid {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  .mf-raffles__inner,
  .mf-raffles__hero-copy,
  .mf-home-venue__inner {
    width: min(100% - 32px, 1180px);
  }

  .mf-raffles__hero {
    min-height: 620px;
  }

  .mf-raffles__hero-copy {
    padding: 52px 0 44px;
  }

  .mf-raffles__breadcrumb {
    margin-bottom: 70px;
  }

  .mf-raffles__hero h1 {
    font-size: 48px;
  }

  .mf-raffles__hero-summary {
    font-size: 18px;
  }

  .mf-raffles__intro,
  .mf-raffles__gallery,
  .mf-raffles__films {
    padding: 56px 0 64px;
  }

  .mf-raffles__intro h2,
  .mf-raffles__gallery-header h2,
  .mf-raffles__films h2 {
    font-size: 36px;
  }

  .mf-raffles__fact {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .mf-raffles__featured-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 240px);
  }

  .mf-raffles__featured-item:nth-child(1),
  .mf-raffles__featured-item:nth-child(2),
  .mf-raffles__featured-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .mf-raffles__grid,
  .mf-raffles__video-grid {
    grid-template-columns: 1fr;
  }

  .mf-raffles__filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .mf-raffles__filter {
    width: 100%;
    padding-inline: 8px;
    font-size: 14px;
  }

  .mf-home-venue {
    min-height: 560px;
  }

  .mf-home-venue h2 {
    font-size: 42px;
  }

  .mf-home-venue__summary {
    font-size: 18px;
  }

  .mf-raffles__hero-actions,
  .mf-home-venue__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mf-raffles__action,
  .mf-home-venue__action,
  .mf-raffles__filter,
  .mf-raffles__featured-item img,
  .mf-raffles__media img {
    transition: none;
  }

  .mf-raffles__featured-item:hover img,
  .mf-raffles__media-button:hover img,
  .mf-raffles__media-button:focus-visible img {
    transform: none;
  }
}
