/* ==========================================================================
   Yoga (70). Bloco comum igual em surf / yoga / our-kitchen (candidato a blocks.css).
   ========================================================================== */

/* ---------- Comum: imagem de topo ---------- */
.on-pagehero { padding-bottom: 60px; }
.on-pagehero__img img { width: 100%; height: 50vh; object-fit: cover; border-radius: var(--radius); }

/* ---------- Comum: textos ---------- */
.on-rich p + p { margin-top: .9rem; }
.on-justify { text-align: justify; }
/* Tipografia "45f6a75" do kit: Libre 17/1.4 cinzento (também em telemóvel) */
.on-lead {
	font-family: var(--f-serif);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--c-muted);
	text-align: justify;
}
.on-page .on-rich a { color: inherit; text-decoration: none; }
.on-divider {
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--c-grey);
}

/* ---------- Comum: título com ícone (linha de 30px, ícone 24px, intervalo 20px) ---------- */
.on-icontitle { display: flex; align-items: flex-start; gap: 20px; height: 30px; }
.on-icontitle::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background-color: var(--c-muted);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

/* ---------- Comum: intro (texto + 2 imagens) ---------- */
.on-intro { flex-direction: row; gap: 60px; }
.on-intro > * { flex: 1 1 0; min-width: 0; }
.on-intro__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.on-intro__imgs { display: flex; gap: 20px; }
.on-intro__imgs > * { flex: 1 1 0; min-width: 0; }
.on-intro__img img { width: 100%; height: 30vh; object-fit: cover; border-radius: var(--radius); }

/* ---------- Comum: bloco texto / imagem (2 colunas) ---------- */
.on-split { flex-direction: row; gap: 60px; }
.on-split > * { flex: 1 1 0; min-width: 0; }
.on-split__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.on-split__img img { width: 100%; border-radius: var(--radius); }

@media (max-width: 1024px) {
	.on-pagehero__img img { height: 30vh; }
	.on-intro { gap: 40px; }
}
@media (max-width: 767px) {
	.on-pagehero { padding-bottom: 20px; }
	.on-pagehero__img img { height: 25vh; }
	.on-intro, .on-split { flex-direction: column; gap: 20px; }
	.on-intro__imgs { flex-direction: column; }
}

/* ==========================================================================
   Só Yoga
   ========================================================================== */
.on-icontitle--taichi { --icon: url("../../../../../uploads/2025/10/person-simple-tai-chi-light.svg"); }

/* Duas imagens sobrepostas: a segunda entra 40px por cima da primeira, centradas na vertical */
.on-collage { display: flex; align-items: center; }
.on-collage > * { flex: 1 1 0; min-width: 0; }
.on-page .on-collage > * + * { margin-left: -40px; }
.on-collage--rev > :first-child { position: relative; z-index: 2; }
.on-collage__img img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.on-collage__img--big img { height: 50vh; }
.on-collage__img--small img { height: 34vh; }

@media (max-width: 1024px) {
	.on-yoga .on-split { flex-direction: column; gap: 20px; }
	.on-yoga .on-split > * { flex: none; }
	.on-yoga-growth .on-split__text { order: 2; }
}
@media (max-width: 767px) {
	.on-yoga-flow .on-collage { order: 2; }
	.on-yoga-growth .on-split__text { order: 0; }
}
