/*
 * pf.css: component styles for the paving-forward theme.
 * Colors, fonts and sizes come from theme.json presets (var(--wp--preset--*)) and custom tokens
 * (var(--wp--custom--*)); no raw hex here. One responsive breakpoint: 781px.
 */

/* ==========================================================================
   1. Base
   ========================================================================== */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* ==========================================================================
   2. Radius utilities (values come from theme.json settings.custom.radius)
   ========================================================================== */

.pf-radius-button {
	border-radius: var(--wp--custom--radius--button);
}

.pf-radius-card {
	border-radius: var(--wp--custom--radius--card);
}

.pf-radius-pill {
	border-radius: var(--wp--custom--radius--pill);
}

/* ==========================================================================
   3. Block styles: pull quote and stat box (Figma 884:2577, 884:2594)
   ========================================================================== */

/* Quote > Pull Quote: 4px orange left rule, navy Barlow Semi Condensed 20/30. */
.wp-block-quote.is-style-pf-pullquote {
	background: none;
	border: 0;
	border-left: 4px solid var(--wp--preset--color--orange);
	border-radius: 0;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--semi-condensed);
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.5;
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 22px;
	quotes: none;
}

.wp-block-quote.is-style-pf-pullquote.is-style-pf-pullquote > * {
	margin-block: 0;
}

.wp-block-quote.is-style-pf-pullquote.is-style-pf-pullquote > * + * {
	margin-block-start: 10px;
}

.wp-block-quote.is-style-pf-pullquote p {
	font: inherit;
	letter-spacing: inherit;
}

.wp-block-quote.is-style-pf-pullquote cite {
	color: var(--wp--preset--color--slate);
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

/* Group > Stat Box: pale box, large orange figure first, caption second. */
.wp-block-group.is-style-pf-stat {
	background-color: var(--wp--preset--color--mist);
	border-radius: var(--wp--custom--radius--card);
	padding: 24px 26px;
}

.wp-block-group.is-style-pf-stat.is-style-pf-stat > * {
	margin-block: 0;
}

.wp-block-group.is-style-pf-stat.is-style-pf-stat > :first-child {
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--display);
	font-size: 2.75rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

/* Constrained layout centres children with !important auto margins; pin the caption left. */
.wp-block-group.is-style-pf-stat.is-style-pf-stat > :not(:first-child) {
	color: var(--wp--preset--color--ink-soft);
	font-size: 0.9375rem;
	line-height: 1.72;
	margin-block-start: 5px;
	margin-left: 0 !important;
	max-width: 576px;
}

/* ==========================================================================
   4. Page chrome: stacking, gutters, eyebrow
   Content column is 1152px (theme.json contentSize) inside a 24px root gutter;
   16px at the breakpoint (mobile frames 884:3777 / 884:3778).
   ========================================================================== */

body .wp-site-blocks > * + * {
	margin-block-start: 0;
}

main.pf-main {
	padding-bottom: 0;
	padding-top: 0;
}

main.pf-main > * {
	margin-block-end: 0;
	margin-block-start: 0;
}

/* Eyebrow on light (letter-spaced orange caps); the hero and footer recolour it. */
.pf-eyebrow {
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	line-height: 1.21;
	text-transform: uppercase;
}

/* ==========================================================================
   5. Header (Figma 884:2726, mobile 884:3778)
   ========================================================================== */

.pf-header {
	background-color: var(--wp--preset--color--navy);
	box-shadow: var(--wp--custom--shadow--nav);
	color: var(--wp--preset--color--frost);
	position: relative;
	z-index: 20;
}

.pf-header .pf-header__inner {
	gap: 24px;
	min-height: 64px;
}

/* Wordmark: "PAVING THE WAY" white, "FORWARD »" orange bold italic. */
.pf-wordmark {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.4375rem;
	font-weight: 700;
	letter-spacing: 0.005em;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
	white-space: nowrap;
}

.pf-wordmark a,
.pf-wordmark a:hover,
.pf-wordmark a:focus {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.pf-wordmark em {
	color: var(--wp--preset--color--orange);
	font-style: italic;
}

.pf-wordmark em span {
	letter-spacing: -0.06em;
}

/* Nav links: Barlow Bold 14.5px, frost, 24px apart. */
.pf-header .pf-nav {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.90625rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.13;
}

.pf-nav .wp-block-navigation__container {
	gap: 24px;
}

.pf-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--frost);
}

.pf-nav .wp-block-navigation-item__content:hover,
.pf-nav .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Hamburger (sky, 24px) and the overlay. */
.pf-nav .wp-block-navigation__responsive-container-open,
.pf-nav .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--sky);
}

.pf-header .pf-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	padding: 18px 16px 32px;
}

.pf-header .pf-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
	padding-top: 56px;
}

.pf-header .pf-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start;
	gap: 22px;
}

.pf-header .pf-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem;
	letter-spacing: var(--wp--custom--tracking--heading);
	text-transform: uppercase;
}

/* ==========================================================================
   6. Footer (Figma 884:3086)
   ========================================================================== */

