/* =====================================================================
 * HSG – Elementy WPBakery
 * Stylistyka: kondensowane, pogrubione wersaliki, granat #0018A3,
 * zaokrąglone obrazy, niebieski panel odsłaniany po najechaniu.
 * ===================================================================== */

/* ===== HSG Nagłówek ===== */
.hsg-heading { margin-bottom: 60px; }
.hsg-heading--left   { text-align: left; }
.hsg-heading--center { text-align: center; }
.hsg-heading--right  { text-align: right; }

.hsg-heading__text {
	margin: 0 0 22px;
	font-family: "Roboto Condensed", "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(26px, 3.2vw, 42px);
	line-height: 1.15;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #1d1d1f;
}

.hsg-heading__line {
	display: block;
	width: 56px;
	height: 4px;
	border-radius: 2px;
}
.hsg-heading--center .hsg-heading__line { margin: 0 auto; }
.hsg-heading--right  .hsg-heading__line { margin-left: auto; }

/* ===== HSG Kafelek produktu ===== */
.hsg-reveal {
	--hsg-hover-bg: #0018A3;
	--hsg-height: 320px;
	--hsg-radius: 22px;
	--hsg-ease: cubic-bezier(.22, .61, .36, 1);

	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: var(--hsg-height);
	margin-bottom: 40px;
	color: #1d1d1f;
	text-decoration: none !important;
	isolation: isolate;
}
.hsg-reveal:hover,
.hsg-reveal:focus { color: #1d1d1f; }

/* --- obraz --- */
.hsg-reveal .hsg-reveal__media {
	position: relative;
	display: block;
	min-height: var(--hsg-height);
	overflow: hidden;
	border-radius: var(--hsg-radius);
	background: #e9ecf3;
	padding: 0;
	margin: 0;
	transition: border-radius .45s var(--hsg-ease);
}
/* Zdjęcie zawsze na cały kafelek (cover) – !important, bo motywy
   często nadpisują img { height:auto; max-width:100% } */
.hsg-reveal .hsg-reveal__media img,
.hsg-reveal .hsg-reveal__media .hsg-reveal__img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	object-fit: cover !important;
	object-position: center center;
	transition: transform .8s var(--hsg-ease);
}

/* --- panel tekstowy --- */
.hsg-reveal__content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px 36px;
	border-radius: 0 var(--hsg-radius) var(--hsg-radius) 0;
	overflow: hidden;
	z-index: 0;
}
/* niebieskie tło wysuwane od lewej */
.hsg-reveal__content::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--hsg-hover-bg);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .5s var(--hsg-ease);
}

.hsg-reveal__title {
	display: block;
	margin-bottom: 14px;
	font-family: "Roboto Condensed", "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(20px, 1.9vw, 28px);
	line-height: 1.15;
	text-transform: uppercase;
	color: #1d1d1f;
	transition: color .35s ease;
}

.hsg-reveal__headline {
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #9a9a9a;
	transition: color .35s ease;
}

/* elementy odsłaniane */
.hsg-reveal__hidden {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transform: translateY(10px);
	transition: grid-template-rows .45s var(--hsg-ease), opacity .35s ease .1s, transform .45s var(--hsg-ease);
}
.hsg-reveal__hidden > span:first-child { min-height: 0; }
.hsg-reveal__hidden { overflow: hidden; }

.hsg-reveal__desc {
	display: block;
	margin-top: 14px;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .9);
}

.hsg-reveal__btn {
	display: inline-block;
	justify-self: start;
	margin-top: 26px;
	padding: 14px 30px;
	border-radius: 999px;
	background: #fff;
	color: var(--hsg-hover-bg);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	transition: transform .25s ease, box-shadow .25s ease;
}

/* --- stany hover / focus --- */
.hsg-reveal:hover .hsg-reveal__media,
.hsg-reveal:focus-visible .hsg-reveal__media {
	border-radius: var(--hsg-radius) 0 0 var(--hsg-radius);
}
.hsg-reveal:hover .hsg-reveal__img,
.hsg-reveal:focus-visible .hsg-reveal__img { transform: scale(1.05); }

.hsg-reveal:hover .hsg-reveal__content::before,
.hsg-reveal:focus-visible .hsg-reveal__content::before { transform: scaleX(1); }

