/* PALMFIT Blog templates (Rey Child) — v3.0.0
   Rules here only target the template's own elements (class prefix "pfj-").
   Post content inside .pfj-custom is never styled by this file, so posts
   built with their own HTML + CSS render exactly as written. */

#pfj {
	--pf-red: #ed1b2e;
	--pf-ink: #212322;
	--pf-paper: #f7f7f7;
	--pf-white: #ffffff;
	--pf-muted: #6b6f6d;
	--pf-border: #e3e1dd;
	--pf-dark: #141414;
	--pf-dark-2: #1c1d1b;
	--pf-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--pf-body: "Figtree", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--pf-max: 1200px;
	--pf-gutter: 28px;
	background: var(--pf-white);
	overflow-x: clip;
}

/* Template parts only — typography and resets never reach .pfj-custom. */
#pfj :is(.pfj-hero, .pfj-inner, .pfj-grid-wrap, .pfj-body, .pfj-related, .pfj-comments) {
	font-family: var(--pf-body);
	color: var(--pf-ink);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
:where(#pfj) :where(.pfj-hero, .pfj-inner, .pfj-grid-wrap, .pfj-body, .pfj-related, .pfj-comments),
:where(#pfj) :where(.pfj-hero, .pfj-inner, .pfj-grid-wrap, .pfj-body, .pfj-related, .pfj-comments) * { box-sizing: border-box; }
/* Zero-specificity link reset, so every component's own colour wins. */
:where(#pfj) :where(.pfj-hero, .pfj-inner, .pfj-grid-wrap, .pfj-related, .pfj-after) a { color: inherit; text-decoration: none; }
#pfj .pfj-hero .pfj-inner { color: var(--pf-white); }
#pfj .pfj-card, #pfj .pfj-featured, #pfj .pfj-tab, #pfj .pfj-cta { text-decoration: none; }
#pfj .pfj-art img, #pfj .pfj-card img { max-width: 100%; display: block; }

#pfj .pfj-inner {
	max-width: none;
	width: 100%;
	margin: 0;
	padding-left: var(--pf-gutter);
	padding-right: var(--pf-gutter);
	position: relative;
}

/* ---------- shared ---------- */
#pfj .pfj-art {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(120% 140% at 15% 10%, rgba(255,255,255,.14), transparent 55%),
		linear-gradient(155deg, #2b2d2b 0%, #171817 55%, #0e0f0e 100%);
}
#pfj .pfj-art::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 7px);
}
#pfj .pfj-art.is-red { background: linear-gradient(155deg, #c8101f 0%, #ed1b2e 45%, #8f0c17 100%); }
#pfj .pfj-art.is-red::before { display: none; }
#pfj .pfj-art img {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
	object-fit: cover;
	/* featured images are square graphics: headline on top, product photo below */
	object-position: center 78%;
}
#pfj .pfj-mark {
	position: absolute; left: 10px; bottom: -10px;
	font-family: var(--pf-display); font-weight: 800; font-size: 90px; line-height: 1;
	color: rgba(255,255,255,.08); white-space: nowrap; pointer-events: none;
}
#pfj .pfj-pill {
	display: inline-block; align-self: flex-start;
	background: var(--pf-red); color: var(--pf-white);
	font-family: var(--pf-display); font-weight: 600; text-transform: uppercase;
	letter-spacing: .06em; font-size: 11px; line-height: 1.3;
	padding: 5px 11px; border-radius: 3px; margin: 0 0 14px;
}
#pfj .pfj-meta {
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
	font-size: 12.5px; color: rgba(255,255,255,.55); margin: 0 0 22px;
}
#pfj .pfj-avatar {
	width: 26px; height: 26px; border-radius: 50%; flex: none;
	background: var(--pf-red); color: var(--pf-white);
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--pf-display); font-weight: 700; font-size: 11px; line-height: 1;
}
#pfj .pfj-dot { opacity: .5; }

