/* QRC Sitemap - styles for the [qrc_sitemap] shortcode. Colours are variables on .qrc-sitemap. */

/* The banner replaces the theme's own page title (body class is only added when the banner is on). */
.qrc-sitemap-page--banner .entry-header {
	display: none;
}

.qrc-sitemap-banner {
	position: relative;
	padding: 56px 15px;
	text-align: center;
	background: #101838 center / cover no-repeat;
}
.qrc-sitemap-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 56, 0.35);
}
.qrc-sitemap-banner__inner {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin: 0 auto;
}
.qrc-sitemap-banner__inner h1 {
	margin: 0;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 37px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
}

.qrc-sitemap {
	--qrc-sm-heading: #101838;
	--qrc-sm-link: #333;
	--qrc-sm-hover: #1a3a6e;
	--qrc-sm-dot: #62d4f2;
	--qrc-sm-bg: #f4f8fc;
	padding: 40px 0 56px;
	background: var(--qrc-sm-bg);
	font-family: 'Roboto', sans-serif;
}
.qrc-sitemap__container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px;
}

.qrc-sitemap ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Groups flow across three columns; a group may continue in the next column, a sub-group never splits. */
.qrc-sitemap__groups {
	column-count: 3;
	column-gap: 40px;
}
.qrc-sitemap__group {
	margin: 0 0 14px;
	break-inside: auto;
}
.qrc-sitemap__list--level-2 > .qrc-sitemap__item--parent {
	break-inside: avoid;
}

.qrc-sitemap__heading {
	display: block;
	margin-top: 10px;
	color: var(--qrc-sm-heading);
	font-size: 15px;
	font-weight: 700;
	line-height: 31px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	break-after: avoid;
}
.qrc-sitemap a.qrc-sitemap__heading:hover {
	color: var(--qrc-sm-hover);
}

.qrc-sitemap__item {
	position: relative;
	padding-left: 20px;
	font-size: 15px;
	line-height: 31px;
	color: var(--qrc-sm-link);
}
.qrc-sitemap__item::before {
	content: "";
	position: absolute;
	top: 12px;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--qrc-sm-dot);
}
.qrc-sitemap__link {
	display: block;
	color: var(--qrc-sm-link);
	font-weight: 500;
	text-decoration: none;
}
.qrc-sitemap a.qrc-sitemap__link:hover {
	color: var(--qrc-sm-hover);
	text-decoration: underline;
}
.qrc-sitemap__item--parent > .qrc-sitemap__link {
	font-weight: 600;
	color: var(--qrc-sm-heading);
}

@media (max-width: 991.98px) {
	.qrc-sitemap__groups {
		column-count: 2;
	}
}
@media (max-width: 575.98px) {
	.qrc-sitemap-banner {
		padding: 40px 15px;
	}
	.qrc-sitemap-banner__inner h1 {
		font-size: 26px;
	}
	.qrc-sitemap__groups {
		column-count: 1;
	}
}
