/*
 * Events: the Events page (archive-event.php) and the event page (single-event.php).
 * Values from Figma "Events — Archive" (node 2142:1510) and "Events — Event" (node 2142:1906).
 * Loaded only on those pages (see functions.php). Colours are the presets of theme.json.
 * The hero and the filter chips are the ones of the About and News pages (style.css).
 */

/* ---- Small things used on both pages ---- */

/* Eyebrow: small uppercase label above a heading */
.talos-event-eyebrow {
	margin: 0;
	font-family: "Chakra Petch", "Inter", sans-serif;
	font-size: 12px;
	line-height: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sky-strong);
}

/* The two tags on the photo of an event: its type (a colour for each type) and how it takes place */
.talos-event-tag {
	display: inline-block;
	box-sizing: border-box;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--sky-strong);
	font-family: "Chakra Petch", "Inter", sans-serif;
	font-size: 11px;
	line-height: normal;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wp--preset--color--white);
}

.talos-event-tag--info-day,
.talos-cal__dot--info-day,
.talos-cal__day--info-day.has-event > a::after {
	background: var(--wp--preset--color--sky-strong);
}

.talos-event-tag--ideathon,
.talos-cal__dot--ideathon,
.talos-cal__day--ideathon.has-event > a::after {
	background: var(--wp--preset--color--green);
}

.talos-event-tag--hackathon,
.talos-cal__dot--hackathon,
.talos-cal__day--hackathon.has-event > a::after {
	background: var(--wp--preset--color--blue);
}

.talos-event-tag--summer-school,
.talos-cal__dot--summer-school,
.talos-cal__day--summer-school.has-event > a::after {
	background: var(--wp--preset--color--lime);
}

.talos-event-tag--webinar,
.talos-cal__dot--webinar,
.talos-cal__day--webinar.has-event > a::after {
	background: var(--wp--preset--color--navy);
}

/* Light tags need dark text */
.talos-event-tag--ideathon,
.talos-event-tag--summer-school {
	color: var(--wp--preset--color--navy-deep);
}

