/* ETF Site: the sitemap page in apple.com's site-map grammar. The page title is the brand line ("Stazora sitemap")
   at the wide width over a hairline; each menu item is a category under its own hairline with a large headline;
   inside it small bold labels over plain link lists in three columns (one on phones). Loaded on the sitemap
   page only (functions.php). Solid, flat, no motion of its own; the page entrance (motion.css) still applies. */

main .wp-block-post-title {
	max-width: var(--wp--style--global--wide-size, 68.75rem);
	margin-inline: auto;
	padding-block-end: 1rem;
	border-block-end: 1px solid var(--stz-hairline);
}

.etf-site-sitemap__intro {
	margin-block: 1.5rem 0;
	color: var(--stz-text-2);
	font-size: var(--stz-fs-body);
}

.etf-site-sitemap__section {
	margin-block-start: 2.5rem;
	padding-block-start: 2.5rem;
	border-block-start: 1px solid var(--stz-hairline);
}

.etf-site-sitemap__title {
	margin: 0 0 1.5rem;
	font-size: 2rem;
	font-weight: var(--stz-fw-semibold);
	letter-spacing: var(--stz-track-display-s);
	line-height: var(--stz-lh-tight);
}

.etf-site-sitemap__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.75rem 2rem;
}

@media (width >= 48em) {
	.etf-site-sitemap__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Flow layout adds a block gap above every later child; in the grid the gap property does that work */
.etf-site-sitemap__cols > * {
	margin: 0;
}

.etf-site-sitemap__label {
	margin: 0 0 0.25rem;
	font-size: var(--stz-fs-body);
	font-weight: var(--stz-fw-semibold);
	letter-spacing: var(--stz-track-lead);
	line-height: var(--stz-lh-snug);
}

.etf-site-sitemap__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.etf-site-sitemap__list li {
	margin: 0;
	padding: 0;
}

/* Plain blue links as on apple.com (the hover underline appears under a fine pointer; the 44 px target stays) */
.etf-site-sitemap__list a {
	display: flex;
	align-items: center;
	min-height: var(--stz-hit);
	font-size: var(--stz-fs-body);
	letter-spacing: var(--stz-track-body);
	line-height: var(--stz-lh-snug);
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.etf-site-sitemap__list a:hover {
		text-decoration: underline;
	}
}

@media (prefers-contrast: more) {
	.etf-site-sitemap__list a {
		text-decoration: underline;
	}
}

@media (forced-colors: active) {
	.etf-site-sitemap__list a {
		text-decoration: underline;
	}
}
