/* ============================================
   InsightHub Main — Site-wide Styles
   Loaded on ALL pages for shared UI elements.
   ============================================ */

/* Portal navigation button */
.ih-portal-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	background: #1A3C5E;
	border: none;
	border-radius: 6px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	line-height: 1;
	white-space: nowrap;
}

.ih-portal-btn:hover {
	background: #152f4a;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

.ih-portal-btn:visited {
	color: #ffffff;
}

/* Portal button — accent variant */
.ih-portal-btn-accent {
	background: #1D9E75;
}

.ih-portal-btn-accent:hover {
	background: #178a65;
}

/* Portal button — outline variant */
.ih-portal-btn-outline {
	background: transparent;
	color: #1A3C5E;
	border: 2px solid #1A3C5E;
}

.ih-portal-btn-outline:hover {
	background: #1A3C5E;
	color: #ffffff;
}

.ih-portal-btn-outline:visited {
	color: #1A3C5E;
}

.ih-portal-btn-outline:hover:visited {
	color: #ffffff;
}

/* ============================================
   Gate CTA — registration call-to-action box
   ============================================ */

.ih-gate-cta {
	text-align: center;
	padding: 40px 24px;
	background: #F7F7F5;
	border: 1px dashed #D3D1C7;
	border-radius: 12px;
	margin: 24px 0;
}

.ih-gate-icon {
	margin-bottom: 16px;
}

.ih-gate-heading {
	font-size: 20px;
	font-weight: 600;
	color: #1A3C5E;
	margin: 0 0 8px 0;
}

.ih-gate-text {
	font-size: 14px;
	color: #5F5E5A;
	margin: 0 0 20px 0;
	line-height: 1.5;
}

.ih-gate-buttons {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ih-btn-sm {
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	cursor: pointer;
	width: auto;
	height: auto;
}

.ih-btn-primary {
	background: #1A3C5E;
	color: #FFFFFF;
	border: none;
}

.ih-btn-primary:hover {
	background: #152f4a;
}

.ih-btn-outline {
	background: transparent;
	color: #1A3C5E;
	border: 1px solid #1A3C5E;
}

.ih-btn-outline:hover {
	background: #1A3C5E;
	color: #FFFFFF;
}

/* ============================================
   Nav menu portal item
   ============================================ */

.ih-portal-menu-item {
	display: flex;
	align-items: center;
	margin-left: 12px;
}

/* Screen reader only text */
.ih-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 480px) {
	.ih-gate-buttons {
		flex-direction: column;
		align-items: center;
	}
	.ih-btn-sm {
		width: 100%;
		max-width: 240px;
	}
}
