.apsp-section-index__list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.apsp-section-index__list {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	}
}

.apsp-section-index__list a {
	display: block;
	padding: 1rem 1.25rem;
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	color: #1e293b;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.apsp-section-index__list a:hover {
	background: #edf2f7;
	border-color: #cbd5e0;
}

/* Card grid (images from legacy OpenPA section pages). */
.apsp-section-index__list--cards {
	gap: 1.25rem;
}

.apsp-section-index__list--cards .apsp-section-index__item a {
	display: flex;
	align-items: center;
	min-height: 3.25rem;
	padding: 0.85rem 1.15rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
}

.apsp-section-index__list--cards .apsp-section-index__item a:hover {
	background: #edf2f7;
	border-color: #cbd5e0;
	color: #0066cc;
}

@media (min-width: 640px) {
	.apsp-section-index__list--cards {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

.apsp-section-card {
	list-style: none;
	margin: 0;
	padding: 0;
}

.apsp-section-card__inner {
	height: 100%;
	margin: 0;
}

.apsp-section-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	color: #1e293b;
	text-decoration: none !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.apsp-section-card__link:hover,
.apsp-section-card__link:focus {
	border-color: #cbd5e0;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
	transform: translateY(-2px);
	text-decoration: none !important;
}

.apsp-section-card__link .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.apsp-section-card__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f1f5f9;
}

.apsp-section-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
}

.apsp-section-card__body {
	padding: 1rem 1.15rem 1.15rem;
	flex: 1 1 auto;
}

.apsp-section-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #0f172a;
	text-decoration: none;
}

.apsp-section-card__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #475569;
	font-weight: 400;
	text-decoration: none;
}

.apsp-section-card--text .apsp-section-card__body {
	padding-top: 1.1rem;
}

.apsp-section-card--text .apsp-section-card__title {
	margin-bottom: 0;
}

.page-content ul.apsp-documents {
	list-style: disc;
	margin: 1rem 0 1.5rem 1.25rem;
	padding: 0;
}

.page-content ul.apsp-documents li {
	margin-bottom: 0.5rem;
}

.page-content ul.apsp-documents a {
	font-weight: 500;
}

.apsp-page-stub p {
	color: #4a5568;
	font-style: italic;
}

.page-content .apsp-documents,
.page-content .apsp-subpages {
	list-style: none;
	margin: 1rem 0 1.5rem;
	padding: 0;
}

.page-content .apsp-documents a,
.page-content .apsp-subpages a {
	display: inline-block;
	padding: 0.5rem 0;
	color: #0d6e7f;
	font-weight: 500;
}
