/*
 * Text pages: 5709 Декларация за поверителност, 6966 Условия на ползване,
 * 6973 Подкасти, 14 Карта на сайта. Title band + text at reading width
 * (.hc-prose from style.css section 19).
 */

/* Text starts at the left edge of the column, under the title. */
.wp-block-group.hc-section > .wp-block-group.hc-legal__text { max-width: var(--hc-maxw-text); margin-top: 0; }
.hc-legal__text > * { max-width: 760px; }

.hc-legal__text :is(h2, h3, h4) { letter-spacing: 0; line-height: 1.25; text-wrap: balance; }
.hc-legal__text :is(h2, h3, h4) strong { font-weight: inherit; }
.hc-legal__text h3,
.hc-legal__text h4 {
	margin-top: 10px;
	font-family: var(--hc-font-body);
	font-weight: 800;
	font-size: 17px;
	text-transform: none;
	color: var(--hc-ink);
}
.hc-legal__text li + li { margin-top: 6px; }
.hc-legal__text a { overflow-wrap: anywhere; }

/* Sitemap: cards of links. */
.wp-block-group.hc-sitemap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
	align-items: start;
}
.hc-sitemap > *,
.hc-sitemap__col > *,
.hc-sitemap__col li > * { margin: 0; }
.wp-block-group.hc-sitemap__col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(18px, 2.4vw, 24px);
	border-radius: 18px;
	background: var(--hc-card);
	min-width: 0;
}
h2.hc-sitemap__title { font-size: 14px; letter-spacing: 0; line-height: 1.2; }
.hc-sitemap__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 14px;
	line-height: 1.35;
}
.hc-sitemap__col ul ul { margin-top: 9px; padding-left: 14px; }
.hc-sitemap__col :is(p, li) { font-size: 14px; line-height: 1.35; }
.hc-sitemap__col a { color: var(--hc-ink2); text-decoration: none; }
.hc-sitemap__col a:hover { color: var(--hc-ink); text-decoration: underline; }

/* Term / post lists inside the cards: same rhythm and type as the page list. */
.hc-sitemap__col ul:is(.wp-block-term-template, .wp-block-post-template, .wp-block-page-list) { gap: 9px; }
.hc-sitemap__col li { margin: 0; }
.hc-sitemap__col :is(.wp-block-post-title, .wp-block-term-name) {
	margin: 0;
	font-family: var(--hc-font-body);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}
