/*
Theme Name:   Learning Haylian Child
Theme URI:    https://learninghaylian.co.uk
Description:  Child theme for Learning Haylian – extends Kadence
Author:       Hayley White
Author URI:   https://learninghaylian.co.uk
Template:     kadence
Version:      1.0.0
Text Domain:  learninghaylian-child
*/

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Montserrat+Alternates:wght@400;500&family=Lexend+Deca:wght@300;400&family=Cormorant+Garamond:ital@1&display=swap');

/* ─── Brand tokens ─── */
:root {
	--lh-lavender:    #CBB4E6;
	--lh-mauve:       #7A5C9E;
	--lh-mauve-dark:  #4E3868;
	--lh-blush:       #EAC4D5;
	--lh-blush-dark:  #A0637E;
	--lh-sky:         #BFD6E8;
	--lh-sky-dark:    #4A7A9B;
	--lh-sage:        #B7CBBF;
	--lh-sage-dark:   #4A7057;
	--lh-charcoal:    #2E2E2E;
	--lh-warm-white:  #FAF8F6;
	--lh-bg-soft:     #F5EFF9;
	--lh-border:      rgba(122,92,158,.18);
}

/* ─── Reset / base ─── */
.lh-page * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.lh-page a {
	text-decoration: none;
	color: inherit;
}

/* ─── Layout ─── */
.lh-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 2rem;
}

.lh-section {
	padding: 4rem 2rem;
}

/* ─── Typography ─── */
.lh-page {
	font-family: 'Lexend Deca', sans-serif;
	color: var(--lh-charcoal);
	background: var(--lh-warm-white);
}

.lh-page h1 {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--lh-mauve-dark);
}

.lh-page h2 {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(20px, 2.8vw, 28px);
	font-weight: 500;
	line-height: 1.3;
	color: var(--lh-charcoal);
}

.lh-page h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--lh-charcoal);
}

.lh-page p {
	font-family: 'Lexend Deca', sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: var(--lh-charcoal);
}

.lh-page blockquote,
.lh-page em,
.lh-signoff p:first-child {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
}

.lh-overline,
.lh-badge,
.lh-blog-cat,
.lh-rightplace-label,
.lh-social-header .lh-badge {
	font-family: 'Montserrat Alternates', sans-serif;
}

/* ─── Buttons ─── */
.lh-btn {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 8px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: opacity .2s, transform .15s;
	border: none;
}

.lh-btn:hover {
	opacity: .88;
	transform: translateY(-1px);
}

.lh-btn-primary,
#lh-homepage .lh-btn-primary {
	background: #7A5C9E !important;
	color: #FAF8F6 !important;
}

.lh-btn-outline,
#lh-homepage .lh-btn-outline {
	background: transparent !important;
	color: #7A5C9E !important;
	border: 1.5px solid #7A5C9E !important;
}

/* ─── Badge ─── */
.lh-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 500;
	padding: 4px 14px;
	border-radius: 6px;
	background: var(--lh-lavender);
	color: var(--lh-mauve-dark);
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

/* ─── HERO ─── */
.lh-hero {
	background: var(--lh-warm-white);
	padding: 5rem 2rem 4rem;
	border-bottom: 1px solid var(--lh-border);
}

.lh-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.lh-hero-text p {
	font-size: 18px;
	margin: 1.25rem 0 2rem;
	max-width: 460px;
	color: #5a4a6a;
}

.lh-hero-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.lh-hero-image img {
	width: 100%;
	border-radius: 20px;
	display: block;
}

/* ─── RIGHT PLACE IF ─── */
.lh-page .lh-rightplace,
#lh-homepage .lh-rightplace {
	background: #7A5C9E !important;
	padding: 3rem 2rem;
}

.lh-rightplace-label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--lh-lavender);
	margin-bottom: 1.25rem;
}

.lh-rightplace-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 1100px;
	margin: 0 auto;
}

.lh-rightplace-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.lh-rightplace-item svg {
	flex-shrink: 0;
	margin-top: 3px;
}

.lh-rightplace-item p {
	color: #EDE3F7;
	font-size: 15px;
	line-height: 1.65;
}

/* ─── INNER CRITIC PRODUCT ─── */
.lh-product {
	padding: 4rem 2rem;
	background: var(--lh-warm-white);
}

