/* Label: Legal text */
/*
 * Legal pages: a 716px reading column (prototype article-body measure) with the article body type (text-7, normal
 * weight, charcoal, 20px between paragraphs). Outer Group: {"align":"full","className":"section-legal-text is-style-legal-text",
 * "layout":{"type":"constrained","contentSize":"716px"}, padding 50 / 70}.
 */
.wp-block-group.is-style-legal-text {
	color: var(--wp--preset--color--charcoal);
	font-size: var(--wp--preset--font-size--text-7);
	font-weight: 400;
	line-height: 1.5;
}

.is-style-legal-text > * + * {
	margin-block-start: 20px;
}

.is-style-legal-text > :is(h2, h3, h4, h5, h6) {
	margin-block-start: 40px;
	margin-block-end: 0;
	font-weight: 600;
	line-height: 1.2;
}

.is-style-legal-text > h2 { font-size: var(--wp--preset--font-size--text-5); }
.is-style-legal-text > h3 { font-size: var(--wp--preset--font-size--text-6); }
.is-style-legal-text > :is(h4, h5, h6) { font-size: var(--wp--preset--font-size--text-7); }

.is-style-legal-text :is(ul, ol) {
	padding-inline-start: 1.5em;
}

.is-style-legal-text ul { list-style: disc; }
.is-style-legal-text ol { list-style: decimal; }

.is-style-legal-text li + li {
	margin-block-start: 8px;
}

.is-style-legal-text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.is-style-legal-text a:hover {
	text-decoration-thickness: 2px;
}

.is-style-legal-text .wp-block-table {
	overflow-x: auto;
}

.is-style-legal-text table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--text-9);
}

.is-style-legal-text :is(th, td) {
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--greige);
	text-align: left;
	vertical-align: top;
}

.is-style-legal-text th {
	font-weight: 700;
}

/* Fallback templates (404, search, index, archive) use the same column. */
.is-style-legal-text .wp-block-post-title {
	font-weight: 600;
	margin-block-end: 8px;
}
.is-style-legal-text .wp-block-post-title a { text-decoration: none; }
.is-style-legal-text .wp-block-post-title a:hover { text-decoration: underline; }
.is-style-legal-text .wp-block-search { margin-block-end: 30px; }
.is-style-legal-text .wp-block-search__inside-wrapper { gap: 10px; }
.is-style-legal-text .wp-block-search__input { padding: 12px 16px; border: 1px solid var(--wp--preset--color--greige); border-radius: var(--wp--custom--radius--btn); }
.is-style-legal-text .wp-block-query-pagination { display: flex; gap: 20px; margin-block-start: 40px; }