/* ================= LISTING ================= */
#pfj .pfj-hero { background: var(--pf-dark); color: var(--pf-white); position: relative; overflow: hidden; padding: 56px 0 0; }
#pfj .pfj-watermark {
	position: absolute; top: 6px;
	left: var(--pf-gutter);
	font-family: var(--pf-display); font-weight: 800; font-size: 150px; line-height: 1;
	letter-spacing: 2px; text-transform: uppercase; white-space: nowrap;
	color: rgba(255,255,255,.045); pointer-events: none;
}
#pfj .pfj-hero-inner { position: relative; max-width: 640px; }
#pfj .pfj-eyebrow {
	color: var(--pf-red); font-family: var(--pf-display); font-weight: 600;
	text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; margin: 0 0 10px;
}
#pfj .pfj-hero-title {
	color: var(--pf-white); font-family: var(--pf-display); font-weight: 700;
	font-size: clamp(38px, 6vw, 60px); line-height: .96; letter-spacing: 0;
	text-transform: uppercase; margin: 0 0 14px;
}
#pfj .pfj-hero-lede { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.6; max-width: 46ch; margin: 0 0 32px; }
#pfj .pfj-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 20px; position: relative; }
#pfj .pfj-tabs::-webkit-scrollbar { display: none; }
#pfj .pfj-tab {
	flex: none; font-family: var(--pf-display); font-weight: 600; text-transform: uppercase;
	letter-spacing: .05em; font-size: 12.5px; line-height: 1.2; padding: 9px 18px;
	border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75);
	transition: background .15s, color .15s, border-color .15s;
}
#pfj .pfj-tab:hover { border-color: rgba(255,255,255,.5); color: var(--pf-white); }
#pfj .pfj-tab.is-active { background: var(--pf-white); color: var(--pf-ink); border-color: var(--pf-white); }

#pfj .pfj-featured {
	margin: 30px 0 48px; border-radius: 10px; overflow: hidden;
	display: grid; grid-template-columns: 1.15fr 1fr; background: var(--pf-ink); min-height: 360px;
}
#pfj .pfj-featured .pfj-art { min-height: 360px; }
#pfj .pfj-featured-copy { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; color: var(--pf-white); }
#pfj .pfj-featured-title {
	color: var(--pf-white); font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	font-size: clamp(26px, 3.2vw, 36px); line-height: 1.02; letter-spacing: 0; margin: 0 0 12px;
}
#pfj .pfj-featured-text { color: rgba(255,255,255,.65); font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; max-width: 46ch; }
#pfj .pfj-cta {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	background: var(--pf-white); color: var(--pf-ink);
	font-family: var(--pf-display); font-weight: 600; text-transform: uppercase;
	letter-spacing: .05em; font-size: 12.5px; padding: 11px 20px; border-radius: 999px;
	transition: background .15s, color .15s;
}
#pfj .pfj-featured:hover .pfj-cta { background: var(--pf-red); color: var(--pf-white); }

#pfj .pfj-grid-wrap { background: var(--pf-paper); padding: 0 0 54px; }
#pfj .pfj-grid-head { display: flex; align-items: baseline; justify-content: space-between; padding-top: 44px; margin-bottom: 20px; }
#pfj .pfj-grid-head h2 {
	font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	font-size: 22px; line-height: 1.1; letter-spacing: .01em; margin: 0; color: var(--pf-ink);
}
#pfj .pfj-grid-head span { font-size: 12.5px; color: var(--pf-muted); }
#pfj .pfj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

#pfj .pfj-card {
	display: block; background: var(--pf-white); border: 1px solid var(--pf-border);
	border-radius: 10px; overflow: hidden; color: var(--pf-ink);
	transition: transform .2s, box-shadow .2s;
}
#pfj .pfj-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
#pfj .pfj-card .pfj-art { height: auto; aspect-ratio: 16 / 9; }
#pfj .pfj-card .pfj-pill { position: absolute; left: 12px; bottom: 12px; margin: 0; z-index: 1; }
#pfj .pfj-card-body { padding: 18px 18px 20px; }
#pfj .pfj-card-title {
	font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	font-size: 18px; line-height: 1.08; letter-spacing: 0; margin: 0 0 8px; color: var(--pf-ink);
}
#pfj .pfj-card-text { font-size: 13.5px; line-height: 1.55; color: var(--pf-muted); margin: 0 0 14px; }
#pfj .pfj-card .pfj-meta { color: var(--pf-muted); margin: 0; }
#pfj .pfj-card .pfj-avatar { background: var(--pf-ink); }
#pfj .pfj-empty { color: var(--pf-muted); }

