.cpmx-mm {
  --cpmx-mm-navy: #06145f;
  --cpmx-mm-blue: #0758c9;
  --cpmx-mm-sky: #1595de;
  --cpmx-mm-ink: #0f172a;
  --cpmx-mm-muted: #5d6d82;
  --cpmx-mm-line: #d3e4f5;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--cpmx-mm-ink);
  font-family: inherit;
}

.cpmx-mm *,
.cpmx-mm *::before,
.cpmx-mm *::after {
  box-sizing: border-box;
}

.cpmx-mm__events {
  display: grid;
  gap: clamp(34px, 5vw, 62px);
}

.cpmx-mm__event {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(7, 88, 201, .16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 96% 0%, rgba(21, 149, 222, .11), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f9fcff 58%, #f1f7ff 100%);
  box-shadow: 0 22px 54px rgba(6, 20, 95, .09);
}

.cpmx-mm__event::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--cpmx-mm-navy), var(--cpmx-mm-blue) 55%, var(--cpmx-mm-sky));
  content: "";
}

.cpmx-mm__event-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 36px;
  margin-bottom: 20px;
}

.cpmx-mm__event-heading {
  min-width: 0;
}

.cpmx-mm__event-eyebrow {
  margin: 0 0 8px;
  color: var(--cpmx-mm-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cpmx-mm__event-title {
  max-width: 900px;
  margin: 0;
  color: var(--cpmx-mm-navy);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.cpmx-mm__event-date {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(7, 88, 201, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--cpmx-mm-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.cpmx-mm__event-date svg {
  width: 17px;
  height: 17px;
  fill: var(--cpmx-mm-blue);
}

.cpmx-mm__event-copy {
  max-width: 980px;
  margin: 0 0 clamp(24px, 3vw, 34px);
  color: var(--cpmx-mm-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.72;
}

.cpmx-mm__event-copy > :first-child {
  margin-top: 0;
}

.cpmx-mm__event-copy > :last-child {
  margin-bottom: 0;
}

.cpmx-mm__event-copy strong,
.cpmx-mm__event-copy b {
  color: var(--cpmx-mm-blue);
  font-weight: 800;
}

.cpmx-mm__event-copy a {
  color: var(--cpmx-mm-blue);
  font-weight: 750;
  text-decoration-color: rgba(21, 149, 222, .5);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cpmx-mm__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(11px, 1.5vw, 18px);
  width: 100%;
}

.cpmx-mm__item {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(7, 88, 201, .18);
  border-radius: 18px;
  background: #eaf4ff;
  box-shadow: 0 10px 24px rgba(6, 20, 95, .1);
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transform: translateY(0);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.cpmx-mm__item:hover,
.cpmx-mm__item:focus-visible {
  border-color: rgba(21, 149, 222, .82);
  box-shadow: 0 17px 34px rgba(6, 20, 95, .18);
  transform: translateY(-4px);
}

.cpmx-mm__item:focus-visible {
  outline: 3px solid rgba(21, 149, 222, .34);
  outline-offset: 4px;
}

.cpmx-mm__media,
.cpmx-mm__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.cpmx-mm__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.cpmx-mm .cpmx-mm__image {
  max-width: none !important;
  margin: 0 !important;
  border: 0;
  border-radius: inherit;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform: scale(1.001);
  transition: filter .35s ease, transform .45s ease;
}

.cpmx-mm__item:hover .cpmx-mm__image,
.cpmx-mm__item:focus-visible .cpmx-mm__image {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.055);
}

.cpmx-mm__overlay {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  inset: 0;
  padding: clamp(17px, 2.1vw, 25px);
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(2, 8, 34, .04) 15%, rgba(3, 12, 47, .18) 46%, rgba(3, 11, 42, .9) 100%),
    linear-gradient(90deg, rgba(6, 20, 95, .25), transparent 70%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

.cpmx-mm__overlay strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .4);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cpmx-mm__overlay span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 650;
}

.cpmx-mm__item:hover .cpmx-mm__overlay,
.cpmx-mm__item:focus-visible .cpmx-mm__overlay {
  opacity: 1;
  transform: translateY(0);
}

.cpmx-mm__expand {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 12px;
  background: rgba(6, 20, 95, .66);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  color: #ffffff;
  font-size: 22px;
  font-weight: 300;
  opacity: 0;
  place-items: center;
  transform: scale(.8);
  transition: background-color .25s ease, opacity .25s ease, transform .25s ease;
}

.cpmx-mm__item:hover .cpmx-mm__expand,
.cpmx-mm__item:focus-visible .cpmx-mm__expand {
  background: rgba(21, 149, 222, .92);
  opacity: 1;
  transform: scale(1);
}

.cpmx-mm__no-images,
.cpmx-mm__empty {
  border: 1px dashed rgba(7, 88, 201, .26);
  border-radius: 18px;
  background: rgba(238, 247, 255, .76);
  color: var(--cpmx-mm-muted);
  line-height: 1.6;
  text-align: center;
}

.cpmx-mm__no-images {
  margin: 0;
  padding: 28px 20px;
}

.cpmx-mm__empty {
  display: grid;
  min-height: 260px;
  padding: 42px 22px;
  place-content: center;
}

.cpmx-mm__empty strong {
  color: var(--cpmx-mm-navy);
  font-size: clamp(21px, 3vw, 31px);
}

.cpmx-mm__empty span {
  margin-top: 8px;
}

.cpmx-mm__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: clamp(34px, 5vw, 58px) 0 0;
}

.cpmx-mm__page {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(7, 88, 201, .2);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(6, 20, 95, .08);
  color: var(--cpmx-mm-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  place-items: center;
  text-decoration: none !important;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.cpmx-mm__page:hover,
.cpmx-mm__page:focus-visible,
.cpmx-mm__page.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cpmx-mm-navy), var(--cpmx-mm-blue) 58%, var(--cpmx-mm-sky));
  color: #ffffff;
}

.cpmx-mm__page:hover,
.cpmx-mm__page:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.cpmx-mm__page--arrow {
  font-size: 25px;
  font-weight: 500;
}

.cpmx-mm__page-dots {
  color: var(--cpmx-mm-muted);
  font-weight: 800;
}

.cpmx-mm__screen-reader {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.cpmx-mm-viewer-open {
  overflow: hidden !important;
}

.cpmx-mm-viewer {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, .88);
  color: #ffffff;
  font-family: inherit;
}

.cpmx-mm-viewer,
.cpmx-mm-viewer *,
.cpmx-mm-viewer *::before,
.cpmx-mm-viewer *::after {
  box-sizing: border-box;
}

.cpmx-mm-viewer button,
.cpmx-mm-viewer a {
  font-family: inherit;
}

.cpmx-mm-viewer [hidden] {
  display: none !important;
}

.cpmx-mm-viewer.is-open {
  display: block;
}

.cpmx-mm-viewer__shell {
  position: relative;
  width: 100%;
  height: 100%;
}

.cpmx-mm-viewer__toolbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 8px 16px;
  background: rgba(3, 7, 18, .84);
}

.cpmx-mm-viewer__count {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.cpmx-mm-viewer__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cpmx-mm-viewer__actions button,
.cpmx-mm-viewer__actions a,
.cpmx-mm-viewer__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

.cpmx-mm-viewer__actions button,
.cpmx-mm-viewer__actions a {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: transparent;
  transition: background .2s ease, transform .2s ease;
}

.cpmx-mm-viewer__actions button:hover,
.cpmx-mm-viewer__actions button:focus-visible,
.cpmx-mm-viewer__actions a:hover,
.cpmx-mm-viewer__actions a:focus-visible {
  background: rgba(255, 255, 255, .12);
  outline: none;
  transform: translateY(-1px);
}

.cpmx-mm-viewer__actions svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.cpmx-mm-viewer__stage {
  position: absolute;
  inset: 50px 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 72px;
}

.cpmx-mm-viewer__viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.cpmx-mm-viewer__viewport img {
  display: block;
  width: auto;
  max-width: min(100%, 1380px);
  height: auto;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  cursor: grab;
  transform: translate(0, 0) scale(1);
  transform-origin: center center;
  transition: transform .16s ease;
  touch-action: none;
  user-select: none;
}

.cpmx-mm-viewer__viewport img.is-dragging {
  cursor: grabbing;
  transition: none;
}

.cpmx-mm-viewer__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(3, 7, 18, .48);
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.cpmx-mm-viewer__nav:hover,
.cpmx-mm-viewer__nav:focus-visible {
  background: rgba(1, 27, 114, .86);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.cpmx-mm-viewer__nav svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.cpmx-mm-viewer__nav--prev {
  left: 18px;
}

.cpmx-mm-viewer__nav--next {
  right: 18px;
}

.cpmx-mm-viewer__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  min-height: 48px;
  padding: 12px 18px;
  background: rgba(3, 7, 18, .78);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.cpmx-mm-viewer__caption strong {
  display: inline;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.cpmx-mm-viewer__caption span {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.cpmx-mm-viewer__caption span::before {
  content: " - ";
}

.cpmx-mm-viewer__status {
  position: absolute;
  top: 62px;
  left: 50%;
  z-index: 5;
  margin: 0;
  padding: 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: #011b72;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity .2s ease, transform .2s ease;
}

.cpmx-mm-viewer__status.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1024px) {
  .cpmx-mm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpmx-mm-viewer__stage {
    padding: 20px 58px;
  }
}

@media (max-width: 680px) {
  .cpmx-mm__events {
    gap: 28px;
  }

  .cpmx-mm__event {
    padding: 26px 15px 18px;
    border-radius: 20px;
  }

  .cpmx-mm__event-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .cpmx-mm__event-date {
    white-space: normal;
  }

  .cpmx-mm__event-title {
    font-size: 29px;
  }

  .cpmx-mm__event-copy {
    font-size: 16px;
  }

  .cpmx-mm__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .cpmx-mm__item {
    border-radius: 15px;
  }

  .cpmx-mm__overlay {
    padding: 18px;
  }

  .cpmx-mm__overlay strong {
    font-size: 20px;
  }

  .cpmx-mm-viewer__toolbar {
    padding: 8px 10px;
  }

  .cpmx-mm-viewer__actions {
    gap: 2px;
  }

  .cpmx-mm-viewer__actions button,
  .cpmx-mm-viewer__actions a {
    width: 32px;
    height: 32px;
  }

  .cpmx-mm-viewer__stage {
    inset: 50px 0 58px;
    padding: 18px 14px;
  }

  .cpmx-mm-viewer__viewport {
    padding: 0;
  }

  .cpmx-mm-viewer__nav {
    top: auto;
    bottom: 72px;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .cpmx-mm-viewer__nav:hover,
  .cpmx-mm-viewer__nav:focus-visible {
    transform: scale(1.04);
  }

  .cpmx-mm-viewer__nav--prev {
    left: 14px;
  }

  .cpmx-mm-viewer__nav--next {
    right: 14px;
  }

  .cpmx-mm-viewer__caption {
    min-height: 58px;
    padding: 11px 58px;
    font-size: 12px;
  }

  .cpmx-mm-viewer__status {
    top: 62px;
  }
}

@media (hover: none) {
  .cpmx-mm__overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .cpmx-mm__expand {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cpmx-mm__item,
  .cpmx-mm__image,
  .cpmx-mm__overlay,
  .cpmx-mm__expand,
  .cpmx-mm-viewer__actions button,
  .cpmx-mm-viewer__actions a,
  .cpmx-mm-viewer__nav,
  .cpmx-mm-viewer__viewport img,
  .cpmx-mm-viewer__status {
    transition-duration: .01ms !important;
  }
}
