/* =========================================================================
   Jace Prism — main stylesheet
   Light theme: white background, black text (v6). No dark mode.
   ========================================================================= */

:root {
	/* Palette — light "newspaper" look to match Console Game Stuff (v5) */
	--jp-bg:        #ffffff;
	--jp-surface:   #f7f7f7;
	--jp-surface-2: #eeeeee;
	--jp-line:      #e6e6e6;
	--jp-line-2:    #dcdcdc;
	--jp-text:      #222222;
	--jp-ink:       #000000;
	--jp-muted:     #767676;
	--jp-muted-2:   #8f8f8f;
	--jp-accent:    #222222;   /* category tags, buttons */
	--jp-accent-2:  #4db2ec;   /* links + hover highlight */

	/* Former prism gradient, now flat */
	--jp-prism: linear-gradient(#222222, #222222);

	/* Type */
	--jp-display: "Roboto", ui-sans-serif, system-ui, sans-serif;
	--jp-body:    "Open Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--jp-article: "Roboto", Arial, Helvetica, sans-serif;

	/* Metrics */
	--jp-container: 1100px;
	--jp-gap:       clamp(1rem, 2.5vw, 1.75rem);
	--jp-radius:    0px;
	--jp-radius-sm: 0px;
}

/* ---- Reset-ish base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--jp-ink); }

h1, h2, h3, h4 { font-family: var(--jp-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }

.jace-container { width: 100%; max-width: var(--jp-container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* Accessibility */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--jp-accent); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--jp-accent-2); outline-offset: 2px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.jace-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
	border-bottom: 1px solid var(--jp-line);
}

/* Utility bar */
.jace-topbar { border-bottom: 1px solid var(--jp-line); font-size: .78rem; }
.jace-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.jace-topbar__date { color: var(--jp-muted); letter-spacing: .01em; }
.jace-topbar__right { display: flex; align-items: center; gap: .75rem; }

.jace-search-toggle {
	display: inline-grid; place-items: center; width: 34px; height: 34px;
	background: transparent; border: 1px solid var(--jp-line-2); border-radius: 8px;
	color: var(--jp-text); cursor: pointer; transition: border-color .15s, background .15s;
}
.jace-search-toggle:hover { background: var(--jp-surface-2); border-color: var(--jp-accent); }

/* Main bar */
.jace-mainbar__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
	min-height: 72px;
}
.jace-brand { display: flex; align-items: center; }
.jace-brand__text {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--jp-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--jp-ink);
}
.jace-brand__prism {
	width: 18px; height: 18px; border-radius: 5px; background: var(--jp-prism);
	 flex: 0 0 auto;
}
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 48px; width: auto; }

/* Nav */
.jace-nav { justify-self: end; }
.jace-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.jace-nav__list li { position: relative; }
.jace-nav__list a {
	display: block; padding: .55rem .8rem; font-size: .82rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: .06em; color: var(--jp-muted); border-radius: 8px;
	transition: color .15s, background .15s;
}
.jace-nav__list a:hover,
.jace-nav__list .current-menu-item > a,
.jace-nav__list .current_page_item > a { color: var(--jp-ink); background: var(--jp-surface-2); }

/* Nav underline flourish on hover */
.jace-nav__list > li > a::after {
	content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px;
	background: var(--jp-prism); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.jace-nav__list > li > a:hover::after,
.jace-nav__list > li.current-menu-item > a::after { transform: scaleX(1); }

/* Sub menus */
.jace-nav__list ul.sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 200px; display: none;
	background: var(--jp-surface); border: 1px solid var(--jp-line); border-radius: 10px; padding: .35rem;
	box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.jace-nav__list li:hover > ul.sub-menu { display: block; }
.jace-nav__list ul.sub-menu a { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--jp-text); }
.jace-nav__list ul.sub-menu a::after { display: none; }

