/* Stránka 404 v štýle webu */
body .tpl-404 .s1 {
	background: linear-gradient(180deg, #DCF1FC 0%, #fff 100%);
	padding-bottom: 70px;
	padding-top: 86px;
}
body .tpl-404 .breadcrumb { text-align: center; }
.tpl-404 .e404 { margin: 0 auto; max-width: 760px; padding-top: 20px; text-align: center; }

.tpl-404 .e404__code {
	margin: 0 0 24px;
	align-items: center;
	color: #00A1E5;
	display: flex;
	font-size: clamp(110px, 20vw, 200px);
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	line-height: 1;
}
.tpl-404 .e404__zero {
	align-items: center;
	background: #FFDB00;
	border-radius: 50%;
	display: inline-flex;
	height: .78em;
	justify-content: center;
	width: .78em;
}
.tpl-404 .e404__zero img { height: 76%; width: 76%; object-fit: contain; animation: e404float 4s ease-in-out infinite; }
@keyframes e404float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .tpl-404 .e404__zero img { animation: none; } }

.tpl-404 .e404__text { color: #455a6a; font-size: 18px; font-weight: 500; line-height: 30px; margin: 0 auto; max-width: 680px; }
.tpl-404 .e404__buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.tpl-404 .e404__btn {
	align-items: center;
	background: #fff;
	border: 1px solid #00a1e533;
	border-radius: 16px;
	color: #0D2C43;
	display: inline-flex;
	font-weight: 500;
	padding: 16px 26px;
	text-decoration: none;
	transition: background-color .2s, transform .2s;
}
.tpl-404 .e404__btn:hover { background: #DCF1FC; transform: translateY(-2px); }
.tpl-404 .e404__btn--primary { background: #FFDB00; border-color: #FFDB00; }
.tpl-404 .e404__btn--primary:hover { background: #ffd000; }


/* kontaktný blok: text nesmie dediť veľký riadkovací rozostup z 404 */
.tpl-404 .s4 p { font-size: inherit; font-weight: inherit; line-height: 1.6; max-width: none; text-align: inherit; }

@media (max-width: 575px) {
	.tpl-404 .e404__text { font-size: 16px; line-height: 26px; }
	.tpl-404 .e404__btn { justify-content: center; width: 100%; }
}
