.met-stars-form-wrap {
	--met-stars-primary: #F85D09;
	--met-stars-primary-dark: #9E3700;
	--met-stars-black: #020202;
	--met-stars-panel: #171717;
	--met-stars-panel-soft: #0d0d0d;
	--met-stars-border: rgba(255, 255, 255, 0.14);
	--met-stars-border-strong: rgba(248, 93, 9, 0.65);
	--met-stars-text: #f1f1f1;
	--met-stars-muted: rgba(241, 241, 241, 0.72);
	--met-stars-subtle: rgba(241, 241, 241, 0.52);
	--met-stars-error: #ffb199;
	--met-stars-success: #8ff0bf;
	box-sizing: border-box;
	max-width: 884px;
	margin: 32px auto;
	padding: 0;
	background: var(--met-stars-panel);
	border-radius: 0;
	font-family: Montserrat, Arial, sans-serif;
	color: var(--met-stars-text);
}

.met-stars-form-wrap *,
.met-stars-form-wrap *::before,
.met-stars-form-wrap *::after {
	box-sizing: inherit;
}

.met-stars-form {
	background: var(--met-stars-panel);
	border: 0;
	border-radius: 0;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
	padding: clamp(22px, 4vw, 40px);
}

.met-stars-header {
	border-bottom: 0;
	margin-bottom: 24px;
	padding-bottom: 20px;
}

.met-stars-brand-banner {
	display: block;
	height: auto;
	margin-bottom: 24px;
	max-width: 100%;
	width: 100%;
	border: 0;
	border-radius: 0;
	object-fit: cover;
}

.met-stars-kicker,
.met-stars-help,
.met-stars-progress p {
	font-family: Montserrat, Arial, sans-serif;
}

