/**
 * Salut — home-blocks.css
 *
 * Styles for the Gutenberg block-pattern homepage (pattern slug: salut/homepage).
 * Everything is scoped under .home-blocks so it cannot leak into other pages.
 * Brand palette:
 *   lavender  #6B5B95
 *   yellow    #FFE066
 *   cream     #FFF9F0
 *   ink       #1A1A2E
 *   light-grey #F5F3FF
 */

/* ============================================================
   BASE WRAPPER
   ============================================================ */
.home-blocks {
	overflow-x: hidden;
}

.home-blocks .wp-block-group.alignfull {
	padding-left: clamp(1rem, 4vw, 3rem);
	padding-right: clamp(1rem, 4vw, 3rem);
}

/* Shared kicker pill */
.home-blocks .hb-kicker {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #6B5B95;
	background: #EDE8FF;
	border-radius: 99px;
	padding: 0.25em 0.9em;
	margin-bottom: 0.75rem;
}

/* ============================================================
   01. HERO
   ============================================================ */
.home-blocks .hb-hero {
	background: linear-gradient(135deg, #E5D8FF 0%, #C9B5F5 60%, #b9a1f0 100%);
	padding: 72px 0 56px;
	text-align: center;
}

.home-blocks .hb-hero-title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	color: #1A1A2E;
	line-height: 1.15;
	margin: 0 auto 1.5rem;
	max-width: 760px;
}

/* Stats row */
.home-blocks .hb-hero-stats {
	justify-content: center;
	gap: 1.5rem;
	margin: 0 auto 2rem;
	max-width: 700px;
}

.home-blocks .hb-hero-stats .wp-block-column {
	background: rgba(255, 255, 255, 0.6);
	border-radius: 12px;
	padding: 1rem 1.25rem;
	text-align: center;
	backdrop-filter: blur(4px);
}

.home-blocks .hb-stat-value strong {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 2rem;
	font-weight: 900;
	color: #6B5B95;
	line-height: 1;
	margin-bottom: 0.2rem;
}

.home-blocks .hb-stat-label {
	font-size: 0.78rem;
	color: #444;
	margin: 0;
}

/* CTA button */
.home-blocks .hb-hero-ctas {
	justify-content: center;
	margin-bottom: 2.5rem;
}

.home-blocks .hb-btn-primary .wp-block-button__link {
	background: #6B5B95;
	color: #fff;
	border-radius: 99px;
	padding: 0.85em 2.2em;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s;
	border: none;
	box-shadow: 0 4px 18px rgba(107, 91, 149, 0.35);
}

.home-blocks .hb-btn-primary .wp-block-button__link:hover {
	background: #55477a;
	transform: translateY(-2px);
}

/* Teacher portraits */
.home-blocks .hb-hero-teachers {
	justify-content: center;
	gap: 2rem;
	max-width: 780px;
	margin: 0 auto;
}

.home-blocks .hb-teacher {
	text-align: center;
}

.home-blocks .hb-teacher-img img {
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 180px;
	height: 180px;
	box-shadow: 0 0 0 5px #fff, 0 8px 24px rgba(107, 91, 149, 0.2);
	display: block;
	margin: 0 auto 0.6rem;
}

.home-blocks .hb-teacher-name {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1A1A2E;
	margin: 0 0 0.15rem;
}

.home-blocks .hb-teacher-role {
	font-size: 0.8rem;
	color: #6B5B95;
	margin: 0;
}

/* ============================================================
   02. FOUNDER
   ============================================================ */
.home-blocks .hb-founder {
	background: #FFF9F0;
	padding: 72px 0;
}

.home-blocks .hb-founder-grid {
	align-items: center;
	gap: 3rem;
}

.home-blocks .hb-founder-content h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 800;
	color: #1A1A2E;
	margin-bottom: 0.4rem;
}

.home-blocks .hb-founder-role {
	font-size: 0.88rem;
	color: #6B5B95;
	font-weight: 600;
	margin: 0 0 1.25rem;
}

.home-blocks .hb-founder-quote {
	border-left: 4px solid #6B5B95;
	background: #EDE8FF;
	border-radius: 0 12px 12px 0;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	font-style: italic;
	color: #1A1A2E;
}

