/* ==========================================================================
   Base — reset + warstwa motywu (nagłówek, nawigacja, typografia bazowa)
   Odtworzone na podstawie motywu Cryption używanego na darkpool.one
   ========================================================================== */

html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
	box-sizing: border-box;
}
body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: 'Neue Haas Grotesk', 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
b, strong {
	font-weight: 700;
}
a {
	background: transparent;
	color: inherit;
	text-decoration: none;
	transition: 0.3s;
}
a:active, a:hover {
	outline: 0 none;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px 0;
	color: inherit;
}
p {
	margin: 0 0 20px 0;
}
ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

/* podkreślenia linków w treści — jak w oryginale */
.green_outline_btn,
.footer_block2 p a,
.footer_block3 a {
	text-decoration: underline;
}

/* pionowe odstępy bloków stopki */
.footer_block1, .footer_block2, .footer_block3 {
	padding: 45px 0;
}

/* listy punktowane w treści (odpowiednik ct-list motywu) */
.ct-list ul {
	margin: 0 0 20px 0;
	padding-left: 24px;
}
.ct-list li {
	list-style: disc;
	font-weight: 300;
	margin-bottom: 16px;
	padding-left: 4px;
	line-height: 1.6;
}
.ct-list li::marker {
	color: #2DE798;
}

/* odstęp pod nagłówkiem na podstronach (oryg. wp-block-spacer) */
.wp-block-spacer {
	height: 105px;
}

/* akordeony ogłoszeń (odpowiednik bazowych stylów wtyczki Shortcodes Ultimate) */
.su-spoiler {
	margin-bottom: 26px;
	border-radius: 10px;
	overflow: hidden;
}
.su-spoiler-title {
	cursor: pointer;
	font-weight: 700;
	user-select: none;
}
.su-spoiler-closed > .su-spoiler-content {
	display: none;
}
.su-spoiler-content ol,
.su-spoiler-content ul {
	margin: 0 0 20px 0;
	padding-left: 28px;
}
.su-spoiler-content ul li {
	margin-bottom: 8px;
}
.su-spoiler-content ol li {
	list-style: decimal;
	font-weight: 300;
	margin-bottom: 8px;
}
.su-spoiler-content p {
	font-weight: 300;
}

/* listy w treściach prawnych (polityka prywatności, regulamin) */
.tekst_gradient_pionowy_text ul,
.tekst_gradient_pionowy_text ol {
	margin: 0 0 20px 0;
	padding-left: 28px;
}
.tekst_gradient_pionowy_text ul li {
	list-style: disc;
	font-weight: 300;
	margin-bottom: 8px;
}
.tekst_gradient_pionowy_text ol li {
	list-style: decimal;
	font-weight: 300;
	margin-bottom: 8px;
}
.tekst_gradient_pionowy_text ul li::marker {
	color: #2DE798;
}

/* przyciąganie widoku do sekcji przy przewijaniu (desktop) */
@media (min-width: 901px) {
	html {
		scroll-snap-type: y mandatory;
	}
	.snap {
		scroll-snap-align: start;
	}
	/* nagłówek jest punktem przyciągania na samej górze —
	   bez tego na podstronach snap więzi widok pod paskiem menu */
	#site-header-wrapper {
		scroll-snap-align: start;
	}
	.snap-end {
		scroll-snap-align: end;
	}
}

/* animacje przy przewijaniu (klasy nadaje assets/js/reveal.js) */
@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(36px);
		transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
			transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
		will-change: opacity, transform;
	}
	.reveal.visible {
		opacity: 1;
		transform: none;
	}
	.main_header_content {
		animation: hero_in 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
	}
	@keyframes hero_in {
		from { opacity: 0; transform: translateY(30px); }
		to { opacity: 1; transform: none; }
	}
}

/* tabela akcjonariatu (Relacje Inwestorskie) */
.akcje_table_wrap {
	overflow-x: auto;
	margin: 40px 0 30px 0;
	border-radius: 20px;
	background-color: #000;
	box-shadow: 0 0 20px 0px #13d191;
}
.akcje_table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}
.akcje_table th,
.akcje_table td {
	padding: 16px 24px;
	text-align: left;
	font-size: 16px;
	font-weight: 300;
	border-bottom: 1px solid rgba(19, 209, 145, 0.25);
}
.akcje_table thead th {
	color: #13D191;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 2px;
}
.akcje_table tbody td:first-child {
	font-weight: 700;
}
.akcje_table tfoot td {
	font-weight: 700;
	border-bottom: none;
}
.akcjonariat_note {
	font-size: 14px;
	font-weight: 300;
	margin-bottom: 60px;
}

/* ==========================================================================
   Nagłówek / nawigacja
   ========================================================================== */

#site-header-wrapper {
	position: relative;
	z-index: 100;
}
#site-header {
	display: flex;
	justify-content: center;
	align-items: center;
}
#site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0 45px;
}
.site-logo a {
	display: inline-block;
	line-height: 0;
}
.site-logo img {
	width: 210px;
	height: auto;
}
#primary-navigation {
	display: flex;
	align-items: center;
}
#primary-menu {
	display: flex;
	align-items: center;
}
#primary-menu > li {
	margin-left: 44px;
}
#primary-menu > li:first-child {
	margin-left: 0;
}
#primary-menu > li > a {
	font-size: 17px;
	font-weight: 500;
	line-height: 27px;
	color: #fff;
	display: block;
}
#primary-menu > li > a:hover {
	color: #13D191;
}
#primary-menu .lang-item img {
	width: 16px;
	height: 11px;
	box-shadow: none;
	border-radius: 0;
}

/* hamburger (mobile) */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 34px;
	height: 30px;
	font-size: 0;
}
.menu-toggle span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: 0.3s;
}

@media (max-width: 1100px) {
	#primary-menu > li {
		margin-left: 24px;
	}
	#primary-menu > li > a {
		font-size: 15px;
	}
}
@media (max-width: 900px) {
	#site-header .container {
		padding: 0 24px;
	}
	.site-logo img {
		width: 140px;
	}
	.menu-toggle {
		display: flex;
	}
	#primary-navigation {
		position: relative;
	}
	#primary-menu {
		display: none;
		position: absolute;
		top: calc(100% + 20px);
		right: 0;
		flex-direction: column;
		align-items: flex-end;
		background-color: #000;
		border-radius: 14px;
		box-shadow: 0 0 30px #0C855D;
		padding: 20px 28px;
		min-width: 220px;
	}
	#primary-menu.open {
		display: flex;
	}
	#primary-menu > li {
		margin: 8px 0;
	}
}