#pfj .pfj-loadmore { text-align: center; padding-top: 44px; }
#pfj .pfj-loadmore button {
	font-family: var(--pf-display); font-weight: 600; text-transform: uppercase;
	letter-spacing: .05em; font-size: 13px; line-height: 1.2; padding: 13px 30px;
	border: 1.5px solid var(--pf-ink); border-radius: 999px;
	background: transparent; color: var(--pf-ink); cursor: pointer;
	transition: background .15s, color .15s;
}
#pfj .pfj-loadmore button:hover { background: var(--pf-ink); color: var(--pf-white); }
#pfj .pfj-loadmore button:disabled { opacity: .5; cursor: default; }

/* ================= SINGLE ================= */
#pfj.pfj-single { padding-top: 24px; }
#pfj .pfj-post-head { border-radius: 10px; overflow: hidden; position: relative; margin: 0 0 34px; }
#pfj .pfj-post-head .pfj-art { height: clamp(420px, 38vw, 680px); }
#pfj .pfj-post-head .pfj-art img { object-position: center 80%; }
#pfj .pfj-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 34%, rgba(10,10,10,.2) 54%, rgba(10,10,10,.92) 100%);
}
#pfj .pfj-crumb {
	position: absolute; top: 24px; left: 50px; right: 50px; z-index: 2;
	font-size: 12.5px; color: rgba(255,255,255,.75);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#pfj .pfj-crumb a { color: var(--pf-white); text-decoration: underline; }
#pfj .pfj-corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--pf-white); opacity: .85; z-index: 2; }
#pfj .pfj-corner.is-tl { top: 14px; left: 14px; border-width: 3px 0 0 3px; }
#pfj .pfj-corner.is-tr { top: 14px; right: 14px; border-width: 3px 3px 0 0; }
#pfj .pfj-corner.is-bl { bottom: 14px; left: 14px; border-width: 0 0 3px 3px; }
#pfj .pfj-corner.is-br { bottom: 14px; right: 14px; border-width: 0 3px 3px 0; }
#pfj .pfj-hero-copy { position: absolute; left: 50px; right: 50px; bottom: 44px; z-index: 2; }
#pfj .pfj-post-title {
	color: var(--pf-white); font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	font-size: clamp(26px, 4.4vw, 40px); line-height: 1.04; letter-spacing: 0; margin: 0 0 16px; max-width: 20ch;
}
#pfj .pfj-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.72); }
#pfj .pfj-byline-name { color: var(--pf-white); font-weight: 600; }
#pfj .pfj-share {
	margin-left: auto; width: 34px; height: 34px; padding: 0;
	border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
	background: transparent; color: var(--pf-white);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; line-height: 1; cursor: pointer;
}
#pfj .pfj-share:hover { background: rgba(255,255,255,.12); }

/* Hand-built HTML/CSS posts: full width, untouched. */
#pfj .pfj-custom { width: 100%; }
/* Store product cards swapped in for a post's hand-built product rail. */
#pfj .pfj-custom .pfj-products { width: 100%; margin: 6px 0 26px; }
#pfj .pfj-custom .pfj-products ul.products { margin: 0; }
/* Shop section in hand-built posts runs full screen width (breaks out of the
   post's own centred wrapper); its contents span the full width too. */
#pfj .pfj-custom .pfb-shop { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
#pfj .pfj-custom .pfb-shop > .pfb-wrap { max-width: none; width: 100%; padding-left: var(--pf-gutter); padding-right: var(--pf-gutter); }

/* Editor posts: reading column */
#pfj .pfj-body { max-width: none; width: 100%; margin: 0; padding: 0 var(--pf-gutter); }
#pfj .pfj-contents {
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
	background: var(--pf-paper); border: 1px solid var(--pf-border); border-radius: 10px;
	padding: 16px 18px; margin: 0 0 36px;
}
#pfj .pfj-contents-label {
	font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	font-size: 11.5px; letter-spacing: .08em; color: var(--pf-muted); margin-right: 4px;
}
#pfj .pfj-contents a {
	font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--pf-ink); text-decoration: none;
	background: var(--pf-white); border: 1px solid var(--pf-border); border-radius: 999px; padding: 7px 13px;
}
#pfj .pfj-contents a:hover { border-color: var(--pf-ink); }

