/**
 * Pro Motu Projects – front-end styles.
 *
 * Everything is scoped to .pmp so the plugin cannot affect unrelated parts of
 * the Elementor design. Colours are exposed as custom properties and can be
 * overridden from the theme or the Elementor custom CSS.
 */

.pmp {
	--pmp-navy: #16233d;
	--pmp-navy-dark: #0b1424;
	--pmp-blue: #1e63a8;
	--pmp-orange: #f1802f;
	--pmp-orange-dark: #d46f00;
	--pmp-grey: #f7f9fc;
	--pmp-grey-mid: #e4e9f0;
	--pmp-text: #16233d;
	--pmp-muted: #5c6b85;
	--pmp-white: #ffffff;
	--pmp-radius: 14px;
	--pmp-radius-sm: 10px;
	--pmp-shadow: 0 2px 10px rgba(11, 20, 36, 0.06);
	--pmp-shadow-hover: 0 12px 28px rgba(11, 20, 36, 0.12);
	--pmp-gap: 28px;
	--pmp-success: #2e7d5b;
	--pmp-font-heading: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--pmp-font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;

	box-sizing: border-box;
	color: var(--pmp-text);
	max-width: 100%;
	font-family: var(--pmp-font-body);
}

.pmp h1,
.pmp h2,
.pmp h3,
.pmp h4 {
	font-family: var(--pmp-font-heading);
}

.pmp *,
.pmp *::before,
.pmp *::after {
	box-sizing: inherit;
}

.pmp img {
	max-width: 100%;
	height: auto;
}

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

.pmp-button {
	display: inline-block;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--pmp-font-heading);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pmp-button--primary {
	background: var(--pmp-orange);
	border-color: var(--pmp-orange);
	color: var(--pmp-white);
}

.pmp-button--primary:hover,
.pmp-button--primary:focus {
	background: var(--pmp-orange-dark);
	border-color: var(--pmp-orange-dark);
	color: var(--pmp-white);
}

.pmp-button--ghost {
	background: transparent;
	border-color: var(--pmp-navy);
	color: var(--pmp-navy);
}

.pmp-button--ghost:hover,
.pmp-button--ghost:focus {
	background: var(--pmp-navy);
	color: var(--pmp-white);
}

.pmp-button--block {
	display: block;
	width: 100%;
}

.pmp-button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ----------------------------------------------------------------- Badges */

.pmp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pmp-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--pmp-grey-mid);
	color: var(--pmp-navy);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.6;
}

.pmp-badge--type {
	background: var(--pmp-navy);
	color: var(--pmp-white);
}

.pmp-badge--status {
	background: rgba(241, 128, 47, 0.14);
	color: var(--pmp-orange);
}

.pmp-badge--completed {
	background: rgba(46, 125, 91, 0.14);
	color: var(--pmp-success);
}

.pmp-badge--funding_closed,
.pmp-badge--funding-closed {
	background: var(--pmp-grey-mid);
	color: var(--pmp-muted);
}

/* --------------------------------------------------------------- Archive */

.pmp-archive__header {
	margin-bottom: var(--pmp-gap);
}

.pmp-archive__title {
	margin: 0 0 8px;
	color: var(--pmp-navy);
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.15;
}

.pmp-archive__intro {
	margin: 0;
	max-width: 68ch;
	color: var(--pmp-muted);
}

.pmp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: var(--pmp-gap);
	padding: 18px;
	background: var(--pmp-grey);
	border-radius: var(--pmp-radius);
}

.pmp-filter {
	display: flex;
	flex: 1 1 180px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.pmp-filter--actions {
	flex: 0 0 auto;
	flex-direction: row;
	align-items: flex-end;
	gap: 12px;
}

.pmp-filter__label {
	color: var(--pmp-muted);
	font-size: 13px;
	font-weight: 600;
}

.pmp-filter__select {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius-sm);
	background: var(--pmp-white);
	color: var(--pmp-text);
	font-size: 15px;
}

.pmp-filter__reset {
	color: var(--pmp-muted);
	font-size: 14px;
	white-space: nowrap;
}

.pmp-archive__results {
	position: relative;
	min-height: 80px;
}

.pmp-archive__results.is-loading {
	opacity: 0.45;
}

.pmp-empty {
	padding: 32px;
	background: var(--pmp-grey);
	border-radius: var(--pmp-radius);
	color: var(--pmp-muted);
	text-align: center;
}

.pmp-result-count {
	margin-top: 12px;
	color: var(--pmp-muted);
	font-size: 14px;
}

/* ------------------------------------------------------------------ Grid */

