
/* OSP Krajno — frontend */
:root { scroll-behavior: smooth; }

body.ospk-homepage .entry-header,
body.ospk-homepage .entry-title {
	display: none !important;
}

body.ospk-homepage .site-content > .ast-container,
body.ospk-homepage .site-content .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
	display: block;
}

body.ospk-homepage .site-main,
body.ospk-homepage article.page,
body.ospk-homepage .entry-content,
body.ospk-homepage .entry-content-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ospk-home,
.ospk-home * {
	box-sizing: border-box;
}

.ospk-home {
	--ospk-red: #c1121f;
	--ospk-dark: #171717;
	--ospk-muted: #67707a;
	--ospk-soft: #f4f5f6;
	--ospk-border: #e6e7e9;
	--ospk-white: #fff;
	--ospk-shell: 1240px;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	background: var(--ospk-white);
	color: var(--ospk-dark);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
}

.ospk-home a {
	text-decoration: none;
}

.ospk-home h1,
.ospk-home h2,
.ospk-home h3,
.ospk-home p {
	margin-top: 0;
}

.ospk-home h1,
.ospk-home h2,
.ospk-home h3 {
	color: inherit;
	letter-spacing: -0.03em;
	line-height: 1.12;
}

.ospk-home h2 {
	margin-bottom: 18px;
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 800;
}

.ospk-home h3 {
	font-size: 1.28rem;
	font-weight: 760;
}

.ospk-shell {
	width: min(var(--ospk-shell), calc(100% - 40px));
	margin-inline: auto;
}

.ospk-section {
	padding: 104px 0;
}

.ospk-eyebrow,
.ospk-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--ospk-red);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ospk-eyebrow::before,
.ospk-kicker::before {
	width: 34px;
	height: 3px;
	background: currentColor;
	content: "";
}

.ospk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 23px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-size: .95rem;
	font-weight: 750;
	transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
	cursor: pointer;
}

.ospk-btn:hover {
	transform: translateY(-2px);
}

.ospk-btn svg,
.ospk-text-link svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ospk-btn-primary {
	background: var(--ospk-red);
	color: #fff;
	box-shadow: 0 14px 32px rgba(193, 18, 31, .24);
}

.ospk-btn-primary:hover {
	background: #9f0d18;
	color: #fff;
}

.ospk-btn-ghost {
	border-color: rgba(255, 255, 255, .6);
	background: rgba(255, 255, 255, .06);
	color: #fff;
	backdrop-filter: blur(8px);
}

.ospk-btn-ghost:hover {
	border-color: #fff;
	background: #fff;
	color: var(--ospk-dark);
}

.ospk-btn-dark {
	background: var(--ospk-dark);
	color: #fff;
}

.ospk-btn-dark svg {
	fill: currentColor;
	stroke: none;
}

.ospk-btn-dark:hover {
	background: #000;
	color: #fff;
}

.ospk-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ospk-red);
	font-weight: 750;
}

.ospk-text-link:hover {
	color: #8f0c15;
}

.ospk-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(780px, 86vh);
	background-color: var(--ospk-dark);
	background-image:
		linear-gradient(90deg, rgba(9, 9, 11, .96) 0%, rgba(9, 9, 11, .76) 46%, rgba(9, 9, 11, .30) 100%),
		var(--ospk-hero-image, linear-gradient(135deg, #202124, #080808));
	background-position: center;
	background-size: cover;
	color: #fff;
	isolation: isolate;
}

.ospk-hero::before {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: -1;
	width: 8px;
	background: var(--ospk-red);
	content: "";
}

.ospk-hero::after {
	position: absolute;
	right: -100px;
	bottom: -210px;
	z-index: -1;
	width: 560px;
	height: 560px;
	border: 80px solid rgba(255,255,255,.045);
	border-radius: 50%;
	content: "";
}

.ospk-hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 740px) 1fr;
	align-items: center;
	gap: 50px;
	padding-top: 90px;
	padding-bottom: 90px;
}

.ospk-hero-copy h1 {
	margin-bottom: 16px;
	color: #fff;
	font-size: clamp(3.6rem, 9vw, 7.2rem);
	font-weight: 900;
	letter-spacing: -0.065em;
}

