/*
Brontosaurus Learning Design System
Core CSS v0.2.0
*/

:root {
	--blds-primary-050: #F6F2F8;
	--blds-primary-100: #EEE8F3;
	--blds-primary-200: #D6C5DF;
	--blds-primary-300: #CFBDDB;
	--blds-primary-500: #B799C7;
	--blds-primary-700: #745285;
	--blds-primary-800: #6C4A7F;
	--blds-primary-900: #432D50;

	--blds-charcoal: #464262;
	--blds-ink: #121016;
	--blds-neutral-100: #F4F4F4;
	--blds-neutral-300: #CECDCD;
	--blds-neutral-700: #646262;
	--blds-white: #FFFFFF;

	--blds-font-display: "Poetsen One", "Century Gothic", Poppins, Arial, sans-serif;
	--blds-font-body: "Century Gothic", Poppins, Arial, sans-serif;
	--blds-font-script: "One Stroke Script", "Segoe Script", "Brush Script MT", cursive;

	--blds-space-xs: 8px;
	--blds-space-s: 16px;
	--blds-space-m: 24px;
	--blds-space-l: 32px;
	--blds-space-xl: 48px;
	--blds-space-xxl: 64px;
	--blds-space-hero: 96px;

	--blds-radius-s: 12px;
	--blds-radius-m: 18px;
	--blds-radius-l: 24px;
	--blds-radius-xl: 32px;

	--blds-shadow-light: 0 2px 8px rgba(0, 0, 0, .08);
	--blds-shadow-medium: 0 8px 24px rgba(0, 0, 0, .10);
	--blds-shadow-large: 0 16px 40px rgba(0, 0, 0, .12);

	--blds-motion-duration: 260ms;
	--blds-motion-ease: ease-in-out;
}

.blds-site {
	color: var(--blds-charcoal);
	font-family: var(--blds-font-body);
}

.blds-site h1,
.blds-site h2 {
	color: var(--blds-primary-900);
	font-family: var(--blds-font-display);
	letter-spacing: .01em;
}

.blds-site h3,
.blds-site h4,
.blds-site h5,
.blds-site h6 {
	color: var(--blds-primary-900);
}

.blds-site a {
	color: var(--blds-primary-700);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.blds-site a:hover,
.blds-site a:focus {
	color: var(--blds-primary-900);
}

.blds-section {
	padding-block: var(--blds-space-xxl);
}

.blds-section--soft {
	background: var(--blds-primary-050);
}

.blds-section--hero {
	padding-block: var(--blds-space-hero);
	position: relative;
	overflow: hidden;
}

.blds-section--wave {
	background-image: linear-gradient(180deg, rgba(246,242,248,.92), rgba(255,255,255,.96));
	position: relative;
	overflow: hidden;
}

.blds-section--wave::before {
	background: url("../images/backgrounds/horizontal-wave.png") center/cover no-repeat;
	content: "";
	inset: 0;
	opacity: .18;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.blds-section--wave > * {
	position: relative;
	z-index: 1;
}

.blds-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.blds-narrow {
	max-width: 760px;
	margin-inline: auto;
}

.blds-center {
	text-align: center;
}

.blds-grid {
	display: grid;
	gap: var(--blds-space-l);
}

.blds-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blds-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blds-button,
.wp-block-button .wp-block-button__link {
	border-radius: var(--blds-radius-m);
	box-shadow: var(--blds-shadow-light);
	font-weight: 700;
	padding: 14px 28px;
	transition:
		transform var(--blds-motion-duration) var(--blds-motion-ease),
		box-shadow var(--blds-motion-duration) var(--blds-motion-ease),
		background-color var(--blds-motion-duration) var(--blds-motion-ease);
}

.blds-button:hover,
.wp-block-button .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: var(--blds-shadow-medium);
}

.blds-card,
.blds-subject-card,
.blds-resource-card,
.blds-blog-card,
.blds-tip-card {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-l);
	box-shadow: var(--blds-shadow-medium);
	padding: var(--blds-space-l);
	transition:
		transform var(--blds-motion-duration) var(--blds-motion-ease),
		box-shadow var(--blds-motion-duration) var(--blds-motion-ease);
}

.blds-card:hover,
.blds-subject-card:hover,
.blds-resource-card:hover,
.blds-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--blds-shadow-large);
}

.blds-subject-card {
	text-align: center;
	min-height: 330px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--blds-space-s);
}

.blds-subject-card img,
.blds-subject-card svg {
	width: 132px;
	height: 132px;
	object-fit: contain;
}

.blds-subject-card h3 {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.blds-subject-card p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

.blds-resource-card {
	overflow: hidden;
	padding: 0;
}

.blds-resource-card__image {
	background:
		radial-gradient(circle at 20% 20%, var(--blds-primary-100), transparent 40%),
		var(--blds-primary-050);
	min-height: 210px;
	padding: var(--blds-space-m);
	display: flex;
	align-items: center;
	justify-content: center;
}

.blds-resource-card__mockup {
	background: var(--blds-white);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(67, 45, 80, .15);
	min-height: 150px;
	transform: rotate(-2deg);
	width: min(80%, 260px);
}

.blds-resource-card__body {
	padding: var(--blds-space-l);
}

.blds-resource-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--blds-space-xs);
	margin-bottom: var(--blds-space-s);
}

.blds-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: var(--blds-primary-050);
	color: var(--blds-primary-900);
	font-size: .85rem;
	font-weight: 700;
	padding: 6px 12px;
}

.blds-search-box {
	background: var(--blds-white);
	border: 1px solid var(--blds-primary-200);
	border-radius: 999px;
	box-shadow: var(--blds-shadow-light);
	display: flex;
	align-items: center;
	gap: var(--blds-space-s);
	margin-inline: auto;
	max-width: 760px;
	padding: 14px 22px;
}

.blds-search-box input,
.blds-search-box .wp-block-search__input {
	border: 0;
	box-shadow: none;
	font-size: 1.05rem;
	min-height: 44px;
	outline: 0;
	width: 100%;
}

.blds-cta,
.blds-newsletter,
.blds-freebie-panel {
	background: var(--blds-primary-050);
	border: 1px solid var(--blds-primary-200);
	border-radius: var(--blds-radius-xl);
	overflow: hidden;
	padding: clamp(32px, 6vw, 72px);
	position: relative;
}

.blds-cta::after,
.blds-newsletter::after,
.blds-freebie-panel::after {
	background: url("../images/backgrounds/wave-banner.png") center/cover no-repeat;
	content: "";
	height: 100%;
	opacity: .22;
	position: absolute;
	right: 0;
	top: 0;
	width: 48%;
	z-index: 0;
}

.blds-cta > *,
.blds-newsletter > *,
.blds-freebie-panel > * {
	position: relative;
	z-index: 1;
}

.blds-blog-card {
	padding: 0;
	overflow: hidden;
}

.blds-blog-card__image {
	background: var(--blds-primary-050);
	min-height: 160px;
}

.blds-blog-card__body {
	padding: var(--blds-space-l);
}

.blds-tip-card {
	background: linear-gradient(135deg, var(--blds-white), var(--blds-primary-050));
	border-style: dashed;
}

.blds-script-note {
	color: var(--blds-primary-700);
	font-family: var(--blds-font-script);
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	line-height: 1.15;
}

.blds-breadcrumb {
	color: var(--blds-neutral-700);
	font-size: .9rem;
	margin-bottom: var(--blds-space-m);
}

.blds-breadcrumb a {
	color: var(--blds-primary-700);
	text-decoration: none;
}

.blds-footer-panel {
	background: var(--blds-primary-900);
	color: var(--blds-white);
	padding-block: var(--blds-space-xxl);
}

.blds-footer-panel a {
	color: var(--blds-white);
	text-decoration: none;
}

.blds-footer-panel a:hover,
.blds-footer-panel a:focus {
	text-decoration: underline;
}

.blds-footer-panel h2,
.blds-footer-panel h3,
.blds-footer-panel h4 {
	color: var(--blds-white);
}

@media (max-width: 960px) {
	.blds-grid--3,
	.blds-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	:root {
		--blds-space-hero: 72px;
		--blds-space-xxl: 48px;
	}

	.blds-grid--3,
	.blds-grid--4 {
		grid-template-columns: 1fr;
	}

	.blds-subject-card {
		min-height: 260px;
	}

	.blds-subject-card img,
	.blds-subject-card svg {
		width: 112px;
		height: 112px;
	}

	.blds-cta::after,
	.blds-newsletter::after,
	.blds-freebie-panel::after {
		opacity: .12;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}

	.blds-card:hover,
	.blds-subject-card:hover,
	.blds-resource-card:hover,
	.blds-blog-card:hover,
	.blds-button:hover,
	.wp-block-button .wp-block-button__link:hover {
		transform: none;
	}
}


