@font-face {
    font-family: "Danfinity Display";
    src: url("../fonts/garet-heavy.woff") format("woff");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   Danfinity Ghost theme
   Colours, type and spacing follow the approved homepage mockup.
   Accent colour comes from Ghost: Settings → Design → Brand → Accent colour
   (exposed by {{ghost_head}} as --ghost-accent-color).
   ========================================================= */

:root {
    --accent: var(--ghost-accent-color, #C0345A);
    --bg: #0E0D10;
    --bg-raised: #18161B;
    --bg-card: #1F1C23;
    --line: #2A2730;
    --line-strong: #4A4452;
    --text: #F4F1F5;
    --text-soft: #D9D3DD;
    --text-muted: #B4ADB8;
    --text-faint: #8A8390;
    --pink: #FF7FA3;
    --live: #E5243B;

    --font-display: "Danfinity Display", "Archivo Black", "Arial Black", system-ui, sans-serif;
    --font-body: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1280px;
    --gutter: 24px;
    --radius: 12px;
    --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--pink); }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.container--narrow { max-width: 808px; }

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }

/* ---------- Shared bits ---------- */

.kicker {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pink);
}
.kicker--light { color: #FFE3EB; }

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.link-accent { font-weight: 600; color: var(--pink); }
.link-accent:hover { color: var(--text); }

.band {
    background: var(--bg-raised);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: filter 0.15s ease, background 0.15s ease;
}
.btn--accent { background: var(--accent); color: #FFFFFF; }
.btn--accent:hover { color: #FFFFFF; filter: brightness(1.12); }
.btn--dark { background: var(--bg); color: #FFFFFF; min-height: 44px; }
.btn--dark:hover { color: #FFFFFF; background: #000000; }
.btn--block { width: 100%; }

.tag-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--tag-color, var(--line));
    color: #FFFFFF;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
}
a.tag-pill:hover { color: #FFFFFF; filter: brightness(1.12); }

.empty-note { color: var(--text-muted); }

/* ---------- Live bar ---------- */

.live-bar {
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.live-bar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}
.live-bar__status { display: flex; align-items: center; gap: 10px; min-width: 0; }
.live-bar__message { color: var(--text-soft); }
.live-bar__message strong { color: var(--text); }
.live-bar__message a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.live-bar__schedule { color: var(--text-muted); }
.live-bar__sep { color: var(--text-faint); }

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--line);
    color: var(--text-soft);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.live-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); }

/* You live on Twitch: Twitch-purple bar (edit these three colours to tweak) */
.live-bar { --live-purple: #9146FF; --live-bg: #1C1030; --live-border: #3B2366; }
.live-bar.is-live { background: var(--live-bg); border-bottom-color: var(--live-border); }
.live-bar.is-live .live-pill { background: var(--live-purple); color: #FFFFFF; }
.live-bar.is-live .live-pill__dot { background: #FFFFFF; animation: pulse 1.6s ease-in-out infinite; }

/* Away (vacation / convention): orange version of the bar */
.live-bar { --away-orange: #E07A1F; --away-bg: #2A1708; --away-border: #5A3312; }
.live-bar.is-away { background: var(--away-bg); border-bottom-color: var(--away-border); }
.live-bar.is-away .live-pill { background: var(--away-orange); color: #FFFFFF; }
.live-bar.is-away .live-pill__dot { background: #FFFFFF; }

/* Need A Rez live: blue version of the bar (edit these three colours to tweak) */
.live-bar { --nar-blue: #1C9BD8; --nar-bg: #0A1B2B; --nar-border: #163A57; }
.live-bar.is-live.is-live--podcast { background: var(--nar-bg); border-bottom-color: var(--nar-border); }
.live-bar.is-live.is-live--podcast .live-pill { background: var(--nar-blue); }

@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .live-bar.is-live .live-pill__dot { animation: none; } }

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
/* Logo matches the 44px height of the Watch Live button */
.site-logo__img { height: 44px; width: auto; }
.site-logo__text {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
    font-size: 15px;
}
.site-nav .nav-current a { color: var(--pink); }

.btn--live {
    min-height: 44px;
    padding: 0 20px;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Trailer hero ---------- */

.trailer { padding-top: 48px; padding-bottom: 40px; }
.trailer__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #000000 center / cover no-repeat;
}
.trailer__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.trailer__play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
    cursor: pointer;
}
.trailer__play-icon {
    width: 76px;
    height: 54px;
    border-radius: 14px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}
.trailer__play-icon::after {
    content: "";
    margin-left: 4px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #FFFFFF;
}
.trailer__play:hover .trailer__play-icon { transform: scale(1.06); }
.trailer__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ---------- Intro + stats ---------- */

.intro { padding-bottom: 56px; }
.trailer + .intro { padding-top: 0; }
.intro:first-child { padding-top: 48px; }
.intro__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 48px;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.intro__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.intro__headline {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.15;
}
.intro__tagline { margin: 0; color: var(--text-faint); font-size: 14px; font-style: italic; }

/* Stat callouts: each in its own box with an accent top edge */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; flex: 0 0 auto; }
.stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 10px;
    background: var(--bg-card);
    text-align: center;
}
.stat { margin: 0; }
.stat__value { font-family: var(--font-display); font-size: 24px; line-height: 1.2; white-space: nowrap; }
.stat__label { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- Charity band ---------- */

.charity { padding-bottom: 72px; }
.charity__band {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    align-items: center;
    padding: 28px 32px;
    border-radius: var(--radius);
    background: var(--accent);
}
.charity__text { flex: 1 1 420px; min-width: 0; }
.charity__title {
    margin: 4px 0 6px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.1;
    color: #FFFFFF;
}
.charity__description { margin: 0; color: #FFF2F6; font-size: 16px; }
.charity__progress { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.charity__numbers {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
}
.charity__track { width: 100%; height: 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); overflow: hidden; }
.charity__fill { width: 0; height: 100%; border-radius: 999px; background: #FFFFFF; transition: width 0.8s ease; }

/* ---------- Latest ---------- */

.latest { padding-bottom: 80px; }
.latest__top { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.latest__top > .post-card--featured { flex: 2 1 560px; min-width: 0; }
.latest__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.latest__row { display: flex; flex-wrap: wrap; gap: 24px; }
.latest__row > .post-card { flex: 1 1 300px; min-width: 0; }

.post-card__link { display: flex; flex-direction: column; gap: 12px; height: 100%; color: var(--text); }
.post-card__link:hover { color: var(--text); }
.post-card__link:hover .post-card__title { color: var(--pink); }
.post-card__media {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-card);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-card__link:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; }
.post-card__date { color: var(--text-muted); }
.post-card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; transition: color 0.15s ease; }
.post-card__title--featured {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 34px;
    line-height: 1.15;
}
.post-card__excerpt { margin: 0; color: var(--text-soft); }

/* ---------- Shows ---------- */

#shows .container { padding-top: 72px; padding-bottom: 72px; }
#shows .section-title { margin-bottom: 28px; }
.shows { display: flex; flex-wrap: wrap; gap: 24px; }
.show-card {
    flex: 1 1 460px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}
.show-card__art {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-card);
}
.show-card__art img { width: 100%; height: 100%; object-fit: cover; }
.show-card__body { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.show-card__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; }
.show-card__content { color: var(--text-soft); font-size: 16px; }
.show-card__content > * { margin: 0 0 10px; }
.show-card__content > *:last-child { margin-bottom: 0; }
.show-card__content a { color: var(--pink); font-weight: 600; }
/* Ghost Button cards inside a show page render as pill buttons */
.show-card__content .kg-button-card { display: inline-flex; margin: 4px 8px 4px 0; }
.show-card__content .kg-button-card .kg-btn {
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
}

/* Platform icon buttons on show cards */
.show-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px !important; }
.show-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-raised);
    color: var(--text) !important;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.show-link:hover { color: var(--pink) !important; border-color: var(--pink); }
.show-link .social-icon { width: 20px; height: 20px; }
.show-link .social-icon--youtube { width: 22px; }
.show-link--text { width: auto; padding: 0 16px; font-size: 13px; font-weight: 700; }

/* ---------- Work with me ---------- */

.work { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.work__quote { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.work__blockquote { margin: 0; font-family: var(--font-display); font-size: 34px; line-height: 1.2; }
.work__cite { color: var(--text-muted); font-size: 15px; }
.work__cite strong { color: var(--text); }
.work__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-soft);
}
.work__brands-label { color: var(--text-faint); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.work__card {
    flex: 2 1 340px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-raised);
}
.work__card-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.work__item-title { font-weight: 700; font-size: 18px; }
.work__item-sub { color: var(--text-muted); font-size: 15px; }

/* ---------- Merch / partners / newsletter ---------- */

#support { border-bottom: 0; }
.support { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.support__col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.support__col--merch { flex-basis: 340px; }
.support__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.support__note { margin: 0; color: var(--text-muted); font-size: 14px; }
.support__lede { margin: 0; color: var(--text-soft); font-size: 15px; }

.merch { display: flex; gap: 12px; }
.merch__item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.merch__photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: var(--line); }
.merch__photo img { width: 100%; height: 100%; object-fit: cover; }
.merch__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.merch__price { color: var(--text-muted); font-size: 13px; }

.partners { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.partners__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    font-size: 15px;
}
.partners__deal { color: var(--text-muted); font-weight: 500; text-align: right; }

.subscribe-form { display: flex; flex-direction: column; gap: 10px; }
.subscribe-form__label { font-size: 14px; font-weight: 600; }
.subscribe-form__input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
}
.subscribe-form__input:focus { border-color: var(--pink); outline: none; }
.subscribe-form__button { min-height: 48px; }
.subscribe-form__busy,
.subscribe-form__message { display: none; }
.subscribe-form.loading .subscribe-form__idle { display: none; }
.subscribe-form.loading .subscribe-form__busy { display: inline; }
.subscribe-form__message { margin: 0; font-size: 14px; }
.subscribe-form.success .subscribe-form__message--success { display: block; color: #8BE3B5; }
.subscribe-form.error .subscribe-form__message--error { display: block; color: #FF9AA8; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); font-size: 14px; }
.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.site-logo--footer .site-logo__img { height: 28px; }
.site-logo--footer .site-logo__text { font-size: 22px; }
.site-footer__email { color: var(--text-soft); }
.site-footer__copy { color: var(--text-faint); }
/* Social icons: official white logos used as masks, so they take the link colour (and turn pink on hover) */
.social-links { display: flex; flex-wrap: wrap; gap: 4px; margin: -10px; }
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--text-soft);
    transition: color 0.15s ease, background 0.15s ease;
}
.social-link:hover { background: var(--bg-raised); }
.social-icon {
    display: block;
    width: 22px;
    height: 22px;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.social-icon--twitch    { -webkit-mask-image: url("../images/social/twitch.svg");    mask-image: url("../images/social/twitch.svg"); }
.social-icon--youtube   { -webkit-mask-image: url("../images/social/youtube.svg");   mask-image: url("../images/social/youtube.svg"); width: 26px; }
.social-icon--discord   { -webkit-mask-image: url("../images/social/discord.svg");   mask-image: url("../images/social/discord.svg"); width: 25px; }
.social-icon--bluesky   { -webkit-mask-image: url("../images/social/bluesky.svg");   mask-image: url("../images/social/bluesky.svg"); }
.social-icon--instagram { -webkit-mask-image: url("../images/social/instagram.svg"); mask-image: url("../images/social/instagram.svg"); width: 21px; height: 21px; }
.social-icon--tiktok    { -webkit-mask-image: url("../images/social/tiktok.svg");    mask-image: url("../images/social/tiktok.svg"); }
.social-icon--threads   { -webkit-mask-image: url("../images/social/threads.svg");   mask-image: url("../images/social/threads.svg"); }
.social-icon--x         { -webkit-mask-image: url("../images/social/x.svg");         mask-image: url("../images/social/x.svg"); width: 19px; height: 19px; }
.social-icon--spotify   { -webkit-mask-image: url("../images/social/spotify.png");   mask-image: url("../images/social/spotify.png"); }
.social-icon--rss       { -webkit-mask-image: url("../images/social/rss.png");       mask-image: url("../images/social/rss.png"); width: 19px; height: 19px; }
.social-icon--apple-podcasts { -webkit-mask-image: url("../images/social/apple-podcasts.png"); mask-image: url("../images/social/apple-podcasts.png"); width: 21px; height: 21px; }
.site-footer__nav .nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.site-footer__nav .nav a { color: var(--text-muted); }
.social-link:hover,
.site-footer__nav .nav a:hover { color: var(--pink); }

/* ---------- Archive / tag / author ---------- */

.archive { padding-top: 56px; padding-bottom: 80px; }
.archive__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.archive__description { margin: 0; max-width: 680px; color: var(--text-soft); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 24px; }
.pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
}
.pagination__side--end { display: flex; justify-content: flex-end; }
.pagination__count { text-align: center; white-space: nowrap; }
.btn--outline { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 14px; }
.btn--outline:hover { border-color: var(--pink); color: var(--pink); }
.error-page { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Single post / page ---------- */

.article { padding-bottom: 72px; }
.article__head { display: flex; flex-direction: column; gap: 16px; padding-top: 56px; padding-bottom: 32px; }
.article__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 52px;
    line-height: 1.08;
}
.article__excerpt { margin: 0; color: var(--text-soft); font-size: 20px; }
.article__image { margin: 0 auto 48px; }
.article__image img { width: 100%; border-radius: var(--radius); }
.article__image figcaption { margin-top: 10px; color: var(--text-muted); font-size: 14px; text-align: center; }
.article__comments { padding-top: 48px; }
.article__subscribe {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 80px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid var(--line);
}

/* Ghost content canvas: text column with wide/full-width breakouts for Koenig cards */
.gh-content {
    display: grid;
    grid-template-columns:
        [full-start] minmax(var(--gutter), 1fr)
        [wide-start] minmax(0, 212px)
        [main-start] min(760px, calc(100% - var(--gutter) * 2)) [main-end]
        minmax(0, 212px) [wide-end]
        minmax(var(--gutter), 1fr) [full-end];
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-soft);
}
.gh-content > * { grid-column: main-start / main-end; margin: 0 0 1.4em; }
.gh-content > *:last-child { margin-bottom: 0; }
.gh-content .kg-width-wide { grid-column: wide-start / wide-end; }
.gh-content .kg-width-full { grid-column: full-start / full-end; }
.gh-content .kg-width-full img { border-radius: 0; }
.gh-content h2, .gh-content h3, .gh-content h4 { color: var(--text); line-height: 1.25; margin-top: 1.6em; margin-bottom: 0.6em; }
.gh-content h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; }
.gh-content h3 { font-size: 24px; }
.gh-content a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.gh-content a:hover { color: var(--text); }
.gh-content strong { color: var(--text); }
.gh-content img { border-radius: 8px; }
.gh-content figcaption { margin-top: 10px; color: var(--text-muted); font-size: 14px; text-align: center; }
.gh-content blockquote { padding-left: 20px; border-left: 4px solid var(--accent); font-style: italic; color: var(--text); }
.gh-content hr { border: 0; border-top: 1px solid var(--line); }
.gh-content code { padding: 2px 6px; border-radius: 4px; background: var(--bg-card); font-size: 0.88em; }
.gh-content pre { overflow-x: auto; padding: 20px; border-radius: 8px; background: var(--bg-card); font-size: 15px; }
.gh-content pre code { padding: 0; background: none; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: 0.4em; }
.gh-content .kg-embed-card { width: 100%; }
.gh-content .kg-embed-card iframe { max-width: 100%; }
/* Video embeds: full column width at a true 16:9 (Ghost's embed code carries a small fixed height) */
.gh-content .kg-embed-card iframe[src*="youtube.com"],
.gh-content .kg-embed-card iframe[src*="youtube-nocookie.com"],
.gh-content .kg-embed-card iframe[src*="youtu.be"],
.gh-content .kg-embed-card iframe[src*="player.vimeo.com"],
.gh-content .kg-embed-card iframe[src*="player.twitch.tv"],
.gh-content .kg-embed-card iframe[src*="clips.twitch.tv"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
}
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.gh-content th, .gh-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* ---------- Work With Me / media kit (page-work-with-me.hbs) ---------- */

