@import url("fonts.css");

.em-skip-link {
	position: fixed;
	left: 1rem;
	top: .5rem;
	z-index: 99999;
	transform: translateY(-180%);
	padding: .75rem 1rem;
	background: #f5f5f7;
	color: #080809;
}
.em-skip-link:focus { transform: none; }

body.admin-bar { --em-admin-offset: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar :is(.header, .progress) { top: var(--em-admin-offset); }
body.admin-bar .fusion-pin { top: calc(82px + var(--em-admin-offset)); }

.fusion-play {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: .2em;
}
.fusion-stage .fusion-display { cursor: pointer; }
.fusion-stage:not([data-fusion-ready]) .fusion-play { visibility: hidden; }
.fusion-stage:not([data-fusion-ready]) .fusion-controls { pointer-events: none; }
.fusion-stage:not([data-fusion-ready]) #lfLaser { opacity: 0; }
#lfPoint { opacity: 0; }
#lfProgress { transform: scaleX(0); }
html:not(.js) :is(.gallery-controls, .menutoggle) { visibility: hidden; }
html:not(.js) .fusion-controls button { cursor: default; }

.em-content {
	--em-ice: #f5f5f7;
	--em-muted: #a9a9b2;
	--em-cyan: #32a9d3;
	min-height: 65vh;
	padding-top: clamp(110px, 13vw, 170px);
	background: #080809;
	color: var(--em-ice);
	font: 1rem/1.7 "Manrope Variable", Arial, sans-serif;
}
.em-content :is(h1, h2, h3) {
	font-family: "Space Grotesk Variable", Arial, sans-serif;
	overflow-wrap: anywhere;
}
.em-content h1 { font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: 1.4rem; }
.em-content h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); margin-block: 1.6em .7em; }
.em-content h3 { font-size: clamp(1.2rem, 2.2vw, 1.8rem); }
.em-content p { color: var(--em-muted); }
.em-content :is(a:hover, a:focus-visible) { color: var(--em-cyan); }
.em-entry-content a { text-decoration: underline; text-underline-offset: .2em; }
.em-entry-content { max-width: 760px; margin-inline: auto; overflow-wrap: anywhere; }
.em-entry-content > :where(p, ul, ol, figure, blockquote, pre) { margin-block: 1.3em; }
.em-entry-content pre { overflow: auto; }
.em-entry-content img { max-width: 100%; width: auto; height: auto; }
.em-entry-content table { max-width: 100%; }
.em-entry-content .alignwide { max-width: 100%; }
.em-entry-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1rem 2rem; }
.em-entry-image { width: min(100%, 1120px); height: auto; margin: 0 auto 2rem; }
.em-post-list { margin-top: 2rem; }
.em-post-list .article { background: #141416; min-width: 0; }
.em-post-list .eyebrow { display: flex; flex-wrap: wrap; gap: .6rem; }
.em-post-thumbnail img { aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 1rem; }
.nav-links, .em-content .search-form { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 2rem; }
.em-content :is(.search-field, .search-submit, .comment-form input:not([type=checkbox]), .comment-form textarea) {
	max-width: 100%;
	min-height: 44px;
	background: #141416;
	color: #f5f5f7;
	border: 1px solid #676872;
	padding: .6rem;
}
.em-comments { margin: 3rem auto; max-width: 760px; }
.em-comments ol { padding-inline-start: 1.5rem; }
.em-comments .avatar { width: 40px; }
.em-comments .comment-body { margin-block: 1rem; }

@media (max-width: 680px) {
	html:not(.js) .navlinks {
		position: static;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: .4rem .65rem;
		font-size: .73rem;
	}
	html:not(.js) .menutoggle { display: none; }
	html:not(.js) .nav { gap: .5rem; }
	html:not(.js) .navlinks .btn { min-height: 0; padding: .3rem; }
}
