/*
Theme Name: Jovica Flow
Theme URI: https://jovicaflow.com/
Author: Jovica Flow
Description: A men's magazine theme with a split cover story, a centered-logo split header with a full-screen section index, a full-width wordmark footer and a progress-rail table of contents. Classic PHP theme, self-hosted fonts, no jQuery on the front end.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jovica-flow
Tags: news, blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--jf-ink: #0f0f0f;
	--jf-paper: #ffffff;
	--jf-night: #111111;
	--jf-accent: #ff5a1f;
	--jf-on-accent: #0f0f0f;
	--jf-accent-ink: #b83a0b;
	--jf-muted: #595959;
	--jf-line: #e2e2e2;
	--jf-soft: #f3f3f3;
	--jf-on-night: #ffffff;
	--jf-on-night-muted: #bdbdbd;
	--jf-night-line: #2e2e2e;

	--jf-display: "Anton", Impact, "Arial Narrow Bold", "Helvetica Neue", Arial, sans-serif;
	--jf-sans: "Inter Tight Variable", "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--jf-serif: "Newsreader Variable", Newsreader, Georgia, "Times New Roman", serif;

	--jf-logo-h: 40px;
	--jf-logo-h-sm: 28px;
	--jf-wordmark: 30px;
	--jf-foot-logo-h: 48px;
	--jf-index-logo-h: 34px;

	--jf-wrap: 1320px;
	--jf-gutter: clamp(16px, 3.2vw, 40px);
	--jf-read: 780px;
	--jf-bar-h: 64px;
	--jf-radius: 0;
	--jf-rule: 3px;
	--jf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--jf-bar-h) + 16px); }
body {
	margin: 0;
	background: var(--jf-paper);
	color: var(--jf-ink);
	font-family: var(--jf-sans);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.jf-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--jf-accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--jf-accent); outline-offset: 3px; }
.jf-bar :focus-visible, .jf-index :focus-visible, .jf-cover :focus-visible, .jf-feature--split :focus-visible, .jf-foot :focus-visible, .jf-signup :focus-visible { outline-color: var(--jf-accent); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 10000; padding: 12px 18px;
	background: var(--jf-accent); color: var(--jf-on-accent); font-weight: 700; text-decoration: none;
}
#jf-main:focus { outline: none; }

.jf-container { width: 100%; max-width: var(--jf-wrap); margin-inline: auto; padding-inline: var(--jf-gutter); }

/* Buttons & small parts */
.jf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .65em 1.2em; border: 2px solid transparent;
	font-family: var(--jf-sans); font-weight: 750; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none; line-height: 1.1; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.jf-btn--ink { background: var(--jf-ink); color: var(--jf-paper); }
.jf-btn--ink:hover { background: var(--jf-accent); color: var(--jf-on-accent); }
.jf-btn--accent { background: var(--jf-accent); color: var(--jf-on-accent); }
.jf-btn--accent:hover { background: var(--jf-paper); color: var(--jf-ink); border-color: var(--jf-ink); }
.jf-btn--block { width: 100%; }
.jf-arrow-link {
	display: inline-flex; align-items: center; gap: .45em;
	font-weight: 750; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.jf-arrow-link .jf-ico { width: 18px; height: 18px; transition: transform .2s var(--jf-ease); }
.jf-arrow-link:hover .jf-ico { transform: translateX(4px); }

.jf-kicker {
	display: inline-block; margin: 0 0 1.1rem; padding: .28em .55em .24em;
	border: 1.5px solid currentColor;
	font-family: var(--jf-sans); font-size: .75rem; font-weight: 800; letter-spacing: .06em; line-height: 1.1; text-transform: uppercase;
}
.jf-kicker a { text-decoration: none; color: inherit; }
.jf-kicker--light { color: var(--jf-on-night); }
.jf-cat {
	display: inline-block; margin-bottom: .4rem;
	font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: var(--jf-accent-ink); text-decoration: none;
}
a.jf-cat:hover { text-decoration: underline; }

.jf-hl { color: var(--jf-accent); }

/* ==========================================================================
   Header — split: Menu · centered logo · actions
   ========================================================================== */
.jf-bar {
	position: relative; z-index: 900;
	background: var(--jf-ink); color: var(--jf-on-night);
	border-bottom: 1px solid var(--jf-night-line);
}
.jf-sticky .jf-bar { position: sticky; top: 0; }
.admin-bar.jf-sticky .jf-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar.jf-sticky .jf-bar { top: 0; } }
.jf-bar__in {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	max-width: var(--jf-wrap); margin-inline: auto; padding-inline: var(--jf-gutter);
	min-height: var(--jf-bar-h); transition: min-height .25s var(--jf-ease);
}
.jf-bar.is-scrolled .jf-bar__in { min-height: 54px; }
.jf-bar__left { justify-self: start; }
.jf-bar__center { justify-self: center; text-align: center; min-width: 0; }
.jf-bar__right { justify-self: end; display: flex; align-items: center; gap: 10px; }