/* Sprint 3.3 page starter additions */
.blds-hero-split {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}

.blds-hero-visual {
	background:
		radial-gradient(circle at 20% 20%, rgba(214,197,223,.75), transparent 42%),
		linear-gradient(135deg, var(--blds-primary-050), #fff);
	border: 1px solid rgba(108, 74, 127, .14);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-medium);
	min-height: 420px;
	position: relative;
	overflow: hidden;
}

.blds-hero-visual::before {
	background: url("../images/backgrounds/full-frame.png") center/cover no-repeat;
	content: "";
	inset: 0;
	opacity: .36;
	position: absolute;
}

.blds-hero-visual::after {
	background: var(--blds-white);
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(67, 45, 80, .18);
	content: "";
	height: 220px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-3deg);
	width: 170px;
}

.blds-feature-strip {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .14);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-light);
	padding: var(--blds-space-l);
}

.blds-feature-item {
	display: grid;
	gap: var(--blds-space-xs);
}

.blds-feature-item strong {
	color: var(--blds-primary-900);
	font-size: 1.05rem;
}

.blds-page-hero {
	background: linear-gradient(135deg, var(--blds-primary-050), #fff);
	border-bottom: 1px solid rgba(108, 74, 127, .12);
	overflow: hidden;
	padding-block: clamp(64px, 8vw, 112px);
	position: relative;
}

.blds-page-hero::after {
	background: url("../images/backgrounds/horizontal-wave.png") center/cover no-repeat;
	content: "";
	inset: 0;
	opacity: .16;
	position: absolute;
}

.blds-page-hero > * {
	position: relative;
	z-index: 1;
}

.blds-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
	gap: var(--blds-space-xl);
	align-items: start;
}

.blds-form-placeholder {
	background: var(--blds-white);
	border: 1px dashed var(--blds-primary-200);
	border-radius: var(--blds-radius-l);
	padding: var(--blds-space-xl);
	text-align: center;
}

.blds-list-clean {
	list-style: none;
	margin: 0;
	padding: 0;
}

.blds-list-clean li {
	border-bottom: 1px solid rgba(108, 74, 127, .12);
	padding-block: 12px;
}

@media (max-width: 900px) {
	.blds-hero-split,
	.blds-contact-grid {
		grid-template-columns: 1fr;
	}

	.blds-hero-visual {
		min-height: 300px;
	}
}

/* Sprint 3.3.1 feedback fixes */

/* Button colour correction: filled buttons use official palette purple with white text. */
.blds-button,
.blds-button:visited,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:visited {
	background-color: var(--blds-primary-700);
	border-color: var(--blds-primary-700);
	color: var(--blds-white) !important;
	text-decoration: none;
}

.blds-button:hover,
.blds-button:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus {
	background-color: var(--blds-primary-800);
	border-color: var(--blds-primary-800);
	color: var(--blds-white) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	border-color: var(--blds-primary-700);
	color: var(--blds-primary-700) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	background-color: var(--blds-primary-050);
	color: var(--blds-primary-800) !important;
}

/* Hide Kadence default page titles on pages, because our patterns include designed page heroes. */
.blds-site.page .entry-hero,
.blds-site.page .entry-header,
.blds-site.page .page-header,
.blds-site.page .entry-title {
	display: none;
}

/* Larger homepage resource preview. */
.blds-hero-visual::after {
	height: 320px;
	width: 245px;
}

/* Category hero with icon. */
.blds-category-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.blds-category-icon-card {
	align-items: center;
	background: rgba(255, 255, 255, .86);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-medium);
	display: flex;
	justify-content: center;
	min-height: 220px;
	padding: var(--blds-space-l);
}

.blds-category-icon-card img {
	height: 160px;
	object-fit: contain;
	width: 160px;
}

@media (max-width: 768px) {
	.blds-category-hero-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.blds-category-icon-card {
		margin-inline: auto;
		min-height: 170px;
		width: min(100%, 240px);
	}

	.blds-category-icon-card img {
		height: 128px;
		width: 128px;
	}
}

/* Sprint 3.3.2 feedback refinements */

/* Reduce the gap between the site header and first page block. */
.blds-site .site-main,
.blds-site .content-area {
	padding-top: 0;
	margin-top: 0;
}

.blds-site .entry-content > *:first-child {
	margin-top: 0;
}

.blds-site .entry-content > .blds-section:first-child,
.blds-site .entry-content > .blds-page-hero:first-child,
.blds-site .entry-content > .wp-block-group:first-child {
	margin-top: 0;
}

.blds-section--hero,
.blds-page-hero {
	padding-top: 32px;
}

/* Homepage script tagline. */
.blds-tagline-script {
	color: var(--blds-primary-700);
	display: inline-block;
	font-family: var(--blds-font-script);
	font-size: clamp(2.05rem, 4.2vw, 3.4rem);
	line-height: 1.05;
	margin: 0 0 var(--blds-space-m);
}

/* Tighter homepage feature strip spacing. */
.blds-home-feature-section {
	padding-top: 28px;
	padding-bottom: 42px;
}

.blds-feature-strip {
	padding: clamp(24px, 3vw, 36px);
}

/* Blog image placeholders are intended for branded post thumbnails. */
.blds-blog-card__image {
	background:
		radial-gradient(circle at 24% 24%, rgba(214, 197, 223, .95), transparent 38%),
		linear-gradient(135deg, var(--blds-primary-050), var(--blds-primary-200));
	position: relative;
	overflow: hidden;
}

.blds-blog-card__image::after {
	background: rgba(255, 255, 255, .86);
	border-radius: 16px;
	box-shadow: 0 12px 26px rgba(67, 45, 80, .14);
	content: "";
	height: 86px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-3deg);
	width: 120px;
}

/* Sprint 3.3.4 final close-out refinements */

/* Reduce the gap between the site header and first page block. */
.blds-site .site-main,
.blds-site .content-area {
	padding-top: 0;
	margin-top: 0;
}

.blds-site .entry-content > *:first-child {
	margin-top: 0;
}

.blds-site .entry-content > .blds-section:first-child,
.blds-site .entry-content > .blds-page-hero:first-child,
.blds-site .entry-content > .wp-block-group:first-child {
	margin-top: 0;
}

.blds-section--hero,
.blds-page-hero {
	padding-top: 32px;
}

/* Final homepage tagline: soft lavender rounded box, Century Gothic italic. */
.blds-section--hero .blds-badge:first-child,
.blds-section--hero .blds-tagline-script,
.blds-tagline-script {
	background: #F6F2F8 !important;
	border: 1px solid #D6C5DF !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #6C4A7F !important;
	display: inline-block !important;
	font-family: "Century Gothic", Poppins, Arial, sans-serif !important;
	font-size: clamp(1rem, 1.6vw, 1.35rem) !important;
	font-style: italic !important;
	font-weight: 400 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.2 !important;
	margin-bottom: 18px !important;
	padding: 6px 18px 8px !important;
	text-decoration: none !important;
}

/* Keep the feature strip proportionate around the white feature box. */
.blds-section--soft:has(.blds-feature-strip),
.blds-home-feature-section {
	padding-top: 14px;
	padding-bottom: 22px;
}

.blds-feature-strip {
	padding: clamp(22px, 2.5vw, 34px);
	margin-top: 0;
	margin-bottom: 0;
}

.blds-feature-strip .blds-grid {
	gap: clamp(20px, 3vw, 42px);
}

.blds-feature-item {
	gap: 4px;
}

/* Extra fallback for browsers without :has support. */
@supports not selector(:has(*)) {
	.blds-feature-strip {
		margin-top: -42px;
		margin-bottom: -42px;
	}
}

/* Sprint 4.0 website assembly fix batch */

/* Homepage path cards: replaces the duplicate subject card grid on Home. */
.blds-start-here-grid {
	align-items: stretch;
}

.blds-pathway-card {
	min-height: 100%;
	position: relative;
	overflow: hidden;
}

.blds-pathway-card::after {
	background: radial-gradient(circle, rgba(183,153,199,.18), transparent 64%);
	content: "";
	height: 120px;
	position: absolute;
	right: -42px;
	top: -42px;
	width: 120px;
}