.hsg-reveal:hover .hsg-reveal__title,
.hsg-reveal:focus-visible .hsg-reveal__title,
.hsg-reveal:hover .hsg-reveal__headline,
.hsg-reveal:focus-visible .hsg-reveal__headline { color: #fff; }

.hsg-reveal:hover .hsg-reveal__hidden,
.hsg-reveal:focus-visible .hsg-reveal__hidden {
	grid-template-rows: 1fr;
	opacity: 1;
	transform: none;
}

.hsg-reveal:hover .hsg-reveal__btn {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.hsg-reveal:focus-visible {
	outline: 3px solid var(--hsg-hover-bg);
	outline-offset: 4px;
	border-radius: var(--hsg-radius);
}

/* --- tablety: węższy tekst --- */
@media (max-width: 1199px) {
	.hsg-reveal__content { padding: 24px 26px; }
	.hsg-reveal__headline { letter-spacing: .16em; }
}

/* --- telefony: obraz nad tekstem, panel zawsze widoczny --- */
@media (max-width: 767px) {
	.hsg-reveal { grid-template-columns: 1fr; min-height: 0; }
	.hsg-reveal .hsg-reveal__media,
	.hsg-reveal:hover .hsg-reveal__media {
		min-height: 0;
		aspect-ratio: 4 / 3;
		border-radius: var(--hsg-radius) var(--hsg-radius) 0 0;
	}
	.hsg-reveal__content { border-radius: 0 0 var(--hsg-radius) var(--hsg-radius); padding: 26px 24px 30px; }
}

/* urządzenia dotykowe – stan „aktywny” na stałe */
@media (hover: none) {
	.hsg-reveal .hsg-reveal__media { border-radius: var(--hsg-radius) 0 0 var(--hsg-radius); }
	.hsg-reveal .hsg-reveal__content::before { transform: none; }
	.hsg-reveal .hsg-reveal__title,
	.hsg-reveal .hsg-reveal__headline { color: #fff; }
	.hsg-reveal .hsg-reveal__hidden { grid-template-rows: 1fr; opacity: 1; transform: none; }
}
@media (hover: none) and (max-width: 767px) {
	.hsg-reveal .hsg-reveal__media { border-radius: var(--hsg-radius) var(--hsg-radius) 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.hsg-reveal *,
	.hsg-reveal *::before { transition: none !important; }
}

/* ===== HSG Liczniki (statystyki) ===== */
.hsg-counter {
	--hsg-num-color: #0018A3;
	--hsg-line-color: #0018A3;
	padding: 20px 0;
}
.hsg-counter .hsg-heading { margin-bottom: 56px; }
.hsg-counter__sub {
	max-width: 640px;
	margin: 22px auto 0;
	font-size: 16px;
	line-height: 1.6;
	color: #6b6b70;
}
.hsg-counter--left  .hsg-counter__sub { margin-left: 0; }
.hsg-counter--right .hsg-counter__sub { margin-right: 0; }

.hsg-counter .hsg-counter__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.hsg-counter--cols-1 .hsg-counter__list { grid-template-columns: 1fr; }
.hsg-counter--cols-2 .hsg-counter__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hsg-counter--cols-3 .hsg-counter__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hsg-counter--cols-5 .hsg-counter__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hsg-counter--cols-6 .hsg-counter__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.hsg-counter .hsg-counter__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 10px 24px;
	text-align: center;
	list-style: none;
}
.hsg-counter .hsg-counter__item::before { content: none; }
/* pionowe separatory */
.hsg-counter__item + .hsg-counter__item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 18%;
	bottom: 18%;
	width: 1px;
	background: #e3e5ec;
}

.hsg-counter__num {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	font-family: "Roboto Condensed", "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(48px, 5.4vw, 76px);
	line-height: 1;
	color: var(--hsg-num-color);
	font-variant-numeric: tabular-nums;
	letter-spacing: -.01em;
}
.hsg-counter__fix { font-size: .6em; }

/* krótka kreska pod liczbą */
.hsg-counter__num::after {
	content: none;
}
.hsg-counter__label {
	position: relative;
	display: block;
	margin-top: 22px;
	padding-top: 18px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #6b6b70;
}
.hsg-counter__label::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--hsg-line-color);
	transform: translateX(-50%) scaleX(0);
	transition: transform .7s cubic-bezier(.22, .61, .36, 1) .3s;
}
.hsg-counter.is-counted .hsg-counter__label::before,
.hsg-counter:not([data-duration]) .hsg-counter__label::before { transform: translateX(-50%) scaleX(1); }
.hsg-counter[data-duration="0"] .hsg-counter__label::before { transform: translateX(-50%) scaleX(1); }