#pfj .pfj-prose { font-size: 16px; line-height: 1.7; color: var(--pf-ink); max-width: 720px; margin-left: auto; margin-right: auto; }
#pfj .pfj-prose > *:first-child { margin-top: 0; }
#pfj .pfj-prose p { font-size: 16px; line-height: 1.7; margin: 0 0 20px; }
#pfj .pfj-prose a { color: var(--pf-ink); text-decoration: underline; text-decoration-color: var(--pf-red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
#pfj .pfj-prose a:hover { color: var(--pf-red); }
#pfj .pfj-prose .pfj-dropcap::first-letter {
	float: left; font-family: var(--pf-display); font-weight: 700; color: var(--pf-red);
	font-size: 58px; line-height: .8; padding-right: 8px; padding-top: 4px;
}
#pfj .pfj-prose h2 {
	font-family: var(--pf-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0;
	font-size: 26px; line-height: 1.1; color: var(--pf-ink);
	margin: 40px 0 14px; padding-top: 14px; border-top: 1px solid var(--pf-border);
	scroll-margin-top: 110px;
}
#pfj .pfj-prose h3 { font-family: var(--pf-display); font-weight: 700; font-size: 20px; line-height: 1.15; margin: 28px 0 10px; color: var(--pf-ink); }
#pfj .pfj-prose h4 { font-family: var(--pf-display); font-weight: 700; font-size: 17px; margin: 22px 0 8px; color: var(--pf-ink); }
#pfj .pfj-prose ul, #pfj .pfj-prose ol { padding-left: 1.2em; margin: 0 0 22px; }
#pfj .pfj-prose li { margin: 0 0 8px; line-height: 1.6; }
#pfj .pfj-prose ul > li::marker { color: var(--pf-red); }
#pfj .pfj-prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--pf-red); font-family: var(--pf-display); font-size: 22px; line-height: 1.3; font-weight: 600; }
#pfj .pfj-prose figure { margin: 28px 0; }
#pfj .pfj-prose img { max-width: 100%; height: auto; border-radius: 10px; }
#pfj .pfj-prose figcaption { font-size: 12.5px; color: var(--pf-muted); margin-top: 8px; }
#pfj .pfj-prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 0 0 30px; }
#pfj .pfj-prose th {
	text-align: left; font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	letter-spacing: .04em; font-size: 11px; color: var(--pf-muted);
	padding: 10px 8px; border: 0; border-bottom: 2px solid var(--pf-ink);
}
#pfj .pfj-prose td { padding: 12px 8px; border: 0; border-bottom: 1px solid var(--pf-border); vertical-align: top; }
#pfj .pfj-prose .wp-block-table { overflow-x: auto; margin: 0 0 30px; }
#pfj .pfj-prose .wp-block-table table { margin: 0; }
#pfj .pfj-pages { margin: 20px 0; font-weight: 600; }

/* after-content: author */
#pfj .pfj-after { padding-top: 44px; }
#pfj .pfj-author { padding: 22px; border: 1px solid var(--pf-border); border-radius: 10px; display: flex; gap: 16px; align-items: center; }
#pfj .pfj-author .pfj-avatar { width: 48px; height: 48px; font-size: 16px; background: var(--pf-ink); }
#pfj .pfj-author b { display: block; font-size: 15px; }
#pfj .pfj-author span { font-size: 13px; color: var(--pf-muted); }

/* related */
#pfj .pfj-related { background: var(--pf-ink); padding: 48px var(--pf-gutter); margin-top: 50px; }
#pfj .pfj-related-inner { max-width: none; width: 100%; margin: 0; }
#pfj .pfj-related h2 {
	color: var(--pf-white); font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	font-size: 22px; line-height: 1.1; letter-spacing: 0; margin: 0 0 22px;
}
#pfj .pfj-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#pfj .pfj-related .pfj-card { background: var(--pf-dark-2); border-color: #2c2d2b; }
#pfj .pfj-related .pfj-card .pfj-art { height: auto; aspect-ratio: 16 / 9; }
#pfj .pfj-related .pfj-card-title { color: var(--pf-white); font-size: 16px; }
#pfj .pfj-related .pfj-card-text { color: rgba(255,255,255,.55); }
#pfj .pfj-related .pfj-meta { color: rgba(255,255,255,.45); }
#pfj .pfj-related .pfj-avatar { background: var(--pf-red); }