.ospk-kicker {
	color: #fff;
}

.ospk-kicker::before {
	background: var(--ospk-red);
}

.ospk-motto {
	margin-bottom: 22px;
	color: #fff;
	font-size: clamp(1.25rem, 2.4vw, 1.85rem);
	font-weight: 720;
}

.ospk-lead {
	max-width: 650px;
	margin-bottom: 34px;
	color: rgba(255,255,255,.75);
	font-size: 1.08rem;
}

.ospk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ospk-hero-mark {
	justify-self: end;
	width: min(30vw, 290px);
	color: rgba(255,255,255,.075);
}

.ospk-hero-mark svg {
	display: block;
	width: 100%;
	height: auto;
	fill: none;
	stroke: currentColor;
	stroke-width: .8;
}

.ospk-alert {
	background: var(--ospk-red);
	color: #fff;
}

.ospk-alert .ospk-shell {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 58px;
	text-align: center;
}

.ospk-alert a,
.ospk-alert span {
	color: #fff;
	font-weight: 650;
}

.ospk-alert-label {
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,.5);
	border-radius: 4px;
	font-size: .68rem;
	letter-spacing: .12em;
}

.ospk-stats-wrap {
	position: relative;
	z-index: 4;
	margin-top: -52px;
}

.ospk-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	overflow: hidden;
	border: 1px solid var(--ospk-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(20, 22, 25, .12);
}

.ospk-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 138px;
	padding: 28px 32px;
}

.ospk-stat:not(:last-child)::after {
	position: absolute;
	top: 25%;
	right: 0;
	width: 1px;
	height: 50%;
	background: var(--ospk-border);
	content: "";
}

.ospk-stat strong {
	color: var(--ospk-red);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1;
}

.ospk-stat span {
	margin-top: 10px;
	color: var(--ospk-muted);
	font-size: .86rem;
	font-weight: 650;
}

.ospk-history {
	padding-top: 128px;
}

.ospk-split {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
	align-items: center;
	gap: clamp(50px, 8vw, 105px);
}

.ospk-history-media {
	position: relative;
	min-height: 520px;
}

.ospk-history-media > img,
.ospk-large-placeholder {
	width: 100%;
	height: 520px;
	border-radius: 12px;
	object-fit: cover;
}

.ospk-large-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	border: 1px dashed #c8cbd0;
	background:
		linear-gradient(135deg, rgba(193,18,31,.06), rgba(23,23,23,.04)),
		#f7f7f8;
	color: #9398a0;
}

.ospk-large-placeholder svg {
	width: 96px;
	height: 96px;
	fill: none;
	stroke: currentColor;
	stroke-width: .8;
}

.ospk-large-placeholder span {
	font-size: .9rem;
	font-weight: 700;
}

.ospk-media-accent {
	position: absolute;
	right: -20px;
	bottom: -20px;
	z-index: -1;
	width: 54%;
	height: 54%;
	border-radius: 10px;
	background: var(--ospk-red);
}

.ospk-section-copy > p,
.ospk-richtext {
	color: var(--ospk-muted);
}

.ospk-richtext p:last-child {
	margin-bottom: 26px;
}

.ospk-news,
.ospk-equipment {
	background: var(--ospk-soft);
}

.ospk-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 42px;
}

.ospk-section-head h2 {
	margin-bottom: 0;
}

.ospk-section-head > p {
	max-width: 510px;
	margin-bottom: 4px;
	color: var(--ospk-muted);
}

.ospk-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ospk-post-card {
	overflow: hidden;
	border: 1px solid var(--ospk-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(20, 22, 25, .055);
	transition: transform .25s ease, box-shadow .25s ease;
}

.ospk-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 55px rgba(20, 22, 25, .12);
}

.ospk-post-image {
	display: block;
	height: 230px;
	overflow: hidden;
	background: #e9eaec;
}

.ospk-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.ospk-post-card:hover .ospk-post-image img {
	transform: scale(1.035);
}

.ospk-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #afb3b8;
	background:
		linear-gradient(135deg, rgba(193,18,31,.055), rgba(23,23,23,.025)),
		#eceef0;
}

