/* PKP Sponzorji sporočajo – samostojni slogi (brez Elementorja). */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.spz {
	--spz-ink: #0b0f18;
	--spz-ink-2: #111725;
	--spz-ink-3: #1a2233;
	--spz-line: rgba(255, 255, 255, 0.12);
	--spz-gold: #e8c77e;
	--spz-gold-soft: #f4dfae;
	--spz-red: #d6232b;
	--spz-paper: #f6f2ea;
	--spz-text: #151a23;
	--spz-muted: #5b6270;
	--spz-muted-dark: #aab1c0;
	--spz-radius: 18px;
	--spz-gutter: clamp(1rem, 4vw, 2.5rem);
	--spz-shadow: 0 30px 60px -30px rgba(11, 15, 24, 0.55);
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--spz-text);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Zaščita pred slogi teme (Astra, Elementor kit). */
.spz h1,
.spz h2,
.spz h3,
.spz p,
.spz a,
.spz button {
	font-family: inherit;
}
.spz h1,
.spz h2,
.spz h3 {
	text-transform: none;
}
.spz .spz-play,
.spz .spz-play:hover,
.spz .spz-play:focus,
.spz .spz-play:active {
	background: transparent;
	color: #fff;
	border: 0;
	box-shadow: none;
	border-radius: 0;
	min-height: 0;
	line-height: inherit;
}
.pkp-spz--theme .ast-container,
.pkp-spz--theme #content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	display: block;
}
.pkp-spz--theme .spz {
	width: 100%;
}
/* V Elementor widgetu: hero naj ne bo tako visok. */
.spz--embed .spz-hero {
	padding-top: clamp(3rem, 6vw, 5rem);
}

body.pkp-spz--standalone {
	margin: 0;
	background: #f6f2ea;
}

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

.spz img {
	max-width: 100%;
	height: auto;
	display: block;
}

.spz a {
	color: inherit;
}

.spz-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--spz-gutter);
}

.spz-wrap--narrow {
	max-width: 820px;
}

.spz-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: #e8c77e;
	color: #0b0f18;
	padding: 0.6rem 1rem;
	font-weight: 700;
}
.spz-skip:focus {
	left: 1rem;
	top: 1rem;
}

/* --- Vrstica zgoraj (samostojni način) --- */

.spz-bar {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 20;
	padding: 1.25rem 0;
}
.admin-bar .spz-bar {
	top: 32px;
}
.spz-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.spz-bar__logo img {
	width: 130px;
	height: auto;
}
.spz-bar__home {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--spz-line);
	border-radius: 999px;
	transition: background 0.2s, border-color 0.2s;
}
.spz-bar__home:hover,
.spz-bar__home:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.3);
}

/* --- Hero --- */

.spz-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 90% at 85% 0%, #1d2740 0%, var(--spz-ink) 55%);
	color: #fff;
	padding: clamp(7.5rem, 14vw, 10.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.pkp-spz--theme .spz-hero {
	padding-top: clamp(4rem, 8vw, 6rem);
}
.spz-hero__glow {
	position: absolute;
	width: 46rem;
	height: 46rem;
	right: -14rem;
	top: -18rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(214, 35, 43, 0.35), rgba(214, 35, 43, 0) 65%);
	pointer-events: none;
}
.spz-hero .spz-wrap {
	position: relative;
}
.spz-eyebrow {
	margin: 0 0 0.9rem;
	color: var(--spz-gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.spz-hero__title {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(2.6rem, 7vw, 5.2rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #fff;
}
.spz-hero__title--sm {
	max-width: none;
	font-size: clamp(2rem, 5vw, 3.6rem);
}
.spz-hero__intro {
	margin: 1.4rem 0 0;
	max-width: 46ch;
	color: var(--spz-muted-dark);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

/* Trak z logotipi */
.spz-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.75rem;
}
.spz-strip__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 76px;
	min-width: 130px;
	padding: 0.6rem 1.1rem;
	background: #fff;
	border-radius: 12px;
	text-decoration: none;
	color: var(--spz-text) !important;
	font-weight: 700;
	font-size: 0.9rem;
	transition: transform 0.2s, box-shadow 0.2s;
}
.spz-strip__item:hover,
.spz-strip__item:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.spz-strip__logo {
	max-height: 62px;
	width: auto !important;
	max-width: 150px !important;
	object-fit: contain;
}

/* --- Seznam --- */

.spz-list {
	background: var(--spz-paper);
	padding: clamp(3rem, 7vw, 6rem) 0;
}
.spz-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 4rem);
	align-items: center;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	background: #fff;
	border-radius: calc(var(--spz-radius) + 6px);
	box-shadow: 0 1px 0 rgba(11, 15, 24, 0.04), var(--spz-shadow);
	scroll-margin-top: 2rem;
}
.spz-feature + .spz-feature {
	margin-top: clamp(2rem, 5vw, 3.5rem);
}
.spz-feature--flip .spz-feature__media {
	order: 2;
}
.spz-feature--nomedia {
	grid-template-columns: 1fr;
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}
.spz-feature__body {
	position: relative;
	padding: clamp(0.25rem, 1.5vw, 1rem);
}
.spz-feature__num {
	position: absolute;
	top: -0.4rem;
	right: 0.5rem;
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: rgba(11, 15, 24, 0.06);
}
.spz-feature__title {
	margin: 1.25rem 0 0.75rem;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--spz-ink);
}
.spz-feature__title a {
	text-decoration: none;
}
.spz-feature__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--spz-gold);
	text-underline-offset: 0.2em;
}

