/* The Park File 1.2.0 (dark): styles theme.json cannot express. Local files only.
   Palette: night #070E1C, surface #0D1A35, deep navy #0B2147, navy #113164,
   line #22396A, ink #E8EDF6, slate #A9B6CF, yellow #FFCF1B, soft yellow #FFE58A.
   Fonts: Inter (body), Plus Jakarta Sans (headings), self-hosted in assets/fonts. */

:root {
	--pf-night: #070E1C;
	--pf-surface: #0D1A35;
	--pf-surface-hover: #11224A;
	--pf-surface-2: #0B2147;
	--pf-navy: #113164;
	--pf-line: #1B2E57;
	--pf-line-strong: #2A4479;
	--pf-ink: #E8EDF6;
	--pf-body: #D5DDEA;
	--pf-slate: #A9B6CF;
	--pf-yellow: #FFCF1B;
	--pf-yellow-soft: #FFE58A;
	--pf-red: #F87171;
	--pf-green: #4ADE80;
	--pf-r: 12px;
	--pf-r-sm: 8px;
	--pf-header-h: 68px;
	--pf-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
	--pf-ease: cubic-bezier(.2, .7, .2, 1);
	--pf-head: var(--wp--preset--font-family--heading);
}

html, body, .editor-styles-wrapper { color-scheme: dark; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: var(--pf-yellow); color: var(--pf-night); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--pf-yellow); outline-offset: 2px; box-shadow: none; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main { margin-block-start: 0; }