.pf-footer {
	background-color: var(--wp--preset--color--navy);
	border-top: 3px solid var(--wp--preset--color--orange);
	color: var(--wp--preset--color--fog);
	padding-top: 64px;
}

.pf-footer .pf-footer__inner > * {
	margin-block-start: 0;
}

/* The synced pf-footer-about group: eyebrow + 533px paragraph, flush left. */
.pf-footer .pf-footer-about.has-global-padding {
	max-width: 533px;
	padding-left: 0;
	padding-right: 0;
}

.pf-footer .pf-footer-about > * {
	margin: 0;
}

.pf-footer .pf-footer-about > * + * {
	margin-top: 12px;
}

.pf-footer .pf-footer-about .pf-eyebrow {
	color: var(--wp--preset--color--sky);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: var(--wp--custom--tracking--footer-eyebrow);
	line-height: 1.23;
}

.pf-footer .pf-footer-about p:not(.pf-eyebrow) {
	color: var(--wp--preset--color--fog);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.pf-footer .pf-footer__inner > .pf-footer__bottom {
	border-top: 1px solid var(--wp--custom--line--on-navy-sky);
	color: var(--wp--preset--color--sky);
	font-size: var(--wp--preset--font-size--small);
	gap: 8px 24px;
	line-height: 1.4;
	margin-top: 48px;
	padding: 15px 0;
}

.pf-footer .pf-footer__copy {
	gap: 0.3em;
}

.pf-footer .pf-footer__bottom p {
	margin: 0;
}

.pf-footer .pf-footer__link a {
	color: var(--wp--preset--color--frost);
	font-weight: 700;
	text-decoration: none;
}

.pf-footer .pf-footer__link a:hover,
.pf-footer .pf-footer__link a:focus-visible {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
}

.pf-footer .pf-footer__links {
	gap: 8px 20px;
}

/* ==========================================================================
   7. Page hero (archive hero, Figma 884:3155) and breadcrumb
   ========================================================================== */

.pf-page-hero {
	background-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--fog);
	padding-bottom: 56px;
	padding-top: 56px;
}

.pf-page-hero > *,
.pf-page-hero .pf-page-hero__inner > * {
	margin-block-end: 0;
	margin-block-start: 0;
}

.pf-breadcrumb {
	color: var(--wp--preset--color--sky);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.02em;
	line-height: 1.23;
}

.pf-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.pf-breadcrumb a:hover,
.pf-breadcrumb a:focus-visible {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
}

.pf-breadcrumb__sep {
	margin: 0 0.3em;
}

.pf-page-hero .pf-page-hero__eyebrow {
	color: var(--wp--preset--color--orange-soft);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	line-height: 1.21;
	margin-top: 18px;
	text-transform: uppercase;
}

.pf-page-hero .pf-page-hero__title {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 0.98;
	margin-top: 8px;
}

.pf-page-hero .pf-page-hero__dek {
	color: var(--wp--preset--color--fog);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.55;
	margin-top: 16px;
	max-width: 640px;
}

.pf-page-hero .pf-page-hero__dek p {
	margin: 0;
}

/* ==========================================================================
   8. Card media: image, YouTube thumb, placeholders, badge (snippet 02 markup)
   ========================================================================== */

.pf-card-media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
}

.pf-card-media.pf-card-media > * {
	margin: 0;
}

.pf-card-media .pf-card-media__img {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.pf-placeholder {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	width: 100%;
}

/* Video: white 54px disc with a 16x20 navy triangle (the 24px icon drawn at 32px). */
.pf-placeholder--video .pf-placeholder__icon {
	align-items: center;
	background-color: var(--wp--custom--surface--play);
	border-radius: 50%;
	color: var(--wp--preset--color--navy);
	display: flex;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.pf-placeholder--video .pf-icon--play {
	display: block;
	height: 32px;
	width: 32px;
}

/* Article: 44px navy document at 75%, 1.6px stroke as Figma (0.873 x 44/24). */
.pf-placeholder--doc .pf-placeholder__icon {
	color: var(--wp--preset--color--navy);
	display: flex;
	opacity: 0.75;
}

.pf-placeholder--doc .pf-icon--document {
	display: block;
	height: 44px;
	stroke-width: 0.873;
	width: 44px;
}

.pf-badge {
	background-color: var(--wp--preset--color--orange);
	border-radius: 5px;
	color: var(--wp--preset--color--white);
	display: inline-block;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--custom--typography--badge);
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--badge);
	line-height: 1.24;
	padding: 4px 9px;
	text-transform: uppercase;
}

.pf-card-media .pf-card-media__badge {
	left: 10px;
	position: absolute;
	top: 10px;
	z-index: 1;
}

/* ==========================================================================
   9. Grid card (pattern pf-card-grid; Figma card 884:3176)
   The title link is stretched over the whole card.
   ========================================================================== */

.pf-card {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.pf-card.pf-card > * {
	margin: 0;
}

.pf-card .pf-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 20px 20px 22px;
}

.pf-card .pf-card__body > * {
	margin: 0;
}

.pf-card .pf-card__date,
.pf-row .pf-row__date {
	color: var(--wp--preset--color--slate);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--badge);
	line-height: 1.5;
	text-transform: uppercase;
}

