/* ==========================================================================
   The two footer legal pages -- privacy & cookies policy, terms and
   conditions of use. GREEN, the company-pages family colour, but applied
   with a light hand: these are documents. #45B17B is 2.68:1 on
   white so it stays decorative; #237049 (6.03:1) carries every
   link and heading, which on a legal page is nearly all of the colour there
   is.
   ========================================================================== */

/* compact title band in place of the marketing pages' slider replica */
.eko4-legal-head {
	position: relative; padding: 132px 30px 46px;
	background: linear-gradient(135deg, #123D28 0%, #237049 60%, #2E8A5E 100%);
}
/* the theme header sits INSIDE this band and its wave is semi-transparent, so
   the logo disappears against a dark ground unless the top strip is lightened
   back. Same two-scrims-in-one-layer trick as the About Us hero. */
.eko4-legal-head::before {
	content: ''; position: absolute; left: 0; right: 0; top: 0; height: 126px; pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .58) 58px, rgba(255, 255, 255, 0) 100%);
}
.eko4-legal-head-inner { position: relative; }
.eko4-legal-head-inner { max-width: 900px; margin: 0 auto; }
.eko4-legal-kicker {
	display: inline-block; margin-bottom: 12px; padding: 5px 13px; border-radius: 40px;
	background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .38);
	color: #DFF3E8; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.eko4-legal-head h1 {
	color: #fff !important; font-size: 40px; line-height: 50px; font-weight: 700;
	margin: 0 0 10px; text-wrap: balance;
}
.eko4-legal-meta { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px; }

/* the document itself */
.eko4-legal-row { padding: 48px 0 40px; }
.eko4-legal { max-width: 820px; margin: 0 auto; }
.eko4-legal p, .eko4-legal li { font-size: 16.5px; line-height: 30px; color: #4a4b4d; }
.eko4-legal p { margin: 0 0 18px; }
.eko4-legal a { color: #237049; text-decoration: underline; }
.eko4-legal-lead {
	font-size: 18px !important; line-height: 32px !important; color: #33393c !important;
	padding-bottom: 22px; border-bottom: 1px solid #E4EFE9; margin-bottom: 0 !important;
}

/* contents */
.eko4-toc {
	margin: 28px 0 40px; padding: 24px 30px 20px;
	background: #F2FAF6; border: 1px solid #DCEFE5; border-radius: 14px;
}
.eko4-toc h2 {
	margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: #6c8d7d;
}
/* the theme strips list markers from ol site-wide; a contents list needs them */
.eko4-toc ol { margin: 0; padding-left: 22px; list-style: decimal outside; }
.eko4-toc ol li { display: list-item; }
.eko4-toc li { font-size: 15.5px; line-height: 28px; }
.eko4-toc a { text-decoration: none; }
.eko4-toc a:hover, .eko4-toc a:focus { text-decoration: underline; }

/* sections */
.eko4-legal-section { scroll-margin-top: 110px; padding-bottom: 14px; }
.eko4-legal-section h2 {
	font-size: 24px; line-height: 34px; font-weight: 700; color: #237049;
	margin: 34px 0 14px; padding-top: 6px;
}
.eko4-legal-section:first-of-type h2 { margin-top: 8px; }

.eko4-legal-list { list-style: none; margin: 0 0 18px; padding: 0; }
.eko4-legal-list li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.eko4-legal-list li::before {
	content: ''; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px;
	border-radius: 50%; background: #45B17B;
}
.eko4-clauses { margin: 0 0 18px; padding-left: 26px; list-style: decimal outside; }
.eko4-clauses > li { display: list-item; }
.eko4-legal-list li { display: list-item; }
.eko4-clauses > li { margin-bottom: 16px; padding-left: 6px; }
.eko4-clauses > li::marker { color: #237049; font-weight: 700; }
.eko4-clauses .eko4-legal-list { margin: 12px 0 0; }

.eko4-address {
	display: block; margin: 0 0 18px; padding: 18px 22px;
	background: #F2FAF6; border-left: 3px solid #45B17B;
	border-radius: 0 10px 10px 0; font-style: normal;
	font-size: 16px; line-height: 28px; color: #4a4b4d;
}

.eko4-signoff {
	margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #E4EFE9;
	font-size: 16px; line-height: 27px; color: #4a4b4d;
}
.eko4-signoff strong { color: #23393c; }

.eko4-legal-notice {
	margin: 34px 0 0; padding: 20px 24px; border: 1px solid #DCEFE5; border-radius: 12px;
}
.eko4-legal-notice p { margin: 0; font-size: 15.5px; line-height: 27px; color: #6c6d70; }

@media (max-width: 991px) {
	.eko4-legal-head { padding: 116px 22px 38px; }
	.eko4-legal-head h1 { font-size: 30px; line-height: 40px; }
	.eko4-legal p, .eko4-legal li { font-size: 16px; line-height: 28px; }
	.eko4-legal-section h2 { font-size: 21px; line-height: 30px; }
	.eko4-toc { padding: 20px 22px 16px; }
}
