
/* NOIO 0.7 – subpages unified with the approved homepage */

.noio-sub-header-desktop {
	background: #06111a;
	border-bottom: 1px solid #20384a;
}

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

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

.noio-sub-header-hotspots {
	position: absolute;
	inset: 0;
	z-index: 4;
}

.noio-sub-header-hotspots .sub-hs {
	position: absolute;
	top: 33%;
	height: 67%;
	opacity: 0;
	border-radius: 8px;
}

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

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

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

/* Shared visual masthead */
.noio-subhero {
	position: relative;
	margin: 0 !important;
	border-bottom: 1px solid #20384a;
	background: #081522;
}

.noio-subhero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(4,10,17,.92) 0%, rgba(4,10,17,.72) 42%, rgba(4,10,17,.18) 100%),
		linear-gradient(0deg, rgba(5,12,19,.35), transparent 52%);
}

.noio-subhero .wp-block-cover__image-background {
	object-position: center right !important;
	filter: saturate(1.08) contrast(1.04);
}

.noio-subhero .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
	width: 100%;
}

.noio-subhero-inner {
	max-width: 1320px !important;
	padding: 44px 24px;
	margin: 0 auto !important;
}

.noio-subhero-title,
.noio-subhero-title.wp-block-post-title,
.noio-subhero-title.wp-block-query-title {
	max-width: 900px;
	margin: 8px 0 0;
	color: #fff;
	font-size: clamp(2.6rem, 5.4vw, 5.2rem);
	line-height: .98;
	font-weight: 850;
	letter-spacing: -.03em;
	text-shadow: 0 4px 28px rgba(0,0,0,.34);
}

.noio-article-title {
	font-size: clamp(2.25rem, 4.7vw, 4.6rem) !important;
}

.noio-subhero-claim,
.noio-subhero-description,
.noio-article-date {
	margin-top: 14px;
	max-width: 760px;
	color: #c8d4dd !important;
	font-size: 1rem;
}

.noio-subhero .noio-news-category {
	margin-bottom: 10px;
}

/* Content cards */
.noio-subpage-content {
	position: relative;
	max-width: 1040px !important;
	margin-top: -28px !important;
	padding: clamp(28px,4vw,48px) !important;
	border: 1px solid #20384a;
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(16,29,41,.98), rgba(10,20,30,.98));
	box-shadow: 0 22px 60px rgba(0,0,0,.24);
}

.noio-subpage-content > :first-child {
	margin-top: 0;
}

.noio-subpage-content h2,
.noio-subpage-content h3,
.noio-subpage-content h4 {
	color: #fff;
}

.noio-subpage-content p,
.noio-subpage-content li {
	color: #d6e0e7;
}

.noio-subpage-content a {
	color: #24e5ff;
}

.noio-subpage-content a:hover {
	color: #ff3daa;
}

/* Contact */
.noio-subpage-content .wpforms-container {
	margin-top: 24px;
	padding: clamp(18px,3vw,30px);
	border: 1px solid #20384a;
	border-radius: 13px;
	background: #0b1722;
}

/* Article */
.noio-article-featured {
	margin: 0 0 34px !important;
	overflow: hidden;
	border-radius: 13px;
}

.noio-article-featured img {
	width: 100%;
	border-radius: 13px;
}

.noio-article-shell .wp-block-post-content {
	font-size: 1.06rem;
	line-height: 1.78;
}

.noio-article-shell blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #24e5ff;
	background: #0b1722;
}

.noio-article-separator {
	margin-top: 3rem;
	border-color: #20384a;
}

.noio-article-back {
	font-weight: 700;
}

/* Archives */
.noio-archive-main {
	padding-top: clamp(3rem,5vw,5rem) !important;
}

.noio-archive-main .wp-block-post-template {
	gap: 18px;
}

.noio-archive-main .noio-news-card {
	height: 100%;
}

.noio-archive-main .wp-block-query-pagination {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #20384a;
}

/* Search */
.noio-search-main {
	padding-top: clamp(3rem,5vw,5rem) !important;
}

.noio-search-main .wp-block-search {
	max-width: 720px;
	margin-bottom: 2.5rem;
}

.noio-search-main .wp-block-search__input {
	background: #0b1722;
	color: #f2f7fb;
	border: 1px solid #345166;
	border-radius: 9px 0 0 9px;
}

.noio-search-main .wp-block-search__button {
	background: #24e5ff;
	color: #041018;
	border-radius: 0 9px 9px 0;
}

/* The Events Calendar */
.tribe-events,
.tribe-common {
	color: #f2f7fb !important;
}

.tribe-events .tribe-events-l-container,
.tribe-common .tribe-common-l-container {
	max-width: 1200px !important;
	padding-top: clamp(3rem,5vw,5rem) !important;
}

.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn {
	background: #24e5ff !important;
	color: #041018 !important;
}

.tribe-events .tribe-events-c-top-bar__datepicker-button,
.tribe-events .tribe-events-calendar-list__event-title-link,
.tribe-common a {
	color: #dce8ef;
}

.tribe-events .tribe-events-calendar-list__event-row,
.tribe-events .tribe-events-calendar-month {
	border-color: #20384a;
}

/* Footer joins naturally with the page */
.noio-footer {
	margin-top: 80px;
}

/* Mobile */
@media (max-width: 900px) {
	.noio-sub-header-desktop {
		display: none;
	}

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

	.noio-sub-mobile-brand {
		display: flex;
		flex-direction: column;
		line-height: 1;
	}

	.noio-sub-mobile-logo {
		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-sub-mobile-claim {
		margin-top: 5px;
		font-size: .62rem;
		color: #d5e0e7;
	}

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

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

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

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

	.noio-sub-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-sub-mobile-menu nav a {
		display: block;
		padding: 10px 11px;
		border-radius: 7px;
		color: #f2f7fb;
	}

	.noio-subhero {
		min-height: 220px !important;
	}

	.noio-subhero-inner {
		padding: 35px 18px !important;
	}

	.noio-subhero-title,
	.noio-subhero-title.wp-block-post-title,
	.noio-subhero-title.wp-block-query-title {
		font-size: clamp(2.15rem, 10vw, 3.3rem) !important;
	}

	.noio-subpage-content {
		margin: 0 12px !important;
		padding: 25px 18px !important;
		border-radius: 0 0 14px 14px;
	}

	.noio-archive-main,
	.noio-search-main {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.noio-archive-main .wp-block-post-template,
	.noio-search-main .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}
