/* =============================================================================
   Apple a Day Pediatrics: Lane D1b pages (enqueued only on its five pages by
   inc/pages-d1b-assets.php; body classes .aad-d1b, .aad-d1b--audience, .aad-d1b--geo).

   1. The July audience pages (/new-baby-…, /new-to-the-area-…, /switching-…):
      their own scoped design (.aadlp), ported from the D7 <style> block. Changes:
      self-hosted fonts (Baloo 2 800 + Ubuntu, no Google Fonts import), no Drupal
      webform skin, no fixed call bar (the theme's call bar is the only one; their
      tap-to-call line now sits in flow under the form, phones only, as before),
      a wider layout for the full-width theme.
   2. The geo pages (/best-pediatricians-kendall-county, /pediatrician-yorkville-il):
      components inside Lane C's .aadb sections (cards, checklist, chips, photo
      splits, hours card).
   3. The callback form section (engine shortcode section .aad-sec-shortcode) and a
      CF7 skin, scoped to these pages.
   No content: strings (copy gate), no Font Awesome, no jQuery. Text >= 4.5:1.
   ============================================================================= */

/* ---- let D1b bands run edge to edge inside Elementor's wrappers (Lane C does the same for .aadb-sec) ---- */
.elementor-section:has(.aadlp-sec) { padding: 0 !important; }
.elementor-section:has(.aadlp-sec) > .elementor-container { max-width: none !important; }
.elementor-column:has(.aadlp-sec) > .elementor-widget-wrap { padding: 0 !important; }
.elementor-widget-html:has(.aadlp-sec) { margin-bottom: 0 !important; }

/* =============================================================================
   1. AUDIENCE PAGES (.aadlp)
   ============================================================================= */