.lh-product-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.lh-product-image {
	background: var(--lh-bg-soft);
	border-radius: 20px;
	aspect-ratio: 4/3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lh-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.lh-product-text h2 {
	color: var(--lh-mauve-dark);
	margin-bottom: 1rem;
}

.lh-product-text p {
	margin-bottom: 1.25rem;
}

.lh-checklist {
	list-style: none;
	margin-bottom: 1.75rem;
}

.lh-checklist li {
	font-family: 'Lexend Deca', sans-serif;
	font-size: 15px;
	line-height: 2.1;
	display: flex;
	align-items: center;
	gap: 8px;
}

.lh-checklist li::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A7057' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

/* ─── ABOUT ─── */
.lh-about {
	background: var(--lh-bg-soft);
	padding: 4rem 2rem;
}

.lh-about-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.lh-about-text h2 {
	color: var(--lh-mauve-dark);
	margin-bottom: 1rem;
}

.lh-about-text p {
	margin-bottom: 1rem;
}

.lh-about-image img {
	width: 100%;
	border-radius: 20px;
	display: block;
}

/* ─── BLOG ─── */
.lh-blog {
	padding: 4rem 2rem;
	background: var(--lh-warm-white);
}

.lh-blog-header {
	max-width: 1100px;
	margin: 0 auto 2rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 1rem;
}

.lh-blog-grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.lh-blog-card {
	background: var(--lh-warm-white);
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--lh-border);
	transition: transform .2s, box-shadow .2s;
	display: block;
	color: inherit;
	text-decoration: none;
}

.lh-blog-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(122,92,158,.12);
}

.lh-blog-thumb {
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lh-blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lh-blog-thumb-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lh-blog-body {
	padding: 1.1rem;
}

.lh-blog-cat {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--lh-mauve);
	display: block;
	margin-bottom: .4rem;
}

.lh-blog-title {
	font-size: 15px;
	font-weight: 500;
	color: var(--lh-mauve-dark);
	line-height: 1.45;
	margin-bottom: .6rem;
	font-family: 'Poppins', sans-serif;
}

.lh-blog-more {
	font-size: 13px;
	color: var(--lh-mauve);
}

/* ─── SOCIAL SECTION ─── */
.lh-social-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.lh-social-header h2 {
	margin-bottom: .5rem;
}

.lh-social-sub {
	font-size: 15px;
	max-width: 500px;
	margin: 0 auto;
}

.lh-social-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	margin-bottom: 2rem;
}

.lh-social-col-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: var(--lh-mauve-dark);
	margin-bottom: 1rem;
}

.lh-social-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.lh-social-placeholder {
	background: var(--lh-bg-soft);
	border: 1.5px dashed var(--lh-lavender);
	border-radius: 14px;
	padding: 2rem 1.5rem;
	text-align: center;
}

.lh-social-placeholder p {
	font-size: 14px;
	margin-bottom: 1rem;
}

.lh-social-placeholder code {
	background: var(--lh-lavender);
	color: var(--lh-mauve-dark);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 12px;
}

.lh-threads-bar {
	border-top: 1px solid var(--lh-border);
	padding-top: 1.75rem;
	margin-top: .5rem;
}

.lh-threads-bar-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--lh-bg-soft);
	border-radius: 14px;
	padding: 1.25rem 1.5rem;
	flex-wrap: wrap;
}

.lh-threads-bar-inner p {
	flex: 1;
	font-size: 14px;
	min-width: 200px;
}

.lh-btn-sm {
	padding: 9px 20px;
	font-size: 13px;
	white-space: nowrap;
}

/* ─── BOTTOM CTA ─── */
.lh-cta-bottom {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 340px;
}

.lh-cta-bottom-text {
	background: var(--lh-bg-soft);
	padding: 4rem 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-top: 1px solid var(--lh-border);
}

.lh-cta-bottom-text .lh-overline {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--lh-mauve);
	margin-bottom: .75rem;
	font-family: 'Montserrat Alternates', sans-serif;
}

.lh-cta-bottom-text h2 {
	font-size: clamp(22px, 2.8vw, 32px);
	color: var(--lh-mauve-dark);
	margin-bottom: 1rem;
}

.lh-cta-bottom-text p {
	color: #5a4a6a;
	font-size: 15px;
	margin-bottom: 1.75rem;
	max-width: 380px;
}

.lh-cta-bottom-image {
	overflow: hidden;
}

.lh-cta-bottom-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ─── KINGDOM SIGN-OFF ─── */
.lh-signoff {
	background: var(--lh-bg-soft);
	padding: 1.75rem 2rem;
	text-align: center;
	border-top: 1px solid var(--lh-border);
}

.lh-signoff p:first-child {
	font-size: 18px;
	color: var(--lh-mauve);
}

.lh-signoff p:last-child {
	font-family: 'Montserrat Alternates', sans-serif;
	font-size: 12px;
	color: var(--lh-mauve);
	opacity: .7;
	margin-top: .4rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
	.lh-hero-inner,
	.lh-rightplace-grid,
	.lh-product-inner,
	.lh-about-inner,
	.lh-blog-grid,
	.lh-social-grid,
	.lh-cta-bottom {
		grid-template-columns: 1fr;
	}

	.lh-hero-image {
		order: -1;
	}

	.lh-cta-bottom-image {
		min-height: 260px;
	}

	.lh-blog-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.lh-cta-bottom-text {
		padding: 2.5rem 1.5rem;
	}
}
