/* =========================================================================
   Jace Prism — main stylesheet
   Cinematic dark base + a single prism-spectrum accent (violet → cyan → magenta).
   To switch to a light theme, change the --jp-bg / --jp-text tokens below.
   ========================================================================= */

:root {
	/* Palette */
	--jp-bg:        #0e0e12;
	--jp-surface:   #16161d;
	--jp-surface-2: #1e1e27;
	--jp-line:      rgba(255,255,255,.09);
	--jp-line-2:    rgba(255,255,255,.14);
	--jp-text:      #f5f4f8;
	--jp-muted:     #9a99a8;
	--jp-muted-2:   #75748a;
	--jp-accent:    #7c5cff;
	--jp-accent-2:  #22d3ee;

	/* Prism gradient — the one signature flourish */
	--jp-prism: linear-gradient(135deg, #7c5cff 0%, #22d3ee 48%, #ff5ca8 100%);

	/* Type */
	--jp-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--jp-body:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

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

/* ---- 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: #fff; }

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: rgba(14,14,18,.86);
	backdrop-filter: saturate(140%) blur(10px);
	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: #fff;
}
.jace-brand__prism {
	width: 18px; height: 18px; border-radius: 5px; background: var(--jp-prism);
	box-shadow: 0 0 18px rgba(124,92,255,.55); 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: #fff; 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__list a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; color: var(--jp-muted); border: 1px solid transparent; }
.jace-social__list a:hover { color: #fff; 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: #fff; }

.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: #fff; 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: #fff; 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: #fff; 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: #fff; }
.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: #e7e6ee; }
.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: #fff; }
.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: #fff; }
.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: #fff;
}
.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: #fff; 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: #fff; 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: #fff; }

/* =========================================================================
   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; }
}
