/* Buttercup Childcare - page section styles.
   Lives here rather than in Oxygen node styles because OCC writes per-post CSS
   and shared section patterns are reused across every page. */

.bc-section-inner,
.bc-hero-inner,
.bc-award-inner,
.bc-mission-inner,
.bc-services-inner,
.bc-testimonials-inner,
.bc-shop-inner,
.bc-credentials-inner {
	max-width: var(--bc-max-width);
	margin: 0 auto;
	padding-left: var(--bc-gutter);
	padding-right: var(--bc-gutter);
}

.bc-accent-heading {
	color: var(--bc-accent);
	text-align: center;
}

/* ---------------- Hero ---------------- */

.bc-hero {
	background: var(--bc-white);
	padding: 0 0 var(--bc-section-y);
}

.bc-hero-inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 40px;
}

.bc-hero-art img {
	display: block;
	width: 100%;
	height: auto;
}

.bc-hero-copy {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.bc-hero-logo {
	width: min(420px, 100%);
	height: auto;
	margin-bottom: 6px;
}

.bc-hero-copy h1 {
	color: var(--bc-accent);
	font-size: var(--bc-h3);
	margin: 0 0 12px;
	max-width: 15ch;
}

.bc-hero-note {
	font-size: 14px;
	color: var(--bc-accent);
	margin: 12px 0 0;
}

.bc-hero-note a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------- Awards ---------------- */

.bc-award {
	padding: var(--bc-section-y) 0;
}

.bc-award-inner {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 46px;
	align-items: center;
}

.bc-award-alt .bc-award-inner {
	grid-template-columns: 0.8fr 1.4fr;
}

.bc-award-copy {
	background: var(--bc-sage);
	padding: 34px 34px 28px;
	border-radius: var(--bc-radius);
}

.bc-award-alt .bc-award-copy {
	background: transparent;
	padding: 0;
}

.bc-award-copy h2 {
	font-size: var(--bc-h3);
	margin-bottom: 18px;
}

.bc-award-copy p {
	font-size: 15.5px;
	line-height: 1.75;
	margin: 0 0 14px;
}

.bc-award-copy p:last-child {
	margin-bottom: 0;
}

.bc-award-badge {
	text-align: center;
}

.bc-award-badge img {
	width: min(330px, 100%);
	height: auto;
	display: inline-block;
}

/* The Healthy Ireland mark only exists at 200px on the source site, so cap it
   rather than upscaling it into softness. */
.bc-award-badge img[width="200"] {
	width: min(210px, 100%);
}

/* ---------------- Mission band ---------------- */

.bc-mission {
	background: var(--bc-sage);
	padding: var(--bc-section-y) 0;
}

.bc-mission-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.bc-mission h2 {
	font-size: var(--bc-h2);
	max-width: 16ch;
	margin-bottom: 18px;
}

.bc-mission p {
	font-size: 16px;
	max-width: 46ch;
	margin: 0;
}

.bc-mission-art {
	width: 100%;
	height: auto;
	border-radius: var(--bc-radius);
	grid-row: 1;
	grid-column: 2;
}

.bc-mission-inner > h2,
.bc-mission-inner > p {
	grid-column: 1;
}

.bc-mission-inner > h2 { grid-row: 1; align-self: end; }
.bc-mission-inner > p  { grid-row: 2; align-self: start; }
.bc-mission-art        { grid-row: 1 / span 2; }

/* ---------------- Services ---------------- */

.bc-services {
	padding: var(--bc-section-y) 0;
}

.bc-services h2 {
	margin-bottom: 42px;
}

.bc-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.bc-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-decoration: none;
	transition: transform 0.28s ease;
}

.bc-service-card:hover,
.bc-service-card:focus-visible {
	transform: translateY(-6px);
}

.bc-service-card img {
	width: min(230px, 100%);
	height: auto;
	display: block;
}

.bc-service-card .bc-btn {
	padding: 13px 22px;
	font-size: 15px;
	min-width: 168px;
}

/* ---------------- Testimonials ---------------- */

.bc-testimonials {
	background: var(--bc-sage);
	padding: var(--bc-section-y) 0;
}

.bc-testimonials h2 {
	text-align: center;
	margin-bottom: 40px;
}