.pmp-grid {
	display: grid;
	gap: var(--pmp-gap);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pmp-grid--single {
	grid-template-columns: minmax(0, 380px);
}

.pmp-grid--related .pmp-card__media {
	aspect-ratio: 21 / 9;
}

@media (max-width: 1024px) {
	.pmp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.pmp-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ------------------------------------------------------------------ Card */

.pmp-card {
	display: flex;
	overflow: hidden;
	background: var(--pmp-white);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius);
	box-shadow: var(--pmp-shadow);
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.pmp-card:hover {
	box-shadow: var(--pmp-shadow-hover);
	transform: translateY(-2px);
}

.pmp-card__link {
	display: flex;
	width: 100%;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.pmp-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--pmp-grey);
}

.pmp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pmp-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--pmp-grey) 0%, var(--pmp-grey-mid) 100%);
}

.pmp-card__media .pmp-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
}

.pmp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
}

.pmp-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	color: var(--pmp-muted);
	font-size: 13px;
}

.pmp-card__meta span + span::before {
	content: "·";
	margin-right: 10px;
}

.pmp-card__title {
	margin: 0;
	color: var(--pmp-navy);
	font-family: var(--pmp-font-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.pmp-card__text {
	margin: 0;
	color: var(--pmp-muted);
	font-size: 14px;
	line-height: 1.55;
}

.pmp-card__cta {
	margin-top: auto;
	align-self: flex-start;
}

/* -------------------------------------------------------------- Progress */

.pmp-progress {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
}

.pmp-progress--panel {
	padding: 22px;
	background: var(--pmp-white);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius);
	box-shadow: var(--pmp-shadow);
}

.pmp-progress__figures {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.pmp-progress__raised {
	color: var(--pmp-navy);
	font-size: 22px;
	font-weight: 700;
}

.pmp-progress__target {
	color: var(--pmp-muted);
	font-size: 14px;
}

.pmp-progress__bar {
	position: relative;
	height: 8px;
	overflow: hidden;
	background: var(--pmp-grey-mid);
	border-radius: 999px;
}

.pmp-progress__fill {
	display: block;
	height: 100%;
	background: var(--pmp-orange);
	border-radius: 999px;
	transition: width 0.4s ease;
}

.pmp-progress__footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.pmp-progress__percent {
	color: var(--pmp-orange-dark);
	font-weight: 700;
}

.pmp-progress__supporters {
	color: var(--pmp-muted);
}

.pmp-progress__time {
	margin: 0;
	color: var(--pmp-muted);
	font-size: 14px;
}

.pmp-progress__hint {
	margin: 0;
	color: var(--pmp-muted);
	font-size: 12px;
	line-height: 1.5;
}

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

.pmp-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	color: var(--pmp-muted);
	font-size: 13px;
}

.pmp-breadcrumb a {
	color: var(--pmp-muted);
	text-decoration: none;
}

.pmp-breadcrumb a:hover {
	color: var(--pmp-navy);
}

.pmp-breadcrumb span[aria-hidden="true"] {
	color: var(--pmp-grey-mid);
	font-size: 15px;
}

.pmp-breadcrumb__current {
	color: var(--pmp-navy);
	font-weight: 600;
}

.pmp-single__header {
	margin-bottom: 32px;
}

.pmp-single__title {
	margin: 14px 0 8px;
	color: var(--pmp-navy);
	font-family: var(--pmp-font-heading);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1.1;
}

.pmp-single__lead {
	margin: 0 0 22px;
	max-width: 70ch;
	color: var(--pmp-muted);
	font-size: 15px;
	line-height: 1.6;
}

.pmp-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pmp-meta__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.pmp-meta__icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--pmp-blue);
}

.pmp-meta__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.pmp-meta__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.pmp-meta__label {
	color: var(--pmp-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.pmp-meta__value {
	color: var(--pmp-navy);
	font-weight: 700;
	font-size: 14px;
}

.pmp-layout {
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
	align-items: start;
}

.pmp-layout__main {
	min-width: 0;
}

.pmp-sticky {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (max-width: 1080px) {
	.pmp-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
		gap: 32px;
	}
}

@media (max-width: 960px) {
	.pmp-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.pmp-sticky {
		position: static;
	}
}

.pmp-hero {
	margin: 0 0 14px;
	overflow: hidden;
	border-radius: var(--pmp-radius);
	background: var(--pmp-grey);
	aspect-ratio: 16 / 9;
}

.pmp-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pmp-gallery-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 28px;
}

.pmp-gallery-strip__item {
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--pmp-radius-sm);
	transition: opacity 0.15s ease;
}

