.hd-documents-shell,
.hd-documents-shell * {
	box-sizing: border-box;
}

.hd-documents-shell {
	width: min(calc(100% - 48px), 1180px);
	margin-inline: auto;
}

.hd-documents {
	margin-top: 50px;
	border: 1px solid var(--line);
	background: #fff;
}

.hd-documents--a {
	padding: 36px;
	border-radius: 32px;
}

.hd-documents--b {
	padding: 22px 28px;
	border-radius: 24px;
}

.hd-documents-heading > p {
	margin: 0 0 7px;
	color: var(--pink-accessible, #c2185b);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.hd-documents-heading h2 {
	max-width: none;
	margin: 0;
	color: var(--ink);
	font-size: clamp(2rem, 4vw, 2.625rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.045em;
}

.hd-documents--b .hd-documents-heading > p {
	margin-bottom: 3px;
	font-size: .68rem;
}

.hd-documents--b .hd-documents-heading h2 {
	font-size: 1.45rem;
	line-height: 1.08;
	letter-spacing: -.035em;
}

.hd-document-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hd-documents--a .hd-document-grid {
	gap: 14px;
	margin-top: 28px;
}

.hd-documents--b .hd-document-grid {
	margin-top: 14px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.hd-documents--no-heading .hd-document-grid {
	margin-top: 0;
}

.hd-document-item,
.hd-document-item:visited,
.hd-document-item:hover,
.hd-document-item:active {
	color: var(--ink) !important;
	text-decoration: none !important;
}

.hd-documents--a .hd-document-item {
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: #fafbfb;
}

.hd-document-icon {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid #cbd2d0;
	border-radius: 12px;
	background: #fff;
	color: var(--secondary);
}

.hd-document-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hd-document-card-copy {
	display: block;
	margin-top: 14px;
}

.hd-document-card-copy > small {
	display: block;
	color: var(--secondary);
	font-size: .69rem;
	font-weight: 750;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.hd-document-card-copy > strong {
	display: block;
	margin-top: 7px;
	color: var(--ink) !important;
	font-size: 1rem;
	line-height: 1.25;
	letter-spacing: -.025em;
}

.hd-document-card-copy > em {
	display: block;
	margin-top: 7px;
	color: var(--secondary);
	font-size: .78rem;
	font-style: normal;
	line-height: 1.5;
}

.hd-document-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.hd-document-meta > span {
	min-width: 0;
}

.hd-document-meta small,
.hd-document-meta strong {
	display: block;
}

.hd-document-meta small {
	color: var(--secondary);
	font-size: .65rem;
	font-weight: 700;
	text-transform: uppercase;
}

.hd-document-meta strong {
	margin-top: 2px;
	color: var(--ink) !important;
	font-size: .76rem;
	font-weight: 650;
}

.hd-document-button {
	min-width: 82px;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	justify-content: center;
	margin-top: auto;
	padding: 0 18px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: #fff !important;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .02em;
}

.hd-document-mobile-number,
.hd-document-mobile-copy,
.hd-document-mobile-arrow {
	display: none;
}

.hd-documents--b .hd-document-item {
	min-width: 0;
	min-height: 78px;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 4px;
	padding: 10px 7px 10px 12px;
	border-right: 1px solid var(--line);
	background: #fff;
}

.hd-documents--b .hd-document-item:last-child {
	border-right: 0;
}

.hd-document-number {
	color: var(--secondary);
	font-size: .68rem;
	font-weight: 750;
}

.hd-document-minimal-copy {
	min-width: 0;
	display: grid;
	gap: 2px;
}

.hd-document-minimal-copy strong {
	color: var(--ink) !important;
	font-size: .8rem;
	line-height: 1.35;
}

.hd-documents-accent-titles-yes .hd-document-minimal-copy strong,
.hd-documents-accent-titles-yes .hd-document-mobile-copy strong {
	color: var(--pink-accessible, #c2185b) !important;
}

.hd-document-minimal-copy small {
	color: var(--secondary);
	font-size: .62rem;
	line-height: 1.35;
}

.hd-document-arrow {
	width: 20px;
	height: 24px;
	display: grid;
	place-items: center;
	color: var(--secondary);
	font-size: 1rem;
}

.hd-document-item:focus-visible {
	border-radius: 10px;
	outline: 3px solid var(--pink, #e53281);
	outline-offset: -3px;
}

@media (max-width: 1000px) {
	.hd-document-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hd-documents--b .hd-document-item:nth-child(2n) {
		border-right: 0;
	}

	.hd-documents--b .hd-document-item:nth-child(n+3) {
		border-top: 1px solid var(--line);
	}
}

@media (max-width: 700px) {
	.hd-documents-shell {
		width: min(calc(100% - 28px), 1180px);
	}

	.hd-documents,
	.hd-documents--a,
	.hd-documents--b {
		margin-top: 32px;
		padding: 18px;
		border-radius: 24px;
	}

	.hd-documents-heading h2,
	.hd-documents--b .hd-documents-heading h2 {
		font-size: 1.45rem;
	}

	.hd-document-grid,
	.hd-documents--a .hd-document-grid,
	.hd-documents--b .hd-document-grid {
		display: block;
		margin-top: 20px;
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
	}

	.hd-documents--no-heading .hd-document-grid {
		margin-top: 0;
	}

	.hd-documents--a .hd-document-item,
	.hd-documents--b .hd-document-item,
	.hd-documents--b .hd-document-item:nth-child(n+3) {
		min-height: 64px;
		display: grid;
		grid-template-columns: 28px minmax(0, 1fr) 32px;
		align-items: center;
		gap: 14px;
		padding: 10px 4px;
		border: 0;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
		background: transparent;
	}

	.hd-document-item:last-child,
	.hd-documents--b .hd-document-item:last-child {
		border-bottom: 0;
	}

	.hd-documents--a .hd-document-icon,
	.hd-documents--a .hd-document-card-copy,
	.hd-documents--a .hd-document-meta,
	.hd-documents--a .hd-document-button {
		display: none;
	}

	.hd-document-mobile-number,
	.hd-document-mobile-copy,
	.hd-document-mobile-arrow {
		display: initial;
	}

	.hd-document-mobile-number {
		color: var(--secondary);
		font-size: .68rem;
		font-weight: 750;
	}

	.hd-document-mobile-copy {
		min-width: 0;
		display: grid;
		gap: 2px;
	}

	.hd-document-mobile-copy strong {
		color: var(--ink) !important;
		margin: 0;
		font-size: .82rem;
		line-height: 1.35;
	}

	.hd-document-mobile-copy small {
		color: var(--secondary);
		font-size: .69rem;
	}

	.hd-document-mobile-arrow {
		width: 32px;
		height: 32px;
		display: grid;
		place-items: center;
		color: var(--secondary);
	}

	.hd-document-minimal-copy strong {
		font-size: .82rem;
	}

	.hd-document-minimal-copy small {
		font-size: .69rem;
	}

	.hd-document-arrow {
		width: 32px;
		height: 32px;
	}
}
