:root {
  --mbw-blue: #3957ff;
  --mbw-blue-deep: #2b3376;
  --mbw-cyan: #72e6ff;
  --mbw-ink: #12162e;
  --mbw-muted: #68708a;
  --mbw-line: #dde2f4;
  --mbw-paper: #fff;
  --mbw-soft: #f3f5ff;
  --mbw-radius: 26px;
  --mbw-shadow: 0 22px 60px rgba(34, 48, 116, .13);
}

.mbw-events,
.mbw-event-single,
.mbw-events-empty {
  box-sizing: border-box;
  color: var(--mbw-ink);
  font-family: "Montserrat", "Avenir Next", "Trebuchet MS", sans-serif;
}

.mbw-events *,
.mbw-event-single * {
  box-sizing: border-box;
}

.mbw-events {
  width: min(1240px, calc(100% - 32px));
  margin: 56px auto 72px;
}

.mbw-events[hidden],
.mbw-event-card[hidden] {
  display: none !important;
}

.mbw-events-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  min-height: 310px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(114, 230, 255, .42), transparent 24%),
    linear-gradient(122deg, var(--mbw-blue-deep) 0%, #3144c7 54%, var(--mbw-blue) 100%);
  box-shadow: 0 30px 80px rgba(43, 51, 118, .24);
}

.mbw-events-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: repeating-linear-gradient(128deg, transparent 0 28px, rgba(255, 255, 255, .15) 29px 31px);
}

.mbw-events-hero > div,
.mbw-events-hero > svg {
  position: relative;
  z-index: 1;
}

.mbw-events-hero span,
.mbw-event-single__intro > div > span,
.mbw-event-single__speakers > span,
.mbw-event-single__cta span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mbw-events-hero h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.8vw, 76px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .98;
}

.mbw-events-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.62;
}

.mbw-events-hero svg {
  width: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(255, 255, 255, .8);
  stroke-width: 3;
}

.mbw-events-hero svg circle {
  fill: var(--mbw-cyan);
  stroke: var(--mbw-blue-deep);
  stroke-width: 7;
  filter: drop-shadow(0 12px 18px rgba(3, 16, 68, .24));
}

.mbw-events-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 24px;
  padding: 9px;
  border: 1px solid var(--mbw-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 36px rgba(43, 51, 118, .07);
}

.mbw-events-filters button {
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: var(--mbw-blue-deep);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.mbw-events-filters button:hover,
.mbw-events-filters button:focus-visible {
  color: var(--mbw-blue);
  transform: translateY(-1px);
}

.mbw-events-filters button.is-active {
  color: #fff;
  background: var(--mbw-blue);
  box-shadow: 0 9px 20px rgba(57, 87, 255, .24);
}

.mbw-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mbw-event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--mbw-line);
  border-radius: var(--mbw-radius);
  background: var(--mbw-paper);
  box-shadow: var(--mbw-shadow);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

.mbw-event-card::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -80px;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 87, 255, .12), rgba(57, 87, 255, 0) 70%);
}

.mbw-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 74px rgba(34, 48, 116, .18);
}

.mbw-event-card__top {
  display: grid;
  grid-template-columns: 76px minmax(100px, 1fr) auto;
  align-items: stretch;
  min-height: 106px;
  border-bottom: 1px solid var(--mbw-line);
  background: var(--mbw-soft);
}

.mbw-event-date {
  display: grid;
  place-content: center;
  padding: 12px 8px;
  color: #fff;
  text-align: center;
  background: var(--mbw-blue);
}

.mbw-event-date strong {
  font-size: 31px;
  font-weight: 950;
  line-height: .95;
}

.mbw-event-date span {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mbw-event-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 16px 20px;
}

.mbw-event-brand img {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.mbw-event-brand > span,
.mbw-event-single__brand > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: var(--mbw-blue-deep);
  font-size: 17px;
  font-weight: 900;
}

.mbw-event-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 20px 16px 10px;
  color: var(--mbw-blue-deep);
  text-align: right;
}