/* Burger */
.jace-burger { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--jp-line-2); border-radius: 9px; cursor: pointer; padding: 0; }
.jace-burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--jp-text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.jace-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.jace-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jace-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Search panel */
.jace-search-panel { border-top: 1px solid var(--jp-line); background: var(--jp-surface); padding: 1rem 0; }
.jace-searchform { display: flex; gap: .5rem; max-width: 640px; margin-inline: auto; }
.jace-searchform__input {
	flex: 1; background: var(--jp-bg); border: 1px solid var(--jp-line-2); border-radius: 10px;
	color: var(--jp-text); padding: .8rem 1rem; font-size: 1rem; font-family: var(--jp-body);
}
.jace-searchform__input::placeholder { color: var(--jp-muted-2); }
.jace-searchform__submit {
	background: var(--jp-accent); color: #fff; border: 0; border-radius: 10px; padding: .8rem 1.3rem;
	font-weight: 600; cursor: pointer; font-family: var(--jp-body);
}
.jace-searchform__submit:hover { filter: brightness(1.1); }

/* Social menu */
.jace-social__list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.jace-social__link {
	display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
	color: var(--jp-text); border: 1px solid var(--jp-line-2);
	transition: color .15s, background .15s, border-color .15s;
}
.jace-social__link:hover { color: var(--jp-ink); background: var(--jp-surface-2); border-color: var(--jp-accent); }
.jace-social__icon { display: inline-flex; line-height: 0; }
.jace-social__link svg,
.jace-social__icon svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.jace-social--footer .jace-social__list { flex-wrap: wrap; }
/* Legacy menu-based fallback links */
.jace-social__list a:not(.jace-social__link) { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--jp-muted); border: 1px solid var(--jp-line-2); }
.jace-social__list a:not(.jace-social__link):hover { color: var(--jp-ink); background: var(--jp-surface-2); }

/* =========================================================================
   LAYOUT PRIMITIVES
   ========================================================================= */
.jace-main { display: block; }
.jace-home { padding-block: clamp(1.5rem, 4vw, 2.75rem) 3rem; }

.jace-section-title {
	position: relative; font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 0 0 1.1rem;
	display: flex; align-items: center; gap: .8rem;
}
.jace-section-title > span { position: relative; padding-left: 14px; }
.jace-section-title > span::before {
	content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 5px; border-radius: 3px; background: var(--jp-prism);
}
.jace-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.jace-section-more { font-size: .82rem; font-weight: 600; color: var(--jp-accent-2); text-transform: uppercase; letter-spacing: .05em; }
.jace-section-more:hover { color: var(--jp-ink); }

.jace-block { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.jace-block__more { margin-top: 1.5rem; }

.jace-btn {
	display: inline-block; background: var(--jp-surface-2); border: 1px solid var(--jp-line-2);
	color: var(--jp-ink); padding: .7rem 1.3rem; border-radius: 10px; font-weight: 600; font-size: .9rem;
	transition: border-color .15s, background .15s;
}
.jace-btn:hover { border-color: var(--jp-accent); background: var(--jp-surface); }

/* Grids */
.jace-grid { display: grid; gap: var(--jp-gap); }
.jace-grid--cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.jace-grid--game { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* =========================================================================
   CARDS
   ========================================================================= */
.jace-card { position: relative; }
.jace-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--jp-radius); background: var(--jp-surface); aspect-ratio: 16 / 10; }
.jace-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.jace-card__media:hover img { transform: scale(1.05); }