.blds-pathway-card__icon {
	align-items: center;
	background: var(--blds-primary-050);
	border: 1px solid var(--blds-primary-200);
	border-radius: 999px;
	color: var(--blds-primary-800);
	display: inline-flex;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	margin-bottom: var(--blds-space-s);
	width: 42px;
}

.blds-pathway-card .blds-button {
	margin-top: auto;
}

/* Homepage teaser keeps Home distinct from the Teaching Resources hub. */
.blds-home-teaser {
	align-items: center;
}

.blds-mini-resource-stack {
	min-height: 320px;
	position: relative;
}

.blds-mini-resource-stack__sheet {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .15);
	border-radius: 20px;
	box-shadow: 0 16px 42px rgba(67, 45, 80, .14);
	height: 230px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 170px;
}

.blds-mini-resource-stack__sheet:nth-child(1) {
	transform: translate(-72%, -46%) rotate(-8deg);
}

.blds-mini-resource-stack__sheet:nth-child(2) {
	background:
		linear-gradient(var(--blds-primary-050) 0 0) top 22px left 22px / 96px 12px no-repeat,
		linear-gradient(var(--blds-primary-100) 0 0) top 48px left 22px / 126px 10px no-repeat,
		linear-gradient(var(--blds-primary-100) 0 0) top 70px left 22px / 110px 10px no-repeat,
		var(--blds-white);
	transform: translate(-50%, -50%) rotate(2deg);
	z-index: 2;
}

.blds-mini-resource-stack__sheet:nth-child(3) {
	transform: translate(-28%, -42%) rotate(8deg);
}

.blds-mini-resource-stack__badge {
	background: var(--blds-primary-700);
	border-radius: 999px;
	box-shadow: var(--blds-shadow-light);
	color: var(--blds-white);
	font-size: .82rem;
	font-weight: 700;
	left: 50%;
	padding: 8px 14px;
	position: absolute;
	top: 70%;
	transform: translateX(-50%) rotate(-2deg);
	z-index: 3;
}

/* Small "moments of delight" that stay subtle rather than childish. */
.blds-hero-visual--delight {
	isolation: isolate;
}

.blds-delight-note {
	background: var(--blds-white);
	border: 1px solid var(--blds-primary-200);
	border-radius: 999px;
	bottom: 28px;
	box-shadow: var(--blds-shadow-light);
	color: var(--blds-primary-900);
	font-size: .9rem;
	font-style: italic;
	left: 50%;
	padding: 8px 16px;
	position: absolute;
	transform: translateX(-50%) rotate(-1deg);
	z-index: 4;
	white-space: nowrap;
}

.blds-delight-footprints {
	display: flex;
	gap: 10px;
	position: absolute;
	right: 26px;
	top: 24px;
	transform: rotate(18deg);
	z-index: 4;
}

.blds-delight-footprints span {
	background: var(--blds-primary-500);
	border-radius: 60% 45% 60% 45%;
	display: block;
	height: 14px;
	opacity: .55;
	width: 9px;
}

.blds-delight-footprints span:nth-child(2) {
	transform: translateY(12px) rotate(-18deg);
}

.blds-delight-footprints span:nth-child(3) {
	transform: translateY(1px) rotate(12deg);
}

/* Teaching Resources hero: stronger hub identity with search and visual side. */
.blds-teaching-hero-split {
	align-items: center;
	display: grid;
	gap: clamp(32px, 6vw, 84px);
	grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
}

.blds-teaching-hero-copy .blds-search-box,
.blds-search-delight .blds-search-box {
	margin-inline: 0;
	margin-top: var(--blds-space-l);
}

.blds-teaching-hero-visual {
	background:
		radial-gradient(circle at 30% 18%, rgba(214,197,223,.85), transparent 42%),
		linear-gradient(135deg, var(--blds-primary-050), var(--blds-white));
	border: 1px solid rgba(108, 74, 127, .14);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-medium);
	min-height: 390px;
	overflow: hidden;
	position: relative;
}

.blds-teaching-hero-visual::before {
	background: url("../images/backgrounds/full-frame.png") center/cover no-repeat;
	content: "";
	inset: 0;
	opacity: .22;
	position: absolute;
}

.blds-search-card-stack {
	inset: 0;
	position: absolute;
}

.blds-search-card-stack__card {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .12);
	border-radius: 20px;
	box-shadow: 0 18px 44px rgba(67, 45, 80, .16);
	height: 188px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 142px;
}

.blds-search-card-stack__card::before,
.blds-search-card-stack__card::after {
	background: var(--blds-primary-100);
	border-radius: 999px;
	content: "";
	left: 22px;
	position: absolute;
}

.blds-search-card-stack__card::before {
	height: 12px;
	top: 28px;
	width: 72px;
}

.blds-search-card-stack__card::after {
	height: 10px;
	top: 54px;
	width: 98px;
}

.blds-search-card-stack__card--one {
	transform: translate(-96%, -42%) rotate(-10deg);
}

.blds-search-card-stack__card--two {
	background:
		linear-gradient(var(--blds-primary-050) 0 0) bottom 24px left 24px / 92px 34px no-repeat,
		var(--blds-white);
	transform: translate(-50%, -50%) rotate(1deg);
	z-index: 2;
}

.blds-search-card-stack__card--three {
	transform: translate(-4%, -39%) rotate(9deg);
}

.blds-floating-icons img {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .12);
	border-radius: 22px;
	box-shadow: var(--blds-shadow-light);
	height: 66px;
	object-fit: contain;
	padding: 9px;
	position: absolute;
	width: 66px;
	z-index: 3;
}

.blds-floating-icons img:nth-child(1) {
	left: 32px;
	top: 34px;
	transform: rotate(-7deg);
}

.blds-floating-icons img:nth-child(2) {
	right: 38px;
	top: 74px;
	transform: rotate(6deg);
}

.blds-floating-icons img:nth-child(3) {
	bottom: 48px;
	right: 56px;
	transform: rotate(-4deg);
}

/* Editable resource cards. */
.blds-resource-card-columns {
	align-items: stretch;
}

.blds-resource-card--editable {
	height: 100%;
}

.blds-resource-card__image--editable {
	align-items: center;
	display: flex;
	justify-content: center;
	position: relative;
}

.blds-resource-card__image--editable::after {
	color: var(--blds-primary-800);
	content: "Add resource preview image";
	font-size: .88rem;
	font-style: italic;
	left: 50%;
	opacity: .75;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	z-index: 1;
}

.blds-resource-card__image-block {
	margin: 0;
	min-height: 180px;
	position: relative;
	width: 100%;
	z-index: 2;
}

.blds-resource-card__image-block img {
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(67, 45, 80, .15);
	display: block;
	height: auto;
	margin-inline: auto;
	object-fit: cover;
	width: min(100%, 280px);
}

.blds-resource-card__image-block:has(img) {
	min-height: auto;
}

.blds-resource-card__image--editable:has(img)::after {
	content: "";
	display: none;
}

/* Blog thumbnail placeholders now show as branded thumbnail areas. */
.blds-blog-card__image {
	background:
		radial-gradient(circle at 22% 28%, rgba(214,197,223,.85), transparent 34%),
		url("../images/backgrounds/horizontal-wave.png") center/cover no-repeat,
		var(--blds-primary-050);
	position: relative;
}

.blds-blog-card__image::after {
	background: var(--blds-white);
	border: 1px solid rgba(108,74,127,.14);
	border-radius: 999px;
	color: var(--blds-primary-800);
	content: "thumbnail";
	font-size: .82rem;
	font-style: italic;
	left: 50%;
	padding: 6px 12px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-2deg);
}

/* Responsive refinements for Sprint 4 additions. */
@media (max-width: 960px) {
	.blds-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.blds-teaching-hero-split {
		grid-template-columns: 1fr;
	}

	.blds-teaching-hero-visual {
		min-height: 320px;
	}

	.blds-teaching-hero-copy .blds-search-box,
	.blds-search-delight .blds-search-box {
		margin-inline: auto;
	}
}

@media (max-width: 768px) {
	.blds-grid--4 {
		grid-template-columns: 1fr;
	}

	.blds-mini-resource-stack {
		min-height: 260px;
	}

	.blds-delight-note {
		white-space: normal;
		width: min(84%, 280px);
		text-align: center;
	}
}

/* Sprint 4.0.1 hotfix */

