/*
 * The site's other pages for variant visitors (variants/_shared/pages/): blog cards, a blog
 * post's text and the volunteers form. Colors and fonts are the --lp-* values in lp.css.
 */

/* Blog cards: the title link covers the whole card. */
.sap-lp .lp-card { transition: transform .15s ease, box-shadow .15s ease; }
.sap-lp .lp-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34, 59, 53, .12) !important; }
.sap-lp .lp-card .lp-stretch::after { content: ""; position: absolute; inset: 0; }
.sap-lp .lp-card .lp-stretch:focus-visible { outline: none; }
.sap-lp .lp-card:has(.lp-stretch:focus-visible) { outline: 2px solid var(--lp-link); outline-offset: 2px; }

/* A blog post's text (the_content: paragraphs, headings, captioned photos, lists, links). */
.sap-lp .lp-prose { font-size: 18px; line-height: 1.65; color: var(--lp-ink); overflow-wrap: break-word; }
.sap-lp .lp-prose > * { margin: 0 0 1.1em; }
.sap-lp .lp-prose > :last-child { margin-bottom: 0; }
.sap-lp .lp-prose h2,
.sap-lp .lp-prose h3,
.sap-lp .lp-prose h4 { margin: 1.6em 0 .5em; font-family: var(--lp-serif); font-weight: 400; line-height: 1.1; color: var(--lp-brand); text-wrap: balance; }
.sap-lp .lp-prose h2 { font-size: clamp(28px, 3vw, 38px); }
.sap-lp .lp-prose h3 { font-size: clamp(24px, 2.4vw, 30px); }
.sap-lp .lp-prose h4 { font-size: 22px; }
.sap-lp .lp-prose a { color: var(--lp-link); text-underline-offset: 3px; overflow-wrap: anywhere; }
.sap-lp .lp-prose a:hover { color: var(--lp-brand); }
.sap-lp .lp-prose strong, .sap-lp .lp-prose b { font-weight: 700; color: var(--lp-brand); }
.sap-lp .lp-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.sap-lp .lp-prose figure,
.sap-lp .lp-prose .wp-caption { max-width: 100% !important; margin: 1.6em 0; }
.sap-lp .lp-prose figcaption,
.sap-lp .lp-prose .wp-caption-text { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--lp-muted); }
.sap-lp .lp-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.sap-lp .lp-prose ul,
.sap-lp .lp-prose ol { padding-left: 1.3em; }
.sap-lp .lp-prose li { margin: 0 0 .4em; }
.sap-lp .lp-prose blockquote { margin: 1.6em 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--lp-accent); font-family: var(--lp-serif); font-size: 24px; line-height: 1.3; color: var(--lp-brand); }
.sap-lp .lp-prose iframe,
.sap-lp .lp-prose video { max-width: 100%; }

/* The volunteers form (Contact Form 7 with Divi's markup), drawn like the checkout's fields. */
.sap-lp .lp-form form { margin: 0; }
/* One field per row: the card is too narrow for Divi's half-width pairs ("Dirección de correo electrónico"). */
.sap-lp .lp-form .et_pb_contact { display: flex; flex-direction: column; gap: 14px; }
.sap-lp .lp-form .et_pb_contact_field { margin: 0; padding: 0; }
.sap-lp .lp-form .wpcf7-form-control-wrap { display: block; }
.sap-lp .lp-form input.input,
.sap-lp .lp-form textarea.input {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #cfd5d2;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.2;
	color: var(--lp-ink);
}
.sap-lp .lp-form textarea.input { height: 140px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
.sap-lp .lp-form .input::placeholder { color: #6b716f; opacity: 1; }
.sap-lp .lp-form .input:focus { outline: 2px solid var(--lp-brand); outline-offset: 0; border-color: var(--lp-brand); }
.sap-lp .lp-form .wpcf7-not-valid { border-color: #9a3b2a !important; }
.sap-lp .lp-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; color: #9a3b2a; }
/* The sum question on the left; CF7's spinner (hidden until sending) and the button on the right. */
.sap-lp .lp-form .et_contact_bottom_container { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.sap-lp .lp-form .et_pb_contact_right { margin-right: auto; }
.sap-lp .lp-form .et_pb_contact_right p { margin: 0; }
.sap-lp .lp-form .wpcf7-spinner { margin: 0; }
.sap-lp .lp-form .et_pb_contact_right label { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--lp-brand); }
.sap-lp .lp-form input.et_pb_contact_captcha { width: 72px; padding: 0 8px; text-align: center; }
.sap-lp .lp-form .et_pb_contact_submit {
	height: 52px;
	padding: 0 32px;
	border: 0;
	border-radius: 999px;
	background: var(--lp-brand);
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease;
}
.sap-lp .lp-form .et_pb_contact_submit:hover { background: #16282a; }
.sap-lp .lp-form .et_pb_contact_submit:active { transform: scale(.97); }
@media (max-width: 599.98px) {
	.sap-lp .lp-form .et_pb_contact_submit { order: 3; flex: 1 1 100%; }
}
.sap-lp .lp-form .wpcf7 form .wpcf7-response-output {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid var(--lp-line);
	border-left: 4px solid var(--lp-accent);
	border-radius: 10px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--lp-ink);
}
.sap-lp .lp-form .wpcf7 form.invalid .wpcf7-response-output,
.sap-lp .lp-form .wpcf7 form.unaccepted .wpcf7-response-output,
.sap-lp .lp-form .wpcf7 form.payment-required .wpcf7-response-output,
.sap-lp .lp-form .wpcf7 form.failed .wpcf7-response-output,
.sap-lp .lp-form .wpcf7 form.aborted .wpcf7-response-output,
.sap-lp .lp-form .wpcf7 form.spam .wpcf7-response-output { border-left-color: #9a3b2a; }