.jace-card__body { padding-top: .85rem; }
.jace-card__title { font-size: 1.05rem; line-height: 1.3; margin: .35rem 0 .4rem; }
.jace-card__title a { color: var(--jp-text); background-image: linear-gradient(var(--jp-accent-2), var(--jp-accent-2)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s, color .15s; }
.jace-card__title a:hover { color: var(--jp-ink); background-size: 100% 2px; }
.jace-card__excerpt { color: var(--jp-muted); font-size: .92rem; margin: 0 0 .55rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Category badge */
.jace-cat {
	display: inline-block; font-family: var(--jp-body); font-size: .68rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .08em; color: var(--jp-accent-2);
	padding: .2rem .5rem; border: 1px solid var(--jp-line-2); border-radius: 6px;
}
.jace-cat:hover { color: var(--jp-ink); border-color: var(--jp-accent); }

/* Meta row */
.jace-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .78rem; color: var(--jp-muted-2); margin-top: .3rem; }
.jace-meta__author { color: var(--jp-muted); }
.jace-meta__dot { color: var(--jp-muted-2); }
.jace-views { display: inline-flex; align-items: center; gap: .28rem; }
.jace-views__icon { opacity: .8; }

/* Rank numeral */
.jace-rank {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	font-family: var(--jp-display); font-weight: 700; font-size: 1.05rem; line-height: 1;
	min-width: 30px; height: 30px; padding: 0 .35rem; display: inline-grid; place-items: center;
	color: #0b0b12; background: var(--jp-prism); border-radius: 8px;
}
.jace-rank--inline { position: static; display: inline-grid; margin-right: .5rem; }

/* Hero (large) card */
.jace-card--large .jace-card__media { aspect-ratio: 16 / 9; border-radius: var(--jp-radius); }
.jace-card--large .jace-card__title { font-size: clamp(1.5rem, 3.2vw, 2.15rem); margin-top: .6rem; }
.jace-card--large .jace-card__excerpt { font-size: 1rem; -webkit-line-clamp: 3; max-width: 60ch; }

/* Small card variant (used in numbered list) */
.jace-card--small { display: grid; grid-template-columns: 132px 1fr; gap: 1rem; align-items: start; }
.jace-card--small .jace-card__media { aspect-ratio: 4 / 3; border-radius: var(--jp-radius-sm); }
.jace-card--small .jace-card__body { padding-top: 0; }
.jace-card--small .jace-card__title { font-size: 1rem; margin: .3rem 0; }
.jace-card--small .jace-rank { top: 6px; left: 6px; font-size: .9rem; min-width: 26px; height: 26px; }

/* =========================================================================
   HOME — FEATURED BLOCK
   ========================================================================= */
.jace-featured__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 2.75rem); align-items: start; }
.jace-featured__list { list-style: none; margin: 1.75rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--jp-line); display: grid; gap: 1.25rem; }
.jace-featured__list-item { }

/* =========================================================================
   TOP VIEWS RAIL — the prism side line
   ========================================================================= */
