/* ==========================================================================
   Kind iVF header banner
   Built on Bootstrap 5's grid/utilities — only the bespoke bits are here.
   ========================================================================== */

#kindHead {
	position: relative;
	overflow: hidden;
	background-color: #d9a8d9; /* fallback if no background_image is set */
	background-image: linear-gradient(135deg, #d9a8d9 0%, #e79aa0 45%, #eaa87e 100%);
	background-size: cover;
	background-position: center;
	padding-top: 110px;
	padding-bottom: 110px;
	color: #fff;
}

#kindOverlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.06) 100%);
	pointer-events: none;
	z-index: 1;
}

#kindHead .container {
	z-index: 2;
}

.kindHead__content {
	position: relative;
	z-index: 2;
}

.kindBadge {
	display: inline-block;
	background: #6e3ab4;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 10px 24px;
	border-radius: 999px;
	margin-bottom: 5px;
}

.kindTitleMain {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: clamp(5.75rem, 6vw, 6.5rem);
    color: #fff;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1;
    text-transform: none;
}

.kindIntro {
	font-size: 1.15rem;
	color: #fff;
	opacity: 0.95;
}

.kindIntro p:last-child {
	margin-bottom: 0;
}

/* Floating illustration, bottom right */
.kindIllustration {
	position: absolute;
	right: 14%;
	bottom: 0;
	width: 44%;
	max-width: 520px;
	z-index: 1;
	pointer-events: none;
}

.kindIllustration img {
	width: 100%;
	height: auto;
	display: block;
}

/* "Official Partner Clinic" circular badge */
.kindPartnerBadge {
	position: absolute;
	top: 17%;
	right: 16%;
	width: 140px;
	height: 140px;
	background: #6e3ab4;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	z-index: 3;
	padding: 14px;
	transform: rotate(15deg);
}

.kindPartnerBadge span {
	color: #fff;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.35rem;
	line-height: 1.25;
}

/* ==========================================================================
   Responsive — Bootstrap breakpoints (md: 768px, sm: 576px)
   ========================================================================== */

@media (max-width: 991.98px) {
	.kindPartnerBadge {
		width: 140px;
		height: 140px;
		top: 10%;
		right: 10%;
	}

	.kindPartnerBadge span {
		font-size: 1.2rem;
	}

	.kindIllustration {
		width: 40%;
	}
}

@media (max-width: 767.98px) {
	#kindHead {
		display: flex;
		flex-direction: column;
		padding: 32px 0 0; /* no bottom padding — the illustration sits flush to the bottom edge */
		text-align: center;
	}

	/* Text content comes first and reads big — this is the first thing seen */
	#kindHead > .container {
		order: 1;
		width: 100%;
		margin-top: 60px;
		margin-bottom: -120px;
	}

	.kindHead__content {
		margin: 0 auto 24px;
		padding: 0 20px;
	}

	.kindBadge {
		font-size: 1rem;
		padding: 10px 22px;
	}

	.kindIntro {
		font-size: 1.25rem;
		max-width: none;
	}

	/* Illustration goes last, flush against the bottom of the banner */
	.kindIllustration {
        order: 2;
        position: static;
        width: 80%;
        max-width: 820px;
        margin-right: -30%;
        margin-left: auto;
	}

	/* Partner badge floats top-right, out of the text/image flow
	   (keeps your rotate(15deg) from the base rule above) */
	.kindPartnerBadge {
		position: absolute;
		top: 25px;
		right: 25px;
		width: 130px;
		height: 130px;
		margin: 0;
		z-index: 5;
	}

	.kindPartnerBadge span {
		font-size: 1.2rem;
	}
}

@media (max-width: 575.98px) {
	.kindBadge {
		font-size: 0.9rem;
		padding: 9px 20px;
	}

	.kindIllustration {
		width: 80%;
	}

	.kindPartnerBadge {
		width: 120px;
		height: 120px;
		top: 24px;
		right: 24px;
	}

	.kindPartnerBadge span {
		font-size: 1.2rem;
	}
}

/* ==========================================================================
   Kind iVF strapline section
   ========================================================================== */

.kindStrapline {
	font-family: var(--font-serif);
	padding: 20px 0;
	font-size: 2em;
}

.kindStrapline__text em {
	font-style: italic;
}

/* The "Kind iVF" wordmark, gradient-filled to match the banner/badge */
.kindWordmark {
	font-weight: 800;
	font-style: normal;
	font-family: 'Playfair Display', serif;
	background-image: linear-gradient(135deg, #a689d9 0%, #e79aa0 55%, #eaa87e 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #a689d9; /* fallback for browsers without background-clip:text support */
}

@media (max-width: 767.98px) {
	.kindStrapline {
		padding: 32px 0;
	}

	.kindStrapline__text {
		font-size: 1.35rem;
	}
}