/* Logo kartica */
.spz-logo-card {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.8rem;
	background: #fff;
	border: 1px solid #e3ddd0;
	border-radius: 14px;
	min-height: 96px;
}
.spz-logo {
	max-height: 96px;
	max-width: 220px !important;
	width: auto !important;
	object-fit: contain;
}
.spz-logo-card--lg {
	min-height: 104px;
	padding: 1rem 1.4rem;
	border: 0;
	box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.7);
}
.spz-logo-card--lg .spz-logo {
	max-height: 120px;
	max-width: 260px !important;
}

/* Besedilo */
.spz-text {
	color: var(--spz-muted);
	font-size: 1.02rem;
}
.spz-text > :first-child {
	margin-top: 0;
}
.spz-text > :last-child {
	margin-bottom: 0;
}
.spz-text a {
	color: var(--spz-ink);
	text-decoration-color: var(--spz-gold);
	text-underline-offset: 0.2em;
}
.spz-text--lg {
	font-size: 1.15rem;
	color: #333a46;
}

/* Gumbi */
.spz-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}
.spz-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.35rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.spz-btn:hover {
	transform: translateY(-1px);
}
.spz-btn--gold {
	background: var(--spz-gold);
	color: var(--spz-ink) !important;
}
.spz-btn--gold:hover,
.spz-btn--gold:focus-visible {
	background: var(--spz-gold-soft);
}
.spz-btn--ghost {
	border: 1px solid #d8d1c2;
	color: var(--spz-ink) !important;
}
.spz-btn--ghost:hover,
.spz-btn--ghost:focus-visible {
	border-color: var(--spz-ink);
}

/* --- Video / slika --- */

