/*
	Legal page styles — Shepherd Tech Solutions
	Reuses the Directive template palette (#4eb980 accent, #016f6b footer)
	so the policy pages read as part of the same site.
*/

/* Shorter header on interior pages — no full hero needed. */
#header.header-compact {
	padding: 5em 0 12em 0;
}

	#header.header-compact .logo {
		font-size: 1.5em;
		margin: 0 0 0.5em 0;
	}

	#header.header-compact h1 {
		font-size: 2em;
	}

	#header.header-compact p {
		font-size: 1.15em;
	}

/* Readable long-form text block. */
.legal {
	text-align: left;
}

	.legal h2 {
		font-size: 1.35em;
		margin: 2.5em 0 0.75em 0;
		padding-top: 1.5em;
		border-top: solid 1px rgba(224, 224, 224, 0.75);
	}

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

	.legal h3 {
		font-size: 1em;
		margin: 1.75em 0 0.5em 0;
	}

	.legal p,
	.legal li {
		line-height: 1.8em;
	}

	.legal ul {
		list-style: disc;
		padding-left: 1.5em;
		margin: 0 0 1.5em 0;
	}

		.legal ul li {
			padding-left: 0.35em;
			margin: 0.5em 0 0 0;
		}

	.legal .effective {
		color: #7a737b;
		font-size: 0.85em;
		letter-spacing: 0.15em;
		text-transform: uppercase;
		margin-bottom: 2.5em;
	}

/* Callout for the SMS/messaging terms carriers look for. */
.legal .callout {
	background: #f6faf8;
	border-left: solid 4px #4eb980;
	padding: 1.5em 1.75em;
	margin: 0 0 2em 0;
}

	.legal .callout p:last-child {
		margin-bottom: 0;
	}

/* Back link at the top of the content box. */
.legal-back {
	display: inline-block;
	font-size: 0.85em;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 2em;
}

/* Footer links between the two policy pages. */
#footer .legal-links {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em 0;
}

	#footer .legal-links li {
		display: inline-block;
		padding: 0 1em;
		border-left: solid 1px rgba(255, 255, 255, 0.25);
	}

	#footer .legal-links li:first-child {
		border-left: 0;
	}

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

	#header.header-compact {
		padding: 3em 0 8em 0;
	}

		#header.header-compact h1 {
			font-size: 1.5em;
		}

	.legal .callout {
		padding: 1.25em 1.25em;
	}

}

/* Inline legal links in the main content area. */
.legal-inline {
	font-size: 0.9em;
	color: #7a737b;
	margin: 2em 0 0 0;
}

	.legal-inline a {
		border-bottom-color: rgba(78, 185, 128, 0.5);
		color: #544d55;
	}

		.legal-inline a:hover {
			border-bottom-color: transparent;
			color: #4eb980;
		}
