/* Privacy Policy and Disclaimer & Copyright pages
   (assets/includes/template/page-privacy.php, page-disclaimer.php).
   The text comes from the backend; these are only the extra parts the
   page adds around it: the "last updated" line, the "On this page" list
   and the section numbers. */

.legal-updated {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	color: #5b6676;
}

.legal-contents {
	margin: 26px 0 6px;
	padding: 20px 24px 16px;
	border: 1px solid #e3e8ee;
	border-radius: 8px;
	background: #f8fafc;
}

.legal-contents p.legal-contents__title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #1b2a41;
}

.legal-contents ol {
	margin: 0;
	padding: 0 0 0 1.5em;
	list-style: decimal;
	columns: 2;
	column-gap: 40px;
}

.legal-contents li {
	margin: 0 0 8px;
	padding: 0 0 0 4px;
	font-size: 16px;
	line-height: 1.45;
	color: #5b6676;
	break-inside: avoid;
}

.legal-contents li::before {
	content: none;
}

.legal-contents a {
	color: #1b2a41;
	text-decoration: none;
}

.legal-contents a:hover,
.legal-contents a:focus {
	color: #1b2a41;
	text-decoration: underline;
	text-decoration-color: #c29a37;
	text-underline-offset: 3px;
}

/* A section reached from the list stops below the site's fixed header
   (one row of menu on phones and wide screens, two or three in between). */
h2.bold[id] {
	scroll-margin-top: 84px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

	h2.bold[id] {
		scroll-margin-top: 214px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {

	h2.bold[id] {
		scroll-margin-top: 147px;
	}
}

@media only screen and (max-width: 767px) {

	/* Phones: one column, so long headings are not squeezed. */
	.legal-contents {
		padding: 16px 16px 10px;
	}

	.legal-contents ol {
		columns: 1;
	}
}
