/* ============ EVENTS LIST ============ */
.evm-events-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	box-sizing: border-box;
}
.evm-filter {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin: 0 0 40px;
	flex-wrap: wrap;
}
.evm-filter-btn {
	padding: 12px 28px;
	border: 2px solid #2c3e50;
	background: transparent;
	color: #2c3e50;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	border-radius: 30px;
	transition: all 0.3s ease;
	font-family: inherit;
	line-height: 1;
}
.evm-filter-btn:hover,
.evm-filter-btn:focus {
	background: #2c3e50;
	color: #fff;
	outline: none;
}
.evm-filter-btn.active {
	background: #2c3e50;
	color: #fff;
}
.evm-events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}
.evm-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.evm-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}
.evm-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.evm-card-link:hover,
.evm-card-link:focus { color: inherit; text-decoration: none; }
.evm-card-img {
	width: 100%;
	height: 220px;
	background-size: cover;
	background-position: center;
	background-color: #f0f0f0;
}
.evm-card-noimg {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.evm-card-body {
	padding: 24px;
	position: relative;
}
.evm-card-date {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #fdd65b;
	color: #2c3e50;
	padding: 10px 14px;
	border-radius: 8px;
	margin-top: -50px;
	margin-bottom: 16px;
	box-shadow: 0 4px 12px rgba(253, 214, 91, 0.45);
	line-height: 1;
	min-width: 56px;
}
.evm-card-day {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}
.evm-card-month {
	font-size: 11px;
	text-transform: uppercase;
	margin-top: 4px;
	letter-spacing: 0.5px;
}
.evm-card-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #2c3e50;
	line-height: 1.3;
}
.evm-card-excerpt {
	color: #7f8c8d;
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 16px;
}
.evm-card-readmore {
	color: #fdd65b;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.evm-no-events {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: #95a5a6;
	font-size: 16px;
}
.evm-load-more-wrap {
	text-align: center;
	margin-top: 40px;
}
.evm-load-more {
	padding: 14px 36px;
	border: none;
	background: #2c3e50;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	border-radius: 30px;
	transition: background 0.3s ease;
	font-family: inherit;
	font-size: 14px;
}
.evm-load-more:hover,
.evm-load-more:focus { background: #fdd65b; outline: none; }
.evm-load-more[disabled] { opacity: 0.6; cursor: not-allowed; }
.evm-loading {
	text-align: center;
	padding: 30px;
	color: #95a5a6;
}
.evm-spinner {
	display: inline-block;
	width: 36px;
	height: 36px;
	border: 3px solid rgba(44, 62, 80, 0.15);
	border-top-color: #2c3e50;
	border-radius: 50%;
	animation: evmSpin 0.8s linear infinite;
}
@keyframes evmSpin {
	to { transform: rotate(360deg); }
}

/* ============ SINGLE EVENT ============ */
.evm-single {
	background: #fff;
}
.evm-single-article { display: block; }
.evm-single-hero {
	min-height: 480px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.evm-single-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75));
	display: flex;
	align-items: flex-end;
}
.evm-single-hero-content {
	max-width: 1000px;
	margin: 0 auto;
	padding: 60px 20px;
	color: #fff;
	width: 100%;
	box-sizing: border-box;
}
.evm-back-link {
	color: #fff;
	opacity: 0.85;
	text-decoration: none;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: inline-block;
	margin-bottom: 20px;
}
.evm-back-link:hover, .evm-back-link:focus { opacity: 1; color: #fff; text-decoration: none; }
.evm-single-title {
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 18px;
	line-height: 1.15;
}
.evm-single-meta {
	color: #fff;
	font-size: 16px;
	opacity: 0.95;
}
.evm-meta-icon { margin-right: 6px; }
.evm-single-header {
	max-width: 1000px;
	margin: 0 auto;
	padding: 60px 20px 30px;
	box-sizing: border-box;
}
.evm-single-header .evm-back-link { color: #2c3e50; opacity: 0.7; }
.evm-single-header .evm-back-link:hover { color: #2c3e50; opacity: 1; }
.evm-single-header .evm-single-title { color: #2c3e50; }
.evm-single-header .evm-single-meta { color: #7f8c8d; }
.evm-single-body {
	max-width: 1000px;
	margin: 0 auto;
	padding: 60px 20px 80px;
	box-sizing: border-box;
}
.evm-single-content {
	font-size: 17px;
	line-height: 1.75;
	color: #34495e;
}
.evm-single-content p { margin-bottom: 20px; }
.evm-single-content h2,
.evm-single-content h3,
.evm-single-content h4 {
	color: #2c3e50;
	margin-top: 32px;
	margin-bottom: 16px;
}
.evm-single-content img { max-width: 100%; height: auto; border-radius: 8px; }
.evm-section-title {
	font-size: 28px;
	font-weight: 700;
	color: #2c3e50;
	margin: 60px 0 30px;
	text-align: center;
}
.evm-swiper {
	width: 100%;
	background: transparent;
}
.evm-swiper .swiper-slide {
	text-align: center;
	background: transparent;
	max-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.evm-swiper .swiper-slide a {
	display: inline-block;
	line-height: 0;
	max-width: 100%;
}
.evm-swiper .swiper-slide img {
	max-width: 100%;
	max-height: 600px;
	width: auto;
	height: auto;
	display: inline-block;
}
.evm-swiper .swiper-button-next,
.evm-swiper .swiper-button-prev {
	color: #fff;
	background: rgba(0, 0, 0, 0.4);
	width: 44px;
	height: 44px;
	border-radius: 50%;
}
.evm-swiper .swiper-button-next::after,
.evm-swiper .swiper-button-prev::after { font-size: 18px; }
.evm-swiper .swiper-button-next:hover,
.evm-swiper .swiper-button-prev:hover { background: rgba(0, 0, 0, 0.7); }
.evm-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.evm-swiper .swiper-pagination-bullet-active { background: #fff; opacity: 1; }
.evm-swiper .evm-slide-video {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	max-height: 600px;
	height: 520px;
	border-radius: 12px;
	overflow: hidden;
}
.evm-swiper .evm-slide-video video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	display: block;
}

@media (max-width: 768px) {
	.evm-single-title { font-size: 32px; }
	.evm-single-hero { min-height: 360px; }
	.evm-swiper .swiper-slide { max-height: 360px; }
	.evm-swiper .swiper-slide img { max-height: 360px; }
	.evm-swiper .evm-slide-video { height: 320px; }
	.evm-events-grid { grid-template-columns: 1fr; gap: 20px; }
	.evm-events-wrapper { padding: 24px 16px; }
	.evm-filter-btn { padding: 10px 20px; font-size: 13px; }
}

/* Halve goodheart page-header margins on /events/ */
.page-header--default .page-header-inner {
	margin-top: 50px !important;
	margin-bottom: 50px !important;
}
@media (max-width: 1730px) {
	.page-header--default .page-header-inner {
		margin-top: 40px !important;
		margin-bottom: 40px !important;
	}
}
@media (max-width: 1279px) {
	.page-header--default .page-header-inner {
		margin-top: 30px !important;
		margin-bottom: 30px !important;
	}
}
@media (max-width: 767px) {
	.page-header--default .page-header-inner {
		margin-top: 20px !important;
		margin-bottom: 20px !important;
	}
}

/* ============ NEW SHORTCODE STYLES (added 2026-06-11) ============ */
.evm-list-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.evm-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 0 0 40px;
    flex-wrap: wrap;
}
.evm-tab {
    padding: 12px 32px;
    border: 2px solid #2c3e50;
    background: transparent;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.25s ease;
    font-family: inherit;
    line-height: 1;
}
.evm-tab:hover,
.evm-tab:focus {
    background: #2c3e50;
    color: #fff;
    outline: none;
}
.evm-tab.is-active {
    background: #2c3e50;
    color: #fff;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.25);
}
.evm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    transition: opacity 0.2s ease;
}
.evm-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #eaeaea;
    text-decoration: none;
}
@supports not (aspect-ratio: 16 / 10) {
    .evm-card-image { height: 220px; }
}
.evm-card-body {
    padding: 22px 22px 24px;
}
.evm-card-date {
    display: inline-block;
    background: #f5c544;
    color: #2c3e50;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.evm-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}
.evm-card-title a {
    color: #1a2533;
    text-decoration: none;
}
.evm-card-title a:hover { color: #f5a623; }
.evm-card-excerpt {
    color: #5b6a78;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 16px;
}
.evm-card-link {
    color: #f5a623;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}
.evm-card-link:hover { color: #2c3e50; }
.evm-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}
.evm-load-more {
    padding: 13px 36px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.evm-load-more:hover { background: #f5a623; }
.evm-load-more:disabled { opacity: 0.6; cursor: wait; }
.evm-empty {
    text-align: center;
    color: #888;
    padding: 60px 20px;
    font-size: 16px;
}
@media (max-width: 600px) {
    .evm-grid { grid-template-columns: 1fr; }
    .evm-tab { padding: 10px 22px; font-size: 13px; }
}
