/* Gamesport light home design restoration */

@media (min-width: 761px) {
	#top.site-header .site-header__inner.gs-header-row {
		display: grid !important;
		grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) auto !important;
		align-items: center;
		gap: clamp(16px, 2vw, 34px);
	}

	#top.site-header .gs-header-logo-slot {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	#top.site-header .gs-header-ad-slot {
		display: none !important;
	}

	#top.site-header #platform-navigation {
		position: static !important;
		display: flex !important;
		grid-column: 2;
		grid-row: 1;
		justify-content: center;
		flex-wrap: nowrap;
		gap: clamp(12px, 1.7vw, 30px);
	}

	#top.site-header .platform-nav__link {
		padding: 22px 0 20px;
		font-size: 13px;
		font-weight: 900;
		text-transform: uppercase;
	}

	#top.site-header .site-search {
		display: block !important;
		grid-column: 3;
		grid-row: 1;
	}

	.site-main .left-rail {
		display: none !important;
	}

	.listing-layout {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.home .site-main .front-layout {
		display: block !important;
	}

	body.home .site-main .right-rail {
		display: none !important;
	}

	body.home .site-main .main-column {
		width: 100%;
		min-width: 0;
	}

	body.home .gs-home-sections {
		display: grid !important;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		align-items: start;
		gap: clamp(22px, 3vw, 42px);
	}

	body.home .gs-home-rec-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}

	body.home .gs-home-rec-grid .section-heading,
	body.home .gs-latest-carousel .section-heading {
		grid-column: 1 / -1;
	}

	body.home .gs-home-rec-card .story-card__link {
		display: flex;
		min-height: 0;
		flex-direction: column;
	}

	body.home .gs-home-rec-card .story-card__image {
		height: 132px;
		min-height: 132px;
	}

	body.home .gs-home-rec-card .story-card__body {
		padding: 10px 11px 12px;
	}

	body.home .gs-home-rec-card .story-card__title {
		font-size: 15px;
	}

	body.home .gs-home-rec-card .story-card__excerpt {
		display: none;
	}

	body.home .gs-latest-carousel .hero-carousel {
		min-height: 0;
		overflow: visible;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	body.home .gs-latest-carousel .hero-carousel__slides {
		display: grid;
		min-height: 0;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	body.home .gs-latest-carousel .hero-slide {
		position: relative !important;
		inset: auto !important;
		min-width: 0;
		min-height: 0;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		background: #fff;
		border: 1px solid #e7ebf4;
		border-radius: 12px;
		box-shadow: 0 4px 14px rgba(17, 31, 83, .07);
		overflow: hidden;
		transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	}

	body.home .gs-latest-carousel .hero-slide.is-active {
		z-index: 2;
		transform: translateY(-2px) scale(1.015) !important;
		border-color: #2445e8;
		box-shadow: 0 9px 22px rgba(36, 69, 232, .18);
	}

	body.home .gs-latest-carousel .hero-slide__link {
		display: flex;
		min-height: 0;
		flex-direction: column;
		align-items: stretch;
		color: #10194d;
		text-decoration: none;
	}

	body.home .gs-latest-carousel .hero-slide__image {
		position: relative;
		z-index: 0;
		inset: auto;
		display: block;
		width: 100%;
		min-height: 118px;
		flex: 0 0 118px;
		background-image: var(--hero-image);
		background-position: center;
		background-size: cover;
	}

	body.home .gs-latest-carousel .hero-slide__copy {
		position: static;
		display: flex;
		width: auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 9px 10px 11px;
		background: #fff;
		color: #10194d;
	}

	body.home .gs-latest-carousel .hero-slide__title {
		font-size: 14px;
		line-height: 1.2;
	}

	body.home .gs-latest-carousel .hero-slide__excerpt,
	body.home .gs-latest-carousel .hero-slide__cta {
		display: none;
	}

	body.home .gs-home-tile,
	body.home .gs-home-rec-card,
	body.home .gs-latest-carousel .hero-slide {
		transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
	}

	body.home .gs-home-tile:hover,
	body.home .gs-home-rec-card:hover,
	body.home .gs-latest-carousel .hero-slide:hover {
		z-index: 2;
		transform: translateY(-4px) scale(1.018) !important;
		filter: brightness(1.08);
		box-shadow: 0 16px 36px rgba(18, 35, 90, .2);
	}
}

/* Put the ticker below the shared header and use the light reference palette. */
body {
	display: flex;
	flex-direction: column;
}

body > #top.site-header {
	order: 1;
	border-radius: 0;
	box-shadow: none;
}

body > .news-ticker {
	order: 2;
	display: flex;
	align-items: center;
	background: #eaf2ff;
	color: #10194d;
}

.news-ticker::before {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	padding: 0 14px 0 clamp(12px, calc((100vw - 1440px) / 2), 48px);
	background: #eaf2ff;
	color: #2445e8;
	content: "⚡ AKTUÁLNĚ:";
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

.news-ticker__track {
	position: relative;
	z-index: 1;
}

.news-ticker__items > * {
	color: #172452;
}

body > #gs-home-tiles-template {
	order: 3;
}

body > #main.site-main {
	order: 4;
}

body > .site-footer {
	order: 99;
}

.site-footer {
	flex: 0 0 auto;
}

#top.site-header .brand__word {
	color: #10194d;
}

/* Remove the empty Guides links while keeping the archived category intact. */
.platform-menu a[href*="/category/navody/"] {
	display: none !important;
}

@media (max-width: 760px) {
	#top.site-header .site-header__inner.gs-header-row {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto auto !important;
		align-items: center;
		gap: 10px;
	}

	#top.site-header .gs-header-logo-slot {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	#top.site-header .gs-header-ad-slot {
		display: none !important;
	}

	#top.site-header .menu-toggle {
		display: inline-flex !important;
		grid-column: 2;
		grid-row: 1;
		align-items: center;
		justify-content: center;
	}

	#top.site-header .site-search {
		display: block !important;
		grid-column: 3;
		grid-row: 1;
	}

	#top.site-header #platform-navigation {
		position: absolute !important;
		top: 100%;
		right: 0;
		left: 0;
		display: none !important;
		flex-wrap: wrap;
		justify-content: center;
		background: #fff;
		border-top: 1px solid #e7ebf4;
		box-shadow: 0 8px 20px rgba(17, 31, 83, .1);
	}

	#top.site-header #platform-navigation.is-open {
		display: flex !important;
	}

	.site-main .left-rail {
		display: none !important;
	}

	.listing-layout {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.home .site-main .front-layout {
		display: block !important;
	}

	body.home .site-main .right-rail {
		display: none !important;
	}

	body.home .gs-home-sections {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.home .gs-latest-carousel .hero-carousel__slides {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home .gs-latest-carousel .hero-slide__image {
		min-height: 105px;
		flex-basis: 105px;
	}

	.news-ticker::before {
		padding-right: 8px;
		font-size: 10px;
	}
}
