
/* NOIO 0.9.3 – real article hub + YOP Poll hub */

/* Article hub: same cards and rails as the other NOIO archive pages. */
.noio-articles-index .wp-block-post-template {
	gap: 18px;
}

.noio-articles-index .noio-news-card {
	height: 100%;
	border: 1px solid #20384a;
	border-radius: 12px;
	background: #0d1a25;
	overflow: hidden;
}

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

/* NOIO fragt: content wrapper created on the WordPress page. */
.noio-poll-page {
	max-width: 920px;
	margin: 0 auto;
}

.noio-poll-page > h2 {
	margin-bottom: .6rem;
	font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.noio-poll-page > p {
	color: #c5d2db;
}

/* YOP Poll has used several markup variants over time.
   Keep the styling deliberately broad but scoped to the NOIO poll page. */
.noio-poll-page .yop-poll-container,
.noio-poll-page .yop_poll,
.noio-poll-page [class*="yop-poll"],
.noio-poll-page [id*="yop-poll"] {
	box-sizing: border-box;
	max-width: 100%;
	color: #eef5f8;
}

.noio-poll-page form {
	margin-top: 1.7rem;
	padding: clamp(20px, 3vw, 34px);
	border: 1px solid #20384a;
	border-radius: 14px;
	background:
		linear-gradient(180deg, rgba(15,29,42,.98), rgba(10,21,31,.98));
	box-shadow: 0 20px 55px rgba(0,0,0,.18);
}

.noio-poll-page label {
	color: #e7eff4;
}

.noio-poll-page input[type="radio"],
.noio-poll-page input[type="checkbox"] {
	accent-color: #24e5ff;
}

.noio-poll-page button,
.noio-poll-page input[type="submit"] {
	min-height: 44px;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #24e5ff !important;
	color: #031018 !important;
	font-weight: 800 !important;
	cursor: pointer;
}

.noio-poll-page button:hover,
.noio-poll-page input[type="submit"]:hover {
	background: #ff3daa !important;
	color: #fff !important;
}

.noio-poll-note {
	margin-top: 1.4rem;
	padding-top: 1rem;
	border-top: 1px solid #20384a;
	color: #91a7b5 !important;
	font-size: .86rem;
}

/* Keep direct links to the two real hubs visually useful on the homepage cards. */
.noio-feature a.noio-feature-link {
	display: inline-flex;
	margin-top: 1.2rem;
	color: #24e5ff;
	font-weight: 750;
	text-decoration: none;
}

.noio-feature a.noio-feature-link:hover {
	color: #ff3daa;
}
