/* Fast editorial shell for regular WordPress pages; Tutor surfaces are excluded in PHP. */
.mestre-site-shell {
	--mestre-shell-dark: #30373d;
	--mestre-shell-line: rgba(255, 255, 255, 0.22);
	background: var(--mestre-shell-dark);
}

.mestre-site-shell .site-header {
	border-bottom-color: var(--mestre-shell-line);
	background: var(--mestre-shell-dark);
	color: var(--mestre-brand-softwhite);
}

.mestre-site-shell .site-header__inner {
	min-height: 7rem;
}

.mestre-site-shell .site-branding a,
.mestre-site-shell .primary-navigation a {
	color: var(--mestre-brand-softwhite);
}

.mestre-site-shell .site-branding a {
	font-family: var(--bungee);
	font-weight: 400;
}

.mestre-site-shell .custom-logo {
	filter: brightness(0) invert(1);
}

.mestre-site-shell .primary-navigation > ul > li > a {
	position: relative;
	padding-block: 0.75rem;
}

.mestre-site-shell .primary-navigation > ul > li > a::after {
	position: absolute;
	right: 0;
	bottom: 0.35rem;
	left: 0;
	height: 0.16rem;
	background: var(--mestre-brand-teal);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms ease;
}

.mestre-site-shell .primary-navigation > ul > li.current-menu-item > a::after,
.mestre-site-shell .primary-navigation > ul > li.current-menu-ancestor > a::after,
.mestre-site-shell .primary-navigation > ul > li > a:hover::after,
.mestre-site-shell .primary-navigation > ul > li > a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.mestre-site-shell .primary-navigation .sub-menu {
	border: 0;
	border-radius: 0;
	background: var(--mestre-brand-teal);
	box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.22);
}

.mestre-site-shell .primary-navigation .sub-menu a {
	color: var(--mestre-brand-black);
}

.mestre-site-shell .menu-toggle {
	color: var(--mestre-brand-softwhite);
}

.mestre-site-shell .site-main {
	overflow: clip;
}

.mestre-site-shell .mestre-standard-page__hero {
	min-height: min(66vh, 45rem);
	display: flex;
	align-items: flex-end;
	padding-block: clamp(5rem, 12vw, 10rem) clamp(3.5rem, 7vw, 6rem);
	background: var(--mestre-shell-dark);
	color: var(--mestre-brand-softwhite);
}

.mestre-site-shell .mestre-standard-page__hero .mestre-eyebrow {
	margin-bottom: clamp(1.5rem, 4vw, 3rem);
	color: var(--mestre-brand-organiseren);
	font-family: var(--bungee);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mestre-site-shell .mestre-standard-page__hero h1 {
	max-width: 12ch;
	margin: 0;
	color: var(--mestre-brand-softwhite);
	font-size: clamp(3.5rem, 9vw, 8.5rem);
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.mestre-site-shell .mestre-standard-page__body {
	background: var(--mestre-brand-softwhite);
	color: var(--mestre-brand-black);
}

.mestre-site-shell .mestre-standard-page__body .mestre-content {
	padding-block: clamp(4.5rem, 10vw, 9rem);
	font-size: clamp(1.05rem, 1rem + 0.25vw, 1.22rem);
}

.mestre-site-shell .mestre-standard-page__body .mestre-content > p:first-child {
	font-size: clamp(1.3rem, 1.1rem + 0.75vw, 1.85rem);
	line-height: 1.5;
}

.mestre-site-shell .mestre-standard-page__body .mestre-content h2,
.mestre-site-shell .mestre-standard-page__body .mestre-content h3 {
	margin-top: 1.6em;
}

.mestre-site-shell .mestre-home-hero {
	min-height: calc(78vh - 7rem);
	display: flex;
	align-items: center;
	padding-block: clamp(4rem, 9vw, 8rem);
	background: var(--mestre-brand-ondersteunen);
}

.mestre-site-shell .mestre-home-intro h1,
.mestre-site-shell .mestre-student-panel h1 {
	font-size: clamp(3rem, 7vw, 7rem);
	line-height: 0.94;
	letter-spacing: -0.04em;
}

.mestre-site-shell .mestre-home-section,
.mestre-site-shell .mestre-home-courses {
	padding-block: clamp(4rem, 9vw, 8rem);
}

.mestre-site-shell .site-footer {
	background: #242423;
	color: var(--mestre-brand-softwhite);
}

.mestre-site-shell .site-footer a,
.mestre-site-shell .site-footer__navigation a {
	color: var(--mestre-brand-softwhite);
	font-weight: 600;
}

.mestre-site-shell .site-footer a:hover,
.mestre-site-shell .site-footer a:focus-visible {
	color: var(--mestre-brand-organiseren);
}

.mestre-site-shell .site-footer p {
	color: var(--mestre-brand-softwhite);
	opacity: 0.88;
}

.mestre-page-curtain {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: var(--mestre-brand-teal);
	pointer-events: none;
	transform: translateX(101%);
}

.mestre-is-leaving .mestre-page-curtain {
	animation: mestre-curtain-in 480ms cubic-bezier(0.7, 0, 0.3, 1) both;
}

.mestre-is-entering .site-main {
	animation: mestre-content-enter 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes mestre-curtain-in {
	to { transform: translateX(0); }
}

@keyframes mestre-content-enter {
	from { opacity: 0; transform: translateX(5vw); }
}

@media (max-width: 48rem) {
	.mestre-site-shell .site-header__inner { min-height: 5.5rem; }
	.mestre-site-shell .primary-navigation.is-open {
		width: 100%;
		padding: 1.5rem;
		background: var(--mestre-brand-teal);
	}
	.mestre-site-shell .primary-navigation.is-open a { color: var(--mestre-brand-black); }
	.mestre-site-shell .mestre-standard-page__hero { min-height: 54vh; }
	.mestre-site-shell .mestre-standard-page__hero h1 { font-size: clamp(3rem, 15vw, 5.5rem); }
}

@media (prefers-reduced-motion: reduce) {
	.mestre-page-curtain { display: none; }
	.mestre-is-entering .site-main { animation: none; }
	.mestre-site-shell .primary-navigation > ul > li > a::after { transition: none; }
}
