/* HoliSpace blog — extends body.holispace-overview (card grid, via
   assets/css/overview.css) on the blog overview page and body.holispace-magazine
   (article typography + .mag-layout/.mag-toc, via assets/css/magazine.css) on
   single blog articles. This file holds only what's unique to blog content:
   the author byline, keyword chips, a shorter hero image, the reusable
   "oefening" (exercise) block, and the dual coaching/TTC CTA cards. */

/* Top padding under the fixed nav — magazine.css only wires this up for
   .holispace-magazine-page, so the blog article's .holispace-blog-page
   needs its own rule here. */
body.holispace-magazine .holispace-blog-page { display: block; padding-top: 124px; }

/* Shorter hero image than the default magazine 4/5 portrait crop. */
body.holispace-blog .mag-hero-img { aspect-ratio: 16 / 9; }

/* Crop toward the upper-middle of the (portrait) source photo so the hand
   reaching into the grass stays in focus, with the baby's arm still in
   frame above it — the default center crop shows mostly grass. */
body.holispace-blog .mag-hero-img img { object-position: center 32%; }

/* No brown gradient overlay on blog hero photos — magazine.css adds one by
   default for text legibility, but the blog hero has no overlaid text. */
body.holispace-blog .mag-hero-img:has(img)::before { display: none; }

/* Same crop focus on the blog overview card thumbnail. */
.holispace-overview--blog .hsov-card-img img { object-position: center 32%; }

/* Author byline */
body.holispace-blog .blog-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 18px;
}
body.holispace-blog .blog-byline-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	flex: none;
	border: 1px solid var(--beige-dark);
}
body.holispace-blog .blog-byline-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
body.holispace-blog .blog-byline-text {
	font-size: 14px;
	color: var(--text);
	opacity: 0.85;
}
body.holispace-blog .blog-byline-name {
	font-weight: 600;
	opacity: 1;
}
body.holispace-blog .blog-byline-sep {
	opacity: 0.5;
	margin: 0 6px;
}

/* Keyword chips */
body.holispace-blog .blog-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
}
body.holispace-blog .blog-keyword {
	font-size: 12px;
	letter-spacing: 0.03em;
	color: var(--primary);
	background: var(--beige);
	border-radius: 999px;
	padding: 5px 12px;
	font-weight: 500;
}

/* Oefening (exercise) block */
body.holispace-blog .blog-oefening {
	margin: 48px 0;
	background: var(--beige);
	border-radius: 20px;
	padding: 36px 36px 40px;
}
body.holispace-blog .blog-oefening-head {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: start;
	margin-bottom: 24px;
}
body.holispace-blog .blog-oefening-kicker {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 600;
	margin: 0 0 8px;
}
body.holispace-blog .blog-oefening h3 {
	font-family: 'Playfair Display', serif;
	font-weight: 500;
	font-size: 26px;
	line-height: 1.25;
	margin: 0 0 6px;
	color: var(--text);
}
body.holispace-blog .blog-oefening-duration {
	font-size: 14px;
	color: var(--text);
	opacity: 0.7;
	margin: 0;
}
body.holispace-blog .blog-oefening-illustration {
	width: 84px;
	height: 60px;
	flex: none;
}
body.holispace-blog .blog-oefening-illustration svg {
	width: 100%;
	height: 100%;
	display: block;
}
body.holispace-blog .blog-oefening-steps {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}
body.holispace-blog .blog-oefening-steps li {
	padding: 14px 0;
	border-top: 1px solid var(--beige-dark);
}
body.holispace-blog .blog-oefening-steps li:first-child { border-top: none; }
body.holispace-blog .blog-oefening-step-label {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 700;
	margin-bottom: 6px;
}
body.holispace-blog .blog-oefening-steps li p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	margin: 0;
}
body.holispace-blog .blog-oefening-closing {
	border-top: 1px solid var(--beige-dark);
	padding-top: 20px;
	margin: 0;
}
body.holispace-blog .blog-oefening-closing p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	margin: 0;
}

/* Dual CTA cards (coaching + TTC), side by side, dark + light tint. */
body.holispace-blog .blog-dual-cta {
	max-width: 1240px;
	margin: 24px auto 64px;
	padding: 0 32px;
}
body.holispace-blog .blog-dual-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
body.holispace-blog .blog-cta-card {
	border-radius: 24px;
	padding: 44px 40px;
	display: flex;
	flex-direction: column;
}
/* Just two colours across the pair, inverted: brown-on-beige and beige-on-brown. */
body.holispace-blog .blog-cta-card--dark {
	background: var(--primary);
	color: var(--beige);
}
body.holispace-blog .blog-cta-card--light {
	background: var(--beige);
	color: var(--primary);
}
body.holispace-blog .blog-cta-card h3 {
	font-family: 'Playfair Display', serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 10px;
	color: inherit;
}
body.holispace-blog .blog-cta-card p {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.55;
	color: inherit;
}
body.holispace-blog .blog-cta-card--dark p { opacity: 0.88; }
body.holispace-blog .blog-cta-card--light p { opacity: 0.85; }
body.holispace-blog .blog-cta-card-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}
/* Dark card: beige primary button, beige-outlined ghost. */
body.holispace-blog .blog-cta-card--dark .mag-btn-primary { background: var(--beige); color: var(--primary); }
body.holispace-blog .blog-cta-card--dark .mag-btn-primary:hover { background: #fff; }
body.holispace-blog .blog-cta-card--dark .mag-btn-ghost { background: transparent; color: var(--beige); border-color: var(--beige); }
body.holispace-blog .blog-cta-card--dark .mag-btn-ghost:hover { background: rgba(253, 250, 245, 0.14); color: var(--beige); border-color: var(--beige); }
/* Light card: primary-brown primary button, primary-outlined ghost. */
body.holispace-blog .blog-cta-card--light .mag-btn-primary { background: var(--primary); color: var(--beige); }
body.holispace-blog .blog-cta-card--light .mag-btn-primary:hover { background: #7a2f0e; }
body.holispace-blog .blog-cta-card--light .mag-btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
body.holispace-blog .blog-cta-card--light .mag-btn-ghost:hover { background: var(--primary); color: var(--beige); }

@media (max-width: 860px) {
	body.holispace-blog .blog-dual-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	body.holispace-blog .blog-oefening { padding: 28px 22px 30px; }
	body.holispace-blog .blog-oefening-head { grid-template-columns: 1fr; }
	body.holispace-blog .blog-oefening-illustration { width: 64px; height: 46px; }
	body.holispace-blog .blog-cta-card { padding: 32px 26px; }
}