/* tablety: 2 kolumny */
@media (max-width: 991px) {
	.hsg-counter .hsg-counter__list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 44px; }
	.hsg-counter--cols-1 .hsg-counter__list { grid-template-columns: 1fr !important; }
	.hsg-counter__item:nth-child(odd)::after { content: none !important; }
}
/* małe telefony: 1 kolumna */
@media (max-width: 479px) {
	.hsg-counter .hsg-counter__list { grid-template-columns: 1fr !important; row-gap: 36px; }
	.hsg-counter__item::after { content: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.hsg-counter__label::before { transform: translateX(-50%) scaleX(1) !important; transition: none; }
}
/* bez JS kreska też widoczna */
.no-js .hsg-counter__label::before { transform: translateX(-50%) scaleX(1); }

/* ===== HSG Ikona z tekstem ===== */
.hsg-icontext {
	--hsg-icon-color: #04008C;
	display: flex;
	align-self: start;
	align-items: flex-start;
	gap: 22px;
	margin-bottom: 30px;
}
.hsg-icontext--top {
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
}

.hsg-icontext__icon {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	color: var(--hsg-icon-color);
	isolation: isolate;
	transition: color .35s ease, transform .35s ease;
}
/* jasne tło w kolorze ikony */
.hsg-icontext__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--hsg-icon-color);
	opacity: .08;
	transition: opacity .35s ease;
}
.hsg-icontext__icon i {
	font-size: 30px;
	line-height: 1;
}

.hsg-icontext__body { min-width: 0; padding-top: 4px; }
.hsg-icontext--top .hsg-icontext__body { padding-top: 0; }

.hsg-icontext .hsg-icontext__title {
	margin: 0 0 8px;
	font-family: "Roboto Condensed", "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.25;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #1d1d1f;
}
.hsg-icontext__title a { color: inherit; text-decoration: none; }

.hsg-icontext__text {
	font-size: 16px;
	line-height: 1.75;
	color: #55555a;
}
/* bez tytułu – wyrównaj tekst do środka ikony */
.hsg-icontext--left.hsg-icontext--notitle { align-items: center; }
.hsg-icontext--left.hsg-icontext--notitle .hsg-icontext__body { padding-top: 0; }
.hsg-icontext__text a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--hsg-icon-color), var(--hsg-icon-color));
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: color .25s ease, background-size .3s ease;
}
.hsg-icontext__text a:hover,
.hsg-icontext__text a:focus {
	color: var(--hsg-icon-color);
	background-size: 100% 1px;
}

.hsg-icontext:hover .hsg-icontext__icon { color: #fff; transform: translateY(-2px); }
.hsg-icontext:hover .hsg-icontext__icon::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.hsg-icontext__icon, .hsg-icontext__icon::before, .hsg-icontext__text a { transition: none; }
}

/* ===== HSG Blog / Aktualności ===== */
.hsg-posts {
	--hsg-accent: #0018A3;
	--hsg-radius: 22px;
	--hsg-ease: cubic-bezier(.22, .61, .36, 1);
}
.hsg-posts__items {
	display: grid;
	grid-template-columns: repeat(var(--hsg-cols, 3), minmax(0, 1fr));
	gap: 48px 32px;
}
.hsg-posts--cols-1 { --hsg-cols: 1; }
.hsg-posts--cols-2 { --hsg-cols: 2; }
.hsg-posts--cols-3 { --hsg-cols: 3; }
.hsg-posts--cols-4 { --hsg-cols: 4; }

.hsg-post {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
}

/* zdjęcie */
.hsg-posts .hsg-post__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--hsg-radius);
	background: #e9ecf3;
	margin-bottom: 26px;
}
.hsg-posts .hsg-post__media img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	object-fit: cover !important;
	transition: transform .8s var(--hsg-ease);
}
.hsg-post__placeholder {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 75% 25%, rgba(255,255,255,.25), transparent 45%),
		linear-gradient(135deg, var(--hsg-accent), #2f4ae0);
}
.hsg-post__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--hsg-accent);
	opacity: 0;
	transition: opacity .45s ease;
}

/* treść */
.hsg-post__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}
.hsg-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #9a9a9a;
}
.hsg-post__cat {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--hsg-accent);
}
.hsg-post__meta time + .hsg-post__cat::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	opacity: .5;
}

