/**
 * FlyUp Base structural CSS.
 *
 * Design-neutral by policy:
 * - no global colors
 * - no global font family
 * - no button styling
 * - no form colors
 * - no plugin/Elementor widget overrides
 */

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

:where(html) {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

:where(body) {
	margin: 0;
}

:where(img, picture, video, canvas, svg) {
	max-width: 100%;
	height: auto;
}

:where(button, input, select, textarea) {
	font: inherit;
}

:where([hidden]) {
	display: none !important;
}

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

.screen-reader-text:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	z-index: 100000;
}

.flyup-base-container {
	width: min(100% - 2rem, 1200px);
	margin-inline: auto;
}

.flyup-base-main:not(.flyup-base-main--full-width) {
	padding-block: 2rem;
}

.flyup-base-main--full-width,
.flyup-base-canvas-main {
	width: 100%;
}

.flyup-base-header__inner,
.flyup-base-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1rem;
}

.flyup-base-menu,
.flyup-base-footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.flyup-base-menu .sub-menu {
	margin: 0;
	padding-inline-start: 1.25rem;
}

.flyup-base-entry + .flyup-base-entry {
	margin-top: 2rem;
}

.flyup-base-entry-content > :first-child,
.flyup-base-entry-summary > :first-child {
	margin-top: 0;
}

.flyup-base-entry-content > :last-child,
.flyup-base-entry-summary > :last-child {
	margin-bottom: 0;
}

.alignwide {
	max-width: 1440px;
	margin-inline: auto;
}

.alignfull {
	width: 100%;
	max-width: none;
}

.flyup-base-comment-list {
	padding-inline-start: 1.5rem;
}

@media (max-width: 767px) {
	.flyup-base-container {
		width: min(100% - 1.25rem, 1200px);
	}

	.flyup-base-header__inner,
	.flyup-base-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}
}