/* Prevent Start Here pathway buttons from splitting/overlapping in narrow cards. */
.blds-pathway-card {
	display: flex;
	flex-direction: column;
}

.blds-pathway-card .blds-button {
	align-items: center;
	align-self: flex-start;
	box-sizing: border-box;
	display: inline-flex;
	justify-content: center;
	line-height: 1.2;
	max-width: 100%;
	min-height: 44px;
	overflow-wrap: normal;
	text-align: center;
	white-space: normal;
	word-break: normal;
}

@media (min-width: 961px) {
	.blds-start-here-grid.blds-grid--4 {
		grid-template-columns: repeat(4, minmax(210px, 1fr));
	}

	.blds-pathway-card .blds-button {
		font-size: 0.92rem;
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 1180px) and (min-width: 961px) {
	.blds-start-here-grid.blds-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Valid image-block resource card styling for v0.4.1. */
.blds-resource-card__preview {
	background: var(--blds-primary-050);
	border-radius: 18px;
	margin: 0;
	overflow: hidden;
}

.blds-resource-card__preview img {
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

/* Retire the v0.4.0 pseudo placeholder on the new valid image pattern. */
.blds-resource-card--editable > .blds-resource-card__preview + .blds-resource-card__body {
	margin-top: var(--blds-space-m);
}

/* Sprint 4.0.2 hero consistency and editable hero images */

.blds-hero-split--editable,
.blds-page-hero-split {
	align-items: center;
}

.blds-hero-split--editable.blds-hero-split,
.blds-page-hero-split {
	display: grid;
	gap: clamp(32px, 6vw, 84px);
	grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
}

.blds-hero-visual--editable,
.blds-page-hero-visual {
	background:
		radial-gradient(circle at 26% 18%, rgba(214,197,223,.78), transparent 42%),
		linear-gradient(135deg, var(--blds-primary-050), var(--blds-white));
	border: 1px solid rgba(108, 74, 127, .14);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-medium);
	overflow: hidden;
	padding: clamp(14px, 2vw, 22px);
	position: relative;
}

.blds-hero-visual--editable::before,
.blds-page-hero-visual::before {
	background: url("../images/backgrounds/full-frame.png") center/cover no-repeat;
	content: "";
	inset: 0;
	opacity: .16;
	position: absolute;
	z-index: 0;
}

.blds-hero-image-block {
	margin: 0;
	position: relative;
	z-index: 2;
}

.blds-hero-image-block img {
	aspect-ratio: 4 / 3;
	border-radius: calc(var(--blds-radius-xl) - 8px);
	box-shadow: 0 16px 42px rgba(67, 45, 80, .16);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.blds-page-hero-delight {
	background:
		radial-gradient(circle at 90% 0%, rgba(214,197,223,.40), transparent 30%),
		linear-gradient(180deg, rgba(246,242,248,.72), rgba(255,255,255,0));
}

.blds-page-hero-visual {
	min-height: 300px;
}

.blds-page-hero-visual .blds-delight-footprints,
.blds-hero-visual--editable .blds-delight-footprints,
.blds-teaching-hero-visual .blds-delight-footprints,
.blds-teaching-hero-visual .blds-floating-icons {
	pointer-events: none;
}

.blds-teaching-hero-visual.blds-hero-visual--editable {
	min-height: auto;
	padding: clamp(14px, 2vw, 22px);
}

.blds-teaching-hero-visual .blds-floating-icons img {
	height: 58px;
	opacity: .92;
	width: 58px;
}

@media (max-width: 960px) {
	.blds-hero-split--editable.blds-hero-split,
	.blds-page-hero-split {
		grid-template-columns: 1fr;
	}

	.blds-page-hero-visual {
		min-height: 240px;
	}
}

/* Sprint 4 Resource Page Template Set v0.1 */

.blds-resource-subcategory-hero,
.blds-resource-detail-hero {
	background:
		radial-gradient(circle at 90% 0%, rgba(214,197,223,.40), transparent 30%),
		linear-gradient(180deg, rgba(246,242,248,.72), rgba(255,255,255,0));
}

.blds-resource-section .blds-resource-card,
.blds-resource-card-columns .blds-resource-card {
	height: 100%;
}

.blds-related-box {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-light);
	padding: var(--blds-space-l);
}

.blds-related-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: var(--blds-space-m) 0 0;
	padding: 0;
}

.blds-related-links a {
	background: var(--blds-primary-050);
	border: 1px solid var(--blds-primary-200);
	border-radius: 999px;
	color: var(--blds-primary-800);
	display: inline-block;
	font-weight: 700;
	padding: 8px 14px;
	text-decoration: none;
}

.blds-resource-detail-split {
	align-items: center;
	display: grid;
	gap: clamp(32px, 6vw, 84px);
	grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
}

.blds-resource-info-columns {
	align-items: flex-start;
}

.blds-resource-meta-panel,
.blds-version-card {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-l);
	box-shadow: var(--blds-shadow-light);
	padding: var(--blds-space-l);
}

.blds-resource-meta-panel p {
	margin-bottom: .55rem;
}

.blds-version-card {
	height: 100%;
}

.blds-version-card-columns {
	align-items: stretch;
}

@media (max-width: 960px) {
	.blds-resource-detail-split {
		grid-template-columns: 1fr;
	}
}

/* Sprint 4.5.1 editability and automation-readiness patch */

/* Native-block Start Here pathway cards. */
.blds-start-here-columns {
	align-items: stretch;
}

.blds-start-here-columns > .wp-block-column {
	display: flex;
}

