.mk-community {
    --community-night-panel: #0f3247;
    --community-section-space: 80px;
    color: var(--mk-ink);
}

.mk-community :where(h1, h2, h3, p, figure, blockquote, ul, ol) {
    margin: 0;
}

.mk-community :where(ul, ol) {
    list-style: none;
    padding: 0;
}

.mk-community h1,
.mk-community h2 {
    font-weight: 800;
    text-wrap: balance;
}

.mk-community h1 {
    font-size: clamp(2.5rem, 6.4vw, 5rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.mk-community h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.mk-community h3 {
    font-size: 1.375rem;
    line-height: 1.2;
    font-weight: 800;
}

.mk-community p,
.mk-community blockquote {
    max-width: 620px;
    font-size: 1.125rem;
    line-height: 1.5;
}

.mk-community mark {
    display: inline-block;
    max-width: 100%;
    padding: 0 .18em .05em;
    border-radius: .18em;
    background: var(--mk-lime);
    color: var(--mk-ink);
    transform: rotate(-1.2deg);
}

.mk-community-hero,
.mk-community-join {
    background: var(--mk-blue);
}

.mk-community-hero-layout {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
    padding-block: 40px 72px;
}

.mk-community-hero-copy {
    display: grid;
    gap: 22px;
    flex: 1 1 min(100%, 480px);
    min-width: 0;
    color: var(--mk-white);
}

.mk-community-hero-copy p {
    max-width: 540px;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.4;
}

.mk-community-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mk-community-button,
.mk-community-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
}

.mk-community-button {
    min-height: 52px;
    justify-content: center;
    padding: 8px 26px;
    border-radius: 14px;
    color: var(--mk-ink);
    background: var(--mk-lime);
    text-decoration: none;
    text-align: center;
}

.mk-community-button-dark {
    color: var(--mk-white);
    background: var(--mk-ink);
}

.mk-community-link {
    min-height: 44px;
    color: var(--mk-ink);
    text-underline-offset: 4px;
    width: fit-content;
}

:is(.mk-community-hero, .mk-community-join) .mk-community-link {
    color: var(--mk-white);
    font-size: var(--mk-blue-label-size);
}

.mk-community-link-blue {
    color: var(--mk-link);
}

.mk-community-hero-media {
    position: relative;
    flex: 1 1 min(100%, 340px);
    min-width: 0;
    max-width: 420px;
}

.mk-community-hero-media img,
.mk-community-games-media img,
.mk-community-contest-photos img,
.mk-community-contest-feature img,
.mk-community-support-photos img,
.mk-community-social-photos img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.mk-community-hero-media img {
    height: 460px;
    border-radius: 28px;
    transform: rotate(2deg);
    box-shadow: 0 30px 60px rgb(7 32 48 / 35%);
}

.mk-community-hero-badge {
    position: absolute;
    inset: auto auto 24px -10px;
    border-radius: 14px;
    color: var(--mk-ink);
    background: var(--mk-lime);
    font-size: 1.125rem;
    font-weight: 800;
    padding: 12px 16px;
    box-shadow: 0 12px 24px rgb(7 32 48 / 30%);
}

.mk-community-section {
    padding-block: var(--community-section-space);
}

.mk-community-split {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.mk-community-split > * {
    min-width: 0;
}

.mk-community-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
}

.mk-community-dark {
    color: var(--mk-white);
    background: var(--mk-ink);
}

.mk-community-dark :where(.mk-community-link, h3) {
    color: var(--mk-white);
}

.mk-community-dark p {
    color: var(--mk-soft);
}

.mk-community-mist {
    background: #c6e3f5;
}

.mk-community-lime {
    background: var(--mk-lime);
}

.mk-community-light {
    background: var(--mk-light);
}

.mk-community-games-copy {
    display: grid;
    align-content: start;
    gap: 18px;
    flex: 1.4 1 min(100%, 480px);
    padding-top: 6px;
}

.mk-community-games-media {
    flex: 1 1 300px;
    max-width: 400px;
}

.mk-community-games-media img {
    height: 440px;
    border-radius: 28px;
}

.mk-community-contest-photos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.mk-community-contest-photos > li {
    flex: 1 1 200px;
    max-width: 270px;
    transform: rotate(-2deg);
}

.mk-community-contest-photos > li:nth-child(even) {
    transform: rotate(2deg);
}

.mk-community-contest-photos img,
.mk-community-contest-graphic {
    height: 330px;
}

.mk-community-contest-photos li:last-child img {
    object-position: center 38%;
}

.mk-community-contest-graphic {
    display: grid;
    place-content: center;
    padding: 22px;
    background: var(--mk-lime);
    border-radius: 20px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.12;
    font-weight: 800;
    text-align: center;
}

.mk-community-contest-photos li:nth-child(even) .mk-community-contest-graphic {
    background: var(--mk-blue);
    color: var(--mk-white);
}

.mk-community-contest-feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    padding: 16px;
    border-radius: 28px;
    background: var(--mk-white);
    box-shadow: 0 20px 44px rgb(7 32 48 / 14%);
}

.mk-community-contest-feature img {
    flex: 1 1 min(100%, 340px);
    min-width: 0;
    width: 0;
    height: 360px;
}

.mk-community-contest-feature figcaption {
    display: grid;
    gap: 14px;
    flex: 1.2 1 min(100%, 380px);
    min-width: 0;
    padding-block: 8px;
}

.mk-community-contest-feature strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.375rem;
    line-height: 1.3;
    font-weight: 800;
}

.mk-community-contest-credit {
    color: var(--mk-muted);
}

