/**
 * PPMD Resources — front-end styles.
 *
 * Scoped to .ppmd-res. Every colour, radius and size is a custom property so a
 * theme can retune the palette from :root without touching this file.
 *
 * Text on light surfaces is pure black by request; brand navy is reserved for
 * links, buttons and dark surfaces.
 */

.ppmd-res {
	--ppmd-navy: #0f5280;
	--ppmd-navy-dark: #0b3f65;
	--ppmd-deep: #072338;
	--ppmd-sky: #e6f3fb;
	--ppmd-tint: #f0f6fb;
	--ppmd-accent: #bfdff5;
	--ppmd-text: #000000;
	--ppmd-on-dark: #ffffff;
	--ppmd-border: #d5dee7;
	--ppmd-surface: #f2f4f6;
	--ppmd-white: #ffffff;
	--ppmd-focus: #0b3f65;
	--ppmd-focus-on-dark: #ffd166;
	--ppmd-radius: 6px;
	--ppmd-radius-lg: 10px;
	--ppmd-shadow: 0 1px 2px rgba(7, 35, 56, 0.06), 0 6px 20px rgba(7, 35, 56, 0.06);
	--ppmd-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ppmd-container: 1180px;
	--ppmd-gutter: clamp(16px, 4vw, 32px);
	--ppmd-sticky-top: 96px;

	font-family: var(--ppmd-font);
	color: var(--ppmd-text);
	background: var(--ppmd-white);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	font-size: 17px;
}

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

.ppmd-res h1,
.ppmd-res h2,
.ppmd-res h3,
.ppmd-res p,
.ppmd-res ul,
.ppmd-res ol,
.ppmd-res dl,
.ppmd-res fieldset,
.ppmd-res legend {
	font-family: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
}

.ppmd-res ul,
.ppmd-res ol {
	list-style: none;
}

.ppmd-res fieldset {
	border: 0;
	min-width: 0;
}

.ppmd-res img {
	max-width: 100%;
	height: auto;
	display: block;
}

.ppmd-res svg {
	flex: none;
}

/* ---------- Layout ---------- */

.ppmd-res__container {
	max-width: var(--ppmd-container);
	margin-inline: auto;
	padding-inline: var(--ppmd-gutter);
	width: 100%;
}

.ppmd-res__section {
	padding-block: clamp(36px, 5vw, 64px);
}

.ppmd-res__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	padding-block: 0 clamp(40px, 6vw, 72px);
}

@media (min-width: 1024px) {
	.ppmd-res__layout {
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 0 40px;
	}
	.ppmd-res--topic .ppmd-res__sidebar {
		border-right: 1px solid var(--ppmd-border);
		padding-right: 28px;
	}
	.ppmd-res--topic .ppmd-res__main {
		padding-top: 32px;
	}
}

.ppmd-res__main {
	min-width: 0;
}

/* Sidebar is after the main content in the DOM (headings read in order);
   it is placed first visually on every breakpoint. */
.ppmd-res--topic .ppmd-res__sidebar {
	order: -1;
}

/* ---------- Type ---------- */

.ppmd-res .ppmd-res__h1 {
	font-size: clamp(30px, 4.2vw, 44px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--ppmd-text);
}

.ppmd-res .ppmd-res__h1--topic {
	font-size: clamp(26px, 3vw, 32px);
	margin-bottom: 6px;
}

.ppmd-res .ppmd-res__h1--single {
	font-size: clamp(28px, 3.6vw, 40px);
	margin: 14px 0 22px;
	max-width: 24ch;
}

.ppmd-res .ppmd-res__h2 {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ppmd-text);
}

.ppmd-res .ppmd-res__lede {
	font-size: clamp(17px, 1.6vw, 19px);
	max-width: 46ch;
	margin-top: 14px;
	color: var(--ppmd-text);
}

.ppmd-res .ppmd-res__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ppmd-text);
	line-height: 1.3;
}

.ppmd-res .ppmd-res__eyebrow--h {
	margin-bottom: 6px;
}

.ppmd-res .ppmd-res__eyebrow--light {
	color: var(--ppmd-accent);
}

.ppmd-res .ppmd-res__eyebrow-link {
	color: inherit;
	text-decoration: none;
}
.ppmd-res .ppmd-res__eyebrow-link:hover {
	text-decoration: underline;
}

.ppmd-res .ppmd-res__count-line {
	font-size: 15px;
	color: var(--ppmd-text);
	margin-bottom: 18px;
}

