/*
 * PropFlagger — core styles (tokens, layout, header/footer, components shared everywhere).
 * Educational, calm, minimal. System fonts only; no external requests.
 */

:root {
	--pf-navy: #0b1b2e;
	--pf-navy-2: #14304d;
	--pf-ink: #16202c;
	--pf-text: #263445;
	--pf-muted: #566679;
	--pf-bg: #ffffff;
	--pf-tint: #f3f6fa;
	--pf-line: #dbe3ec;
	--pf-blue: #3a6a9e;
	--pf-blue-dark: #264f7c;
	--pf-blue-soft: #e8f0f8;
	--pf-green: #2b7556;
	--pf-green-soft: #e5f3ec;
	--pf-red: #a94444;
	--pf-red-soft: #f8e9e9;
	--pf-amber-soft: #fbf3dc;
	--pf-amber: #7a5b00;
	--pf-radius: 10px;
	--pf-shadow: 0 1px 2px rgba(11, 27, 46, 0.06), 0 4px 14px rgba(11, 27, 46, 0.05);
	--pf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--pf-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--pf-wide: 1180px;
	--pf-narrow: 760px;
	--pf-gutter: 20px;
}

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

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

body {
	margin: 0;
	background: var(--pf-bg);
	color: var(--pf-text);
	font-family: var(--pf-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }

h1, h2, h3, h4 { color: var(--pf-ink); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

a { color: var(--pf-blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--pf-navy); }

:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; border-radius: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
	background: #fff; clip: auto; clip-path: none; color: var(--pf-ink); display: block;
	height: auto; left: 8px; top: 8px; padding: 12px 18px; width: auto; z-index: 100000;
	box-shadow: var(--pf-shadow); font-weight: 600; text-decoration: none;
}

.pf-container { width: 100%; max-width: var(--pf-wide); margin-inline: auto; padding-inline: var(--pf-gutter); }
.pf-container--narrow { max-width: calc(var(--pf-narrow) + var(--pf-gutter) * 2); }
.pf-container--wide { max-width: calc(var(--pf-wide) - 120px); }

.pf-main { min-height: 50vh; outline: none; }
.pf-section { padding-block: 48px; }
.pf-section--tint { background: var(--pf-tint); border-block: 1px solid var(--pf-line); }
.pf-stack > * + * { margin-top: 24px; }

/* ---------- Header ---------- */
.pf-header { background: var(--pf-navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-bar .pf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pf-header { top: 46px; } }
.pf-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.pf-brand__link { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.pf-brand__name { font-weight: 800; letter-spacing: 0.14em; font-size: 1.05rem; }
.pf-brand__mark { color: #8fb7e3; flex: none; }
.pf-brand .custom-logo { max-height: 44px; width: auto; }

.pf-nav { display: flex; align-items: center; gap: 18px; }
.pf-nav__list, .pf-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.pf-nav a { color: #dbe7f4; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 500; font-size: 0.97rem; display: block; }
.pf-nav a:hover, .pf-nav .current-menu-item > a, .pf-nav .current_page_item > a, .pf-nav [aria-current="page"] { background: rgba(255, 255, 255, 0.1); color: #fff; }
.pf-nav .sub-menu { list-style: none; margin: 0; padding: 4px 0 4px 12px; }

.pf-search { display: flex; align-items: stretch; }
.pf-search input[type="search"] {
	background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 6px 0 0 6px; padding: 7px 10px; width: 150px; font: inherit; font-size: 0.92rem; min-width: 0;
}
.pf-search input[type="search"]::placeholder { color: #b6c7da; }
.pf-search__submit { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); border-left: 0; border-radius: 0 6px 6px 0; padding: 0 10px; cursor: pointer; }
.pf-search__submit:hover { background: rgba(255, 255, 255, 0.24); }

.pf-nav-toggle { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 6px; width: 44px; height: 44px; cursor: pointer; color: #fff; align-items: center; justify-content: center; }
.pf-nav-toggle__bars, .pf-nav-toggle__bars::before, .pf-nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: ""; }
.pf-nav-toggle__bars::before { position: absolute; top: -6px; }
.pf-nav-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
	.pf-nav-toggle { display: inline-flex; }
	.pf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--pf-navy); padding: 12px var(--pf-gutter) 20px; flex-direction: column; align-items: stretch; border-top: 1px solid rgba(255, 255, 255, 0.12); max-height: calc(100vh - 64px); overflow-y: auto; }
	.pf-nav.is-open { display: flex; }
	.pf-nav__list, .pf-nav .menu { flex-direction: column; }
	.pf-nav a { padding: 12px; font-size: 1.05rem; }
	.pf-search input[type="search"] { width: 100%; }
	.pf-search { width: 100%; }
}

/* ---------- Buttons ---------- */
.pf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
	font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1.2; padding: 12px 20px; border-radius: 8px;
	border: 1.5px solid transparent; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.pf-btn--primary { background: var(--pf-blue); color: #fff; }
.pf-btn--primary:hover { background: var(--pf-blue-dark); color: #fff; }
.pf-btn--light { background: #fff; color: var(--pf-navy); }
.pf-btn--light:hover { background: #e6eef7; color: var(--pf-navy); }
.pf-btn--ghost { border-color: var(--pf-blue); color: var(--pf-blue-dark); background: transparent; }
.pf-btn--ghost:hover { background: var(--pf-blue-soft); }
.pf-btn--link { background: transparent; color: inherit; padding-inline: 8px; text-decoration: underline; text-underline-offset: 4px; }
.pf-btn--sm { padding: 8px 14px; font-size: 0.92rem; }

/* ---------- Page header ---------- */
.pf-page-header { background: linear-gradient(180deg, var(--pf-tint), #fff); border-bottom: 1px solid var(--pf-line); padding: 28px 0 36px; }
.pf-page-title { margin-bottom: 0.25em; }
.pf-page-intro { font-size: 1.15rem; color: var(--pf-muted); max-width: 62ch; margin-bottom: 0; }
.pf-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--pf-blue-dark); margin: 0 0 6px; }

.pf-breadcrumbs { font-size: 0.88rem; color: var(--pf-muted); margin-bottom: 14px; }
.pf-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pf-breadcrumbs li + li::before { content: "›"; margin-right: 4px; color: var(--pf-muted); }
.pf-breadcrumbs a { color: var(--pf-muted); }

/* ---------- Hero ---------- */
.pf-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(80, 130, 190, 0.35), transparent 60%), linear-gradient(160deg, var(--pf-navy) 0%, var(--pf-navy-2) 100%); color: #fff; padding: clamp(56px, 9vw, 104px) 0; }
.pf-hero__heading { color: #fff; margin: 0 0 18px; }
.pf-hero__wordmark { display: block; font-size: 0.95rem; letter-spacing: 0.35em; font-weight: 800; color: #8fb7e3; margin-bottom: 14px; }
.pf-hero__title { display: block; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; }
.pf-hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #cddcec; max-width: 60ch; margin-bottom: 28px; }
.pf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.pf-hero__actions .pf-btn--link { color: #fff; }
.pf-hero__note { font-size: 0.9rem; color: #9bb3cc; margin: 0; }

.pf-flow { background: #fff; border-bottom: 1px solid var(--pf-line); }
.pf-flow__list { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: flow; }
.pf-flow__list li { counter-increment: flow; display: flex; flex-direction: column; font-size: 0.88rem; color: var(--pf-muted); }
.pf-flow__list li strong { color: var(--pf-ink); font-size: 0.98rem; }
.pf-flow__list li strong::before { content: counter(flow) ". "; color: var(--pf-blue); }
@media (max-width: 760px) { .pf-flow__list { grid-template-columns: 1fr 1fr; } }

.pf-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.pf-section-title { margin-bottom: 0.6em; }
.pf-section-head .pf-section-title { margin-bottom: 0; }
.pf-subtitle { font-size: 1.1rem; margin: 1.6em 0 0.5em; }
.pf-more { font-weight: 600; text-decoration: none; }
.pf-more:hover { text-decoration: underline; }

.pf-topics { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pf-topic { background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-radius); padding: 16px 18px; }
.pf-topic p { margin: 6px 0 0; font-size: 0.93rem; color: var(--pf-muted); }
.pf-topic__link { font-weight: 700; color: var(--pf-ink); text-decoration: none; }
.pf-topic__link:hover { color: var(--pf-blue-dark); text-decoration: underline; }

/* ---------- Grid & cards ---------- */
.pf-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pf-grid--3, .pf-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pf-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.pf-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-radius); overflow: hidden; box-shadow: var(--pf-shadow); transition: border-color 0.15s, box-shadow 0.15s; min-width: 0; }
.pf-card:hover, .pf-card:focus-within { border-color: #b8c9dc; box-shadow: 0 2px 4px rgba(11, 27, 46, 0.08), 0 8px 22px rgba(11, 27, 46, 0.08); }
.pf-card__media { aspect-ratio: 16 / 9; background: var(--pf-tint); overflow: hidden; }
.pf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pf-card__placeholder { height: 100%; display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(135deg, var(--pf-navy-2), var(--pf-navy)); color: #aac4e0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.pf-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pf-card__eyebrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; position: relative; z-index: 2; }
.pf-card__title { font-size: 1.2rem; margin: 0; }
.pf-card__link { color: var(--pf-ink); text-decoration: none; }
.pf-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pf-card:hover .pf-card__link { color: var(--pf-blue-dark); text-decoration: underline; }
.pf-card__excerpt { color: var(--pf-muted); font-size: 0.97rem; margin: 0; }
.pf-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.84rem; color: var(--pf-muted); margin-top: auto; padding-top: 6px; }
.pf-card__author { font-weight: 600; color: var(--pf-text); }
.pf-card__cta { font-weight: 700; color: var(--pf-blue-dark); font-size: 0.95rem; margin-top: 6px; }
.pf-card:hover .pf-card__cta { text-decoration: underline; }

/* ---------- Chips & badges (always text, never colour-only) ---------- */
.pf-chip { display: inline-block; background: var(--pf-blue-soft); color: var(--pf-blue-dark); border: 1px solid #c9dbee; border-radius: 999px; padding: 2px 11px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-decoration: none; position: relative; z-index: 2; }
a.pf-chip:hover, .pf-chip.is-active { background: var(--pf-navy); color: #fff; border-color: var(--pf-navy); }
.pf-chip--static { z-index: auto; }
.pf-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.pf-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 2px 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; border: 1px solid transparent; line-height: 1.5; }
.pf-badge--success { background: var(--pf-green-soft); color: #1d5c42; border-color: #b9dccb; }
.pf-badge--fail { background: var(--pf-red-soft); color: #8a3333; border-color: #e5c1c1; }
.pf-badge--breakeven { background: #eceff3; color: #3f4b5a; border-color: #d1d8e0; }
.pf-badge--open { background: var(--pf-amber-soft); color: var(--pf-amber); border-color: #ecdca4; border-style: dashed; }
.pf-badge--long { background: var(--pf-green-soft); color: #1d5c42; border-color: #b9dccb; }
.pf-badge--short { background: var(--pf-red-soft); color: #8a3333; border-color: #e5c1c1; }
.pf-badge--neutral { background: var(--pf-tint); color: var(--pf-muted); border-color: var(--pf-line); }
.pf-badge--demo { background: #fff4c2; color: #6a5200; border: 1px dashed #c9a400; }

/* ---------- Notices, callouts, disclaimer ---------- */
.pf-notice { border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; border: 1px solid; font-size: 0.97rem; }
.pf-notice--info { background: var(--pf-blue-soft); border-color: #c9dbee; color: #1f3d5e; }
.pf-notice--warning { background: var(--pf-amber-soft); border-color: #ecdca4; color: #5d4600; }
.pf-notice--success { background: var(--pf-green-soft); border-color: #b9dccb; color: #1d5c42; }
.pf-notice--error { background: var(--pf-red-soft); border-color: #e5c1c1; color: #7a2b2b; }
.pf-note { font-size: 0.9rem; color: var(--pf-muted); margin-top: 16px; }

.pf-disclaimer { margin: 32px 0 0; padding: 18px 20px; background: var(--pf-tint); border: 1px solid var(--pf-line); border-left: 4px solid var(--pf-muted); border-radius: 8px; font-size: 0.94rem; color: var(--pf-text); }
.pf-disclaimer__title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; color: var(--pf-muted); }
.pf-disclaimer p:last-child { margin-bottom: 0; }

.pf-callout, .wp-block-group[class*="is-style-pf-"] { position: relative; margin: 1.8em 0; padding: 16px 20px 16px 20px; border-radius: 8px; border: 1px solid var(--pf-line); border-left-width: 5px; background: var(--pf-tint); }
.pf-callout__title, .wp-block-group[class*="is-style-pf-"]::before { display: block; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; color: var(--pf-muted); }
.pf-callout__body > :last-child, .wp-block-group[class*="is-style-pf-"] > :last-child { margin-bottom: 0; }
.is-style-pf-key-takeaway::before { content: "Key Takeaway"; }
.is-style-pf-important::before { content: "Important"; }
.is-style-pf-example::before { content: "Example"; }
.is-style-pf-risk-note::before { content: "Risk Note"; }
.is-style-pf-journal-lesson::before { content: "Journal Lesson"; }
.pf-callout--key-takeaway, .is-style-pf-key-takeaway { background: var(--pf-blue-soft); border-left-color: var(--pf-blue); }
.pf-callout--important, .is-style-pf-important { background: var(--pf-amber-soft); border-left-color: #c9a400; }
.pf-callout--example, .is-style-pf-example { background: #f4f1fa; border-left-color: #7c6aa8; }
.pf-callout--risk-note, .is-style-pf-risk-note { background: var(--pf-red-soft); border-left-color: var(--pf-red); }
.pf-callout--journal-lesson, .is-style-pf-journal-lesson { background: var(--pf-green-soft); border-left-color: var(--pf-green); }

/* ---------- Forms ---------- */
.pf-form p { margin-bottom: 18px; }
.pf-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--pf-ink); }
.pf-form input[type="text"], .pf-form input[type="email"], .pf-form select, .pf-form textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.pf-filters select, .pf-search--page input, .pf-search--page select {
	width: 100%; font: inherit; color: var(--pf-ink); background: #fff; border: 1.5px solid #b8c4d2; border-radius: 8px; padding: 10px 12px;
}
.pf-form input:focus, .pf-form select:focus, .pf-form textarea:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--pf-blue); }
.pf-req { color: var(--pf-red); }
.pf-form__note { font-size: 0.9rem; color: var(--pf-muted); }
.pf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pf-search--page { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.pf-search--page input[type="search"] { flex: 1 1 260px; width: auto; }
.pf-search--page select { flex: 0 1 220px; width: auto; }

/* ---------- Tables (horizontal scroll on narrow screens) ---------- */
.pf-table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--pf-line); border-radius: 8px; -webkit-overflow-scrolling: touch; }
.pf-table-wrap:focus-visible { outline-offset: 0; }
.pf-table, .pf-prose table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 480px; }
.pf-table th, .pf-table td, .pf-prose th, .pf-prose td { padding: 10px 14px; border-bottom: 1px solid var(--pf-line); text-align: left; vertical-align: top; }
.pf-table thead th, .pf-prose thead th { background: var(--pf-tint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pf-muted); white-space: nowrap; }
.pf-table tbody th { font-weight: 600; color: var(--pf-ink); white-space: nowrap; }
.pf-table tr:last-child th, .pf-table tr:last-child td { border-bottom: 0; }

/* ---------- Pagination ---------- */
.pf-pagination, .navigation.pagination { margin-top: 36px; }
.nav-links, .pf-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--pf-line); border-radius: 8px; text-decoration: none; color: var(--pf-ink); font-weight: 600; background: #fff; }
.page-numbers.current { background: var(--pf-navy); color: #fff; border-color: var(--pf-navy); }
a.page-numbers:hover { background: var(--pf-blue-soft); }

/* ---------- Ads (clearly labelled, visually separate) ---------- */
.pf-ad-wrap { padding-block: 16px; }
.pf-ad { margin: 28px auto; padding: 10px 12px 14px; border: 1px dashed #b9c4d1; border-radius: 6px; background: #fafbfc; text-align: center; clear: both; max-width: 100%; overflow: hidden; }
.pf-ad__label { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7a8c; margin-bottom: 8px; }
.pf-ad__inner { min-height: 90px; display: flex; align-items: center; justify-content: center; }

/* ---------- Footer ---------- */
.pf-footer { background: var(--pf-navy); color: #b7c7d9; padding: 48px 0 28px; margin-top: 64px; font-size: 0.96rem; }
.pf-footer a { color: #dbe7f4; text-decoration: none; }
.pf-footer a:hover { text-decoration: underline; color: #fff; }
.pf-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.pf-footer__brand { font-weight: 800; letter-spacing: 0.16em; color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.pf-footer__title { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.pf-footer__list, .pf-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-footer__disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 32px; padding-top: 20px; font-size: 0.88rem; color: #9fb3c8; max-width: 80ch; }
.pf-footer__copy { font-size: 0.85rem; color: #8ea4bb; margin: 8px 0 0; }
.pf-social { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pf-social a { font-weight: 600; font-size: 0.9rem; }
@media (max-width: 760px) { .pf-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Avatars ---------- */
.pf-avatar { border-radius: 50%; object-fit: cover; background: var(--pf-navy-2); }
.pf-avatar--initial { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.4rem; }
.pf-avatar--sm { width: 44px; height: 44px; }

/* ---------- Prose (article typography) ---------- */
.pf-prose { font-size: 1.125rem; line-height: 1.75; }
.pf-prose > * { max-width: 100%; }
.pf-prose h2 { margin-top: 2em; }
.pf-prose h3 { margin-top: 1.6em; }
.pf-prose ul, .pf-prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.pf-prose li { margin-bottom: 0.4em; }
.pf-prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--pf-blue); color: var(--pf-muted); font-size: 1.1rem; }
.pf-prose pre { background: #0f1c2b; color: #e4edf7; padding: 16px 18px; border-radius: 8px; overflow-x: auto; font-size: 0.92rem; line-height: 1.55; }
.pf-prose code { font-family: var(--pf-mono); font-size: 0.9em; background: var(--pf-tint); padding: 2px 5px; border-radius: 4px; }
.pf-prose pre code { background: none; padding: 0; }
.pf-prose img, .pf-prose video { border-radius: 8px; }
.pf-prose figure { margin: 1.8em 0; }
.pf-prose figcaption, .wp-caption-text { font-size: 0.88rem; color: var(--pf-muted); margin-top: 8px; text-align: center; }
.pf-prose iframe { max-width: 100%; }
.wp-block-embed { margin: 1.8em 0; }
.wp-block-embed__wrapper, .wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-inline: auto; display: block; }

.pf-linklist { padding-left: 1.2em; }

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

@media print {
	.pf-header, .pf-footer, .pf-ad, .pf-nav-toggle { display: none !important; }
	body { font-size: 12pt; }
}