.talos-event-tag--format {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

/* ---- One event in a list ---- */
.talos-event-row {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 16px 28px 16px 16px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 24px;
	background: var(--wp--preset--color--white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.talos-event-row:hover {
	border-color: var(--wp--preset--color--sky);
	box-shadow: 0 8px 24px rgba(21, 45, 121, 0.06);
}

.talos-event-row__cover {
	position: relative;
	display: block;
	flex: none;
	box-sizing: border-box;
	width: 240px;
	height: 180px;
	overflow: hidden;
	border-radius: 16px;
	background: var(--wp--preset--color--sky-soft);
}

.talos-event-row__cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.talos-event-row__tags {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 12px;
}

.talos-event-row__body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.talos-event-row__date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.talos-event-row__date img,
.talos-event-row__place img {
	flex: none;
	width: 16px;
	height: 16px;
}

.talos-event-row__day {
	font-size: 18px;
	font-weight: 600;
	line-height: 23.4px;
	color: var(--wp--preset--color--sky-strong);
}

/* The dot and the time wrap together, so a dot never ends a line */
.talos-event-row__when-time {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

/* A date range is long: the time sits on its own line, so it needs no dot in front */
.talos-event-row__date.is-range .talos-event-row__dot {
	display: none;
}

.talos-event-row__dot {
	font-size: 18px;
	font-weight: 600;
	line-height: 23.4px;
	color: var(--wp--preset--color--text-tertiary);
}

.talos-event-row__time {
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	color: var(--wp--preset--color--text-secondary);
}

.talos-event-row__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1.76px;
	color: var(--wp--preset--color--navy);
}

.talos-event-row__title a {
	color: inherit;
	text-decoration: none;
}

/* The title link covers the whole card, so the card is one link. The buttons on the right sit above it. */
.talos-event-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 24px;
}

.talos-event-row__title a:focus-visible {
	outline: none;
}

.talos-event-row__title a:focus-visible::after {
	outline: 2px solid var(--wp--preset--color--sky-strong);
	outline-offset: 2px;
}

/* No underline on any link of a card, whatever the theme does on hover */
.talos-event-row a,
.talos-event-row a:hover,
.talos-event-row a:focus-visible {
	text-decoration: none;
}

.talos-event-row__place {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	color: var(--wp--preset--color--text-secondary);
}

.talos-event-row__text {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	font-size: 15px;
	line-height: 23.25px;
	color: var(--wp--preset--color--text-secondary);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.talos-event-row__actions {
	position: relative;
	z-index: 1;
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	pointer-events: none; /* the empty space around the buttons clicks through to the card */
}

.talos-event-row__actions a {
	pointer-events: auto;
}

.talos-event-row__button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 58px;
	padding: 0 28px;
	border-radius: 14px;
	background: var(--wp--preset--color--navy);
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	white-space: nowrap;
	color: var(--wp--preset--color--white);
	transition: background-color 0.2s ease;
}

.talos-event-row__button:hover,
.talos-event-row__button:focus-visible {
	background: var(--wp--preset--color--navy-deep);
}

.talos-event-row__calendar {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	text-decoration: none;
	white-space: nowrap;
	color: var(--wp--preset--color--sky-strong);
	transition: color 0.2s ease;
}

.talos-event-row__calendar:hover,
.talos-event-row__calendar:focus-visible {
	color: var(--wp--preset--color--blue);
}

/* ---- The Events page: list + sidebar (880 + 40 + 360 = 1280) ---- */
.talos-events {
	box-sizing: border-box;
	padding: 56px 80px 96px;
}

.talos-events__inner {
	display: grid;
	grid-template-columns: minmax(0, 880px) 360px;
	align-items: start;
	gap: 40px;
	max-width: 1280px;
	margin: 0 auto;
}

.talos-events__main {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

/* Upcoming / Past events: a pill with two buttons */
.talos-events__tabs {
	display: flex;
	align-self: flex-start;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: var(--wp--preset--color--page);
}

.talos-events__tab {
	box-sizing: border-box;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	text-decoration: none;
	white-space: nowrap;
	color: var(--wp--preset--color--navy);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.talos-events__tab:hover,
.talos-events__tab:focus-visible {
	background: var(--wp--preset--color--sky-soft);
}

.talos-events__tab.is-active,
.talos-events__tab.is-active:hover {
	border-color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

/* "November 2026" and a line to the right */
.talos-events__month {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
}

.talos-events__month-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.01em;
	white-space: nowrap;
	color: var(--wp--preset--color--navy);
}

.talos-events__month-line {
	flex: 1 1 0;
	min-width: 1px;
	height: 1px;
	background: var(--wp--preset--color--border-strong);
}

.talos-events__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.talos-events__list > li {
	margin: 0;
}

.talos-events__empty {
	margin: 0;
	padding: 32px 0;
	font-size: 17px;
	line-height: 27px;
	color: var(--wp--preset--color--text-secondary);
}

/* ---- Sidebar ---- */
.talos-events__side {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

/* Month calendar */
.talos-cal {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 24px;
	background: var(--wp--preset--color--white);
}

.talos-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.talos-cal__month {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 23.4px;
	color: var(--wp--preset--color--navy);
}

.talos-cal__nav {
	display: flex;
	gap: 6px;
}

.talos-cal__arrow {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0.75px solid var(--wp--preset--color--border-strong);
	border-radius: 18px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.talos-cal__arrow:hover,
.talos-cal__arrow:focus-visible {
	background: var(--wp--preset--color--sky-soft);
}

.talos-cal__arrow--next {
	border-color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

.talos-cal__arrow--next:hover,
.talos-cal__arrow--next:focus-visible {
	background: var(--wp--preset--color--navy-deep);
}

.talos-cal__grid {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0 4px;
}

.talos-cal__grid th,
.talos-cal__grid td {
	height: 40px;
	padding: 0;
	border: 0;
	text-align: center;
}

.talos-cal__grid th {
	font-family: "Chakra Petch", "Inter", sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.5px;
	color: var(--wp--preset--color--text-tertiary);
}

.talos-cal__day > a,
.talos-cal__day > span {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 44px;
	height: 40px;
	margin: 0 auto;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	text-decoration: none;
	color: var(--wp--preset--color--navy);
}

.talos-cal__day.is-other > span {
	color: var(--wp--preset--color--text-tertiary);
}

/* Today: a ring, no fill */
.talos-cal__day.is-today > a,
.talos-cal__day.is-today > span {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--navy);
}

/* A day with an event: light blue, a dot in the colour of the type */
.talos-cal__day.has-event > a {
	background: var(--wp--preset--color--sky-soft);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.talos-cal__day.has-event > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--sky-strong);
}

.talos-cal__day.has-event > a:hover,
.talos-cal__day.has-event > a:focus-visible {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

.talos-cal__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.talos-cal__legend li {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 12px;
	line-height: normal;
	color: var(--wp--preset--color--text-secondary);
}

.talos-cal__dot {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

/* Cards under the calendar */
.talos-events__card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	border-radius: 24px;
}

.talos-events__card--subscribe {
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--page);
}

.talos-events__card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 23.4px;
	color: var(--wp--preset--color--navy);
}

.talos-events__card-text {
	margin: 0;
	font-size: 14px;
	line-height: normal;
	color: var(--wp--preset--color--text-secondary);
}

.talos-events__sub-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	text-decoration: none;
	color: var(--wp--preset--color--sky-strong);
	transition: color 0.2s ease;
}

.talos-events__sub-link:hover,
.talos-events__sub-link:focus-visible {
	color: var(--wp--preset--color--blue);
}

/* The calendar icon is a mask, so it takes the colour of the text (sky, and blue on hover) */
.talos-events__sub-icon {
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--talos-icon) center / contain no-repeat;
	mask: var(--talos-icon) center / contain no-repeat;
}

.talos-events__card--host {
	align-items: flex-start;
	gap: 14px;
	padding: 28px;
	background: var(--wp--preset--color--astronaut);
}

.talos-events__host-eyebrow {
	margin: 0;
	font-family: "Chakra Petch", "Inter", sans-serif;
	font-size: 12px;
	line-height: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--lime);
}

.talos-events__host-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1.76px;
	color: var(--wp--preset--color--white);
}