.jace-rail { position: relative; padding-left: 1.5rem; }
.jace-rail::before {
	content: ""; position: absolute; left: 0; top: .2rem; bottom: .2rem; width: 4px;
	border-radius: 4px; background: var(--jp-prism); box-shadow: 0 0 20px rgba(124,92,255,.4);
}
.jace-rail__title { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--jp-muted); margin: 0 0 1.1rem; }
.jace-rail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.jace-rail__item { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--jp-line); }
.jace-rail__item:last-child { border-bottom: 0; padding-bottom: 0; }
.jace-rail__num { font-family: var(--jp-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--jp-muted-2); background: linear-gradient(180deg, var(--jp-accent), var(--jp-accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.jace-rail__content { min-width: 0; }
.jace-rail__link { display: block; font-family: var(--jp-display); font-weight: 500; font-size: .95rem; line-height: 1.3; color: var(--jp-text); margin: .25rem 0 .3rem; }
.jace-rail__link:hover { color: var(--jp-ink); }
.jace-rail__views { font-size: .74rem; color: var(--jp-muted-2); }

/* =========================================================================
   PAGE HERO (Streaming)
   ========================================================================= */
.jace-page-hero { padding: 1rem 0 1.75rem; border-bottom: 1px solid var(--jp-line); margin-bottom: 2rem; }
.jace-page-hero__title { font-size: clamp(2rem, 6vw, 3.25rem); margin: 0; }
.jace-page-hero__sub { color: var(--jp-muted); font-size: 1.05rem; margin: .4rem 0 0; }
.jace-streaming__top { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(1.5rem, 4vw, 2.75rem); align-items: start; }

/* =========================================================================
   SINGLE POST — no sidebar, centered reading column
   ========================================================================= */
.jace-single { padding-block: clamp(1.5rem, 4vw, 2.5rem) 3.5rem; }
.jace-article__hero { margin: 0 0 1.75rem; border-radius: var(--jp-radius); overflow: hidden; }
.jace-article__hero img { width: 100%; }

.jace-article__header { max-width: 760px; margin: 0 auto 1.75rem; text-align: center; }
.jace-article__cats { margin-bottom: .9rem; }
.jace-article__title { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.jace-article__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; color: var(--jp-muted); font-size: .85rem; margin-top: 1rem; }
.jace-article__author { display: inline-flex; align-items: center; gap: .5rem; color: var(--jp-text); }
.jace-avatar { border-radius: 50%; }

/* Body typography */
.jace-article__body { max-width: 720px; margin: 0 auto; font-size: 1.09rem; line-height: 1.8; }
.jace-article__body > * { margin-bottom: 1.35rem; }
.jace-article__body p { color: var(--jp-text); }
.jace-article__body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.4rem; }
.jace-article__body h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-top: 2rem; color: var(--jp-ink); }
.jace-article__body h4 { font-size: 1.15rem; margin-top: 1.6rem; }
.jace-article__body a { color: var(--jp-accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.jace-article__body a:hover { color: var(--jp-ink); }
.jace-article__body img { border-radius: var(--jp-radius-sm); margin-inline: auto; }
.jace-article__body figure { margin: 2rem auto; }
.jace-article__body figcaption { text-align: center; font-size: .82rem; color: var(--jp-muted-2); margin-top: .6rem; font-style: italic; }
.jace-article__body ul, .jace-article__body ol { padding-left: 1.4rem; }
.jace-article__body li { margin-bottom: .6rem; }
.jace-article__body blockquote {
	margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 4px solid transparent;
	border-image: var(--jp-prism) 1; font-size: 1.2rem; font-family: var(--jp-display); color: var(--jp-ink);
}
.jace-article__body code { background: var(--jp-surface-2); padding: .15em .4em; border-radius: 5px; font-size: .9em; }
.jace-article__body pre { background: var(--jp-surface); border: 1px solid var(--jp-line); border-radius: 10px; padding: 1.1rem; overflow: auto; }
.jace-article__body hr { border: 0; border-top: 1px solid var(--jp-line); margin: 2.5rem 0; }

.jace-article__tags { max-width: 720px; margin: 2rem auto 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.jace-article__tags a { font-size: .78rem; color: var(--jp-muted); border: 1px solid var(--jp-line-2); padding: .3rem .7rem; border-radius: 20px; }
.jace-article__tags a:hover { color: var(--jp-ink); border-color: var(--jp-accent); }

/* Share */
.jace-share { max-width: 720px; margin: 2.25rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--jp-line); display: flex; align-items: center; gap: .6rem; }
.jace-share__label { font-size: .85rem; color: var(--jp-muted); margin-right: .3rem; }
.jace-share__btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--jp-surface-2); border: 1px solid var(--jp-line-2); color: var(--jp-text); font-family: var(--jp-display); font-weight: 700; }
.jace-share__btn:hover { color: var(--jp-ink); border-color: var(--jp-accent); background: var(--jp-surface); }

/* Prev / Next */
.jace-postnav { max-width: 900px; margin: 2.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.jace-postnav__link { padding: 1.1rem 1.3rem; border: 1px solid var(--jp-line); border-radius: var(--jp-radius); background: var(--jp-surface); transition: border-color .15s, transform .15s; }
.jace-postnav__link:hover { border-color: var(--jp-accent); transform: translateY(-2px); }
.jace-postnav__next { text-align: right; }
.jace-postnav__dir { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--jp-accent-2); margin-bottom: .35rem; }
.jace-postnav__title { font-family: var(--jp-display); font-weight: 500; color: var(--jp-text); }
.jace-postnav__link:only-child { grid-column: 1 / -1; }

/* Related */
.jace-related { margin: 3.25rem auto 0; max-width: var(--jp-container); }

/* =========================================================================
   ARCHIVE / SEARCH / LISTING
   ========================================================================= */
.jace-archive__head { margin-bottom: 1.75rem; }
.jace-archive__title { font-size: clamp(1.8rem, 4vw, 2.75rem); margin: 0; }
.jace-archive__title .jace-archive__term { color: var(--jp-accent-2); }
.jace-archive__desc { color: var(--jp-muted); margin-top: .5rem; }
.jace-archive__lead { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(1.5rem,4vw,2.75rem); align-items: start; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--jp-line); }

