/*
Theme Name: Babble & Bite
Theme URI: https://babblebitespeech.com
Author: CMEU
Description: A small block theme for Babble & Bite Speech Therapy. Pages use core blocks so copy can be edited without a page builder.
Version: 1.2.8
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: babblebite
*/

body {
	background-color: #fff5d9;
	background-image: url("/wp-content/uploads/2026/01/bg-2.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	color: rgb(78, 78, 78);
	font-family: Mulish, sans-serif;
	font-weight: 300;
}

p,
li,
.wp-block-paragraph {
	font-family: Mulish, sans-serif;
	font-weight: 300;
	color: rgb(78, 78, 78);
}

h1.wp-block-heading,
.wp-block-heading.display,
.wp-block-heading.is-style-display {
	font-family: Delius, cursive;
	font-weight: 400;
	font-size: clamp(2.1rem, 4vw, 2.8rem);
	line-height: 1.15;
}

.wp-site-blocks > header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(23, 74, 144, 0.08);
}

body.home .wp-site-blocks > header:not(.is-scrolled) {
	background: #ffffff;
	box-shadow: none;
}

.site-header {
	align-items: center;
	min-height: 52px;
}

.site-header .wp-block-site-logo {
	flex: 0 0 auto;
	transition: width 0.2s ease, opacity 0.2s ease;
}

.site-header .wp-block-site-logo img {
	display: block;
	width: 168px;
	height: auto;
}

body.home .wp-site-blocks > header:not(.is-scrolled) .site-header .wp-block-site-logo {
	width: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}

.hero-logo {
	margin: 0;
	padding: 1.25rem 1.25rem 2.75rem;
	text-align: center;
}

.hero-logo.is-layout-constrained > .wp-block-site-logo {
	width: min(800px, 100%);
	max-width: min(800px, 100%);
	line-height: 0;
}

.hero-logo img {
	width: 100% !important;
	height: auto !important;
}

@media (prefers-reduced-motion: reduce) {
	.site-header .wp-block-site-logo {
		transition: none;
	}
}

.breadcrumb {
	margin: 0 0 1.25rem;
	color: #4e4e4e;
	font-family: Lexend, sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
}

.breadcrumb a {
	color: #174a90;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #d85206;
}

.breadcrumb .sep {
	margin: 0 0.4rem;
	color: #d85206;
}

.eyebrow,
h2.wp-block-heading.eyebrow,
.wp-block-heading.is-style-eyebrow {
	margin-bottom: 0.25rem;
	color: #ffa000;
	font-family: Lexend, sans-serif;
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.3;
}

.wp-block-group.service-card {
	display: grid;
	grid-template-columns: 64px 1fr;
	column-gap: 1rem;
	row-gap: 0.35rem;
	align-items: start;
	height: 100%;
	box-sizing: border-box;
	box-shadow: 0 10px 28px rgba(23, 74, 144, 0.08);
}

.service-card .card-icon {
	grid-row: 1 / span 3;
	grid-column: 1;
	margin: 0;
}

.service-card .card-icon img {
	display: block;
	width: 64px;
	height: auto;
}

.service-card h3,
.service-card p {
	grid-column: 2;
	margin-top: 0;
	margin-bottom: 0;
}

.service-card .more-link {
	margin-top: 0.35rem;
}

.service-card .more-link a {
	color: #d85206;
	font-family: Lexend, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.service-card .more-link a::after {
	content: " \2192";
}

.portrait img,
.wp-block-image.portrait img {
	border-radius: 18px;
}

.home-intro .portrait,
.home-intro .portrait img {
	width: 100%;
	height: auto;
}

body.page-id-54 .wp-site-blocks > main,
body.page-id-54 .entry-content.is-layout-constrained {
	max-width: none;
}

body.page-id-54 main.is-layout-constrained > .breadcrumb,
body.page-id-54 .entry-content.is-layout-constrained > .alignwide {
	max-width: 1120px;
}

.about-intro .portrait,
.about-intro .portrait img {
	width: 100%;
	height: auto;
}

.about-intro h1 {
	margin-top: 0;
	margin-bottom: 0.35rem;
	color: rgb(0, 129, 82);
	font-size: 1.75rem;
	line-height: 1.2;
}

.about-intro .about-role {
	margin-top: 0;
	margin-bottom: 1rem;
	color: rgb(144, 105, 0);
	font-family: Delius, cursive;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.3;
}

.about-intro p {
	font-size: 1rem;
	line-height: 1.7;
}

body.page-id-459 .wp-site-blocks > main,
body.page-id-459 .entry-content.is-layout-constrained {
	max-width: none;
}

body.page-id-459 main.is-layout-constrained > .breadcrumb,
body.page-id-459 .entry-content.is-layout-constrained > .alignwide {
	max-width: 1120px;
}

.testimonial-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: stretch;
}

.testimonial-grid > .wp-block-quote {
	height: 100%;
	margin: 0;
}