.blds-pathway-card--editable {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.blds-pathway-card--editable .blds-pathway-card__buttons,
.blds-resource-card--editable .blds-resource-card__buttons {
	margin-top: auto;
}

.blds-pathway-card--editable .wp-block-button__link,
.blds-resource-card--editable .wp-block-button__link {
	text-align: center;
	white-space: normal;
}

/* Editable badge/meta line without custom span markup. */
.blds-resource-card__meta {
	color: var(--blds-primary-800);
	font-size: .84rem;
	font-weight: 700;
	letter-spacing: .01em;
	margin-bottom: .75rem;
}

/* Native editable homepage teaser image. */
.blds-mini-resource-stack--editable {
	min-height: auto;
	position: relative;
}

.blds-home-teaser-image {
	margin: 0;
	position: relative;
	z-index: 2;
}

.blds-home-teaser-image img {
	aspect-ratio: 4 / 3;
	border-radius: var(--blds-radius-xl);
	box-shadow: 0 16px 42px rgba(67, 45, 80, .14);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

/* Reduce excessive gap after the newer resource page heroes. */
.blds-resource-detail-hero,
.blds-resource-subcategory-hero {
	padding-bottom: clamp(28px, 4vw, 52px);
}

.blds-resource-detail-hero + .blds-section,
.blds-resource-subcategory-hero + .blds-section {
	padding-top: clamp(22px, 3vw, 42px);
}

.blds-resource-detail-hero + .blds-section .blds-container > :first-child,
.blds-resource-subcategory-hero + .blds-section .blds-container > :first-child {
	margin-top: 0;
}

/* Stable hooks for future generated/imported cards. */
.blds-auto-card,
.blds-auto-resource-card,
.blds-auto-pathway-card,
.blds-auto-product-card {
	position: relative;
}

@media (max-width: 1180px) and (min-width: 782px) {
	.blds-start-here-columns {
		flex-wrap: wrap !important;
	}

	.blds-start-here-columns > .wp-block-column {
		flex-basis: calc(50% - 1em) !important;
	}
}

/* Sprint 4.5.2 blog editability + handwriting district structure patch */

/* Editable native-block blog cards. */
.blds-blog-card-columns--editable {
	align-items: stretch;
}

.blds-blog-card-columns--editable > .wp-block-column {
	display: flex;
}

.blds-blog-card--editable {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	width: 100%;
}

.blds-blog-card--editable .blds-blog-card__image {
	background: var(--blds-primary-050);
	border-radius: var(--blds-radius-l);
	margin: 0 0 var(--blds-space-m);
	min-height: 0;
	overflow: hidden;
}

.blds-blog-card--editable .blds-blog-card__image img {
	aspect-ratio: 4 / 3;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.blds-blog-card--editable .blds-blog-card__buttons {
	margin-top: auto;
}

.blds-badge--editable {
	margin-bottom: var(--blds-space-s);
	width: fit-content;
}

/* Handwriting district/topic page system. */
.blds-hw-district-grid,
.blds-hw-topic-grid,
.blds-hw-bundle-grid,
.blds-hw-shop-card-grid {
	align-items: stretch;
}

.blds-hw-district-grid > .wp-block-column,
.blds-hw-topic-grid > .wp-block-column,
.blds-hw-bundle-grid > .wp-block-column,
.blds-hw-shop-card-grid > .wp-block-column {
	display: flex;
}

.blds-hw-bundle-card,
.blds-hw-shop-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.blds-hw-bundle-card .wp-block-buttons,
.blds-hw-shop-card .wp-block-buttons,
.blds-auto-topic-card .wp-block-buttons,
.blds-auto-district-card .wp-block-buttons,
.blds-auto-format-card .wp-block-buttons {
	margin-top: auto;
}

.blds-hw-bundle-card--featured {
	background: linear-gradient(135deg, var(--blds-primary-050), var(--blds-white));
	border-color: rgba(108, 74, 127, .28);
	box-shadow: 0 18px 48px rgba(67, 45, 80, .14);
}

.blds-hw-animal-section {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .15);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-light);
	margin-top: var(--blds-space-xl);
	padding: clamp(24px, 4vw, 44px);
}

.blds-hw-animal-image {
	margin: 0;
}

.blds-hw-animal-image img,
.blds-hw-shop-card img {
	aspect-ratio: 4 / 3;
	border-radius: var(--blds-radius-l);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.blds-small-note {
	color: var(--blds-neutral-700);
	font-size: .95rem;
}

.blds-hw-details {
	background: var(--blds-primary-050);
	border-radius: var(--blds-radius-l);
	margin-top: var(--blds-space-l);
	padding: var(--blds-space-m) var(--blds-space-l);
}

.blds-hw-details summary {
	color: var(--blds-primary-900);
	cursor: pointer;
	font-weight: 800;
}

.blds-hw-version-matrix {
	margin-top: var(--blds-space-m);
}

.blds-hw-version-row {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .12);
	border-radius: var(--blds-radius-m);
	margin-top: var(--blds-space-s);
	padding: var(--blds-space-m);
}

.blds-hw-version-row h4 {
	margin-top: 0;
}

.blds-hw-version-buttons {
	margin-bottom: 0;
}

.blds-hw-version-buttons .wp-block-button__link {
	font-size: .9rem;
	padding: 10px 14px;
	text-align: center;
	width: 100%;
}

.blds-hw-shop-card .wp-block-buttons {
	gap: .6rem;
}

@media (max-width: 1180px) and (min-width: 782px) {
	.blds-hw-bundle-grid,
	.blds-hw-shop-card-grid {
		flex-wrap: wrap !important;
	}

	.blds-hw-bundle-grid > .wp-block-column,
	.blds-hw-shop-card-grid > .wp-block-column {
		flex-basis: calc(50% - 1em) !important;
	}
}

/* Sprint 4.5.3 district button selector patch */

.blds-district-button-panel {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .14);
	border-radius: var(--blds-radius-xl);
	box-shadow: var(--blds-shadow-light);
	margin-inline: auto;
	max-width: 980px;
	padding: clamp(20px, 3vw, 34px);
}

.blds-district-button-row-wrap {
	margin-top: var(--blds-space-s);
}

.blds-district-button-row {
	gap: .75rem !important;
}

.blds-district-button .wp-block-button__link {
	min-width: 130px;
	text-align: center;
	white-space: normal;
}

.blds-editor-note {
	color: var(--blds-neutral-700);
	font-size: .9rem;
	margin-bottom: 0;
	margin-top: var(--blds-space-m);
}

@media (max-width: 640px) {
	.blds-district-button .wp-block-button__link {
		min-width: 100%;
	}
}

/* Sprint 4.5.4 square product image testing patch */

.blds-hw-product-image,
.blds-hw-product-image img {
	box-sizing: border-box;
}

.blds-hw-product-image {
	margin: 0;
}

.blds-hw-product-image--square img {
	aspect-ratio: 1 / 1;
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .14);
	border-radius: var(--blds-radius-xl);
	box-shadow: 0 16px 40px rgba(67, 45, 80, .12);
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.blds-hw-product-image-frame {
	background:
		radial-gradient(circle at 18% 18%, rgba(183, 153, 199, .38) 0 14%, transparent 15%),
		radial-gradient(circle at 82% 22%, rgba(214, 197, 223, .55) 0 16%, transparent 17%),
		radial-gradient(circle at 70% 82%, rgba(183, 153, 199, .28) 0 20%, transparent 21%),
		linear-gradient(135deg, var(--blds-primary-050), var(--blds-white));
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-xl);
	box-shadow: 0 18px 44px rgba(67, 45, 80, .12);
	margin: 0;
	padding: clamp(14px, 2vw, 24px);
	position: relative;
	overflow: hidden;
}

.blds-hw-product-image-frame::before {
	border: 2px dashed rgba(116, 82, 133, .2);
	border-radius: 999px;
	content: "";
	height: 82%;
	left: -22%;
	position: absolute;
	top: 8%;
	transform: rotate(-18deg);
	width: 144%;
}

.blds-hw-product-image--framed-square {
	margin: 0 auto;
	max-width: min(100%, 430px);
	position: relative;
	z-index: 2;
}

.blds-hw-product-image--framed-square img {
	aspect-ratio: 1 / 1;
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-l);
	box-shadow: 0 14px 34px rgba(67, 45, 80, .12);
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.blds-product-image-style-test {
	align-items: stretch;
}

.blds-product-image-style-test > .wp-block-column {
	display: flex;
}

.blds-product-image-test-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.blds-product-image-test-card .blds-hw-product-image,
.blds-product-image-test-card .blds-hw-product-image-frame {
	margin-bottom: var(--blds-space-m);
	margin-top: var(--blds-space-s);
}

.blds-hw-animal-section--square-image .blds-hw-product-image--square,
.blds-hw-animal-section--framed-image .blds-hw-product-image-frame {
	max-width: 430px;
}

@media (max-width: 781px) {
	.blds-hw-animal-section--square-image .blds-hw-product-image--square,
	.blds-hw-animal-section--framed-image .blds-hw-product-image-frame {
		margin-inline: auto;
		max-width: 360px;
	}
}

/* Sprint 4.5.5 handwriting organic frame + facts patch */

.blds-hw-product-image-frame--organic {
	background:
		linear-gradient(135deg, rgba(243, 237, 247, .98) 0%, rgba(255, 255, 255, .98) 100%);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-xl);
	box-shadow: 0 18px 44px rgba(67, 45, 80, .12);
	margin: 0;
	overflow: hidden;
	padding: clamp(14px, 2vw, 24px);
	position: relative;
}

.blds-hw-product-image-frame--organic::before,
.blds-hw-product-image-frame--organic::after {
	content: "";
	inset: auto;
	pointer-events: none;
	position: absolute;
}

.blds-hw-product-image-frame--organic::before {
	background:
		linear-gradient(180deg, transparent 0%, rgba(183, 153, 199, .32) 100%);
	border-radius: 52% 48% 58% 42% / 34% 44% 56% 66%;
	bottom: -14%;
	height: 54%;
	left: -8%;
	transform: rotate(-10deg);
	width: 84%;
}

.blds-hw-product-image-frame--organic::after {
	background:
		linear-gradient(180deg, rgba(214, 197, 223, .62) 0%, rgba(183, 153, 199, .18) 100%);
	border-radius: 64% 36% 44% 56% / 58% 42% 58% 42%;
	height: 56%;
	right: -10%;
	top: -14%;
	transform: rotate(18deg);
	width: 76%;
}

.blds-hw-product-image-frame--organic .blds-hw-product-image--framed-square {
	position: relative;
	z-index: 2;
}

.blds-hw-bundle-card .blds-hw-product-image-frame,
.blds-hw-shop-card .blds-hw-product-image-frame {
	margin-bottom: var(--blds-space-m);
}

.blds-hw-bundle-card .blds-hw-product-image--framed-square img,
.blds-hw-shop-card .blds-hw-product-image--framed-square img {
	max-width: 100%;
}

.blds-hw-facts-block {
	margin-top: var(--blds-space-m);
}

.blds-hw-facts-label {
	color: var(--blds-primary-900);
	margin-bottom: .25rem;
}

.blds-hw-facts-list {
	margin: 0 0 0 1.25rem;
	padding-left: .25rem;
}

.blds-hw-facts-list li + li {
	margin-top: .2rem;
}

