@charset "UTF-8";
/* =============================================================================
   Upcoming events list. [figma] nodes 747:4443–747:4448.

   Rows are 1260x140, radius 18, white with a 1px #c7c4c4 border, on a 170px
   pitch (30px gap). Inside: a big day numeral and month at x=49, the title and
   meta at x=301, and a 200x40 "Reserve a seat" pill at x=1012.
   ========================================================================== */

/* Every row as tall as the tallest, so a tagged or two-line row does not
   stand out (Domagoj, 2026-09-29). */
.event-list {
	display: grid;
	grid-auto-rows: 1fr;
	gap: 1.875rem;                           /* 30 [figma] */
	margin: 0;
	list-style: none;
}

.event-list > li {
	display: grid;
}

.event-row {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	padding: var(--space-6);
	border: 1px solid var(--color-ink-300);  /* [figma] */
	border-radius: var(--radius-lg);         /* 18 [figma] */
	background-color: var(--color-white);
	transition:
		border-color var(--duration-slow) var(--ease),
		background-color var(--duration-slow) var(--ease),
		box-shadow var(--duration-slow) var(--ease);
}

/* Hover: the row fills, the border darkens and the CTA goes crimson.

   The section sits on --color-bg-alt, and a hovered row takes that same grey
   (Domagoj, 2026-09-25): the white card sinks into the ground, and the navy
   border and shadow keep its edge.

   The crimson is a gradient, and background-image does not interpolate — a
   straight swap snapped. It is painted on a pseudo-element instead and its
   OPACITY is animated, which does. */
.event-row:hover {
	border-color: var(--color-navy);
	background-color: var(--color-bg-alt);
	box-shadow: var(--shadow-md);
}

.event-row__cta {
	position: relative;
	z-index: 1;
	isolation: isolate;
	overflow: hidden;
	cursor: pointer;
	border: 0;
}

.event-row__cta::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(90deg, #8f0031 0%, var(--color-crimson) 100%);
	opacity: 0;
	transition: opacity var(--duration-slow) var(--ease);
}

.event-row:hover .event-row__cta::before {
	opacity: 1;
}

@media (min-width: 64em) {
	.event-row {
		/* [figma] date block 49→301, body 301→1012, 200px pill, 48px tail. */
		grid-template-columns: 15.75rem 1fr auto;
		align-items: center;
		gap: var(--space-6);
		min-height: 8.75rem;                 /* 140 [figma] */
		padding: var(--space-6) 3rem var(--space-6) 3.0625rem;
	}
}

/* --- Date ------------------------------------------------------------------ */

.event-row__date {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
}

@media (min-width: 64em) {
	.event-row__date {
		display: block;
	}
}

/* [figma] Lora Regular 52 in navy. */
.event-row__day {
	display: block;
	font-family: var(--font-display);
	font-size: var(--fs-display-lg);
	line-height: var(--lh-flat);
	color: var(--color-navy);
}

/* [figma] Lora Regular 16 in #908d8d, uppercase. */
.event-row__month {
	display: block;
	font-family: var(--font-display);
	font-size: var(--fs-ui-base);
	line-height: var(--lh-flat);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--color-ink-400);
}

@media (min-width: 64em) {
	.event-row__month {
		margin-block-start: var(--space-3);
	}
}

/* --- Body ------------------------------------------------------------------ */

.event-row__body { min-width: 0; }

/* Online or live — not in the design, asked for so the format reads at a glance
   (Domagoj, 2026-09-24). It follows the same rule as the booking popup's
   format: online when the location says so, or the event is a webinar. */
.event-row__tag {
	display: inline-flex;
	align-items: center;
	margin-block-end: var(--space-3);
	padding: var(--space-1) 0.625rem;
	border-radius: var(--radius-full);
	font-family: var(--font-body);
	font-size: var(--fs-ui-2xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
}

@media (max-width: 47.99em) {
	.event-row__tag {
		padding: 0.1875rem var(--space-2);
		font-size: var(--fs-ui-3xs);         /* 10 */
		letter-spacing: 0.06em;
	}
}

.event-row__tag--online {
	background-color: color-mix(in srgb, var(--color-navy) 10%, transparent);
	color: var(--color-navy);
}

.event-row__tag--live {
	background-color: color-mix(in srgb, var(--color-crimson) 10%, transparent);
	color: var(--color-crimson);
}

/* [figma] Lora Regular 24 in navy. */
.event-row__title {
	font-family: var(--font-display);
	font-size: var(--fs-editorial-lg);
	font-weight: var(--fw-regular);
	line-height: var(--lh-tight);
	color: var(--color-navy);
}

/* Only the title itself is a link — no stretched overlay over the row.
   "Reserve a seat" opens the booking popup (data-bib-open="event"). */
.event-row__title a {
	color: inherit;
	text-decoration: none;
}

.event-row:hover .event-row__title a,
.event-row:focus-within .event-row__title a {
	color: var(--color-crimson);
}

/* [figma] Lora Regular 14/22 in navy. */
.event-row__meta {
	margin-block-start: var(--space-3);
	font-family: var(--font-display);
	font-size: var(--fs-ui-sm);
	line-height: 1.571;                      /* 22 / 14 [figma] */
	color: var(--color-navy);
}

.event-row__cta {
	justify-self: start;
	min-width: 12.5rem;                      /* 200 [figma] */
}

/* --- "More to discover" — the events modal trigger -------------------------
   [figma] 747:4578-4581. The eyebrow carries NO dot here, the heading sits on
   two lines, and the trigger is an underlined text link with a trailing arrow
   (node 747:4581, 198x16) — not a pill button. */

.events-more {
	text-align: center;
}

.events-more .eyebrow {
	justify-content: center;
}

.events-more .eyebrow::before { display: none; }

.events-more h2 {
	max-width: 24ch;
	margin-inline: auto;
}

.events-more__text {
	max-width: 57rem;
	margin-inline: auto;
	margin-block-start: var(--space-6);
}

.events-more__cta {
	margin-block-start: var(--space-10);
	text-align: center;
}

/* [figma] an underlined text link with an arrow, not a button. */
.events-more__link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-4);
	padding-block-end: var(--space-2);
	border-block-end: 1px solid var(--color-navy);
	font-family: var(--font-body);
	font-size: var(--fs-ui-lg);
	font-weight: var(--fw-medium);
	color: var(--color-navy);
	text-decoration: none;
	transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.events-more__link:hover {
	color: var(--color-crimson);
	border-block-end-color: var(--color-crimson);
}

.events-more__link svg {
	transition: transform var(--duration) var(--ease);
}

.events-more__link:hover svg {
	transform: translateX(4px);
}
