.qev-events {
	display: grid;
	gap: 22px;
	margin: 24px 0;
}

.qev-events--cols-1 {
	grid-template-columns: 1fr;
}

.qev-events--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qev-events--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qev-events--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qev-card {
	background: #fff;
	border: 1px solid #d7dce2;
	border-radius: 8px;
	overflow: visible;
}

.qev-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f2f4f7;
}

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

.qev-card__body {
	padding: 18px;
}

.qev-card__date {
	color: #235789;
	font-size: 0.92rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.qev-card__title {
	font-size: 1.2rem;
	line-height: 1.25;
	margin: 0 0 8px;
}

.qev-card__title a {
	color: inherit;
	text-decoration: none;
}

.qev-card__title a:hover {
	text-decoration: underline;
}

.qev-card__location {
	color: #536170;
	font-size: 0.95rem;
	margin-bottom: 10px;
}

.qev-card__excerpt {
	color: #293241;
	margin: 0 0 14px;
}

.qev-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.qev-button,
.qev-dropdown__menu a,
.qev-share__native {
	appearance: none;
	background: #f7f9fb;
	border: 1px solid #b9c3cf;
	border-radius: 6px;
	color: #17212b;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.92rem;
	line-height: 1.2;
	padding: 9px 12px;
	text-decoration: none;
	white-space: nowrap;
}

.qev-button:hover,
.qev-dropdown__menu a:hover,
.qev-share__native:hover {
	background: #eaf1f8;
	color: #17212b;
	text-decoration: none;
}

.qev-dropdown {
	position: relative;
}

.qev-dropdown summary {
	list-style: none;
}

.qev-dropdown summary::-webkit-details-marker {
	display: none;
}

.qev-dropdown__menu {
	background: #fff;
	border: 1px solid #c8d0da;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
	display: grid;
	gap: 6px;
	left: 0;
	min-width: 210px;
	padding: 8px;
	position: absolute;
	top: calc(100% + 6px);
	z-index: 10;
}

.qev-dropdown__menu a,
.qev-share__native {
	justify-content: flex-start;
	width: 100%;
}

.qev-single {
	border-top: 1px solid #d7dce2;
	margin-top: 28px;
	padding-top: 20px;
}

.qev-single__meta p {
	margin: 0 0 8px;
}

.qev-actions--single {
	margin-top: 16px;
}

.qev-empty {
	color: #536170;
	margin: 0;
}

.qev-timeline-skin {
	background: #f0eaef;
	color: #111827;
	font-family: inherit;
	max-width: 620px;
	padding: 18px 14px 28px;
}

.qev-timeline-skin__header {
	align-items: center;
	color: #36063f;
	display: flex;
	gap: 14px;
	margin: 0 0 36px;
}

.qev-timeline-skin__header h2 {
	color: inherit;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
}

.qev-timeline-skin__icon {
	display: inline-flex;
	height: 38px;
	width: 38px;
}

.qev-timeline-skin__icon svg {
	fill: none;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 100%;
}

.qev-timeline-panel {
	background: #fff;
	border: 1px solid #e4d8e8;
	border-radius: 56px;
	box-shadow: 0 22px 42px rgba(54, 6, 63, 0.14);
	min-height: 560px;
	overflow: hidden;
	padding: 48px 48px 74px 38px;
	position: relative;
}

.qev-timeline-panel__line {
	background: #eadfed;
	bottom: 76px;
	left: 50%;
	position: absolute;
	top: 122px;
	transform: translateX(-50%);
	width: 3px;
}

.qev-timeline-item {
	align-items: center;
	display: grid;
	gap: 26px;
	grid-template-columns: 54px minmax(0, 1fr);
	margin-bottom: 36px;
	position: relative;
	z-index: 1;
}

.qev-timeline-item:last-child {
	margin-bottom: 0;
}

.qev-timeline-item__month {
	align-items: center;
	background: var(--qev-bubble);
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(17, 24, 39, 0.2);
	color: var(--qev-bubble-text);
	display: flex;
	font-size: 15px;
	font-weight: 800;
	height: 54px;
	justify-content: center;
	line-height: 1;
	text-transform: uppercase;
	width: 54px;
}

.qev-timeline-item--1 {
	--qev-accent: #5b1169;
	--qev-bubble: #ceff17;
	--qev-bubble-text: #1b0023;
}

.qev-timeline-item--2 {
	--qev-accent: #aa73bb;
	--qev-bubble: #a66cb7;
	--qev-bubble-text: #fff;
}

.qev-timeline-item--3 {
	--qev-accent: #481055;
	--qev-bubble: #541162;
	--qev-bubble-text: #fff;
}

.qev-timeline-card {
	align-items: start;
	background: #fbfbfa;
	border: 1px solid #e5e1e3;
	border-radius: 22px;
	color: inherit;
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 112px;
	padding: 20px 18px;
	position: relative;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.qev-timeline-card:hover,
.qev-timeline-card:focus-visible {
	border-color: #cbb9d1;
	box-shadow: 0 12px 24px rgba(54, 6, 63, 0.12);
	color: inherit;
	text-decoration: none;
	transform: translateY(-1px);
}

.qev-timeline-card__date {
	color: var(--qev-accent);
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	min-width: 36px;
}

.qev-timeline-card__content {
	min-width: 0;
	padding-right: 6px;
}

.qev-timeline-card__content h3 {
	color: #101828;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	margin: 3px 0 8px;
	overflow-wrap: anywhere;
}

.qev-timeline-card__content p {
	align-items: center;
	color: #111827;
	display: flex;
	font-size: 19px;
	gap: 8px;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
}

.qev-timeline-card__content svg {
	fill: none;
	flex: 0 0 auto;
	height: 21px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 21px;
}

.qev-timeline-card__badge {
	align-self: start;
	background: #cfccd0;
	border-radius: 999px;
	color: #17202a;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	max-width: 118px;
	overflow: hidden;
	padding: 10px 14px;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.qev-events--cols-3,
	.qev-events--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.qev-events,
	.qev-events--cols-2,
	.qev-events--cols-3,
	.qev-events--cols-4 {
		grid-template-columns: 1fr;
	}

	.qev-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.qev-button,
	.qev-dropdown,
	.qev-dropdown summary {
		width: 100%;
	}

	.qev-dropdown__menu {
		position: static;
		margin-top: 6px;
		box-shadow: none;
	}

	.qev-timeline-skin {
		max-width: none;
		padding: 16px 0 24px;
	}

	.qev-timeline-skin__header {
		margin-bottom: 28px;
		padding: 0 10px;
	}

	.qev-timeline-skin__header h2 {
		font-size: 30px;
	}

	.qev-timeline-panel {
		border-radius: 38px;
		min-height: 0;
		padding: 34px 18px 40px;
	}

	.qev-timeline-panel__line {
		bottom: 56px;
		left: 45px;
		top: 84px;
	}

	.qev-timeline-item {
		gap: 16px;
		grid-template-columns: 54px minmax(0, 1fr);
		margin-bottom: 24px;
	}

	.qev-timeline-card {
		grid-template-columns: auto minmax(0, 1fr);
		min-height: 0;
		padding: 18px 16px;
	}

	.qev-timeline-card__badge {
		grid-column: 2;
		justify-self: start;
		margin-top: 2px;
	}

	.qev-timeline-card__content h3 {
		font-size: 19px;
	}

	.qev-timeline-card__content p {
		font-size: 17px;
	}
}
