/**
 * Class/Event single page presentation (Phase 3).
 *
 * Functional presentation for single-ld_class.php — non-transactional
 * content only (title, image, editorial content, location, practical
 * information, upcoming dates); no ticket/booking UI (Phase 4 boundary,
 * docs/roadmap.md §6). `.ld-btn`/`.ld-breadcrumb` base styling comes from
 * the shared assets/css/components.css; this file adds no page-specific
 * override of those shared rules.
 *
 * No Figma reference is available for this surface yet (docs/product-
 * spec.md §25 lists Event/Class page content among the outstanding design
 * gaps at the time of writing); sizing/spacing below is a plain, legible
 * default rather than a pixel-level match, following this project's
 * established precedent of implementing approved behaviour ahead of a
 * later visual-alignment pass where Figma is not yet available (see
 * assets/css/category-page.css's own file-level history for the same
 * pattern applied to that surface).
 *
 * Mobile-first, matching the rest of this theme's CSS convention; the
 * shared 900px breakpoint (assets/css/header.css/category-page.css) is
 * reused rather than introducing a second one.
 */

.ld-class-hero {
	background: var( --ld-section-color, var( --ld-color-peach ) );
	padding-block: 20px 0;
}

.ld-class-hero__inner {
	max-width: 1400px;
	margin-inline: auto;
	padding-inline: 20px;
}

.ld-class-hero__title {
	margin: 0 0 10px;
	font-family: var( --ld-font-inter );
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
}

.ld-class-hero__event-type {
	margin: 0 0 20px;
	font-family: var( --ld-font-inter );
	font-weight: 600;
	font-size: 14px;
}

.ld-class-hero__image img {
	display: block;
	width: 100%;
	height: auto;
}

.ld-class-content,
.ld-class-location,
.ld-class-practical,
.ld-class-dates,
.ld-class-ended {
	max-width: 1400px;
	margin-inline: auto;
	padding: 20px;
	font-family: var( --ld-font-inter );
	font-size: 16px;
	line-height: 1.6;
}

.ld-class-location__heading,
.ld-class-practical__heading,
.ld-class-dates__heading {
	margin: 0 0 10px;
	font-weight: 700;
	font-size: 20px;
}

.ld-class-dates--empty p,
.ld-class-ended__message {
	font-weight: 600;
}

.ld-class-dates__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ld-class-dates__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	padding: 10px 0;
	border-bottom: 2px solid var( --ld-color-black );
}

.ld-class-dates__row:last-child {
	border-bottom: 0;
}

.ld-class-dates__row.is-selected {
	font-weight: 700;
}

.ld-class-dates__badge {
	padding: 2px 10px;
	border-radius: 50px;
	background: var( --ld-color-black );
	color: var( --ld-color-white );
	font-size: 12px;
	font-weight: 600;
}

.ld-class-ended {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

@media ( min-width: 900px ) {
	.ld-class-hero__title {
		font-size: 48px;
	}
}
