/*
Theme Name: AidePublique Personnes
Theme URI: https://aidepublique.eu/
Author: Woolford Labs
Author URI: https://woolfordlabs.com/
Description: Un thème chaleureux, accessible et original pour le portail AidePublique.eu consacré aux aides publiques destinées aux personnes et aux familles.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aidepublique
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, translation-ready, blog
*/

:root {
	--ap-ink: #12343b;
	--ap-ink-deep: #09272d;
	--ap-lagoon: #0f766e;
	--ap-lagoon-dark: #0a5b56;
	--ap-mint: #dff6ee;
	--ap-mint-deep: #bce9db;
	--ap-coral: #f06c5b;
	--ap-coral-action: #c84437;
	--ap-coral-dark: #a9362d;
	--ap-sun: #ffd977;
	--ap-cream: #fff9ef;
	--ap-paper: #fffdf8;
	--ap-white: #ffffff;
	--ap-muted: #567177;
	--ap-border: #cfddd9;
	--ap-shadow: 0 18px 60px rgba(18, 52, 59, 0.11);
	--ap-shadow-small: 0 8px 26px rgba(18, 52, 59, 0.08);
	--ap-radius-small: 12px;
	--ap-radius: 22px;
	--ap-radius-large: 36px;
	--ap-container: 1180px;
	--ap-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ap-font-display: "Iowan Old Style", Baskerville, "Times New Roman", Georgia, serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ap-cream);
	color: var(--ap-ink);
	font-family: var(--ap-font-sans);
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--ap-lagoon);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ap-lagoon-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--ap-sun);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--ap-ink-deep);
	font-family: var(--ap-font-display);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	margin: 0 0 0.7em;
}

p {
	margin: 0 0 1.15em;
}

.ap-container {
	margin-left: auto;
	margin-right: auto;
	max-width: calc(var(--ap-container) + 48px);
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--ap-white);
	clip: auto !important;
	clip-path: none;
	color: var(--ap-ink-deep);
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	height: auto;
	left: 8px;
	padding: 12px 18px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

/* Header */
.ap-service-bar {
	background: var(--ap-ink-deep);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.73rem;
	font-weight: 650;
	letter-spacing: 0.035em;
}

.ap-service-bar__inner {
	display: flex;
	justify-content: space-between;
	padding-bottom: 7px;
	padding-top: 7px;
}

.ap-service-bar__note {
	align-items: center;
	display: flex;
	gap: 7px;
}

.ap-service-bar__note i {
	background: #71d8b8;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(113, 216, 184, 0.14);
	display: inline-block;
	height: 6px;
	width: 6px;
}

.site-header {
	background: rgba(255, 249, 239, 0.96);
	border-bottom: 1px solid rgba(18, 52, 59, 0.11);
	position: sticky;
	top: 0;
	z-index: 50;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	min-height: 78px;
}

.site-branding {
	flex: 0 0 auto;
}

.site-branding > a,
.site-branding .custom-logo-link {
	align-items: center;
	color: var(--ap-ink-deep);
	display: inline-flex;
	gap: 12px;
	text-decoration: none;
}

.site-branding__mark {
	height: 46px;
	width: 46px;
}

.site-branding__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.site-branding__text strong {
	font-family: var(--ap-font-display);
	font-size: 1.35rem;
	letter-spacing: -0.035em;
}

.site-branding__text strong span {
	color: var(--ap-coral-action);
}

.site-branding__text small {
	color: var(--ap-muted);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-top: 6px;
	text-transform: uppercase;
}

.custom-logo {
	height: auto;
	max-height: 60px;
	max-width: 270px;
	width: auto;
}

.primary-navigation {
	margin-left: auto;
}