.hsg-posts .hsg-post__title {
	margin: 0 0 14px;
	font-family: "Roboto Condensed", "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(19px, 1.6vw, 23px);
	line-height: 1.25;
	text-transform: uppercase;
}
.hsg-posts .hsg-post__title a {
	color: #1d1d1f;
	text-decoration: none;
	transition: color .3s ease;
}
.hsg-post__excerpt {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.7;
	color: #6b6b70;
}
.hsg-posts .hsg-post__more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hsg-accent);
	text-decoration: none;
}
.hsg-post__more svg { transition: transform .3s var(--hsg-ease); }

/* hover */
.hsg-post:hover .hsg-post__media img { transform: scale(1.05); }
.hsg-post:hover .hsg-post__media::after { opacity: .15; }
.hsg-post:hover .hsg-post__title a,
.hsg-post__title a:focus { color: var(--hsg-accent); }
.hsg-post:hover .hsg-post__more svg { transform: translateX(5px); }

/* --- układ listy (1 kolumna): zdjęcie z lewej --- */
.hsg-posts--list .hsg-posts__items { gap: 0; }
.hsg-posts--list .hsg-post {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: center;
	padding: 44px 0;
	border-bottom: 1px solid #e8eaf0;
}
.hsg-posts--list .hsg-post:first-child { padding-top: 0; }
.hsg-posts--list .hsg-post:last-child { border-bottom: 0; padding-bottom: 0; }
.hsg-posts--list .hsg-post--noimg { grid-template-columns: 1fr; }
.hsg-posts--list .hsg-post__media { margin-bottom: 0; aspect-ratio: 16 / 11; }
.hsg-posts--list .hsg-post__title { font-size: clamp(21px, 2vw, 28px); }
.hsg-posts--list .hsg-post__more { margin-top: 0; }

/* paginacja */
.hsg-posts__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 56px;
}
.hsg-posts__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid #e3e5ec;
	font-weight: 700;
	font-size: 14px;
	color: #1d1d1f;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.hsg-posts__pagination a.page-numbers:hover {
	border-color: var(--hsg-accent);
	color: var(--hsg-accent);
}
.hsg-posts__pagination .page-numbers.current {
	background: var(--hsg-accent);
	border-color: var(--hsg-accent);
	color: #fff;
}
.hsg-posts__pagination .page-numbers.dots { border-color: transparent; }

.hsg-posts__empty { text-align: center; color: #6b6b70; }

/* responsywność */
@media (max-width: 1199px) {
	.hsg-posts--cols-4 { --hsg-cols: 3; }
}
@media (max-width: 991px) {
	.hsg-posts--cols-3,
	.hsg-posts--cols-4 { --hsg-cols: 2; }
	.hsg-posts--list .hsg-post { gap: 32px; }
}
@media (max-width: 767px) {
	.hsg-posts--grid { --hsg-cols: 1 !important; }
	.hsg-posts--list .hsg-post {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 34px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hsg-post *, .hsg-post *::after { transition: none !important; }
}

/* ===== HSG Dokumenty do pobrania ===== */
.hsg-docs {
	--hsg-overlay: #0018A3;
	--hsg-radius: 22px;
	position: relative;
	display: flex;
	align-items: center;
	min-height: 280px;
	margin-bottom: 30px;
	overflow: hidden;
	border-radius: var(--hsg-radius);
	background: var(--hsg-overlay);
	color: #fff;
	isolation: isolate;
}
.hsg-docs .hsg-docs__bg {
	position: absolute !important;
	inset: 0 !important;
	z-index: -2;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	object-fit: cover !important;
	transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}
.hsg-docs:hover .hsg-docs__bg { transform: scale(1.04); }
.hsg-docs__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, var(--hsg-overlay) 0%, var(--hsg-overlay) 35%, transparent 100%);
	opacity: .92;
}
.hsg-docs__overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 20, .25);
}
.hsg-docs--nobg .hsg-docs__overlay {
	background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 50%), var(--hsg-overlay);
	opacity: 1;
}

.hsg-docs__inner {
	position: relative;
	width: 100%;
	padding: 48px;
}

.hsg-docs .hsg-docs__title {
	margin: 0 0 10px;
	font-family: "Roboto Condensed", "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.15;
	text-transform: uppercase;
	color: #fff;
}
.hsg-docs__desc {
	max-width: 560px;
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .85);
}
.hsg-docs .hsg-docs__title + .hsg-docs__list,
.hsg-docs .hsg-docs__desc + .hsg-docs__list { margin-top: 28px; }

