body:has(.vs-custom-title) #pxl-page-title-elementor {
	display: none;
}


.vs-undervisning {
	font-family: Domine, Georgia, serif;
}

.vs-undervisning__back-link {
	display: inline-flex;
	align-items: center;
	column-gap: 12px;
	font-size: 14px;
	color: #677e77;
}

.vs-undervisning__back-link svg {
	width: 16px;
	height: 16px;
}

.vs-undervisning__term-description {
	font-size: 20px;
	color: #677e77;
	padding: 48px 0;
	text-align: center;
	width: 900px;
	margin: 0 auto;
}

.vs-undervisning__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 64px 48px;
}

.vs-undervisning__item {
	padding: 16px;
	border-radius: 32px;
	background-color: #b3a794;
}

.vs-undervisning__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	border-radius: 20px;
	overflow: hidden;
}

.vs-undervisning__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(21, 40, 34, 0);
	transition: background-color 0.35s ease;
	pointer-events: none;
}

.vs-undervisning__image {
	display: block;
	width: 100%;
	transition: transform 0.5s ease;
}

.vs-undervisning__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 80px;
	height: 80px;
	border-radius: 100%;
	background: #ffffff;
	color: #152822;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translate(-50%, -50%);
	transition: transform 0.15s ease;
}

.vs-undervisning__item:hover .vs-undervisning__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.vs-undervisning__item:hover .vs-undervisning__image {
	transform: scale(1.1);
}

.vs-undervisning__item:hover .vs-undervisning__media::after {
	background: rgba(21, 40, 34, 0.18);
}

.vs-undervisning__content {
	padding: 20px 8px 8px;
}

.vs-undervisning__title {
	font-size: 18px;
	color: #152822;
	font-weight: 600;
	font-family: inherit;
}

.vs-undervisning__excerpt {
	margin-top: 12px;
	font-size: 14px;
	color: #152822CC;
}

.vs-undervisning__download {
	margin-top: 12px;
	display: flex;
	column-gap: 8px;
	align-items: center;
	justify-content: center;
	width: 100%;
	background-color: #162822;
	color: #ffffff;
	padding: 12px 24px;
	font-size: 14px;
	border: none;
	border-radius: 32px;
	text-align: center;
	transition: transform 0.25s ease, background-color 0.25s ease;
}

.vs-undervisning__download svg {
	width: 16px;
	height: 16px;
}

.vs-undervisning__download:hover {
	color: #ffffff;
	background-color: #24342d;
}

.vs-undervisning-modal[hidden] {
	display: none !important;
}

.vs-undervisning-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.vs-undervisning-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.vs-undervisning-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	background: #000;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.vs-undervisning-modal__video {
	display: block;
	width: 100%;
	max-height: 80vh;
	background: #000;
}

.vs-undervisning-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

body.vs-undervisning-modal-open {
	overflow: hidden;
}