.met-stars-kicker {
	color: var(--met-stars-primary);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.met-stars-header h2,
.met-stars-section h3 {
	color: var(--met-stars-text);
	font-family: var(--e-global-typography-primary-font-family, 'Bricolage Grotesque'), 'Bricolage Grotesque', Montserrat, Arial, sans-serif;
	font-weight: var(--e-global-typography-primary-font-weight, 700);
	line-height: 1;
	margin: 0 0 10px;
	text-wrap: balance;
}

.met-stars-header h2 {
	font-size: clamp(1.8rem, 4.5vw, 3.2rem);
	max-width: 720px;
	text-transform: uppercase;
}

.met-stars-section h3 {
	font-size: clamp(1.35rem, 3vw, 2rem);
	margin-bottom: 22px;
}

.met-stars-header p {
	color: var(--met-stars-muted);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
	max-width: 680px;
	text-wrap: pretty;
}

.met-stars-progress {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.met-stars-progress-bar {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	flex: 1;
	height: 8px;
	overflow: hidden;
}

.met-stars-progress-bar span {
	background: var(--met-stars-primary);
	display: block;
	height: 100%;
	transition: width 180ms ease;
	width: 11.111%;
}

.met-stars-progress p {
	color: var(--met-stars-subtle);
	font-size: 0.92rem;
	margin: 0;
	min-width: max-content;
}

.met-stars-section {
	display: none;
}

.met-stars-section.is-active {
	display: block;
}

.met-stars-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.met-stars-field {
	margin-bottom: 20px;
}

.met-stars-field[hidden] {
	display: none !important;
}

.met-stars-field label,
.met-stars-field legend {
	color: var(--met-stars-text);
	display: block;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 8px;
}

.met-stars-required {
	color: var(--met-stars-primary);
}

.met-stars-field input[type="text"],
.met-stars-field input[type="email"],
.met-stars-field input[type="tel"],
.met-stars-field input[type="date"],
.met-stars-field input[type="url"],
.met-stars-field select,
.met-stars-field textarea {
	background: var(--met-stars-panel-soft);
	border: 1px solid var(--met-stars-border);
	border-radius: 0;
	box-sizing: border-box;
	color: var(--met-stars-text);
	font: inherit;
	padding: 13px 15px;
	width: 100%;
}

.met-stars-field select {
	color-scheme: dark;
}

.met-stars-field input::placeholder,
.met-stars-field textarea::placeholder {
	color: var(--met-stars-subtle);
}

.met-stars-field input:focus,
.met-stars-field select:focus,
.met-stars-field textarea:focus {
	border-color: var(--met-stars-primary);
	box-shadow: 0 0 0 3px rgba(248, 93, 9, 0.2);
	outline: none;
}

.met-stars-help {
	color: var(--met-stars-subtle);
	font-size: 0.93rem;
	line-height: 1.5;
	margin: 8px 0 0;
}

.met-stars-choices {
	border: 0;
	padding: 0;
}

.met-stars-choice,
.met-stars-declaration label {
	align-items: flex-start;
	background: var(--met-stars-panel-soft);
	border: 1px solid var(--met-stars-border);
	border-radius: 0;
	color: var(--met-stars-muted);
	display: flex !important;
	font-weight: 500 !important;
	gap: 9px;
	margin: 8px 0;
	padding: 10px 12px;
}

.met-stars-choice:has(input:checked),
.met-stars-declaration label:has(input:checked) {
	border-color: var(--met-stars-border-strong);
	color: var(--met-stars-text);
}

.met-stars-choice input,
.met-stars-declaration input {
	accent-color: var(--met-stars-primary);
	margin-top: 3px;
}

.met-stars-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 28px;
}

.met-stars-button {
	border-radius: 0;
	clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
	cursor: pointer;
	font-family: Montserrat, Arial, sans-serif;
	font-weight: 700;
	min-height: 54px;
	padding: 15px 30px 15px 28px;
}

/* --- Button hardening ---------------------------------------------------
   Themes frequently style bare `button` elements with higher specificity than
   the single-class rules above (wrong colours, stray borders). These rules
   re-assert the MET Stars treatment for both <button> and <a> variants.
   The chamfered corners are drawn with clip-path, and a CSS `border` cannot
   follow a clipped diagonal - so the outline is always painted by the
   element background with an inset pseudo-element punching out the fill. */

.met-stars-form-wrap .met-stars-button,
.met-stars-form-wrap a.met-stars-button {
	background: var(--met-stars-primary) !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	isolation: isolate;
	position: relative;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.met-stars-form-wrap .met-stars-button:hover:not([disabled]),
.met-stars-form-wrap .met-stars-button:focus:not([disabled]),
.met-stars-form-wrap a.met-stars-button:hover,
.met-stars-form-wrap a.met-stars-button:focus {
	background: var(--met-stars-primary-dark) !important;
	color: #FFFFFF !important;
}

/* Secondary: same silhouette, hollow centre. The inner chamfer is offset by
   `2 * border - sqrt(2) * border` so the diagonal edge keeps the same visual
   thickness as the straight edges (otherwise it renders sub-pixel and
   disappears). */
.met-stars-form-wrap .met-stars-button-secondary,
.met-stars-form-wrap a.met-stars-button-secondary {
	background: var(--met-stars-primary) !important;
	color: var(--met-stars-primary) !important;
}

.met-stars-form-wrap .met-stars-button-secondary::before {
	background: var(--met-stars-panel);
	clip-path: polygon(16.6px 0, 100% 0, 100% calc(100% - 16.6px), calc(100% - 16.6px) 100%, 0 100%, 0 16.6px);
	content: '';
	inset: 2px;
	position: absolute;
	transition: background-color 160ms ease;
	z-index: -1;
}

.met-stars-form-wrap .met-stars-button-secondary:hover:not([disabled]),
.met-stars-form-wrap .met-stars-button-secondary:focus:not([disabled]),
.met-stars-form-wrap a.met-stars-button-secondary:hover,
.met-stars-form-wrap a.met-stars-button-secondary:focus {
	background: var(--met-stars-primary) !important;
	color: #FFFFFF !important;
}

.met-stars-form-wrap .met-stars-button-secondary:hover:not([disabled])::before,
.met-stars-form-wrap .met-stars-button-secondary:focus:not([disabled])::before {
	background: var(--met-stars-primary);
}

/* clip-path also clips box-shadow/outline, so the focus ring is expressed as
   a brightness shift on the clipped shape instead. */
.met-stars-form-wrap .met-stars-button:focus-visible,
.met-stars-form-wrap a.met-stars-button:focus-visible {
	filter: brightness(1.2);
	outline: none;
}

.met-stars-button[disabled] {
	cursor: not-allowed;
	opacity: 0.6;
}

.met-stars-error,
.met-stars-error-summary {
	color: var(--met-stars-error);
	font-size: 0.92rem;
	margin-top: 7px;
}

.met-stars-error-summary {
	background: rgba(248, 93, 9, 0.08);
	border: 1px solid rgba(248, 93, 9, 0.35);
	border-radius: 0;
	margin-bottom: 20px;
	padding: 14px 16px;
}

.met-stars-error-summary ul {
	margin-bottom: 0;
}

.met-stars-notice {
	background: var(--met-stars-panel);
	border-radius: 0;
	margin-bottom: 18px;
	padding: 14px 16px;
}

.met-stars-notice-success {
	border: 1px solid rgba(143, 240, 191, 0.45);
	color: var(--met-stars-success);
}

.met-stars-notice-error {
	border: 1px solid rgba(248, 93, 9, 0.35);
	color: var(--met-stars-error);
}

.met-stars-review {
	border: 1px solid var(--met-stars-border);
	border-radius: 0;
	overflow: hidden;
}

.met-stars-review-row {
	display: grid;
	gap: 14px;
	grid-template-columns: 260px 1fr;
	padding: 12px 14px;
}

.met-stars-review-row:nth-child(odd) {
	background: var(--met-stars-panel-soft);
}

.met-stars-review-label {
	color: var(--met-stars-text);
	font-weight: 700;
}

.met-stars-review-row div:last-child,
.met-stars-section > p {
	color: var(--met-stars-muted);
}

.met-stars-hp {
	left: -10000px;
	position: absolute;
}

.met-stars-admin-card {
	background: #ffffff;
	border: 1px solid #ccd0d4;
	margin: 18px 0;
	padding: 18px;
}

.met-stars-badge {
	background: #edfaef;
	border: 1px solid #68de7c;
	border-radius: 3px;
	color: #00450c;
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	padding: 0 8px;
}

.met-stars-badge-warning {
	background: #fcf0f1;
	border-color: #f86368;
	color: #8a2424;
}

.met-stars-draft-notice-actions {
	margin: 8px 0 0;
}

.met-stars-draft-notice-actions button {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: underline;
}

@media (max-width: 700px) {
	.met-stars-form-wrap {
		margin: 0;
		padding: 0;
		border-radius: 0;
	}

	.met-stars-form {
		padding: 20px;
	}

	.met-stars-grid,
	.met-stars-review-row {
		grid-template-columns: 1fr;
	}

	.met-stars-actions,
	.met-stars-progress {
		align-items: stretch;
		flex-direction: column;
	}

	.met-stars-button {
		width: 100%;
	}
}

/* ==========================================================================
   MET Stars content pages ([met_stars_intro] / [met_stars_guide])
   Appended block - does not modify any rule above.
   ========================================================================== */

.met-stars-page {
	border-radius: 0;
}

.met-stars-page .met-stars-header {
	margin-bottom: 20px;
}

/* --- Prose rhythm ------------------------------------------------------- */

.met-stars-page-prose {
	color: var(--met-stars-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

.met-stars-page-prose p {
	margin: 0 0 16px;
	max-width: 760px;
	text-wrap: pretty;
}

.met-stars-page-prose p:last-child {
	margin-bottom: 0;
}

.met-stars-page-emphasis {
	color: var(--met-stars-text);
	border-left: 3px solid var(--met-stars-primary);
	font-weight: 700;
	padding: 2px 0 2px 14px;
}

.met-stars-page-prose h3 {
	color: var(--met-stars-text);
	font-family: var(--e-global-typography-primary-font-family, 'Bricolage Grotesque'), 'Bricolage Grotesque', Montserrat, Arial, sans-serif;
	font-weight: var(--e-global-typography-primary-font-weight, 700);
	font-size: clamp(1.25rem, 2.6vw, 1.75rem);
	line-height: 1.1;
	letter-spacing: 0.01em;
	margin: 40px 0 14px;
	padding-top: 22px;
	border-top: 1px solid var(--met-stars-border);
	text-transform: uppercase;
	text-wrap: balance;
}

.met-stars-page-prose h3:first-child {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.met-stars-page-prose h4 {
	color: var(--met-stars-primary);
	font-family: Montserrat, Arial, sans-serif;
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	margin: 26px 0 10px;
	text-transform: uppercase;
}

/* --- Lists --------------------------------------------------------------- */

.met-stars-page-list {
	list-style: none;
	margin: 0 0 18px;
	max-width: 760px;
	padding: 0;
}

.met-stars-page-list li {
	color: var(--met-stars-muted);
	line-height: 1.65;
	margin: 0 0 10px;
	padding-left: 22px;
	position: relative;
}

.met-stars-page-list li::before {
	background: var(--met-stars-primary);
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 0.6em;
	width: 7px;
}

/* --- Card grid ----------------------------------------------------------- */

.met-stars-page-cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin: 20px 0 24px;
}

.met-stars-page-card {
	background: var(--met-stars-panel-soft);
	border: 1px solid var(--met-stars-border);
	border-radius: 0;
	padding: 18px 18px 20px;
}

.met-stars-page-card h4 {
	color: var(--met-stars-primary);
	font-family: Montserrat, Arial, sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.3;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.met-stars-page-card p {
	color: var(--met-stars-muted);
	font-size: 0.96rem;
	line-height: 1.6;
	margin: 0;
	max-width: none;
}

/* --- FAQ accordion ------------------------------------------------------- */

.met-stars-guide-faq {
	border-top: 1px solid var(--met-stars-border);
	margin: 18px 0 8px;
	max-width: 760px;
}

.met-stars-guide-faq-item {
	border-bottom: 1px solid var(--met-stars-border);
	border-radius: 0;
}

.met-stars-guide-faq-item > summary {
	color: var(--met-stars-text);
	cursor: pointer;
	display: block;
	font-weight: 700;
	line-height: 1.45;
	list-style: none;
	padding: 16px 40px 16px 0;
	position: relative;
}

.met-stars-guide-faq-item > summary::-webkit-details-marker {
	display: none;
}

.met-stars-guide-faq-item > summary::after {
	color: var(--met-stars-primary);
	content: "+";
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1;
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
}

.met-stars-guide-faq-item[open] > summary::after {
	content: "\2212";
}

.met-stars-guide-faq-item[open] > summary {
	color: var(--met-stars-primary);
}

.met-stars-guide-faq-item > summary:focus-visible {
	outline: 2px solid var(--met-stars-primary);
	outline-offset: 2px;
}

.met-stars-guide-faq-item > p {
	color: var(--met-stars-muted);
	line-height: 1.7;
	margin: 0;
	padding: 0 40px 18px 0;
}

/* --- CTA block ----------------------------------------------------------- */

.met-stars-page-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 28px;
}

.met-stars-page-cta:last-child {
	margin-bottom: 0;
}

a.met-stars-page-link,
a.met-stars-page-link:hover,
a.met-stars-page-link:focus {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

a.met-stars-page-link:focus-visible {
	outline: none;
}

/* --- Responsive (new query; existing 700px block untouched) -------------- */

@media (max-width: 700px) {
	.met-stars-page-cards {
		grid-template-columns: 1fr;
	}

	.met-stars-page-cta {
		flex-direction: column;
	}

	a.met-stars-page-link {
		width: 100%;
	}

	.met-stars-page-prose h3 {
		margin-top: 30px;
	}
}

/* --- Header overlay fix -------------------------------------------------- */
/* This stylesheet is only enqueued on the three MET Stars pages (intro,
   guide, application form), so these overrides never reach other pages. */

.elementor-13 .elementor-element.elementor-element-d24f7a0 {
	position: static;
}

#main-header-0023 {
	position: static;
}

/* Video upload */
.met-stars-video-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.met-stars-video-progress progress { flex: 1 1 200px; height: 12px; }
.met-stars-video-preview { margin-top: 8px; }
.met-stars-video-preview video { display: block; background: #000; border-radius: 6px; }
.met-stars-video-actions { display: flex; flex-wrap: wrap; gap: 8px; }
