/* Andar Core 1.3.20: the Andar Contact page (drawn by the plugin, see andar_core_contact_html()).
   Same layout as the Sitting With Spirit Contact page: heading, one glass panel with the intro, the topic card and the Sender
   form, consent line under the form. Andar's look: blue glass panel (andar-glass.css: rgba(34, 64, 152, .66), gold edge),
   Cinzel headings in gold, Nunito body text in light blue-white, over the Milky Way sky. Golds: #F6DF93 #F3D98B #E8C766 #FFE9A8. */

body.andar-contact-on .wp-block-post-content { padding-left: 0 !important; padding-right: 0 !important; }
.andar-contact {
	box-sizing: border-box;
	width: min(900px, calc(100% - 32px));
	margin: clamp(28px, 6vw, 64px) auto clamp(40px, 7vw, 80px);
	color: #F4F6FF;
	font-family: var(--wp--preset--font-family--nunito, Nunito), system-ui, sans-serif;
	text-align: center;
}
.andar-contact *, .andar-contact *::before, .andar-contact *::after { box-sizing: border-box; }
html body .andar-contact .andar-contact__hero {
	margin: 0 0 22px;
	font-family: var(--wp--preset--font-family--cinzel, Cinzel), Georgia, serif;
	font-size: clamp(34px, 5.4vw, 52px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .04em;
	color: #FFFFFF !important;
	text-shadow: 0 2px 14px rgba(4, 10, 40, .7), 0 0 24px rgba(246, 223, 147, .28);
}
html body .andar-contact .andar-contact__panel {
	padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 40px) clamp(24px, 4vw, 36px);
	border-radius: 22px;
	text-align: center;
}

/* the intro */
html body .andar-contact .andar-cb__title {
	margin: 0 0 14px;
	font-family: var(--wp--preset--font-family--cinzel, Cinzel), Georgia, serif;
	font-size: clamp(24px, 3.4vw, 32px);
	font-weight: 600;
	line-height: 1.25;
	color: #F6DF93 !important;
	text-shadow: 0 1px 2px rgba(4, 10, 40, .45);
}
html body .andar-contact .andar-cb__intro p {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.65;
	color: #F4F6FF !important;
}
.andar-contact-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 14px; }
.andar-contact-topics.andar-contact-topics--one { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
html body .andar-contact .andar-topic {
	padding: 16px 18px;
	border-radius: 16px;
	text-align: left;
}
html body .andar-contact .andar-topic__title {
	margin: 0 0 6px;
	font-family: var(--wp--preset--font-family--cinzel, Cinzel), Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: #F6DF93 !important;
}
html body .andar-contact .andar-topic__text { margin: 0; font-size: 16px; line-height: 1.55; color: #F4F6FF !important; }
html body .andar-contact .andar-cb__note {
	margin: 6px 0 20px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
	color: #FFE9A8 !important;
}

/* the Sender form (white form inside its frame; the frame is fitted by andar-contact.js) */
.andar-contact .sender-form-field { display: block !important; width: 100%; max-width: 640px; margin: 0 auto; text-align: left; }
.andar-contact .sender-form-field > div { display: block !important; width: 100% !important; }
.andar-contact .sender-form-field iframe { display: block; width: 100% !important; max-width: 100% !important; overflow: hidden; border-radius: 14px !important; }
.andar-contact .sender-form-field:empty::before {
	content: "The contact form is loading. If it does not appear, please refresh the page or try another browser.";
	display: block;
	padding: 18px 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: #F4F6FF;
	text-align: center;
}
/* the "Created with Sender" badge Sender adds after the frame (div.sender-branding-host, 52px, a shadow root with a link image) */
.andar-contact .sender-branding-host,
body.andar-contact-on .sender-branding-host { display: none !important; height: 0 !important; padding: 0 !important; margin: 0 !important; }
html body .andar-contact .andar-cb__consent {
	max-width: 640px;
	margin: 14px auto 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
	color: #F4F6FF !important;
	text-align: center;
}

/* no rubber-band past the bottom of this page on phones */
html:has(> body.andar-contact-on),
body.andar-contact-on { overscroll-behavior-y: none; }

@media (max-width: 767px) {
	.andar-contact-topics { grid-template-columns: 1fr; gap: 12px; }
	html body .andar-contact .andar-cb__intro p { font-size: 17px; }
	html body .andar-contact .andar-contact__panel { padding-left: 12px; padding-right: 12px; border-radius: 16px; }
}