.pmp-gallery-strip__item:hover {
	opacity: 0.85;
}

.pmp-gallery-strip__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 560px) {
	.pmp-gallery-strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.pmp-video {
	position: relative;
	margin-bottom: 28px;
	border-radius: var(--pmp-radius);
	overflow: hidden;
}

.pmp-video iframe,
.pmp-video video {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	display: block;
	border: 0;
}

.pmp-section {
	margin: 0 0 40px;
}

.pmp-section__title {
	margin: 0 0 16px;
	color: var(--pmp-navy);
	font-family: var(--pmp-font-heading);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}

.pmp-section__note {
	color: var(--pmp-muted);
	font-size: 14px;
}

.pmp-section--related {
	margin-top: 20px;
	padding-top: 40px;
	border-top: 1px solid var(--pmp-grey-mid);
}

.pmp-section__more {
	margin-top: 20px;
}

.pmp-prose {
	line-height: 1.65;
}

.pmp-prose > *:first-child {
	margin-top: 0;
}

.pmp-prose > *:last-child {
	margin-bottom: 0;
}

/* ----------------------------------------------------------------- Tables */

.pmp-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius);
	background: var(--pmp-white);
}

.pmp-table {
	width: 100%;
	min-width: 420px;
	border-collapse: collapse;
	font-size: 14px;
}

.pmp-table th,
.pmp-table td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--pmp-grey-mid);
	text-align: left;
	vertical-align: top;
}

.pmp-table thead th {
	background: var(--pmp-grey);
	color: var(--pmp-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pmp-table tbody tr:last-child th,
.pmp-table tbody tr:last-child td {
	border-bottom: 0;
}

.pmp-table tfoot th,
.pmp-table tfoot td {
	border-bottom: 0;
	border-top: 1px solid var(--pmp-grey-mid);
	color: var(--pmp-navy);
	font-weight: 700;
}

.pmp-table tfoot tr + tr th,
.pmp-table tfoot tr + tr td {
	border-top: 0;
	padding-top: 4px;
}

.pmp-table__amount {
	text-align: right;
	white-space: nowrap;
}

/* --------------------------------------------------------------- Timeline */

.pmp-timeline {
	margin: 0;
	padding: 0 0 0 22px;
	list-style: none;
	border-left: 2px solid var(--pmp-grey-mid);
}

.pmp-timeline__item {
	position: relative;
	padding: 0 0 26px 8px;
}

.pmp-timeline__item:last-child {
	padding-bottom: 0;
}

.pmp-timeline__marker {
	position: absolute;
	top: 3px;
	left: -29px;
	width: 12px;
	height: 12px;
	background: var(--pmp-grey-mid);
	border: 2px solid var(--pmp-white);
	border-radius: 50%;
}

.pmp-timeline__item--active .pmp-timeline__marker {
	background: var(--pmp-orange);
	box-shadow: 0 0 0 3px rgba(241, 128, 47, 0.16);
}

.pmp-timeline__item--completed .pmp-timeline__marker {
	background: var(--pmp-success);
}

.pmp-timeline__period {
	display: block;
	color: var(--pmp-muted);
	font-size: 12px;
	font-weight: 700;
}

.pmp-timeline__title {
	margin: 3px 0 4px;
	color: var(--pmp-navy);
	font-size: 16px;
	font-weight: 700;
}

.pmp-timeline__text {
	margin: 0 0 8px;
	color: var(--pmp-muted);
	font-size: 14px;
	line-height: 1.55;
}

.pmp-timeline__status {
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid var(--pmp-grey-mid);
	border-radius: 999px;
	background: var(--pmp-white);
	color: var(--pmp-muted);
	font-size: 12px;
	font-weight: 600;
}

/* -------------------------------------------------------------- Documents */

.pmp-documents {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.pmp-document {
	padding: 16px 18px;
	background: var(--pmp-white);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius-sm);
	transition: border-color 0.15s ease;
}

.pmp-document:hover {
	border-color: var(--pmp-blue);
}

.pmp-document__link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--pmp-navy);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}

.pmp-document__main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.pmp-document__icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	background: var(--pmp-grey);
	border-radius: 8px;
	color: var(--pmp-muted);
}

.pmp-document__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	padding: 7px;
}

.pmp-document__link:hover .pmp-document__name {
	text-decoration: underline;
}

.pmp-document__meta {
	display: flex;
	gap: 10px;
	color: var(--pmp-muted);
	font-size: 13px;
	font-weight: 500;
}

