/**
 * Static archive overrides — pink / magenta header (chicken-cross-road.it look).
 * Loaded after Mercury style.css + media.css.
 */
.space-header-2-wrap {
	background: linear-gradient(135deg, #fce4ec 0%, #f48fb1 35%, #ec407a 70%, #d81b60 100%) !important;
	box-shadow: 0 8px 28px rgba(216, 27, 96, 0.35) !important;
}
.space-header-2-height .space-header-2-wrap.fixed .space-header-2-nav {
	background: linear-gradient(135deg, #ec407a 0%, #c2185b 100%) !important;
}
.space-header-2-top-ins {
	border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}
.space-header-2-top-logo a,
.space-header-2-top-logo a.text-logo {
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.space-header-2-nav {
	background: linear-gradient(135deg, #f06292 0%, #e91e63 45%, #ad1457 100%) !important;
}
.space-header-2-nav ul.main-menu li,
.space-header-2-nav ul.main-menu li a {
	color: #fff !important;
}
.space-header-2-nav ul.main-menu li a:hover,
.space-header-2-nav ul.main-menu li:hover a {
	color: #fff !important;
	border-bottom-color: rgba(255, 255, 255, 0.9) !important;
}
.space-header-2-top-search .space-header-search,
.space-header-2-top-search .space-header-search i {
	color: #fff !important;
	cursor: pointer;
}
.space-header-2-top-soc .space-mobile-menu-icon div {
	background-color: #fff !important;
}
.lang-switcher a {
	font-weight: 700 !important;
	letter-spacing: 0.05em;
}

/* Mobile menu panel — match pink header */
.space-mobile-menu-block {
	background: linear-gradient(180deg, #fce4ec 0%, #f48fb1 40%, #ec407a 100%) !important;
}
.space-mobile-menu-header .text-logo {
	color: #fff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.space-mobile-menu-list .mobile-menu li a {
	color: #fff !important;
}
.space-mobile-menu-copy {
	color: rgba(255, 255, 255, 0.95) !important;
}

/* ========== Mobile & touch (TZ: гарний вигляд на телефоні) ========== */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
.space-box,
.page {
	overflow-x: hidden;
}
@supports (overflow: clip) {
	.space-box,
	.page {
		overflow-x: clip;
	}
}

/* Контент не вилазить за екран */
.space-page-content img,
.space-page-content video,
.space-page-content iframe,
.space-page-content .wp-block-image img,
.space-page-content figure img {
	max-width: 100% !important;
	height: auto !important;
}
.space-page-content .iframe-block,
.space-page-content .iframe-overlay {
	max-width: 100%;
	box-sizing: border-box;
}
.space-page-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.space-page-wrapper,
.space-wrapper {
	box-sizing: border-box;
}

/* Центрування основної колонки (Mercury: box-75 + порожній sidebar box-25) */
.space-page-section-ins.space-page-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.space-page-section .space-content-section.box-75 {
	width: 100%;
	max-width: 900px;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.space-page-section .space-sidebar-section.box-25 {
	display: none !important;
}
.space-title-box-ins.space-page-wrapper {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.space-title-box-h1 {
	text-align: center;
}
.space-page-content figure.aligncenter,
.space-page-content .wp-block-image.aligncenter,
.space-page-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 1024px) {
	.space-title-box-h1 h1 {
		font-size: clamp(1.15rem, 4.5vw, 1.65rem);
		line-height: 1.25;
		word-wrap: break-word;
	}
	.space-page-content {
		overflow-wrap: break-word;
		word-wrap: break-word;
	}
}

@media screen and (max-width: 768px) {
	.space-mobile-menu-block {
		width: 100% !important;
		max-width: 100%;
	}
	.space-mobile-menu-list ul.mobile-menu li a {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 12px 20px;
		font-size: 1.05em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
		box-sizing: border-box;
	}
	.space-mobile-menu-close-button {
		z-index: 5;
	}
	.space-header-2-top-logo a.text-logo {
		font-size: 0.95em !important;
		line-height: 1.15 !important;
		padding-left: 8px;
		padding-right: 8px;
	}
	/* Кнопки в HTML-блоці контенту — зручніші для пальця */
	.space-page-content a#bonus-pop-btn,
	.space-page-content #offer-link,
	.space-page-content #demo-iframe,
	.space-page-content .overlay-btn,
	.space-page-content .static-casino-btn {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 479px) {
	.space-footer-copy-menu ul li {
		display: block !important;
		margin: 8px 0 !important;
		float: none !important;
	}
	.space-footer-copy-menu ul li a {
		display: inline-block;
		padding: 6px 4px;
	}
}
