.mg-home {
    --mg-ink: #171719;
    --mg-muted: #55555d;
    --mg-red: #b31007;
    --mg-rule: #dcdce0;
    padding-block: 0;
}

.mg-home .mg-reviews__shell {
    width: 100%;
    padding: clamp(1.6rem, 3vw, 2.35rem) clamp(.5rem, 1.65vw, 1.25rem) 4rem;
}

.mg-home__section + .mg-home__section { margin-top: clamp(2.7rem, 4.7vw, 4.5rem); }

.mg-home__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem 1rem;
    margin-bottom: 1.3rem;
}

.mg-home__heading h1, .mg-home__section > h2 {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0;
    font: 830 clamp(1.65rem, 3.15vw, 2.75rem)/1.05 var(--mg-sans);
    letter-spacing: -.036em;
}

.mg-home__heading h1 { flex: 1 1 15rem; }
.mg-home__section > h2 { margin-bottom: 1.3rem; }

.mg-home__heading h1::before, .mg-home__section > h2::before {
    content: "";
    flex: 0 0 .255rem;
    align-self: stretch;
    background: #db1309;
}

.mg-home__heading h1::after, .mg-home__section > h2::after {
    content: "";
    flex: 1;
    margin-inline-start: .45rem;
    border-top: 1px solid var(--mg-rule);
}

.mg-home .mg-reviews__entries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mg-home .mg-home__news { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mg-home .mg-reviews__entry-copy :is(h2, h3) {
    margin: 0;
    font: 820 1.15rem/1.2 var(--mg-sans);
    letter-spacing: -.023em;
    overflow-wrap: anywhere;
}
.mg-home .mg-reviews__entry-copy p { overflow-wrap: anywhere; }
.mg-home .mg-reviews__entry-visual { aspect-ratio: 2.17; }

.mg-home__games {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .85rem;
}

.mg-home__game {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--mg-rule);
    border-radius: .625rem;
    font: 760 .875rem/1.3 var(--mg-sans);
}

.mg-home__game:hover, .mg-home__game:focus-visible { border-color: #b8b8be; }
.mg-home__game > span:last-child { padding: .65rem .65rem .75rem; overflow-wrap: anywhere; }
.mg-home__game:hover > span:last-child {
    text-decoration: underline;
    text-decoration-color: var(--mg-red);
    text-underline-offset: .18em;
}
.mg-home .mg-home__game-image { aspect-ratio: 1.7; }
.mg-home__game-image .mg-reviews__missing-media {
    padding: .25rem;
    font-size: .6875rem;
    text-align: center;
    line-height: 1.15;
}

.mg-home__games-empty {
    padding: .85rem 1rem;
    border: 1px solid var(--mg-rule);
    border-radius: .625rem;
    background: #f4f4f5;
}

@media (max-width: 62rem) {
    .mg-home .mg-home__news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mg-home__games { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
    .mg-home .mg-reviews__entries { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .mg-home__games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 29rem) {
    .mg-home .mg-reviews__entry-copy { padding: .7rem .75rem .85rem; }
    .mg-home .mg-reviews__entry-copy :is(h2, h3) { font-size: 1.05rem; }
    .mg-home .mg-reviews__entry-copy p { font-size: .875rem; }
    .mg-home__games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