.jf-menu-btn {
	display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 0;
	background: none; border: 0; color: inherit;
	font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.jf-burger { display: inline-grid; gap: 6px; width: 26px; }
.jf-burger span { display: block; height: 2px; background: currentColor; transition: transform .25s var(--jf-ease), width .25s var(--jf-ease); }
.jf-burger span:last-child { width: 70%; }
.jf-menu-btn:hover .jf-burger span:last-child { width: 100%; }
.jf-menu-btn:hover { color: var(--jf-accent); }

.jf-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	background: none; border: 0; color: inherit;
}
.jf-icon-btn:hover { color: var(--jf-accent); }
.jf-icon-btn .jf-ico { width: 22px; height: 22px; }
.jf-bar__cta {
	display: inline-flex; align-items: center; min-height: 34px; padding: 0 .8em;
	border: 1.5px solid currentColor; color: inherit; text-decoration: none;
	font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.jf-bar__cta:hover { background: var(--jf-accent); border-color: var(--jf-accent); color: var(--jf-on-accent); }

/* Brand */
.jf-brand { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.jf-brand__link { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.jf-brand__link:hover { color: inherit; }
.jf-brand__img { height: var(--jf-logo-h); width: auto; max-width: min(60vw, 420px); object-fit: contain; }
.jf-brand__name {
	font-family: var(--jf-display); font-size: var(--jf-wordmark); line-height: 1; letter-spacing: .02em;
	text-transform: uppercase; white-space: nowrap;
}
.jf-brand__tag { margin-top: 4px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jf-on-night-muted); }
.jf-bar--simple .jf-brand { align-items: flex-start; }

@media (max-width: 720px) {
	:root { --jf-bar-h: 56px; }
	.jf-bar__in { gap: 8px; }
	.jf-menu-btn { gap: 9px; font-size: .72rem; letter-spacing: .12em; }
	.jf-burger { width: 22px; }
	.jf-bar__cta { display: none; }
	.jf-brand__img { height: var(--jf-logo-h-sm); }
	.jf-brand__name { font-size: min(var(--jf-wordmark), 7vw); }
	.jf-brand__tag { display: none; }
}
@media (max-width: 360px) {
	.jf-menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Simple (fallback) layout */
.jf-bar--simple .jf-bar__in { grid-template-columns: auto 1fr auto; }
.jf-bar--simple .jf-bar__nav { justify-self: end; }
.jf-inline-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; }
.jf-inline-menu a { display: inline-block; padding: 10px 0; color: inherit; text-decoration: none; font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.jf-inline-menu a:hover, .jf-inline-menu .current-menu-item > a { color: var(--jf-accent); }
.jf-bar--simple .jf-menu-btn--compact { display: none; }
@media (max-width: 960px) {
	.jf-bar--simple .jf-bar__nav { display: none; }
	.jf-bar--simple .jf-menu-btn--compact { display: inline-flex; }
}

/* Search panel */
.jf-search { background: var(--jf-night); border-top: 1px solid var(--jf-night-line); }
.jf-search__in { display: flex; align-items: center; gap: 12px; padding-block: 18px; }
.jf-search .jf-searchform { flex: 1; }
.jf-searchform { display: flex; align-items: stretch; border-bottom: 2px solid currentColor; }
.jf-searchform__input {
	flex: 1; min-width: 0; padding: 10px 0; background: transparent; border: 0; color: inherit;
	font-size: 1.15rem; font-weight: 500;
}
.jf-searchform__input::placeholder { color: currentColor; opacity: .62; }
.jf-searchform__input:focus { outline: none; }
.jf-searchform:focus-within { border-bottom-color: var(--jf-accent); }
.jf-searchform__btn { display: grid; place-items: center; width: 44px; background: none; border: 0; color: inherit; }
.jf-searchform__btn:hover { color: var(--jf-accent); }

.jf-below-header { background: var(--jf-soft); padding-block: 10px; font-size: .9rem; }

/* ==========================================================================
   Full-screen index menu
   ========================================================================== */
.jf-index {
	position: fixed; inset: 0; z-index: 2000; overflow-y: auto;
	background: var(--jf-ink); color: var(--jf-on-night);
	opacity: 0; transform: translateY(-12px); transition: opacity .25s var(--jf-ease), transform .25s var(--jf-ease);
}
.jf-index.is-open { opacity: 1; transform: none; }
.jf-index[hidden] { display: none; }
.jf-index__top {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	max-width: var(--jf-wrap); margin-inline: auto; padding: 14px var(--jf-gutter);
	border-bottom: 1px solid var(--jf-night-line);
}
.jf-index__brand { color: inherit; text-decoration: none; }
.jf-index__brand:hover, .jf-brand__link:hover, .jf-foot-brand:hover { color: inherit; opacity: .85; }
.jf-index__logo { height: var(--jf-index-logo-h); width: auto; }
.jf-index__name { font-family: var(--jf-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.jf-index__close {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
	background: none; border: 0; color: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.jf-index__close:hover { color: var(--jf-accent); }
.jf-index__body {
	display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px);
	max-width: var(--jf-wrap); margin-inline: auto; padding: clamp(24px, 5vw, 64px) var(--jf-gutter) 64px;
}
.jf-index__list { list-style: none; counter-reset: jfidx; }
.jf-index__list > li { counter-increment: jfidx; border-bottom: 1px solid var(--jf-night-line); }
.jf-index__list > li > a {
	display: flex; align-items: baseline; gap: .6em; padding: .18em 0;
	font-family: var(--jf-display); font-size: clamp(2rem, 6.2vw, 4.4rem); line-height: 1.08; text-transform: uppercase;
	color: inherit; text-decoration: none;
}
.jf-index__list > li > a::before {
	content: counter(jfidx, decimal-leading-zero);
	font-family: var(--jf-sans); font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--jf-accent);
	transform: translateY(-1.4em);
}
.jf-index__list > li > a:hover, .jf-index__list .current-menu-item > a { color: var(--jf-accent); }
.jf-index__list .sub-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 14px 2.4rem; }
.jf-index__list .sub-menu a { color: var(--jf-on-night-muted); text-decoration: none; font-weight: 600; }
.jf-index__list .sub-menu a:hover { color: var(--jf-accent); }
.jf-index__side { display: grid; align-content: start; gap: 36px; }
.jf-index__small { list-style: none; display: grid; gap: 10px; }
.jf-index__small a { color: inherit; text-decoration: none; font-size: 1.05rem; font-weight: 600; }
.jf-index__small a:hover { color: var(--jf-accent); }
@media (max-width: 760px) { .jf-index__body { grid-template-columns: 1fr; } }

/* Social icons */
.jf-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.jf-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid currentColor; color: inherit; }
.jf-social a:hover { background: var(--jf-accent); border-color: var(--jf-accent); color: var(--jf-on-accent); }
.jf-social .jf-ico { width: 18px; height: 18px; }
.jf-social--light { color: var(--jf-on-night); }
.jf-social--small a { width: 34px; height: 34px; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.jf-intro { border-bottom: 1px solid var(--jf-line); }
.jf-intro__in {
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: end; gap: 12px 40px;
	padding-block: clamp(20px, 3vw, 32px);
}
.jf-intro__title {
	font-family: var(--jf-display); font-weight: 400; font-size: clamp(1.6rem, 2.9vw, 2.5rem); line-height: 1.04; text-transform: uppercase; letter-spacing: .005em;
	max-width: 20ch;
}
.jf-intro__sub { font-size: 1rem; color: var(--jf-muted); max-width: 46ch; }
.jf-intro__date { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 860px) {
	.jf-intro__in { grid-template-columns: 1fr; align-items: start; }
	.jf-intro__date { order: -1; }
}

/* Split cover story */
.jf-cover {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	background: var(--jf-night); color: var(--jf-on-night);
}
.jf-cover__panel { display: flex; align-items: center; justify-content: center; padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 64px); }
.jf-cover__text { max-width: 36rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.jf-cover__title {
	font-family: var(--jf-display); font-weight: 400; font-size: clamp(2.3rem, 4.1vw, 4.2rem); line-height: 1.0; letter-spacing: -.004em;
	text-wrap: balance;
}
.jf-cover__title a { color: inherit; text-decoration: none; }
.jf-cover__title a:hover { color: var(--jf-on-night); text-decoration: underline; text-decoration-color: var(--jf-accent); text-decoration-thickness: 4px; text-underline-offset: .12em; }
.jf-cover__dek { margin-top: 1.25rem; font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.5; color: var(--jf-on-night-muted); max-width: 34rem; text-wrap: pretty; }
.jf-cover__by { margin-top: 1.4rem; }
.jf-byline { font-size: .84rem; font-weight: 750; letter-spacing: .01em; }
.jf-byline a { color: inherit; text-decoration: none; }
.jf-byline a:hover { text-decoration: underline; color: inherit; }
.jf-byline--photo { font-weight: 600; opacity: .9; }
.jf-cover__media { position: relative; overflow: hidden; background: #1c1c1c; aspect-ratio: 3 / 2; max-height: min(72vh, 700px); width: 100%; }
.jf-cover__media a, .jf-cover__img { display: block; width: 100%; height: 100%; }
.jf-cover__img { object-fit: cover; object-position: var(--jf-focus, 50% 40%); transition: transform .8s var(--jf-ease); }
.jf-cover__media:hover .jf-cover__img { transform: scale(1.02); }
.jf-cover__media.is-empty { display: grid; place-items: center; background: linear-gradient(135deg, #1b1b1b 0 50%, #222 50% 100%); }
.jf-cover__placeholder, .jf-story__media.is-empty span { font-family: var(--jf-display); font-size: clamp(6rem, 18vw, 14rem); color: var(--jf-accent); line-height: 1; }
@media (max-width: 900px) {
	.jf-cover { grid-template-columns: 1fr; min-height: 0; }
	.jf-cover__media { order: -1; aspect-ratio: 3 / 2; max-height: none; }
	.jf-cover__panel { padding: 36px var(--jf-gutter) 44px; }
}

/* Just In strip */
.jf-justin { border-bottom: 1px solid var(--jf-line); }
.jf-justin__in { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding-block: 26px; }
.jf-justin__label {
	position: relative; padding-top: 10px;
	font-family: var(--jf-display); font-weight: 400; font-size: 1.35rem; line-height: 1; text-transform: uppercase; white-space: nowrap;
}
.jf-justin__label::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 4px; background: var(--jf-accent); }
.jf-justin__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .jf-justin__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.jf-justin__in { grid-template-columns: 1fr; gap: 16px; }
	.jf-justin__list { grid-template-columns: 1fr; gap: 16px; }
}

/* Section titles */
.jf-sec-title {
	display: block; margin-bottom: 22px; padding-top: 12px; border-top: var(--jf-rule) solid var(--jf-ink);
	font-family: var(--jf-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em;
}

/* Latest + aside */
.jf-split-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px); }
.jf-split-main__aside { display: grid; align-content: start; gap: 32px; }
@media (max-width: 1000px) { .jf-split-main { grid-template-columns: 1fr; } }

/* Grids */
.jf-grid { display: grid; gap: clamp(22px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px); }
.jf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jf-grid--lead > .jf-story--lead { grid-column: 1 / -1; }
@media (max-width: 1100px) { .jf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .jf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .jf-grid--2, .jf-grid--3, .jf-grid--4 { grid-template-columns: 1fr; } }

/* Story cards */
.jf-story { position: relative; min-width: 0; }
.jf-story__media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--jf-soft); margin-bottom: 14px; }
.jf-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--jf-ease); }
.jf-story:hover .jf-story__media img { transform: scale(1.03); }
.jf-story__media.is-empty { display: grid; place-items: center; background: var(--jf-night); }
.jf-story__media.is-empty span { font-size: 5rem; }
.jf-story__title { font-family: var(--jf-sans); font-size: 1.2rem; font-weight: 780; line-height: 1.18; letter-spacing: -.012em; text-wrap: balance; }
.jf-story__title a { color: inherit; text-decoration: none; }
.jf-story__title a:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--jf-accent); text-decoration-thickness: 2px; }
.jf-story__dek { margin-top: .5rem; font-family: var(--jf-serif); font-size: 1.02rem; line-height: 1.45; color: #333; }
.jf-story__meta { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--jf-muted); }
.jf-story__by { color: var(--jf-ink); }
.jf-story--lead .jf-story__media { aspect-ratio: 16 / 9; }
.jf-story--lead .jf-story__title { font-family: var(--jf-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: 0; }
.jf-story--lead .jf-story__dek { font-size: 1.12rem; max-width: 46rem; }
.jf-story--row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; }
.jf-story--row .jf-story__media { aspect-ratio: 1; margin: 0; }
.jf-story--row .jf-story__title { font-size: .98rem; line-height: 1.22; }
.jf-story--row .jf-cat { margin-bottom: .25rem; font-size: .66rem; }
.jf-story--row .jf-story__meta { margin-top: .35rem; font-size: .68rem; }
.jf-num-badge { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; background: var(--jf-accent); color: var(--jf-on-accent); font-family: var(--jf-display); font-size: 1.1rem; line-height: 1; }

