.events-head {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 12px;
	margin: 20px 0;
	
	.events-subhead {
		display: flex;
		align-items: center;
		gap: 10px;
		color: #812578;
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
	}
	
	h2 {
		color: #000;
		font-family: "Noto Serif";
		font-size: 36px;
		font-style: normal;
		font-weight: 600;
		margin: 0;
	}
}

.event-meta-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
	gap:24px;
	margin:40px 0;
}

.event-meta-grid strong{
	display:block;
	margin-bottom:8px;
}

.event-register-btn{
	display:inline-block;
	padding:12px 24px;
	background:#8c2d87;
	color:#fff;
	text-decoration:none;
	border-radius:4px;
}

.event-register-btn:hover{
	opacity:.9;
}

.events-grid {
	display:grid;
	grid-template-columns:repeat(2,1fr);
  	gap:32px;
	margin: 40px 0;
	padding-bottom: 40px;
	
	&:not(.no-data) {
		padding-bottom: 80px;
		/* margin: 40px 0; */
	}
	
	&.hidden {
		display: none;
	}
}

@media(max-width:600px){
  .events-grid{
    grid-template-columns:1fr;
  }
}

.event-card {
	background:#fff;
	
	.event-card-content {
		padding: 0;
	
		img{
			display:block;
			width:100%;
			height:auto;
		}

		.event-card-title {
			color: #000;
			font-size: 24px;
			font-style: normal;
			font-weight: 600;
			margin: 0;

			a {
				font-family: "Noto Serif";
				text-decoration: none;
				color: inherit;
			}
		}

		.event-meta {
			display: flex;
			gap: 12px;
			color: #6F677E;
			font-size: 14px;
			font-style: normal;
			font-weight: 400;
			align-items: center;
			line-height: normal;
			margin: 10px 0;
		}

		.event-excerpt {
			color: #6F677E;
			font-size: 16px;
			font-style: normal;
			font-weight: 400;
			line-height: 140%; /* 22.4px */
		}

		.event-read-more {
			display: flex;
			align-items: center;
			justify-content: flex-end;
			color: #812578;
			font-size: 16px;
			font-style: normal;
			font-weight: 400;
			line-height: normal;
			margin: 20px 0;

			a {
				text-decoration: none;
				display: flex;
				gap: 12px;
				align-items: center;
			}
		}
	}
	
	.event-type{
		display:inline-block;
		color: #fff;
		padding:4px 12px;
		font-size: 14px;
		font-style: normal;
		font-weight: 700;
		margin-bottom: 12px;
		border-radius: 43px;
		
		&.upcoming {
			background: #DFB9DB;
		}
		
		&.past {
			background: #3EC2CF;
		}
	}
}

.events-pagination{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-top: 40px;

	.events-pagination__nav {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		gap: 12px;
	}

	.page-numbers {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 40px;
		height: 40px;
		padding: 0 8px;
		border-radius: 999px;
		color: #112047;
		font-size: 14px;
		line-height: 1;
		text-decoration: none;
		transition: background-color .2s ease, color .2s ease, transform .2s ease;
	}

	.page-numbers:hover {
		transform: translateY(-1px);
	}

	.page-numbers.current {
		background: #3EC2CF;
		color: #fff;
	}

	.page-numbers.dots {
		min-width: auto;
		padding: 0 4px;
		background: transparent;
	}

	.page-numbers.prev,
	.page-numbers.next {
		gap: 8px;
		padding: 0 10px;
		color: #112047;
	}

	.page-numbers.prev .events-pagination__arrow,
	.page-numbers.next .events-pagination__arrow {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #3EC2CF;
	}

	.page-numbers.prev .events-pagination__label,
	.page-numbers.next .events-pagination__label {
		white-space: nowrap;
	}

	.page-numbers.prev .events-pagination__arrow svg,
	.page-numbers.next .events-pagination__arrow svg {
		display: block;
	}

	.page-numbers.prev {
		padding-left: 0;
	}

	.page-numbers.next {
		padding-right: 0;
	}

	.page-numbers.prev:hover,
	.page-numbers.next:hover {
		background: transparent;
		transform: none;
	}

	.events-pagination__summary {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		color: #8b95b7;
		font-size: 16px;
		line-height: 1.4;
	}

	.events-pagination__range {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 34px;
		height: 30px;
		padding: 0 10px;
		border: 1px solid #d8dde8;
		border-radius: 6px;
		background: #fff;
		color: #112047;
		font-size: 15px;
	}

	.events-pagination__count {
		color: #112047;
	}
}

.events-list-footer-cta {
	display: flex;
	justify-content: center;
	margin: -60px 0 60px;
	padding: 0 0 60px;
	border-bottom: 1px solid #D9D9D9;
	
	.event-register-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 15px 30px;
		border-radius: 58px;
	}
}

/* ── Single event header ── */

.event-header-types {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	margin-bottom: 16px;
	
	.taxonomy-type {
		display: flex;
		align-items: center;
		gap: 10px;
		color: #812578;
		font-size: 14px;
		font-style: normal;
	}
}

.event-header-title {
	font-family: "Noto Serif";
	font-size: 48px;
	font-weight: 600;
	line-height: 1.2;
	color: #000;
	margin: 0 0 20px;
}

.event-title-highlight {
	color: #812578;
}

.event-header-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: #6F677E;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	margin: 40px 0;
	
	span {
		a.share {
			display: flex;
			align-items: center;
			text-decoration: none;
			font-size: 14px;
			font-style: normal;
			font-weight: 400;
			gap: 6px;
			
			&.linkedin {
				color: #0A66C2;
			}
		}
	}
}

.event-header-details {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	gap: 32px;
	padding: 24px 0;
	border-top: 1px solid #E5E3E8;
	border-bottom: 1px solid #E5E3E8;
	margin-bottom: 40px;
	flex-wrap: wrap;
	
	.event-header-details-col {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		flex: 1;
		width: 100%;
		position: relative;
		
		strong {
			color: #6F677E;
			font-size: 14px;
			font-style: normal;
			font-weight: 400;
			line-height: 140%; /* 19.6px */
		}
		
		span {
			color: #000;
			font-family: "Stabil Grotesk";
			font-size: 18px;
			font-style: normal;
			font-weight: 700;
			line-height: 120%; /* 21.6px */
		}
		
		&::after {
			content: '';
			position: absolute;
			right: 1px;
			height: 80%;
			top: 10%;
			width: 1px;
			border-right: 1px solid #E5E3E8;
		}
		
		&:last-child {
			&::after {
				border: none;
			}
		}
	}
}

@media (max-width: 600px) {
	.event-header-title {
		font-size: 32px;
	}

	.event-header-details {
		flex-direction: column;
		align-items: flex-start;
		
		.event-header-details-col {
			&::after {
				border: none;
			}
		}
	}
}