/* Other Events page shortcode */

.wte-oe-page {
	--wte-oe-teal: #008880;
	--wte-oe-gold: #c9a227;
	--wte-oe-muted: #8a9a9a;
	--wte-oe-text: #3a5555;
	--wte-oe-radius: 16px;

	/* Shell matches header; content below stays narrower */
	width: min(100% - 40px, var(--wte-container, 1180px));
	margin: 2.75rem auto 4.5rem;
	padding: 0 0 2.5rem;
	box-sizing: border-box;
	font-family: "Libre Franklin", "Segoe UI", Tahoma, sans-serif;
	color: var(--wte-oe-text);
}

.wte-oe-page *,
.wte-oe-page *::before,
.wte-oe-page *::after {
	box-sizing: border-box;
}

.wte-oe-page > *:not(.wte-oe-hero) {
	width: min(100%, 1100px);
	margin-left: auto;
	margin-right: auto;
}

/* Hero — same width as header */
.wte-oe-hero {
	width: 100%;
	margin: 0 0 2.75rem;
}

.wte-oe-hero__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: clamp(180px, 26vw, 260px);
	border-radius: var(--wte-oe-radius);
	overflow: hidden;
	background: #1a3a3a;
	box-shadow: 0 8px 28px rgba(0, 40, 40, 0.16);
}

.wte-oe-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.wte-oe-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.18) 100%);
	z-index: 1;
	pointer-events: none;
}

.wte-oe-hero__title {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	color: #fff;
	font-size: clamp(1.45rem, 3.8vw, 2.5rem);
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.1;
	text-transform: uppercase;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
	white-space: nowrap;
	text-align: left;
}

/* Event cards */
.wte-oe-list {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.wte-oe-card__title {
	margin: 0 0 0.85rem;
	color: var(--wte-oe-gold);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wte-oe-card__media {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 70, 70, 0.1);
	line-height: 0;
	background: #d9e8e8;
}

.wte-oe-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

.wte-oe-card__meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.15rem 2.5rem;
	margin: 1.35rem 0 1.75rem;
}

.wte-oe-card__meta-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.wte-oe-card__meta-label {
	color: var(--wte-oe-muted);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.wte-oe-card__meta-value {
	color: var(--wte-oe-teal);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.wte-oe-card__about-title {
	margin: 0 0 0.85rem;
	color: var(--wte-oe-teal);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wte-oe-card__about-text {
	color: #5a7272;
	font-size: 0.95rem;
	line-height: 1.75;
}

.wte-oe-card__about-text p {
	margin: 0 0 1rem;
}

.wte-oe-card__about-text p:last-child {
	margin-bottom: 0;
}

@media (max-width: 700px) {
	.wte-oe-page {
		width: min(100% - 32px, var(--wte-container, 1180px));
		padding: 0 0 2rem;
		margin-top: 2rem;
		margin-bottom: 3.5rem;
	}

	.wte-oe-hero {
		margin-bottom: 2rem;
	}

	.wte-oe-hero__title {
		white-space: normal;
		font-size: clamp(1.3rem, 7vw, 1.9rem);
	}

	.wte-oe-list {
		gap: 2.25rem;
	}

	.wte-oe-card__meta {
		grid-template-columns: 1fr;
		gap: 0.9rem;
	}

	.wte-oe-card__media img {
		aspect-ratio: 16 / 9;
	}
}