/* Ranked (most read) */
.jf-ranked { list-style: none; display: grid; }
.jf-ranked__item { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--jf-line); }
.jf-ranked__item:first-child { padding-top: 4px; }
.jf-ranked__n { font-family: var(--jf-display); font-size: 1.7rem; line-height: 1; color: var(--jf-accent-ink); }
.jf-ranked__t { display: block; margin-bottom: .3rem; font-weight: 750; line-height: 1.25; text-decoration: none; color: inherit; }
.jf-ranked__t:hover { text-decoration: underline; color: inherit; }
.jf-ranked .jf-cat { margin: 0; font-size: .66rem; }

/* Manifesto / about band */
.jf-manifesto { background: var(--jf-soft); }
.jf-manifesto__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px clamp(28px, 5vw, 80px); padding-block: clamp(44px, 6vw, 80px); align-items: start; }
.jf-manifesto__title { font-family: var(--jf-display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .98; text-transform: uppercase; }
.jf-manifesto__text p { font-family: var(--jf-serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; margin-bottom: 1.2rem; }
@media (max-width: 800px) { .jf-manifesto__in { grid-template-columns: 1fr; } }

/* Category bands */
.jf-band { padding-block: clamp(36px, 5vw, 60px) 0; }
.jf-band:last-of-type { padding-bottom: clamp(36px, 5vw, 60px); }
.jf-band__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-top: var(--jf-rule) solid var(--jf-ink); padding-top: 12px; margin-bottom: 22px; }
.jf-band__head .jf-sec-title { border: 0; padding: 0; margin: 0; }
.jf-band__head .jf-arrow-link { padding-top: .35rem; white-space: nowrap; }

/* Newsletter band */
.jf-signup { margin-top: clamp(36px, 5vw, 60px); background: var(--jf-night); color: var(--jf-on-night); scroll-margin-top: calc(var(--jf-bar-h) + 8px); }
.jf-signup__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(44px, 6vw, 80px); }
.jf-signup__title { font-family: var(--jf-display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; text-transform: uppercase; }
.jf-signup__text { margin-top: .9rem; color: var(--jf-on-night-muted); font-size: 1.05rem; max-width: 40ch; }
@media (max-width: 800px) { .jf-signup__in { grid-template-columns: 1fr; } }
.jf-form { display: flex; gap: 0; border: 2px solid currentColor; }
.jf-form input[type="email"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; background: transparent; border: 0; color: inherit; font-size: 1rem; }
.jf-form input[type="email"]::placeholder { color: currentColor; opacity: .65; }
.jf-form input[type="email"]:focus { outline: none; }
.jf-form:focus-within { border-color: var(--jf-accent); }
.jf-form .jf-btn { min-height: 52px; border: 0; }
.jf-form__note { margin-top: .6rem; font-size: .8rem; opacity: .8; }
@media (max-width: 420px) { .jf-form { flex-direction: column; } .jf-form .jf-btn { width: 100%; } }
.jf-more-link { display: flex; justify-content: center; padding-block: 40px; }

/* ==========================================================================
   Archives & pages
   ========================================================================== */
.jf-archive-head, .jf-page-head { border-bottom: 1px solid var(--jf-line); padding-block: clamp(28px, 4vw, 52px) clamp(22px, 3vw, 36px); }
.jf-archive-head__title, .jf-page-head__title {
	font-family: var(--jf-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .98; text-transform: uppercase; letter-spacing: .005em;
}
.jf-archive-head__desc, .jf-page-head__dek { margin-top: 1rem; max-width: 60ch; font-family: var(--jf-serif); font-size: 1.2rem; color: #333; }
.jf-archive-head__search { margin-top: 1.4rem; max-width: 560px; }
.jf-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(32px, 4vw, 56px); }
.jf-has-sidebar .jf-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.jf-sidebar-left .jf-layout .jf-layout__aside { order: -1; }
.jf-has-sidebar.jf-sidebar-left .jf-layout { grid-template-columns: 320px minmax(0, 1fr); }
@media (max-width: 1000px) {
	.jf-has-sidebar .jf-layout, .jf-has-sidebar.jf-sidebar-left .jf-layout { grid-template-columns: 1fr; }
	.jf-sidebar-left .jf-layout .jf-layout__aside { order: 0; }
}
.jf-page .jf-layout__main { max-width: var(--jf-read); }
.jf-no-sidebar .jf-page .jf-layout__main { margin-inline: auto; width: 100%; }
.jf-page__img { margin-bottom: 28px; }
.entry-content--wide { max-width: none; padding-block: 40px; }

/* Breadcrumbs: slashes */
.jf-trail { margin-bottom: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jf-trail__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.jf-trail__item { display: inline-flex; align-items: center; min-width: 0; }
.jf-trail__item + .jf-trail__item::before { content: "/"; margin: 0 .6em; opacity: .55; }
.jf-trail a { color: inherit; text-decoration: none; }
.jf-trail a:hover { text-decoration: underline; }
.jf-trail [aria-current] { opacity: .7; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jf-feature--split .jf-trail { color: var(--jf-on-night-muted); }
@media (max-width: 600px) { .jf-trail__item:last-child:not(:first-child) { display: none; } }

/* Pagination */
.jf-pages, .navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border: 1.5px solid var(--jf-ink); color: var(--jf-ink); text-decoration: none; font-weight: 750; font-size: .9rem;
}
.page-numbers.current, .page-numbers:hover { background: var(--jf-ink); color: var(--jf-paper); }
.page-numbers.dots { border-color: transparent; }

/* Empty states & 404 */
.jf-none { padding-block: clamp(40px, 6vw, 80px); max-width: 640px; }
.jf-none__title { font-family: var(--jf-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; line-height: 1.02; margin-bottom: 1rem; }
.jf-none p { margin-bottom: 1.2rem; font-size: 1.05rem; color: #333; }
.jf-404 { background: var(--jf-night); color: var(--jf-on-night); }
.jf-404__in { padding-block: clamp(56px, 9vw, 120px); max-width: 860px; }
.jf-404 .jf-404__code { margin: 0; font-family: var(--jf-display); font-size: clamp(6rem, 20vw, 13rem); line-height: .85; color: var(--jf-accent); }
.jf-404__title { margin: 1rem 0; font-family: var(--jf-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; line-height: 1; }
.jf-404 p { margin-bottom: 1.4rem; color: var(--jf-on-night-muted); max-width: 52ch; }
.jf-404 .jf-searchform { max-width: 520px; margin-bottom: 1.6rem; }
.jf-404 .jf-arrow-link { color: var(--jf-on-night); }
.jf-more { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--jf-line); }

/* ==========================================================================
   Single post
   ========================================================================== */
.jf-feature--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--jf-night); color: var(--jf-on-night); }
.jf-feature--split.no-media { grid-template-columns: 1fr; min-height: 0; }
.jf-feature__panel { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 4.5vw, 64px) clamp(24px, 4vw, 64px); }
.jf-feature--split .jf-feature__text { max-width: 38rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.jf-feature--split .jf-trail__list { justify-content: center; }
.jf-feature__title { font-family: var(--jf-display); font-weight: 400; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; letter-spacing: -.004em; text-wrap: balance; }
.jf-feature__dek { margin-top: 1.25rem; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.5; max-width: 36rem; text-wrap: pretty; }
.jf-feature--split .jf-feature__dek { color: var(--jf-on-night-muted); }
.jf-feature__by { margin-top: 1.4rem; display: grid; gap: 4px; }
.jf-feature__media { position: relative; overflow: hidden; background: #1c1c1c; aspect-ratio: 16 / 10; max-height: min(64vh, 620px); width: 100%; }
.jf-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--jf-focus, 50% 40%); }
.jf-feature__media figcaption { position: absolute; right: 0; bottom: 0; max-width: 80%; padding: 6px 10px; background: rgba(0, 0, 0, .72); color: #fff; font-size: .72rem; }
.jf-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.jf-feature--split .jf-meta { color: var(--jf-on-night-muted); }
.jf-meta__sep { margin: 0 .6em; opacity: .55; }
.jf-revised { color: inherit; }
@media (max-width: 900px) {
	.jf-feature--split { grid-template-columns: 1fr; min-height: 0; }
	.jf-feature__media { order: -1; aspect-ratio: 3 / 2; max-height: none; }
	.jf-feature__panel { padding: 32px var(--jf-gutter) 40px; }
}
.jf-feature--stacked { padding-top: clamp(28px, 4vw, 56px); }
.jf-feature--stacked .jf-feature__text > * { max-width: 980px; }
.jf-feature--stacked + .jf-chips { margin-top: 24px; border-top: 1px solid var(--jf-line); }
.jf-feature--stacked .jf-feature__dek { color: #333; font-family: var(--jf-serif); font-size: 1.3rem; }
.jf-feature--stacked .jf-meta { justify-content: flex-start; color: var(--jf-muted); }
.jf-feature__wide { margin-top: 32px; }
.jf-feature__wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.jf-feature__wide figcaption { margin-top: 8px; font-size: .8rem; color: var(--jf-muted); }

/* Reading grid: rail · body · (aside) */
.jf-read {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--jf-read)) minmax(0, 1fr);
	gap: 0 clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px);
}
.jf-read__body { grid-column: 2; min-width: 0; }
.jf-read--aside { grid-template-columns: 200px minmax(0, var(--jf-read)) minmax(260px, 320px); justify-content: center; }
.jf-read--aside .jf-layout__aside { grid-column: 3; }
@media (min-width: 1181px) {
.jf-read--aside.jf-read--norail { grid-template-columns: minmax(0, var(--jf-read)) minmax(260px, 320px); }
.jf-read--aside.jf-read--norail .jf-read__body { grid-column: 1; }
.jf-read--aside.jf-read--norail .jf-layout__aside { grid-column: 2; }
.jf-sidebar-left .jf-read--aside.jf-read--norail { grid-template-columns: minmax(260px, 320px) minmax(0, var(--jf-read)); }
.jf-sidebar-left .jf-read--aside.jf-read--norail .jf-read__body { grid-column: 2; }
.jf-sidebar-left .jf-read--aside.jf-read--norail .jf-layout__aside { grid-column: 1; }
}
.jf-sidebar-left .jf-read--aside { grid-template-columns: minmax(260px, 320px) minmax(0, var(--jf-read)) 200px; }
.jf-sidebar-left .jf-read--aside .jf-layout__aside { grid-column: 1; grid-row: 1; }
.jf-sidebar-left .jf-read--aside .jf-rail { grid-column: 3; }
.jf-rail { grid-column: 1; grid-row: 1 / span 3; justify-self: end; width: 100%; max-width: 220px; }
.jf-rail-inline { display: none; }
@media (max-width: 1180px) {
	.jf-read, .jf-read--aside, .jf-sidebar-left .jf-read--aside { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
	.jf-read__body { grid-column: 1; max-width: var(--jf-read); width: 100%; margin-inline: auto; }
	.jf-read--aside .jf-layout__aside, .jf-sidebar-left .jf-read--aside .jf-layout__aside { grid-column: 1; grid-row: auto; max-width: var(--jf-read); width: 100%; margin: 40px auto 0; }
	.jf-rail { display: none; }
	.jf-rail-inline { display: block; grid-column: 1; max-width: var(--jf-read); width: 100%; margin-inline: auto; }
}

/* TOC — progress rail with dots */
.jf-rail { position: sticky; top: calc(var(--jf-bar-h) + 28px); align-self: start; }
.admin-bar .jf-rail { top: calc(var(--jf-bar-h) + 60px); }
.jf-rail__label { margin-bottom: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.jf-track { list-style: none; position: relative; }
.jf-rail .jf-track::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--jf-line); }
.jf-track__stop { position: relative; }
.jf-track__stop a {
	position: relative; display: block; padding: 6px 0 6px 26px;
	font-size: .86rem; font-weight: 600; line-height: 1.3; color: var(--jf-muted); text-decoration: none;
}
.jf-track__stop a::before {
	content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 12px; border-radius: 50%;
	background: var(--jf-paper); border: 2px solid #9a9a9a; transition: background .2s, border-color .2s, transform .2s;
}
.jf-track__stop--h3 a { padding-left: 40px; font-size: .8rem; }
.jf-track__stop--h3 a::before { left: 2px; width: 8px; height: 8px; top: .8em; }
.jf-track__stop a:hover { color: var(--jf-ink); }
.jf-track__stop.is-done a::before { background: var(--jf-ink); border-color: var(--jf-ink); }
.jf-track__stop.is-current a { color: var(--jf-ink); }
.jf-track__stop.is-current a::before { background: var(--jf-accent); border-color: var(--jf-accent); transform: scale(1.25); }

/* TOC — inline panel */
.jf-piece { margin: 0 0 32px; border-top: var(--jf-rule) solid var(--jf-ink); border-bottom: 1px solid var(--jf-line); }
.entry-content .jf-piece { margin: 2rem 0; }
.jf-piece__toggle {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 0;
	background: none; border: 0; text-align: left;
}
.jf-piece__title { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.jf-piece__count { font-size: .78rem; color: var(--jf-muted); }
.jf-piece__chev { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.jf-piece.is-open .jf-piece__chev { transform: rotate(-135deg); }
.jf-piece__body { padding: 0 0 14px; }
.jf-piece .jf-track::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--jf-line); }
.jf-piece .jf-track__stop a { font-family: var(--jf-sans); }

/* TOC — chips */
.jf-chips { border-bottom: 1px solid var(--jf-line); }
.jf-chips__in { display: flex; align-items: center; gap: 14px; padding-block: 12px; overflow-x: auto; scrollbar-width: thin; }
.jf-chips__label { flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.jf-chips__list { list-style: none; display: flex; gap: 8px; }
.jf-chips__list a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--jf-ink); white-space: nowrap; font-size: .82rem; font-weight: 650; text-decoration: none; }
.jf-chips__list a:hover { background: var(--jf-ink); color: var(--jf-paper); }