.bc-quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.bc-quote {
	background: var(--bc-white);
	border-radius: var(--bc-radius);
	padding: 26px 26px 22px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.bc-stars {
	color: #f5b301;
	font-size: 17px;
	letter-spacing: 2px;
	line-height: 1;
}

.bc-quote blockquote {
	margin: 0;
	flex: 1 1 auto;
}

.bc-quote blockquote p {
	margin: 0;
	font-size: 15px;
	line-height: 1.72;
}

.bc-quote figcaption {
	font-weight: var(--bc-weight-heading);
	font-size: 15px;
	color: var(--bc-ink);
}

.bc-testimonials-cta {
	text-align: center;
	margin: 36px 0 0;
}

/* ---------------- Shop ---------------- */

.bc-shop {
	padding: var(--bc-section-y) 0;
	text-align: center;
}

.bc-shop h2 {
	margin-bottom: 14px;
}

.bc-shop > .bc-shop-inner > p {
	max-width: 60ch;
	margin: 0 auto 30px;
}

.bc-shop-grid:empty {
	display: none;
}

.bc-shop-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	margin-bottom: 34px;
	text-align: left;
}

/* ---------------- Credentials ---------------- */

.bc-credentials {
	padding: var(--bc-section-y) 0 calc(var(--bc-section-y) + 10px);
	text-align: center;
}

.bc-credentials h2 {
	margin-bottom: 34px;
}

/* Brief item 6: awards as a compact badge row, never marquee banners. */
.bc-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 44px;
}

.bc-badges img {
	width: auto;
	height: 132px;
	object-fit: contain;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
	.bc-hero-inner,
	.bc-award-inner,
	.bc-award-alt .bc-award-inner,
	.bc-mission-inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	/* Badge above copy reads better than beside it once stacked */
	.bc-award-alt .bc-award-badge { order: -1; }

	.bc-mission-inner > h2,
	.bc-mission-inner > p,
	.bc-mission-art {
		grid-column: 1;
		grid-row: auto;
	}

	.bc-mission h2,
	.bc-mission p { max-width: none; }

	.bc-services-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
	.bc-quotes { grid-template-columns: repeat(2, 1fr); }
	.bc-shop-grid { grid-template-columns: repeat(2, 1fr); }
	.bc-hero-copy h1 { max-width: none; }
}

@media (max-width: 620px) {
	.bc-services-grid { grid-template-columns: 1fr; gap: 30px; }
	.bc-quotes { grid-template-columns: 1fr; }
	.bc-shop-grid { grid-template-columns: 1fr; }
	.bc-badges { gap: 26px; }
	.bc-badges img { height: 100px; }
	.bc-award-copy { padding: 24px 20px; }
}

/* ---------------- Interior pages ---------------- */

.bc-page-banner {
	width: 100%;
	height: clamp(200px, 26vw, 400px);
	overflow: hidden;
	background: var(--bc-paper);
}

.bc-page-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Narrower illustrations sit inline at a sane size rather than being
   stretched into a banner strip, which crops them beyond recognition. */
.bc-page-art {
	max-width: var(--bc-max-width);
	margin: 0 auto;
	padding: 34px var(--bc-gutter) 0;
	text-align: center;
}

.bc-page-art img {
	width: min(440px, 100%);
	height: auto;
	display: inline-block;
}

.bc-page-inner {
	max-width: 860px;
	margin: 0 auto;
	padding: var(--bc-section-y) var(--bc-gutter);
}

.bc-page-inner h1 {
	font-size: var(--bc-h2);
	margin-bottom: 26px;
}

.bc-page-inner h2 {
	font-size: var(--bc-h3);
	margin: 40px 0 14px;
}

.bc-page-inner h3 {
	font-size: var(--bc-h4);
	color: var(--bc-ink);
	margin: 30px 0 10px;
}

.bc-page-inner p {
	margin: 0 0 16px;
}

.bc-lede {
	font-size: 19px;
	color: var(--bc-accent);
	font-weight: 400;
}

.bc-inline-img img,
.bc-fees-table img {
	width: 100%;
	height: auto;
	border-radius: var(--bc-radius);
}

.bc-page-inner .bc-btn {
	margin: 6px 8px 6px 0;
}

/* ---------------- Rooms ---------------- */

.bc-rooms-list {
	max-width: var(--bc-max-width);
	margin: 0 auto;
	padding: 0 var(--bc-gutter) var(--bc-section-y);
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.bc-room {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 38px;
	align-items: start;
	scroll-margin-top: 190px;
}

.bc-room:nth-child(even) .bc-room-art {
	order: 2;
}

.bc-room-art img {
	width: 100%;
	height: auto;
	border-radius: var(--bc-radius);
	display: block;
}

.bc-room-copy h2 {
	font-size: var(--bc-h3);
	color: var(--bc-accent);
	margin: 0 0 14px;
}

.bc-room-copy h3 {
	font-size: 19px;
	margin: 22px 0 8px;
}

.bc-room-copy p {
	margin: 0 0 14px;
}

/* ---------------- Gallery ---------------- */

.bc-gallery-grid {
	max-width: var(--bc-max-width);
	margin: 0 auto;
	padding: 0 var(--bc-gutter) var(--bc-section-y);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.bc-gallery-grid figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--bc-radius);
	aspect-ratio: 4 / 3;
}

