/* Hilton Events — listing ([hilton_events]) + single event. Figma: Hilton Brand Update 2026 / Activities. */

.hev {
	--hev-navy: #002f61;
	--hev-border: #c0bab8;
	--hev-rule: rgba(0, 0, 0, 0.2);
	--hev-sans: "Hilton Sans Regular", Helvetica, Arial, sans-serif;
	--hev-sans-medium: "Hilton Sans Medium", Helvetica, Arial, sans-serif;
	--hev-sans-bold: "Hilton Sans Bold", Helvetica, Arial, sans-serif;
	--hev-serif: "Hilton Serif Medium", Georgia, serif;
	--hev-body: rgba(0, 0, 0, 0.7); /* site body copy on white */
	--hev-body-lh: 1.857; /* site body copy: 18px / 33.43px */
	--hev-width: 1334px;
	--hev-gutter: 20px;

	font-family: var(--hev-sans);
	color: #000;
	padding-bottom: 100px;
}

.hev *,
.hev *::before,
.hev *::after {
	box-sizing: border-box;
}

/* Child theme forces capitalize on all headings; event titles keep their authored case. */
.hev h1,
.hev h2,
.hev h3 {
	text-transform: none !important;
}

.hev-icon {
	width: 16px;
	height: 16px;
	flex: none;
}

/* ---------- Buttons ---------- */

.hev .hev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 49px;
	padding: 16px 25px;
	border-radius: 4px;
	background: var(--hev-navy);
	color: #fff;
	font-family: var(--hev-sans-medium);
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s;
}

.hev .hev-btn:hover,
.hev .hev-btn:focus-visible {
	background: #00498f;
	color: #fff;
}

.hev .hev-btn .hev-icon {
	width: 18px;
	height: 18px;
}

.hev-btn--next .hev-icon {
	transform: scaleX(-1);
}

.hev [hidden] {
	display: none !important;
}

/* ---------- Listing ---------- */

.hev .hev__title {
	margin: 0;
	padding: 60px var(--hev-gutter);
	text-align: center;
	font-family: var(--hev-serif);
	font-size: 48px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--hev-navy);
}

.hev__section {
	width: 100%;
	max-width: calc(var(--hev-width) + 2 * var(--hev-gutter));
	margin: 0 auto;
	padding: 20px var(--hev-gutter) 0;
}

.hev__section + .hev__section {
	margin-top: 50px;
}

.hev__rule {
	height: 1px;
	background: var(--hev-rule);
	margin-bottom: 30px;
}

.hev .hev__subtitle {
	margin: 0 0 25px;
	text-align: center;
	font-family: var(--hev-serif);
	font-size: 24px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--hev-navy);
}

.hev__monthnav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
	margin-bottom: 50px;
}

.hev__monthnav .hev-btn--prev {
	grid-column: 1;
	justify-self: start;
}

.hev__monthnav .hev-btn--next {
	grid-column: 3;
	justify-self: end;
}

.hev .hev__month {
	grid-column: 2;
	margin: 0;
	font-family: var(--hev-sans-medium);
	font-size: 34px;
	line-height: 1.2;
	font-weight: 500;
	color: var(--hev-navy);
	text-align: center;
}

.hev__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 50px 30px;
}

.hev__grid.is-loading {
	opacity: 0.5;
	transition: opacity 0.2s;
}

.hev .hev__empty {
	margin: 0;
	padding: 40px 0;
	text-align: center;
	font-size: 18px;
	line-height: var(--hev-body-lh);
	color: var(--hev-body);
}

.hev__more {
	margin-top: 50px;
	text-align: center;
}

/* ---------- Card ---------- */

.hev-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 425 / 397;
	min-height: 360px;
	padding-top: 40px;
	overflow: hidden;
	background: var(--hev-navy);
	color: #fff;
}

.hev-card__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* Figma: flat 20% black. Bottom gradient added so white titles stay legible on bright photos. */
.hev-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%), rgba(0, 0, 0, 0.2);
}

.hev-card:hover .hev-card__img,
.hev-card:focus-within .hev-card__img {
	transform: scale(1.04);
}

.hev-card__top,
.hev-card__bottom {
	position: relative;
	z-index: 2;
}

.hev-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	line-height: 1.2;
}

.hev-card__date,
.hev-card__time,
.hev-card__location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hev-card .hev-icon {
	opacity: 0.5;
}

.hev-card__date {
	padding: 12px 20px;
	background: var(--hev-navy);
	font-family: var(--hev-sans-bold);
}

.hev-card__bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	padding: 24px 25px;
	font-size: 16px;
	line-height: 1.2;
}

