.mg {
  --mg-gold: #c9a962;
  --mg-ink: #1a1a1a;
  --mg-paper: #fafaf8;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 72rem;
  padding: calc(var(--header-h, 4.5rem) + 1.4rem) 1.5rem 3rem;
}

.mg__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mg-gold);
}

.mg__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--mg-ink);
}

.mg__lead a {
  color: inherit;
}

.mg__lead {
  margin: 0.7rem 0 1.6rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.55);
}

.mg-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0.9rem;
}

.mg-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
}

.mg-card--live:hover {
  border-color: rgba(201, 169, 98, 0.45);
}

.mg-card__still {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.mg-card__still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mg-card__play {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.82);
  color: #fafaf8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mg-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.mg-card__kicker {
  margin: 0 0 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mg-gold);
}

.mg-card__name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mg-card__pitch {
  margin: 0.4rem 0 0.7rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.55);
}

.mg-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.72rem;
  color: rgba(26, 26, 26, 0.42);
}

.mg-card--soon {
  min-height: 100%;
  justify-content: center;
  align-items: flex-start;
  padding: 1.4rem 1.15rem;
  background: #fafaf8;
  border-style: dashed;
  box-shadow: none;
}

.mg-card--soon .mg-card__name {
  font-size: 1.05rem;
}

.mg-foot {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.mg-foot a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.mg-foot__solid {
  background: #1a1a1a;
  color: #fafaf8;
}

.mg-foot__ghost {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #1a1a1a;
}

html[data-theme="dark"] .mg__title,
html[data-theme="dark"] .mg-card__name {
  color: #f0e0bc;
}

html[data-theme="dark"] .mg__lead,
html[data-theme="dark"] .mg-card__pitch,
html[data-theme="dark"] .mg-card__meta {
  color: rgba(232, 212, 168, 0.55);
}

html[data-theme="dark"] .mg-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(198, 167, 106, 0.16);
}

html[data-theme="dark"] .mg-card--soon {
  background: transparent;
}

html[data-theme="dark"] .mg-foot__solid {
  background: #e8d4a8;
  color: #050505;
}

html[data-theme="dark"] .mg-foot__ghost {
  border-color: rgba(198, 167, 106, 0.28);
  color: #e8d4a8;
}

@media (max-width: 820px) {
  .mg { padding-left: 0.95rem; padding-right: 0.95rem; }
  .mg-grid { grid-template-columns: 1fr; }
}