.pf-card .pf-card__title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.05;
	margin-top: 7px;
}

.pf-card .pf-card__title a,
.pf-row .pf-row__title a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.pf-card .pf-card__title a::after,
.pf-row .pf-row__title a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 2;
}

.pf-card:hover .pf-card__title a,
.pf-card .pf-card__title a:focus-visible,
.pf-row:hover .pf-row__title a,
.pf-row .pf-row__title a:focus-visible {
	color: var(--wp--preset--color--orange-hover);
}

.pf-card:focus-within,
.pf-row:focus-within {
	outline: 2px solid var(--wp--preset--color--navy);
	outline-offset: 2px;
}

.pf-card .pf-card__title a:focus-visible,
.pf-row .pf-row__title a:focus-visible {
	outline: none;
}

.pf-card .pf-card__excerpt {
	color: var(--wp--preset--color--steel);
	font-size: var(--wp--custom--typography--card-text);
	line-height: 1.5;
	margin-top: 9px;
}

.pf-card .pf-card__excerpt p,
.pf-row .pf-row__excerpt p {
	margin: 0;
}

.pf-card .pf-card__cta,
.pf-row .pf-row__cta {
	color: var(--wp--preset--color--orange);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	line-height: 1.21;
}

.pf-card .pf-card__cta {
	margin-top: auto;
	padding-top: 20px;
}

/* The grid: 3 across, 26px gaps (Figma cards 884:3175). Reuse: put class pf-card-grid on a Post Template. */
.wp-block-post-template.pf-card-grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wp-block-post-template.pf-card-grid > li {
	margin: 0;
}

/* ==========================================================================
   10. Row card (pattern pf-card-row; Figma Home list 884:2837)
   ========================================================================== */

.pf-row {
	align-items: center;
	display: flex;
	gap: 26px;
	padding: 22px 0;
	position: relative;
}

.pf-row.pf-row > * {
	margin: 0;
}

li:first-child > .pf-row {
	padding-top: 0;
}

li + li > .pf-row {
	border-top: 1px solid var(--wp--preset--color--line);
}

.pf-row .pf-card-media {
	border-radius: 10px;
	flex: 0 0 320px;
	width: 320px;
}

.pf-row .pf-placeholder--video .pf-placeholder__icon {
	height: 50px;
	width: 50px;
}

.pf-row .pf-row__body {
	flex: 1 1 auto;
	min-width: 0;
}

.pf-row .pf-row__body > * {
	margin: 0;
}

.pf-row .pf-row__date {
	font-size: 0.78125rem;
}

.pf-row .pf-row__title {
	font-size: 1.625rem;
	line-height: 1.03;
	margin-top: 7px;
}

.pf-row .pf-row__excerpt {
	color: var(--wp--preset--color--steel);
	font-size: 0.9375rem;
	line-height: 1.5;
	margin-top: 9px;
	max-width: 533px;
}

.pf-row .pf-row__cta {
	letter-spacing: 0.02em;
	margin-top: 10px;
}

/* ==========================================================================
   11. Archive body: pills, pagination, empty state (Figma 884:3162, 884:3305)
   ========================================================================== */

.pf-archive {
	padding-bottom: 64px;
	padding-top: 48px;
}

.pf-archive.pf-archive > * {
	margin-block-start: 0;
}

.pf-archive > .pf-pills {
	margin-bottom: 30px;
}

.pf-pills p {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.pf-pills a {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--ink-soft);
	display: inline-block;
	font-size: 0.84375rem;
	font-weight: 700;
	line-height: 1.26;
	padding: 8px 16px;
	text-decoration: none;
	white-space: nowrap;
}

.pf-pills a:hover,
.pf-pills a:focus-visible {
	border-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--navy);
}

