.mced-home-events {
  --mced-gold: #d6a33b;
  --mced-navy: #081a36;
  --mced-text: #111827;
  --mced-muted: #657084;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 0 10px;
  box-sizing: border-box;
}

.mced-home-events__header {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.mced-home-events__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--mced-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mced-home-events__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  text-transform: uppercase;
}

.mced-home-events__header p {
  margin: 11px 0 0;
  color: #c7cbd3;
  font-size: 16px;
  line-height: 1.55;
}

.mced-home-events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mced-home-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(8, 26, 54, .10);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .13);
  transition: transform .22s ease, box-shadow .22s ease;
}

.mced-home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .20);
}

.mced-home-card__image-link {
  display: block;
  text-decoration: none;
}

.mced-home-card__image {
  position: relative;
  height: 218px;
  overflow: hidden;
  background-color: #182233;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform .35s ease;
}

.mced-home-card:hover .mced-home-card__image {
  transform: scale(1.025);
}

.mced-home-card__image.is-placeholder::before {
  content: "♞";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(214, 163, 59, .72);
  font-size: 76px;
}

.mced-home-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 35%, rgba(0,0,0,.72) 100%);
}

.mced-home-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 58px;
  background: #fff;
  color: var(--mced-navy);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .22);
}

.mced-home-card__date strong {
  font-size: 21px;
  line-height: 1;
}

.mced-home-card__date span {
  margin-top: 4px;
  color: #6a7280;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.mced-home-card__featured {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 10px;
  background: var(--mced-gold);
  color: #101010;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.mced-home-card__formats {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mced-home-card__format {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  background: rgba(255,255,255,.94);
  color: #252a34;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.mced-home-card__format--classical { color: #9a6500; }
.mced-home-card__format--rapid { color: #3730c9; }
.mced-home-card__format--blitz { color: #c52040; }

.mced-home-card__body {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 20px 20px 17px;
  box-sizing: border-box;
}

.mced-home-card__body h3 {
  margin: 0 0 13px;
  font-size: 21px;
  line-height: 1.30;
}

.mced-home-card__body h3 a {
  color: var(--mced-text);
  text-decoration: none;
}

.mced-home-card__body h3 a:hover {
  color: #a56f0f;
}

.mced-home-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  color: var(--mced-muted);
  font-size: 15px;
  line-height: 1.48;
}

.mced-home-card__meta svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mced-home-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 17px;
  color: #a26e0e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.mced-home-card__more span {
  font-size: 17px;
  transition: transform .18s ease;
}

.mced-home-card__more:hover span {
  transform: translateX(4px);
}

.mced-home-events__cta {
  margin-top: 34px;
  text-align: center;
}

.mced-home-events__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 0 25px;
  background: var(--mced-gold);
  color: #101010;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(214, 163, 59, .20);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease;
}

.mced-home-events__button:hover {
  background: #e3b34d;
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .mced-home-events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .mced-home-events {
    padding-top: 8px;
  }

  .mced-home-events__header {
    margin-bottom: 22px;
    padding: 0 8px;
  }

  .mced-home-events__header h2 {
    font-size: 28px;
  }

  .mced-home-events__header p {
    font-size: 14px;
  }

  .mced-home-events__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mced-home-card__image {
    height: 215px;
  }

  .mced-home-card__body {
    min-height: 0;
    padding: 18px;
  }

  .mced-home-card__body h3 {
    font-size: 20px;
  }

  .mced-home-card__more {
    margin-top: 16px;
  }
}
