/* LCN Event single layout */

.lcn-event-single {
	--lcn-event-gap: 2rem;
	--lcn-event-max: 1200px;
	--lcn-green: #1f7a4d;
	--lcn-green-dark: #155a38;
	max-width: var(--lcn-event-max);
	margin: 0 auto;
	padding: 2rem 1rem 3rem;
	box-sizing: border-box;
}

.lcn-event-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
	gap: var(--lcn-event-gap);
	align-items: start;
}

.lcn-event-main {
	min-width: 0;
}

.lcn-event-featured-image {
	margin: 0 0 1.25rem;
	max-height: 280px;
	overflow: hidden;
	border-radius: 4px;
	background: #f6f7f8;
}

.lcn-event-featured-image img {
	display: block;
	width: 100%;
	max-height: 280px;
	height: 280px;
	object-fit: cover;
	object-position: center;
}

.lcn-event-header {
	margin: 0 0 1rem;
}

.lcn-event-header .entry-title {
	margin: 0;
	line-height: 1.2;
}

.lcn-event-content > *:first-child {
	margin-top: 0;
}

.lcn-event-sidebar {
	position: sticky;
	top: 1.5rem;
}

.lcn-event-widget {
	margin: 0 0 1.5rem;
	padding: 1.25rem;
	background: #f6f7f8;
}

.lcn-event-widget:last-child {
	margin-bottom: 0;
}

.lcn-event-widget .widget-title {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
}

/* Quick links */

.lcn-quick-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lcn-quick-links li + li {
	margin-top: 0.65rem;
}

.lcn-quick-links a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.lcn-quick-links a:not(.lcn-quick-links__cta):hover,
.lcn-quick-links a:not(.lcn-quick-links__cta):focus {
	text-decoration: underline;
	color: var(--lcn-green);
}

.lcn-quick-links__cta {
	padding: 0.7rem 0.9rem;
	border-radius: 4px;
	font-weight: 600;
	text-align: center;
	color: #fff !important;
	background: var(--lcn-green);
}

.lcn-quick-links__cta:hover,
.lcn-quick-links__cta:focus {
	background: var(--lcn-green-dark);
	text-decoration: none !important;
}

.lcn-quick-links__cta--partner {
	background: #1a3a5c;
}

.lcn-quick-links__cta--partner:hover,
.lcn-quick-links__cta--partner:focus {
	background: #122942;
}

/* Gallery carousel */

.lcn-carousel__track {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	aspect-ratio: 4 / 3;
	background: #e8eaed;
}

.lcn-carousel__slide {
	margin: 0;
	width: 100%;
	height: 100%;
}

.lcn-carousel__slide.is-active {
	display: block;
}

.lcn-carousel__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lcn-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.65rem;
}

.lcn-carousel__btn {
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	background: #fff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.lcn-carousel__btn:hover,
.lcn-carousel__btn:focus {
	border-color: var(--lcn-green);
	color: var(--lcn-green);
}

.lcn-carousel__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
}

.lcn-carousel__dot {
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c5cad3;
	cursor: pointer;
}

.lcn-carousel__dot.is-active {
	background: var(--lcn-green);
}

.lcn-carousel__more {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
}

.lcn-carousel__more a {
	color: var(--lcn-green);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Other events */

.lcn-other-events {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
}

.lcn-other-events__title {
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
}

.lcn-other-events__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.lcn-other-events__item {
	margin: 0;
}

.lcn-other-events__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.lcn-other-events__link:hover .lcn-other-events__item-title,
.lcn-other-events__link:focus .lcn-other-events__item-title {
	text-decoration: underline;
}

.lcn-other-events__image {
	margin: 0 0 0.75rem;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f6f7f8;
}

.lcn-other-events__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lcn-other-events__item-title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
}

@media (max-width: 782px) {
	.lcn-event-layout {
		grid-template-columns: 1fr;
	}

	.lcn-event-sidebar {
		position: static;
		order: 2;
	}

	.lcn-event-featured-image,
	.lcn-event-featured-image img {
		max-height: 200px;
		height: 200px;
	}

	.lcn-other-events__grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 783px) and (max-width: 1024px) {
	.lcn-other-events__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