.pf-pills a.is-active {
	background-color: var(--wp--preset--color--navy);
	border-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

.pf-archive__query.pf-archive__query > * {
	margin-block-start: 0;
}

.pf-pager.wp-block-query-pagination {
	gap: 8px;
	margin-top: 44px;
}

.pf-pager .wp-block-query-pagination-numbers {
	display: flex;
	gap: 8px;
}

.pf-pager .page-numbers,
.pf-pager .wp-block-query-pagination-next,
.pf-pager .wp-block-query-pagination-previous {
	align-items: center;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 8px;
	box-sizing: border-box;
	color: var(--wp--preset--color--navy);
	display: inline-flex;
	font-size: 0.90625rem;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	line-height: 1.24;
	margin: 0;
	min-width: 42px;
	text-decoration: none;
}

.pf-pager .wp-block-query-pagination-next,
.pf-pager .wp-block-query-pagination-previous {
	padding: 0 12px;
}

.pf-pager .page-numbers.dots {
	border-color: transparent;
}

.pf-pager .page-numbers.current {
	background-color: var(--wp--preset--color--navy);
	border-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

.pf-pager a:hover,
.pf-pager a:focus-visible {
	border-color: var(--wp--preset--color--navy);
}

.pf-pager .wp-block-query-pagination-next-arrow {
	margin-left: 4px;
}

.pf-pager .wp-block-query-pagination-previous-arrow {
	margin-right: 4px;
}

.pf-empty {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	padding: 48px 24px;
	text-align: center;
}

.pf-empty.pf-empty > * {
	margin: 0;
}

.pf-empty .pf-empty__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.pf-empty .pf-empty__link {
	margin-top: 20px;
}

.pf-empty .pf-empty__link a {
	background-color: var(--wp--preset--color--navy);
	border-radius: var(--wp--custom--radius--button);
	color: var(--wp--preset--color--white);
	display: inline-block;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 14px 32px;
	text-decoration: none;
}

.pf-empty .pf-empty__link a:hover,
.pf-empty .pf-empty__link a:focus-visible {
	background-color: var(--wp--preset--color--navy-soft);
}

/* ==========================================================================
   12. Single post (Figma 884:2545: hero 884:2546, body 884:2565, related 884:2637)
   Body column + 56px gap + 320px sidebar = the 1152px content column.
   ========================================================================== */

/* Hero: reuses .pf-page-hero; ExtraBold title and the meta line. */
.pf-post-hero .pf-page-hero__title {
	font-weight: 800;
	max-width: 760px;
}

.pf-post-hero .pf-post-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0 14px;
	margin-top: 24px;
}

.pf-post-hero .pf-post-meta.pf-post-meta > * {
	margin: 0;
}

.pf-post-meta .pf-post-meta__item {
	align-items: center;
	color: var(--wp--preset--color--sky);
	display: flex;
	font-size: 0.84375rem;
	letter-spacing: 0.02em;
	line-height: 1.26;
}

/* The dot belongs to the piece after it, so a removed piece never leaves a stray dot. */
.pf-post-meta .pf-post-meta__item + .pf-post-meta__item::before {
	background-color: currentColor;
	border-radius: 50%;
	content: "";
	flex: none;
	height: 4px;
	margin-right: 14px;
	opacity: 0.6;
	width: 4px;
}

/* Layout: body column and sidebar. */
:is(.pf-post, .pf-page) .pf-post__layout {
	align-items: start;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1fr) 320px;
	padding-bottom: 60px;
	padding-top: 60px;
}

:is(.pf-post, .pf-page) .pf-post__layout > * {
	margin: 0;
	min-width: 0;
}

.pf-post__body {
	padding-bottom: 22px;
}

.pf-post__body.pf-post__body > * {
	margin-block: 0;
}

.pf-post__body.pf-post__body > .pf-player + * {
	margin-block-start: 30px;
}

/* Player: featured image + caption, YouTube embed, or the navy play placeholder (snippet 02 markup). */
.pf-player .pf-player__figure {
	margin: 0;
}

.pf-player .pf-player__img {
	border-radius: 10px;
	display: block;
	height: auto;
	width: 100%;
}

.pf-player .pf-player__caption {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.72;
	margin-top: 9px;
}

.pf-player.pf-player--embed .pf-player__embed,
.pf-player.pf-player--placeholder {
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
}

.pf-player.pf-player--embed .pf-player__embed {
	background-color: var(--wp--preset--color--navy);
}

.pf-player .pf-player__embed iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

.pf-player .pf-placeholder--player .pf-placeholder__icon {
	height: 76px;
	width: 76px;
}

.pf-player .pf-placeholder--player .pf-icon--play {
	height: 44px;
	width: 44px;
}

/* Article prose (Figma 884:2566): 17.5/30.1 ink; 30px between blocks, more above headings. */
.pf-prose {
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--custom--typography--article);
	line-height: 1.72;
}

.pf-prose.pf-prose > * {
	margin-block: 0;
}

.pf-prose.pf-prose > * + * {
	margin-block-start: 30px;
}

.pf-prose.pf-prose > p {
	max-width: 672px;
}

.pf-prose.pf-prose > h2 {
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.05;
	margin-block-start: 37px;
}

.pf-prose.pf-prose > h3 {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.2;
	margin-block-start: 34px;
}

.pf-prose.pf-prose > :is(h2, h3, h4) + * {
	margin-block-start: 14px;
}

.pf-prose.pf-prose > :first-child {
	margin-block-start: 0;
}

.pf-prose :is(ul, ol) {
	padding-left: 20px;
}

.pf-prose li {
	margin-block: 0;
}

.pf-prose li + li {
	margin-top: 9px;
}

.pf-prose strong {
	font-weight: 700;
}