.ppmd-res .ppmd-res__visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ppmd-res a {
	color: var(--ppmd-navy);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.ppmd-res a:hover {
	color: var(--ppmd-navy-dark);
}

/* Focus — 3px ring, colour flipped on dark surfaces (WCAG 2.2 3:1). */
.ppmd-res :where(a, button, input, select, textarea, [tabindex]):focus {
	outline: none;
}
.ppmd-res :where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--ppmd-focus);
	outline-offset: 2px;
	border-radius: 3px;
}
.ppmd-res__hero--image :where(a, button):focus-visible,
.ppmd-res__cta-box :where(a, button):focus-visible,
.ppmd-res__btn--primary:focus-visible {
	outline-color: var(--ppmd-focus-on-dark);
}

/* ---------- Buttons ---------- */

.ppmd-res .ppmd-res__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	padding: 13px 22px;
	border-radius: var(--ppmd-radius);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
	white-space: nowrap;
}
.ppmd-res .ppmd-res__btn--sm {
	font-size: 14px;
	padding: 10px 18px;
}
.ppmd-res .ppmd-res__btn--block {
	width: 100%;
}
.ppmd-res .ppmd-res__btn--primary {
	background: var(--ppmd-navy);
	color: var(--ppmd-on-dark);
	border-color: var(--ppmd-navy);
}
.ppmd-res .ppmd-res__btn--primary:hover {
	background: var(--ppmd-navy-dark);
	border-color: var(--ppmd-navy-dark);
	color: var(--ppmd-on-dark);
}
.ppmd-res .ppmd-res__btn--outline {
	background: var(--ppmd-white);
	color: var(--ppmd-navy);
	border-color: var(--ppmd-navy);
}
.ppmd-res .ppmd-res__btn--outline:hover {
	background: var(--ppmd-tint);
	color: var(--ppmd-navy-dark);
}
.ppmd-res .ppmd-res__btn--light {
	background: var(--ppmd-accent);
	color: var(--ppmd-deep);
	border-color: var(--ppmd-accent);
}
.ppmd-res .ppmd-res__btn--light:hover {
	background: var(--ppmd-white);
	border-color: var(--ppmd-white);
	color: var(--ppmd-deep);
}
.ppmd-res .ppmd-res__btn:active {
	transform: translateY(1px);
}
.ppmd-res .ppmd-res__btn[disabled],
.ppmd-res .ppmd-res__btn[aria-busy="true"] {
	opacity: 0.6;
	cursor: progress;
}
.ppmd-res .ppmd-res__btn .ppmd-res__arrow {
	width: 16px;
	height: 16px;
}

.ppmd-res .ppmd-res__textlink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
}
.ppmd-res .ppmd-res__textlink:hover {
	text-decoration: underline;
}
.ppmd-res .ppmd-res__arrow {
	width: 18px;
	height: 18px;
	transition: transform 0.15s;
}
.ppmd-res a:hover .ppmd-res__arrow {
	transform: translateX(3px);
}

/* ---------- Hero ---------- */

.ppmd-res__hero--sky {
	background: var(--ppmd-sky);
	padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 64px);
}

.ppmd-res__hero--image {
	position: relative;
	min-height: clamp(180px, 26vw, 320px);
	background-color: var(--ppmd-deep);
	background-image: linear-gradient(90deg, rgba(7, 35, 56, 0.9) 0%, rgba(7, 35, 56, 0.55) 55%, rgba(7, 35, 56, 0.25) 100%), var(--ppmd-hero-image, none);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	color: var(--ppmd-on-dark);
}
.ppmd-res__hero-inner {
	padding-bottom: 24px;
}

/* ---------- Search ---------- */

.ppmd-res__search {
	margin-top: 26px;
	max-width: 640px;
}
.ppmd-res__search-field {
	display: flex;
	align-items: stretch;
	gap: 10px;
	position: relative;
}
.ppmd-res__search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: var(--ppmd-navy);
	pointer-events: none;
}
.ppmd-res .ppmd-res__input {
	flex: 1 1 auto;
	min-width: 0;
	font-family: inherit;
	font-size: 16px;
	color: var(--ppmd-text);
	background: var(--ppmd-white);
	border: 2px solid var(--ppmd-navy);
	border-radius: var(--ppmd-radius);
	padding: 12px 14px 12px 44px;
	line-height: 1.3;
}
.ppmd-res .ppmd-res__input--sm {
	padding: 10px 12px;
	border-width: 1.5px;
	border-color: var(--ppmd-navy);
	font-size: 15px;
}
.ppmd-res .ppmd-res__input::placeholder {
	color: #4a4a4a;
	opacity: 1;
}
.ppmd-res .ppmd-res__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* ---------- Grids & cards ---------- */

