/**
 * Trainees Handouts — SSDC inner page
 */

:root {
	--ho-navy: #0a1f57;
	--ho-blue: #0b39a1;
	--ho-red: #e30613;
	--ho-muted: #64748b;
	--ho-border: #e2e8f0;
	--ho-font-heading: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--ho-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ho-page {
	position: relative;
	background-color: #ffffff;
	background-image: url('../img/page-bg.png');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 50% auto;
	overflow-x: clip;
	padding-top: 64px;
	padding-bottom: 88px;
	min-height: calc(100vh - 400px);
}

@media (max-width: 1024px) {
	.ho-page {
		padding-top: 48px;
	}
}

@media (max-width: 768px) {
	.ho-page {
		padding-top: 32px;
	}
}

.ho-container {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

.ho-crumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--ho-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	margin-bottom: 24px;
}

.ho-crumbs__home,
.ho-crumbs__link {
	color: #64748B;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	transition: color 0.15s ease;
}

.ho-crumbs__home:hover,
.ho-crumbs__link:hover {
	color: #03287C;
}

.ho-crumbs__sep {
	color: #CBD5E1;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.ho-crumbs__current {
	color: #03287C;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
}

.ho-header {
	margin-bottom: 28px;
}

.ho-title {
	font-family: var(--ho-font-heading);
	font-size: clamp(32px, 4.2vw, 48px);
	font-weight: 800;
	color: var(--ho-navy);
	margin: 0;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.ho-lead {
	margin: 12px 0 0;
	max-width: 46ch;
	font-family: var(--ho-font-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ho-muted);
}

.ho-panel {
	background: #ffffff;
	border-radius: 20px;
	padding: 12px 8px 16px;
	box-shadow: 0 8px 32px rgba(10, 31, 87, 0.06);
	border: 1px solid #eceff4;
}

.ho-section {
	margin: 20px 16px 8px;
	font-family: var(--ho-font-heading);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ho-blue);
}

.ho-section:first-child {
	margin-top: 8px;
}

.ho-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	margin: 0 8px;
	border-bottom: 1px solid var(--ho-border);
}

.ho-row:last-child {
	border-bottom: 0;
}

.ho-row__title {
	font-family: var(--ho-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ho-navy);
}

.ho-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	min-height: 40px;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--ho-red);
	color: #fff !important;
	font-family: var(--ho-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.15s ease;
}

.ho-download:hover,
.ho-download:focus {
	background: #b80510;
	color: #fff !important;
}

.ho-download--disabled {
	background: #cbd5e1;
	pointer-events: none;
}

.ho-empty {
	margin: 16px 20px;
	font-family: var(--ho-font-body);
	font-size: 15px;
	color: var(--ho-muted);
}

@media (max-width: 640px) {
	.ho-page {
		padding-top: 28px;
		padding-bottom: 64px;
		background-size: cover;
	}

	.ho-container {
		padding: 0 var(--ssdc-gutter, 16px);
	}

	.ho-panel {
		border-radius: 16px;
		padding: 8px 0 10px;
	}

	.ho-row {
		flex-wrap: wrap;
		align-items: flex-start;
		margin: 0;
		padding: 14px 16px;
	}

	.ho-download {
		width: 100%;
	}
}