.talos-events__host-text {
	margin: 0;
	font-size: 14px;
	line-height: normal;
	color: var(--wp--preset--color--white);
}

.talos-events__host-button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 12px;
	background: var(--wp--preset--color--white);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	color: var(--wp--preset--color--navy-deep);
	transition: background-color 0.2s ease;
}

.talos-events__host-button:hover,
.talos-events__host-button:focus-visible {
	background: #D1DF83;
}

/* ---- The event page: details (844 + 56 + 380 = 1280) ---- */
.talos-event-details {
	box-sizing: border-box;
	padding: 72px 80px;
}

.talos-event-details__inner {
	display: grid;
	grid-template-columns: minmax(0, 844px) 380px;
	align-items: start;
	gap: 56px;
	max-width: 1280px;
	margin: 0 auto;
}

.talos-event-details__main {
	display: flex;
	flex-direction: column;
	gap: 48px;
	min-width: 0;
}

.talos-event-cover {
	height: 420px;
	overflow: hidden;
	border-radius: 28px;
	background: var(--wp--preset--color--sky-soft);
}

.talos-event-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.talos-event-about {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.talos-event-about__text > * {
	margin: 0;
}

.talos-event-about__text > * + * {
	margin-block-start: 16px;
}

.talos-event-about__text h2,
.talos-event-about__text h3 {
	font-size: 36px;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--navy);
}