.pmp-document__description {
	margin: 6px 0 0;
	color: var(--pmp-muted);
	font-size: 14px;
}

/* ---------------------------------------------------------------- Updates */

.pmp-updates {
	display: grid;
	gap: 16px;
}

.pmp-update {
	padding: 20px 22px;
	background: var(--pmp-white);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius);
}

.pmp-update__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 8px;
}

.pmp-update__date {
	color: var(--pmp-orange);
	font-size: 12px;
	font-weight: 700;
}

.pmp-update__title {
	margin: 0;
	color: var(--pmp-navy);
	font-size: 17px;
	font-weight: 700;
}

.pmp-update__author {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--pmp-grey);
	color: var(--pmp-muted);
	font-size: 12px;
	font-weight: 600;
}

.pmp-update__text {
	color: var(--pmp-text);
	font-size: 14px;
	line-height: 1.6;
}

.pmp-update__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 12px;
	border-radius: 50%;
	background: var(--pmp-blue);
	color: var(--pmp-white);
	font-size: 12px;
	font-weight: 700;
}

.pmp-update__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.pmp-update__image {
	margin: 0;
	width: 120px;
	overflow: hidden;
	border-radius: var(--pmp-radius-sm);
}

/* ----------------------------------------------------------- Organisation */

.pmp-organisation {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
	align-items: start;
	padding: 24px;
	background: var(--pmp-grey);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius);
}

@media (max-width: 720px) {
	.pmp-organisation {
		grid-template-columns: minmax(0, 1fr);
	}
}

.pmp-definition {
	margin: 0;
	display: grid;
	gap: 11px;
}

.pmp-definition__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.pmp-definition dt {
	color: var(--pmp-muted);
	font-size: 13px;
}

.pmp-definition dd {
	margin: 0;
	color: var(--pmp-navy);
	font-weight: 700;
	font-size: 14px;
	text-align: right;
}

.pmp-contact {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	background: var(--pmp-white);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius-sm);
}

.pmp-contact__photo {
	margin: 0;
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 50%;
}

.pmp-contact__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pmp-contact__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pmp-contact__label {
	color: var(--pmp-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.pmp-contact__name {
	color: var(--pmp-navy);
	font-size: 15px;
}

.pmp-contact__role,
.pmp-contact__phone {
	color: var(--pmp-muted);
	font-size: 13px;
}

.pmp-contact__email {
	color: var(--pmp-orange);
	font-size: 13px;
	font-weight: 600;
	word-break: break-word;
}

/* ----------------------------------------------------------- Final report */

.pmp-final {
	padding: 24px;
	background: rgba(46, 125, 91, 0.06);
	border: 1px solid rgba(46, 125, 91, 0.18);
	border-radius: var(--pmp-radius);
}

.pmp-final__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 14px 0;
}

.pmp-final__image {
	margin: 0;
	width: 180px;
	overflow: hidden;
	border-radius: var(--pmp-radius-sm);
}

.pmp-definition--inline .pmp-definition__row {
	border-bottom: 0;
	padding-bottom: 0;
}

/* -------------------------------------------------------------- Donation */

.pmp-donation__inner {
	padding: 24px;
	background: var(--pmp-white);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius);
	box-shadow: var(--pmp-shadow);
}

.pmp-donation__title {
	margin: 0 0 6px;
	color: var(--pmp-navy);
	font-size: 20px;
}

.pmp-donation__project {
	margin: 0 0 16px;
	color: var(--pmp-muted);
	font-size: 14px;
}

.pmp-field-group {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.pmp-legend {
	margin-bottom: 8px;
	padding: 0;
	color: var(--pmp-navy);
	font-size: 15px;
	font-weight: 700;
}

.pmp-field {
	margin-bottom: 14px;
}

.pmp-field-row {
	display: flex;
	gap: 12px;
}

.pmp-field-row .pmp-field {
	flex: 1;
	min-width: 0;
}

.pmp-field--small {
	flex: 0 0 110px;
}

.pmp-label {
	display: block;
	margin-bottom: 5px;
	color: var(--pmp-muted);
	font-size: 13px;
	font-weight: 600;
}

.pmp-input {
	width: 100%;
	max-width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius-sm);
	background: var(--pmp-white);
	color: var(--pmp-text);
	font-size: 15px;
}

.pmp-input:focus {
	border-color: var(--pmp-orange);
	outline: 2px solid rgba(239, 125, 0, 0.2);
	outline-offset: 1px;
}

.pmp-input-group {
	display: flex;
	align-items: stretch;
}