.pf-prose a {
	color: var(--wp--preset--color--navy);
	text-decoration-color: var(--wp--preset--color--orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.pf-prose a:hover,
.pf-prose a:focus-visible {
	color: var(--wp--preset--color--orange-hover);
}

.pf-prose figcaption,
.pf-prose .wp-element-caption {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.72;
	margin-top: 9px;
}

.pf-prose .wp-block-image img {
	border-radius: 10px;
}

/* Sidebar: bordered cards, 26px apart. */
.pf-post__aside {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.pf-post__aside.pf-post__aside > * {
	margin: 0;
}

.pf-side-card,
.pf-credit-help.pf-credit-help,
.pf-prepare.pf-prepare {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	padding: 22px;
}

.pf-side-card.pf-side-card > *,
.pf-credit-help.pf-credit-help > *,
.pf-prepare.pf-prepare > * {
	margin-block: 0;
}

.pf-side-card .pf-side-card__title {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pf-series .pf-series__query {
	margin-top: 11px;
}

.pf-series .pf-series__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pf-series .pf-series__list > li {
	margin: 0;
}

.pf-series .pf-series__link {
	font-family: var(--wp--preset--font-family--semi-condensed);
	font-size: 0.90625rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 0;
	text-transform: none;
}

.pf-series .pf-series__link a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.pf-series .pf-series__link a:hover,
.pf-series .pf-series__link a:focus-visible {
	color: var(--wp--preset--color--orange-hover);
	text-decoration: underline;
}

/* CTA side cards (synced patterns pf-credit-help and pf-prepare): text, then a full-width orange button with navy text. */
.pf-credit-help.pf-credit-help > * + *,
.pf-prepare.pf-prepare > * + * {
	margin-block-start: 11.5px;
}

.pf-credit-help p,
.pf-prepare p {
	color: var(--wp--preset--color--steel);
	font-size: 0.90625rem;
	line-height: 1.55;
}

.pf-credit-help .wp-block-button,
.pf-prepare .wp-block-button {
	width: 100%;
}

.pf-credit-help .wp-block-button .wp-block-button__link,
.pf-prepare .wp-block-button .wp-block-button__link {
	background-color: var(--wp--preset--color--orange);
	border-radius: var(--wp--custom--radius--button);
	box-sizing: border-box;
	color: var(--wp--preset--color--navy);
	display: block;
	font-family: var(--wp--preset--font-family--semi-condensed);
	font-size: 0.90625rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.35;
	padding: 14.5px 20px 12px;
	text-align: left;
	text-decoration: none;
	width: 100%;
}

.pf-credit-help .wp-block-button .wp-block-button__link:hover,
.pf-credit-help .wp-block-button .wp-block-button__link:focus-visible,
.pf-prepare .wp-block-button .wp-block-button__link:hover,
.pf-prepare .wp-block-button .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--orange-hover);
}

/* Related Articles band: eyebrow + title, then the 3-across pf-card-grid. */
.pf-related {
	background-color: var(--wp--preset--color--mist);
	padding-bottom: 60px;
	padding-top: 60px;
}

.pf-related.pf-related > * {
	margin-block: 0;
}

.pf-related.pf-related > .pf-related__head {
	margin-bottom: 26px;
}

.pf-related__head.pf-related__head > * {
	margin: 0;
}

.pf-related .pf-related__title {
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
	margin-top: 8px;
}

/* ==========================================================================
   12b. Standard page (Figma 884:3092: hero 884:3101, article 884:3107)
   The hero reuses .pf-page-hero; the body reuses the single-post layout, prose and
   sidebar card styles (section 12). Only the text cards are new.
   ========================================================================== */

/* Post Content's flow gap would push the body 19px below the hero; sections butt up like the Figma frame. */
.pf-page .pf-page-body.pf-page-body {
	margin-block: 0;
}

.pf-side-card p {
	color: var(--wp--preset--color--steel);
	font-size: 0.90625rem;
	line-height: 1.55;
}

.pf-side-card.pf-side-card > .pf-side-card__title + * {
	margin-block-start: 12px;
}

.pf-side-links.pf-side-links {
	display: flex;
	flex-direction: column;
	gap: 11px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pf-side-links li {
	font-size: 0.90625rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.pf-side-links a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.pf-side-links a:hover,
.pf-side-links a:focus-visible {
	color: var(--wp--preset--color--orange-hover);
	text-decoration: underline;
}

/* ==========================================================================
   12c. Home (Figma 884:2724; mobile 884:3440)
   Each section is a full-width .pf-home band in Post Content. Content sits on the
   site's 1152px column (Figma draws Home on the 1200px frame edge; aligned to the
   header and the other templates instead).
   ========================================================================== */

/* Bands butt up against each other (no Post Content flow gap). */
.pf-page .pf-home.pf-home {
	margin-block: 0;
}

.pf-home.pf-home > * {
	margin-block: 0;
}

/* Section head: eyebrow, h2, optional intro. */
.pf-home-head.pf-home-head > * {
	margin: 0;
}

.pf-home-head .pf-home-title {
	letter-spacing: var(--wp--custom--tracking--heading);
	line-height: 1;
	margin-top: 8px;
}

.pf-home-head .pf-home-intro {
	color: var(--wp--preset--color--ink-soft);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.55;
	margin-top: 18px;
	max-width: 720px;
}

.pf-home--navy .pf-eyebrow {
	color: var(--wp--preset--color--orange-soft);
}

.pf-home--navy .pf-home-head .pf-home-title {
	color: var(--wp--preset--color--white);
}

.pf-home--navy .pf-home-head .pf-home-intro {
	color: var(--wp--preset--color--fog);
}

/* Buttons: base is the theme.json orange button; sizes per Figma. */
.pf-home .wp-block-buttons > .wp-block-button {
	margin: 0;
}

/* 1. Hero collage (884:2734): 3 columns, 12px gaps, navy panel in the centre. */
.pf-home-hero {
	background-color: var(--wp--preset--color--navy);
	padding: 12px;
}

.pf-home-hero .pf-home-hero__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pf-home-hero .pf-home-hero__grid > * {
	margin: 0;
}

/* The ratio sizes the row; height 100% then fills it when the panel's text makes the row taller (narrow desktops). */
.pf-home-hero .pf-home-hero__photo {
	aspect-ratio: 619 / 345.7;
	background-color: var(--wp--preset--color--navy-deep);
	height: 100%;
	overflow: hidden;
	width: 100%;
}

.pf-home-hero .pf-home-hero__photo img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.pf-home-hero .pf-home-hero__photo--6 {
	aspect-ratio: 1881 / 276.58;
	grid-column: 1 / -1;
}

/* Figma crops the moving-day photo to its 28% to 50% band. */
.pf-home-hero .pf-home-hero__photo--6 img {
	object-position: 50% 36%;
}

.pf-home-hero .pf-home-hero__panel {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 16px;
	text-align: center;
}

.pf-home-hero .pf-home-hero__panel > * {
	margin: 0;
}

/* 52px at the 1905px Figma frame, scaled with the column. */
.pf-home-hero .pf-home-hero__title {
	color: var(--wp--preset--color--orange);
	font-size: clamp(2.125rem, calc((100vw - 48px) * 0.027), 3.25rem);
	font-weight: 700;
	letter-spacing: 0.015em;
	line-height: 0.98;
	text-wrap: balance;
}

.pf-home-hero .pf-home-hero__intro {
	color: var(--wp--preset--color--fog);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.55;
	margin-top: 14px;
	max-width: 547px;
}

/* 2 + 8. Navy bands: Guides (884:2751) and Tools (884:3045). */
.pf-home-guides,
.pf-home-tools {
	padding-bottom: 73px;
	padding-top: 72px;
}

.pf-home-guides {
	border-top: 1px solid var(--wp--custom--line--band-top);
}

.pf-home-guides .pf-home-head,
.pf-home-tools .pf-home-head {
	margin-bottom: 34px;
}

.pf-tool-grid.pf-tool-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	padding: 0;
}

.pf-tool-grid.pf-tool-grid > * {
	margin: 0;
}

/* Card on navy: icon box, title, text, link pinned to the bottom. The title or link stretches over the card. */
.pf-tool {
	background-color: var(--wp--custom--surface--on-navy);
	border: 1px solid var(--wp--custom--line--on-navy);
	border-radius: var(--wp--custom--radius--card);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 25px 17px 27px 23px;
	position: relative;
}

.pf-tool.pf-tool > * {
	margin: 0;
}

.pf-icon-box,
.pf-tool .pf-card-media.pf-card-media--icon {
	align-items: center;
	aspect-ratio: auto;
	border: 1px solid var(--wp--custom--line--icon-box);
	border-radius: 10px;
	box-sizing: border-box;
	color: var(--wp--preset--color--sky);
	display: flex;
	flex: none;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.pf-icon-box .pf-icon,
.pf-card-media--icon .pf-icon {
	display: block;
	height: 24px;
	width: 24px;
}

.pf-card-media--icon .pf-card-media__icon {
	display: flex;
}

.pf-tool .pf-tool__title {
	color: var(--wp--preset--color--white);
	font-size: 1.3125rem;
	letter-spacing: 0;
	line-height: 1.05;
	margin-top: 16px;
}

.pf-tool .pf-tool__title a,
.pf-tool .pf-tool__cta a {
	color: inherit;
	text-decoration: none;
}

.pf-tool .pf-tool__title a::after,
.pf-tool:not(.pf-tool--guide) .pf-tool__cta a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.pf-tool .pf-tool__text {
	color: var(--wp--preset--color--fog);
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
	margin-top: 8px;
}

.pf-tool .pf-tool__text p {
	margin: 0;
}

.pf-tool .pf-tool__cta {
	color: var(--wp--preset--color--orange-soft);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	line-height: 1.21;
	margin-top: auto;
	padding-top: 18px;
}

.pf-tool:hover {
	border-color: var(--wp--custom--line--icon-box);
}

.pf-tool:hover .pf-tool__title,
.pf-tool:hover .pf-tool__cta {
	color: var(--wp--preset--color--orange-soft);
}

.pf-tool:focus-within {
	outline: 2px solid var(--wp--preset--color--orange-soft);
	outline-offset: 2px;
}

.pf-tool a:focus-visible {
	outline: none;
}

/* 3. Featured This Week (884:2801): media 660:412 at left, body at right. */
.pf-home-featured {
	padding-bottom: 82px;
	padding-top: 64px;
}

.pf-home-featured .pf-home-head {
	margin-bottom: 22px;
}

.pf-featured {
	align-items: start;
	display: grid;
	gap: 64px;
	grid-template-columns: minmax(0, 634fr) minmax(0, 454fr);
}

.pf-featured.pf-featured > * {
	margin: 0;
}

.pf-featured .pf-card-media {
	aspect-ratio: 660 / 412;
	border-radius: 16px;
}

.pf-featured .pf-card-media__badge {
	display: none;
}

.pf-featured .pf-placeholder--video .pf-placeholder__icon {
	height: 76px;
	width: 76px;
}

.pf-featured .pf-placeholder--video .pf-icon--play {
	height: 44px;
	width: 44px;
}

.pf-featured .pf-featured__body {
	padding-top: 34px;
}

.pf-featured .pf-featured__body > * {
	margin: 0;
}

.pf-featured .pf-featured__series {
	color: var(--wp--preset--color--slate);
	font-size: 0.78125rem;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--badge);
	line-height: 1.28;
	text-transform: uppercase;
}

.pf-featured .pf-featured__title {
	font-size: 2.125rem;
	letter-spacing: 0;
	line-height: 1.02;
	margin-top: 10px;
}

.pf-featured .pf-featured__title a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.pf-featured .pf-featured__title a:hover,
.pf-featured .pf-featured__title a:focus-visible {
	color: var(--wp--preset--color--orange-hover);
}

.pf-featured .pf-featured__excerpt {
	color: var(--wp--preset--color--ink-soft);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.55;
	margin-top: 14px;
}

.pf-featured .pf-featured__excerpt p {
	margin: 0;
}

.pf-featured .pf-featured__actions {
	margin-top: 23px;
}

.pf-featured .pf-featured__actions .wp-block-button__link {
	font-size: 0.9375rem;
	padding: 13px 24px;
}

/* 4. Credit band (884:2821): copy on the left half, optional photo on the right half. */
.pf-home-credit .pf-home-credit__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pf-home-credit .pf-home-credit__inner > * {
	margin: 0;
}

.pf-home-credit .pf-home-credit__copy {
	max-width: 536px;
	padding-bottom: 95px;
	padding-top: 95px;
}

.pf-home-credit .pf-home-credit__copy > * {
	margin: 0;
}

.pf-home-credit .pf-home-credit__title {
	font-size: 2.75rem;
	line-height: 1;
	margin-top: 8px;
}

.pf-home-credit .pf-home-credit__text {
	color: var(--wp--preset--color--ink-soft);
	font-size: 1.0625rem;
	line-height: 1.65;
	margin-top: 16px;
	max-width: 508px;
}

.pf-home-credit .pf-home-credit__actions {
	margin-top: 27px;
}

.pf-home-credit .pf-home-credit__actions .wp-block-button__link {
	padding: 15px 28px;
}

.pf-home-credit .pf-home-credit__image {
	height: 100%;
}

.pf-home-credit .pf-home-credit__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* 5-7. Section lists (884:2831 / 884:2904 / 884:2977): pf-card-row rows and a navy "More" button. */
.pf-home-section {
	padding-bottom: 70px;
	padding-top: 70px;
}

.pf-home-section .pf-home-head {
	margin-bottom: 26px;
}

.pf-home-section .pf-home-more {
	margin-top: 30px;
}

/* Rows sit flush; pf-card-row draws the 22px padding and the rule between them. */
.pf-home .wp-block-post-template.pf-home-section__list > li,
.pf-home .wp-block-post-template.pf-featured-list > li {
	margin: 0;
}

.pf-home-more .wp-block-button__link {
	background-color: var(--wp--preset--color--navy);
	font-size: 0.9375rem;
	padding: 14px 32px;
}

.pf-home-more .wp-block-button__link:hover,
.pf-home-more .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--navy-soft);
}

/* ==========================================================================
   13. Breakpoint (781px): 16px gutter, hamburger, stacked cards
   ========================================================================== */

@media (max-width: 781px) {
	html body {
		--wp--style--root--padding-left: 16px;
		--wp--style--root--padding-right: 16px;
	}

	.pf-header .pf-header__inner {
		min-height: 58px;
	}

	.pf-wordmark {
		font-size: 1.1875rem;
	}

	/* Core switches to the overlay at 600px; this theme switches at 781px. */
	.pf-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.pf-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.pf-footer.has-global-padding {
		padding-left: 24px;
		padding-right: 24px;
	}

	.pf-page-hero {
		padding-bottom: 40px;
		padding-top: 40px;
	}

	.pf-page-hero .pf-page-hero__title {
		font-size: 2.125rem;
	}

	/* Figma mobile archive 884:3831 (named "Mobile Page"): 44 above the pills, 64 + 44 below the pager.
	   The pills keep the desktop 10px gaps and 30px to the grid; the pager keeps its 44px. */
	.pf-archive {
		padding-bottom: 108px;
		padding-top: 44px;
	}

	.wp-block-post-template.pf-card-grid {
		gap: 20px;
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-row {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
	}

	.pf-row .pf-card-media {
		flex-basis: auto;
		width: 100%;
	}

	.pf-row .pf-row__title {
		font-size: var(--wp--preset--font-size--large);
	}

	/* Single post (Figma mobile 884:3324). */
	.pf-post-hero .pf-page-hero__title {
		font-weight: 700;
	}

	:is(.pf-post, .pf-page) .pf-post__layout {
		gap: 40px;
		grid-template-columns: minmax(0, 1fr);
		padding-bottom: 36px;
		padding-top: 36px;
	}

	.pf-post__body {
		padding-bottom: 0;
	}

	.pf-prose {
		font-size: 1.03125rem;
	}

	.pf-prose.pf-prose > h2 {
		font-size: 1.625rem;
		font-weight: 700;
	}

	.pf-post__aside {
		gap: 18px;
	}

	.pf-related {
		padding-bottom: 44px;
		padding-top: 44px;
	}

	.pf-related .pf-related__title {
		font-size: 1.875rem;
		font-weight: 700;
	}

	/* Home (Figma mobile 884:3440). */
	.pf-home-hero {
		padding: 0;
	}

	.pf-home-hero .pf-home-hero__grid {
		gap: 0;
		grid-template-columns: minmax(0, 1fr);
	}

	/* Phones show the first and last photo around the panel. */
	.pf-home-hero .pf-home-hero__photo:is(.pf-home-hero__photo--2, .pf-home-hero__photo--3, .pf-home-hero__photo--4, .pf-home-hero__photo--5) {
		display: none;
	}

	.pf-home-hero .pf-home-hero__photo,
	.pf-home-hero .pf-home-hero__photo--6 {
		aspect-ratio: 390 / 407.5;
		grid-column: auto;
	}

	.pf-home-hero .pf-home-hero__photo--6 img {
		object-position: 50% 50%;
	}

	.pf-home-hero .pf-home-hero__panel {
		padding: 26px 12px 24px;
	}

	.pf-home-hero .pf-home-hero__title {
		color: var(--wp--preset--color--white);
		font-size: 2.125rem;
	}

	.pf-home-hero .pf-home-hero__intro {
		margin-top: 0;
		max-width: 351px;
	}

	.pf-home-guides,
	.pf-home-tools {
		padding-bottom: 45px;
		padding-top: 44px;
	}

	.pf-tool-grid.pf-tool-grid {
		gap: 18px;
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-home-featured {
		padding-bottom: 44px;
		padding-top: 44px;
	}

	.pf-featured {
		gap: 0;
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-home-credit .pf-home-credit__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-home-credit .pf-home-credit__copy {
		padding-bottom: 44px;
		padding-top: 44px;
	}

	.pf-home-credit .pf-home-credit__image {
		aspect-ratio: 600 / 508;
		margin-bottom: 44px;
	}

	.pf-home-section {
		padding-bottom: 44px;
		padding-top: 44px;
	}

	/* Tap targets (Task 10 mobile pass): every link and button is at least 44 x 44px.
	   Where the look must not move, an invisible ::after grows the hit area instead. */
	.pf-wordmark a,
	.pf-breadcrumb a,
	.pf-pills a,
	.pf-pager a,
	.pf-footer .pf-footer__link a {
		position: relative;
	}

	.pf-wordmark a::after,
	.pf-breadcrumb a::after,
	.pf-pills a::after,
	.pf-pager a::after,
	.pf-footer .pf-footer__link a::after {
		content: "";
		position: absolute;
	}

	/* Wordmark 23px tall: 11px above and below, inside the 58px bar. */
	.pf-wordmark a::after {
		inset: -11px 0;
	}

	/* Hamburger and close button: 24px icon, 44px button, same position. */
	.pf-nav .wp-block-navigation__responsive-container-open,
	.pf-nav .wp-block-navigation__responsive-container-close {
		margin: -10px;
		padding: 10px;
	}

	/* Overlay menu links: 32px tall with 22px gaps; 6px padding makes them 44px and the gap drops
	   to 10px, so the 54px pitch is unchanged. */
	.pf-header .pf-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		gap: 10px;
	}

	.pf-header .pf-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		padding-block: 6px;
	}

	/* Breadcrumb links: 44px tall, at least 44px wide, centred on the text (short links like "Home"). */
	.pf-breadcrumb a::after {
		bottom: -14px;
		left: 50%;
		top: -14px;
		transform: translateX(-50%);
		width: max(100%, 44px);
	}

	/* Pills: 35px tall with 10px row gaps; the hit area reaches 4.5px past the border, clear of the next row. */
	.pf-pills a::after {
		inset: -5.5px -1px;
	}

	/* Pager boxes are 42px. */
	.pf-pager a::after {
		inset: -2px;
	}

	.pf-footer .pf-footer__link a::after {
		inset: -14px 0;
	}

	/* Stacked text links (In This Series, Start Somewhere): one 44px row per link. The negative margins
	   take back the 12px each row adds above its first and below its last line, so the card padding looks
	   the same. Selectors are tripled/quadrupled to beat core's `:root :where(.is-layout-flow) > :last-child`
	   and the card's title + * rule. */
	.pf-series .pf-series__list.pf-series__list {
		gap: 0;
		margin-block: -12px;
	}

	.pf-side-card.pf-side-card > .pf-side-links.pf-side-links {
		gap: 0;
		margin-block: 0 -12px;
	}

	.pf-series .pf-series__link a,
	.pf-side-links a {
		align-items: center;
		display: flex;
		min-height: 44px;
	}
}
