/* ESL Postcode Checker – scoped to .esl-pc, inherits the theme's fonts. */
.esl-pc {
	--esl-pc-accent: #059900;
	--esl-pc-text: #ffffff;
	--esl-pc-muted: rgba(255, 255, 255, 0.78);
	--esl-pc-panel: rgba(255, 255, 255, 0.08);
	--esl-pc-border: rgba(255, 255, 255, 0.28);
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	color: var(--esl-pc-text);
	text-align: left;
}
.esl-pc--light {
	--esl-pc-text: #111111;
	--esl-pc-muted: #444444;
	--esl-pc-panel: #f3f3f3;
	--esl-pc-border: #cfcfcf;
}
.esl-pc *,
.esl-pc *::before,
.esl-pc *::after {
	box-sizing: border-box;
}
.esl-pc__label {
	display: block;
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--esl-pc-text);
}
.esl-pc__row {
	display: flex;
	gap: 8px;
}
.esl-pc__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--esl-pc-border);
	border-radius: 4px;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 18px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.esl-pc__input::placeholder {
	color: #8a8a8a;
	text-transform: none;
	letter-spacing: normal;
}
.esl-pc__input:focus {
	outline: 3px solid var(--esl-pc-accent);
	outline-offset: 1px;
}
.esl-pc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 4px;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter 0.2s ease;
}
.esl-pc__btn:hover,
.esl-pc__btn:focus-visible {
	filter: brightness(1.12);
	text-decoration: none;
}
.esl-pc__btn:focus-visible,
.esl-pc__geo:focus-visible {
	outline: 3px solid var(--esl-pc-text);
	outline-offset: 2px;
}
.esl-pc__btn--primary,
.esl-pc__btn--primary:visited {
	background: var(--esl-pc-accent);
	color: #ffffff;
}
.esl-pc__btn--secondary,
.esl-pc__btn--secondary:visited {
	background: transparent;
	color: var(--esl-pc-text);
	box-shadow: inset 0 0 0 2px var(--esl-pc-accent);
}
.esl-pc__geo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 0;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--esl-pc-text);
	font: inherit;
	font-size: 15px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.esl-pc__geo[hidden],
.esl-pc__result[hidden],
.esl-pc__points[hidden] {
	display: none;
}
.esl-pc__status {
	min-height: 1.4em;
	margin: 8px 0 0;
	color: var(--esl-pc-muted);
	font-size: 15px;
}
.esl-pc__status:empty {
	min-height: 0;
}
.esl-pc__result {
	margin: 12px 0 0;
	padding: 18px;
	border-left: 4px solid var(--esl-pc-accent);
	border-radius: 4px;
	background: var(--esl-pc-panel);
}
.esl-pc__headline {
	margin: 0 0 6px;
	font-size: 19px;
	line-height: 1.35;
	color: var(--esl-pc-text);
}
.esl-pc__sub {
	margin: 0 0 10px;
	color: var(--esl-pc-muted);
}
.esl-pc__sub:empty {
	display: none;
}
.esl-pc__points {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}
.esl-pc__points li {
	position: relative;
	margin: 0 0 4px;
	padding-left: 22px;
	color: var(--esl-pc-text);
}
.esl-pc__points li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.35em;
	width: 6px;
	height: 11px;
	border: solid var(--esl-pc-accent);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.esl-pc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.esl-pc__actions .esl-pc__btn {
	flex: 1 1 200px;
}
@media (max-width: 480px) {
	.esl-pc__row {
		flex-direction: column;
	}
	.esl-pc__row .esl-pc__btn {
		width: 100%;
	}
}