.jace-pagination { margin-top: 2.5rem; }
.jace-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.jace-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem;
	border: 1px solid var(--jp-line-2); border-radius: 9px; color: var(--jp-text); font-weight: 600;
}
.jace-pagination .page-numbers:hover { border-color: var(--jp-accent); }
.jace-pagination .page-numbers.current { background: var(--jp-prism); color: #0b0b12; border-color: transparent; }
.jace-pagination .page-numbers.dots { border: 0; }

.jace-empty { text-align: center; padding: 3rem 0; }
.jace-empty .jace-searchform { margin-top: 1.5rem; }

/* Generic page.php */
.jace-page { padding-block: clamp(1.5rem,4vw,2.5rem) 3.5rem; }
.jace-page__header { max-width: 760px; margin: 0 auto 1.75rem; }
.jace-page__title { font-size: clamp(1.9rem, 4.5vw, 2.75rem); }
.jace-page__body { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.jace-page__body > * { margin-bottom: 1.3rem; }
.jace-page__body a { color: var(--jp-accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.jace-404 { text-align: center; padding: 4rem 0; }
.jace-404__code { font-family: var(--jp-display); font-size: clamp(4rem, 15vw, 9rem); line-height: 1; background: var(--jp-prism); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0; }

/* =========================================================================
   COMMENTS
   ========================================================================= */
.jace-comments { max-width: 760px; margin: 3rem auto 0; }
.jace-comments__title { font-size: 1.4rem; margin-bottom: 1.5rem; }
.jace-comments .comment-list { list-style: none; margin: 0; padding: 0; }
.jace-comments .comment-list li { margin-bottom: 1.25rem; padding: 1.1rem; background: var(--jp-surface); border: 1px solid var(--jp-line); border-radius: var(--jp-radius-sm); }
.jace-comments .comment-list .children { list-style: none; margin: 1rem 0 0 1.25rem; padding: 0; }
.jace-comments .comment-author { font-weight: 600; }
.jace-comments .comment-metadata { font-size: .78rem; color: var(--jp-muted-2); }
.jace-comment-respond { margin-top: 2rem; }
.jace-comment-respond input[type="text"], .jace-comment-respond input[type="email"], .jace-comment-respond input[type="url"], .jace-comment-respond textarea {
	width: 100%; background: var(--jp-bg); border: 1px solid var(--jp-line-2); border-radius: 9px; color: var(--jp-text); padding: .7rem .9rem; font-family: var(--jp-body); margin-bottom: 1rem;
}
.jace-comment-respond .submit { background: var(--jp-accent); color: #fff; border: 0; border-radius: 9px; padding: .75rem 1.4rem; font-weight: 600; cursor: pointer; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.jace-footer { background: var(--jp-surface); border-top: 1px solid var(--jp-line); margin-top: 4rem; }
.jace-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-block: 3rem; }
.jace-footer__about { color: var(--jp-muted); font-size: .92rem; max-width: 42ch; margin: 1rem 0 0; }
.jace-brand__text--footer { font-size: 1.35rem; }
.jace-footer__heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--jp-muted); margin: 0 0 1rem; }
.jace-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.jace-footer__list a { color: var(--jp-text); font-size: .92rem; }
.jace-footer__list a:hover { color: var(--jp-accent-2); }
.jace-footer__muted { color: var(--jp-muted-2); font-size: .85rem; }
.jace-footer__bar { border-top: 1px solid var(--jp-line); }
.jace-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.jace-footer__copy { color: var(--jp-muted); font-size: .82rem; margin: 0; }
.jace-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; font-size: .82rem; }
.jace-footer__legal a { color: var(--jp-muted); }
.jace-footer__legal a:hover { color: var(--jp-ink); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
	.jace-featured__grid,
	.jace-streaming__top,
	.jace-archive__lead { grid-template-columns: 1fr; }
	.jace-rail { padding-left: 0; padding-top: 1.5rem; border-top: 1px solid var(--jp-line); }
	.jace-rail::before { left: 0; top: -1px; right: 0; bottom: auto; width: auto; height: 4px; }
}

@media (max-width: 900px) {
	.jace-burger { display: block; }
	.jace-mainbar__inner { grid-template-columns: auto 1fr; }
	.jace-brand { justify-self: start; }
	.jace-nav {
		position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); z-index: 200;
		background: var(--jp-surface); border-left: 1px solid var(--jp-line);
		transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
		padding: 5rem 1.25rem 2rem; overflow-y: auto;
	}
	.jace-nav.is-open { transform: translateX(0); box-shadow: -30px 0 60px rgba(0,0,0,.5); }
	.jace-nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
	.jace-nav__list a { padding: .85rem 1rem; font-size: .95rem; }
	.jace-nav__list > li > a::after { display: none; }
	.jace-nav__list ul.sub-menu { position: static; display: block; background: transparent; border: 0; box-shadow: none; padding-left: 1rem; }
	body.jace-nav-open { overflow: hidden; }
	body.jace-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 150; }
	.jace-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
	.jace-topbar__date { display: none; }
	.jace-card--small { grid-template-columns: 96px 1fr; gap: .8rem; }
	.jace-postnav { grid-template-columns: 1fr; }
	.jace-postnav__next { text-align: left; }
	body { font-size: 16px; }
}