/* Article body */
.entry-content { font-family: var(--jf-serif); font-size: clamp(1.1rem, 1.05rem + .25vw, 1.22rem); line-height: 1.66; color: #161616; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content :where(ul, ol) { padding-left: 1.3em; }
.entry-content :where(li) + :where(li) { margin-top: .35em; }
.entry-content :where(a) { color: inherit; text-decoration-color: var(--jf-accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.entry-content :where(a):hover { color: var(--jf-accent-ink); }
.entry-content :where(h2) { margin-top: 2.1em; font-family: var(--jf-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.04; letter-spacing: .002em; color: var(--jf-ink); scroll-margin-top: calc(var(--jf-bar-h) + 24px); }
.entry-content :where(h3) { margin-top: 1.8em; font-family: var(--jf-sans); font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; scroll-margin-top: calc(var(--jf-bar-h) + 24px); }
.entry-content > :where(h2, h3, h4) + * { margin-top: .55em; }
.entry-content :where(h4) { margin-top: 1.6em; font-family: var(--jf-sans); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.entry-content :where(blockquote:not(.jf-pull)) { padding-left: 1.1em; border-left: 3px solid var(--jf-ink); font-style: italic; }
.entry-content :where(img) { height: auto; }
.entry-content :where(figcaption) { margin-top: .5em; font-family: var(--jf-sans); font-size: .8rem; color: var(--jf-muted); }
.entry-content :where(hr) { border: 0; height: 3px; width: 64px; background: var(--jf-ink); margin: 2.4em auto; }
.entry-content :where(table) { width: 100%; border-collapse: collapse; font-family: var(--jf-sans); font-size: .92rem; }
.entry-content :where(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--jf-line); text-align: left; }
.entry-content :where(th) { border-bottom: 2px solid var(--jf-ink); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.entry-content :where(pre, code) { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; }
.entry-content :where(pre) { padding: 16px; background: var(--jf-soft); overflow-x: auto; }
.entry-content .alignwide { max-width: none; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; }
@media (min-width: 1181px) {
	.jf-read:not(.jf-read--aside) .entry-content .alignwide { margin-inline: -120px; }
}
.has-dropcap .entry-content > p:first-of-type::first-letter {
	float: left; margin: .06em .1em 0 0; font-family: var(--jf-display); font-size: 4.6em; line-height: .82; color: var(--jf-ink);
}
.jf-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.jf-tags a { display: inline-block; padding: 6px 12px; background: var(--jf-soft); font-size: .8rem; font-weight: 650; text-decoration: none; }
.jf-tags a:hover { background: var(--jf-ink); color: var(--jf-paper); }
.jf-after-post { margin-top: 36px; }
.jf-note { margin-top: 32px; padding: 16px 18px; background: var(--jf-soft); font-size: .9rem; }
.jf-page-links { margin-top: 24px; display: flex; gap: 8px; font-weight: 700; }

/* Author sign-off */
.jf-signoff { margin-top: 48px; padding-top: 18px; border-top: var(--jf-rule) solid var(--jf-ink); }
.jf-signoff__head { display: flex; align-items: center; gap: 16px; }
.jf-signoff__name { font-family: var(--jf-display); font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.jf-signoff__role { margin-top: 4px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--jf-accent-ink); }
.jf-signoff__bio { margin-top: 14px; font-family: var(--jf-serif); font-size: 1.05rem; line-height: 1.55; }
.jf-signoff__bio p + p { margin-top: .7em; }
.jf-signoff__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; }
.jf-signoff__link { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration-color: var(--jf-accent); text-decoration-thickness: 2px; }
.jf-avatar { flex: 0 0 88px; width: 88px; height: 88px; overflow: hidden; background: var(--jf-soft); }
.jf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.jf-avatar--round { border-radius: 50%; }

/* Post navigation */
.jf-postnav, .post-navigation { margin-top: 44px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: grid; gap: 6px; height: 100%; padding: 16px 0; border-top: 1px solid var(--jf-line); text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.jf-postnav__label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--jf-muted); }
.jf-postnav__title { font-weight: 750; line-height: 1.25; }
@media (max-width: 560px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }

/* Comments */
.jf-comments { margin-top: 48px; font-family: var(--jf-sans); }
.jf-comments__title, .comment-reply-title { font-family: var(--jf-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; margin-bottom: 18px; }
.jf-comments__list, .jf-comments__list .children { list-style: none; }
.jf-comments__list .children { padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--jf-line); }
.comment-author img { float: left; margin-right: 12px; }
.comment-meta { font-size: .82rem; margin-bottom: 8px; }
.comment-form label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--jf-ink); background: var(--jf-paper); }
.comment-form p { margin-bottom: 14px; }

/* ==========================================================================
   Shortcodes: chart, stat, quote, gear
   ========================================================================== */
.jf-chart { margin: 2em 0; padding: 18px 0; border-top: var(--jf-rule) solid var(--jf-ink); border-bottom: 1px solid var(--jf-line); font-family: var(--jf-sans); }
.jf-chart__title { margin-bottom: 14px; font-weight: 800; font-size: 1rem; line-height: 1.3; }
.jf-chart__rows { list-style: none; display: grid; gap: 10px; padding: 0 !important; }
.jf-chart__row { display: grid; grid-template-columns: minmax(80px, 34%) 1fr auto; gap: 12px; align-items: center; margin: 0 !important; font-size: .86rem; }
.jf-chart__label { font-weight: 600; }
.jf-chart__track { height: 14px; background: var(--jf-soft); }
.jf-chart__fill { display: block; height: 100%; width: var(--w); background: var(--jf-ink); transition: width 1s var(--jf-ease); }
.jf-anim .jf-chart:not(.is-in) .jf-chart__fill { width: 0; }
.jf-chart__row.is-hi .jf-chart__fill { background: var(--jf-accent); }
.jf-chart__row.is-mute .jf-chart__fill { background: #b9b9b9; }
.jf-chart__row.is-mute { color: var(--jf-muted); }
.jf-chart__val { font-weight: 800; font-variant-numeric: tabular-nums; }
.jf-chart__cols { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; align-items: end; height: 220px; padding: 0 !important; }
.jf-chart__col { display: grid; grid-template-rows: auto 1fr auto; height: 100%; margin: 0 !important; text-align: center; font-size: .78rem; }
.jf-chart__col .jf-chart__bar { align-self: end; display: block; height: var(--h); background: var(--jf-ink); transition: height 1s var(--jf-ease); }
.jf-anim .jf-chart:not(.is-in) .jf-chart__bar { height: 0; }
.jf-chart__col.is-hi .jf-chart__bar { background: var(--jf-accent); }
.jf-chart__col.is-mute .jf-chart__bar { background: #b9b9b9; }
.jf-chart__col .jf-chart__label { margin-top: 6px; font-weight: 600; overflow-wrap: anywhere; }
.jf-chart__svg { width: 100%; height: auto; overflow: visible; }
.jf-chart__axis { stroke: var(--jf-line); stroke-width: 2; }
.jf-chart__line { fill: none; stroke: var(--jf-ink); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--jf-ease); }
.jf-anim .jf-chart:not(.is-in) .jf-chart__line { stroke-dashoffset: 1; }
.jf-chart__dot { fill: var(--jf-paper); stroke: var(--jf-ink); stroke-width: 2.5; }
.jf-chart__dot.is-hi { fill: var(--jf-accent); stroke: var(--jf-accent); }
.jf-chart__tick { font-size: 13px; fill: var(--jf-muted); font-family: var(--jf-sans); }
.jf-chart__num { font-size: 13px; font-weight: 800; fill: var(--jf-ink); font-family: var(--jf-sans); }
.jf-chart__donut { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; }
.jf-chart__ring { width: 160px; height: 160px; transform: rotate(0deg); }
.jf-chart__hole { fill: none; }
.jf-chart__seg { fill: none; stroke-width: 7; }
.jf-seg-0 { stroke: var(--jf-ink); background: var(--jf-ink); }
.jf-seg-1 { stroke: var(--jf-accent); background: var(--jf-accent); }
.jf-seg-2 { stroke: #8c8c8c; background: #8c8c8c; }
.jf-seg-3 { stroke: #c9c9c9; background: #c9c9c9; }
.jf-seg-4 { stroke: #5b3424; background: #5b3424; }
.jf-chart__seg.is-mute { stroke: #dcdcdc; }
.jf-chart__legend { list-style: none; display: grid; gap: 8px; padding: 0 !important; font-size: .86rem; }
.jf-chart__legend li { margin: 0 !important; display: flex; align-items: center; gap: 8px; }
.jf-chart__key { width: 12px; height: 12px; flex: none; }
@media (max-width: 480px) { .jf-chart__donut { grid-template-columns: 1fr; } .jf-chart__ring { margin-inline: auto; } }
.jf-chart__trend { margin-top: 12px; font-weight: 700; font-size: .86rem; }
.jf-chart__foot { margin-top: 12px; display: grid; gap: 4px; font-size: .76rem; color: var(--jf-muted); }
.jf-source a { color: inherit; }

.jf-stat { margin: 2em 0; padding: 20px 0; border-top: var(--jf-rule) solid var(--jf-ink); border-bottom: 1px solid var(--jf-line); font-family: var(--jf-sans); }
.jf-stat__value { font-family: var(--jf-display); font-size: clamp(3rem, 7vw, 4.6rem); line-height: .95; color: var(--jf-ink); }
.jf-stat__label { margin-top: 8px; font-weight: 750; font-size: 1.02rem; line-height: 1.3; }
.jf-stat__note { margin-top: 6px; font-size: .86rem; color: var(--jf-muted); }
.jf-stat .jf-source { margin-top: 8px; font-size: .76rem; color: var(--jf-muted); }

.jf-pull { margin: 2.2em 0; padding: 0 0 0 22px; border-left: 6px solid var(--jf-accent); }
.jf-pull p { font-family: var(--jf-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.06; color: var(--jf-ink); font-style: normal; }
.jf-pull cite { display: block; margin-top: 10px; font-family: var(--jf-sans); font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.jf-gear { display: grid; grid-template-columns: 140px 1fr; gap: 20px; margin: 2em 0; padding: 18px; border: 2px solid var(--jf-ink); font-family: var(--jf-sans); }
.jf-gear__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.jf-gear:not(:has(.jf-gear__media)) { grid-template-columns: 1fr; }
.jf-gear__verdict { display: inline-block; margin-bottom: 8px; padding: 3px 8px; background: var(--jf-accent); color: var(--jf-on-accent); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jf-gear__name { font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.jf-gear__price { margin-top: 4px; font-weight: 700; color: var(--jf-muted); }
.jf-gear__why { margin-top: 10px; font-family: var(--jf-serif); font-size: 1rem; }
.jf-gear .jf-btn { margin-top: 14px; }
@media (max-width: 480px) { .jf-gear { grid-template-columns: 1fr; } }

/* ==========================================================================
   Widgets
   ========================================================================== */
.widget { min-width: 0; }
.widget + .widget { margin-top: 0; }
.widget-title {
	margin-bottom: 16px; padding-top: 10px; border-top: var(--jf-rule) solid var(--jf-ink);
	font-family: var(--jf-display); font-weight: 400; font-size: 1.4rem; line-height: 1; text-transform: uppercase;
}
.sidebar { display: grid; align-content: start; gap: 36px; }
.sidebar .widget ul:not([class]) { list-style: none; }
.sidebar .widget ul:not([class]) li { padding: 8px 0; border-bottom: 1px solid var(--jf-line); }
.sidebar .widget ul:not([class]) a { text-decoration: none; font-weight: 600; }
.jf-wauthor { container-type: inline-size; }
.jf-wauthor__head { display: flex; align-items: center; gap: 14px; }
.jf-wauthor .jf-avatar { flex-basis: 72px; width: 72px; height: 72px; }
.jf-wauthor__name { font-family: var(--jf-display); font-size: 1.35rem; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.jf-wauthor__role { margin-top: 4px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--jf-accent-ink); }
.jf-wauthor__bio { margin-top: 12px; font-family: var(--jf-serif); font-size: 1rem; }
.jf-wauthor__links { list-style: none; display: grid; gap: 2px; margin: 12px 0 16px; }
.jf-wauthor__links a { display: block; padding: 6px 0; border-bottom: 1px solid var(--jf-line); font-size: .82rem; font-weight: 750; text-decoration: none; }
.jf-wauthor__links a:hover { color: var(--jf-accent-ink); }
.jf-wauthor .jf-social { margin-top: 14px; }
@container (max-width: 230px) {
	.jf-wauthor__head { flex-direction: column; align-items: flex-start; }
}
.jf-wsignup { padding: 18px; background: var(--jf-night); color: var(--jf-on-night); }
.jf-wsignup p { margin-bottom: 12px; font-size: .95rem; }
.jf-wsignup .jf-form { flex-direction: column; }
.jf-wsignup .jf-form .jf-btn { width: 100%; }
.jf-wabout__img { margin-bottom: 12px; width: 100%; }
.jf-wabout p { margin-bottom: 12px; font-family: var(--jf-serif); font-size: 1.02rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.jf-foot { background: var(--jf-ink); color: var(--jf-on-night); }
.jf-foot a { color: inherit; }
.jf-foot a:hover { color: var(--jf-accent); }
.jf-foot-label { margin-bottom: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--jf-on-night-muted); }

/* Wordmark pattern */
.jf-foot--mark { padding-top: clamp(28px, 4vw, 44px); }
.jf-foot-mark__strip {
	display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px 36px;
	padding-bottom: 22px; border-bottom: 1px solid var(--jf-night-line);
}
.jf-foot-mark__mission { font-family: var(--jf-serif); font-style: italic; font-size: 1.15rem; color: var(--jf-on-night-muted); max-width: 40ch; }
.jf-strip-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.jf-strip-links a { display: inline-block; padding: 6px 0; text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jf-foot-mark__strip .jf-legal--column, .jf-foot-mark__strip .jf-legal--inline { grid-column: 1 / -1; }
.jf-foot-mark__word { position: relative; display: block; margin-block: clamp(18px, 3vw, 34px) clamp(10px, 2vw, 20px); color: var(--jf-on-night); text-decoration: none; }
.jf-wordmark { display: block; width: 100%; height: auto; overflow: visible; }
.jf-wordmark text { font-family: var(--jf-display); font-size: 186px; fill: currentColor; }
.jf-wordmark .jf-hl { fill: var(--jf-accent); }
.jf-foot-mark__word:hover { color: var(--jf-on-night); }
.jf-foot-mark__word:hover .jf-wordmark text { fill: var(--jf-accent); }
.jf-foot-mark__word:hover .jf-wordmark .jf-hl { fill: var(--jf-on-night); }
.jf-foot-logo { height: var(--jf-foot-logo-h); width: auto; }
.jf-foot-icon .jf-ico { width: 28px; height: 28px; }
@media (max-width: 860px) {
	.jf-foot-mark__strip { grid-template-columns: 1fr; }
}

.jf-foot-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
	padding-block: 18px 28px; border-top: 1px solid var(--jf-night-line);
	font-size: .78rem; color: var(--jf-on-night-muted);
}
.jf-foot--mark .jf-foot-bar { border-top: 0; padding-top: 6px; }
.jf-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.jf-legal a { text-decoration: none; }
.jf-legal a:hover { text-decoration: underline; }
.jf-legal--column ul { flex-direction: column; }
.jf-legal--inline { font-size: .85rem; color: var(--jf-on-night-muted); }
.jf-foot-bar__widgets .widget-title { border: 0; padding: 0; font-size: 1rem; }

/* Colophon pattern */
.jf-foot--colophon { padding-top: clamp(44px, 6vw, 80px); }
.jf-colophon { display: grid; justify-items: center; gap: 22px; text-align: center; }
.jf-foot-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.jf-foot-name { font-family: var(--jf-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; text-transform: uppercase; }
.jf-foot-name .jf-hl { color: var(--jf-accent); }
.jf-foot-brand .jf-foot-icon { color: var(--jf-accent); }
.jf-colophon__text { max-width: 62ch; font-family: var(--jf-serif); font-size: 1.2rem; line-height: 1.55; color: var(--jf-on-night-muted); }
.jf-colophon__text a { color: var(--jf-on-night); text-decoration-color: var(--jf-accent); }
.jf-foot--colophon .jf-foot-bar { width: 100%; }

/* Columns pattern */
.jf-foot--columns { padding-top: clamp(40px, 5vw, 64px); }
.jf-foot-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(var(--cols), minmax(0, 1fr)) auto; gap: 32px; padding-bottom: 36px; }
.jf-foot-cols__mission { margin: 14px 0 18px; color: var(--jf-on-night-muted); max-width: 34ch; }
.jf-foot-list { list-style: none; display: grid; gap: 8px; }
.jf-foot-list a, .jf-foot .widget a { text-decoration: none; }
.jf-foot .widget-title { border-top-color: var(--jf-on-night); font-size: 1.1rem; }
.jf-foot .jf-searchform { color: var(--jf-on-night); }
@media (max-width: 960px) { .jf-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jf-foot-cols__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .jf-foot-cols { grid-template-columns: 1fr; } }

/* Back to top */
.jf-top {
	position: fixed; right: 16px; bottom: 16px; z-index: 800;
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
	background: var(--jf-ink); color: var(--jf-paper); border: 1.5px solid var(--jf-paper);
	font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.jf-top[hidden] { display: none; }
.jf-top:hover { background: var(--jf-accent); color: var(--jf-on-accent); border-color: var(--jf-accent); }
.jf-top .jf-ico { width: 16px; height: 16px; }

/* WordPress core classes */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .8rem; color: var(--jf-muted); }
.sticky, .bypostauthor { position: relative; }
.alignnone { margin: 0; }

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

@media print {
	.jf-bar, .jf-index, .jf-foot, .jf-top, .jf-rail, .jf-rail-inline, .jf-signup, .jf-more, .sidebar { display: none !important; }
	.jf-feature--split { display: block; background: none; color: #000; min-height: 0; }
}

/* Core block widgets in sidebars (WordPress adds Search / Recent Posts by default) */
.sidebar .wp-block-heading, .sidebar .wp-block-group h2 {
	margin-bottom: 16px; padding-top: 10px; border-top: var(--jf-rule) solid var(--jf-ink);
	font-family: var(--jf-display); font-weight: 400; font-size: 1.4rem; line-height: 1; text-transform: uppercase;
}
.wp-block-search__label { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wp-block-search__inside-wrapper { display: flex; border: 2px solid var(--jf-ink); }
.wp-block-search__input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; background: transparent; }
.wp-block-search__button { margin: 0; min-height: 44px; padding: 0 14px; border: 0; background: var(--jf-ink); color: var(--jf-paper); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wp-block-search__button:hover { background: var(--jf-accent); color: var(--jf-on-accent); }
.sidebar .wp-block-latest-posts, .sidebar .wp-block-latest-comments, .sidebar .wp-block-archives, .sidebar .wp-block-categories { list-style: none; padding: 0; margin: 0; }
.sidebar .wp-block-latest-posts li, .sidebar .wp-block-archives li, .sidebar .wp-block-categories li, .sidebar .wp-block-latest-comments li { padding: 10px 0; border-bottom: 1px solid var(--jf-line); margin: 0; }
.sidebar .wp-block-latest-posts a, .sidebar .wp-block-archives a, .sidebar .wp-block-categories a { font-weight: 700; line-height: 1.3; text-decoration: none; }
.sidebar .wp-block-latest-posts a:hover, .sidebar .wp-block-categories a:hover { text-decoration: underline; color: inherit; }
.sidebar .wp-block-group + .wp-block-group, .sidebar .widget_block + .widget_block { margin-top: 0; }
.no-comments, .wp-block-latest-comments + p { font-size: .9rem; color: var(--jf-muted); }

/* Phones: a logo image plus the title text would collide with Menu/Search, so the text steps back (still read by screen readers). */
@media (max-width: 720px) {
	.jf-brand.has-logo .jf-brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.jf-brand__img { max-width: 46vw; }
	.jf-bar__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}