.ospk-image-placeholder svg {
	width: 74px;
	height: 74px;
	fill: none;
	stroke: currentColor;
	stroke-width: .9;
}

.ospk-post-content {
	padding: 26px;
}

.ospk-post-date {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 14px;
	color: #878d95;
	font-size: .76rem;
	font-weight: 650;
}

.ospk-post-date svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.ospk-post-content h3 {
	margin-bottom: 12px;
}

.ospk-post-content h3 a {
	color: var(--ospk-dark);
}

.ospk-post-content p {
	margin-bottom: 20px;
	color: var(--ospk-muted);
	font-size: .92rem;
}

.ospk-empty {
	padding: 40px;
	border: 1px dashed #c8cbd0;
	border-radius: 12px;
	background: #fff;
	color: var(--ospk-muted);
	text-align: center;
}

.ospk-facebook-grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
	align-items: center;
	gap: clamp(48px, 8vw, 110px);
}

.ospk-facebook-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 640px;
	overflow: hidden;
	border: 1px solid var(--ospk-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(20,22,25,.10);
}

.ospk-facebook-card iframe {
	display: block;
	width: 100%;
	max-width: 500px;
	height: 640px;
	border: 0;
}

.ospk-fb-consent {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 420px;
	padding: 50px 30px;
	text-align: center;
}

.ospk-fb-consent > svg {
	width: 58px;
	height: 58px;
	margin-bottom: 20px;
	fill: var(--ospk-dark);
}

.ospk-fb-consent strong {
	font-size: 1.25rem;
}

.ospk-fb-consent p {
	color: var(--ospk-muted);
}

.ospk-equipment-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 22px;
}

.ospk-equipment-card {
	grid-column: span 2;
	overflow: hidden;
	border: 1px solid var(--ospk-border);
	border-radius: 12px;
	background: #fff;
}

.ospk-equipment-card:nth-child(4),
.ospk-equipment-card:nth-child(5) {
	grid-column: span 3;
}

.ospk-equipment-image {
	height: 235px;
	overflow: hidden;
	background: #e9eaec;
}

.ospk-equipment-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.ospk-equipment-card:hover img {
	transform: scale(1.035);
}

.ospk-equipment-copy {
	padding: 25px;
}

.ospk-equipment-copy > span {
	display: block;
	margin-bottom: 8px;
	color: var(--ospk-red);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ospk-equipment-copy h3 {
	margin-bottom: 10px;
}

.ospk-equipment-copy p {
	margin-bottom: 0;
	color: var(--ospk-muted);
	font-size: .9rem;
}

.ospk-board {
	background: var(--ospk-dark);
	color: #fff;
}

.ospk-board h2 {
	color: #fff;
}

.ospk-section-head-light > p {
	color: rgba(255,255,255,.58);
}

.ospk-board-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ospk-person {
	display: grid;
	grid-template-columns: 52px 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	padding: 22px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 10px;
	background: rgba(255,255,255,.045);
}

.ospk-person-icon {
	grid-row: 1 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ospk-red);
	color: #fff;
}

.ospk-person-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.ospk-person span {
	color: rgba(255,255,255,.56);
	font-size: .75rem;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ospk-person strong {
	color: #fff;
	font-size: 1rem;
}

.ospk-recruitment {
	padding: 72px 0;
	background: #fff;
}

.ospk-recruitment-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 48px 54px;
	border-radius: 14px;
	background:
		linear-gradient(105deg, rgba(193,18,31,.98), rgba(137,7,17,.98)),
		var(--ospk-red);
	color: #fff;
	box-shadow: 0 24px 60px rgba(193,18,31,.2);
}

.ospk-recruitment-card .ospk-eyebrow {
	color: #fff;
}

.ospk-recruitment-card .ospk-eyebrow::before {
	background: #fff;
}

.ospk-recruitment-card h2 {
	margin-bottom: 12px;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
}

.ospk-recruitment-card p {
	max-width: 760px;
	margin-bottom: 0;
	color: rgba(255,255,255,.78);
}