.talos-event-about__text p,
.talos-event-about__text li {
	font-size: 17px;
	line-height: 27px;
	color: var(--wp--preset--color--text-secondary);
}

.talos-event-about__text ul,
.talos-event-about__text ol {
	padding-left: 24px;
}

.talos-event-about__text a {
	color: var(--wp--preset--color--blue);
}

.talos-event-block-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.talos-event-block-title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.04em;
	color: var(--wp--preset--color--navy);
}

/* Programme */
.talos-event-agenda .talos-event-block-head {
	padding-bottom: 20px;
}

.talos-event-agenda__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.talos-event-agenda__item {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid var(--wp--preset--color--border);
}

.talos-event-agenda__when {
	display: flex;
	flex: none;
	flex-direction: column;
	gap: 2px;
	width: 110px;
}

.talos-event-agenda__day {
	font-family: "Chakra Petch", "Inter", sans-serif;
	font-size: 11px;
	line-height: normal;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--wp--preset--color--sky-strong);
}

.talos-event-agenda__time {
	font-size: 18px;
	font-weight: 600;
	line-height: 23.4px;
	color: var(--wp--preset--color--navy);
}

.talos-event-agenda__what {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.talos-event-agenda__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 23.4px;
	color: var(--wp--preset--color--navy);
}

.talos-event-agenda__text {
	margin: 0;
	font-size: 14px;
	line-height: normal;
	color: var(--wp--preset--color--text-secondary);
}

/* Speakers */
.talos-event-speakers {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.talos-event-speakers__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.talos-event-speaker {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	text-align: center;
}

.talos-event-speaker__photo {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--wp--preset--color--sky-soft);
	font-size: 26px;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
}

.talos-event-speaker__photo img {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: cover;
}

.talos-event-speaker__name {
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	color: var(--wp--preset--color--navy);
}

.talos-event-speaker__role {
	font-size: 13px;
	line-height: 1.3;
	color: var(--wp--preset--color--text-secondary);
}

/* Location */
.talos-event-location {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.talos-event-map {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	border-radius: 24px;
	background: var(--wp--preset--color--sky-soft);
	text-decoration: none;
}

.talos-event-map__pin {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	color: var(--wp--preset--color--navy);
	transition: box-shadow 0.2s ease;
}

/* A map shown in the page */
.talos-event-map--embed {
	display: block;
	overflow: hidden;
}

.talos-event-map--embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.talos-event-location__venue {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	color: var(--wp--preset--color--navy);
}

a.talos-event-map:hover .talos-event-map__pin,
a.talos-event-map:focus-visible .talos-event-map__pin {
	box-shadow: 0 6px 18px rgba(21, 45, 121, 0.18);
}

.talos-event-location__note {
	margin: 0;
	font-size: 14px;
	line-height: normal;
	color: var(--wp--preset--color--text-secondary);
}

/* ---- Registration card + calendar (the right column stays in view while scrolling) ---- */
.talos-event-details__side {
	position: sticky;
	top: calc(var(--talos-header-offset) + 16px); /* below the sticky header */
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.talos-event-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px;
	border-radius: 28px;
	background: var(--wp--preset--color--astronaut);
	color: var(--wp--preset--color--white);
}

.talos-event-card__when {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* The date tile: the design draws white text on a white tile, so the tile here is a soft glass square */
.talos-event-card__tile {
	box-sizing: border-box;
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 76px;
	border: 1px solid var(--wp--preset--color--sky);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.1);
}

.talos-event-card__tile-day {
	font-size: 32px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.04em;
}

.talos-event-card__tile-month {
	font-family: "Chakra Petch", "Inter", sans-serif;
	font-size: 11px;
	line-height: normal;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--wp--preset--color--lime);
}

.talos-event-card__when-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.talos-event-card__date {
	font-size: 18px;
	font-weight: 600;
	line-height: 23.4px;
}