.ppmd-res__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}
.ppmd-res__grid--tight {
	gap: 16px;
}
@media (min-width: 640px) {
	.ppmd-res__grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.ppmd-res__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.ppmd-res__grid-item {
	display: flex;
}
.ppmd-res__grid-item > * {
	flex: 1 1 auto;
}

.ppmd-res .ppmd-res__card {
	display: flex;
	flex-direction: column;
	background: var(--ppmd-white);
	border: 1px solid var(--ppmd-border);
	border-radius: var(--ppmd-radius);
	overflow: hidden;
	position: relative;
	transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.ppmd-res .ppmd-res__card:hover,
.ppmd-res .ppmd-res__card:focus-within {
	box-shadow: var(--ppmd-shadow);
	border-color: var(--ppmd-navy);
}
.ppmd-res__card-media {
	aspect-ratio: 16 / 8.6;
	background: var(--ppmd-sky);
	overflow: hidden;
}
.ppmd-res .ppmd-res__card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ppmd-res__card-img--placeholder {
	background: linear-gradient(135deg, var(--ppmd-sky), var(--ppmd-accent));
}
.ppmd-res__card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 22px;
	flex: 1 1 auto;
}
.ppmd-res .ppmd-res__card-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__card-title--sm {
	font-size: 16px;
	line-height: 1.3;
}
.ppmd-res .ppmd-res__card-link {
	color: inherit;
	text-decoration: none;
}
/* Whole card clickable for pointer users; link stays the focus target. */
.ppmd-res .ppmd-res__card-link::after {
	content: "";
	position: absolute;
	inset: 0;
}
.ppmd-res .ppmd-res__card-link:hover {
	color: var(--ppmd-navy);
	text-decoration: underline;
}
.ppmd-res .ppmd-res__card-text {
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--ppmd-text);
	flex: 1 1 auto;
}
.ppmd-res .ppmd-res__card-text--sm {
	font-size: 14.5px;
}
.ppmd-res .ppmd-res__card-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ppmd-navy);
	margin-top: 4px;
}
.ppmd-res .ppmd-res__card:hover .ppmd-res__card-cta .ppmd-res__arrow {
	transform: translateX(3px);
}

/* Featured card (highlight strip) */
.ppmd-res .ppmd-res__card--featured {
	padding: 18px 18px 18px;
	border-top: 4px solid var(--ppmd-navy);
	gap: 8px;
}
.ppmd-res .ppmd-res__meta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ppmd-text);
}
.ppmd-res__card-foot {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	z-index: 1; /* above the stretched title link */
}
.ppmd-res .ppmd-res__card--featured .ppmd-res__card-link::after {
	content: none;
}

/* ---------- Pills & tags ---------- */

.ppmd-res .ppmd-res__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ppmd-res .ppmd-res__pill {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ppmd-white);
	color: var(--ppmd-text);
	border: 1px solid var(--ppmd-border);
	text-decoration: none;
}
.ppmd-res .ppmd-res__pill--topic {
	background: var(--ppmd-accent);
	border-color: var(--ppmd-accent);
	color: var(--ppmd-deep);
}
.ppmd-res a.ppmd-res__pill--topic:hover {
	background: var(--ppmd-navy);
	border-color: var(--ppmd-navy);
	color: var(--ppmd-on-dark);
}
.ppmd-res .ppmd-res__pill--outline {
	align-self: flex-start;
}
.ppmd-res .ppmd-res__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}
.ppmd-res .ppmd-res__tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 4px;
	background: var(--ppmd-surface);
	color: var(--ppmd-text);
}

/* ---------- Breadcrumb ---------- */

.ppmd-res__crumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 14px;
}
.ppmd-res__crumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.ppmd-res .ppmd-res__crumbs a {
	text-decoration: none;
	font-weight: 500;
}
.ppmd-res .ppmd-res__crumbs a:hover {
	text-decoration: underline;
}
.ppmd-res .ppmd-res__crumbs [aria-current] {
	font-weight: 700;
}
.ppmd-res .ppmd-res__crumbs--dark,
.ppmd-res .ppmd-res__crumbs--dark a,
.ppmd-res .ppmd-res__crumbs--dark a:hover {
	color: var(--ppmd-on-dark);
}
.ppmd-res__crumb-sep {
	opacity: 0.6;
}
.ppmd-res__single-top {
	padding-block: 22px 8px;
}