.bc-gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.bc-gallery-grid figure:hover img {
	transform: scale(1.05);
}

/* ---------------- Contact ---------------- */

.bc-contact-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.bc-contact-cols h2 {
	margin-top: 0;
}

.bc-map {
	max-width: var(--bc-max-width);
	margin: 0 auto;
	border-radius: var(--bc-radius);
	overflow: hidden;
}

.bc-map iframe {
	display: block;
	width: 100%;
}

@media (max-width: 900px) {
	.bc-room,
	.bc-room:nth-child(even) .bc-room-art {
		grid-template-columns: 1fr;
		order: 0;
	}

	.bc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.bc-contact-cols { grid-template-columns: 1fr; gap: 30px; }
	.bc-page-banner { max-height: 320px; }
	.bc-room { scroll-margin-top: 150px; }
}

@media (max-width: 620px) {
	.bc-gallery-grid { grid-template-columns: 1fr; gap: 16px; }
	.bc-page-banner { max-height: 240px; }
}

/* ---------------- Meet Our Team ---------------- */

.bc-team-list {
	max-width: var(--bc-max-width);
	margin: 0 auto;
	padding: 0 var(--bc-gutter);
	display: flex;
	flex-direction: column;
	gap: 52px;
}

.bc-member {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 38px;
	align-items: start;
	padding-bottom: 52px;
	border-bottom: 1px solid rgba(29, 33, 41, 0.1);
}

.bc-member:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.bc-member-photo img {
	width: 100%;
	height: auto;
	border-radius: var(--bc-radius);
	display: block;
}

.bc-member-copy h2 {
	font-size: var(--bc-h4);
	margin: 0 0 4px;
}

.bc-member-role {
	color: var(--bc-accent);
	font-weight: var(--bc-weight-heading);
	margin: 0 0 16px;
}

.bc-member-copy h3 {
	font-size: 17px;
	margin: 22px 0 8px;
}

.bc-member-copy ul {
	margin: 0 0 16px;
	padding-left: 20px;
}

.bc-member-copy li {
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 3px;
}

.bc-member-quote {
	margin: 20px 0 0;
	padding: 18px 22px;
	background: var(--bc-sage);
	border-radius: var(--bc-radius);
}

.bc-member-quote p {
	margin: 0;
	font-style: italic;
	font-size: 15.5px;
}

.bc-careers {
	padding-top: var(--bc-section-y);
}

@media (max-width: 860px) {
	.bc-member {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.bc-member-photo img {
		max-width: 320px;
	}
}

/* ---------------- Shop ---------------- */

.bc-shop-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	justify-content: center;
	margin: 0 auto 44px;
	font-size: 15px;
}

.bc-shop-nav span {
	color: var(--bc-muted);
}

.bc-shop-nav a {
	color: var(--bc-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bc-shop-cat {
	max-width: var(--bc-max-width);
	margin: 0 auto 56px;
	scroll-margin-top: 190px;
}

.bc-shop-cat h2 {
	font-size: var(--bc-h3);
	color: var(--bc-accent);
	text-align: left;
	margin: 0 0 24px;
}

.bc-product {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
}

.bc-product-link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-decoration: none;
}

.bc-product-img {
	aspect-ratio: 1 / 1;
	background: var(--bc-paper);
	border-radius: var(--bc-radius);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bc-product-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.35s ease;
}

.bc-product:hover .bc-product-img img {
	transform: scale(1.05);
}

.bc-product-title {
	font-size: 16px;
	font-weight: var(--bc-weight-heading);
	color: var(--bc-ink);
	margin: 0;
	line-height: 1.45;
}

.bc-product-price {
	margin: 0;
	color: var(--bc-accent);
	font-weight: var(--bc-weight-heading);
	font-size: 16px;
}

.bc-product-price del {
	opacity: 0.6;
	font-weight: 300;
}

.bc-product-cta {
	margin: 4px 0 0;
}

.bc-product-cta .bc-btn {
	padding: 11px 18px;
	font-size: 14px;
}

@media (max-width: 620px) {
	.bc-shop-cat { scroll-margin-top: 150px; }
}
