/**
 * Terms of Service & Privacy Policy — hero + readable legal layout.
 */

/* Match Elementor burgundy heroes (Membership / Officers / etc.). */
.icra-legal-hero {
	position: relative;
	background-color: #5f021f;
	color: #fff;
	padding: 110px 0 56px;
	border-radius: 0 0 150px 0;
	overflow: hidden;
}

.icra-legal-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.icra-legal-hero__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.icra-legal-hero__title {
	margin: 0 0 0.55rem;
	font-family: Poppins, sans-serif;
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.12;
	color: #fff !important;
}

.icra-legal-hero__sub {
	margin: 0;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1024px) {
	.icra-legal-hero {
		padding: 100px 0 48px;
		border-radius: 0 0 100px 0;
	}
}

@media (max-width: 767px) {
	.icra-legal-hero {
		padding: 88px 0 40px;
		border-radius: 0 0 64px 0;
	}
}

/* Hide any leftover Astra title chrome. */
.icra-legal-page .entry-header,
.icra-legal-page .ast-archive-description,
.icra-legal-page .ast-single-post .entry-header {
	display: none !important;
}

.icra-legal-page .site-content {
	padding-top: 0;
	padding-bottom: 3.5rem;
}

.icra-legal-page #content > .ast-container {
	padding-top: 2.5rem;
}

.icra-legal-page .entry-content {
	max-width: 66rem; /* 50% wider than previous 44rem */
	margin-left: auto;
	margin-right: auto;
}

.icra-legal-document {
	padding: 1.85rem 2rem 2.15rem;
	border: 1px solid rgba(95, 2, 31, 0.1);
	border-left: 4px solid #5f021f;
	background: #fff;
	box-shadow: 0 2px 12px rgba(26, 26, 26, 0.05);
	border-radius: 0 8px 8px 0;
	color: #3a4650;
	font-size: 1rem;
	line-height: 1.65;
}

.icra-legal-document__meta {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5f021f;
}

.icra-legal-document__lead {
	margin: 0 0 1.5rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #3a4650;
}

.icra-legal-document__toc {
	margin: 0 0 1.75rem;
	padding: 1rem 1.15rem 1.05rem;
	background: #faf7f8;
	border: 1px solid rgba(95, 2, 31, 0.08);
	border-radius: 6px;
}

.icra-legal-document__toc-title {
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5f021f;
}

.icra-legal-document__toc ol {
	margin: 0;
	padding-left: 1.2rem;
	columns: 1;
}

@media (min-width: 700px) {
	.icra-legal-document__toc ol {
		columns: 2;
		column-gap: 1.5rem;
	}
}

.icra-legal-document__toc li {
	margin-bottom: 0.3rem;
	break-inside: avoid;
	font-size: 0.92rem;
}

.icra-legal-document__toc a {
	font-weight: 500;
	text-decoration: none;
}

.icra-legal-document__toc a:hover,
.icra-legal-document__toc a:focus {
	text-decoration: underline;
}

.icra-legal-document h2 {
	margin: 1.85rem 0 0.7rem;
	padding-top: 0.35rem;
	font-size: 1.2rem;
	line-height: 1.35;
	font-weight: 700;
	color: #1a1a1a;
	border-top: 1px solid rgba(95, 2, 31, 0.08);
	scroll-margin-top: 6rem;
}

.icra-legal-document h2:first-of-type {
	margin-top: 0;
	border-top: 0;
	padding-top: 0;
}

.icra-legal-document p {
	margin: 0 0 1rem;
}

.icra-legal-document ul {
	margin: 0 0 1rem 1.15rem;
	padding: 0;
}

.icra-legal-document li {
	margin-bottom: 0.45rem;
}

.icra-legal-document a {
	color: #5f021f;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.icra-legal-document a:hover,
.icra-legal-document a:focus {
	color: #3a0114;
}

@media (max-width: 768px) {
	.icra-legal-document {
		padding: 1.25rem 1.15rem 1.5rem;
	}

	.icra-legal-page #content > .ast-container {
		padding-top: 1.75rem;
	}
}