.hsg-docs .hsg-docs__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hsg-docs .hsg-docs__list li { margin: 0; padding: 0; list-style: none; max-width: 100%; }
.hsg-docs .hsg-docs__list li::before { content: none; }

.hsg-docs .hsg-docs__btn {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	max-width: 100%;
	padding: 10px 12px 10px 10px;
	border-radius: 999px;
	background: #fff;
	color: #1d1d1f;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 0, 30, .25);
	transition: transform .3s ease, box-shadow .3s ease;
}
.hsg-docs__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--hsg-overlay);
	color: #fff;
}
.hsg-docs__icon i { font-size: 24px; line-height: 1; }

.hsg-docs__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding-right: 6px;
}
.hsg-docs__label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #1d1d1f;
}
.hsg-docs__meta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #9a9a9a;
}
.hsg-docs__arrow {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--hsg-overlay);
	background: rgba(0, 24, 163, .08);
	transition: background-color .3s ease, color .3s ease;
}
.hsg-docs__btn:hover,
.hsg-docs__btn:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(0, 0, 30, .32);
	color: #1d1d1f;
}
.hsg-docs__btn:hover .hsg-docs__arrow,
.hsg-docs__btn:focus-visible .hsg-docs__arrow {
	background: var(--hsg-overlay);
	color: #fff;
}
.hsg-docs__btn:hover .hsg-docs__arrow svg { animation: hsg-dl .7s ease; }
@keyframes hsg-dl {
	0% { transform: translateY(0); }
	40% { transform: translateY(3px); }
	100% { transform: translateY(0); }
}
.hsg-docs__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 767px) {
	.hsg-docs { min-height: 0; }
	.hsg-docs__inner { padding: 30px 20px; }
	.hsg-docs__overlay { background: var(--hsg-overlay); opacity: .88; }
	.hsg-docs .hsg-docs__list { align-items: stretch; }
	.hsg-docs .hsg-docs__btn { display: flex; border-radius: 20px; }
	.hsg-docs__text { flex: 1 1 auto; }
	.hsg-docs__label { font-size: 13px; letter-spacing: .03em; }
}

@media (prefers-reduced-motion: reduce) {
	.hsg-docs__bg, .hsg-docs__btn, .hsg-docs__arrow { transition: none !important; }
	.hsg-docs__btn:hover .hsg-docs__arrow svg { animation: none; }
}

/* --- Dokumenty: tło na cały ekran, treść w szerokości strony --- */
.hsg-docs.hsg-docs--full {
	--hsg-container: 1110px;
	width: calc(100vw - var(--hsg-sbw, 0px));
	max-width: none;
	margin: 0 0 0 calc(50% - (100vw - var(--hsg-sbw, 0px)) / 2);
	min-height: 380px;
	border-radius: 0;
}
.hsg-docs--full .hsg-docs__inner {
	padding: 80px max(20px, calc((100% - var(--hsg-container)) / 2));
}
.hsg-docs--full .hsg-docs__overlay {
	background: linear-gradient(100deg, var(--hsg-overlay) 0%, var(--hsg-overlay) 30%, transparent 85%);
}
@media (max-width: 767px) {
	.hsg-docs--full .hsg-docs__inner { padding: 48px 20px; }
	.hsg-docs--full .hsg-docs__overlay { background: var(--hsg-overlay); opacity: .88; }
}

/* ikona pliku (SVG) */
.hsg-docs__icon svg { display: block; }

/* ===== HSG Pasek UE nad stopką ===== */
.hsg-eu-bar {
	--hsg-eu-bg: #ffffff;
	--hsg-eu-pad: 40px;
	--hsg-eu-max: 900px;
	position: relative;
	clear: both;
	width: 100%;
	background: var(--hsg-eu-bg);
}
.hsg-eu-bar--border { border-top: 1px solid #e8eaf0; }
.hsg-eu-bar--inline { border-top: 0; }
.hsg-eu-bar__inner {
	max-width: calc(var(--hsg-eu-max) + 40px);
	margin: 0 auto;
	padding: var(--hsg-eu-pad) 20px;
	text-align: center;
	line-height: 0;
}
.hsg-eu-bar .hsg-eu-bar__img {
	display: inline-block;
	width: 100%;
	max-width: var(--hsg-eu-max);
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.hsg-eu-bar__link { display: inline-block; width: 100%; max-width: var(--hsg-eu-max); }
@media (max-width: 767px) {
	.hsg-eu-bar__inner { padding: calc(var(--hsg-eu-pad) * .6) 16px; }
}