.mk { padding-bottom: 0; }
.mk-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 56px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 64px;
}
.mk-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.mk-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 56px;
    line-height: 1.05;
    text-transform: uppercase;
}
.mk-hero__excerpt { margin: 0; color: var(--text); font-size: 20px; font-weight: 600; }
.mk-hero__intro { color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.mk-hero__intro > * { margin: 0 0 1em; }
.mk-hero__intro > *:last-child { margin-bottom: 0; }
.mk-hero__intro a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.mk-hero__intro strong { color: var(--text); }
.mk-hero__actions { padding-top: 6px; }
.mk-hero__photo { flex: 0 1 460px; min-width: 0; margin: 0; }
.mk-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

.mk-body { display: flex; flex-direction: column; }
/* Before JS runs, keep the raw content readable */
.mk-body > * { max-width: 760px; }
.mk.is-enhanced .mk-body > * { max-width: none; }

.mk-section { padding: 64px 0; border-top: 1px solid var(--line); }
.mk-section:nth-of-type(even) {
    background: var(--bg-raised);
    box-shadow: 0 0 0 100vmax var(--bg-raised);
    clip-path: inset(0 -100vmax);
}
.mk-label {
    margin: 0 0 28px;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.mk-section__body { display: flow-root; color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.mk-section__body > * { margin: 0 0 20px; }
.mk-section__body > *:last-child { margin-bottom: 0; }
.mk-section__body > p,
.mk-section__body > ul,
.mk-section__body > ol { max-width: 760px; }
.mk-section__body a { color: var(--pink); }
.mk-section__body strong { color: var(--text); }
.mk-section__body h3 { color: var(--text); font-size: 22px; margin-top: 32px; }
.mk-source { font-size: 12px !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint) !important; }

/* Stat tiles (2-column markdown table) */
.mk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.mk-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 150px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    text-align: center;
}
.mk-tile__value { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--text); }
.mk-tile__label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); }