.blds-hw-animal-intro .blds-hw-product-image-frame {
	max-width: 430px;
}

@media (max-width: 781px) {
	.blds-hw-animal-intro .blds-hw-product-image-frame {
		margin-inline: auto;
		max-width: 360px;
	}
}

/* Sprint 4.5.6 handwriting variable style counts + TPT/direct-sale buttons */

.blds-product-action-buttons {
	gap: .45rem !important;
	margin-top: auto;
}

.blds-product-action-buttons .wp-block-button__link {
	font-size: .82rem;
	line-height: 1.15;
	padding: 9px 12px;
	text-align: center;
	white-space: normal;
}

.blds-product-action-buttons .blds-button-sample .wp-block-button__link {
	background: transparent;
}

.blds-hw-style-count-1 .blds-hw-version-buttons,
.blds-hw-style-count-2 .blds-hw-version-buttons,
.blds-hw-style-count-3 .blds-hw-version-buttons {
	align-items: stretch;
}

.blds-hw-version-buttons h5 {
	color: var(--blds-primary-900);
	font-size: .9rem;
	margin: 0 0 .5rem;
	text-align: center;
}

.blds-hw-version-buttons .wp-block-column {
	display: flex;
	flex-direction: column;
}

.blds-hw-version-buttons .blds-product-action-buttons {
	justify-content: center;
	margin-top: 0;
}

.blds-hw-version-buttons--1 > .wp-block-column {
	max-width: 360px;
}

.blds-hw-bundle-grid--style-count-1,
.blds-hw-bundle-grid--style-count-2,
.blds-hw-bundle-grid--style-count-3 {
	align-items: stretch;
}

.blds-hw-bundle-grid--style-count-1 > .wp-block-column,
.blds-hw-bundle-grid--style-count-2 > .wp-block-column,
.blds-hw-bundle-grid--style-count-3 > .wp-block-column {
	display: flex;
}

.blds-hw-bundle-grid--style-count-1 > .wp-block-column {
	max-width: 520px;
}

.blds-hw-style-count-1 .blds-hw-version-buttons {
	justify-content: flex-start;
}

.blds-hw-style-count-1 .blds-hw-version-buttons > .wp-block-column {
	flex-basis: 100% !important;
}

.blds-hw-style-count-2 .blds-hw-version-buttons > .wp-block-column {
	flex-basis: calc(50% - .75rem) !important;
}

@media (max-width: 980px) {
	.blds-product-action-buttons .wp-block-button {
		flex-basis: 100%;
	}

	.blds-product-action-buttons .wp-block-button__link {
		width: 100%;
	}
}

/* Sprint 4.5.7 resource group and card-image refinement patch */

.blds-hw-product-image--card-square img {
	border-radius: 8px;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	width: 100%;
}

.blds-hw-topic-card-image,
.blds-hw-format-card-image,
.blds-hw-bundle-card-image {
	margin-bottom: var(--blds-space-m);
}

.blds-hw-image-card,
.blds-hw-topic-card,
.blds-hw-format-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.blds-hw-image-card .wp-block-buttons,
.blds-hw-topic-card .wp-block-buttons,
.blds-hw-format-card .wp-block-buttons {
	margin-top: auto;
}

.blds-hw-district-link-row {
	gap: .55rem !important;
	margin-top: var(--blds-space-s);
}

.blds-hw-district-link-row .wp-block-button__link {
	font-size: .82rem;
	padding: 8px 12px;
	white-space: normal;
}

.blds-hw-resource-group-note {
	margin-top: var(--blds-space-s);
}

/* Sprint 4.5.8 product image frame rework */

.blds-hw-product-image-frame,
.blds-hw-product-image-frame--organic,
.blds-resource-card__preview,
.blds-home-teaser-image,
.blds-product-hero-image {
	isolation: isolate;
	position: relative;
}