/* comments */
#pfj .pfj-comments { max-width: none; width: 100%; margin: 40px 0 60px; padding: 0 var(--pf-gutter); }
#pfj .pfj-comments-title, #pfj .pfj-comments .comment-reply-title {
	font-family: var(--pf-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0;
	font-size: 20px; line-height: 1.1; margin: 0 0 14px; color: var(--pf-ink);
}
#pfj .pfj-comments .comment-reply-title small { margin-left: 10px; font-size: 12px; }
#pfj .pfj-comment-list { list-style: none; margin: 0 0 36px; padding: 0; }
#pfj .pfj-comment-list .children { list-style: none; padding-left: 22px; }
#pfj .pfj-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--pf-border); }
#pfj .pfj-comment-list .fn { font-weight: 700; font-style: normal; }
#pfj .pfj-comment-list .says { display: none; }
#pfj .pfj-comment-list .comment-metadata { font-size: 12px; color: var(--pf-muted); margin: 2px 0 8px; }
#pfj .pfj-comments .comment-form { display: block; margin: 0; }
#pfj .pfj-comments .comment-form p { margin: 0 0 12px; }
#pfj .pfj-comments .comment-form label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
#pfj .pfj-comments .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#pfj .pfj-comments textarea,
#pfj .pfj-comments input[type="text"],
#pfj .pfj-comments input[type="email"],
#pfj .pfj-comments input[type="url"] {
	width: 100%; height: auto; border: 1px solid var(--pf-border); border-radius: 8px; padding: 12px;
	font-family: var(--pf-body); font-size: 14px; color: var(--pf-ink); background: var(--pf-white); box-shadow: none;
}
#pfj .pfj-comments textarea { min-height: 90px; resize: vertical; }
#pfj .pfj-comments textarea:focus, #pfj .pfj-comments input:focus { outline: 2px solid var(--pf-ink); outline-offset: 1px; border-color: var(--pf-ink); }
#pfj .pfj-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--pf-muted); }
#pfj .pfj-comments .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
#pfj .pfj-comments .pfj-submit, #pfj .pfj-comments input[type="submit"] {
	width: auto; height: auto; font-family: var(--pf-display); font-weight: 600; text-transform: uppercase;
	font-size: 13px; letter-spacing: .04em; line-height: 1.2;
	background: var(--pf-ink); color: var(--pf-white); border: 0; border-radius: 6px; padding: 11px 20px; cursor: pointer;
}
#pfj .pfj-comments .pfj-submit:hover { background: var(--pf-red); }

/* ---------- Topic sidebar ("In this guide") ----------
   Built by blog.js from the post's H2s. Wide screens: sidebar + gap + article
   form one block centred on the page; the sidebar stays in view from the top
   of the article to its end. Narrower screens: an inline box above the article. */