.primary-navigation ul {
	align-items: center;
	display: flex;
	gap: 3px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation a {
	border-radius: 999px;
	color: var(--ap-ink);
	display: block;
	font-size: 0.86rem;
	font-weight: 700;
	padding: 10px 13px;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	background: var(--ap-mint);
	color: var(--ap-lagoon-dark);
}

.ap-header-cta,
.ap-button {
	align-items: center;
	background: var(--ap-coral-action);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 5px 0 var(--ap-coral-dark);
	color: var(--ap-white);
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 800;
	gap: 10px;
	justify-content: center;
	padding: 12px 19px;
	text-decoration: none;
	transition: box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.ap-header-cta:hover,
.ap-button:hover {
	background: var(--ap-coral-dark);
	box-shadow: 0 3px 0 #b94337;
	color: var(--ap-white);
	transform: translateY(2px);
}

.menu-toggle {
	background: transparent;
	border: 0;
	color: var(--ap-ink);
	cursor: pointer;
	display: none;
	height: 44px;
	padding: 10px;
	width: 44px;
}

.menu-toggle svg {
	height: 24px;
	width: 24px;
}

/* Hero */
.ap-hero {
	background:
		radial-gradient(circle at 15% 88%, rgba(255, 217, 119, 0.24), transparent 24%),
		linear-gradient(118deg, var(--ap-mint) 0%, #ebfaf5 50%, var(--ap-cream) 100%);
	border-bottom: 1px solid rgba(18, 52, 59, 0.08);
	overflow: hidden;
	position: relative;
}

.ap-hero::before {
	background-image: radial-gradient(rgba(15, 118, 110, 0.16) 1px, transparent 1px);
	background-size: 18px 18px;
	content: "";
	height: 190px;
	op: -20px;
	right: -10px;
	-webkit-mask-image: linear-gradient(to left, #000, transparent);
	mask-image: linear-gradient(to left, #000, transparent);
	opacity: 0.62;
	position: absolute;
	width: 340px;
}

.ap-orbit {
	border: 1px solid rgba(15, 118, 110, 0.13);
	border-radius: 50%;
	pointer-events: none;
	position: absolute;
}

.ap-orbit--one {
	height: 370px;
	right: 2%;
	top: 80px;
	width: 370px;
}

.ap-orbit--two {
	height: 520px;
	right: -5%;
	top: 4px;
	width: 520px;
}

.ap-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(48px, 7vw, 96px);
	grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
	min-height: 570px;
	padding-bottom: 72px;
	padding-top: 72px;
	position: relative;
	z-index: 2;
}

.ap-eyebrow,
.ap-kicker {
	align-items: center;
	color: var(--ap-lagoon-dark);
	display: flex;
	font-size: 0.73rem;
	font-weight: 850;
	gap: 9px;
	letter-spacing: 0.13em;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.ap-eyebrow span {
	background: var(--ap-coral);
	border-radius: 50%;
	display: inline-block;
	height: 9px;
	position: relative;
	width: 9px;
}

.ap-eyebrow span::after {
	border: 1px solid var(--ap-coral);
	border-radius: 50%;
	content: "";
	inset: -5px;
	position: absolute;
}

.ap-hero h1 {
	font-size: clamp(3rem, 5vw, 5.4rem);
	letter-spacing: -0.052em;
	line-height: 0.96;
	margin-bottom: 24px;
	max-width: 760px;
}

.ap-hero__intro {
	color: #355960;
	font-size: clamp(1.08rem, 1.55vw, 1.28rem);
	line-height: 1.6;
	margin-bottom: 30px;
	max-width: 680px;
}

.ap-hero__search {
	max-width: 690px;
}

.ap-hero__search > p {
	color: var(--ap-muted);
	font-size: 0.73rem;
	font-weight: 650;
	margin: 10px 0 0 17px;
}

.ap-search-form {
	align-items: center;
	background: var(--ap-white);
	border: 1px solid rgba(18, 52, 59, 0.14);
	border-radius: 16px;
	box-shadow: var(--ap-shadow-small);
	display: flex;
	gap: 10px;
	padding: 7px;
}

.ap-search-form__icon {
	color: var(--ap-lagoon);
	flex: 0 0 auto;
	margin-left: 10px;
}

.ap-search-form__icon svg {
	fill: none;
	height: 23px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
	width: 23px;
}

.ap-search-form input {
	background: transparent;
	border: 0;
	color: var(--ap-ink-deep);
	flex: 1 1 auto;
	font-size: 0.94rem;
	min-width: 100px;
	outline: 0;
	padding: 13px 4px;
}

.ap-search-form input::placeholder {
	color: #71898e;
	opacity: 1;
}

.ap-search-form button {
	align-items: center;
	background: var(--ap-lagoon);
	border: 0;
	border-radius: 11px;
	color: var(--ap-white);
	cursor: pointer;
	display: inline-flex;
	font-size: 0.85rem;
	font-weight: 800;
	gap: 15px;
	padding: 14px 17px;
	transition: background-color 160ms ease;
}

.ap-search-form button:hover {
	background: var(--ap-lagoon-dark);
}

.ap-quick-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.75rem;
	gap: 8px;
	margin-top: 19px;
}

.ap-quick-links > span {
	color: var(--ap-muted);
	font-weight: 700;
	margin-right: 2px;
}

.ap-quick-links a {
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(15, 118, 110, 0.18);
	border-radius: 999px;
	color: var(--ap-lagoon-dark);
	font-weight: 750;
	padding: 5px 10px;
	text-decoration: none;
}

.ap-quick-links a:hover {
	background: var(--ap-white);
}

.ap-compass {
	background: var(--ap-white);
	border: 1px solid rgba(18, 52, 59, 0.12);
	border-radius: 34px 34px 34px 9px;
	box-shadow: var(--ap-shadow);
	padding: 30px;
	position: relative;
	transform: rotate(1.3deg);
}

.ap-compass::after {
	background: var(--ap-sun);
	border-radius: 50%;
	content: "";
	height: 18px;
	position: absolute;
	right: 42px;
	top: 38px;
	width: 18px;
}

.ap-compass__badge {
	align-items: center;
	background: var(--ap-coral-action);
	border-radius: 999px;
	color: var(--ap-white);
	display: inline-flex;
	font-size: 0.68rem;
	font-weight: 850;
	gap: 7px;
	letter-spacing: 0.06em;
	padding: 7px 11px;
	text-transform: uppercase;
}

.ap-compass__badge svg {
	fill: none;
	height: 13px;
	stroke: currentColor;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 13px;
}

.ap-compass__head {
	border-bottom: 1px solid var(--ap-border);
	margin-top: 26px;
	padding-bottom: 22px;
}

.ap-compass__head p {
	color: var(--ap-muted);
	font-size: 0.78rem;
	font-weight: 700;
	margin-bottom: 3px;
}

.ap-compass__head strong {
	font-family: var(--ap-font-display);
	font-size: 2.45rem;
	letter-spacing: -0.04em;
}

.ap-compass__steps {
	list-style: none;
	margin: 0;
	padding: 7px 0 5px;
}

.ap-compass__steps li {
	align-items: flex-start;
	display: flex;
	gap: 13px;
	padding: 13px 0;
	position: relative;
}

.ap-compass__steps li:not(:last-child)::before {
	background: var(--ap-mint-deep);
	content: "";
	height: 21px;
	left: 15px;
	position: absolute;
	top: 43px;
	width: 1px;
}

.ap-compass__steps li > span {
	align-items: center;
	background: var(--ap-mint);
	border-radius: 50%;
	color: var(--ap-lagoon-dark);
	display: flex;
	flex: 0 0 31px;
	font-family: var(--ap-font-display);
	font-size: 0.88rem;
	font-weight: 700;
	height: 31px;
	justify-content: center;
}

.ap-compass__steps div {
	display: flex;
	flex-direction: column;
}

.ap-compass__steps strong {
	font-size: 0.89rem;
}

.ap-compass__steps small {
	color: var(--ap-muted);
	font-size: 0.72rem;
	line-height: 1.45;
	margin-top: 2px;
}

.ap-text-link {
	align-items: center;
	color: var(--ap-lagoon-dark);
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 850;
	gap: 8px;
	text-decoration: none;
}

.ap-text-link span {
	font-size: 1.05em;
	transition: transform 160ms ease;
}

.ap-text-link:hover span {
	transform: translateX(3px);
}

.ap-compass .ap-text-link {
	border-top: 1px solid var(--ap-border);
	padding-top: 20px;
	width: 100%;
}

.ap-compass .ap-text-link span {
	margin-left: auto;
}

/* Trust strip */
.ap-trust-strip {
	background: var(--ap-white);
	border-bottom: 1px solid rgba(18, 52, 59, 0.09);
}

.ap-trust-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.ap-trust-strip__grid > div {
	align-items: center;
	display: flex;
	gap: 13px;
	padding: 20px 25px;
}

.ap-trust-strip__grid > div:not(:last-child) {
	border-right: 1px solid rgba(18, 52, 59, 0.1);
}

.ap-check {
	align-items: center;
	background: var(--ap-mint);
	border-radius: 50%;
	color: var(--ap-lagoon-dark);
	display: flex;
	flex: 0 0 30px;
	font-size: 0.84rem;
	font-weight: 900;
	height: 30px;
	justify-content: center;
}

.ap-trust-strip p {
	color: var(--ap-muted);
	font-size: 0.73rem;
	line-height: 1.4;
	margin: 0;
}

.ap-trust-strip strong {
	color: var(--ap-ink);
	display: block;
	font-size: 0.82rem;
}

/* Sections */
.ap-section {
	padding-bottom: clamp(72px, 8vw, 116px);
	padding-top: clamp(72px, 8vw, 116px);
}

.ap-section--paper {
	background: var(--ap-paper);
}

.ap-section--mint {
	background: var(--ap-mint);
}

.ap-section__head {
	align-items: end;
	display: grid;
	gap: 50px;
	grid-template-columns: 1.35fr 0.65fr;
	margin-bottom: 47px;
}

.ap-section__head h2,
.ap-regions h2,
.ap-method h2,
.ap-final-cta h2 {
	font-size: clamp(2.35rem, 4.1vw, 4.2rem);
	margin: 0;
}

.ap-section__head > p {
	color: var(--ap-muted);
	font-size: 0.96rem;
	margin: 0 0 5px;
}

.ap-section__head .ap-kicker,
.ap-regions .ap-kicker,
.ap-method .ap-kicker,
.ap-final-cta .ap-kicker {
	margin-bottom: 14px;
}

.ap-section__head--compact {
	align-items: end;
}

/* Pathways */
.ap-pathways {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(4, 1fr);
}

.ap-pathway {
	background: var(--ap-white);
	border: 1px solid rgba(18, 52, 59, 0.11);
	border-radius: 22px 22px 22px 7px;
	color: var(--ap-ink);
	display: flex;
	flex-direction: column;
	min-height: 270px;
	overflow: hidden;
	padding: 23px;
	position: relative;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ap-pathway::before {
	background: var(--ap-mint);
	border-radius: 50%;
	content: "";
	height: 95px;
	position: absolute;
	right: -28px;
	top: -32px;
	transition: transform 220ms ease;
	width: 95px;
}

.ap-pathway:nth-child(4n + 2)::before,
.ap-pathway:nth-child(4n + 7)::before {
	background: #fff0c5;
}

.ap-pathway:nth-child(4n + 3)::before,
.ap-pathway:nth-child(4n + 8)::before {
	background: #fde4df;
}

.ap-pathway:hover {
	border-color: rgba(15, 118, 110, 0.35);
	box-shadow: var(--ap-shadow-small);
	color: var(--ap-ink);
	transform: translateY(-5px);
}

.ap-pathway:hover::before {
	transform: scale(1.25);
}

.ap-pathway__number {
	color: #809397;
	font-size: 0.66rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	position: absolute;
	right: 19px;
	top: 15px;
	z-index: 2;
}

.ap-pathway__icon {
	align-items: center;
	background: var(--ap-mint);
	border-radius: 15px;
	color: var(--ap-lagoon);
	display: flex;
	height: 49px;
	justify-content: center;
	margin-bottom: 29px;
	width: 49px;
}

.ap-pathway:nth-child(4n + 2) .ap-pathway__icon,
.ap-pathway:nth-child(4n + 7) .ap-pathway__icon {
	background: #fff0c5;
	color: #8a6011;
}

.ap-pathway:nth-child(4n + 3) .ap-pathway__icon,
.ap-pathway:nth-child(4n + 8) .ap-pathway__icon {
	background: #fde4df;
	color: var(--ap-coral-dark);
}

.ap-pathway__icon svg {
	height: 26px;
	width: 26px;
}

.ap-pathway h3 {
	font-family: var(--ap-font-sans);
	font-size: 1rem;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin-bottom: 9px;
}

.ap-pathway p {
	color: var(--ap-muted);
	font-size: 0.76rem;
	line-height: 1.55;
	margin: 0;
}

.ap-pathway__arrow {
	align-items: center;
	border: 1px solid var(--ap-border);
	border-radius: 50%;
	color: var(--ap-lagoon);
	display: flex;
	font-size: 0.9rem;
	height: 32px;
	justify-content: center;
	margin-top: auto;
	transition: background-color 180ms ease, color 180ms ease;
	width: 32px;
}

.ap-pathway:hover .ap-pathway__arrow {
	background: var(--ap-lagoon);
	color: var(--ap-white);
}

/* Regions */
.ap-regions {
	background:
		linear-gradient(rgba(18, 52, 59, 0.026) 1px, transparent 1px),
		linear-gradient(90deg, rgba(18, 52, 59, 0.026) 1px, transparent 1px),
		var(--ap-cream);
	background-size: 32px 32px;
}

.ap-regions__grid {
	align-items: center;
	display: grid;
	gap: clamp(54px, 8vw, 110px);
	grid-template-columns: 0.92fr 1.08fr;
}

.ap-regions__copy > p:not(.ap-kicker) {
	color: var(--ap-muted);
	font-size: 1rem;
	margin-top: 24px;
}

.ap-regions__note {
	align-items: flex-start;
	background: var(--ap-white);
	border-left: 4px solid var(--ap-sun);
	border-radius: 0 var(--ap-radius-small) var(--ap-radius-small) 0;
	display: flex;
	gap: 12px;
	margin-top: 31px;
	padding: 16px 18px;
}

.ap-regions__note > span {
	align-items: center;
	background: var(--ap-sun);
	border-radius: 50%;
	display: flex;
	flex: 0 0 25px;
	font-family: var(--ap-font-display);
	font-weight: 700;
	height: 25px;
	justify-content: center;
}

.ap-regions__note p {
	color: var(--ap-ink);
	font-size: 0.76rem;
	line-height: 1.55;
	margin: 1px 0 0;
}

.ap-region-list {
	background: var(--ap-white);
	border: 1px solid rgba(18, 52, 59, 0.12);
	border-radius: 28px;
	box-shadow: var(--ap-shadow);
	overflow: hidden;
	padding: 8px;
}

.ap-region-list a {
	align-items: center;
	border-radius: 20px;
	color: var(--ap-ink);
	display: grid;
	gap: 17px;
	grid-template-columns: 54px 1fr auto;
	padding: 17px;
	text-decoration: none;
	transition: background-color 160ms ease;
}

.ap-region-list a:not(:last-child) {
	border-bottom: 1px solid rgba(18, 52, 59, 0.08);
}

.ap-region-list a:hover {
	background: #f5fbf8;
}

.ap-region-list__mark {
	align-items: center;
	border-radius: 14px;
	display: flex;
	font-size: 0.68rem;
	font-weight: 900;
	height: 48px;
	justify-content: center;
	letter-spacing: 0.05em;
	width: 48px;
}

.ap-region-list__mark--coral { background: #fde4df; color: var(--ap-coral-dark); }
.ap-region-list__mark--gold { background: #fff0c5; color: #805606; }
.ap-region-list__mark--teal { background: var(--ap-mint); color: var(--ap-lagoon-dark); }
.ap-region-list__mark--navy { background: #dfeaed; color: var(--ap-ink); }

.ap-region-list a > span:nth-child(2) {
	display: flex;
	flex-direction: column;
}

.ap-region-list strong {
	font-size: 0.92rem;
}

.ap-region-list small {
	color: var(--ap-muted);
	font-size: 0.73rem;
	margin-top: 3px;
}

.ap-region-list em {
	align-items: center;
	border: 1px solid var(--ap-border);
	border-radius: 50%;
	color: var(--ap-lagoon);
	display: flex;
	font-style: normal;
	height: 34px;
	justify-content: center;
	width: 34px;
}

/* Guides */
.ap-guides {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}

.ap-guide-card {
	background: var(--ap-white);
	border-radius: 24px 24px 24px 8px;
	box-shadow: var(--ap-shadow-small);
	display: flex;
	flex-direction: column;
	min-height: 290px;
	padding: 27px;
}

.ap-guide-card__meta {
	align-items: center;
	display: flex;
	font-size: 0.64rem;
	font-weight: 850;
	justify-content: space-between;
	letter-spacing: 0.09em;
	margin-bottom: 24px;
	text-transform: uppercase;
}

.ap-guide-card__meta span:first-child {
	color: var(--ap-muted);
}

.ap-guide-card__meta span:last-child {
	background: #fde4df;
	border-radius: 999px;
	color: var(--ap-coral-dark);
	padding: 5px 9px;
}

.ap-guide-card h3 {
	font-size: 1.55rem;
	margin-bottom: 14px;
}

.ap-guide-card h3 a {
	color: var(--ap-ink-deep);
	text-decoration: none;
}

.ap-guide-card h3 a:hover {
	color: var(--ap-lagoon);
}

.ap-guide-card > p {
	color: var(--ap-muted);
	font-size: 0.78rem;
	line-height: 1.6;
}

.ap-guide-card__link {
	align-items: center;
	border-top: 1px solid var(--ap-border);
	color: var(--ap-lagoon-dark);
	display: flex;
	font-size: 0.77rem;
	font-weight: 850;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 17px;
	text-decoration: none;
}

/* Method */
.ap-method {
	background: var(--ap-ink-deep);
	color: rgba(255, 255, 255, 0.72);
	overflow: hidden;
	position: relative;
}

.ap-method::after {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	content: "";
	height: 600px;
	left: -260px;
	position: absolute;
	top: -290px;
	width: 600px;
}

.ap-method__grid {
	display: grid;
	gap: clamp(60px, 9vw, 130px);
	grid-template-columns: 0.9fr 1.1fr;
	position: relative;
	z-index: 2;
}

.ap-kicker--light {
	color: #8de2c8;
}

.ap-method h2 {
	color: var(--ap-white);
}

.ap-method__intro > p:last-child {
	font-size: 0.94rem;
	margin-top: 25px;
}

.ap-method__steps {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, 1fr);
}

.ap-method__steps > div {
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
	min-height: 154px;
	padding: 25px;
}

.ap-method__steps > div:nth-child(odd) {
	border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.ap-method__steps > div:nth-child(-n + 2) {
	padding-top: 0;
}

.ap-method__steps > div:nth-child(n + 3) {
	border-bottom: 0;
}

.ap-method__steps > div > span {
	color: var(--ap-coral);
	font-family: var(--ap-font-display);
	font-size: 0.86rem;
	font-weight: 700;
}

.ap-method__steps p {
	font-size: 0.76rem;
	line-height: 1.55;
	margin: 20px 0 0;
}

.ap-method__steps strong {
	color: var(--ap-white);
	display: block;
	font-size: 0.92rem;
	margin-bottom: 4px;
}

/* Final CTA */
.ap-final-cta {
	background: var(--ap-cream);
}

.ap-final-cta__card {
	align-items: center;
	background: var(--ap-sun);
	border-radius: 36px 36px 36px 10px;
	display: grid;
	gap: 70px;
	grid-template-columns: 1fr auto;
	padding: 55px 65px;
	position: relative;
}

.ap-final-cta__card::before {
	border: 1px solid rgba(18, 52, 59, 0.15);
	border-radius: 50%;
	content: "";
	height: 110px;
	position: absolute;
	right: 190px;
	top: -44px;
	width: 110px;
}

.ap-final-cta h2 {
	font-size: clamp(2rem, 3.5vw, 3.5rem);
	max-width: 830px;
}

.ap-final-cta .ap-kicker {
	color: #694c05;
}

.ap-final-cta .ap-button {
	background: var(--ap-ink-deep);
	box-shadow: 0 5px 0 rgba(9, 39, 45, 0.45);
	white-space: nowrap;
}

.ap-final-cta .ap-button:hover {
	background: var(--ap-lagoon-dark);
}

/* Footer */
.site-footer {
	background: var(--ap-paper);
	border-top: 1px solid rgba(18, 52, 59, 0.1);
	padding-top: 64px;
}

.site-footer__grid {
	display: grid;
	gap: 70px;
	grid-template-columns: 1.4fr 0.7fr 1fr;
	padding-bottom: 55px;
}

.site-footer__logo {
	align-items: center;
	color: var(--ap-ink-deep);
	display: inline-flex;
	font-family: var(--ap-font-display);
	font-size: 1.3rem;
	font-weight: 700;
	gap: 11px;
	text-decoration: none;
}

.site-footer__logo img {
	height: 42px;
	width: 42px;
}

.site-footer__logo em {
	color: var(--ap-coral-action);
	font-style: normal;
}

.site-footer__brand p,
.site-footer__grid > div > p {
	color: var(--ap-muted);
	font-size: 0.76rem;
	line-height: 1.65;
	margin: 20px 0 0;
	max-width: 400px;
}

.site-footer h2 {
	font-family: var(--ap-font-sans);
	font-size: 0.75rem;
	letter-spacing: 0.09em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin-bottom: 7px;
}

.site-footer li a {
	color: var(--ap-muted);
	font-size: 0.76rem;
	text-decoration: none;
}

.site-footer li a:hover {
	color: var(--ap-lagoon);
}

.site-footer__bottom {
	border-top: 1px solid rgba(18, 52, 59, 0.1);
	display: flex;
	justify-content: space-between;
	padding-bottom: 22px;
	padding-top: 22px;
}

.site-footer__bottom p {
	color: var(--ap-muted);
	font-size: 0.68rem;
	font-weight: 650;
	margin: 0;
}

/* Inner pages */
.ap-content-wrap {
	background: var(--ap-cream);
	min-height: 55vh;
	padding-bottom: 100px;
	padding-top: 80px;
}

.ap-content-grid {
	display: grid;
	gap: 65px;
	grid-template-columns: minmax(0, 1fr) 320px;
}

.ap-archive-head {
	margin-bottom: 45px;
	max-width: 820px;
}

.ap-archive-head h1,
.ap-entry__header h1,
.ap-not-found h1 {
	font-size: clamp(2.7rem, 5.5vw, 5rem);
}

.ap-archive-description,
.ap-entry__lead {
	color: var(--ap-muted);
	font-size: 1.12rem;
}

.ap-archive-cards {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, 1fr);
}

.ap-archive-cards--wide {
	grid-template-columns: repeat(3, 1fr);
}

.ap-archive-card {
	background: var(--ap-white);
	border: 1px solid rgba(18, 52, 59, 0.1);
	border-radius: var(--ap-radius);
	padding: 28px;
}

.ap-entry-meta {
	color: var(--ap-muted);
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ap-archive-card h2 {
	font-size: 1.65rem;
}

.ap-archive-card h2 a {
	color: var(--ap-ink-deep);
	text-decoration: none;
}

.ap-archive-card > p:not(.ap-entry-meta) {
	color: var(--ap-muted);
	font-size: 0.84rem;
}

.ap-sidebar {
	align-self: start;
	background: var(--ap-mint);
	border-radius: var(--ap-radius);
	padding: 25px;
	position: sticky;
	top: 120px;
}

.ap-sidebar h2 {
	font-size: 1.55rem;
}

.ap-sidebar .ap-search-form {
	align-items: stretch;
	flex-direction: column;
}

.ap-sidebar .ap-search-form__icon {
	display: none;
}

.ap-sidebar .ap-search-form input {
	width: 100%;
}

.ap-sidebar .ap-search-form button {
	justify-content: center;
}

.ap-sidebar > p {
	color: var(--ap-muted);
	font-size: 0.72rem;
	margin: 18px 0 0;
}

.ap-reading-layout {
	max-width: 850px;
}

.ap-entry__header {
	margin-bottom: 42px;
}

.ap-entry__image {
	margin: 0 0 42px;
}

.ap-entry__image img {
	border-radius: var(--ap-radius);
	width: 100%;
}

.ap-entry__content {
	font-size: 1.05rem;
}

.ap-entry__content > * {
	max-width: 760px;
}

.ap-entry__content > .alignwide {
	margin-left: 50%;
	max-width: 1100px;
	transform: translateX(-50%);
	width: calc(100vw - 48px);
}

.ap-entry__content h2 {
	font-size: 2.35rem;
	margin-top: 1.5em;
}

.ap-entry__content h3 {
	font-size: 1.65rem;
	margin-top: 1.5em;
}

.ap-entry__content blockquote {
	background: var(--ap-mint);
	border-left: 4px solid var(--ap-coral);
	border-radius: 0 var(--ap-radius-small) var(--ap-radius-small) 0;
	margin: 2em 0;
	padding: 18px 24px;
}

.ap-entry__content table {
	border-collapse: collapse;
	width: 100%;
}

.ap-entry__content th,
.ap-entry__content td {
	border: 1px solid var(--ap-border);
	padding: 12px;
	text-align: left;
}

.ap-entry__content th {
	background: var(--ap-mint);
}

.ap-entry__trust {
	background: #fff0c5;
	border-radius: var(--ap-radius-small);
	margin-top: 55px;
	padding: 21px 24px;
}

.ap-entry__trust strong {
	display: block;
	margin-bottom: 4px;
}

.ap-entry__trust p {
	font-size: 0.8rem;
	margin: 0;
}

.ap-post-navigation {
	border-top: 1px solid var(--ap-border);
	display: flex;
	font-size: 0.8rem;
	font-weight: 750;
	justify-content: space-between;
	margin-top: 50px;
	padding-top: 25px;
}

.ap-empty-state,
.ap-not-found {
	background: var(--ap-white);
	border-radius: var(--ap-radius-large);
	box-shadow: var(--ap-shadow-small);
	margin: 0 auto;
	max-width: 760px;
	padding: 55px;
	text-align: center;
}

.ap-empty-state .ap-search-form,
.ap-not-found .ap-search-form,
.ap-search-head .ap-search-form {
	margin: 28px auto;
	max-width: 680px;
}

.ap-not-found__code {
	color: var(--ap-coral);
	font-family: var(--ap-font-display);
	font-size: 6rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 10px;
}

.ap-not-found .ap-kicker {
	justify-content: center;
}

.navigation.pagination {
	margin-top: 38px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	align-items: center;
	background: var(--ap-white);
	border: 1px solid var(--ap-border);
	border-radius: 50%;
	display: flex;
	height: 40px;
	justify-content: center;
	text-decoration: none;
	width: 40px;
}

.page-numbers.current {
	background: var(--ap-lagoon);
	color: var(--ap-white);
}

/* WordPress defaults */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { color: var(--ap-muted); font-size: 0.75rem; }
.sticky { display: block; }
.bypostauthor { display: block; }

/* Responsive */
@media (max-width: 1080px) {
	.ap-header-cta { display: none; }
	.ap-hero__grid { gap: 50px; grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr); }
	.ap-pathways { grid-template-columns: repeat(3, 1fr); }
	.ap-content-grid { grid-template-columns: minmax(0, 1fr) 280px; }
	.ap-archive-cards--wide { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
	body.admin-bar .site-header { top: 46px; }
	.site-header__inner { min-height: 70px; }
	.menu-toggle { display: block; margin-left: auto; }
	.primary-navigation {
		background: var(--ap-paper);
		border-bottom: 1px solid var(--ap-border);
		box-shadow: var(--ap-shadow-small);
		display: none;
		left: 0;
		padding: 14px 24px 20px;
		position: absolute;
		top: 100%;
		width: 100%;
	}
	.primary-navigation.is-open { display: block; }
	.primary-navigation ul { align-items: stretch; flex-direction: column; }
	.primary-navigation a { border-radius: 9px; padding: 11px 12px; }
	.ap-hero__grid { grid-template-columns: 1fr; padding-bottom: 65px; padding-top: 65px; }
	.ap-hero h1 { max-width: 700px; }
	.ap-compass { margin: 0 auto; max-width: 520px; transform: none; width: 100%; }
	.ap-pathways { grid-template-columns: repeat(2, 1fr); }
	.ap-regions__grid,
	.ap-method__grid { grid-template-columns: 1fr; }
	.ap-section__head { align-items: start; gap: 16px; grid-template-columns: 1fr; }
	.ap-guides { grid-template-columns: 1fr; }
	.ap-guide-card { min-height: 240px; }
	.site-footer__grid { gap: 45px; grid-template-columns: 1.2fr 0.8fr; }
	.site-footer__grid > div:last-child { grid-column: 1 / -1; }
	.ap-content-grid { grid-template-columns: 1fr; }
	.ap-sidebar { position: static; }
}

@media (max-width: 640px) {
	.ap-container { padding-left: 18px; padding-right: 18px; }
	.ap-service-bar__note { display: none; }
	.ap-service-bar__inner { justify-content: center; }
	.site-branding__text small { display: none; }
	.site-branding__text strong { font-size: 1.18rem; }
	.site-branding__mark { height: 41px; width: 41px; }
	.ap-hero__grid { padding-bottom: 50px; padding-top: 50px; }
	.ap-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
	.ap-search-form { align-items: stretch; flex-wrap: wrap; }
	.ap-search-form__icon { align-self: center; }
	.ap-search-form input { width: calc(100% - 55px); }
	.ap-search-form button { justify-content: center; width: 100%; }
	.ap-quick-links > span { width: 100%; }
	.ap-compass { border-radius: 26px 26px 26px 8px; padding: 24px; }
	.ap-trust-strip__grid { grid-template-columns: 1fr; padding-bottom: 8px; padding-top: 8px; }
	.ap-trust-strip__grid > div { padding: 10px 0; }
	.ap-trust-strip__grid > div:not(:last-child) { border-bottom: 1px solid rgba(18, 52, 59, 0.1); border-right: 0; }
	.ap-pathways { grid-template-columns: 1fr; }
	.ap-pathway { min-height: 235px; }
	.ap-region-list a { gap: 11px; grid-template-columns: 45px 1fr auto; padding: 13px 9px; }
	.ap-region-list__mark { border-radius: 12px; height: 42px; width: 42px; }
	.ap-region-list small { font-size: 0.66rem; }
	.ap-method__steps { grid-template-columns: 1fr; }
	.ap-method__steps > div { border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important; border-right: 0 !important; min-height: 125px; padding: 22px 0 !important; }
	.ap-method__steps > div:last-child { border-bottom: 0 !important; }
	.ap-final-cta__card { gap: 30px; grid-template-columns: 1fr; padding: 42px 28px; }
	.ap-final-cta__card::before { display: none; }
	.ap-final-cta .ap-button { justify-self: start; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__grid > div:last-child { grid-column: auto; }
	.site-footer__bottom { flex-direction: column; gap: 5px; }
	.ap-archive-cards,
	.ap-archive-cards--wide { grid-template-columns: 1fr; }
	.ap-content-wrap { padding-bottom: 70px; padding-top: 55px; }
	.ap-empty-state,
	.ap-not-found { border-radius: var(--ap-radius); padding: 36px 20px; }
	.ap-post-navigation { flex-direction: column; gap: 15px; }
}

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

@media print {
	.ap-service-bar,
	.site-header,
	.site-footer,
	.ap-final-cta,
	.ap-sidebar { display: none !important; }
	body { background: #fff; color: #000; }
	.ap-content-wrap { padding: 0; }
	a { color: #000; text-decoration: underline; }
}