/* ---------- Sidebar ---------- */

.ppmd-res__sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 28px;
}
.ppmd-res__topic-list {
	display: flex;
	flex-direction: column;
	margin-top: 12px;
	border-top: 1px solid var(--ppmd-border);
}
.ppmd-res .ppmd-res__topic-item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 10px 11px 12px;
	border-bottom: 1px solid var(--ppmd-border);
	border-left: 3px solid transparent;
	color: var(--ppmd-text);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: background-color 0.15s;
}
.ppmd-res .ppmd-res__topic-item a:hover {
	background: var(--ppmd-tint);
	color: var(--ppmd-navy-dark);
}
.ppmd-res .ppmd-res__topic-item.is-current a {
	border-left-color: var(--ppmd-navy);
	background: var(--ppmd-tint);
	font-weight: 700;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__topic-count {
	font-size: 12px;
	font-weight: 700;
	min-width: 28px;
	padding: 2px 8px;
	border-radius: 999px;
	text-align: center;
	background: var(--ppmd-white);
	border: 1px solid var(--ppmd-border);
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__topic-item.is-current .ppmd-res__topic-count {
	background: var(--ppmd-navy);
	border-color: var(--ppmd-navy);
	color: var(--ppmd-on-dark);
}
.ppmd-res .ppmd-res__topic-item--lang {
	margin-top: 10px;
}
.ppmd-res .ppmd-res__topic-item--lang a {
	border-top: 1px solid var(--ppmd-border);
}

/* Mobile: topic list becomes a horizontal scroller. */
@media (max-width: 1023px) {
	.ppmd-res--topic .ppmd-res__sidebar {
		padding-top: 24px;
		gap: 20px;
	}
	.ppmd-res__topic-list {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-top: 0;
		padding-bottom: 6px;
		scrollbar-width: thin;
	}
	.ppmd-res .ppmd-res__topic-item a {
		border: 1px solid var(--ppmd-border);
		border-radius: 999px;
		padding: 8px 12px;
		white-space: nowrap;
		font-size: 14px;
	}
	.ppmd-res .ppmd-res__topic-item.is-current a {
		border-color: var(--ppmd-navy);
	}
	.ppmd-res .ppmd-res__topic-item--lang {
		margin-top: 0;
	}
	.ppmd-res .ppmd-res__topic-item--lang a {
		border-top: 1px solid var(--ppmd-border);
	}
}

/* ---------- CTA boxes ---------- */

.ppmd-res .ppmd-res__cta-box {
	background: var(--ppmd-navy);
	color: var(--ppmd-on-dark);
	border-radius: var(--ppmd-radius-lg);
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	--ppmd-focus: var(--ppmd-focus-on-dark);
}
.ppmd-res .ppmd-res__cta-box--questions {
	background: var(--ppmd-navy);
	padding: 26px 26px 28px;
}
.ppmd-res .ppmd-res__cta-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ppmd-on-dark);
}
.ppmd-res .ppmd-res__cta-text {
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ppmd-on-dark);
}
.ppmd-res .ppmd-res__cta-box .ppmd-res__btn {
	margin-top: 6px;
	align-self: flex-start;
}
@media (min-width: 1024px) {
	.ppmd-res .ppmd-res__cta-box--sticky {
		position: sticky;
		top: var(--ppmd-sticky-top);
	}
}

/* ---------- Topic page: intro & highlights ---------- */

