/*
 * editorial-policy.php (enqueued for that template only). Ported from the template's inline <style> (A-60):
 * theme font tokens, no uppercase labels, the retired magenta accent swapped for teal, and the
 * same content column as the header/footer.
 */
.ep-policy{
	--orange:#F87830;--amber:#F8A018;--pink:#E85090;
	--teal:#0F7C85;--teal-text:#0B6A72;--charcoal:#202020;--cloud:#F8F8F8;
	--border:#E9E9E9;--radius:18px;--radius-sm:14px;--radius-pill:999px;
	--shadow:0 8px 24px rgba(32,32,32,0.08);
	
	color:var(--charcoal);line-height:1.5;
}
.ep-policy *{box-sizing:border-box;}
.ep-wrap{max-width:calc(var(--ba-max) + 2 * var(--ba-gutter));margin:0 auto;padding:0 var(--ba-gutter);}
.ep-policy h1,.ep-policy h2,.ep-policy h3{
	font-family:var(--ba-font-head);line-height:1.15;margin:0 0 12px;
}
.ep-policy h1{font-size:44px;font-weight:800;letter-spacing:-0.02em;color:#fff;}
.ep-policy h2{font-size:32px;font-weight:700;letter-spacing:-0.02em;margin-top:0;}
.ep-policy h3{font-size:22px;font-weight:700;}
.ep-policy p{font-size:18px;line-height:1.7;margin:0 0 18px;}
.ep-policy a{color:var(--teal-text);}
.ep-policy a:hover{color:var(--teal);}

.ep-kicker{
	display:inline-block;font-size:12px;font-weight:700;letter-spacing:0.05em;
	color:var(--teal-text);background:#e8f6f7;
	border:1px solid #cfeaec;border-radius:var(--radius-pill);
	padding:6px 14px;margin-bottom:14px;
}

/* Section rhythm. */
.ep-section{padding:36px 0;}
.ep-section--band{background:var(--cloud);}
/* Content sections after the hero run FULL WIDTH (1120px) on desktop — the house
   rule for this template family (confirmed by Daniel 18 Jul 2026). .ep-wrap already
   caps at 1120; .ep-prose no longer narrows it. */
.ep-prose{max-width:1120px;margin:0 auto;}
.ep-prose h2{margin-top:8px;}
.ep-prose ul,.ep-prose ol{font-size:18px;line-height:1.7;padding-left:22px;margin:0 0 18px;}
.ep-prose li{margin-bottom:10px;}

/* Card. */
.card{
	background:#fff;border:1px solid var(--border);border-radius:var(--radius);
	box-shadow:var(--shadow);padding:24px;
}

/* Answer-first "our promise" callout. */
.ep-answer{max-width:1120px;margin:0 auto;}
.ep-answer .card{display:flex;gap:18px;align-items:flex-start;}
.ep-answer .ep-answer-mark{
	flex:none;width:44px;height:44px;border-radius:var(--radius-pill);
	background:linear-gradient(135deg,var(--orange),var(--pink));
	display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:20px;
}
.ep-answer h2{font-size:20px;margin:0 0 8px;}
.ep-answer p{font-size:17px;line-height:1.6;margin:0;}

/* Principles-at-a-glance grid. */
.ep-principles{display:grid;gap:18px;grid-template-columns:1fr;margin:6px 0 0;}
@media(min-width:640px){.ep-principles{grid-template-columns:1fr 1fr;}}
.ep-principle{
	background:#fff;border:1px solid var(--border);border-radius:var(--radius);
	box-shadow:var(--shadow);padding:20px;
}
.ep-principle h3{font-size:18px;margin:0 0 8px;color:var(--teal-text);}
.ep-principle p{font-size:15px;line-height:1.55;margin:0;color:#333;}

/* Callout note. */
.ep-note{
	background:#fff7f2;border:1px solid #f6d9c6;border-radius:var(--radius-sm);
	padding:16px 18px;margin:0 0 4px;font-size:16px;line-height:1.6;color:#5a3a26;
}
.ep-note strong{color:#7a3f1c;}

/* FAQ (visible only, no schema). */
.ep-faq details{
	border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;
	padding:0;margin-bottom:12px;overflow:hidden;
}
.ep-faq summary{
	font-family:Manrope,Inter,sans-serif;font-weight:700;font-size:18px;padding:16px 18px;
	cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;
}
.ep-faq summary::-webkit-details-marker{display:none;}
.ep-faq summary::after{content:"+";font-size:22px;color:var(--teal);font-weight:400;}
.ep-faq details[open] summary::after{content:"\2212";}
.ep-faq summary:focus-visible{outline:3px solid var(--teal);outline-offset:-3px;}
.ep-faq .ep-faq-body{padding:0 18px 6px;}
.ep-faq .ep-faq-body p{font-size:16px;line-height:1.6;}

/* Hero — same system as the guide / homepage / app-listing. */
.ep-hero{
	position:relative;overflow:hidden;text-align:center;color:#fff;
	background:linear-gradient(135deg,#F87830 0%,#F8A018 50%,#E85090 100%);
	padding:56px 24px 60px;
}
.ep-hero__blob{position:absolute;border-radius:50%;pointer-events:none;
	background:radial-gradient(circle,rgba(255,255,255,0.18),transparent 70%);}
.ep-hero__blob--a{width:460px;height:460px;top:-180px;right:-120px;}
.ep-hero__blob--b{width:320px;height:320px;bottom:-160px;left:-90px;
	background:radial-gradient(circle,rgba(255,255,255,0.12),transparent 70%);}
.ep-hero__inner{position:relative;z-index:1;max-width:820px;margin:0 auto;}
.ep-hero__title{font-size:clamp(36px,5vw,52px);font-weight:800;line-height:1.05;
	letter-spacing:-0.02em;color:#fff;margin:0;}
.ep-hero .ep-hero__lead{font-size:19px;line-height:1.6;margin:16px auto 0;max-width:660px;text-align:center;
	color:rgba(255,255,255,0.92);}
.ep-kicker--hero{color:#fff;background:rgba(255,255,255,0.18);border-color:rgba(255,255,255,0.35);}
.ep-hero__meta{display:flex;justify-content:center;align-items:center;gap:14px;
	margin-top:22px;flex-wrap:wrap;}
.ep-hero__author{display:flex;align-items:center;gap:10px;}
.ep-hero__avatar{width:38px;height:38px;border-radius:999px;overflow:hidden;flex:none;
	background:rgba(255,255,255,0.2);border:1px solid rgba(255,255,255,0.4);
	display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;color:#fff;}
.ep-hero__avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.ep-hero__author-text{display:flex;flex-direction:column;text-align:left;line-height:1.25;font-size:13px;}
.ep-hero__author-text strong{font-weight:700;}
.ep-hero__author-text span{opacity:0.82;font-size:12px;}
.ep-hero__divider{width:1px;height:26px;background:rgba(255,255,255,0.3);}
.ep-hero__updated{font-size:13px;opacity:0.9;}
.ep-hero__updated strong{font-weight:700;}

@media(max-width:520px){
	.ep-policy h2{font-size:26px;}
}

/* Phones: the byline stacks (no orphaned divider). The wrap already supplies the gutter. */
@media(max-width:520px){.ep-hero__divider{display:none;}.ep-hero__meta{flex-direction:column;gap:8px;}.ep-answer .card{flex-direction:column;gap:12px;}}

/* The page ends on a full-bleed band: no white strip above the footer. */
.ba-footer{margin-top:0;}