/* =========================================================================
   v4 — BLOG IMAGE SIZING
   Trailer screenshots are 16:9 and often huge (1920–4K). Keep them tight
   on desktop and edge-friendly on mobile.
   ========================================================================= */

/* Single-post hero: capped width + locked 16:9 so it never dominates the fold. */
.jace-article__hero {
	max-width: 960px;
	margin: 0 auto 1.75rem;
	aspect-ratio: 16 / 9;
	max-height: 62vh;
	background: var(--jp-surface);
}
.jace-article__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* In-content images: stay inside the 720px reading column, never taller
   than ~70% of the viewport, regardless of inline width/height attrs. */
.jace-article__body img,
.jace-article__body .wp-block-image img,
.jace-article__body video {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 70vh;
	object-fit: contain;
}
.jace-article__body figure,
.jace-article__body .wp-block-image {
	max-width: 100%;
	width: auto !important; /* beats editor inline widths */
}
.jace-article__body .wp-block-image.size-full img,
.jace-article__body .wp-block-image.size-large img { width: 100%; }

/* Wide / full alignments: modest break-out, not 1920px banners. */
.jace-article__body .alignwide,
.jace-article__body .alignfull {
	width: min(960px, 100vw - 2rem) !important;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}
.jace-article__body .alignwide img,
.jace-article__body .alignfull img { width: 100%; max-height: 75vh; }

/* Left/right floats stay small and readable. */
.jace-article__body .alignleft,
.jace-article__body .alignright { max-width: 45%; }
.jace-article__body .alignleft  { float: left;  margin: .3rem 1.5rem 1rem 0; }
.jace-article__body .alignright { float: right; margin: .3rem 0 1rem 1.5rem; }

/* Galleries: uniform 16:9 tiles. */
.jace-article__body .wp-block-gallery img { aspect-ratio: 16 / 9; object-fit: cover; max-height: none; }

/* Embeds (YouTube trailers) match the image width. */
.jace-article__body .wp-block-embed,
.jace-article__body iframe { max-width: 100%; }

