/* Webinaari-sivuperhe (lohtu-web-).
   Lähde: Webinaari-Desktop.dc.html (mobiili: Webinaari.dc.html). Desktop-first;
   jaetut komponentit (lohtu-section, lohtu-inner, lohtu-h2, napit, lohtu-quote,
   GF-lomakkeet) tulevat main.css:stä. */

/* WP:n flow-layout lisää margin-block-startin lohkojen väliin — nollaa omissa
   flex/grid-kontainereissa (välit gapeilla). */
.lohtu-web-hero__inner > *,
.lohtu-web-topics__inner > *,
.lohtu-web-host__grid > *,
.lohtu-web-host__body > *,
.lohtu-web-card > * {
	margin-block-start: 0;
}

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

.lohtu-web-hero {
	background: var(--green-header);
	padding: 40px var(--lohtu-gutter) var(--lohtu-section-pad);
}

.lohtu-inner.lohtu-web-hero__inner {
	max-width: 980px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 24px;
}

/* Vaalea murupolku tummalla herolla */
.lohtu-web-hero .lohtu-breadcrumbs {
	align-self: flex-start;
	margin-bottom: 8px;
	color: var(--sage-200);
}

.lohtu-web-hero .lohtu-breadcrumbs a {
	color: #fff;
}

.lohtu-web-hero .lohtu-breadcrumbs a:hover {
	color: var(--sage-100);
}

.lohtu-web-hero .lohtu-breadcrumbs .sep {
	color: var(--sage-500);
}

.lohtu-web-kicker {
	margin: 0;
	padding: 8px 18px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
	color: #C6E0A9;
	font-weight: 600;
	font-size: 16px;
}

.lohtu-web-hero h1 {
	margin: 0;
	font-family: var(--wp--preset--font-family--dm-serif-display, "DM Serif Display", serif);
	font-weight: 400;
	font-size: clamp(38px, 4.7vw, 60px);
	line-height: 1.06;
	color: #fff;
	text-wrap: balance;
}

.lohtu-web-hero__lead {
	margin: 0;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.55;
	color: var(--sage-100);
	max-width: 720px;
	text-wrap: pretty;
}

.lohtu-web-hero .wp-block-buttons {
	margin-top: 8px;
	justify-content: center;
}

.lohtu-web-hero__note {
	margin: 0;
	font-size: 15px;
	color: #C6E0A9;
}

/* ---------- Webinaarin aiheet ---------- */

.lohtu-web-topics {
	background: var(--leaf-50);
}

.lohtu-inner.lohtu-web-topics__inner {
	max-width: 900px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	text-align: center;
}

.lohtu-h2.lohtu-web-h2--center {
	max-width: none;
	text-align: center;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.08;
}

.lohtu-web-topics__intro {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	max-width: 680px;
	margin-inline: auto;
}

.lohtu-web-qgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	text-align: left;
}

p.lohtu-web-q {
	margin: 0;
	position: relative;
	padding: 22px 24px 22px 64px;
	border-radius: 16px;
	background: #fff;
	font-size: 17px;
	line-height: 1.45;
	font-weight: 500;
}

.lohtu-web-q::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 21px;
	width: 28px;
	height: 28px;
	border-radius: var(--radius-pill);
	background: var(--leaf-500) var(--icon-check) no-repeat center / 14px;
}

.lohtu-web-noshow {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	font-weight: 600;
}

.lohtu-web-topics .wp-block-buttons {
	justify-content: center;
}

/* ---------- Vetäjä ---------- */

.lohtu-web-host {
	background: #fff;
}

.lohtu-inner.lohtu-web-host__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(40px, 5vw, 72px);
	align-items: center;
}

.lohtu-web-host__photo {
	margin: 0;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--sage-100);
	justify-self: center;
}

.lohtu-web-host__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Kasvot lähdekuvan oikeassa reunassa */
	object-position: 95% center;
}

.lohtu-web-host__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lohtu-web-eyebrow {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--leaf-800);
}

.lohtu-web-host__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--dm-serif-display, "DM Serif Display", serif);
	font-weight: 400;
	font-size: clamp(28px, 3.1vw, 40px);
	line-height: 1.05;
	color: var(--leaf-800);
}

.lohtu-web-host__bio,
.lohtu-web-host__note {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
}

.lohtu-web-host__note {
	color: #3D3A36;
}

/* ---------- Arviot ---------- */

.lohtu-web-reviews {
	background: var(--leaf-50);
}

.lohtu-web-reviews .lohtu-web-h2--center {
	margin-bottom: 40px;
	margin-inline: auto;
}

/* Jaettu lohtu-quote-grid/-quote mukautettuna: 2 palstaa, valkoinen kortti,
   ei tähtiriviä (artboardin osallistujasitaatit ovat ilman tähtiä). */
.lohtu-quote-grid.lohtu-web-quotes {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lohtu-web-quotes .lohtu-quote {
	background: #fff;
}

.lohtu-web-quotes .lohtu-quote::before {
	content: none;
}

.lohtu-web-quotes .lohtu-quote p {
	font-size: 18px;
	line-height: 1.6;
}

/* ---------- Ilmoittautuminen ---------- */

.lohtu-web-ilmo {
	background: #fff;
	scroll-margin-top: 96px;
}

.lohtu-web-card {
	max-width: 620px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 48px;
	border-radius: 24px;
	background: var(--leaf-50);
}

.lohtu-web-card__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--dm-serif-display, "DM Serif Display", serif);
	font-weight: 400;
	font-size: clamp(28px, 3.1vw, 40px);
	line-height: 1.08;
	color: var(--leaf-800);
	text-align: center;
}

.lohtu-web-card__sub {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	color: #3D3A36;
	text-align: center;
}

.lohtu-web-card .gform_footer {
	margin-top: 20px;
}

.lohtu-web-card .gform_wrapper input[type="submit"] {
	width: 100%;
}

.lohtu-web-card__note {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
	text-align: center;
}

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

@media (max-width: 1100px) {
	.lohtu-inner.lohtu-web-host__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

@media (max-width: 700px) {
	.lohtu-web-hero {
		padding-top: 24px;
	}

	.lohtu-web-kicker {
		font-size: 14px;
		padding: 8px 16px;
	}

	.lohtu-web-qgrid {
		grid-template-columns: minmax(0, 1fr);
	}

	.lohtu-quote-grid.lohtu-web-quotes {
		grid-template-columns: minmax(0, 1fr);
	}

	.lohtu-web-host__photo {
		width: 180px;
		height: 180px;
	}

	.lohtu-web-card {
		padding: 28px 20px;
	}
}
