/* Privacy Policy and Contact Us pages (enqueued only on those two pages). */

.erl-legal,
.erl-contact {
	max-width: 780px;
	margin: 0 auto;
}
.erl-legal h2,
.erl-contact h2 {
	font-size: clamp(1.3rem, 1.05rem + .9vw, 1.6rem);
}
.erl-legal h2 {
	margin: 2em 0 .55em;
}
.erl-legal h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: .4em;
	background: var(--global-palette2, #ffcc00);
}
.erl-legal ul {
	padding-left: 1.25em;
}
.erl-legal li {
	margin-bottom: .5em;
}
.erl-legal a,
.erl-contact a {
	overflow-wrap: anywhere;
}
.erl-legal__updated {
	display: table;
	margin: 0 auto 1.5em;
	padding: .35em .9em;
	background: var(--global-palette2, #ffcc00);
	color: var(--global-palette1, #2a2b2b);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.erl-legal__lede,
.erl-contact__lede {
	font-size: 1.15rem;
	line-height: 1.7;
}

/* "The short version" summary. */
.erl-legal__summary {
	margin: 2em 0 2.4em;
	padding: 1.4em 1.6em;
	border: 2px solid var(--global-palette1, #2a2b2b);
	background: var(--global-palette8, #f5f3e2);
}
.erl-legal .erl-legal__summary h2 {
	margin: 0 0 .8em;
}
.erl-legal__summary dl {
	display: grid;
	grid-template-columns: minmax(0, 11em) minmax(0, 1fr);
	gap: .7em 1.2em;
	margin: 0;
}
.erl-legal__summary dt {
	font-weight: 700;
}
.erl-legal__summary dd {
	margin: 0;
}

/* Contact. */
.erl-contact__kicker {
	margin: 0 0 .2em;
	text-align: center;
	font-family: var(--erl-script, "Dancing Script", cursive);
	font-size: 1.9rem;
	line-height: 1.2;
	color: var(--global-palette1, #2a2b2b);
}
.erl-contact__lede {
	text-align: center;
}
.erl-contact .erl-contact__topics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 32px;
	margin: 2.2em 0;
	padding: 0;
	list-style: none;
	counter-reset: erl-topic;
}
.erl-contact__topics li {
	position: relative;
	margin: 0;
	padding-left: 3.4em;
	counter-increment: erl-topic;
}
.erl-contact__topics li::before {
	content: counter(erl-topic);
	position: absolute;
	top: 0;
	left: 0;
	width: 2.3em;
	height: 2.3em;
	border-radius: 50%;
	background: var(--global-palette2, #ffcc00);
	color: var(--global-palette1, #2a2b2b);
	font-weight: 700;
	line-height: 2.3em;
	text-align: center;
}
.erl-contact .erl-contact__topics h2 {
	margin: .15em 0 .3em;
	font-size: 1.15rem;
}
.erl-contact__topics p {
	margin: 0;
	line-height: 1.6;
}
.erl-contact__form {
	margin: 2.4em 0 1.6em;
	padding: 1.8em 2em 2em;
	background: var(--global-palette1, #2a2b2b);
	color: #fff;
}
.erl-contact .erl-contact__form h2 {
	margin: 0 0 .4em;
	color: #fff;
}
.erl-contact__form .erl-contact__note {
	font-size: .92rem;
	color: #e6e6e6;
}
.erl-contact__form a {
	color: var(--global-palette2, #ffcc00);
}
.erl-contact__aside {
	font-size: .95rem;
	color: var(--global-palette5, #737675);
}

/* Kadence form on the dark panel. */
.erl-contact .kb-form .kadence-blocks-form-field label {
	display: block;
	margin-bottom: .35em;
	color: #fff;
	font-weight: 700;
	font-size: .95rem;
}
.erl-contact .kb-form .kadence-blocks-form-field .required {
	margin-left: .2em;
	color: var(--global-palette2, #ffcc00);
}
.erl-contact .kb-form input.kb-field,
.erl-contact .kb-form select.kb-field,
.erl-contact .kb-form textarea.kb-field {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: .75em .9em;
	border: 2px solid transparent;
	border-radius: 0;
	background: #fff;
	font: inherit;
	color: var(--global-palette3, #2e3232);
}
.erl-contact .kb-form .kb-field:focus {
	border-color: var(--global-palette2, #ffcc00);
	outline: 3px solid rgba(255, 204, 0, .45);
	outline-offset: 1px;
}
.erl-contact .kb-form .kb-forms-submit {
	padding: .9em 2em;
	border: 0;
	border-radius: 0;
	background: var(--global-palette2, #ffcc00);
	color: var(--global-palette1, #2a2b2b);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}
.erl-contact .kb-form .kb-forms-submit:hover {
	background: #fff;
}
.erl-contact .kb-form .kb-forms-submit:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}
.erl-contact .kadence-blocks-form-message {
	margin-top: 1em;
	padding: .9em 1.1em;
	font-weight: 700;
}
.erl-contact .kadence-blocks-form-success {
	background: #e5f2e7;
	color: #1f4a2a;
}
.erl-contact .kadence-blocks-form-warning {
	background: #fde8e8;
	color: #6d1f23;
}

@media (max-width: 640px) {
	.erl-contact .erl-contact__topics {
		grid-template-columns: 1fr;
	}
	.erl-contact__form,
	.erl-legal__summary {
		padding: 1.3em 1.1em;
	}
	.erl-legal__summary dl {
		grid-template-columns: 1fr;
		gap: .2em;
	}
	.erl-legal__summary dd {
		margin-bottom: .6em;
	}
	.erl-legal__lede,
	.erl-contact__lede {
		font-size: 1.05rem;
	}
}

/* Override the theme's numbered-list badges (.single-content ol li::before). */
.single-content .erl-contact__topics li {
	margin: 0;
	padding-left: 3.4em;
	counter-increment: erl-topic;
}
.single-content .erl-contact__topics li::before {
	content: counter(erl-topic);
	left: 0;
	top: 0;
	width: 2.3em;
	height: 2.3em;
	border: 0;
	border-radius: 50%;
	background: var(--global-palette2, #ffcc00);
	color: var(--global-palette1, #2a2b2b);
	font-size: 1rem;
	line-height: 2.3em;
}
/* Links on the dark form panel. */
.erl-layout .entry-content .erl-contact__form a:not(.erl-btn):not(.wprm-recipe-link):not(.erl-share__link) {
	color: var(--global-palette2, #ffcc00);
	text-decoration-color: currentColor;
}