.ospk-recruitment-card .ospk-btn {
	flex: 0 0 auto;
	border-color: #fff;
	background: #fff;
	color: var(--ospk-red);
	box-shadow: none;
}

.ospk-contact {
	background: #0c0d0f;
	color: #fff;
}

.ospk-contact-head {
	max-width: 760px;
	margin-bottom: 45px;
}

.ospk-contact h2 {
	color: #fff;
}

.ospk-contact-head p {
	color: rgba(255,255,255,.58);
}

.ospk-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ospk-contact-item {
	display: grid;
	grid-template-columns: 48px 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	padding: 26px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 10px;
	background: rgba(255,255,255,.035);
}

.ospk-contact-item > svg {
	grid-row: 1 / 3;
	width: 25px;
	height: 25px;
	fill: none;
	stroke: var(--ospk-red);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.ospk-contact-item span {
	color: rgba(255,255,255,.48);
	font-size: .72rem;
	font-weight: 750;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ospk-contact-item strong,
.ospk-contact-item a {
	color: #fff;
	font-size: 1rem;
}

@media (max-width: 1000px) {
	.ospk-section {
		padding: 82px 0;
	}

	.ospk-hero-inner {
		grid-template-columns: 1fr;
	}

	.ospk-hero-mark {
		display: none;
	}

	.ospk-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.ospk-stat:nth-child(2)::after {
		display: none;
	}

	.ospk-stat:nth-child(-n+2) {
		border-bottom: 1px solid var(--ospk-border);
	}

	.ospk-split,
	.ospk-facebook-grid {
		grid-template-columns: 1fr;
	}

	.ospk-history-media {
		max-width: 720px;
	}

	.ospk-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ospk-equipment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ospk-equipment-card,
	.ospk-equipment-card:nth-child(4),
	.ospk-equipment-card:nth-child(5) {
		grid-column: auto;
	}

	.ospk-board-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.ospk-home {
		font-size: 16px;
	}

	.ospk-shell {
		width: min(var(--ospk-shell), calc(100% - 28px));
	}

	.ospk-section {
		padding: 66px 0;
	}

	.ospk-hero {
		min-height: 720px;
		background-image:
			linear-gradient(180deg, rgba(9,9,11,.80), rgba(9,9,11,.94)),
			var(--ospk-hero-image, linear-gradient(135deg, #202124, #080808));
	}

	.ospk-hero-inner {
		padding-top: 80px;
		padding-bottom: 110px;
	}

	.ospk-hero-copy h1 {
		font-size: clamp(3.2rem, 18vw, 5.4rem);
	}

	.ospk-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ospk-btn {
		width: 100%;
	}

	.ospk-alert .ospk-shell {
		align-items: flex-start;
		flex-direction: column;
		padding-top: 14px;
		padding-bottom: 14px;
		text-align: left;
	}

	.ospk-stats-wrap {
		margin-top: -72px;
	}

	.ospk-stats {
		grid-template-columns: 1fr 1fr;
	}

	.ospk-stat {
		min-height: 115px;
		padding: 20px;
	}

	.ospk-stat strong {
		font-size: 2rem;
	}

	.ospk-stat span {
		font-size: .72rem;
	}

	.ospk-history {
		padding-top: 90px;
	}

	.ospk-history-media,
	.ospk-history-media > img,
	.ospk-large-placeholder {
		min-height: 360px;
		height: 360px;
	}

	.ospk-media-accent {
		right: -10px;
		bottom: -10px;
	}

	.ospk-section-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.ospk-post-grid,
	.ospk-equipment-grid,
	.ospk-board-grid,
	.ospk-contact-grid {
		grid-template-columns: 1fr;
	}

	.ospk-post-image,
	.ospk-equipment-image {
		height: 220px;
	}

	.ospk-facebook-card {
		min-height: 560px;
	}

	.ospk-facebook-card iframe {
		height: 560px;
	}

	.ospk-recruitment-card {
		align-items: flex-start;
		flex-direction: column;
		padding: 34px 26px;
	}

	.ospk-contact-item {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	:root { scroll-behavior: auto; }
	.ospk-home *,
	.ospk-home *::before,
	.ospk-home *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