.pmp-input-group__prefix {
	display: flex;
	align-items: center;
	padding: 0 12px;
	border: 1px solid var(--pmp-grey-mid);
	border-right: 0;
	border-radius: var(--pmp-radius-sm) 0 0 var(--pmp-radius-sm);
	background: var(--pmp-grey);
	color: var(--pmp-muted);
	font-size: 14px;
	font-weight: 600;
}

.pmp-input-group .pmp-input {
	border-radius: 0 var(--pmp-radius-sm) var(--pmp-radius-sm) 0;
}

.pmp-amounts {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 14px;
}

@media (max-width: 420px) {
	.pmp-amounts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.pmp-amount {
	position: relative;
	display: block;
}

.pmp-amount input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pmp-amount span {
	display: block;
	padding: 11px 6px;
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius-sm);
	background: var(--pmp-white);
	color: var(--pmp-navy);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
}

.pmp-amount input:checked + span {
	border-color: var(--pmp-orange);
	background: rgba(239, 125, 0, 0.1);
	color: var(--pmp-orange-dark);
}

.pmp-amount input:focus-visible + span {
	outline: 2px solid var(--pmp-orange);
	outline-offset: 2px;
}

.pmp-field--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--pmp-text);
	font-size: 14px;
	line-height: 1.5;
}

.pmp-field--checkbox input {
	margin-top: 3px;
	flex: 0 0 auto;
}

.pmp-breakdown {
	margin: 0 0 18px;
	padding: 14px 16px;
	background: var(--pmp-grey);
	border-radius: var(--pmp-radius-sm);
	font-size: 14px;
}

.pmp-breakdown__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	color: var(--pmp-muted);
}

.pmp-breakdown__row strong {
	color: var(--pmp-navy);
	white-space: nowrap;
}

.pmp-breakdown__row--strong strong {
	color: var(--pmp-success);
}

.pmp-breakdown__row--total {
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px solid var(--pmp-grey-mid);
	color: var(--pmp-navy);
	font-weight: 700;
}

.pmp-tax {
	padding: 14px 16px;
	background: rgba(18, 48, 79, 0.05);
	border-radius: var(--pmp-radius-sm);
	font-size: 14px;
}

.pmp-tax__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 0;
	color: var(--pmp-muted);
}

.pmp-tax__row strong {
	color: var(--pmp-navy);
	text-align: right;
}

.pmp-hint {
	margin: 8px 0 0;
	color: var(--pmp-muted);
	font-size: 12px;
	line-height: 1.5;
}

.pmp-hint--small {
	text-align: center;
}

.pmp-tax-notice {
	margin: 0 0 16px;
	padding: 16px 18px;
	background: var(--pmp-grey);
	border-left: 3px solid var(--pmp-navy);
	border-radius: var(--pmp-radius-sm);
}

.pmp-tax-notice__title {
	margin: 0 0 6px;
	color: var(--pmp-navy);
	font-size: 15px;
}

.pmp-tax-notice p {
	margin: 0;
	color: var(--pmp-muted);
	font-size: 13px;
	line-height: 1.6;
}

.pmp-notice {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: var(--pmp-radius-sm);
	font-size: 14px;
	line-height: 1.5;
}

.pmp-notice--info {
	background: rgba(18, 48, 79, 0.07);
	color: var(--pmp-navy);
}

.pmp-notice--warning {
	background: rgba(239, 125, 0, 0.13);
	color: var(--pmp-orange-dark);
}

.pmp-notice--error {
	background: rgba(190, 40, 40, 0.1);
	color: #a12222;
}

.pmp-notice--success {
	background: rgba(46, 125, 91, 0.12);
	color: var(--pmp-success);
}

.pmp-notice ul {
	margin: 6px 0 0;
	padding-left: 18px;
}

.pmp-donation__messages:empty {
	display: none;
}

/* ------------------------------------------------------------ Pagination */

.pmp-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 26px;
}

.pmp-pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 9px 12px;
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius-sm);
	background: var(--pmp-white);
	color: var(--pmp-navy);
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}

.pmp-pagination .page-numbers.current {
	background: var(--pmp-navy);
	border-color: var(--pmp-navy);
	color: var(--pmp-white);
}

.pmp-pagination .page-numbers:hover:not(.current) {
	border-color: var(--pmp-navy);
}

/* ------------------------------------------------------------- Page wrap */

.pmp-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 60px;
}

.pmp-taxcalc {
	max-width: 420px;
	padding: 20px;
	background: var(--pmp-white);
	border: 1px solid var(--pmp-grey-mid);
	border-radius: var(--pmp-radius);
}
