/* ==========================================================================\n   404/403 frontend — full-page, theme-independent layout\n   ========================================================================== */
html,
body.wp404403-body {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	min-height: 100% !important;
	background: transparent !important;
	background-color: transparent !important;
}

body.wp404403-body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	overflow-x: hidden !important;
}

.wp404403-page {
	width: 100vw !important;
	min-height: 100vh !important;
	margin: 0 !important;
	padding: 40px 20px !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	background-color: transparent !important;
}

.wp404403-card {
	width: 100% !important;
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	text-align: center !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	position: relative !important;
	z-index: 1 !important;
}

/* Image is centered in the complete page width, not inside a narrow card. */
.wp404403-image {
	width: 100% !important;
	margin: 0 auto 24px !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	background: transparent !important;
}

.wp404403-image img {
	display: block !important;
	width: auto !important;
	max-width: min(92vw, 1050px) !important;
	max-height: 68vh !important;
	height: auto !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	animation: wp404403-float 3.2s ease-in-out infinite !important;
	will-change: transform;
}

@keyframes wp404403-float {
	0%   { transform: translateY(0); }
	50%  { transform: translateY(-10px); }
	100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.wp404403-image img { animation: none !important; }
}

.wp404403-code {
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, #4facfe 0%, #f093fb 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 10px;
	animation: wp404403-float 3.2s ease-in-out infinite;
}

.wp404403-heading {
	font-size: 28px !important;
	line-height: 1.2 !important;
	margin: 0 0 12px !important;
	color: #1d2327 !important;
	text-align: center !important;
}

.wp404403-message {
	color: #50575e !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	margin: 0 0 24px !important;
	text-align: center !important;
}

.wp404403-search {
	margin-bottom: 24px;
}

.wp404403-search form {
	display: flex;
	max-width: 340px;
	margin: 0 auto;
}

.wp404403-search input[type="search"] {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #dcdcde;
	border-radius: 6px 0 0 6px;
	font-size: 14px;
}

.wp404403-search input[type="submit"] {
	padding: 10px 18px;
	border: none;
	border-radius: 0 6px 6px 0;
	background: #2271b1;
	color: #fff;
	cursor: pointer;
}

:root {
	--wp404403-btn-bg: #3db4f2;
}

.wp404403-cta {
	margin-top: 8px;
	text-align: center;
	position: relative;
	z-index: 7;
}

.wp404403-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 32px;
	border-radius: 999px;
	background: linear-gradient(to right, var(--wp404403-btn-bg), color-mix(in srgb, var(--wp404403-btn-bg) 30%, #ffffff));
	color: #191919;
	text-decoration: none;
	font-family: 'Syne', sans-serif !important;
	font-weight: 700;
	font-size: 22px;
	line-height: 100%;
	letter-spacing: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 4px 18px rgba(61, 180, 242, .18), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: box-shadow .2s ease, filter .2s ease;
}

.wp404403-button:hover,
.wp404403-button:focus {
	filter: brightness(1.05);
	color: #191919;
	box-shadow: 0 12px 28px rgba(61, 180, 242, .32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	text-decoration: none;
}

.wp404403-button,
.wp404403-button span,
.wp404403-button strong,
.wp404403-button div {
	font-family: 'Syne', sans-serif !important;
}

.wp404403-button svg {
	width: 18px;
	height: 18px;
}

.wp404403-preview-banner {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 99999 !important;
	background: #1d2327 !important;
	color: #fff !important;
	text-align: center !important;
	font-size: 13px !important;
	padding: 8px 12px !important;
}

.wp404403-preview-banner a {
	color: #7ecbff !important;
}

@media (max-width: 767px) {
	.wp404403-page {
		padding: 24px 12px !important;
	}

	.wp404403-image img {
		max-width: 96vw !important;
		max-height: 55vh !important;
	}

	.wp404403-heading {
		font-size: 24px !important;
	}
}