.talos-event-card__time {
	font-size: 14px;
	line-height: normal;
}

.talos-event-card__info {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.talos-event-card__info img {
	flex: none;
	margin-top: 2px;
}

.talos-event-card__info > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.talos-event-card__label {
	font-family: "Chakra Petch", "Inter", sans-serif;
	font-size: 11px;
	line-height: normal;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--wp--preset--color--lime);
}

.talos-event-card__value {
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
}

.talos-event-card__places {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.talos-event-card__places-row {
	display: flex;
	justify-content: space-between;
	margin: 0;
	font-size: 12px;
	line-height: normal;
}

.talos-event-card__places-row strong {
	font-weight: 600;
}

.talos-event-card__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
}

.talos-event-card__track span {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: var(--wp--preset--color--lime);
}

.talos-event-card__button {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 12px;
	background: var(--wp--preset--color--white);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	color: var(--wp--preset--color--navy-deep);
	transition: background-color 0.2s ease;
}

.talos-event-card__button:hover,
.talos-event-card__button:focus-visible {
	background: var(--wp--preset--color--lime);
}

.talos-event-card__note {
	margin: 0;
	font-size: 12px;
	line-height: normal;
}

.talos-event-card__note--status {
	font-size: 15px;
	font-weight: 600;
}

.talos-event-calendar {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 24px;
	background: var(--wp--preset--color--white);
}

.talos-event-calendar__title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	color: var(--wp--preset--color--navy);
}

.talos-event-calendar__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.talos-event-calendar__options li {
	margin: 0;
}

.talos-event-calendar__options a {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 999px;
	background: var(--wp--preset--color--page);
	font-size: 12px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	color: var(--wp--preset--color--navy);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.talos-event-calendar__options a:hover,
.talos-event-calendar__options a:focus-visible {
	border-color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--white);
}

/* ---- Registration form ---- */
.talos-event-register {
	box-sizing: border-box;
	padding: 96px 80px;
	background: var(--wp--preset--color--white);
}

.talos-event-register__inner {
	display: flex;
	align-items: flex-start;
	gap: 64px;
	max-width: 1280px;
	margin: 0 auto;
}

.talos-event-register__intro {
	display: flex;
	flex: none;
	flex-direction: column;
	gap: 14px;
	width: 420px;
}

.talos-event-register__title {
	margin: 0;
	font-size: 50px;
	font-weight: 700;
	line-height: 50px;
	letter-spacing: -0.045em;
	color: var(--wp--preset--color--navy);
}

.talos-event-register__lead {
	margin: 0;
	font-size: 17px;
	line-height: 27px;
	color: var(--wp--preset--color--text-secondary);
}

.talos-event-register__panel {
	box-sizing: border-box;
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 40px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 28px;
	background: var(--wp--preset--color--page);
}

.talos-event-register__notice {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-size: 15px;
	line-height: 23.25px;
}

.talos-event-register__notice strong {
	font-weight: 600;
}

.talos-event-register__notice--ok {
	border-color: var(--wp--preset--color--lime);
	background: var(--wp--preset--color--lime-soft);
	color: var(--wp--preset--color--navy-deep);
}

.talos-event-register__notice--error {
	border-color: #f2b8b8;
	background: #fdeded;
	color: #7a1d1d;
}

.talos-reg-form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* The robot trap: out of sight for people */
.talos-reg-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.talos-reg-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.talos-reg-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.talos-reg-form__field > span:first-child {
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	color: var(--wp--preset--color--navy);
}

.talos-reg-form input[type="text"],
.talos-reg-form input[type="email"],
.talos-reg-form select {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 15px 18px;
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 14px;
	background: var(--wp--preset--color--white);
	font: inherit;
	font-size: 15px;
	line-height: 23.25px;
	color: var(--wp--preset--color--navy);
}

.talos-reg-form input::placeholder {
	color: var(--wp--preset--color--text-tertiary);
	opacity: 1;
}

