/**
 * EventFlow Labs Theme
 * Global Base
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ef-color-background);
	color: var(--ef-color-text);
	font-family: var(--ef-font-sans);
	font-size: var(--ef-font-size-base);
	line-height: var(--ef-line-height-body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

button,
input,
select,
textarea {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	line-height: var(--ef-line-height-heading);
}

p {
	margin-top: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================
   Accessibility
   ========================================================== */

:focus-visible {
	outline: 2px solid var(--ef-accent);
	outline-offset: 3px;
}

.ef-skip-link {
	position: fixed;
	z-index: calc(var(--ef-z-modal) + 1);
	top: var(--ef-space-3);
	left: var(--ef-space-3);
	padding: var(--ef-space-3) var(--ef-space-4);
	border-radius: var(--ef-radius-md);
	background: var(--ef-color-white);
	color: var(--ef-color-navy-950);
	font-weight: var(--ef-weight-semibold);
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform var(--ef-duration-fast) var(--ef-ease-standard);
}

.ef-skip-link:focus {
	transform: translateY(0);
}

[hidden] {
	display: none !important;
}

[aria-disabled="true"] {
	cursor: not-allowed;
}

@media (forced-colors: active) {

	.ef-button,
	.ef-card,
	.ef-panel,
	.ef-input,
	.ef-select,
	.ef-textarea {
		border: 1px solid CanvasText;
	}

	.ef-skip-link {
		border: 1px solid CanvasText;
	}
}
