/*
Theme Name: Szczep 9.0
Theme URI: https://aspers.pl/
Author: aspers.pl
Author URI: https://aspers.pl/
Description: Dedykowany, lekki motyw dla aplikacji Szczep 9.0.
Version: 0.4.1
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: szczep-9-0
License: Proprietary
*/

:root {
	--sz90-ink: #172238;
	--sz90-muted: #657188;
	--sz90-surface: #ffffff;
	--sz90-soft: #f4f7f9;
	--sz90-line: #d8e0e7;
	--sz90-primary: #124e78;
	--sz90-accent: #d7a928;
	--sz90-green: #27704f;
}

html {
	min-height: 100%;
	background: var(--sz90-soft);
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--sz90-ink);
	background: var(--sz90-soft);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

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

a {
	color: var(--sz90-primary);
}

.sz90-site-header {
	border-bottom: 1px solid var(--sz90-line);
	background: var(--sz90-surface);
}

.sz90-site-header__inner,
.sz90-site-main,
.sz90-site-footer__inner {
	width: min(100% - 32px, 960px);
	margin: 0 auto;
}

.sz90-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	gap: 20px;
}

.sz90-site-brand {
	color: var(--sz90-ink);
	font-size: 18px;
	font-weight: 800;
	text-decoration: none;
}

.sz90-site-main {
	padding: 40px 0 64px;
}

.sz90-article {
	max-width: 760px;
}

.sz90-article h1 {
	margin: 0 0 24px;
	font-size: clamp(30px, 5vw, 48px);
	line-height: 1.05;
}

.sz90-article-content {
	font-size: 17px;
	line-height: 1.7;
}

.sz90-site-footer {
	border-top: 1px solid var(--sz90-line);
	color: var(--sz90-muted);
	background: var(--sz90-surface);
}

.sz90-site-footer__inner {
	padding: 20px 0;
	font-size: 13px;
}

body.sz90-app-view {
	background: #f3f7fc;
}

.sz90-app-main {
	min-height: 100vh;
}

.sz90-app-main > .cs90-root {
	min-height: 100vh;
}

.sz90-app-view .cs90-shell {
	max-width: none;
	min-height: 100vh;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.sz90-app-view .cs90-app {
	min-height: 100vh;
}

@media (max-width: 820px) {
	.sz90-site-header__inner,
	.sz90-site-main,
	.sz90-site-footer__inner {
		width: min(100% - 24px, 960px);
	}

	.sz90-site-main {
		padding-top: 28px;
	}
}

/* Dedicated 404 experience */

.sz90-not-found {
	overflow: hidden;
	color: #fff;
	background: #07162c;
}

.sz90-404 {
	position: relative;
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	padding: max(28px, env(safe-area-inset-top)) max(38px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(38px, env(safe-area-inset-left));
	flex-direction: column;
	justify-content: space-between;
	isolation: isolate;
	background-color: var(--sz90-404-primary);
	background-image: var(--sz90-404-image);
	background-position: center;
	background-size: cover;
}

.sz90-404__shade {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: rgba(2, 12, 23, 0.34);
}

.sz90-404__brand {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	max-width: min(440px, 100%);
	gap: 12px;
	color: #fff;
	text-decoration: none;
}

.sz90-404__brand > span:last-child {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.sz90-404__brand strong,
.sz90-404__brand small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sz90-404__brand strong {
	font-size: 17px;
}

.sz90-404__brand small {
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
}

.sz90-404__logo {
	display: grid;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	place-items: center;
	overflow: hidden;
	color: var(--sz90-404-primary);
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.74);
	border-radius: 8px;
	font-size: 22px;
	font-weight: 850;
}

.sz90-404__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sz90-404__content {
	width: min(620px, 55vw);
	margin: auto 0;
	padding: 64px 0;
}

.sz90-404__code {
	display: block;
	margin-bottom: 16px;
	color: var(--sz90-404-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.sz90-404__content h1 {
	margin: 0 0 18px;
	color: #fff;
	font-size: 84px;
	line-height: 0.98;
}

.sz90-404__content p {
	max-width: 560px;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 18px;
	line-height: 1.6;
}

.sz90-404__actions {
	display: flex;
	align-items: center;
	margin-top: 30px;
	gap: 10px;
	flex-wrap: wrap;
}

.sz90-404__primary,
.sz90-404__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	gap: 18px;
	border-radius: 7px;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
}

.sz90-404__primary {
	color: var(--sz90-404-primary);
	background: #fff;
	border: 1px solid #fff;
}

.sz90-404__secondary {
	color: #fff;
	background: rgba(2, 12, 23, 0.42);
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.sz90-404__primary:hover,
.sz90-404__primary:focus-visible,
.sz90-404__secondary:hover,
.sz90-404__secondary:focus-visible {
	filter: brightness(1.08);
}

.sz90-404__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 11px;
}

@media (max-width: 760px) {
	.sz90-404 {
		padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
		background-position: 62% center;
	}

	.sz90-404__shade {
		background: rgba(2, 12, 23, 0.5);
	}

	.sz90-404__content {
		width: 100%;
		padding: 54px 0 42px;
	}

	.sz90-404__content h1 {
		max-width: 330px;
		font-size: 54px;
	}

	.sz90-404__content p {
		max-width: 420px;
		font-size: 15px;
	}

	.sz90-404__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.sz90-404__primary,
	.sz90-404__secondary {
		width: 100%;
	}
}

@media (max-height: 620px) and (orientation: landscape) {
	.sz90-404__content {
		padding: 24px 0;
	}

	.sz90-404__content h1 {
		font-size: 48px;
	}

	.sz90-404__content p {
		font-size: 14px;
	}

	.sz90-404__actions {
		margin-top: 18px;
	}
}