.aadlp-sec { position: relative; padding: 40px 0; }
.aadlp-sec--cream { background: #fff4ef; }
.aadlp-sec--white { background: #fff; }
.aadlp-sec--hero { padding-top: 20px; }
.aadlp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.aadlp-narrow { max-width: 860px; margin: 0 auto; }
@media (min-width: 768px) {
	.aadlp-sec { padding: 64px 0; }
	.aadlp-sec--hero { padding-top: 44px; }
	.aadlp-wrap { padding: 0 24px; }
}

.aadlp, .aadlp *, .aadlp *::before, .aadlp *::after { box-sizing: border-box; }
.aadlp {
	--g-dark: #014C2B;
	--g-mid: #2f7d4f;
	--g-soft: #eef5ef;
	--red: #c0392b;
	--red-dk: #a02f22;
	--cream: #fdf8f0;
	--sand: #f6efe2;
	--muted: #4f5e54;      /* 6.4:1 on white, 5.6:1 on sand */
	--line: #e3e0d6;
	font-family: 'Ubuntu', 'Segoe UI', Helvetica, Arial, sans-serif;
	color: #23372b;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.aadlp h1, .aadlp h2, .aadlp h3, .aadlp h4 {
	font-family: 'Baloo 2', 'Ubuntu', Helvetica, Arial, sans-serif;
	font-weight: 800;
	color: var(--g-dark);
	line-height: 1.14;
	margin: 0 0 14px;
	text-transform: none;
	letter-spacing: 0;
	text-wrap: balance;
}
.aadlp h1 { font-size: clamp(30px, 1.5vw + 22px, 44px); letter-spacing: -.4px; }
.aadlp h2 { font-size: clamp(25px, .9vw + 19px, 32px); }
.aadlp h3 { font-size: 20px; }
.aadlp p { margin: 0 0 16px; }
.aadlp p:last-child { margin-bottom: 0; }
.aadlp a { color: var(--g-mid); text-underline-offset: 3px; }
.aadlp a:focus-visible { outline: 3px solid #1b3a6b; outline-offset: 3px; border-radius: 6px; }
.aadlp img { max-width: 100%; height: auto; display: block; }
.aadlp ul, .aadlp ol { margin: 0; padding: 0; }
.aadlp .aadlp-block { margin: 0; }
.aadlp .aadlp-br { display: none; }
.aadlp .aadlp-k-benefits > h2, .aadlp .aadlp-k-reviews > h2, .aadlp .aadlp-k-faq > h2 { text-align: center; margin-bottom: 26px; }
.aadlp-narrow + .aadlp-block { margin-top: 48px; }

/* ---------- hero: image + overlapping card (phones: stacked, card overlaps the photo) ---------- */
.aadlp-hero { position: relative; }
.aadlp-hero__img { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(1, 76, 43, .16); }
.aadlp-hero__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.aadlp-pill {
	position: absolute; left: 14px; top: 14px;
	background: rgba(255, 255, 255, .95); color: var(--g-dark);
	font-weight: 700; font-size: 12.5px; letter-spacing: .3px; text-transform: uppercase;
	padding: 7px 14px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
}
.aadlp-hero__card {
	position: relative; z-index: 2;
	background: #fff; border: 1px solid var(--line); border-radius: 16px;
	box-shadow: 0 10px 30px rgba(1, 76, 43, .12);
	padding: 20px 18px 18px; margin: -32px 8px 0;
}
.aadlp-eyebrow { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 1.1px; text-transform: uppercase; margin: 0 0 10px; }
.aadlp-sub { font-size: 16.5px; color: #35493c; margin-bottom: 18px; }
@media (max-width: 767px) { .aadlp-eyebrow { font-size: 12px; letter-spacing: .6px; } }
@media (min-width: 768px) { .aadlp-sub { font-size: 17.5px; margin-bottom: 20px; } }
@media (min-width: 900px) {
	.aadlp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
	.aadlp-hero__img { grid-column: 2; grid-row: 1; }
	.aadlp-hero__card { grid-column: 1; grid-row: 1; margin: 0 -72px 0 0; padding: 34px 36px 28px; }
	.aadlp-pill { left: auto; right: 16px; }
}

/* ---------- buttons ---------- */
.aadlp-btns { margin: 0 0 6px; }
.aadlp-btn {
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	min-height: 54px; text-align: center; text-decoration: none; border-radius: 12px;
	font-family: 'Baloo 2', 'Ubuntu', Helvetica, Arial, sans-serif; font-weight: 800; line-height: 1.2;
	padding: 13px 20px; margin: 0 0 10px;
	transition: background-color .18s ease, box-shadow .18s ease, transform .15s ease;
}
.aadlp-btn:active { transform: scale(.98); }
.aadlp-btn--call { background: var(--red); color: #fff !important; font-size: 22px; box-shadow: 0 4px 14px rgba(192, 57, 43, .28); }
.aadlp-btn--call:hover, .aadlp-btn--call:focus { background: var(--red-dk); color: #fff !important; text-decoration: none; }
.aadlp-btn--call .aadlp-btn__sm { display: block; font-family: 'Ubuntu', sans-serif; font-size: 13px; font-weight: 400; opacity: .92; letter-spacing: .3px; margin-bottom: 1px; }
.aadlp-btn--ghost { background: #fff; color: var(--g-dark) !important; font-size: 18px; border: 2px solid var(--g-dark); }
.aadlp-btn--ghost:hover, .aadlp-btn--ghost:focus { background: var(--g-soft); color: var(--g-dark) !important; text-decoration: none; }
.aadlp-btn__sub { display: block; font-family: 'Ubuntu', sans-serif; font-weight: 400; font-size: 13px; letter-spacing: .2px; opacity: .92; margin-top: 2px; }
.aadlp-note { font-size: 14.5px; color: var(--muted); margin: 12px 0 0; }
@media (min-width: 768px) {
	.aadlp-btns--row { display: flex; flex-wrap: wrap; gap: 12px; }
	.aadlp-btns--row .aadlp-btn { flex: 1 1 200px; margin-bottom: 0; }
}

/* ---------- trust strip ---------- */
.aadlp-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.aadlp-trust > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px 12px; text-align: center; }
.aadlp-trust b { display: block; font-family: 'Baloo 2', 'Ubuntu', sans-serif; font-weight: 800; font-size: 25px; color: var(--g-dark); line-height: 1.1; }
.aadlp-trust > div > span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 4px; }
.aadlp .aadlp-stars { color: #c47a0c; letter-spacing: 2px; }
.aadlp-trust b .aadlp-stars { font-size: .78em; letter-spacing: 0; vertical-align: .1em; }
@media (min-width: 768px) {
	.aadlp-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
	.aadlp-trust > div { padding: 16px 14px 14px; }
	.aadlp-trust > div > span { font-size: 14px; }
}

/* ---------- panels ---------- */
.aadlp-panel { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px 20px; }
.aadlp-panel--green { background: var(--g-soft); border-color: #d3e5d8; }
@media (min-width: 768px) { .aadlp-panel { padding: 32px 36px 28px; } }

/* ---------- "what families tell us" list (switching page) ---------- */
.aadlp-pain { list-style: none; margin: 0 0 16px; padding: 0; }
.aadlp-pain li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 13px 16px; margin: 0 0 10px; font-style: italic; color: #3d5146; }

/* ---------- benefit cards ---------- */
.aadlp-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.aadlp-cards > div {
	background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--g-mid);
	border-radius: 14px; padding: 20px 20px 18px; box-shadow: 0 2px 12px rgba(1, 76, 43, .05);
}
.aadlp-cards h3 { font-size: 19px; margin-bottom: 8px; }
.aadlp-cards p { font-size: 16px; color: #40544a; }
@media (min-width: 640px) { .aadlp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .aadlp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* ---------- doctors band (real 2025 portrait; tops of heads never cropped) ---------- */
.aadlp-docs { background: var(--g-dark); border-radius: 18px; overflow: hidden; color: #f2f8f3; }
.aadlp-docs__img img { width: 100%; }
.aadlp-docs__copy { padding: 22px 18px 18px; }
.aadlp-docs__copy h2 { color: #fff; }
.aadlp-docs__copy p { color: #d9e8dd; }
.aadlp-docs__copy p:last-child a { color: #8fd6a6; font-weight: 700; display: inline-block; padding: 10px 0; }
.aadlp-facts { list-style: none; margin: 0 0 12px; padding: 0; }
.aadlp-facts li { position: relative; padding: 8px 0 8px 28px; color: #e7f1e9; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.aadlp-facts li:last-child { border-bottom: 0; }
.aadlp-facts b { color: #fff; }
.aadlp-tick { position: absolute; left: 0; top: 8px; color: #8fd6a6; font-weight: 700; }
@media (min-width: 900px) {
	.aadlp-docs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.aadlp-docs__img { position: relative; min-height: 400px; }
	.aadlp-docs__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
	.aadlp-docs__copy { align-self: center; padding: 36px 42px 30px; }
}

/* ---------- reviews ---------- */
.aadlp-quote {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 20px 22px 18px; margin: 0 0 14px; box-shadow: 0 3px 12px rgba(1, 76, 43, .06);
}
.aadlp-quote p { font-size: 16.5px; color: #33473c; margin-bottom: 10px; }
.aadlp-quote .aadlp-stars { font-size: 15px; margin-bottom: 6px; }
.aadlp-quote .aadlp-by { font-size: 14px; color: var(--muted); margin: auto 0 0; font-weight: 700; }
.aadlp-src { font-size: 14px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.aadlp-src a { font-weight: 700; display: inline-block; padding: 10px 0; }
@media (min-width: 900px) {
	.aadlp-k-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
	.aadlp-k-reviews > h2, .aadlp-k-reviews > .aadlp-src { grid-column: 1 / -1; }
	.aadlp-k-reviews .aadlp-quote { margin: 0; }
}

/* ---------- how it works + photo band, side by side on desktop ---------- */
.aadlp-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.aadlp-pair > .aadlp-block { display: flex; }
.aadlp-pair > .aadlp-block > * { flex: 1 1 auto; }
@media (min-width: 900px) { .aadlp-pair { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; } }
.aadlp-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.aadlp-steps li { counter-increment: s; position: relative; padding: 0 0 18px 58px; }
.aadlp-steps li:last-child { padding-bottom: 0; }
.aadlp-steps li::before {
	content: counter(s); position: absolute; left: 0; top: 0;
	width: 40px; height: 40px; border-radius: 50%; background: var(--g-mid); color: #fff;
	font-family: 'Baloo 2', 'Ubuntu', sans-serif; font-weight: 800; font-size: 20px; text-align: center; line-height: 42px;
}
.aadlp-steps h3 { margin-bottom: 4px; font-size: 19px; }
.aadlp-steps p { font-size: 16px; color: #40544a; margin-bottom: 0; }
.aadlp-photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.aadlp-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.aadlp-photo__cap { padding: 18px 22px 20px; }
.aadlp-photo__cap h3 { margin-bottom: 6px; }
.aadlp-photo__cap p { font-size: 16px; color: #40544a; }

/* ---------- FAQ (their open question list; two columns on desktop) ---------- */
.aadlp-faq h3 { color: var(--red-dk); font-size: 19px; margin: 0 0 6px; }
.aadlp-faq > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.aadlp-faq > div:last-child { border-bottom: 0; }
.aadlp-faq p { font-size: 16.5px; color: #3d5146; }
@media (min-width: 900px) {
	.aadlp-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
	.aadlp-faq > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* ---------- closing call + office hours ---------- */
.aadlp-end { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.aadlp-end > .aadlp-block { display: flex; }
.aadlp-end > .aadlp-block > * { flex: 1 1 auto; }
@media (min-width: 900px) { .aadlp-end { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; } }
.aadlp-cta {
	display: flex; flex-direction: column; justify-content: center;
	background: var(--g-dark); border-radius: 18px; padding: 28px 20px 24px; text-align: center;
}
.aadlp-cta h2 { color: #fff; }
.aadlp-cta p { color: #d5e7da; }
.aadlp-cta .aadlp-btns { margin: 6px 0 0; }
.aadlp-cta .aadlp-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .75); }
.aadlp-cta .aadlp-btn--ghost:hover, .aadlp-cta .aadlp-btn--ghost:focus { background: rgba(255, 255, 255, .12); }
.aadlp-cta > p:last-child { color: #d5e7da; margin: 16px 0 0; font-size: 15px; }
@media (min-width: 768px) {
	.aadlp-cta { padding: 36px 36px 30px; }
	.aadlp-cta .aadlp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
	.aadlp-cta .aadlp-btn { flex: 1 1 230px; max-width: 330px; margin: 0; }
}
.aadlp-hours { width: 100%; border-collapse: collapse; margin: 6px 0 0; }
.aadlp-hours td { padding: 9px 8px; border: 0; border-bottom: 1px solid var(--line); background: none !important; font-size: 16px; line-height: 1.4; }
.aadlp-hours tr:last-child td { border-bottom: 0; }
.aadlp-hours td:last-child { text-align: right; color: #40544a; white-space: nowrap; }

/* ---------- the form block: their intro + privacy line, Lane E's CF7 form, their tap-to-call (phones) ---------- */
.aadlp-anchor { display: block; height: 0; scroll-margin-top: 110px; }
.aadlp-formtop { background: var(--sand); padding: 26px 22px 18px; text-align: center; }
.aadlp-formtop h2 { margin-bottom: 8px; }
.aadlp-formtop p { color: #40544a; margin: 0 auto 10px; max-width: 560px; }
.aadlp .aadlp-privacy {
	max-width: 560px; margin: 14px auto 0; padding: 11px 14px 11px 44px; text-align: left;
	font-size: 14.5px; line-height: 1.5; color: #3e4c42;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") 14px 12px / 20px 20px no-repeat;
	border: 1px dashed #cdbf9f; border-radius: 10px;
}
.aadlp-tapcall { display: none; }
@media (max-width: 767px) {
	.aadlp-tapcall { display: block; padding: 18px 18px 22px; }
	.aadlp-tapcall a {
		display: block; background: var(--red); border-radius: 12px; padding: 12px 14px;
		text-align: center; color: #fff !important; text-decoration: none;
		font-family: 'Baloo 2', 'Ubuntu', sans-serif; font-weight: 800; font-size: 21px; line-height: 1.2;
		box-shadow: 0 4px 14px rgba(192, 57, 43, .25);
	}
	.aadlp-tapcall span { display: block; font-family: 'Ubuntu', sans-serif; font-size: 13px; font-weight: 400; opacity: .92; }
}
/* fallback when no form is published yet (forms.json missing): the same card, without the form */
.aadlp-sec--form { padding-top: 0; }
.aadlp-formcard { max-width: 760px; margin: 0 16px; background: #fff; border: 1px solid #e3e0d6; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(1, 76, 43, .10); }
@media (min-width: 792px) { .aadlp-formcard { margin: 0 auto; } }

/* =============================================================================
   2. FORM SECTION (engine shortcode section) + CF7 skin, D1b pages only
   ============================================================================= */
.aad-d1b .aad-sec-shortcode { background: #fff4ef; padding: 0 16px 56px !important; }
.aad-d1b--geo .aad-sec-shortcode { padding-top: 56px !important; }
.aad-d1b .aad-sec-shortcode > .elementor-container { max-width: 760px !important; margin: 0 auto; }
.aad-d1b .aad-sec-shortcode > .elementor-container > .elementor-column > .elementor-widget-wrap {
	display: block; padding: 0 !important; overflow: hidden;
	background: #fff; border: 1px solid #e3e0d6; border-radius: 18px; box-shadow: 0 10px 30px rgba(1, 76, 43, .10);
}
.aad-d1b .aad-sec-shortcode .elementor-widget { margin: 0 !important; }
.aad-d1b .aad-sec-shortcode .elementor-widget-shortcode { padding: 22px 22px 10px; }
@media (min-width: 768px) { .aad-d1b .aad-sec-shortcode .elementor-widget-shortcode { padding: 26px 34px 14px; } }

.d1b-formhead { background: #f8ece3; padding: 26px 22px 18px; text-align: center; font-family: 'Ubuntu', 'Segoe UI', Arial, sans-serif; }
.d1b-formhead__h { font-family: 'Cantarell', 'Ubuntu', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.3px; text-transform: uppercase; color: #403a48; margin: 0 0 6px; }
.d1b-formhead__sub { margin: 0; font-size: 16.5px; line-height: 1.5; color: #4b4652; }

.aad-d1b .wpcf7 { font-family: 'Ubuntu', 'Segoe UI', Arial, sans-serif; color: #23372b; font-size: 16px; line-height: 1.5; }
.aad-d1b .wpcf7 form p { margin: 0 0 14px; }
.aad-d1b .wpcf7 label { display: block; font-weight: 700; font-size: 15px; color: #23372b; }
.aad-d1b .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.aad-d1b .wpcf7 input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="date"]),
.aad-d1b .wpcf7 select,
.aad-d1b .wpcf7 textarea {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1px solid #c9c2b0; border-radius: 10px; background: #fff;
	font: inherit; font-size: 16px; color: #23372b; box-shadow: none;
}
.aad-d1b .wpcf7 textarea { min-height: 110px; resize: vertical; }
.aad-d1b .wpcf7 :is(input, select, textarea):focus { border-color: #2f7d4f; outline: none; box-shadow: 0 0 0 3px rgba(47, 125, 79, .18); }
.aad-d1b .wpcf7 .wpcf7-list-item { display: inline-flex; margin: 4px 18px 4px 0; }
.aad-d1b .wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
.aad-d1b .wpcf7 input:is([type="radio"], [type="checkbox"]) { width: 20px; height: 20px; margin: 0; accent-color: #2f7d4f; }
.aad-d1b .wpcf7 :is(input[type="submit"], button[type="submit"]) {
	display: block; width: 100%; max-width: 380px; min-height: 54px; margin: 10px auto 4px; padding: 14px 26px;
	background: #c0392b; color: #fff; border: 0; border-radius: 12px; cursor: pointer;
	font-family: 'Baloo 2', 'Ubuntu', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .3px; text-transform: none;
	box-shadow: 0 4px 14px rgba(192, 57, 43, .26); transition: background-color .18s ease;
}
.aad-d1b .wpcf7 :is(input[type="submit"], button[type="submit"]):hover { background: #a02f22; }
.aad-d1b .wpcf7 :is(input[type="submit"], button[type="submit"]):focus-visible { outline: 3px solid #1b3a6b; outline-offset: 3px; }
.aad-d1b .wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }
.aad-d1b .wpcf7 .wpcf7-not-valid { border-color: #c0392b !important; }
.aad-d1b .wpcf7 .wpcf7-not-valid-tip { color: #a02f22; font-size: 14px; margin-top: 5px; }
.aad-d1b .wpcf7 form .wpcf7-response-output { margin: 14px 0 8px; padding: 12px 14px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; }
.aad-d1b .wpcf7 form:is(.invalid, .unaccepted, .failed, .aborted, .spam, .payment-required) .wpcf7-response-output { background: #fdecea; border-color: #f0b7b0; color: #8c2018; }
.aad-d1b .wpcf7 form.sent .wpcf7-response-output { background: #eef5ef; border-color: #cfe3d5; color: #14512f; }

/* =============================================================================
   3. GEO PAGES (inside Lane C's .aadb sections)
   ============================================================================= */
.d1b-sec .aadb-h2 { font-size: clamp(23px, 1vw + 17px, 31px); line-height: 1.12; }
.d1b-sec .aadb-head { margin-bottom: 20px; }
@media (min-width: 768px) { .d1b-sec .aadb-head { margin-bottom: 24px; } }
.d1b-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.d1b-after { margin-top: 26px; }
.d1b-sec .aadb-prose p:last-child { margin-bottom: 0; }

.d1b-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.d1b-split--top { align-items: start; }
.d1b-split--side-first > .d1b-split__side { order: -1; }
@media (min-width: 900px) {
	.d1b-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
	.d1b-split--side-first { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* <picture> wrappers (WebP derivatives) never change layout */
.aadlp picture, .d1b-photo picture { display: contents; }
@media (min-width: 900px) { .d1b-intro--wide .d1b-split--side-first { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }

/* their photos, uncropped at their own ratio */
.d1b-photo { margin: 0; }
.d1b-photo__img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 1px 2px rgba(64, 58, 72, .06), 0 10px 28px rgba(64, 58, 72, .12); }
.d1b-photo--portrait { max-width: 500px; margin: 0 auto; }
.d1b-photo--square { max-width: 520px; margin: 0 auto; }
.d1b-photo--wide .d1b-photo__img { max-width: 770px; margin: 0 auto; }
.d1b-photo__cap { margin-top: 14px; text-align: center; font-family: 'Cantarell', 'Ubuntu', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.35; color: #2e632d; }

/* their list items as cards (bold lead + text stay one sentence flow) */
.d1b-sec .d1b-cards { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.d1b-card {
	position: relative; list-style: none; flex: 0 1 100%;
	background: #fff; border: 1px solid #eee2d8; border-radius: 16px;
	padding: 18px 18px 18px 70px; box-shadow: 0 1px 2px rgba(64, 58, 72, .05), 0 8px 22px rgba(64, 58, 72, .07);
	font-size: 16.5px; line-height: 1.6; color: #4b4652;
}
.aadb-sec--white .d1b-card { background: #fffaf7; }
.d1b-card__ico { position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #edf3e4; color: #2e632d; }
.d1b-card__ico .aadb-ico { width: 20px; height: 20px; }
.d1b-card strong { color: #403a48; }
.d1b-card a { font-weight: 700; }
@media (max-width: 639px) {
	.d1b-card { padding: 16px 16px 16px 62px; }
	.d1b-card__ico { left: 14px; top: 16px; width: 34px; height: 34px; }
}
@media (min-width: 640px) { .d1b-card { flex-basis: calc(50% - 8px); } }
@media (min-width: 1000px) { .d1b-cards--3 .d1b-card { flex-basis: calc(33.333% - 11px); } }

/* checklist */
.d1b-sec .d1b-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .d1b-sec .d1b-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.d1b-check { position: relative; list-style: none; padding: 12px 14px 12px 50px; background: #fff; border: 1px solid #eee2d8; border-radius: 12px; font-size: 16.5px; line-height: 1.55; color: #4b4652; }
.aadb-sec--white .d1b-check { background: #fffaf7; }
.d1b-check__ico { position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: #2e632d; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.d1b-check__ico .aadb-ico { width: 14px; height: 14px; stroke-width: 3; }
.d1b-check strong { color: #403a48; }
.d1b-sec .d1b-checks + .aadb-prose { margin-top: 20px; }
.d1b-sec .aadb-prose + .d1b-checks { margin-top: 14px; }

/* places / distances / schools */
.d1b-sec .d1b-chips { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .d1b-sec .d1b-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .d1b-sec .d1b-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d1b-chip { position: relative; list-style: none; padding: 13px 14px 13px 46px; border-radius: 12px; background: #fff; border: 1px solid #eee2d8; font-size: 16px; line-height: 1.5; color: #4b4652; }
.aadb-sec--white .d1b-chip { background: #fffaf7; }
.d1b-chip__ico { position: absolute; left: 13px; top: 13px; color: #c5282d; line-height: 0; }
.d1b-chip__ico .aadb-ico { width: 22px; height: 22px; }
.d1b-chip strong { color: #403a48; }

/* callouts placed inside a section */
.d1b-sec .aadb-callout { margin: 24px 0; }
.d1b-callout-row { max-width: 860px; margin: 32px auto 0; }
.d1b-callout-row .aadb-callout { margin: 0; }

/* their tinted box (Kendall page: "Yorkville Families – We Are Right Next Door") */
.d1b-box { margin-top: 28px; padding: 24px 22px; border-radius: 16px; background: #edf3e4; border: 1px solid #d6e3c6; }
.d1b-box h3 { font-family: 'Cantarell', 'Ubuntu', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; color: #094708; margin: 0 0 10px; }
.d1b-box .aadb-btns { margin-top: 18px; }
@media (min-width: 768px) { .d1b-box { padding: 30px 34px; } }

/* closing call band built from their own closing section */
.d1b-close .aadb-prose { max-width: 680px; margin: 14px auto 0; text-align: center; }
.d1b-close .aadb-btns { margin-top: 22px; }
.d1b-close .aadb-btns + .aadb-prose { margin-top: 22px; font-size: 16px; }

/* Get in Touch + Office Hours */
.d1b-hourscard { background: #fff4ef; border: 1px solid #eee2d8; border-radius: 16px; padding: 24px 22px 14px; }
.d1b-hourscard .aadb-h2 { font-size: 24px; }
.d1b-hourscard .aadb-head { margin-bottom: 10px; }
.d1b-hours { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.d1b-hours td { padding: 10px 6px; border: 0; border-bottom: 1px solid #dbcfc2; background: none !important; color: #4b4652; line-height: 1.4; }
.d1b-hours tr:last-child td { border-bottom: 0; }
.d1b-hours td:last-child { text-align: right; white-space: nowrap; }
.d1b-hours strong { color: #403a48; }
.d1b-contact .aadb-btns { margin: 18px 0 20px; }

@media (prefers-reduced-motion: reduce) {
	.aadlp-btn, .aadlp-btn:active { transition: none; transform: none; }
}
@media print {
	.aadlp-tapcall { display: none !important; }
	.aadlp-docs, .aadlp-cta { background: #fff !important; color: #000 !important; }
}
