/* /courses/ overview: category tiles and the A–Z Course list. The tiles use the frs theme's
   own home-grid classes; this only adds what a list and one real link per tile need. */

.frsac-overview-tiles,
.frsac-overview-az {
	padding: 2rem 0;
}

.frsac-tile-grid {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}

.frsac-tile-grid > li {
	margin-bottom: 1.5rem;
}

.frsac-tile-grid .sector_category_list__item__inner,
.frsac-tile-grid .sector_category_list__item__inner__wrapper {
	height: 100%;
}

.frsac-tile-grid .sector_category_list__item__inner__wrapper {
	position: relative;
}

.frsac-tile-grid .cat_name {
	margin: 0;
	font-size: inherit;
}

/* The theme underlines every link in its editor section
   (.standard_editor_section .section_inner .section_wrapper .content_editor a), so these
   need a stronger selector. The tile name is the whole tile's link; the jump row is boxed. */
.frsac-overview-tiles.frsac-overview-tiles .frsac-tile-grid .cat_name a.frsac-card-link,
.frsac-overview-az.frsac-overview-az.frsac-overview-az .frsac-az-jump.frsac-az-jump a {
	color: inherit;
	text-decoration: none;
}

/* The category name is the tile's only link; it covers the whole tile. */
.frsac-overview-tiles .frsac-card-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.frsac-overview-tiles .frsac-card-link:focus-visible {
	outline: none;
}

.frsac-overview-tiles .frsac-card-link:focus-visible::after {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* A–Z list */
.frsac-az-jump ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 1rem 0 1.5rem;
	padding: 0;
}

.frsac-az-jump a {
	display: inline-block;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.6rem 0.5rem;
	text-align: center;
	border: 1px solid currentColor;
	border-radius: 4px;
	text-decoration: none;
	line-height: 1.5;
}

.frsac-az-groups {
	columns: 3 18rem;
	column-gap: 2.5rem;
}

.frsac-az-group {
	break-inside: avoid;
	margin-bottom: 1.5rem;
}

.frsac-az-group h3 {
	margin: 0 0 0.5rem;
	scroll-margin-top: 8rem;
}

.frsac-az-group ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.frsac-az-group li {
	margin: 0 0 0.4rem;
}

.frsac-az-group a {
	display: inline-block;
	padding: 0.2rem 0;
}