/* Platform rows (3+ column markdown table) */
.mk-rows { display: flex; flex-direction: column; gap: 10px; clear: both; }
.mk-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.3fr) repeat(var(--mk-cols, 2), minmax(0, 1fr));
    gap: 12px;
    align-items: center;
    min-height: 60px;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-card);
}
.mk-row--head {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink);
}
.mk-row__platform { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text); min-width: 0; }
.mk-row__platform .social-icon { flex-shrink: 0; color: var(--text); }
.mk-row__cell { font-family: var(--font-display); font-size: 22px; color: var(--text); overflow-wrap: anywhere; }
.mk-row--head .mk-row__cell { font-family: var(--font-body); font-size: 12px; color: var(--pink); }
.mk-row__cell a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.mk-row__cell a:hover { color: var(--pink); }

/* Single image beside text (e.g. podcast cover) */
.mk-media { float: left; width: 180px; margin: 4px 28px 20px 0 !important; }
.mk-media figure { margin: 0; }
.mk-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.mk-media figcaption { display: none; }

/* Logo strip (gallery card) */
.mk-section__body .kg-gallery-card { margin: 8px 0 24px; }
.mk-section__body .kg-gallery-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 40px; align-items: center; }
.mk-section__body .kg-gallery-row { display: contents; margin: 0 !important; }
/* Ghost's card CSS adds a left margin to every gallery image but the first in each row; cancel it so the grid is even */
.mk-section__body .kg-gallery-image { flex: none !important; display: flex; align-items: center; justify-content: center; margin: 0 !important; min-width: 0; }
.mk-section__body .kg-gallery-image img { width: 100%; height: 64px; object-fit: contain; border-radius: 0; opacity: 0.9; transition: opacity 0.15s ease; }
.mk-section__body .kg-gallery-image:hover img { opacity: 1; }
.mk-section__body .kg-gallery-card figcaption { display: none; }