.mk-community-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
}

.mk-community-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 22px;
    border-radius: 20px;
    color: var(--mk-ink);
}

.mk-community-card a,
.mk-community-social-heading a {
    color: var(--mk-link);
    text-underline-offset: 3px;
}

.mk-community-lime mark {
    color: var(--mk-lime);
    background: var(--mk-ink);
}

.mk-community-ambassador-copy {
    flex: 1.1 1 min(100%, 420px);
    gap: 18px;
}

.mk-community-ambassador-copy p {
    max-width: 520px;
    font-size: 1.375rem;
}

.mk-community-ambassador-aside {
    display: grid;
    place-content: start stretch;
    gap: 14px;
    flex: 1 1 min(100%, 380px);
}

.mk-community-ambassador-card {
    display: grid;
    gap: 12px;
    padding: 26px;
    border-radius: 28px;
    color: var(--mk-white);
    background: var(--mk-ink);
}

.mk-community-ambassador-card h3 {
    color: var(--mk-lime);
}

.mk-community-ambassador-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mk-community-ambassador-steps li {
    flex: 1 1 120px;
    padding: 16px;
    border-radius: 14px;
    background: var(--mk-white);
    font-size: 1.125rem;
    font-weight: 800;
}

.mk-community-checklist {
    display: grid;
    gap: 12px;
    font-size: 1.125rem;
    line-height: 1.45;
}

.mk-community-checklist li {
    display: flex;
    gap: 12px;
}

.mk-community-checklist li::before {
    content: '✓' / '';
    flex: 0 0 22px;
}

.mk-community-support-layout {
    align-items: center;
}

.mk-community-support-layout > .mk-community-stack {
    flex: 1 1 min(100%, 420px);
    gap: 16px;
}

.mk-community-support-results {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.mk-community-support-results li {
    flex: 1 1 120px;
}

.mk-community-support-results strong {
    display: block;
    color: var(--mk-lime);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.mk-community-support-photos,
.mk-community-support-stories {
    flex: 1 1 min(100%, 440px);
    display: grid;
    gap: 12px;
}

.mk-community-support-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-community-support-photos img {
    height: 190px;
}

.mk-community-support-photos img:first-child {
    height: 392px;
    grid-row: span 2;
}

.mk-community-support-stories a {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 14px;
    color: var(--mk-white);
    background: var(--community-night-panel);
    text-underline-offset: 3px;
}

.mk-community-support-stories strong {
    color: var(--mk-lime);
    font-size: 1.125rem;
}

.mk-community-social-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.mk-community-social-heading h2 {
    min-inline-size: 0;
    overflow-wrap: anywhere;
}

.mk-community-social-photos img {
    height: 250px;
}

.mk-community-social-links a {
    min-height: 150px;
    justify-content: center;
    color: var(--mk-ink);
    font-size: 1.375rem;
    font-weight: 800;
    text-underline-offset: 3px;
    text-decoration: none;
}

.mk-community-review-overview {
    display: grid;
    gap: 18px 40px;
}

.mk-community-review-summary p {
    font-size: 1rem;
}

.mk-community-review-score {
    display: grid;
    gap: 4px;
    font-size: 1.375rem;
    letter-spacing: .08em;
}

.mk-community-review-score strong {
    font-size: clamp(3.25rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
}

.mk-community-review-quotes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mk-community-review-quotes li {
    flex: 1 1 min(100%, 200px);
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--mk-lime);
    overflow-wrap: anywhere;
}

.mk-community-review-quotes blockquote {
    font-weight: 800;
}

.mk-community-review-quotes figcaption {
    font-size: .875rem;
}

.mk-community-testimonials figure {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    height: 100%;
}

.mk-community-testimonials blockquote {
    font-weight: 700;
}

.mk-community-testimonials figcaption {
    color: var(--mk-muted);
}

.mk-community-testimonial-stars {
    color: var(--mk-link);
    letter-spacing: .1em;
}

.mk-community-review-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mk-community-review-links li {
    flex: 1 1 200px;
}

.mk-community-review-links a {
    display: flex;
    align-items: center;
    min-height: 51px;
    border: 1px solid var(--mk-line);
    border-radius: 14px;
    padding: 12px 16px;
    color: var(--mk-ink);
    background: var(--mk-white);
    font-size: 1.125rem;
    font-weight: 800;
    text-underline-offset: 3px;
}

.mk-community-guides {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.mk-community-join-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding-block: 72px;
}

.mk-community-join h2 {
    color: var(--mk-white);
    font-size: clamp(1.75rem, 3.6vw, 3.5rem);
}

.mk-community-join p {
    margin-top: 12px;
    max-width: 520px;
    color: var(--mk-white);
    font-size: 1.375rem;
    line-height: 1.2;
    font-weight: 700;
}

@media (min-width: 761px) {
    .mk-community-review-overview {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .mk-community-review-overview h2,
    .mk-community-review-quotes {
        grid-column: 2;
    }

    .mk-community-review-summary {
        grid-row: 1 / span 2;
        align-self: end;
    }
}

@media (max-width: 760px) {
    .mk-community-games-media {
        display: none;
    }

    .mk-community-games-copy {
        padding-top: 0;
    }

    .mk-community-contest-feature img {
        width: 100%;
    }
}

@media (max-width: 359px) {
    .mk-community h1 {
        font-size: clamp(1.875rem, 11vw, 2.5rem);
    }

    .mk-community-support-photos img {
        height: 130px;
    }

    .mk-community-support-photos img:first-child {
        height: 272px;
    }
}