#pfj.pfj-single {
	position: relative;
	--pfj-group: 90vw;                          /* sidebar + gap + article on desktop */
	--pfj-toc-w: clamp(248px, 17vw, 320px);
	--pfj-toc-gap: clamp(48px, 4.5vw, 88px);
}
#pfj.pfj-has-side { --pfj-col: calc(var(--pfj-group) - var(--pfj-toc-w) - var(--pfj-toc-gap)); }
#pfj.pfj-has-side .pfj-toc-host { max-width: none; }
#pfj.pfj-has-side .pfj-toc-target { max-width: var(--pfj-col); }
/* the post's key-facts strip spans the same 90vw as the sidebar + article */
#pfj.pfj-has-side .pfj-custom .pfb-facts > .pfb-wrap { max-width: calc(var(--pfj-group) + 32px); }
#pfj .pfj-toc { font-family: var(--pf-body); color: var(--pf-ink); box-sizing: border-box; }
#pfj .pfj-toc[hidden] { display: none; }
#pfj .pfj-toc.is-side { position: absolute; left: 0; width: var(--pfj-toc-w); z-index: 5; }
#pfj .pfj-toc.is-side .pfj-toc-inner {
	position: sticky; top: var(--pfj-toc-top, 120px);
	max-height: calc(100vh - var(--pfj-toc-top, 120px) - 24px); overflow-y: auto; scrollbar-width: thin;
}
#pfj .pfj-toc.is-inline { margin: 0 auto 32px; max-width: 680px; }
#pfj .pfj-toc.is-inline .pfj-toc-inner { background: var(--pf-paper); border: 1px solid var(--pf-border); border-radius: 10px; padding: 18px 20px 10px; }
#pfj .pfj-toc-label {
	display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
	font-family: var(--pf-display); font-weight: 700; text-transform: uppercase;
	letter-spacing: .1em; font-size: 12px; line-height: 1.2; color: var(--pf-muted);
}
#pfj .pfj-toc-label::before { content: ""; width: 22px; height: 3px; background: var(--pf-red); flex: none; }
#pfj .pfj-toc-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--pf-border); counter-reset: pfjtoc; }
#pfj .pfj-toc-list li { margin: 0; padding: 0; counter-increment: pfjtoc; }
#pfj .pfj-toc-list li::marker { content: none; }
#pfj .pfj-toc-list a {
	display: flex; gap: 10px; margin-left: -1px; padding: 8px 0 8px 14px;
	border-left: 2px solid transparent;
	font-family: var(--pf-body); font-size: 13.5px; font-weight: 500; line-height: 1.35;
	color: var(--pf-muted); text-decoration: none; transition: color .15s, border-color .15s;
}
#pfj .pfj-toc-list a::before {
	content: counter(pfjtoc, decimal-leading-zero); flex: none; min-width: 18px; padding-top: 1px;
	font-family: var(--pf-display); font-weight: 700; font-size: 12px; color: var(--pf-muted);
}
#pfj .pfj-toc-list a:hover { color: var(--pf-ink); }
#pfj .pfj-toc-list a.is-active { color: var(--pf-ink); font-weight: 600; border-left-color: var(--pf-red); }
#pfj .pfj-toc-list a.is-active::before { color: var(--pf-red); }
/* article moved into place next to the sidebar (offset set by blog.js) */
#pfj .pfj-toc-shift { position: relative; left: var(--pfj-shift, 0px); }

/* Rey's "Blog cover" global section would sit above the template's own header. */
body.pfj-active .rey-pageCover { display: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
	#pfj .pfj-grid { grid-template-columns: repeat(2, 1fr); }
	#pfj .pfj-watermark { font-size: 110px; }
}
@media (max-width: 760px) {
	#pfj { --pf-gutter: 16px; }
	#pfj .pfj-hero { padding-top: 40px; }
	#pfj .pfj-watermark { font-size: 84px; }
	#pfj .pfj-featured { grid-template-columns: 1fr; margin: 22px 0 36px; }
	#pfj .pfj-featured .pfj-art { min-height: 220px; }
	#pfj .pfj-featured-copy { padding: 26px 22px; }
	#pfj .pfj-grid { grid-template-columns: 1fr; gap: 18px; }
	#pfj .pfj-grid-head { padding-top: 32px; }
	#pfj.pfj-single { padding-top: 12px; }
	#pfj .pfj-post-head .pfj-art { height: 420px; }
	#pfj .pfj-corner { width: 20px; height: 20px; }
	#pfj .pfj-corner.is-tl, #pfj .pfj-corner.is-tr { top: 10px; }
	#pfj .pfj-corner.is-bl, #pfj .pfj-corner.is-br { bottom: 10px; }
	#pfj .pfj-corner.is-tl, #pfj .pfj-corner.is-bl { left: 10px; }
	#pfj .pfj-corner.is-tr, #pfj .pfj-corner.is-br { right: 10px; }
	#pfj .pfj-crumb { left: 36px; right: 36px; top: 14px; }
	#pfj .pfj-hero-copy { left: 22px; right: 22px; bottom: 34px; }
	#pfj .pfj-share { margin-left: 0; }
	#pfj .pfj-related-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	#pfj .pfj-card, #pfj .pfj-tab, #pfj .pfj-cta, #pfj .pfj-loadmore button { transition: none; }
}