.blds-hw-product-image-frame--organic::before,
.blds-hw-product-image-frame--organic::after,
.blds-resource-card__preview::before,
.blds-resource-card__preview::after,
.blds-home-teaser-image::before,
.blds-home-teaser-image::after,
.blds-product-hero-image::before,
.blds-product-hero-image::after {
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.blds-hw-product-image-frame--organic > *,
.blds-resource-card__preview > img,
.blds-home-teaser-image > img,
.blds-product-hero-image > img {
	position: relative;
	z-index: 2;
}

.blds-hw-product-image--framed-square,
.blds-hw-product-image--card-square {
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.blds-hw-product-image--framed-square img,
.blds-hw-product-image--card-square img {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(67, 45, 80, .12);
	display: block;
	height: auto;
	object-fit: contain;
	position: relative;
	width: 100%;
	z-index: 2;
}

.blds-hw-product-image--framed-square img {
	aspect-ratio: 1 / 1;
}

.blds-hw-product-image--card-square img {
	aspect-ratio: 1 / 1;
}

.blds-resource-card__preview,
.blds-home-teaser-image,
.blds-product-hero-image {
	background: linear-gradient(135deg, rgba(243, 237, 247, .98) 0%, rgba(255, 255, 255, .98) 100%);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-xl);
	box-shadow: 0 18px 44px rgba(67, 45, 80, .12);
	overflow: hidden;
	padding: clamp(14px, 2vw, 24px);
}

.blds-resource-card__preview::before,
.blds-home-teaser-image::before,
.blds-product-hero-image::before {
	background: linear-gradient(180deg, transparent 0%, rgba(183, 153, 199, .32) 100%);
	border-radius: 52% 48% 58% 42% / 34% 44% 56% 66%;
	bottom: -14%;
	content: "";
	height: 54%;
	left: -8%;
	transform: rotate(-10deg);
	width: 84%;
}

.blds-resource-card__preview::after,
.blds-home-teaser-image::after,
.blds-product-hero-image::after {
	background: linear-gradient(180deg, rgba(214, 197, 223, .62) 0%, rgba(183, 153, 199, .18) 100%);
	border-radius: 64% 36% 44% 56% / 58% 42% 58% 42%;
	content: "";
	height: 56%;
	right: -10%;
	top: -14%;
	transform: rotate(18deg);
	width: 76%;
}

.blds-resource-card__preview img,
.blds-home-teaser-image img,
.blds-product-hero-image img {
	aspect-ratio: 1 / 1;
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(67, 45, 80, .12);
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.blds-product-hero-image {
	margin-inline: auto;
	max-width: min(100%, 460px);
}

.blds-product-hero-image img {
	max-width: 100%;
}

.blds-page-hero-visual--product,
.blds-resource-detail-product-visual {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.blds-page-hero-visual--product::before,
.blds-resource-detail-product-visual::before {
	display: none;
}

/* Sprint 4.5.9 comprehensive template polish */

/* Fix frame layering definitively: image always sits above decorative swirls. */
.blds-hw-product-image-frame,
.blds-hw-product-image-frame--organic,
.blds-resource-card__preview,
.blds-blog-card__image,
.blds-doodle-photo-frame,
.blds-product-hero-image,
.blds-a4-resource-preview,
.blds-start-here-doodle-placeholder {
	isolation: isolate;
	position: relative;
}

.blds-hw-product-image-frame::before,
.blds-hw-product-image-frame::after,
.blds-hw-product-image-frame--organic::before,
.blds-hw-product-image-frame--organic::after,
.blds-resource-card__preview::before,
.blds-resource-card__preview::after,
.blds-blog-card__image::before,
.blds-blog-card__image::after,
.blds-doodle-photo-frame::before,
.blds-doodle-photo-frame::after,
.blds-product-hero-image::before,
.blds-product-hero-image::after,
.blds-a4-resource-preview::before,
.blds-a4-resource-preview::after,
.blds-start-here-doodle-placeholder::before,
.blds-start-here-doodle-placeholder::after {
	pointer-events: none !important;
	z-index: 0 !important;
}

.blds-hw-product-image-frame--organic::before,
.blds-hw-product-image-frame--organic::after {
	border: 0 !important;
}

.blds-hw-product-image-frame > *,
.blds-hw-product-image-frame .wp-block-image,
.blds-hw-product-image-frame img,
.blds-hw-product-image-frame--organic > *,
.blds-hw-product-image-frame--organic .wp-block-image,
.blds-hw-product-image-frame--organic img,
.blds-resource-card__preview img,
.blds-blog-card__image img,
.blds-doodle-photo-frame img,
.blds-product-hero-image img,
.blds-a4-resource-preview img,
.blds-start-here-doodle-placeholder img {
	position: relative !important;
	z-index: 2 !important;
}

/* Reusable framed-image visuals. */
.blds-resource-card__preview,
.blds-blog-card__image,
.blds-doodle-photo-frame,
.blds-product-hero-image,
.blds-a4-resource-preview {
	background: linear-gradient(135deg, rgba(243, 237, 247, .98) 0%, rgba(255, 255, 255, .98) 100%) !important;
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-xl);
	box-shadow: 0 18px 44px rgba(67, 45, 80, .12);
	overflow: hidden;
	padding: clamp(12px, 1.6vw, 20px);
}

.blds-resource-card__preview::before,
.blds-blog-card__image::before,
.blds-doodle-photo-frame::before,
.blds-product-hero-image::before,
.blds-a4-resource-preview::before {
	background: linear-gradient(180deg, transparent 0%, rgba(183, 153, 199, .32) 100%);
	border-radius: 52% 48% 58% 42% / 34% 44% 56% 66%;
	bottom: -14%;
	content: "";
	height: 54%;
	left: -8%;
	position: absolute;
	transform: rotate(-10deg);
	width: 84%;
}

.blds-resource-card__preview::after,
.blds-doodle-photo-frame::after,
.blds-product-hero-image::after,
.blds-a4-resource-preview::after {
	background: linear-gradient(180deg, rgba(214, 197, 223, .62) 0%, rgba(183, 153, 199, .18) 100%);
	border-radius: 64% 36% 44% 56% / 58% 42% 58% 42%;
	content: "";
	height: 56%;
	position: absolute;
	right: -10%;
	top: -14%;
	transform: rotate(18deg);
	width: 76%;
}

/* Blog/Teaching Ideas: framed 4:3 photo/doodle style, no thumbnail oval. */
.blds-blog-card__image::after {
	background: linear-gradient(180deg, rgba(214, 197, 223, .62) 0%, rgba(183, 153, 199, .18) 100%) !important;
	box-shadow: none !important;
	display: block !important;
}
.blds-blog-card__image img,
.blds-doodle-photo-frame img {
	aspect-ratio: 4 / 3 !important;
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(67, 45, 80, .12);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

/* Product preview images stay square and uncropped inside square-ish corners. */
.blds-resource-card__preview img,
.blds-product-hero-image img,
.blds-hw-product-image--card-square img,
.blds-hw-product-image--framed-square img {
	aspect-ratio: 1 / 1 !important;
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: 10px !important;
	box-shadow: 0 14px 34px rgba(67, 45, 80, .12);
	display: block;
	height: auto;
	object-fit: contain !important;
	width: 100%;
}

/* Main resource family images can remain softly rounded but are larger inside the frame. */
.blds-hw-animal-intro .blds-hw-product-image-frame,
.blds-resource-detail-hero .blds-product-hero-image {
	max-width: min(100%, 540px) !important;
	padding: clamp(8px, 1.2vw, 14px) !important;
}

.blds-resource-detail-hero .blds-product-hero-image img {
	border-radius: 12px !important;
}

/* Home Start Here doodle placeholders. */
.blds-start-here-doodle-placeholder {
	background: rgba(246, 242, 248, .82);
	border: 1px solid rgba(108, 74, 127, .12);
	border-radius: 18px;
	margin: .35rem auto .85rem;
	max-width: 88px;
	overflow: hidden;
	padding: 8px;
}
.blds-start-here-doodle-placeholder img {
	aspect-ratio: 1 / 1;
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

/* Home practical places A4 fan layout. */
.blds-a4-resource-fan {
	min-height: clamp(360px, 42vw, 520px);
	position: relative;
}
.blds-a4-resource-preview {
	margin: 0;
	position: absolute;
	width: min(38%, 210px);
}
.blds-a4-resource-preview img,
.blds-hw-format-a4-image img {
	aspect-ratio: 210 / 297 !important;
	object-fit: contain !important;
}
.blds-a4-resource-preview--one {
	left: 8%;
	top: 13%;
	transform: rotate(-8deg);
	z-index: 1;
}
.blds-a4-resource-preview--two {
	left: 31%;
	top: 4%;
	transform: rotate(1.5deg);
	z-index: 3;
}
.blds-a4-resource-preview--three {
	right: 8%;
	top: 17%;
	transform: rotate(8deg);
	z-index: 2;
}
@media (max-width: 781px) {
	.blds-a4-resource-fan {
		min-height: 360px;
	}
	.blds-a4-resource-preview {
		width: 40%;
	}
}

/* Make the Home hero doodle permanent image feel intentional. */
.blds-hero-visual--delight .blds-hero-image-block img {
	object-fit: contain;
}

/* Free resource CTA: stronger but still calm contrast; no extra doodle added. */
.blds-freebie-panel {
	background:
		radial-gradient(circle at 92% 12%, rgba(183, 153, 199, .38), transparent 30%),
		radial-gradient(circle at 12% 86%, rgba(214, 197, 223, .52), transparent 34%),
		linear-gradient(135deg, rgba(246, 242, 248, .98), rgba(255,255,255,.98)) !important;
	border-color: rgba(108, 74, 127, .24) !important;
	box-shadow: 0 18px 48px rgba(67, 45, 80, .13) !important;
}

/* Editable learning area cards. */
.blds-subject-card-grid {
	display: grid !important;
	gap: var(--blds-space-l);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blds-subject-card--editable {
	height: 100%;
}
.blds-subject-card__icon {
	margin: 0 auto var(--blds-space-s);
}
.blds-subject-card__buttons {
	margin-top: auto;
}
@media (max-width: 980px) {
	.blds-subject-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.blds-subject-card-grid {
		grid-template-columns: 1fr;
	}
}

/* Subcategory cards for category pages. */
.blds-subcategory-card-grid {
	display: grid !important;
	gap: var(--blds-space-l);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.blds-subcategory-card {
	align-items: center;
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .16);
	border-radius: var(--blds-radius-l);
	box-shadow: var(--blds-shadow-medium);
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: var(--blds-space-l);
	text-align: center;
	transition: transform var(--blds-motion-duration) var(--blds-motion-ease), box-shadow var(--blds-motion-duration) var(--blds-motion-ease);
}
.blds-subcategory-card:hover {
	box-shadow: var(--blds-shadow-large);
	transform: translateY(-4px);
}
.blds-subcategory-card__icon {
	margin: 0 auto var(--blds-space-s);
}
.blds-subcategory-card__icon img {
	height: 86px;
	object-fit: contain;
	width: 86px;
}
.blds-subcategory-card__buttons {
	margin-top: auto;
}
@media (max-width: 1180px) {
	.blds-subcategory-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 781px) {
	.blds-subcategory-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.blds-subcategory-card-grid {
		grid-template-columns: 1fr;
	}
}

/* Bottom-align buttons in column cards. */
.blds-card,
.blds-resource-card--editable,
.blds-blog-card--editable,
.blds-pathway-card--editable,
.blds-hw-image-card,
.blds-hw-bundle-card,
.blds-hw-shop-card,
.blds-version-card,
.blds-auto-topic-card,
.blds-auto-format-card,
.blds-auto-product-card,
.blds-subject-card--editable,
.blds-subcategory-card {
	display: flex;
	flex-direction: column;
}
.blds-card > .wp-block-buttons:last-child,
.blds-resource-card--editable > .wp-block-buttons:last-child,
.blds-blog-card--editable > .wp-block-buttons:last-child,
.blds-pathway-card--editable > .wp-block-buttons:last-child,
.blds-hw-image-card > .wp-block-buttons:last-child,
.blds-hw-bundle-card > .wp-block-buttons:last-child,
.blds-hw-shop-card > .wp-block-buttons:last-child,
.blds-version-card > .wp-block-buttons:last-child,
.blds-auto-topic-card > .wp-block-buttons:last-child,
.blds-auto-format-card > .wp-block-buttons:last-child,
.blds-auto-product-card > .wp-block-buttons:last-child,
.blds-subject-card--editable > .wp-block-buttons:last-child,
.blds-subcategory-card > .wp-block-buttons:last-child,
.blds-pathway-card__buttons,
.blds-resource-card__buttons,
.blds-blog-card__buttons {
	margin-top: auto !important;
}

/* Individual resource page tighter spacing and meta alignment. */
.blds-resource-detail-hero {
	padding-bottom: clamp(18px, 3vw, 36px) !important;
}
.blds-resource-detail-hero + .blds-section {
	padding-top: clamp(14px, 2.2vw, 30px) !important;
}
.blds-resource-detail-hero .blds-container + .blds-container,
.blds-resource-detail-hero + .blds-section + .blds-section {
	margin-top: 0 !important;
}
.blds-resource-hero-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-bottom: var(--blds-space-s);
}
.blds-resource-hero-meta .blds-badge {
	align-items: center;
	display: inline-flex;
	line-height: 1;
}
.blds-resource-hero-meta__text {
	color: var(--blds-primary-800);
	display: inline-flex;
	font-size: .96rem;
	font-weight: 700;
	line-height: 1.2;
}

/* A4 format images in handwriting landing format block. */
.blds-hw-format-a4-image {
	max-width: 220px;
	margin-inline: auto;
}
.blds-hw-format-a4-image img {
	aspect-ratio: 210 / 297 !important;
}

/* Australia pop-out selector for Resource Family pages. */
.blds-country-version-menu {
	margin-top: auto;
	position: relative;
}
.blds-country-version-menu summary {
	align-items: center;
	background: var(--blds-primary-700);
	border-radius: 999px;
	box-shadow: var(--blds-shadow-light);
	color: var(--blds-white);
	cursor: pointer;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	list-style: none;
	padding: 12px 22px;
}
.blds-country-version-menu summary::-webkit-details-marker {
	display: none;
}
.blds-country-version-menu[open] summary {
	margin-bottom: var(--blds-space-s);
}
.blds-country-state-buttons {
	background: var(--blds-white);
	border: 1px solid rgba(108, 74, 127, .18);
	border-radius: var(--blds-radius-l);
	box-shadow: 0 18px 44px rgba(67, 45, 80, .14);
	padding: var(--blds-space-m);
}
.blds-country-state-buttons .wp-block-button__link {
	font-size: .86rem;
	padding: 9px 12px;
}

/* Make resource family page hero images more substantial. */
.blds-resource-detail-product-visual {
	width: 100%;
}
.blds-resource-detail-product-visual .blds-product-hero-image {
	max-width: min(100%, 560px) !important;
}

/* Keep blog cards tidy after frame rework. */
.blds-blog-card--editable {
	padding: var(--blds-space-l) !important;
}
.blds-blog-card--editable .blds-blog-card__image {
	margin-bottom: var(--blds-space-m);
}

/* Sprint 4.5.9 verification patch: remove inherited blog thumbnail geometry. */
.blds-blog-card__image::before {
	bottom: -14% !important;
	left: -8% !important;
	right: auto !important;
	top: auto !important;
	transform: rotate(-10deg) !important;
	width: 84% !important;
	height: 54% !important;
	border-radius: 52% 48% 58% 42% / 34% 44% 56% 66% !important;
}
.blds-blog-card__image::after {
	bottom: auto !important;
	left: auto !important;
	right: -10% !important;
	top: -14% !important;
	transform: rotate(18deg) !important;
	width: 76% !important;
	height: 56% !important;
	border-radius: 64% 36% 44% 56% / 58% 42% 58% 42% !important;
}
.blds-hw-product-image-frame--organic::before {
	bottom: -14% !important;
	left: -8% !important;
	right: auto !important;
	top: auto !important;
}
.blds-hw-product-image-frame--organic::after {
	bottom: auto !important;
	left: auto !important;
	right: -10% !important;
	top: -14% !important;
}


/* Sprint 4.5.10 targeted polish patch */

/* 1) Home Start Here: make doodle placeholders larger and closer to button width. */
.blds-start-here-doodle-placeholder {
	width: min(100%, 170px) !important;
	max-width: 170px !important;
	padding: 10px !important;
	margin: .45rem auto 1rem !important;
}

/* 2) Home Start Here: make all card buttons, including Learn More, the same width. */
.blds-pathway-card__buttons {
	width: 100%;
}
.blds-pathway-card__buttons .wp-block-button {
	width: 100%;
}
.blds-pathway-card__buttons .wp-block-button__link {
	box-sizing: border-box;
	display: block;
	width: 100%;
}

/* 3) Handwriting topic sections: make the COLUMN product images larger inside their frames. 
   This targets the bundle/resource cards in columns, not the main resource-family intro image. */
.blds-hw-bundle-card .blds-hw-product-image-frame,
.blds-hw-image-card .blds-hw-product-image-frame {
	padding: clamp(5px, .7vw, 10px) !important;
}

.blds-hw-bundle-card .blds-hw-product-image--card-square,
.blds-hw-image-card .blds-hw-product-image--card-square {
	max-width: 100% !important;
	width: 100% !important;
}

.blds-hw-bundle-card .blds-hw-product-image--card-square img,
.blds-hw-image-card .blds-hw-product-image--card-square img {
	width: 100% !important;
}

/* Reset the main image beside the handwriting resource family title back to the softer,
   roomier frame treatment. */
.blds-hw-animal-intro .blds-hw-product-image-frame {
	max-width: 430px !important;
	padding: clamp(14px, 2vw, 24px) !important;
}

@media (max-width: 781px) {
	.blds-hw-animal-intro .blds-hw-product-image-frame {
		max-width: 360px !important;
	}
}


/* -------------------------------------------------------------------------
   BLDS v0.5.11 automation hooks
   These classes are intentionally visual-neutral. They give spreadsheet/script
   automation stable targets without changing the appearance of existing pages.
   ------------------------------------------------------------------------- */
.blds-auto-template,
.blds-auto-section,
.blds-auto-slot,
.blds-auto-repeater,
.blds-auto-row,
.blds-auto-card,
.blds-auto-bundle-card,
.blds-auto-standard-resource-card,
.blds-auto-blog-card {
	/* no visual styling */
}

/* Sprint 4.5.13 adaptive framed main-image patch */

/* Template intro image: keep the branded frame, but let the main photo keep its own aspect ratio. */
.blds-hw-animal-intro .blds-hw-product-image-frame {
	max-width: min(100%, 540px) !important;
	padding: clamp(8px, 1.2vw, 14px) !important;
}

.blds-hw-animal-intro .blds-hw-product-image--framed-square {
	margin: 0 !important;
}

.blds-hw-animal-intro .blds-hw-product-image--framed-square img {
	aspect-ratio: auto !important;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	border-radius: 12px !important;
}

/* Automation output: give the main photo its own adaptive framed treatment even when the HTML only outputs
   the figure/image block directly. This keeps generator output visually aligned with the template. */
.blds-auto-slot-main-image.blds-resource-detail-product-visual,
.blds-auto-slot-main-image.blds-resource-detail-product-visual.wp-block-image {
	background: linear-gradient(135deg, rgba(243, 237, 247, .98) 0%, rgba(255, 255, 255, .98) 100%) !important;
	border: 1px solid rgba(108, 74, 127, .16) !important;
	border-radius: var(--blds-radius-xl) !important;
	box-shadow: 0 18px 44px rgba(67, 45, 80, .12) !important;
	overflow: hidden !important;
	padding: clamp(8px, 1.2vw, 14px) !important;
	position: relative !important;
	isolation: isolate !important;
	margin: 0 !important;
}

.blds-auto-slot-main-image.blds-resource-detail-product-visual::before,
.blds-auto-slot-main-image.blds-resource-detail-product-visual::after {
	content: "";
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.blds-auto-slot-main-image.blds-resource-detail-product-visual::before {
	background: linear-gradient(180deg, transparent 0%, rgba(183, 153, 199, .32) 100%) !important;
	border-radius: 52% 48% 58% 42% / 34% 44% 56% 66% !important;
	bottom: -14% !important;
	left: -8% !important;
	width: 84% !important;
	height: 54% !important;
	transform: rotate(-10deg) !important;
}

.blds-auto-slot-main-image.blds-resource-detail-product-visual::after {
	background: linear-gradient(180deg, rgba(214, 197, 223, .62) 0%, rgba(183, 153, 199, .18) 100%) !important;
	border-radius: 64% 36% 44% 56% / 58% 42% 58% 42% !important;
	right: -10% !important;
	top: -14% !important;
	width: 76% !important;
	height: 56% !important;
	transform: rotate(18deg) !important;
}

.blds-auto-slot-main-image.blds-resource-detail-product-visual img {
	position: relative !important;
	z-index: 2 !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	background: var(--blds-white) !important;
	border: 1px solid rgba(108, 74, 127, .16) !important;
	border-radius: 12px !important;
	box-shadow: 0 14px 34px rgba(67, 45, 80, .12) !important;
}