.spz-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--spz-radius);
	background: var(--spz-ink-2);
	isolation: isolate;
}
.spz-media__img,
.spz-media__video,
.spz-media__frame,
.spz-media--embed iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	object-fit: cover;
}
.spz-media__video {
	object-fit: contain;
	background: #000;
}
.spz-media--video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 15, 24, 0) 40%, rgba(11, 15, 24, 0.65) 100%);
	pointer-events: none;
	transition: opacity 0.3s;
}
.spz-media--video .spz-media__img {
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.spz-media--video:hover .spz-media__img {
	transform: scale(1.035);
}
.spz-play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 0.85rem;
	width: 100%;
	padding: clamp(1rem, 2.5vw, 1.6rem);
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	font: inherit;
	text-align: left;
}
.spz-play__icon {
	display: grid;
	place-items: center;
	width: clamp(56px, 6vw, 72px);
	height: clamp(56px, 6vw, 72px);
	border-radius: 50%;
	background: var(--spz-red);
	color: #fff;
	box-shadow: 0 0 0 0 rgba(214, 35, 43, 0.55);
	animation: spz-pulse 2.4s infinite;
	transition: transform 0.25s;
}
.spz-play__icon svg {
	margin-left: 3px;
}
.spz-play__label {
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.spz-play:hover .spz-play__icon,
.spz-play:focus-visible .spz-play__icon {
	transform: scale(1.08);
}
.spz-play:focus-visible {
	outline: 3px solid var(--spz-gold);
	outline-offset: -6px;
	border-radius: var(--spz-radius);
}
.spz-media.is-playing .spz-play,
.spz-media.is-playing .spz-media__img,
.spz-media.is-playing::after {
	display: none;
}
.spz-media.is-playing .spz-media__frame {
	z-index: 3;
}

@keyframes spz-pulse {
	0% { box-shadow: 0 0 0 0 rgba(214, 35, 43, 0.55); }
	70% { box-shadow: 0 0 0 18px rgba(214, 35, 43, 0); }
	100% { box-shadow: 0 0 0 0 rgba(214, 35, 43, 0); }
}

/* --- Posamezen sponzor --- */

.spz-hero--single {
	padding-bottom: 0;
	background: linear-gradient(180deg, transparent 0, transparent calc(100% - 9rem), var(--spz-paper) calc(100% - 9rem)), radial-gradient(120% 90% at 85% 0%, #1d2740 0%, var(--spz-ink) 55%);
}
.spz-back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 2rem;
	color: var(--spz-muted-dark) !important;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
}
.spz-back:hover {
	color: #fff !important;
}
.spz-single__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 2rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.spz-single__head .spz-eyebrow {
	margin-bottom: 0.4rem;
}
.spz-single__media {
	max-width: 1080px;
}
.spz-single__media .spz-media {
	border-radius: calc(var(--spz-radius) + 6px);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.spz-single__text {
	max-width: 760px;
}
.spz-single__content {
	background: var(--spz-paper);
	padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.spz-others {
	background: #fff;
	padding: clamp(3rem, 6vw, 5rem) 0;
	border-top: 1px solid #e3ddd0;
}
.spz-others__title {
	margin: 0 0 1.75rem;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--spz-ink);
}
.spz-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 1rem;
}
.spz-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	padding: 1.5rem 1rem 1.25rem;
	background: var(--spz-paper);
	border-radius: var(--spz-radius);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}
.spz-card:hover,
.spz-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--spz-shadow);
}
.spz-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 72px;
	font-weight: 800;
}
.spz-card__img {
	max-height: 80px;
	max-width: 150px !important;
	width: auto !important;
	object-fit: contain;
}
.spz-card__name {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--spz-muted);
	text-align: center;
}
.spz-card__tag {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: var(--spz-red);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.spz-empty {
	margin: 0;
	padding: 3rem;
	text-align: center;
	color: var(--spz-muted);
	background: #fff;
	border-radius: var(--spz-radius);
}

/* --- Noga (samostojni način) --- */

.spz-foot {
	background: var(--spz-ink);
	color: var(--spz-muted-dark);
	padding: 2rem 0;
	font-size: 0.85rem;
}
.spz-foot__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.spz-foot p {
	margin: 0;
}

/* --- Animacija --- */

.spz-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.spz-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* --- Odzivnost --- */

@media (max-width: 900px) {
	.spz-feature {
		grid-template-columns: 1fr;
	}
	.spz-feature--flip .spz-feature__media {
		order: 0;
	}
	.spz-feature__num {
		display: none;
	}
}

@media (max-width: 782px) {
	.admin-bar .spz-bar {
		top: 46px;
	}
}

@media (max-width: 560px) {
	.spz-bar__home {
		font-size: 0.8rem;
		padding: 0.4rem 0.75rem;
	}
	.spz-bar__logo img {
		width: 104px;
	}
	.spz-play__label {
		display: none;
	}
	.spz-play {
		align-items: center;
		justify-content: center;
	}
	.spz-actions .spz-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
	.spz-strip__item {
		min-width: 0;
		flex: 1 1 calc(50% - 0.75rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.spz-play__icon {
		animation: none;
	}
	.spz-media--video .spz-media__img,
	.spz-btn,
	.spz-card {
		transition: none;
	}
}
