/* SILHO Prestige Event Calendar */

.silho-events-calendar-page {
	background: #050505;
	color: #ffffff;
	min-height: 100vh;
}

/* Main width */
.silho-events-wrap {
	width: min(1320px, calc(100% - 64px));
	margin: 0 auto;
}

/* Hero */
.silho-events-hero {
	padding: 72px 0 44px;
	text-align: center;
	background:
		linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.96)),
		#050505;
}

.silho-events-eyebrow {
	margin: 0 0 18px;
	color: #d2aa69;
	font-size: 15px;
	letter-spacing: .28em;
	text-transform: uppercase;
	font-weight: 500;
}

.silho-events-hero h1 {
	font-family: "Montserrat", sans-serif;
	font-size: clamp(44px, 5vw, 72px);
	font-weight: 400;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1;
	color: #ffffff;
}

.silho-events-intro {
	max-width: 720px;
	margin: 24px auto 0;
	color: rgba(255, 255, 255, .76);
	font-size: 18px;
	line-height: 1.65;
}

/* Calendar section */
.silho-events-calendar {
	background: #050505;
	padding: 36px 0 88px;
}

/* Month tabs */
.silho-month-tabs {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0 auto 30px;
	padding: 18px 24px;
	background: linear-gradient(180deg, #111111 0%, #080808 100%);
	border: 1px solid rgba(210, 170, 105, .22);
	border-radius: 12px;
}

.silho-month-tab {
	background: transparent !important;
	border: 0;
	border-bottom: 2px solid transparent;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 10px 8px;
	transition: color .25s ease, border-color .25s ease, opacity .25s ease;
	opacity: .82;
	box-shadow: none !important;
}

.silho-month-tab:hover,
.silho-month-tab.is-active {
	color: #d2aa69 !important;
	background: transparent !important;
	border-bottom-color: #d2aa69 !important;
	opacity: 1;
	box-shadow: none !important;
}

/* Mobile select */
.silho-month-select-wrap {
	display: none;
	margin: 0 0 30px;
}

.silho-month-select {
	width: 100%;
	background: #0b0b0c;
	border: 1px solid rgba(210, 170, 105, .45);
	color: #d2aa69;
	padding: 16px 18px;
	text-transform: uppercase;
	letter-spacing: .14em;
}

/* Month visibility */
.silho-events-month {
	display: none;
}

.silho-events-month.is-active {
	display: block;
	animation: silhoFadeIn .35s ease both;
}

@keyframes silhoFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Editorial masonry grid */
.silho-events-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 120px;
	gap: 24px;
}

/* Cards */
.silho-event-card {
	position: relative;
	display: block;
	width: 100%;
	min-height: 0;
	overflow: hidden;
	background: #111111;
	color: #ffffff;
	text-decoration: none;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .12);
}

/* Default card */
.silho-event-card {
	grid-column: span 2;
	grid-row: span 3;
}

/* Large vertical feature */
.silho-event-card:nth-child(5n+1) {
	grid-column: span 2;
	grid-row: span 4;
}

/* Standard wide-feel tile */
.silho-event-card:nth-child(5n+2) {
	grid-column: span 2;
	grid-row: span 3;
}

/* Tall editorial tile */
.silho-event-card:nth-child(5n+3) {
	grid-column: span 2;
	grid-row: span 4;
}

/* Medium tile */
.silho-event-card:nth-child(5n+4) {
	grid-column: span 2;
	grid-row: span 3;
}

/* Lower standard tile */
.silho-event-card:nth-child(5n+5) {
	grid-column: span 2;
	grid-row: span 3;
}

.silho-event-card__image {
	position: absolute;
	inset: 0;
}

.silho-event-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.01);
	transition: transform .55s ease, filter .55s ease;
}

.silho-event-card:hover img {
	transform: scale(1.07);
	filter: brightness(.86);
}

.silho-event-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 28px;
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, .34), transparent 40%),
		linear-gradient(to top, rgba(0, 0, 0, .9), transparent 62%);
}

/* Badges */
.silho-event-badge {
	align-self: flex-start;
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid rgba(210, 170, 105, .75);
	background: rgba(0, 0, 0, .55);
	color: #d2aa69;
	font-size: 10px;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.silho-event-badge--public {
	border-color: rgba(210, 170, 105, .75);
	color: #d2aa69;
}

.silho-event-badge--members-only {
	border-color: rgba(255, 255, 255, .45);
	color: #ffffff;
}

.silho-event-badge--invitation-only {
	border-color: rgba(210, 170, 105, .9);
	background: rgba(210, 170, 105, .12);
	color: #d2aa69;
}

.silho-event-badge--coming-soon {
	border-color: rgba(255, 255, 255, .22);
	color: rgba(255, 255, 255, .58);
}

/* Card typography */
.silho-event-card__content h2 {
	margin: 0 0 10px;
	color: #ffffff;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.05;
}

.silho-event-card__content p {
	margin: 0;
	color: #d2aa69;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.45;
}

/* Empty month */
.silho-events-empty {
	border: 1px solid rgba(210, 170, 105, .2);
	background: rgba(255, 255, 255, .025);
	padding: 64px 28px;
	text-align: center;
}

.silho-events-empty p {
	margin: 0;
	color: rgba(255, 255, 255, .62);
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Tablet */
@media (max-width: 1024px) {
	.silho-events-grid {
		grid-template-columns: repeat(4, 1fr);
		grid-auto-rows: 115px;
	}

	.silho-event-card,
	.silho-event-card:nth-child(5n+1),
	.silho-event-card:nth-child(5n+2),
	.silho-event-card:nth-child(5n+3),
	.silho-event-card:nth-child(5n+4),
	.silho-event-card:nth-child(5n+5) {
		grid-column: span 2;
		grid-row: span 3;
	}
}

/* Mobile */
@media (max-width: 700px) {
	.silho-events-wrap {
		width: min(100% - 36px, 1240px);
	}

	.silho-events-hero {
		padding: 58px 0 38px;
	}

	.silho-events-eyebrow {
		font-size: 10px;
		letter-spacing: .22em;
		margin-bottom: 14px;
	}

	.silho-events-hero h1 {
		font-size: clamp(42px, 14vw, 68px);
		line-height: .95;
		letter-spacing: .06em;
		margin-bottom: 16px;
	}

	.silho-events-intro {
		font-size: 15px;
		line-height: 1.6;
		margin-top: 18px;
	}

	.silho-events-calendar {
		padding: 28px 0 72px;
	}

	.silho-month-tabs {
		display: none;
	}

	.silho-month-select-wrap {
		display: block;
	}

	.silho-events-grid {
		display: grid;
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 22px;
	}

	.silho-event-card,
	.silho-event-card:nth-child(5n+1),
	.silho-event-card:nth-child(5n+2),
	.silho-event-card:nth-child(5n+3),
	.silho-event-card:nth-child(5n+4),
	.silho-event-card:nth-child(5n+5) {
		grid-column: auto;
		grid-row: auto;
		min-height: 420px;
	}

	.silho-event-card__overlay {
		padding: 24px;
	}

	.silho-event-card__content h2 {
		font-size: 30px;
	}
}