.home-blocks .hb-founder-quote p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
}

.home-blocks .hb-founder-values {
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-blocks .hb-founder-values li {
	padding: 0.4rem 0 0.4rem 1.5rem;
	position: relative;
	font-size: 0.9rem;
	color: #333;
}

.home-blocks .hb-founder-values li::before {
	content: '✦';
	position: absolute;
	left: 0;
	color: #6B5B95;
	font-size: 0.7rem;
	top: 0.55rem;
}

.home-blocks .hb-founder-photo img {
	border-radius: 16px;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 5 / 6;
	box-shadow: 0 12px 40px rgba(107, 91, 149, 0.15);
}

/* ============================================================
   03. ROADMAP
   ============================================================ */
.home-blocks .hb-roadmap {
	background: #F5F3FF;
	padding: 72px 0;
}

.home-blocks .hb-roadmap h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 800;
	color: #1A1A2E;
	margin-bottom: 0.5rem;
}

.home-blocks .hb-roadmap-row {
	gap: 1.25rem;
	margin-top: 2rem;
}

.home-blocks .hb-roadmap-card {
	background: #fff;
	border-radius: 16px;
	padding: 1.5rem 1.25rem;
	box-shadow: 0 4px 20px rgba(107, 91, 149, 0.1);
	border-top: 4px solid #6B5B95;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.home-blocks .hb-roadmap-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.1rem;
	font-weight: 800;
	color: #6B5B95;
	margin: 0 0 0.4rem;
}

.home-blocks .hb-roadmap-card p {
	font-size: 0.875rem;
	color: #444;
	margin: 0;
	line-height: 1.55;
}

.home-blocks .hb-roadmap-meta {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0;
}

.home-blocks .hb-roadmap-meta li {
	font-size: 0.8rem;
	color: #666;
	padding: 0.15rem 0;
}

/* ============================================================
   04. NEWS
   ============================================================ */
.home-blocks .hb-news {
	background: #fff;
	padding: 72px 0;
}

.home-blocks .hb-news h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 800;
	color: #1A1A2E;
	margin-bottom: 0.5rem;
}

.home-blocks .hb-news-row {
	gap: 1.25rem;
	margin: 2rem 0;
}

.home-blocks .hb-news-card {
	background: #FFF9F0;
	border-radius: 16px;
	padding: 1.5rem 1.25rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	border-bottom: 3px solid #FFE066;
}

.home-blocks .hb-news-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #1A1A2E;
	margin: 0 0 0.35rem;
	line-height: 1.4;
}

.home-blocks .hb-news-card p {
	font-size: 0.875rem;
	color: #555;
	margin: 0;
	line-height: 1.55;
	flex: 1;
}

.home-blocks .hb-news-link .wp-block-button__link {
	background: none;
	color: #6B5B95;
	padding: 0;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: underline;
	text-decoration-color: transparent;
	transition: text-decoration-color 0.2s;
	border: none;
	box-shadow: none;
}

.home-blocks .hb-news-link .wp-block-button__link:hover {
	text-decoration-color: #6B5B95;
}

/* Outline CTA at bottom of news section */
.home-blocks .hb-btn-outline .wp-block-button__link {
	background: transparent;
	color: #6B5B95;
	border: 2px solid #6B5B95;
	border-radius: 99px;
	padding: 0.7em 2em;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.home-blocks .hb-btn-outline .wp-block-button__link:hover {
	background: #6B5B95;
	color: #fff;
}

/* ============================================================
   RESPONSIVE — stack columns on mobile
   (wp:columns already stacks below 600px by default;
    these tweaks adjust the card padding/sizing)
   ============================================================ */
@media (max-width: 599px) {
	.home-blocks .hb-hero {
		padding: 48px 0 40px;
	}

	.home-blocks .hb-teacher-img img {
		width: 120px;
		height: 120px;
	}

	.home-blocks .hb-founder-grid,
	.home-blocks .hb-roadmap-row,
	.home-blocks .hb-news-row {
		flex-direction: column;
	}

	.home-blocks .hb-roadmap-card,
	.home-blocks .hb-news-card {
		margin-bottom: 1rem;
	}
}