/* ---------- Header: slim, sticky, logo + inline nav left, search + button right ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.pf-header {
	background: rgba(7, 14, 28, 0.92);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--pf-line);
}
.pf-header-inner { min-height: var(--pf-header-h); gap: 1.5rem; }
.pf-header-left { gap: 2rem; min-width: 0; }
.pf-header-right { gap: 0.75rem; }
.pf-logo img { height: auto; display: block; }
.pf-nav { font-family: var(--pf-head); font-size: 0.9rem; font-weight: 700; gap: 0.25rem; }
.pf-nav .wp-block-navigation__container { gap: 0.15rem; }
.pf-nav .wp-block-navigation-item__content { color: #FFFFFF; padding: 0.5rem 0.65rem; border-radius: 8px; position: relative; transition: color .15s ease, background-color .15s ease; }
.pf-nav .wp-block-navigation-item__content:hover { color: var(--pf-yellow); background: rgba(255, 207, 27, 0.08); }
.pf-nav .current-menu-item > .wp-block-navigation-item__content,
.pf-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--pf-yellow); }
.pf-nav .current-menu-item > .wp-block-navigation-item__content::after,
.pf-nav .wp-block-navigation-item__content[aria-current="page"]::after {
	content: ""; position: absolute; left: 0.65rem; right: 0.65rem; bottom: -0.85rem; height: 2px; background: var(--pf-yellow); border-radius: 2px;
}
.pf-nav .wp-block-navigation__submenu-container {
	background: var(--pf-surface) !important; color: #FFFFFF !important; border: 1px solid var(--pf-line-strong) !important;
	border-radius: var(--pf-r); box-shadow: var(--pf-shadow); padding: 0.4rem !important; min-width: 250px !important;
}
.pf-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.5rem 0.75rem; font-weight: 600; }
.pf-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--pf-night) !important; padding: 1.25rem; }
.pf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; padding: 0.6rem 0; }
.pf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; border: 0 !important; box-shadow: none; padding: 0 0 0 1rem !important; }
.pf-header-search { margin: 0; }
.pf-header-search .wp-block-search__inside-wrapper {
	background: var(--pf-surface); border: 1px solid var(--pf-line-strong) !important; border-radius: 999px; padding: 0 0.35rem 0 0.9rem; width: 15rem; height: 40px;
}
.pf-header-search .wp-block-search__input { background: transparent; border: 0; padding: 0; font-size: 0.875rem; color: var(--pf-ink); min-height: 0; }
.pf-header-search .wp-block-search__input:focus { outline: none; }
.pf-header-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--pf-yellow) !important; }
.pf-header-search .wp-block-search__button { background: transparent !important; color: var(--pf-slate) !important; padding: 0 0.4rem; margin: 0; }
.pf-header-search .wp-block-search__button svg { fill: currentColor; width: 20px; height: 20px; }
.pf-header-cta .wp-block-button__link { padding: 0.55rem 1.1rem; font-size: 0.875rem; border-radius: 999px; box-shadow: 0 6px 20px -8px rgba(255, 207, 27, 0.6); }
@media (max-width: 1100px) { .pf-header-search { display: none; } }
@media (max-width: 781px) {
	:root { --pf-header-h: 60px; }
	.pf-header-cta { display: none !important; }
	.pf-logo img { width: 124px !important; }
	.pf-header-inner { gap: 0.75rem; }
	.pf-header-left { justify-content: space-between; width: 100%; }
}

/* ---------- Main wrappers ---------- */
.pf-main { padding-top: clamp(1.25rem, 3vw, 2rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.pf-main > * + * { margin-block-start: clamp(1.75rem, 3vw, 2.5rem); }
.pf-muted { color: var(--pf-slate); }

/* Kicker: small coloured category with a dot, plus date */
.pf-meta-row { gap: 0.6rem !important; align-items: center; row-gap: 0.25rem !important; }
.pf-kicker { font-family: var(--pf-head); font-size: 0.7rem !important; font-weight: 800 !important; letter-spacing: 0.08em !important; text-transform: uppercase; }
.pf-kicker a { color: var(--pf-yellow) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.pf-kicker a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; box-shadow: 0 0 8px rgba(255, 207, 27, .7); }
.pf-kicker a:hover { color: var(--pf-yellow-soft) !important; }
.pf-kicker .wp-block-post-terms__separator { display: none; }
.pf-kicker a + a { margin-left: 0.6rem; }
.pf-date { font-size: 0.75rem !important; color: var(--pf-slate) !important; }

/* ---------- Home hero: big top story + three side stories ---------- */
.pf-hero-row { gap: 1rem !important; margin-bottom: 0; }
.pf-hero-row > .wp-block-column { display: flex; flex-direction: column; }
.pf-hero-main .wp-block-query, .pf-hero-main .pf-hero-loop, .pf-hero-main .pf-hero-loop > li { height: 100%; }
.pf-hero-main > .pf-hero-card { height: 100%; }
.pf-hero-card .pf-meta-row p,
.pf-hero-card .pf-hero-meta p { margin: 0; }
.pf-hero-loop, .pf-side-loop, .pf-list, .pf-grid { list-style: none; margin: 0; padding: 0; }
.pf-hero-card {
	border-radius: var(--pf-r); overflow: hidden; border: 1px solid var(--pf-line); height: 100%; min-height: 460px !important;
	padding: clamp(1.25rem, 3vw, 2rem) !important; background: var(--pf-surface-2);
}
.pf-hero-card .wp-block-cover__image-background { transition: transform .6s var(--pf-ease); }
.pf-hero-card:hover .wp-block-cover__image-background { transform: scale(1.03); }
.pf-hero-card::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(7,14,28,0) 25%, rgba(7,14,28,.55) 55%, rgba(7,14,28,.96) 100%);
}
.wp-block-cover.pf-hero-card > .wp-block-cover__inner-container { position: relative; z-index: 3 !important; max-width: 680px; }
.pf-hero-card .pf-meta-row { margin-bottom: 0.75rem; }
.pf-flag {
	margin: 0; background: var(--pf-yellow); color: var(--pf-night); font-family: var(--pf-head); font-weight: 800;
	font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 6px;
}
.pf-hero-title { font-size: clamp(1.75rem, 3.4vw, 2.75rem) !important; line-height: 1.08 !important; margin: 0 0 0.75rem !important; letter-spacing: -0.025em; }
.pf-hero-title a { color: #FFFFFF !important; }
.pf-hero-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pf-hero-excerpt { color: #DCE3F0 !important; font-size: 1rem !important; margin: 0 0 0.9rem; max-width: 60ch; }
.pf-hero-excerpt p { margin: 0; }
.pf-hero-excerpt .wp-block-post-excerpt__more-text { display: none; }
.pf-hero-meta { gap: 0.75rem !important; font-size: 0.8rem; }
.pf-hero-meta .pf-byline { font-weight: 700; color: #FFFFFF; font-size: 0.8rem !important; }
.pf-hero-meta .pf-byline::before { content: "By "; font-weight: 500; color: var(--pf-slate); }
.pf-hero-card .pf-kicker, .pf-hero-card .pf-kicker a, .pf-hero-meta { position: relative; z-index: 2; }

.pf-hero-side .wp-block-query, .pf-side-loop { height: 100%; }
.pf-side-loop { display: flex; flex-direction: column; gap: 1rem; }
.pf-side-loop > li { flex: 1; display: flex; margin: 0 !important; }
.pf-side-card {
	position: relative; width: 100%; gap: 1rem !important; padding: 0.9rem; border-radius: var(--pf-r);
	background: var(--pf-surface); border: 1px solid var(--pf-line); transition: background-color .2s ease, border-color .2s ease, transform .2s var(--pf-ease);
}
.pf-side-card:hover { background: var(--pf-surface-hover); border-color: var(--pf-line-strong); transform: translateY(-2px); }
.pf-thumb { flex: 0 0 132px; margin: 0 !important; border-radius: var(--pf-r-sm); overflow: hidden; }
.pf-thumb img { border-radius: var(--pf-r-sm); }
.pf-side-body { min-width: 0; }
.pf-side-body .pf-meta-row { margin-bottom: 0.35rem; }
.pf-side-title { font-size: 1rem !important; line-height: 1.25 !important; margin: 0 !important; letter-spacing: -0.01em; }
.pf-side-title a::after, .pf-list-title a::after, .pf-grid-title a::after { content: ""; position: absolute; inset: 0; }

/* Quick-link tiles */
.pf-tiles { gap: 0 !important; border: 1px solid var(--pf-line); border-radius: var(--pf-r); background: var(--pf-surface); overflow: hidden; margin-top: 1rem !important; }
.pf-tile { position: relative; gap: 0.9rem !important; padding: 1rem 1.15rem; border-right: 1px solid var(--pf-line); transition: background-color .2s ease; }
.pf-tile:last-child { border-right: 0; }
.pf-tile:hover { background: var(--pf-surface-hover); }
.pf-tile p { margin: 0; }
.pf-tile-icon {
	flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; font-family: var(--pf-head); font-weight: 800; font-size: 0.85rem;
	color: var(--pf-yellow); background: rgba(255, 207, 27, 0.08); border: 1px solid rgba(255, 207, 27, 0.25);
}
.pf-tile-text { flex: 1; min-width: 0; }
.pf-tile-title { font-family: var(--pf-head); font-weight: 800; font-size: 0.95rem; line-height: 1.25; }
.pf-tile-title a { color: #FFFFFF; text-decoration: none; }
.pf-tile-title a::after { content: ""; position: absolute; inset: 0; }
.pf-tile-sub { font-size: 0.75rem; color: var(--pf-slate); }
.pf-tile-arrow { color: var(--pf-yellow); font-weight: 700; transition: transform .2s var(--pf-ease); }
.pf-tile:hover .pf-tile-arrow { transform: translateX(3px); }

/* ---------- Two columns: feed + sidebar ---------- */
.pf-two-col { gap: clamp(1.5rem, 3vw, 2.5rem) !important; }
.pf-col-side { position: relative; }
.pf-col-side > .pf-sidebar { position: sticky; top: calc(var(--pf-header-h) + 1.25rem); display: flex; flex-direction: column; gap: 1.25rem; }

/* Section heading with short yellow underline */
.pf-section-head { border-bottom: 1px solid var(--pf-line); padding-bottom: 0.7rem; margin-bottom: 0.25rem; position: relative; }
.pf-section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 3px; border-radius: 2px; background: var(--pf-yellow); }
.pf-section-title { margin: 0 !important; font-size: clamp(1.4rem, 2.4vw, 1.75rem) !important; }
.pf-section-link { margin: 0; font-size: 0.8rem; font-weight: 700; }
.pf-section-link a { color: var(--pf-yellow); text-decoration: none; }
.pf-section-link a:hover { text-decoration: underline; }

/* List cards: image left, text right, divider between */
.pf-list > li + li { border-top: 1px solid var(--pf-line); }
.pf-list-card { position: relative; display: grid !important; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; align-items: center; }
.pf-list-card > * { margin: 0 !important; }
.pf-list-thumb { border-radius: var(--pf-r-sm); overflow: hidden; background: var(--pf-surface-2); }
.pf-list-thumb img { transition: transform .5s var(--pf-ease); }
.pf-list-card:hover .pf-list-thumb img { transform: scale(1.04); }
.pf-list-body > * + * { margin-block-start: 0.45rem; }
.pf-list-title { font-size: clamp(1.15rem, 1.8vw, 1.375rem) !important; line-height: 1.2 !important; margin-top: 0.35rem !important; }
.pf-list-title a, .pf-side-title a, .pf-grid-title a { color: #FFFFFF; text-decoration: none; transition: color .15s ease; }
.pf-list-card:hover .pf-list-title a, .pf-side-card:hover .pf-side-title a, .pf-grid-card:hover .pf-grid-title a { color: var(--pf-yellow); }
.pf-list-excerpt { color: var(--pf-slate); font-size: 0.9rem !important; line-height: 1.55; }
.pf-list-excerpt p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-list-excerpt .wp-block-post-excerpt__more-text { display: none; }
.pf-kicker a, .pf-side-card .pf-kicker, .pf-list-card .pf-kicker, .pf-grid-card .pf-kicker { position: relative; z-index: 2; }
@media (max-width: 640px) {
	.pf-list-card { grid-template-columns: 1fr; gap: 0.85rem; }
}

/* Grid cards (Keep reading) */
.pf-grid { gap: 1rem !important; }
.pf-grid-card { position: relative; height: 100%; border-radius: var(--pf-r); overflow: hidden; background: var(--pf-surface); border: 1px solid var(--pf-line); transition: border-color .2s ease, transform .2s var(--pf-ease); }
.pf-grid-card:hover { border-color: var(--pf-line-strong); transform: translateY(-2px); }
.pf-grid-card .wp-block-post-featured-image { margin: 0; }
.pf-grid-body { padding: 0.9rem 1rem 1.1rem; }
.pf-grid-body > * + * { margin-block-start: 0.4rem; }
.pf-grid-title { font-size: 1.05rem !important; line-height: 1.25 !important; }

/* ---------- Sidebar boxes ---------- */
.pf-box { position: relative; background: linear-gradient(180deg, #0F1E3E 0%, var(--pf-surface) 100%); border: 1px solid var(--pf-line); border-radius: var(--pf-r); padding: 1rem 1.1rem 1.1rem; overflow: hidden; }
.pf-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--pf-yellow); }
.pf-box--red::before { background: linear-gradient(90deg, var(--pf-green), var(--pf-yellow), var(--pf-red)); }
.pf-box--navy::before { background: var(--pf-navy); }
.pf-box > * + * { margin-block-start: 0.75rem; }
.pf-box-head { gap: 0.5rem !important; }
.pf-box-title { margin: 0 !important; font-size: 1rem !important; letter-spacing: -0.01em; }
.pf-box-link { margin: 0; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.pf-box-link a { color: var(--pf-yellow); text-decoration: none; }
.pf-box-text { font-size: 0.9rem; color: var(--pf-body); margin: 0; }
.pf-box-text a { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--pf-yellow); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
.pf-rank { list-style: none; counter-reset: pf-rank; margin: 0; padding: 0; }
.pf-rank li { counter-increment: pf-rank; position: relative; display: grid; grid-template-columns: 1.75rem 1fr; column-gap: 0.6rem; padding: 0.55rem 0; border-top: 1px solid rgba(34, 57, 106, 0.6); }
.pf-rank li:first-child { border-top: 0; }
.pf-rank li::before { content: counter(pf-rank); grid-row: span 2; align-self: center; font-family: var(--pf-head); font-weight: 800; font-size: 1.15rem; color: var(--pf-line-strong); text-align: center; }
.pf-rank li:first-child::before { color: var(--pf-yellow); }
.pf-rank a { font-family: var(--pf-head); font-weight: 700; font-size: 0.9rem; color: #FFFFFF; text-decoration: none; }
.pf-rank a::after { content: ""; position: absolute; inset: 0; }
.pf-rank li:hover a { color: var(--pf-yellow); }
.pf-rank-sub { font-size: 0.72rem; color: var(--pf-slate); }
.pf-watch { list-style: none; margin: 0; padding: 0; }
.pf-watch li { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.85rem; border-top: 1px solid rgba(34, 57, 106, 0.6); }
.pf-watch li:first-child { border-top: 0; }
.pf-watch .pf-label { font-size: 0.62rem; }

/* ---------- Archive / section header box ---------- */
.pf-section-box {
	position: relative; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--pf-r); border: 1px solid var(--pf-line);
	background: radial-gradient(120% 140% at 100% 0%, rgba(255,207,27,.08) 0%, rgba(255,207,27,0) 45%), linear-gradient(160deg, #0F2147 0%, var(--pf-surface) 100%);
	box-shadow: inset 4px 0 0 var(--pf-yellow);
}
.pf-section-box > * { margin: 0; }
.pf-section-box > * + * { margin-block-start: 0.6rem; }
.pf-section-box h1, .pf-section-box .wp-block-query-title { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.03em; }
.pf-section-box .wp-block-term-description { color: var(--pf-body); max-width: 70ch; }
.pf-eyebrow { font-family: var(--pf-head); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pf-yellow); margin: 0; }

/* ---------- Article ---------- */
.pf-single > * + * { margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }
.pf-article-head { text-align: center; padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.pf-article-head > * + * { margin-block-start: 0.9rem; }
.pf-breadcrumb { gap: 0.5rem !important; font-size: 0.8rem; color: var(--pf-slate); }
.pf-breadcrumb p { margin: 0; }
.pf-breadcrumb a { color: var(--pf-slate); text-decoration: none; font-weight: 600; }
.pf-breadcrumb a:hover { color: #FFFFFF; }
.pf-crumb::after { content: "/"; margin-left: 0.5rem; opacity: .6; }
.pf-crumb-terms { font-size: 0.8rem !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }
.pf-crumb-terms .wp-block-post-terms__separator { display: none; }
.pf-chip { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.pf-chip a {
	display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--pf-head); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--pf-yellow) !important; text-decoration: none; padding: 0.28rem 0.6rem; border: 1px solid rgba(255, 207, 27, 0.45); border-radius: 6px; background: rgba(255, 207, 27, 0.06);
}
.pf-chip a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.pf-chip .wp-block-post-terms__separator { display: none; }
.pf-article-title { font-size: clamp(2rem, 4.6vw, 3.25rem) !important; line-height: 1.08 !important; letter-spacing: -0.03em !important; text-wrap: balance; max-width: 22ch; margin-left: auto !important; margin-right: auto !important; }
.pf-dek { color: var(--pf-slate) !important; font-size: clamp(1.05rem, 1.6vw, 1.2rem) !important; line-height: 1.55; max-width: 62ch; margin-left: auto !important; margin-right: auto !important; text-wrap: pretty; }
.pf-dek p { margin: 0; }
.pf-dek .wp-block-post-excerpt__more-text { display: none; }
.pf-article-meta { gap: 0.75rem !important; padding-top: 1rem; border-top: 1px solid var(--pf-line); max-width: 260px; margin-left: auto !important; margin-right: auto !important; }
.pf-byline-text { text-align: left; }
.pf-byline-text > * { margin: 0 !important; }
.pf-byline { font-family: var(--pf-head); font-weight: 800; color: #FFFFFF; font-size: 0.9rem !important; }
.pf-byline a { color: #FFFFFF; text-decoration: none; }
.pf-avatar {
	flex: 0 0 auto; width: 40px; height: 40px; margin: 0 !important; border-radius: 50%; display: grid; place-items: center;
	font-family: var(--pf-head); font-weight: 800; font-size: 0.85rem; color: var(--pf-night);
	background: radial-gradient(circle at 30% 30%, #FFE58A 0%, #FFCF1B 55%, #E0A800 100%); box-shadow: 0 0 0 3px rgba(255, 207, 27, 0.18);
}
.pf-avatar--lg { width: 56px; height: 56px; font-size: 1.05rem; }
.pf-article-image { border-radius: var(--pf-r); overflow: hidden; border: 1px solid var(--pf-line); box-shadow: var(--pf-shadow); }
.pf-article-image img { border-radius: var(--pf-r); }

/* Article body typography */
.pf-article-body { font-size: 1.125rem; line-height: 1.75; color: var(--pf-body); max-width: 720px; }
.pf-article-body > * { margin-block-start: 0; margin-block-end: 0; }
.pf-article-body > * + * { margin-block-start: 1.35em; }
.pf-article-body > p:first-child { font-size: 1.25rem; line-height: 1.65; color: #FFFFFF; }
.pf-article-body > h2 { margin-block-start: 2.1em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; color: #FFFFFF; }
.pf-article-body > h3 { margin-block-start: 1.8em; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.25; color: #FFFFFF; }
.pf-article-body > h2 + *, .pf-article-body > h3 + * { margin-block-start: 0.6em; }
.pf-article-body strong { color: #FFFFFF; font-weight: 700; }
.pf-article-body ul, .pf-article-body ol { padding-left: 1.25em; }
.pf-article-body li + li { margin-top: 0.5em; }
.pf-article-body ul li::marker { color: var(--pf-yellow); }
.pf-article-body .pf-credit, .pf-article-body > p:last-child:has(> em:only-child) {
	font-size: 0.8125rem; line-height: 1.5; color: var(--pf-slate); padding-top: 1rem; border-top: 1px solid var(--pf-line); margin-block-start: 2.25em;
}
/* Inline links: sit in the sentence, white text with a yellow underline */
.pf-article-body a:not(.wp-block-button__link),
.entry-content a:not(.wp-block-button__link) {
	color: #FFFFFF; text-decoration: underline; text-decoration-color: rgba(255, 207, 27, 0.75);
	text-decoration-thickness: 2px; text-underline-offset: 0.22em; text-decoration-skip-ink: auto;
	transition: color .15s ease, text-decoration-color .15s ease, background-color .15s ease; border-radius: 2px;
}
.pf-article-body a:not(.wp-block-button__link):hover,
.entry-content a:not(.wp-block-button__link):hover { color: var(--pf-yellow); text-decoration-color: var(--pf-yellow); background: rgba(255, 207, 27, 0.08); }


/* Author box + previous/next */
.pf-author-box { gap: 1rem !important; padding: 1.25rem; margin-block-start: 2.5rem !important; border: 1px solid var(--pf-line); border-radius: var(--pf-r); background: var(--pf-surface); max-width: 720px; }
.pf-author-text > * { margin: 0; }
.pf-author-text > * + * { margin-block-start: 0.3rem; }
.pf-author-name { font-family: var(--pf-head); font-weight: 800; font-size: 1.05rem !important; color: #FFFFFF; }
.pf-author-name a { color: #FFFFFF; text-decoration: none; }
.pf-author-bio { font-size: 0.875rem; color: var(--pf-slate); line-height: 1.6; }
.pf-post-nav { gap: 1rem !important; padding-top: 1.25rem; border-top: 1px solid var(--pf-line); max-width: 720px; }
.wp-block-post-navigation-link { max-width: 48%; }
.wp-block-post-navigation-link .post-navigation-link__label { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pf-slate); }
.wp-block-post-navigation-link a { text-decoration: none; font-family: var(--pf-head); font-weight: 700; color: #FFFFFF; }
.wp-block-post-navigation-link a:hover { color: var(--pf-yellow); }
.wp-block-post-navigation-link.post-navigation-link-next { text-align: right; margin-left: auto; }
.pf-keep { padding-top: 0.5rem; }
.pf-keep > * + * { margin-block-start: 1.25rem; }

/* Pages */
.pf-page .pf-article-body { margin-left: auto; margin-right: auto; }

/* Status labels added by functions.php (classic draft markup) */
.pf-label {
	display: inline-block;
	font-size: 0.75em;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.4;
	padding: 0.12em 0.6em;
	border-radius: 999px;
	vertical-align: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}
.pf-label--confirmed { background: #4ADE80; color: #052E16; }
.pf-label--rumoured  { background: #F87171; color: #2B0505; }
.pf-label--tbc       { background: #A9B6CF; color: #0B1220; }
.pf-label--partial   { background: #FFCF1B; color: #070E1C; }
.pf-label--confirmed::before { content: "\2713\00a0"; }
.pf-label--rumoured::before  { content: "?\00a0"; }
h2 .pf-label, h3 .pf-label, h4 .pf-label { font-size: 0.6em; margin-left: 0.25em; }

/* Callout block styles: Confirmed / Rumoured / TBC box */
.is-style-pf-confirmed,
.is-style-pf-rumoured,
.is-style-pf-tbc {
	border-left: 6px solid;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	color: var(--pf-ink);
}
.is-style-pf-confirmed { border-color: #4ADE80; background: #0E2A1F; }
.is-style-pf-rumoured  { border-color: #F87171; background: #2C1216; }
.is-style-pf-tbc       { border-color: #A9B6CF; background: #121E37; }
.is-style-pf-confirmed::before,
.is-style-pf-rumoured::before,
.is-style-pf-tbc::before {
	display: block;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 0.25rem;
}
.is-style-pf-confirmed::before { content: "CONFIRMED"; color: #86EFAC; }
.is-style-pf-rumoured::before  { content: "RUMOURED";  color: #FCA5A5; }
.is-style-pf-tbc::before       { content: "TO BE CONFIRMED"; color: #CBD5E1; }

/* Tables: classic <table> in drafts and core/table block */
.entry-content table,
.wp-block-table table,
.editor-styles-wrapper table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	margin: 1.5rem 0;
	color: var(--pf-ink);
	background: var(--pf-night);
	border: 1px solid var(--pf-line);
}
.entry-content table th,
.wp-block-table th,
.editor-styles-wrapper table th,
.entry-content table thead td,
.wp-block-table thead td {
	background: var(--pf-navy);
	color: #FFFFFF;
	text-align: left;
	font-weight: 700;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--pf-line);
	border-bottom: 2px solid var(--pf-yellow);
}
.entry-content table td,
.wp-block-table td,
.editor-styles-wrapper table td {
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--pf-line);
	vertical-align: top;
}
.entry-content table tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) td,
.editor-styles-wrapper table tbody tr:nth-child(even) td {
	background: var(--pf-surface);
}
.entry-content table tbody tr:hover td,
.wp-block-table tbody tr:hover td { background: #112449; }
.wp-block-table.is-style-stripes { border-bottom: 0; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: transparent; }
.wp-block-table figcaption,
.wp-block-table .wp-element-caption { color: var(--pf-slate); }
/* Scroll wide tables on small screens */
@media (max-width: 700px) {
	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}


/* Footer */
.pf-footer { background: #050B17; border-top: 1px solid var(--pf-line); padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 1.5rem; }
.pf-footer h2 { font-family: var(--pf-head); }
.pf-footer p { color: var(--pf-slate); }
.pf-footer a { color: #FFFFFF; text-decoration: none; }
.pf-footer a:hover { color: var(--pf-yellow); }
.pf-footer .pf-footer-links { list-style: none; padding: 0; margin: 0; }
.pf-footer .pf-footer-links li { margin: 0 0 0.45rem; }
.pf-footer .pf-footer-rule { border: 0; border-top: 1px solid var(--pf-line); margin-top: 2.5rem; margin-bottom: 1rem; opacity: 1; }
.pf-footer-logo img { height: auto; }

/* Search block (pages) */
.wp-block-search:not(.pf-header-search) .wp-block-search__input { background: var(--pf-surface); color: var(--pf-ink); border: 1px solid var(--pf-line-strong); border-radius: 999px; padding: 0.6rem 1rem; }
.wp-block-search__input::placeholder { color: var(--pf-slate); opacity: 1; }
.wp-block-search:not(.pf-header-search) .wp-block-search__button { border-radius: 999px; background: var(--pf-yellow); color: var(--pf-night); font-weight: 700; border: 0; padding: 0.6rem 1.25rem; }

/* Pagination */
.pf-pagination { margin-top: 1.5rem; gap: 0.5rem; }
.pf-pagination a, .pf-pagination .page-numbers { color: #FFFFFF; text-decoration: none; padding: 0.35rem 0.7rem; border: 1px solid var(--pf-line-strong); border-radius: 8px; }
.pf-pagination .page-numbers.current { background: var(--pf-yellow); color: var(--pf-night); border-color: var(--pf-yellow); }

/* Outline buttons */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #FFFFFF; border: 1px solid var(--pf-line-strong); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--pf-yellow); color: var(--pf-yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.pf-hero-row > .wp-block-column { flex-basis: 100% !important; }
	.pf-hero-card { min-height: 340px !important; }
	.pf-hero-excerpt p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.pf-hero-excerpt { font-size: 0.95rem !important; }
	.pf-hero-side .wp-block-query, .pf-side-loop { height: auto; }
	.pf-side-loop { gap: 0.6rem; }
	.pf-side-loop > li { flex: none; }
	.pf-side-card { padding: 0.7rem; gap: 0.8rem !important; }
	.pf-thumb { flex-basis: 96px; }
	.pf-side-title { font-size: 0.95rem !important; }
	.pf-side-body .pf-meta-row { gap: 0.45rem !important; }
	.pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.pf-tile { padding: 0.8rem; gap: 0.6rem !important; border-bottom: 1px solid var(--pf-line); }
	.pf-tile:nth-child(2n) { border-right: 0; }
	.pf-tile-icon, .pf-tile-arrow, .pf-tile-sub { display: none; }
	.pf-two-col > .wp-block-column { flex-basis: 100% !important; }
	.pf-col-side > .pf-sidebar { position: static; }
	.pf-article-title { max-width: none; }
	.pf-article-body { font-size: 1.0625rem; }
	.pf-article-body > p:first-child { font-size: 1.15rem; }
}
@media (max-width: 600px) { .wp-block-post-navigation-link { max-width: 100%; } }

/* Editor parity */
.editor-styles-wrapper .wp-block-post-content a { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--pf-yellow); text-decoration-thickness: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.pf-hero-card:hover .wp-block-cover__image-background, .pf-list-card:hover .pf-list-thumb img { transform: none; }
}