@media (max-width: 760px) {
	.jace-article__hero {
		max-height: none;
		margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); /* edge-to-edge */
		border-radius: 0;
	}
	.jace-article__body img,
	.jace-article__body .wp-block-image img { max-height: none; width: 100%; }
	.jace-article__body .alignwide,
	.jace-article__body .alignfull {
		width: 100% !important; margin-left: 0; transform: none;
	}
	.jace-article__body .alignleft,
	.jace-article__body .alignright { float: none; max-width: 100%; margin: 1.5rem 0; }
	.jace-article__body figure { margin: 1.5rem 0; }
}

/* v5 */
.jace-archive__page { color: var(--jp-muted); font-size: .95rem; margin: .3rem 0 0; }

/* =========================================================================
   v5 — SINGLE POST, matched to Console Game Stuff
   Left-aligned, 1000px column: text and featured image share one width.
   ========================================================================= */
.jace-single { padding-block: 1.5rem 3.5rem; }
.jace-article { max-width: 1000px; margin: 0 auto; }

.jace-crumbs ol { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .82rem; color: var(--jp-muted); }
.jace-crumbs li:not(:last-child)::after { content: "›"; margin-left: .35rem; }
.jace-crumbs a:hover { color: var(--jp-accent-2); }

.jace-article__header { max-width: none; margin: 0 0 1.5rem; text-align: left; }
.jace-article__cats { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.jace-tag {
	display: inline-block; background: #222; color: #fff; font-family: var(--jp-body);
	font-size: .72rem; line-height: 1; padding: .32rem .5rem .36rem;
}
.jace-tag:hover { background: var(--jp-accent-2); color: #fff; }

.jace-article__title {
	font-family: var(--jp-display); font-weight: 400; color: #111;
	font-size: clamp(2rem, 4.2vw, 2.85rem); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 1.4rem;
}

.jace-article__meta { justify-content: space-between; margin: 0 0 1.4rem; font-family: var(--jp-body); font-size: .8rem; }
.jace-article__byline { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.jace-avatar { width: 24px; height: 24px; }
.jace-article__by { color: #444; }
.jace-article__author { font-weight: 700; color: #000; margin-right: .6rem; }
.jace-article__author:hover { color: var(--jp-accent-2); }
.jace-article__date { color: #444; }
.jace-article__stats { display: flex; align-items: center; gap: 1.4rem; color: #444; }
.jace-article__stats .jace-views__icon { width: 17px; height: 17px; }
.jace-article__comments { display: inline-flex; align-items: center; gap: .35rem; color: #444; }

/* Share bar */
.jace-sharebar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.jace-sharebar__label {
	position: relative; display: inline-flex; align-items: center; gap: .9rem; height: 48px; padding: 0 1.1rem;
	border: 1px solid #e9e9e9; color: #222; font-family: var(--jp-body); font-weight: 600; font-size: .82rem; margin-right: 1rem;
}
.jace-sharebar__label::after {
	content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; background: #fff;
	border-top: 1px solid #e9e9e9; border-right: 1px solid #e9e9e9; transform: translateY(-50%) rotate(45deg);
}
.jace-sharebar__label svg { padding-right: .9rem; border-right: 1px solid #e9e9e9; box-sizing: content-box; }
.jace-sharebar__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; color: #fff; border-radius: 2px; transition: filter .15s; }
.jace-sharebar__btn:hover { color: #fff; filter: brightness(1.12); }
.jace-sharebar__btn--facebook  { background: #516eab; }
.jace-sharebar__btn--pinterest { background: #ca212a; }
.jace-sharebar__btn--reddit    { background: #f54200; }
.jace-sharebar__btn--tumblr    { background: #3e5a70; }
.jace-article__share-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--jp-line); }


/* Featured image: same width as the text, 16:9-ish like the 1000x555 trailer stills */
.jace-article__hero {
	max-width: 1000px; max-height: none; aspect-ratio: 1000 / 555;
	margin: 0 0 2rem; border-radius: 0; background: var(--jp-surface);
}

/* Body */
.jace-article__body { max-width: none; margin: 0; font-family: var(--jp-article); font-size: 1.12rem; line-height: 1.85; color: #222; }
.jace-article__body p { color: #222; }
.jace-article__body strong, .jace-article__body b { color: #111; font-weight: 700; }
.jace-article__body h2, .jace-article__body h3, .jace-article__body h4 { font-family: var(--jp-display); font-weight: 400; color: #111; }
.jace-article__body h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 2.4rem 0 1.2rem; }
.jace-article__body h3 { font-size: clamp(1.35rem, 2.8vw, 1.65rem); }
.jace-article__body a { color: var(--jp-accent-2); }
.jace-article__body a:hover { color: #000; }
.jace-article__body img { border-radius: 0; }
.jace-article__body blockquote { color: #111; }
.jace-article__body .alignwide,
.jace-article__body .alignfull { width: 100% !important; margin-left: 0; transform: none; }
.jace-article__tags { max-width: none; }
.jace-postnav, .jace-related, .jace-comments { max-width: 1000px; margin-inline: auto; }

/* Light-theme fixes for shared components */
.jace-nav__list a { color: #000; font-family: var(--jp-body); font-weight: 700; font-size: .88rem; letter-spacing: 0; }
.jace-nav__list a:hover { color: var(--jp-accent-2); background: transparent; }
.jace-card__title a:hover { color: var(--jp-accent-2); }
.jace-cat { color: #fff; background: #222; border: 0; border-radius: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
.jace-cat:hover { color: #fff; background: var(--jp-accent-2); }
.jace-rail__num { -webkit-text-fill-color: currentColor; background: none; color: #222; }
.jace-footer { background: #fff; color: #222; border-top: 1px solid var(--jp-line); }
.jace-footer a, .jace-footer .jace-brand__text { color: #000; }
.jace-footer a:hover { color: var(--jp-accent-2); }
.jace-footer__muted, .jace-footer__copy { color: #767676; }
body.jace-nav-open::after { background: rgba(0,0,0,.35); }

@media (max-width: 760px) {
	.jace-article__title { font-size: 2.2rem; }
	.jace-article__meta { font-size: .95rem; }
	.jace-sharebar__btn { width: 56px; height: 56px; }
	.jace-sharebar__label > span { display: none; }
	.jace-sharebar__label svg { padding-right: 0; border-right: 0; }
	.jace-sharebar__label { height: 56px; }
	.jace-article__hero { margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); aspect-ratio: 1000 / 555; }
	.jace-article__body { font-size: 1.15rem; }
}

/* =========================================================================
   v6 — WHITE EVERYWHERE, no dark mode
   ========================================================================= */
html, body { background: #fff !important; color: #222; color-scheme: light; }
.jace-header, .jace-topbar, .jace-mainbar, .jace-search-panel, .jace-footer, .jace-footer__bar { background: #fff; color: #222; }
.jace-topbar__date { color: #767676; }
.jace-brand__text { color: #000; }
.jace-search-toggle, .jace-social__link { color: #000; border-color: #e6e6e6; background: #fff; }
.jace-nav { background: #fff; }
.jace-card, .jace-card__body { color: #222; }
.jace-card__title a, .jace-rail__link { color: #111; }
h1, h2, h3, h4, .jace-section-title, .jace-archive__title { color: #111; }
.jace-comments, .jace-comments input, .jace-comments textarea { color: #222; }
.jace-comments input, .jace-comments textarea { background: #fff; border: 1px solid #dcdcdc; }
.jace-comment-respond .submit { background: #222; color: #fff; border-radius: 0; }
.jace-searchform__input { background: #fff; color: #222; border: 1px solid #dcdcdc; }
.jace-searchform__submit { background: #222; color: #fff; }
.jace-postnav__link { background: #fff; border-color: #e6e6e6; color: #111; }

/* v7 — original share row restored (light) */
.jace-share { max-width: none; margin: 2.25rem 0 0; }
.jace-share__btn { background: #fff; border: 1px solid #dcdcdc; color: #111; border-radius: 9px; }
.jace-share__btn:hover { color: #fff; background: #222; border-color: #222; }