.ppmd-res .ppmd-res__intro {
	background: var(--ppmd-sky);
	border-left: 4px solid var(--ppmd-navy);
	border-radius: 0 var(--ppmd-radius) var(--ppmd-radius) 0;
	padding: 18px 22px;
	margin-bottom: 30px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__intro p + p {
	margin-top: 10px;
}

.ppmd-res__highlight {
	padding: 26px 0 30px;
	border-top: 1px solid var(--ppmd-border);
}
.ppmd-res__highlight--alt {
	background: var(--ppmd-tint);
	margin-inline: calc(var(--ppmd-gutter) * -1);
	padding-inline: var(--ppmd-gutter);
	border-top: 0;
}
@media (min-width: 1024px) {
	.ppmd-res__highlight--alt {
		margin-inline: -24px;
		padding-inline: 24px;
		border-radius: var(--ppmd-radius-lg);
	}
}
.ppmd-res__highlight-head {
	margin-bottom: 16px;
}
.ppmd-res .ppmd-res__highlight-line {
	font-size: 15px;
	color: var(--ppmd-text);
}

/* ---------- List ---------- */

.ppmd-res__list-section {
	padding-top: 28px;
	border-top: 1px solid var(--ppmd-border);
}
.ppmd-res__highlight + .ppmd-res__list-section {
	margin-top: 8px;
}
.ppmd-res__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin: 14px 0 6px;
}
.ppmd-res__filter-search {
	display: flex;
	gap: 8px;
	flex: 1 1 320px;
	max-width: 440px;
}
.ppmd-res .ppmd-res__filter-search .ppmd-res__input {
	padding-left: 12px;
}
.ppmd-res__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ppmd-res .ppmd-res__chip {
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 13px;
	border-radius: 999px;
	border: 1.5px solid var(--ppmd-border);
	background: var(--ppmd-white);
	color: var(--ppmd-text);
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.ppmd-res .ppmd-res__chip:hover {
	border-color: var(--ppmd-navy);
	background: var(--ppmd-tint);
}
.ppmd-res .ppmd-res__chip.is-active,
.ppmd-res .ppmd-res__chip[aria-pressed="true"] {
	background: var(--ppmd-navy);
	border-color: var(--ppmd-navy);
	color: var(--ppmd-on-dark);
}

.ppmd-res__rows {
	display: flex;
	flex-direction: column;
	margin-top: 8px;
}
.ppmd-res .ppmd-res__row {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 8px 14px;
	padding: 18px 0;
	border-bottom: 1px solid var(--ppmd-border);
	align-items: start;
}
@media (min-width: 720px) {
	.ppmd-res .ppmd-res__row {
		grid-template-columns: 40px minmax(0, 1fr) auto;
		align-items: center;
	}
}
.ppmd-res__row-icon {
	width: 40px;
	height: 40px;
	border-radius: var(--ppmd-radius);
	background: var(--ppmd-sky);
	color: var(--ppmd-navy);
	display: grid;
	place-items: center;
}
.ppmd-res__row-icon .ppmd-res__icon {
	width: 20px;
	height: 20px;
}
.ppmd-res .ppmd-res__row-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
.ppmd-res .ppmd-res__row-title a {
	color: var(--ppmd-text);
	text-decoration: none;
}
.ppmd-res .ppmd-res__row-title a:hover {
	color: var(--ppmd-navy);
	text-decoration: underline;
}
.ppmd-res .ppmd-res__row-text {
	font-size: 15px;
	margin-top: 4px;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__row-btn {
	grid-column: 2;
	justify-self: start;
}
@media (min-width: 720px) {
	.ppmd-res .ppmd-res__row-btn {
		grid-column: 3;
		justify-self: end;
	}
}
.ppmd-res__list-foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 22px 0 8px;
}
.ppmd-res .ppmd-res__showing {
	font-size: 15px;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__empty {
	padding: 22px 0;
	font-size: 16px;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__status:empty {
	display: none;
}
.ppmd-res .ppmd-res__status {
	font-size: 14px;
	font-weight: 600;
	padding: 6px 0;
}
.ppmd-res__list[aria-busy="true"] .ppmd-res__rows {
	opacity: 0.55;
}

.ppmd-res__results-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

/* ---------- Single ---------- */

.ppmd-res--single {
	background: var(--ppmd-surface);
}
.ppmd-res__layout--single {
	padding-top: 12px;
	gap: 32px 40px;
}
@media (min-width: 1024px) {
	.ppmd-res__layout--single {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}
.ppmd-res__article {
	min-width: 0;
}
.ppmd-res__sidebar--single {
	padding-top: 0;
	gap: 20px;
}

.ppmd-res .ppmd-res__source {
	background: var(--ppmd-sky);
	border-left: 4px solid var(--ppmd-navy);
	border-radius: 0 var(--ppmd-radius) var(--ppmd-radius) 0;
	padding: 16px 20px;
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ppmd-res .ppmd-res__source-name {
	font-size: 17px;
	font-weight: 700;
}
.ppmd-res .ppmd-res__source-meta {
	font-size: 14px;
}

.ppmd-res .ppmd-res__prose {
	font-size: 17.5px;
	line-height: 1.65;
	max-width: 68ch;
}
.ppmd-res .ppmd-res__prose p,
.ppmd-res .ppmd-res__prose ul,
.ppmd-res .ppmd-res__prose ol {
	margin: 0 0 18px;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__prose ul {
	list-style: disc;
	padding-left: 24px;
}
.ppmd-res .ppmd-res__prose ol {
	list-style: decimal;
	padding-left: 24px;
}
.ppmd-res .ppmd-res__prose li + li {
	margin-top: 6px;
}
.ppmd-res .ppmd-res__prose strong {
	font-weight: 700;
}
.ppmd-res .ppmd-res__prose a {
	text-decoration: underline;
}

.ppmd-res .ppmd-res__resource-box {
	background: var(--ppmd-white);
	border: 1.5px solid var(--ppmd-navy);
	border-radius: var(--ppmd-radius-lg);
	padding: 20px 22px 12px;
	margin: 10px 0 30px;
}
.ppmd-res .ppmd-res__resource-box .ppmd-res__eyebrow--h {
	font-size: 14px;
	margin-bottom: 10px;
}
.ppmd-res .ppmd-res__resource-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-top: 1px solid var(--ppmd-border);
	text-decoration: none;
	font-weight: 700;
	font-size: 16.5px;
}
.ppmd-res .ppmd-res__resource-links li:first-child .ppmd-res__resource-link {
	border-top: 0;
}
.ppmd-res .ppmd-res__resource-link-icon {
	width: 38px;
	height: 38px;
	border-radius: var(--ppmd-radius);
	background: var(--ppmd-sky);
	color: var(--ppmd-navy);
	display: grid;
	place-items: center;
}
.ppmd-res .ppmd-res__resource-link-icon .ppmd-res__icon {
	width: 20px;
	height: 20px;
}
.ppmd-res .ppmd-res__resource-link-text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--ppmd-navy);
}
.ppmd-res .ppmd-res__resource-link-kind {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ppmd-text);
}
.ppmd-res .ppmd-res__resource-link:hover .ppmd-res__resource-link-text {
	text-decoration: underline;
}

.ppmd-res__share {
	padding-top: 22px;
	border-top: 1px solid var(--ppmd-border);
}
.ppmd-res__share-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
}

.ppmd-res .ppmd-res__details,
.ppmd-res .ppmd-res__related-topics {
	background: var(--ppmd-white);
	border: 1px solid var(--ppmd-border);
	border-radius: var(--ppmd-radius-lg);
	padding: 20px 22px;
}
.ppmd-res .ppmd-res__dl {
	display: flex;
	flex-direction: column;
	margin-top: 6px;
}
.ppmd-res .ppmd-res__dl > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-top: 1px solid var(--ppmd-border);
	font-size: 15px;
}
.ppmd-res .ppmd-res__dl > div:first-child {
	border-top: 0;
}
.ppmd-res .ppmd-res__dl dt {
	color: var(--ppmd-text);
	font-weight: 500;
}
.ppmd-res .ppmd-res__dl dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}
.ppmd-res .ppmd-res__related-topics ul {
	margin-top: 6px;
}
.ppmd-res .ppmd-res__related-topics a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	font-weight: 700;
	text-decoration: none;
	font-size: 15.5px;
}
.ppmd-res .ppmd-res__related-topics a:hover {
	text-decoration: underline;
}

.ppmd-res__related {
	background: var(--ppmd-white);
	padding-block: clamp(36px, 5vw, 64px);
	border-top: 1px solid var(--ppmd-border);
}
.ppmd-res__related-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 22px;
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
	.ppmd-res *,
	.ppmd-res *::before,
	.ppmd-res *::after {
		transition: none !important;
		animation: none !important;
	}
}

@media print {
	.ppmd-res {
		background: #fff !important;
		color: #000;
	}
	.ppmd-res__share,
	.ppmd-res__cta-box,
	.ppmd-res__related,
	.ppmd-res__filters,
	.ppmd-res__list-foot,
	.ppmd-res__topics {
		display: none !important;
	}
	.ppmd-res__layout--single {
		grid-template-columns: 1fr;
	}
	.ppmd-res .ppmd-res__resource-link::after {
		content: " (" attr(href) ")";
		font-weight: 400;
		font-size: 12px;
	}
}