.mbw-event-time span {
  color: var(--mbw-blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mbw-event-time strong {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.mbw-event-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 22px;
}

.mbw-event-organizer {
  margin: 0 0 10px;
  color: var(--mbw-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mbw-event-card h3 {
  margin: 0;
  color: var(--mbw-ink);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.mbw-event-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.mbw-event-card h3 a:hover,
.mbw-event-card h3 a:focus-visible {
  color: var(--mbw-blue) !important;
}

.mbw-event-excerpt {
  margin: 16px 0 0;
  color: var(--mbw-muted);
  font-size: 14px;
  line-height: 1.62;
}

.mbw-event-speakers {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-top: auto;
  padding-top: 22px;
}

.mbw-event-speaker {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -9px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--mbw-blue-deep);
  box-shadow: 0 6px 16px rgba(43, 51, 118, .18);
  font-size: 10px;
}

.mbw-event-speaker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbw-event-speakers small {
  min-width: 0;
  margin-left: 20px;
  overflow: hidden;
  color: var(--mbw-blue-deep);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mbw-event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 15px 30px;
  border-top: 1px solid var(--mbw-line);
}

.mbw-event-card__footer > span {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--mbw-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.mbw-event-card__footer svg,
.mbw-event-single__facts svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mbw-event-card__footer a,
.mbw-events-more a,
.mbw-event-single__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--mbw-blue);
  box-shadow: 0 10px 22px rgba(57, 87, 255, .22);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease;
}

.mbw-event-card__footer a:hover,
.mbw-events-more a:hover,
.mbw-event-single__cta a:hover {
  color: #fff !important;
  background: var(--mbw-blue-deep);
  transform: translateY(-2px);
}

.mbw-event-card__footer a b,
.mbw-events-more a span,
.mbw-event-single__cta a b {
  margin-left: 8px;
  font-size: 16px;
}

.mbw-events--compact {
  width: min(1240px, 100%);
  margin: 26px auto 12px;
}

.mbw-events--compact .mbw-events-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mbw-events--compact .mbw-event-card {
  min-height: 360px;
  box-shadow: 0 15px 42px rgba(34, 48, 116, .11);
}

.mbw-events--compact .mbw-event-card__top {
  grid-template-columns: 66px minmax(78px, 1fr) auto;
  min-height: 92px;
}

.mbw-events--compact .mbw-event-brand {
  padding: 12px 14px;
}

.mbw-events--compact .mbw-event-brand img {
  max-width: 105px;
  max-height: 55px;
}

.mbw-events--compact .mbw-event-time {
  padding: 12px 14px 12px 6px;
}

.mbw-events--compact .mbw-event-card__body {
  padding: 23px 24px 18px;
}

.mbw-events--compact .mbw-event-card h3 {
  font-size: clamp(20px, 2vw, 26px);
}

.mbw-events--compact .mbw-event-card__footer {
  padding: 13px 22px;
}

.mbw-events-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.mbw-events-more a {
  min-height: 50px;
  padding: 0 25px;
}

.mbw-events-empty {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
  padding: 30px;
  border: 1px dashed var(--mbw-line);
  border-radius: 22px;
  color: var(--mbw-muted);
  text-align: center;
  background: var(--mbw-soft);
  font-weight: 800;
}

.mbw-event-single {
  width: min(1040px, calc(100% - 32px));
  margin: 30px auto 80px;
}

.mbw-event-single__intro {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--mbw-line);
  border-radius: 24px;
  background: var(--mbw-soft);
}

.mbw-event-single__brand {
  display: grid;
  place-items: center;
  flex: 0 0 130px;
  width: 130px;
  height: 92px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
}

.mbw-event-single__brand img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mbw-event-single__intro > div > span {
  margin-bottom: 5px;
  color: var(--mbw-blue);
}

.mbw-event-single__intro > div > strong {
  display: block;
  color: var(--mbw-blue-deep);
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.1;
}

.mbw-event-single__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.mbw-event-single__facts > div {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding: 20px;
  border-radius: 20px;
  color: var(--mbw-blue);
  background: #fff;
  box-shadow: 0 13px 34px rgba(34, 48, 116, .1);
}

.mbw-event-single__facts svg {
  width: 25px;
  height: 25px;
}

.mbw-event-single__facts span {
  display: block;
  min-width: 0;
  color: var(--mbw-muted);
  font-size: 11px;
  font-weight: 750;
}

.mbw-event-single__facts strong,
.mbw-event-single__facts small {
  display: block;
}

.mbw-event-single__facts strong {
  margin-top: 5px;
  color: var(--mbw-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.mbw-event-single__facts small {
  margin-top: 4px;
  color: var(--mbw-muted);
  font-size: 10px;
  line-height: 1.35;
}

.mbw-event-single__description {
  color: #3f465e;
  font-size: 17px;
  line-height: 1.8;
}

.mbw-event-single__description > :first-child {
  margin-top: 0;
}

.mbw-event-single__speakers {
  margin-top: 42px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(114, 230, 255, .3), transparent 26%),
    var(--mbw-blue-deep);
}

.mbw-event-single__speakers > span {
  color: var(--mbw-cyan);
}

.mbw-event-single__speakers > h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.mbw-event-single__speakers > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.mbw-event-single__speakers article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
}

.mbw-event-single__speakers article > div {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 4px solid var(--mbw-cyan);
  border-radius: 50%;
  color: var(--mbw-blue-deep);
  background: #fff;
  font-weight: 900;
  box-shadow: 0 13px 28px rgba(0, 0, 0, .23);
}

.mbw-event-single__speakers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbw-event-single__speakers h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.mbw-event-single__speakers p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.45;
}

.mbw-event-single__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--mbw-line);
  border-radius: 28px;
  background: var(--mbw-soft);
}