.wp-block-quote.is-style-testimonial {
	box-sizing: border-box;
	margin: 0;
	padding: 1.35rem 1.4rem 1.2rem;
	border: 0;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(23, 74, 144, 0.08);
}

.wp-block-quote.is-style-testimonial p {
	margin-top: 0;
	font-size: 1.05rem;
	line-height: 1.65;
}

.wp-block-quote.is-style-testimonial p::before {
	content: "\201C";
	display: block;
	margin-bottom: 0.35rem;
	color: #ffa000;
	font-family: Delius, cursive;
	font-size: 3.2rem;
	font-weight: 400;
	line-height: 0.7;
}

.wp-block-quote.is-style-testimonial cite {
	display: block;
	margin-top: 1rem;
	color: #174a90;
	font-family: Lexend, sans-serif;
	font-size: 1rem;
	font-style: normal;
	font-weight: 600;
}

@media (min-width: 782px) {
	.testimonial-grid {
		grid-template-columns: 1fr 1fr;
	}

	.testimonial-grid > .wp-block-quote:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: #174a90;
	border: 2px solid #174a90;
}

.wpcf7 label {
	font-weight: 600;
}

.wpcf7 form {
	max-width: 40rem;
}

.contact-layout .wpcf7 form {
	max-width: none;
}

body.page-id-69 .wp-site-blocks > main,
body.page-id-69 .entry-content.is-layout-constrained {
	max-width: none;
}

body.page-id-69 main.is-layout-constrained > .breadcrumb,
body.page-id-69 .entry-content.is-layout-constrained > .alignwide,
body.page-id-69 .entry-content.is-layout-constrained > .contact-map {
	max-width: 1120px;
}

.contact-map {
	margin-top: 2rem;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
	border-radius: 10px;
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.35rem;
	padding: 0.75rem 1rem;
	border: 1px solid #e1e1e1;
	border-radius: 10px;
	font: inherit;
	background: #ffffff;
}

.wpcf7 textarea {
	min-height: 9rem;
}

.wpcf7 input[type="submit"] {
	margin-top: 0.5rem;
	padding: 0.8rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: #d85206;
	color: #ffffff;
	font-family: Lexend, sans-serif;
	font-weight: 600;
	cursor: pointer;
}

footer.wp-block-template-part p,
footer.wp-block-template-part li,
footer p,
footer li,
footer a {
	color: #fff5d9;
}

body.page-id-56 .wp-block-columns.expect {
	width: min(1120px, calc(100vw - 2.5rem)) !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: calc(50% - min(560px, 50vw - 1.25rem)) !important;
}

.expect-collage {
	display: grid;
	grid-template-columns: 38.9fr 29.8fr 31.3fr;
	grid-template-rows: 230px 230px;
	gap: 0.7rem;
}

.expect-collage .shot {
	position: relative;
	overflow: hidden;
	margin: 0;
	min-height: 0;
}

.expect-collage .shot-feed { grid-column: 1 / 3; border-radius: 140px 0 0 0; }
.expect-collage .shot-cup { grid-column: 3; border-radius: 16px; }
.expect-collage .shot-solids { grid-column: 1; border-radius: 16px; }
.expect-collage .shot-words { grid-column: 2 / 4; border-radius: 0 0 140px 0; }

.expect-collage .wp-block-image,
.expect-collage figure {
	height: 100%;
	margin: 0;
}

.expect-collage img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.expect-collage .shot-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.8rem;
	background: rgba(4, 23, 48, 0.38);
	color: #ffffff;
	font-family: Lexend, sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
}

.expect-steps {
	display: flex;
	flex-direction: column;
}

.expect-steps .step {
	position: relative;
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 0.9rem;
	padding-bottom: 1.15rem;
}

.expect-steps .step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 52px;
	bottom: 0;
	left: 25px;
	border-left: 2px dashed #d2d2d2;
}

.expect-steps .step-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: #d85206;
	color: #ffffff;
}

.expect-steps .step-icon svg {
	display: block;
}

.expect-steps .step-copy h3,
.expect-steps .step-copy p {
	margin-top: 0;
	margin-bottom: 0.3rem;
}

.expect-steps .step-copy h3 {
	color: #001439;
	font-size: 1.15rem;
}

.expect-steps .step-copy p {
	margin-bottom: 0;
	font-size: 1rem;
	line-height: 1.6;
}

@media (max-width: 781px) {
	.site-header .wp-block-site-logo img {
		width: 140px;
	}

	.hero-logo {
		margin-top: 0;
	}

	.expect-collage {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 150px 150px;
	}

	.expect-collage .shot-feed,
	.expect-collage .shot-cup,
	.expect-collage .shot-solids,
	.expect-collage .shot-words {
		grid-column: auto;
		border-radius: 16px;
	}

	.expect-collage .shot-label {
		font-size: 0.95rem;
	}

	.contact-map iframe {
		height: 320px;
	}
}
