/**
 * Ultras World Games — arkusz bazowy: tokeny, nagłówek, stopka, przyciski, treść stron.
 * Style sekcji są w blocks/<slug>/style.css.
 */
:root {
	--uwg-yellow: var(--global-palette1, #ffd200);
	--uwg-amber: var(--global-palette2, #ffb400);
	--uwg-black: #050505;
	--uwg-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

body.uwg-site {
	background: var(--uwg-black);
}

/* Reset marginesów Kadence wewnątrz sekcji `uwg/*` (ładowany po arkuszu motywu). */
.single-content :where([class*="wp-block-uwg-"]) :is(h1, h2, h3, p, ul, ol, li, figure, form) {
	margin: 0;
}

.uwg-front .content-area {
	margin: 0;
}

.uwg-front .entry-content-wrap {
	padding: 0;
}

.uwg-front .entry.single-entry {
	box-shadow: none;
}

.uwg-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* ------------------------------------------------------------------ nagłówek */
.uwg-site #masthead .site-branding .site-title {
	font-family: var(--uwg-display);
	font-size: 37px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	white-space: nowrap;
}

.uwg-site .site-branding a.brand {
	text-decoration: none;
}

.uwg-site .site-branding .uwg-brand__a {
	color: #fff;
}

.uwg-site .site-branding .uwg-brand__b {
	color: var(--uwg-yellow);
}

.uwg-site .site-header-row-container-inner .site-container {
	padding: 0 62px;
}

.uwg-site .header-navigation .header-menu-container > ul > li.menu-item > a {
	padding-top: 0.700em;
	padding-bottom: 0.700em;
	font-family: var(--uwg-display);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.010em;
	text-transform: uppercase;
}

.uwg-site .header-navigation .header-menu-container > ul > li.menu-item > a::after {
	content: "";
	position: absolute;
	left: calc(var(--uwg-nav-pad, 22px) - 8px);
	right: calc(var(--uwg-nav-pad, 22px) - 8px);
	bottom: 0;
	height: 2px;
	background: var(--uwg-yellow);
	opacity: 0;
}

.uwg-site .header-navigation .header-menu-container > ul > li.menu-item > a {
	position: relative;
}

.uwg-site .header-navigation .header-menu-container > ul > li.current-menu-item > a::after {
	opacity: 1;
}

.uwg-account {
	display: flex;
	gap: 14px;
	align-items: center;
}

.uwg-site .uwg-account a.uwg-btn {
	text-decoration: none;
}

.uwg-account .uwg-btn {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	height: 36px;
	padding: 0 13px;
	border: 1.500px solid #8c8c8c;
	border-radius: 5px;
	color: #fff;
	font-family: var(--uwg-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.uwg-account .uwg-btn .uwg-icon {
	width: 21px;
	height: 21px;
}

.uwg-account .uwg-btn--fill {
	border-color: var(--uwg-yellow);
	background: var(--uwg-yellow);
	color: #0b0b0b;
}

.uwg-account .uwg-btn--icon {
	padding: 0 8px;
}

.uwg-account .uwg-btn:hover {
	border-color: var(--uwg-yellow);
	color: var(--uwg-yellow);
}

.uwg-account .uwg-btn--fill:hover {
	background: var(--uwg-amber);
	color: #0b0b0b;
}

.uwg-site .mobile-html .uwg-account {
	flex-wrap: wrap;
	margin-top: 18px;
}

.uwg-site .mobile-navigation ul li a {
	font-family: var(--uwg-display);
	font-size: 22px;
	font-weight: 600;
	text-transform: uppercase;
}

@media (max-width: 1320px) {

	.uwg-site .site-header-row-container-inner .site-container {
		padding: 0 20px;
	}

	.uwg-site .header-navigation .header-menu-container > ul > li.menu-item > a {
		padding-left: 12px;
		padding-right: 12px;
		font-size: 18px;
	}

	.uwg-site #masthead .site-branding .site-title {
		font-size: 30px;
	}
}

/* ------------------------------------------------------------------ przycisk-akcja (skośny, żółty) */
.uwg-cta {
	display: inline-block;
	color: #0b0b0b;
	font-family: var(--uwg-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	filter: drop-shadow(0 0 10px rgba(255, 190, 0, 0.450));
	transition: transform 0.150s ease, filter 0.150s ease;
}

.uwg-cta .uwg-cta__in {
	display: flex;
	gap: 0.650em;
	align-items: center;
	padding: 0.480em 1.300em;
	background: linear-gradient(180deg, #ffe14a, var(--uwg-yellow) 45%, #ffbe00);
	clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.uwg-cta .uwg-icon {
	width: 1.300em;
	height: 1.300em;
}

.uwg-cta .uwg-icon--chevron {
	width: 0.800em;
	height: 0.800em;
	margin-left: 0.500em;
}

.uwg-cta--big {
	font-size: clamp(20px, 2.050vw, 30px);
}

.uwg-cta--big .uwg-cta__in {
	padding: 0.420em 1.250em 0.420em 1.450em;
}

.uwg-cta--big .uwg-icon--gamepad,
.uwg-cta--big .uwg-icon--monitor {
	width: 1.550em;
	height: 1.550em;
}

a.uwg-cta:hover {
	color: #0b0b0b;
	filter: drop-shadow(0 0 16px rgba(255, 200, 0, 0.800));
	transform: translateY(-2px);
}

.uwg-cta--ghost {
	color: #fff;
	filter: none;
}

.uwg-cta--ghost .uwg-cta__in {
	background: #1b1b1b;
	box-shadow: inset 0 0 0 2px var(--uwg-yellow);
}

a.uwg-cta--ghost:hover {
	color: var(--uwg-yellow);
}

.uwg-cta.is-off {
	color: #9a9a9a;
	filter: none;
	cursor: not-allowed;
}

.uwg-cta.is-off .uwg-cta__in {
	background: #2a2a2a;
}

/* ------------------------------------------------------------------ zwykłe strony i wpisy */
.uwg-site .entry-hero.page-hero-section .entry-header,
.uwg-site .entry-header .entry-title,
.uwg-site .page-title {
	font-family: var(--uwg-display);
	font-style: italic;
	font-weight: 900;
	text-transform: uppercase;
}

.uwg-site .entry.loop-entry,
.uwg-site .entry.single-entry {
	background: transparent;
	box-shadow: none;
}

.uwg-site .entry.loop-entry {
	border: 1px solid #2c2c2c;
	background: #0e0e0e;
}

/* ------------------------------------------------------------------ stopka */
.uwg-site .site-footer .uwg-footer__copy {
	color: #8f8f8f;
	font-family: var(--uwg-display);
	font-size: 15px;
	letter-spacing: 0.140em;
	text-transform: uppercase;
}

.uwg-site .site-footer .uwg-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 6px;
	margin-bottom: 10px;
}

.uwg-site .site-footer .uwg-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	color: #d6d6d6;
	font-family: var(--uwg-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.080em;
	text-decoration: none;
	text-transform: uppercase;
}

.uwg-site .site-footer .uwg-footer__links a:hover,
.uwg-site .site-footer .uwg-footer__links a:focus-visible {
	color: var(--uwg-yellow);
}

/* ------------------------------------------------------------------ nagłówek zwykłych stron (zamiast szarego pudła Kadence) */
.uwg-site .entry-hero.page-hero-section {
	position: relative;
	border-bottom: 2px solid var(--uwg-yellow);
	background: #0b0b0b;
	isolation: isolate;
}

.uwg-site .entry-hero.page-hero-section::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #050505 20%, rgba(5, 5, 5, 0.6)), var(--uwg-crowd) center 30% / cover no-repeat;
	opacity: 0.85;
}

.uwg-site .entry-hero.page-hero-section .entry-hero-container-inner {
	background: transparent;
}

.uwg-site .entry-hero.page-hero-section .hero-section-overlay {
	display: none;
}

.uwg-site .entry-hero .entry-header {
	min-height: 0;
	padding: 56px 0 44px;
	text-align: left;
}

.uwg-site .entry-hero .entry-header .entry-title,
.uwg-site .entry-hero .entry-header .page-title {
	margin: 0;
	color: var(--uwg-yellow);
	font-size: clamp(44px, 7vw, 76px);
	line-height: 0.95;
	text-shadow: 0 0 22px rgba(255, 190, 0, 0.250);
}

.uwg-site .entry-hero .kadence-breadcrumbs,
.uwg-site .entry-hero .kadence-breadcrumbs a {
	color: #a3a3a3;
}

/* ------------------------------------------------------------------ treść stron (About, Terms, Privacy) */
.uwg-site .single-content > h2.wp-block-heading {
	margin: 1.8em 0 0.5em;
	color: #fff;
	font-family: var(--uwg-display);
	font-size: 30px;
	font-style: italic;
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.uwg-site .single-content > h2.wp-block-heading:first-child,
.uwg-site .single-content > p:first-child + h2.wp-block-heading {
	margin-top: 0.8em;
}

.uwg-site .single-content > p,
.uwg-site .single-content > ul.wp-block-list li {
	color: #d9d9d9;
	font-size: 17px;
	line-height: 1.65;
}

.uwg-site .single-content ul.wp-block-list li::marker {
	color: var(--uwg-yellow);
}

/* Tylko odnośniki w tekście (akapity, listy, tabele) — nie przyciski WooCommerce ani menu panelu gracza. */
.uwg-site .single-content :is(p, ul.wp-block-list li, td) > a:not(.uwg-cta):not(.button):not(.wp-element-button) {
	color: var(--uwg-yellow);
	text-underline-offset: 3px;
}

.uwg-site .single-content p.uwg-lead {
	color: #fff;
	font-size: 21px;
	line-height: 1.5;
}

.uwg-site .single-content p.uwg-legal-meta {
	color: #8f8f8f;
	font-family: var(--uwg-display);
	font-size: 15px;
	letter-spacing: 0.100em;
	text-transform: uppercase;
}

.uwg-site .uwg-legal-table {
	overflow-x: auto;
}

.uwg-site .uwg-legal-table table {
	min-width: 520px;
	border-collapse: collapse;
}

.uwg-site .uwg-legal-table th,
.uwg-site .uwg-legal-table td {
	padding: 10px 12px;
	border: 1px solid #2c2c2c;
	color: #d9d9d9;
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
	vertical-align: top;
}

.uwg-site .uwg-legal-table th {
	background: #151515;
	color: var(--uwg-yellow);
	font-family: var(--uwg-display);
	font-size: 16px;
	letter-spacing: 0.060em;
	text-transform: uppercase;
}

/* Pole do uzupełnienia przez redakcję (dane sprzedawcy, kontakt) — widoczne, żeby nie umknęło przed startem. */
.uwg-todo {
	display: inline-block;
	padding: 2px 8px;
	border: 1px dashed var(--uwg-yellow);
	background: rgba(255, 210, 0, 0.080);
	color: var(--uwg-yellow);
	font-size: 0.9em;
}

/* ------------------------------------------------------------------ News */
.uwg-site .entry.loop-entry .entry-taxonomies a,
.uwg-site .entry-meta {
	font-size: 13px;
}

.uwg-site .entry.loop-entry .entry-title a {
	color: #fff;
}

.uwg-site .entry.loop-entry .entry-title a:hover {
	color: var(--uwg-yellow);
}

/* ------------------------------------------------------------------ zaślepka sklepu (WooCommerce „coming soon”) */
.uwg-soon {
	max-width: 760px;
	margin: 0 auto;
	padding: 90px 20px 110px;
	text-align: center;
}

.uwg-soon .uwg-soon__kicker {
	margin: 0 0 6px;
	color: #a3a3a3;
	font-family: var(--uwg-display);
	font-size: 18px;
	letter-spacing: 0.200em;
	text-transform: uppercase;
}

.uwg-soon .uwg-soon__title {
	margin: 0 0 18px;
	color: #fff;
	font-family: var(--uwg-display);
	font-size: clamp(52px, 10vw, 96px);
	font-style: italic;
	font-weight: 900;
	line-height: 0.92;
	text-transform: uppercase;
}

.uwg-soon .uwg-soon__title em {
	color: var(--uwg-yellow);
}

.uwg-soon .uwg-soon__lead {
	margin: 0 auto 30px;
	max-width: 560px;
	color: #d9d9d9;
	font-size: 18px;
	line-height: 1.6;
}

/* ------------------------------------------------------------------ cele dotyku na telefonie (min. 44 px) */
.uwg-site #mobile-toggle {
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
}

.uwg-site .site-branding a.brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

/* Pusta strona News: bez wyszukiwarki (nie ma czego szukać). */
.uwg-site.blog .error .search-form {
	display: none;
}

.uwg-site .search-form .search-field,
.uwg-site .search-form .search-submit {
	min-height: 46px;
}
