
/* NOIO 0.8 – sticky main navigation + redundant rubric row removed */

/* Thin editorial strip scrolls away normally. */
.noio-home-topline {
	background: #092034;
	color: #dce8ef;
	font-size: .72rem;
	letter-spacing: .22em;
}

.noio-home-topline-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100% - 30px, 1506px);
	min-height: 42px;
	margin: 0 auto;
}

/* Homepage desktop navigation: sticky like Forms In Combat. */
.noio-home-header-desktop {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(3,14,23,.98);
	border-bottom: 1px solid #18374b;
	box-shadow: 0 9px 28px rgba(0,0,0,.18);
}

.admin-bar .noio-home-header-desktop,
.admin-bar .noio-sub-header-desktop {
	top: 32px;
}

.noio-home-header-stage {
	position: relative;
	width: 100%;
	max-width: 1536px;
	margin: 0 auto;
	aspect-ratio: 1536 / 88;
	overflow: hidden;
}

.noio-home-header-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.noio-home-header-hotspots {
	position: absolute;
	inset: 0;
	z-index: 5;
}

.noio-home-header-hotspots .home-hs {
	position: absolute;
	top: 0;
	height: 100%;
	display: block;
	opacity: 0;
	border-radius: 8px;
}

.noio-home-header-hotspots .home-hs:focus-visible {
	opacity: 1;
	background: rgba(36,229,255,.08);
	box-shadow: inset 0 0 0 2px #24e5ff;
}

.home-brand   { left: 2.2%; width: 27.7%; }
.home-region  { left: 32.2%; width: 6.8%; }
.home-article { left: 39.1%; width: 7.4%; }
.home-poll    { left: 46.5%; width: 9%; }
.home-events  { left: 55.5%; width: 7.7%; }
.home-gaming  { left: 63.2%; width: 7.9%; }
.home-culture { left: 71.1%; width: 10%; }
.home-opinion { left: 81.1%; width: 9.4%; }
.home-search  { left: 90.6%; width: 4.2%; }

/* Hero is now separate from the menu.
   The old large rubric-button row no longer exists in the page at all. */
.noio-home-hero-wrap {
	margin: 0;
	background: #06111a;
}

.noio-home-hero-stage {
	position: relative;
	width: 100%;
	max-width: 1536px;
	margin: 0 auto;
	aspect-ratio: 1536 / 453;
	overflow: hidden;
}

.noio-home-hero-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
}

.noio-home-hero-hotspots {
	position: absolute;
	inset: 0;
	z-index: 5;
}

.noio-home-hero-hotspots .hero-hs {
	position: absolute;
	display: block;
	opacity: 0;
	border-radius: 999px;
}

.noio-home-hero-hotspots .hero-hs:focus-visible {
	opacity: 1;
	background: rgba(36,229,255,.08);
	box-shadow: inset 0 0 0 2px #24e5ff;
}

/* Original y positions recalculated relative to the cropped 453px hero. */
.hero-news   { left: 3.9%; top: 64%; width: 16%; height: 13%; }
.hero-events { left: 20.9%; top: 64%; width: 14.5%; height: 13%; }

.noio-home-header-mobile {
	display: none;
}

/* Start real content immediately after the hero. */
.noio-live-content {
	padding-top: clamp(3.4rem, 5vw, 5rem) !important;
}

/* Subpages use exactly the same sticky principle. */
.noio-sub-header-desktop {
	position: sticky !important;
	top: 0;
	z-index: 1000;
	box-shadow: 0 9px 28px rgba(0,0,0,.18);
}

/* Mobile homepage navigation */
@media (max-width: 900px) {
	.noio-home-topline,
	.noio-home-header-desktop {
		display: none;
	}

	.noio-home-header-mobile {
		position: sticky;
		top: 0;
		z-index: 1000;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 68px;
		padding: 0 17px;
		background: rgba(6,14,22,.98);
		border-top: 3px solid transparent;
		border-image: linear-gradient(90deg,#24e5ff,#ff3daa,#ffd34e) 1;
		border-bottom: 1px solid #20384a;
		box-shadow: 0 9px 28px rgba(0,0,0,.2);
	}

	.admin-bar .noio-home-header-mobile,
	.admin-bar .noio-sub-header-mobile {
		top: 46px;
	}

	.noio-home-mobile-brand {
		display: flex;
		flex-direction: column;
		text-decoration: none;
		line-height: 1;
	}

	.noio-home-mobile-brand strong {
		font-size: 1.75rem;
		font-weight: 900;
		letter-spacing: .08em;
		background: linear-gradient(90deg,#24e5ff,#fff 56%,#ff3daa);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}

	.noio-home-mobile-brand span {
		margin-top: 5px;
		font-size: .62rem;
		color: #d5e0e7;
	}

	.noio-home-mobile-menu {
		position: relative;
	}

	.noio-home-mobile-menu summary {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 42px;
		height: 42px;
		list-style: none;
		cursor: pointer;
	}

	.noio-home-mobile-menu summary::-webkit-details-marker {
		display: none;
	}

	.noio-home-mobile-menu summary span {
		width: 26px;
		height: 2px;
		background: #fff;
	}

	.noio-home-mobile-menu nav {
		position: absolute;
		top: 49px;
		right: 0;
		width: 240px;
		padding: 9px;
		border: 1px solid #20384a;
		border-radius: 12px;
		background: #08131d;
		box-shadow: 0 25px 55px rgba(0,0,0,.42);
	}

	.noio-home-mobile-menu nav a {
		display: block;
		padding: 10px 11px;
		border-radius: 7px;
		color: #f2f7fb;
		text-decoration: none;
	}

	.noio-home-hero-stage {
		aspect-ratio: auto;
		min-height: 410px;
	}

	.noio-home-hero-image {
		width: auto;
		min-width: 100%;
		height: 410px;
		object-fit: cover;
		object-position: 24% center;
	}

	/* Hide baked desktop CTA hit zones on mobile;
	   navigation is available through the sticky menu. */
	.noio-home-hero-hotspots {
		display: none;
	}

	.noio-live-content {
		padding-top: 3rem !important;
	}
}