.hev-card__location {
	align-items: flex-start;
}

.hev .hev-card__title {
	margin: 0;
	max-width: 315px;
	font-family: var(--hev-serif);
	font-size: 30px;
	line-height: 1.3;
	font-weight: 500;
	color: #fff;
}

.hev .hev-card__title a {
	font: inherit;
	text-transform: inherit;
	color: inherit;
	text-decoration: none;
}

/* Whole card clickable. */
.hev .hev-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.hev .hev-card__title a:focus-visible {
	outline: none;
}

.hev-card:focus-within {
	outline: 3px solid var(--hev-navy);
	outline-offset: 3px;
}

/* ---------- Single event ---------- */

.hev-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 346px;
	background-color: var(--hev-navy);
	background-position: center;
	background-size: cover;
}

.hev-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 47, 97, 0.8);
}

.hev-hero__inner {
	position: relative;
	width: 100%;
	max-width: calc(var(--hev-width) + 2 * var(--hev-gutter));
	margin: 0 auto;
	padding: 0 var(--hev-gutter) 44px;
}

.hev-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 364px;
	grid-template-areas:
		"image details"
		"body  details";
	column-gap: 60px;
	align-items: start;
	width: 100%;
	max-width: calc(var(--hev-width) + 2 * var(--hev-gutter));
	margin: 0 auto;
	padding: 54px var(--hev-gutter) 80px;
}

.hev-single__image {
	grid-area: image;
	margin: 0;
}

.hev-single__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 923 / 561;
	object-fit: cover;
}

.hev-single__body {
	grid-area: body;
	max-width: 716px;
	padding-top: 30px;
}

.hev .hev-single__title {
	margin: 0 0 19px;
	font-family: var(--hev-serif);
	font-size: 30px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--hev-navy);
}

.hev-single__content,
.hev .hev-single__content p,
.hev .hev-single__content li {
	font-size: 18px;
	line-height: var(--hev-body-lh);
	color: var(--hev-body);
}

.hev-single__content p {
	margin: 0 0 1.2em;
}

.hev-single__content ul {
	margin: 0 0 1.2em 1.2em;
	padding: 0;
}

.hev-single__details {
	grid-area: details;
	margin-top: -4px;
}

.hev .hev-single__details-title {
	margin: 0 0 10px;
	font-family: var(--hev-serif);
	font-size: 20px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--hev-navy);
}

.hev-details {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 35px;
	border: 1px solid var(--hev-border);
}

.hev-details dt {
	margin: 0 0 2px;
	font-family: var(--hev-sans-bold);
	font-size: 16px;
	line-height: 1.3;
	color: var(--hev-navy);
}

.hev-details dd {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	color: var(--hev-body);
}

/* Event Link / More Info buttons under the Event Details box. */
.hev-single__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
}

.hev .hev-btn--secondary {
	border: 1px solid var(--hev-navy);
	background: #fff;
	color: var(--hev-navy);
}

.hev .hev-btn--secondary:hover,
.hev .hev-btn--secondary:focus-visible {
	background: var(--hev-navy);
	color: #fff;
}

.hev-single__related {
	padding-top: 20px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
	.hev__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hev-single__layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		column-gap: 40px;
	}
}

/* ---------- Mobile (Figma 440) ---------- */

@media (max-width: 767px) {
	.hev .hev__title {
		padding: 30px var(--hev-gutter);
		font-size: 35px;
	}

	.hev .hev__subtitle {
		font-size: 20px;
	}

	.hev__monthnav {
		margin-bottom: 30px;
	}

	.hev__monthnav .hev-btn {
		min-width: 0;
		padding: 16px 14px;
	}

	.hev .hev__month {
		font-size: 24px;
	}

	.hev__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.hev-card {
		aspect-ratio: 400 / 397;
		min-height: 0;
	}

	.hev-hero {
		min-height: 234px;
	}

	.hev-hero__inner {
		padding: 0 34px 31px;
	}

	.hev-hero .hev-btn--back {
		width: 100%;
	}

	.hev-single__layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"image"
			"body"
			"details";
		padding: 32px 28px 40px;
	}

	.hev-single__image img {
		aspect-ratio: 377 / 229;
	}

	.hev-single__body {
		padding: 30px 10px 0;
	}

	.hev-single__content,
	.hev .hev-single__content p,
	.hev .hev-single__content li {
		font-size: 16px;
	}

	.hev-single__details {
		margin-top: 40px;
		padding: 0 10px;
	}

	.hev-details dd {
		font-size: 16px;
	}
}
