@charset "UTF-8";
/* =============================================================================
   An event's or a course's own page (template-parts/events/detail.php).

   No design: the single article (article.css) with a facts strip and the
   booking control under the title, and the next events as the News page's
   compact cards (news.css). Domagoj, 2026-10-17.
   ========================================================================== */

.event-detail__hero .article-hero__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.event-detail__hero .article-hero__eyebrow a:hover {
	text-decoration: underline;
}

/* --- Facts: date, time, place, price ---------------------------------------
   One row of labelled cells from tablet up, two per row on a phone. */

.event-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-6) var(--space-8);
	margin: var(--space-10) 0 0;
	padding-block-start: var(--space-6);
	border-block-start: 1px solid var(--color-border);
}

@media (min-width: 48em) {
	.event-facts {
		grid-template-columns: repeat(auto-fit, minmax(9rem, max-content));
		column-gap: var(--space-12);
	}
}

.event-facts__label {
	font-family: var(--font-body);
	font-size: var(--fs-ui-xs);
	font-weight: var(--fw-medium);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.event-facts__value {
	margin: var(--space-2) 0 0;
	font-family: var(--font-display);
	font-size: var(--fs-copy-18);
	font-weight: var(--fw-medium);
	line-height: var(--lh-tight);
	color: var(--color-navy);
}

.event-detail__actions {
	margin-block-start: var(--space-8);
}

.event-detail__cta {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	white-space: nowrap;
}

.event-detail__cta svg {
	flex: none;
	width: 1rem;
	height: 1rem;
}

/* A second, bigger action after the course text (2026-11-13). */
.event-detail__end {
	margin-block-start: var(--space-10);
	padding-block-start: var(--space-8);
	border-block-start: 1px solid var(--color-border);
}

.event-detail__end .event-detail__cta,
.event-detail__end .event-detail__cta:hover,
.event-detail__end .event-detail__cta:focus-visible {
	color: var(--color-white); /* not the article text's link colour */
}

.event-detail__end .event-detail__cta {
	min-height: 3.5rem;
	padding-inline: var(--space-10);
	font-size: var(--fs-ui-base);
	text-decoration: none;
}

.event-detail__end .event-detail__cta svg {
	width: 1.25rem;
	height: 1.25rem;
}

/* --- The next events / courses -------------------------------------------- */

.event-detail__grid {
	display: grid;
	gap: var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 64em) {
	.event-detail__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.event-detail__grid > li,
.event-detail__grid .event-compact {
	height: 100%;
}