/* Games section: gallery = cover art grid, bulleted list = genre chips */
.mk-section__body.mk-games .kg-gallery-container { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.mk-section__body.mk-games .kg-gallery-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    opacity: 1;
}
.mk-games ul { display: flex; flex-wrap: wrap; gap: 8px; max-width: none !important; margin: 0; padding: 0; list-style: none; }
.mk-games li {
    margin: 0;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}
.mk-games h3 { margin: 28px 0 12px !important; font-size: 13px !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted) !important; }

/* "Key provided by publisher" badge on game covers */
.mk-games .kg-gallery-image { position: relative; }
.mk-key-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(14, 13, 16, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}
.mk-key-badge svg { width: 16px; height: 16px; }
.mk-key-badge--inline { position: static; width: 24px; height: 24px; vertical-align: middle; margin-right: 6px; }
.mk-key-badge--inline svg { width: 13px; height: 13px; }
.mk-key-legend { margin: -6px 0 20px !important; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted) !important; }

/* Notable work (image cards with captions) */
.mk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 24px; }
.mk-cards figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mk-cards img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-card); }
.mk-cards a:hover img { border-color: var(--pink); }
.mk-cards figcaption { color: var(--text-soft); font-size: 14px; line-height: 1.45; text-align: left; }
.mk-cards figcaption strong { color: var(--text); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
/* When the image has a link, the whole card (image + caption) is clickable */
.mk-cards figure { position: relative; }
.mk-cards figure.has-link figcaption { color: var(--text); }
.mk-cards figure.has-link:hover figcaption { color: var(--pink); }
.mk-cards figure.has-link a.mk-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mk-cards figcaption a { color: inherit; text-decoration: none; }
.mk-cards figure.has-link:hover img { border-color: var(--pink); }

/* References (image + quote + paragraph) */
.mk-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 24px; }
.mk-quote {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-areas: "text text" "photo cite";
    gap: 18px 16px;
    align-items: center;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.mk-quote:not(:has(.mk-quote__photo)) { grid-template-areas: "text text" "cite cite"; }
.mk-quote__text {
    grid-area: text;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    font-style: italic;
}
.mk-quote__text p { margin: 0; }
.mk-quote__photo-link { grid-area: photo; display: block; border-radius: 50%; }
.mk-quote__photo-link:hover .mk-quote__photo { border-color: var(--pink); }
.mk-quote__cite a { color: inherit !important; text-decoration: none; }
/* Bold + linked name (Ghost writes <a><strong>Name</strong></a>): keep the name and its ↗ together on one line */
.mk-quote__cite a:has(> strong), .mk-quote__cite a:has(> b) { display: block; width: fit-content; }
.mk-quote__cite a > strong, .mk-quote__cite a > b { display: inline; }
.mk-quote__cite a:hover { color: var(--pink) !important; text-decoration: underline; text-underline-offset: 3px; }
.mk-quote.has-link .mk-quote__cite a::after { content: " ↗"; font-size: 0.85em; color: var(--text-faint); }
.mk-quote__photo { grid-area: photo; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.mk-quote__cite { grid-area: cite; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.4; }
.mk-quote__cite strong { display: block; color: var(--text); font-size: 16px; }

.mk-section__body .kg-button-card { justify-content: flex-start; }
.mk-section__body .kg-file-card { max-width: 760px; }

/* Contact band */
.mk-contact { background: var(--accent); }
.mk-contact__inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.mk-contact__title { margin: 4px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; color: #FFFFFF; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1100px) {
    .site-header__inner { flex-wrap: wrap; }
    .site-nav { order: 3; width: 100%; }
}

/* =========================================================
   Phone: one-row header + slide-down menu, trimmed live bar,
   compact Latest rows, smaller type.
   ========================================================= */
@media (max-width: 760px) {
    :root { --gutter: 20px; }
    body { font-size: 16px; }

    .live-bar__inner { padding-top: 8px; padding-bottom: 8px; }
    .live-bar__schedule { display: none; }
    .live-bar__message { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .site-header__inner { flex-wrap: nowrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .site-logo { flex-shrink: 1; min-width: 0; margin-right: auto; }
    .btn--live { order: 2; }
    .menu-toggle { order: 3; margin-left: 0; }
    .site-logo__img { height: 28px; max-width: 100%; }
    .site-logo__text { font-size: 22px; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .btn--live { min-height: 44px; padding: 0 14px; font-size: 13px; }

    .site-header { position: relative; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 20;
        width: auto;
        padding: 8px var(--gutter) 16px;
        border-bottom: 1px solid var(--line);
        background: var(--bg);
    }
    .menu-open .site-nav { display: block; }
    .site-nav .nav { flex-direction: column; gap: 0; font-size: 17px; }
    .site-nav .nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }

    .trailer { padding-top: 20px; padding-bottom: 24px; }
    .trailer__play-icon { width: 64px; height: 46px; }

    .intro { padding-bottom: 40px; }
    .intro__text { flex-basis: 100%; }
    .intro__headline { font-size: 24px; }
    /* All three stats on one row: values never wrap, labels wrap underneath if needed */
    .stats { grid-template-columns: repeat(3, auto); justify-content: stretch; gap: 8px; width: 100%; }
    .stat { padding: 12px 6px 10px; border-radius: 8px; }
    .stat__value { font-size: clamp(12px, 3.8vw, 17px); line-height: 1.25; }
    .stat__label { font-size: 11px; line-height: 1.3; }

    .charity { padding-bottom: 48px; }
    .charity__band { padding: 24px 20px; }
    .charity__title { font-size: 26px; }

    .section-title { font-size: 30px; }

    /* Latest: big featured card, then compact rows (thumb left, title right) */
    .latest { padding-bottom: 56px; }
    .latest__top, .latest__side, .latest__row { gap: 16px; }
    .latest__top { margin-bottom: 16px; }
    .latest__top > .post-card--featured { flex-basis: 100%; }
    .post-card__title--featured { font-size: 26px; }
    .post-card--compact .post-card__link { flex-direction: row; align-items: flex-start; gap: 14px; }
    .post-card--compact .post-card__media { flex: 0 0 38%; max-width: 160px; border-radius: 8px; }
    .post-card--compact .post-card__body { gap: 6px; min-width: 0; }
    .post-card--compact .post-card__title { font-size: 16px; }
    .post-card--compact .post-card__meta { font-size: 12px; }
    .latest__side .post-card,
    .latest__row > .post-card { flex-basis: 100%; }
    .post-grid { gap: 20px; grid-template-columns: 1fr; }
    .pagination { grid-template-columns: 1fr 1fr; }
    .pagination__count { grid-column: 1 / -1; grid-row: 1; }
    .pagination .btn--outline { padding: 0 12px; font-size: 13px; }

    #shows .container { padding-top: 56px; padding-bottom: 56px; }
    /* Phones: small cover beside the schedule line + title, description and buttons full width below */
    .show-card {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-areas: "art kicker" "art title" "content content";
        align-items: end;
        column-gap: 14px;
        row-gap: 2px;
        padding: 18px;
    }
    .show-card__body { display: contents; }
    .show-card__art { grid-area: art; width: 72px; height: 72px; align-self: center; border-radius: 8px; }
    .show-card__body > .kicker { grid-area: kicker; font-size: 11px; }
    .show-card__title { grid-area: title; align-self: start; font-size: 22px; }
    .show-card__content { grid-area: content; margin-top: 12px; }

    .work { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
    .work__blockquote { font-size: 24px; }
    .work__brands { font-size: 16px; gap: 8px 20px; }

    .support { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
    .social-links { gap: 0; }

    .article__head { padding-top: 36px; }
    .article__title { font-size: 34px; }
    .article__excerpt { font-size: 18px; }
    .gh-content { font-size: 17px; }

    .mk-hero { padding-top: 32px; padding-bottom: 40px; }
    .mk-hero__title { font-size: 38px; }
    .mk-hero__photo { flex-basis: 100%; order: -1; }
    .mk-hero__photo img { aspect-ratio: 1 / 1; }
    .mk-section { padding: 44px 0; }
    .mk-label { font-size: 28px; margin-bottom: 20px; }
    .mk-section__body.mk-games .kg-gallery-container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .mk-games li { font-size: 13px; padding: 3px 12px; }
    .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .mk-tile { min-height: 110px; padding: 16px; }
    .mk-tile__value { font-size: 32px; }
    .mk-tile__label { font-size: 11px; }
    .mk-row { grid-template-columns: minmax(0, 1.2fr) repeat(var(--mk-cols, 2), minmax(0, 1fr)); gap: 8px; padding: 10px 12px; }
    .mk-row__platform { gap: 8px; font-size: 13px; line-height: 1.25; }
    .mk-row__name { min-width: 0; overflow-wrap: break-word; }
    /* Platforms with an icon show just the icon on phones (name stays for screen readers) */
    .mk-row__platform .social-icon + .mk-row__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .mk-row--head .mk-row__cell { font-size: 10px; letter-spacing: 0; overflow-wrap: normal; word-break: keep-all; }
    .mk-row__cell { font-size: 16px; }
    .mk-row__cell a { font-size: 13px; }
    .mk-media { width: 110px; margin-right: 16px !important; }
    .mk-section__body .kg-gallery-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .mk-section__body .kg-gallery-image img { height: 48px; }
    .mk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
    .mk-quotes { grid-template-columns: 1fr; }
    .mk-quote { padding: 22px; }
    .mk-contact__title { font-size: 24px; }
}

/* ---------------------------------------------------------
   Corner style: Settings → Design → Site-wide → Corner style
   "Sharp" squares off every corner; true circles stay round
   (live dot, reference headshots, game-key badge).
   --------------------------------------------------------- */
body.corners-sharp *,
body.corners-sharp *::before,
body.corners-sharp *::after { border-radius: 0 !important; }
body.corners-sharp .live-pill__dot,
body.corners-sharp .mk-quote__photo,
body.corners-sharp .mk-quote__photo-link,
body.corners-sharp .mk-key-badge { border-radius: 50% !important; }

/* Auto-updating [[number]] tokens */
.mk-num { font-variant-numeric: tabular-nums; }
.mk-num.is-loading { opacity: 0.4; }

/* Media-kit style galleries on ordinary pages (About etc.) */
.gh-content > .page-gallery { margin: 32px 0; font-size: inherit; }
.gh-content > .page-gallery > .kg-gallery-card { margin: 0; }
.gh-content > .page-gallery .mk-key-legend { margin-top: 14px; }
.gh-content > .page-gallery.mk-games > ul { margin: 0; }
.gh-content > .page-gallery.mk-games li { margin: 0 !important; }

/* Cover grids: column count set by the theme script, landscape covers span two columns */
.mk-section__body.mk-games .kg-gallery-container.has-cols { grid-template-columns: repeat(var(--cover-cols, 6), minmax(0, 1fr)); grid-auto-flow: row dense; align-items: stretch; }
/* Landscape covers stay in one column, shown whole and smaller, centred in their tile */
.mk-section__body.mk-games .kg-gallery-image.is-wide { align-self: center; }
.mk-section__body.mk-games .kg-gallery-image.is-wide img { height: auto; aspect-ratio: auto; object-fit: contain; }
@media (max-width: 760px) {
    .mk-section__body.mk-games .kg-gallery-container.has-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}