.mbw-event-single__cta span {
  margin-bottom: 6px;
  color: var(--mbw-blue);
}

.mbw-event-single__cta strong {
  display: block;
  color: var(--mbw-blue-deep);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.mbw-event-single__cta a {
  min-height: 52px;
  padding: 0 23px;
  white-space: nowrap;
}

.mbw-event-single__back {
  margin-top: 25px;
  text-align: center;
}

.mbw-event-single__back a {
  color: var(--mbw-blue-deep) !important;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none !important;
}

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

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

@media (max-width: 760px) {
  .mbw-events {
    width: min(calc(100% - 22px), 620px);
    margin-top: 30px;
  }

  .mbw-events-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 28px;
  }

  .mbw-events-hero svg {
    display: none;
  }

  .mbw-events-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: 18px;
    scrollbar-width: none;
  }

  .mbw-events-filters::-webkit-scrollbar {
    display: none;
  }

  .mbw-events-filters button {
    flex: 0 0 auto;
  }

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

  .mbw-event-card,
  .mbw-events--compact .mbw-event-card {
    min-height: 0;
  }

  .mbw-event-single__facts {
    grid-template-columns: 1fr;
  }

  .mbw-event-single__cta {
    align-items: stretch;
    flex-direction: column;
  }

  .mbw-event-single__cta a {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .mbw-event-card__top,
  .mbw-events--compact .mbw-event-card__top {
    grid-template-columns: 62px minmax(60px, 1fr);
  }

  .mbw-event-time,
  .mbw-events--compact .mbw-event-time {
    grid-column: 1 / -1;
    align-items: flex-start;
    min-height: 54px;
    padding: 10px 16px;
    border-top: 1px solid var(--mbw-line);
    text-align: left;
  }

  .mbw-event-card__body,
  .mbw-events--compact .mbw-event-card__body {
    padding: 23px 20px 18px;
  }

  .mbw-event-card__footer,
  .mbw-events--compact .mbw-event-card__footer {
    align-items: stretch;
    flex-direction: column;
    padding: 16px 20px 20px;
  }

  .mbw-event-card__footer a {
    width: 100%;
  }

  .mbw-event-single {
    width: min(calc(100% - 20px), 620px);
  }

  .mbw-event-single__intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .mbw-event-single__brand {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mbw-event-card,
  .mbw-events-filters button,
  .mbw-event-card__footer a,
  .mbw-events-more a,
  .mbw-event-single__cta a {
    transition: none;
  }
}