.talos-reg-form input:focus-visible,
.talos-reg-form select:focus-visible {
	outline: 2px solid var(--wp--preset--color--sky-strong);
	outline-offset: 1px;
}

.talos-reg-form__select {
	position: relative;
	display: block;
}

.talos-reg-form__select select {
	padding-right: 46px;
	appearance: none;
	cursor: pointer;
}

.talos-reg-form__select img {
	position: absolute;
	top: 50%;
	right: 18px;
	transform: translateY(-50%);
	pointer-events: none;
}

.talos-reg-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--wp--preset--color--text-secondary);
}

.talos-reg-form__consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--wp--preset--color--navy);
}

.talos-reg-form__consent a {
	color: var(--wp--preset--color--navy);
}

.talos-reg-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.talos-reg-form__submit {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 58px;
	margin: 0;
	padding: 0 28px;
	border: 0;
	border-radius: 14px;
	background: var(--wp--preset--color--navy);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	cursor: pointer;
	color: var(--wp--preset--color--white);
	transition: background-color 0.2s ease;
}

.talos-reg-form__submit:hover,
.talos-reg-form__submit:focus-visible {
	background: var(--wp--preset--color--navy-deep);
}

.talos-reg-form__partner {
	font-size: 14px;
	font-weight: 600;
	line-height: 18.9px;
	text-decoration: none;
	color: var(--wp--preset--color--sky-strong);
	transition: color 0.2s ease;
}

.talos-reg-form__partner:hover,
.talos-reg-form__partner:focus-visible {
	color: var(--wp--preset--color--blue);
}

/* ---- More events ---- */
.talos-event-more {
	box-sizing: border-box;
	padding: 96px 80px;
}

.talos-event-more__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
}

.talos-event-more__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.talos-event-more__head > div {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.talos-event-more__title {
	margin: 0;
	font-size: 50px;
	font-weight: 700;
	line-height: 50px;
	letter-spacing: -0.045em;
	color: var(--wp--preset--color--navy);
}

/* ---- Tablet and mobile (no Figma design yet): one column ---- */
@media (max-width: 1100px) {
	.talos-events,
	.talos-event-details,
	.talos-event-register,
	.talos-event-more {
		padding-right: var(--talos-gutter);
		padding-left: var(--talos-gutter);
	}

	.talos-events__inner,
	.talos-event-details__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.talos-event-details__side {
		position: static;
	}

	.talos-event-register__inner {
		flex-direction: column;
		gap: 40px;
	}

	.talos-event-register__intro {
		width: auto;
	}

	.talos-event-row {
		flex-direction: column;
		align-items: stretch;
		padding: 16px;
	}

	.talos-event-row__cover {
		width: 100%;
	}

	.talos-event-row__actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}
}

@media (max-width: 640px) {
	.talos-events,
	.talos-event-details,
	.talos-event-register,
	.talos-event-more {
		padding-right: var(--talos-gutter);
		padding-left: var(--talos-gutter);
	}

	.talos-events {
		padding-top: 40px;
		padding-bottom: 64px;
	}

	.talos-event-details {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.talos-event-register,
	.talos-event-more {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.talos-event-cover {
		height: 240px;
		border-radius: 20px;
	}

	.talos-event-register__panel {
		padding: 24px 20px;
		border-radius: 20px;
	}

	.talos-reg-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.talos-event-register__title,
	.talos-event-more__title {
		font-size: 38px;
		line-height: 40px;
	}

	.talos-event-about__text h2,
	.talos-event-about__text h3 {
		font-size: 28px;
		line-height: 32px;
	}

	.talos-event-agenda__item {
		flex-direction: column;
		gap: 8px;
	}

	.talos-event-agenda__when {
		flex-direction: row;
		align-items: baseline;
		gap: 10px;
		width: auto;
	}

	.talos-event-more__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.talos-event-map {
		height: 220px;
	}
}
