/*
Theme Name: Electrolyte Powder
Theme URI: https://electrolyte-powder.com
Author: electrolyte-powder.com
Description: A bold, product-first affiliate theme for electrolyte powder reviews. Ranked product cards, mineral meters, a sortable comparison table, Amazon Associates link tagging and disclosures, and shortcodes for dropping products into buying guides.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: electrolyte-powder
Tags: blog, e-commerce, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #14140f;
	--ink-2: #3a3a33;
	--muted: #6b6a60;
	--cream: #fbf7f0;
	--paper: #ffffff;
	--sand: #f2ebdf;
	--line: rgba(20, 20, 15, 0.12);
	--volt: #ff5a1f;
	--volt-dark: #e04310;

	--citrus: #ffb000;
	--berry: #e0245e;
	--lime: #9be15d;
	--ocean: #00a6d6;
	--grape: #7b3fe4;

	--display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(20, 20, 15, .06), 0 8px 24px rgba(20, 20, 15, .06);
	--shadow-lg: 0 2px 4px rgba(20, 20, 15, .06), 0 20px 48px rgba(20, 20, 15, .12);
	--container: 1240px;
}

.ep-tone--citrus { --tone: var(--citrus); --tone-soft: #fff1cc; --tone-ink: #5a3d00; }
.ep-tone--berry  { --tone: var(--berry);  --tone-soft: #fde0e9; --tone-ink: #fff; }
.ep-tone--lime   { --tone: var(--lime);   --tone-soft: #e9f8dc; --tone-ink: #1e3a06; }
.ep-tone--ocean  { --tone: var(--ocean);  --tone-soft: #d6f2fb; --tone-ink: #fff; }
.ep-tone--grape  { --tone: var(--grape);  --tone-soft: #ebe1fc; --tone-ink: #fff; }
.ep-tone--volt   { --tone: var(--volt);   --tone-soft: #ffe3d7; --tone-ink: #fff; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--volt-dark); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px;
}

.ep-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ep-narrow { max-width: 780px; }
.ep-mt { margin-top: 56px; }
.ep-icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

/* ---------- Type helpers ---------- */
.ep-eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--muted); text-decoration: none; margin: 0 0 12px;
}
.ep-eyebrow--pill {
	background: var(--paper); border: 1px solid var(--line); color: var(--ink);
	padding: 6px 12px; border-radius: 999px;
}
.ep-eyebrow--pill .ep-icon { color: var(--volt); }
.ep-h2 {
	font-size: clamp(32px, 4.4vw, 56px); font-weight: 900; font-stretch: 80%;
	text-transform: uppercase; letter-spacing: -0.01em; line-height: .95;
}
.ep-meta { font-size: 14px; color: var(--muted); margin: 0; }
.ep-link {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px;
	text-decoration: none; white-space: nowrap;
}
.ep-link .ep-icon { transition: transform .2s; }
.ep-link:hover .ep-icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.ep-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink);
	font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1;
	text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.ep-btn:hover { transform: translateY(-2px); }
.ep-btn--primary { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--volt); }
.ep-btn--primary:hover { color: #fff; box-shadow: 6px 6px 0 var(--volt); }
.ep-btn--ghost { background: transparent; color: var(--ink); }
.ep-btn--ghost:hover { background: var(--ink); color: #fff; }
.ep-btn--buy { background: var(--volt); border-color: var(--volt); color: #fff; }
.ep-btn--buy:hover { background: var(--volt-dark); border-color: var(--volt-dark); color: #fff; }
.ep-btn--buy .ep-icon { width: 15px; height: 15px; }
.ep-btn--sm { padding: 9px 14px; font-size: 14px; }
.ep-btn--lg { padding: 18px 30px; font-size: 18px; }
.ep-btn--block { width: 100%; }

/* ---------- Announcement ---------- */
.ep-announce { background: var(--ink); color: #fff; overflow: hidden; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.ep-announce__track { display: flex; width: max-content; animation: ep-marquee 40s linear infinite; }
.ep-announce__track span { display: inline-flex; align-items: center; gap: 18px; padding: 9px 18px; white-space: nowrap; }
.ep-announce .ep-icon { color: var(--citrus); width: 12px; height: 12px; }
@keyframes ep-marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.ep-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 247, 240, .92); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.admin-bar .ep-header { top: 32px; }
.ep-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(20, 20, 15, .05); }
.ep-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.ep-logo { flex: none; }
.ep-logo img { max-height: 44px; width: auto; }
.ep-logo__text {
	display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
	font-family: var(--display); font-size: 24px; font-weight: 800; font-stretch: 85%; letter-spacing: -0.02em;
}
.ep-logo__text b { color: var(--volt); font-weight: 900; }
.ep-logo__mark {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
	background: var(--ink); color: var(--citrus); transform: rotate(-8deg);
}
.ep-logo__mark .ep-icon { width: 20px; height: 20px; }
.ep-logo__text--light { color: #fff; }
.ep-logo__text--light .ep-logo__mark { background: var(--volt); color: #fff; }

.ep-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.ep-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ep-menu a {
	display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
	font-weight: 600; font-size: 15px;
}
.ep-menu a:hover, .ep-menu .current-menu-item > a { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ep-menu li { position: relative; }
.ep-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 8px 0 0; padding: 8px;
	background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.ep-menu li:hover > .sub-menu, .ep-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ep-search { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; }
.ep-search input { border: 0; background: transparent; font: inherit; font-size: 15px; width: 160px; outline: none; }
.ep-search button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.ep-search button .ep-icon { width: 16px; height: 16px; }
.ep-nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.ep-nav-toggle .ep-icon { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.ep-hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.ep-hero::before {
	content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
	background: radial-gradient(circle, rgba(255, 176, 0, .35), transparent 60%); pointer-events: none;
}
.ep-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ep-hero__title {
	font-size: clamp(52px, 8vw, 112px); font-weight: 900; font-stretch: 72%;
	text-transform: uppercase; line-height: .86; letter-spacing: -0.02em; margin-bottom: 24px;
}
.ep-hero__text { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 540px; margin-bottom: 32px; }
.ep-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.ep-hero__proof { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.ep-hero__proof strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 900; font-stretch: 80%; color: var(--ink); line-height: 1; }

.ep-hero__art { position: relative; min-height: 460px; display: grid; place-items: center; }
.ep-fan { position: relative; width: 100%; height: 440px; }
.ep-stick {
	position: absolute; bottom: 20px; left: 50%; width: 92px; height: 300px; margin-left: -46px;
	border-radius: 14px; background: var(--tone); color: var(--tone-ink);
	box-shadow: var(--shadow-lg); transform-origin: 50% 110%;
	display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 22px 0 18px;
	border: 2px solid rgba(20, 20, 15, .9);
	background-image:
		repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 6px),
		linear-gradient(var(--tone), var(--tone));
	background-size: 100% 14px, 100% 100%;
	background-repeat: no-repeat;
}
.ep-stick i { font-family: var(--display); font-style: normal; font-weight: 900; font-size: 46px; font-stretch: 75%; line-height: 1; }
.ep-stick em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.ep-stick:nth-child(1) { transform: rotate(-30deg); }
.ep-stick:nth-child(2) { transform: rotate(-15deg); }
.ep-stick:nth-child(3) { transform: rotate(0deg); z-index: 2; }
.ep-stick:nth-child(4) { transform: rotate(15deg); }
.ep-stick:nth-child(5) { transform: rotate(30deg); }
.ep-hero__art:hover .ep-stick:nth-child(1) { transform: rotate(-36deg); }
.ep-hero__art:hover .ep-stick:nth-child(2) { transform: rotate(-18deg) translateY(-6px); }
.ep-hero__art:hover .ep-stick:nth-child(3) { transform: translateY(-12px); }
.ep-hero__art:hover .ep-stick:nth-child(4) { transform: rotate(18deg) translateY(-6px); }
.ep-hero__art:hover .ep-stick:nth-child(5) { transform: rotate(36deg); }
.ep-stick { transition: transform .35s cubic-bezier(.2, .8, .2, 1.2); }

.ep-hero__top {
	position: absolute; right: 0; top: 16px; z-index: 3; display: grid; gap: 2px;
	background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px;
	box-shadow: 5px 5px 0 var(--ink); text-decoration: none; max-width: 240px; transform: rotate(3deg);
}
.ep-hero__top:hover { color: var(--ink); transform: rotate(0); }
.ep-hero__top-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--volt); }
.ep-hero__top strong { font-family: var(--display); font-size: 20px; line-height: 1.1; }
.ep-hero__top-score { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; }
.ep-hero__top-score .ep-icon { color: var(--citrus); }

/* ---------- Needs chips ---------- */
.ep-needs { border-block: 2px solid var(--ink); background: var(--paper); }
.ep-needs .ep-container { display: flex; align-items: center; gap: 20px; padding-block: 16px; overflow-x: auto; scrollbar-width: none; }
.ep-needs__label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.ep-needs ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ep-needs a {
	display: block; padding: 9px 18px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-weight: 700; font-size: 15px;
	background: var(--tone-soft); border: 2px solid transparent;
}
.ep-needs a:hover { border-color: var(--ink); color: var(--ink); background: var(--tone); }

/* ---------- Sections ---------- */
.ep-section { padding: 96px 0; }
.ep-section--tight { padding: 48px 0 96px; }
.ep-section--tint { background: var(--sand); }
.ep-section--ink { background: var(--ink); color: #fff; }
.ep-section--ink .ep-eyebrow { color: var(--citrus); }
.ep-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.ep-section__head .ep-h2 { margin: 0; }
.ep-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.ep-section__note { color: var(--muted); font-size: 15px; margin: 0; }

.ep-page-head { padding: 64px 0 24px; }
.ep-page-head__title { font-size: clamp(44px, 7vw, 88px); font-weight: 900; font-stretch: 72%; text-transform: uppercase; line-height: .9; margin-bottom: 16px; }
.ep-page-head__desc { font-size: 19px; color: var(--ink-2); max-width: 680px; }
.ep-empty { padding: 32px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* ---------- Product grid & cards ---------- */
.ep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ep-grid--inline { margin: 32px 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ep-card {
	display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
	border: 2px solid var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.ep-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.ep-card__media { position: relative; background: var(--tone-soft); aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 2px solid var(--ink); }
.ep-card__img { display: grid; place-items: center; width: 100%; height: 100%; padding: 24px; }
.ep-card__img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.ep-card:hover .ep-card__img img, .ep-card:hover .ep-pack { transform: scale(1.04) rotate(-2deg); }
.ep-card__rank {
	position: absolute; top: 14px; left: 14px; z-index: 1;
	font-family: var(--display); font-weight: 900; font-size: 28px; font-stretch: 75%; line-height: 1;
	background: var(--ink); color: #fff; padding: 6px 10px 5px; border-radius: 10px;
}
.ep-badge {
	position: absolute; top: 14px; right: 14px; z-index: 1;
	background: var(--tone); color: var(--tone-ink); border: 2px solid var(--ink);
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px;
}
.ep-badge--lg { font-size: 14px; padding: 8px 14px; top: 20px; right: 20px; }
.ep-card__body { display: flex; flex-direction: column; gap: 14px; padding: 22px; flex: 1; }
.ep-card__head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.ep-card__brand { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.ep-card__title { font-size: 24px; font-weight: 800; font-stretch: 88%; margin: 0; line-height: 1.1; }
.ep-card__title a { text-decoration: none; }
.ep-card__tagline { font-size: 15px; color: var(--ink-2); margin: 0; }
.ep-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }

/* Placeholder pack when no image */
.ep-pack {
	width: 46%; aspect-ratio: 3 / 4.4; border-radius: 14px; background: var(--tone); border: 2px solid var(--ink);
	display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 6px 6px 0 rgba(20,20,15,.9); transition: transform .3s;
	background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 2px, transparent 2px 6px), linear-gradient(var(--tone), var(--tone));
	background-size: 100% 12px, 100% 100%; background-repeat: no-repeat;
}
.ep-pack span { font-family: var(--display); font-weight: 900; font-size: 64px; font-stretch: 75%; color: var(--tone-ink); }
.ep-product-img { display: block; }

/* Score ring */
.ep-score {
	--pct: 0%;
	flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
	background: conic-gradient(var(--tone, var(--volt)) var(--pct), var(--sand) 0);
	position: relative;
}
.ep-score::before { content: ""; position: absolute; inset: 6px; background: var(--paper); border-radius: 50%; }
.ep-score__num { position: relative; font-family: var(--display); font-weight: 900; font-size: 20px; font-stretch: 80%; line-height: 1; }
.ep-score__label { position: relative; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 2px; line-height: 1; }

/* Meters */
.ep-meters { display: grid; gap: 9px; }
.ep-meter__top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; color: var(--ink-2); }
.ep-meter__top strong { color: var(--ink); }
.ep-meter__track { height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.ep-meter__track span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.ep-meter--sodium .ep-meter__track span { background: var(--berry); }
.ep-meter--potassium .ep-meter__track span { background: var(--citrus); }
.ep-meter--magnesium .ep-meter__track span { background: var(--ocean); }

.ep-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ep-chips li { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }

/* ---------- Product box (in-content) ---------- */
.ep-toplist { display: grid; gap: 24px; margin: 32px 0; }
.ep-box {
	display: grid; grid-template-columns: 240px 1fr; background: var(--paper); border: 2px solid var(--ink);
	border-radius: var(--radius); overflow: hidden; margin: 32px 0; box-shadow: 6px 6px 0 var(--tone);
}
.ep-toplist .ep-box { margin: 0; }
.ep-box__media { position: relative; display: grid; place-items: center; padding: 28px; background: var(--tone-soft); border-right: 2px solid var(--ink); }
.ep-box__media img { max-height: 220px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ep-box__media .ep-pack { width: 56%; }
.ep-box__media .ep-badge { top: 12px; left: 12px; right: auto; }
.ep-box__body { padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.ep-box__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ep-box__title { font-size: 26px; font-weight: 800; font-stretch: 88%; margin: 0; }
.ep-box__rank { color: var(--volt); margin-right: 4px; }
.ep-box__tagline { margin: 0; color: var(--ink-2); }
.ep-prose .ep-box h3 { margin: 0; }

.ep-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin: 0; }
.ep-facts div { background: var(--cream); border-radius: 10px; padding: 8px 12px; }
.ep-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.ep-facts dd { margin: 0; font-weight: 700; font-size: 15px; }

/* Pros / cons */
.ep-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.ep-proscons > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.ep-proscons h2 { font-size: 22px; font-stretch: 88%; text-transform: uppercase; margin-bottom: 14px; }
.ep-proscons--compact { gap: 12px; margin: 0; }
.ep-proscons--compact > ul { margin: 0; }
.ep-pros, .ep-cons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ep-pros li, .ep-cons li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.ep-pros .ep-icon, .ep-cons .ep-icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #fff; margin-top: 1px; }
.ep-pros .ep-icon { background: #2f9e44; }
.ep-cons .ep-icon { background: var(--berry); }
.ep-prose .ep-pros, .ep-prose .ep-cons { padding: 0; }

/* ---------- Why section ---------- */
.ep-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ep-why__item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 32px; }
.ep-why__sym {
	display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; margin-bottom: 22px;
	background: var(--tone); color: var(--tone-ink); font-family: var(--display); font-weight: 900; font-size: 34px; font-stretch: 75%;
	transform: rotate(-6deg);
}
.ep-why__item h3 { font-size: 30px; font-stretch: 80%; text-transform: uppercase; }
.ep-why__item p { color: rgba(255,255,255,.75); margin: 0; }

/* ---------- Compare table ---------- */
.ep-compare-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.ep-compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 860px; }
.ep-compare th, .ep-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ep-compare tbody tr:last-child > * { border-bottom: 0; }
.ep-compare thead th {
	background: var(--ink); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
	position: sticky; top: 0; user-select: none;
}
.ep-compare thead th small { opacity: .6; text-transform: none; }
.ep-compare thead th[data-sort] { cursor: pointer; }
.ep-compare thead th[data-sort]::after { content: "↕"; opacity: .4; margin-left: 6px; }
.ep-compare thead th[aria-sort="ascending"]::after { content: "↑"; opacity: 1; color: var(--citrus); }
.ep-compare thead th[aria-sort="descending"]::after { content: "↓"; opacity: 1; color: var(--citrus); }
.ep-compare tbody tr:hover { background: var(--cream); }
.ep-compare tbody th { font-weight: 700; }
.ep-compare__name { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ep-compare__name em { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.ep-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--tone); border: 2px solid var(--ink); flex: none; }

/* ---------- Flavor marquee ---------- */
.ep-flavors { background: var(--citrus); border-block: 2px solid var(--ink); overflow: hidden; }
.ep-flavors__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: ep-marquee 45s linear infinite; }
.ep-flavors span { font-family: var(--display); font-weight: 900; font-size: 34px; font-stretch: 72%; text-transform: uppercase; white-space: nowrap; }
.ep-flavors .ep-icon { width: 22px; height: 22px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
	.ep-flavors__track, .ep-announce__track { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Posts ---------- */
.ep-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ep-post { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.ep-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ep-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ep-post__media img { width: 100%; height: 100%; object-fit: cover; }
.ep-post__ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--tone); color: rgba(255,255,255,.85); }
.ep-post__ph .ep-icon { width: 72px; height: 72px; }
.ep-post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ep-post__body .ep-eyebrow { color: var(--volt); margin-bottom: 8px; }
.ep-post__title { font-size: 24px; font-weight: 800; font-stretch: 90%; line-height: 1.15; }
.ep-post__title a { text-decoration: none; }
.ep-post__excerpt { color: var(--ink-2); font-size: 15px; }
.ep-post .ep-meta { margin-top: auto; }

/* ---------- FAQ ---------- */
.ep-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.ep-faq details { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; margin-bottom: 12px; }
.ep-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 700; font-size: 18px; }
.ep-faq summary::-webkit-details-marker { display: none; }
.ep-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--citrus); }
.ep-faq__icon::before, .ep-faq__icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); transition: transform .2s; }
.ep-faq__icon::after { transform: rotate(90deg); }
.ep-faq details[open] .ep-faq__icon::after { transform: rotate(0); }
.ep-faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

/* ---------- Disclosure ---------- */
.ep-disclosure { font-size: 13px; color: var(--muted); margin: 24px 0 0; }
.ep-disclosure--box { background: var(--paper); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 28px; }
.ep-disclosure--footer { color: rgba(255,255,255,.7); margin: 0 0 8px; }
.ep-disclosure a { color: inherit; }

/* ---------- Single product ---------- */
.ep-product__hero { background: var(--tone-soft); border-bottom: 2px solid var(--ink); padding: 48px 0 64px; }
.ep-product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ep-product__media {
	position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--paper);
	border: 2px solid var(--ink); border-radius: 24px; padding: 40px; box-shadow: 10px 10px 0 var(--tone);
}
.ep-product__media img { max-height: 100%; width: auto; object-fit: contain; }
.ep-product__media .ep-pack { width: 40%; }
.ep-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.ep-crumbs a { text-decoration: none; }
.ep-product__title { font-size: clamp(40px, 5.5vw, 72px); font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: .9; }
.ep-product__tagline { font-size: 20px; color: var(--ink-2); }
.ep-product__scorerow { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 20px; margin: 24px 0; border: 1px solid var(--line); }
.ep-product__scorerow .ep-score { width: 84px; height: 84px; }
.ep-product__scorerow .ep-score__num { font-size: 28px; }
.ep-product__scorerow .ep-score__label { font-size: 9px; }
.ep-product__layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; padding-block: 64px; align-items: start; }
.ep-product__aside { position: sticky; top: 100px; }
.ep-panel { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; }
.ep-panel__title { font-size: 24px; font-stretch: 80%; text-transform: uppercase; border-bottom: 6px solid var(--ink); padding-bottom: 8px; }
.ep-nutrition, .ep-specs { margin: 0 0 20px; }
.ep-nutrition div, .ep-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ep-nutrition dt { font-weight: 700; }
.ep-nutrition dd, .ep-specs dd { margin: 0; text-align: right; }
.ep-specs dt { color: var(--muted); }
.ep-verdict {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin-top: 48px; padding: 28px 32px; border-radius: var(--radius); background: var(--tone-soft); border: 2px solid var(--ink);
}
.ep-verdict .ep-eyebrow { margin-bottom: 4px; }
.ep-verdict__text { font-family: var(--display); font-size: 24px; font-weight: 800; font-stretch: 88%; margin: 0; max-width: 520px; line-height: 1.2; }

/* ---------- Articles ---------- */
.ep-article__head { padding: 64px 0 32px; }
.ep-article__title { font-size: clamp(40px, 6vw, 76px); font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: .92; }
.ep-article__dek { font-size: 21px; color: var(--ink-2); }
.ep-byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; }
.ep-byline img { border-radius: 50%; }
.ep-byline strong { display: block; }
.ep-byline span { color: var(--muted); }
.ep-article__image { margin: 0 auto 40px; }
.ep-article__image img { width: 100%; border-radius: 24px; border: 2px solid var(--ink); }
.ep-article__layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 56px; padding-bottom: 96px; }
.has-sidebar .ep-article__layout { grid-template-columns: minmax(0, 760px) 300px; }
.ep-article__aside { position: sticky; top: 100px; align-self: start; }
.ep-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ep-tags a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }

/* Prose */
.ep-prose { font-size: 18px; line-height: 1.75; }
.ep-prose > * + * { margin-top: 1.1em; }
.ep-prose h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 900; font-stretch: 80%; text-transform: uppercase; margin-top: 1.8em; line-height: 1; }
.ep-prose h3 { font-size: 26px; font-weight: 800; font-stretch: 88%; margin-top: 1.6em; }
.ep-prose a { color: var(--volt-dark); font-weight: 600; }
.ep-prose ul, .ep-prose ol { padding-left: 1.3em; }
.ep-prose li + li { margin-top: .4em; }
.ep-prose blockquote { margin-inline: 0; padding: 20px 24px; border-left: 6px solid var(--citrus); background: var(--paper); border-radius: 0 12px 12px 0; font-size: 20px; }
.ep-prose img { border-radius: 14px; }
.ep-prose table:not(.ep-compare) { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--paper); border-radius: 12px; overflow: hidden; }
.ep-prose table:not(.ep-compare) th, .ep-prose table:not(.ep-compare) td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.ep-prose table:not(.ep-compare) th { background: var(--sand); }
.ep-prose .alignwide { margin-inline: -120px; max-width: none; }
.ep-prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.ep-button-wrap { text-align: center; }
.wp-block-button__link { background: var(--volt); border-radius: 999px; font-weight: 700; }
.aligncenter { margin-inline: auto; display: block; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }

/* Widgets */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 18px; text-transform: uppercase; font-stretch: 85%; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; }
.widget a { text-decoration: none; }
.ep-article__aside .widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* Comments */
.ep-comments { margin-top: 64px; padding-top: 40px; border-top: 2px solid var(--ink); }
.ep-comments__list { list-style: none; padding: 0; }
.ep-comments .comment-body { background: var(--paper); border-radius: 14px; padding: 18px; margin-bottom: 14px; }
.ep-comments textarea, .ep-comments input[type="text"], .ep-comments input[type="email"], .ep-comments input[type="url"] {
	width: 100%; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line); font: inherit; background: var(--paper);
}
.ep-comments .submit { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 24px; font: inherit; font-weight: 700; cursor: pointer; }

/* Pagination */
.ep-pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; font-weight: 700; }
.page-numbers.current { background: var(--ink); color: #fff; }

/* 404 */
.ep-404 { padding: 120px 0; text-align: center; }
.ep-404__num { font-family: var(--display); font-size: clamp(120px, 22vw, 240px); font-weight: 900; font-stretch: 65%; line-height: .8; color: var(--volt); margin: 0 0 16px; }

/* ---------- Footer ---------- */
.ep-footer { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 80px 0 0; }
.ep-footer a { color: #fff; }
.ep-footer a:hover { color: var(--citrus); }
.ep-footer__top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.15); }
.ep-footer__brand p { color: rgba(255,255,255,.7); max-width: 380px; margin-top: 18px; }
.ep-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.ep-footer .widget-title { color: var(--citrus); font-size: 14px; letter-spacing: .08em; }
.ep-footer__legal { padding: 28px 0; font-size: 13px; color: rgba(255,255,255,.6); }
.ep-footer__legal p { margin: 0 0 8px; }
.ep-footer__word {
	font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
	font-size: clamp(80px, 19vw, 270px); line-height: .78; white-space: nowrap; letter-spacing: -0.03em; text-align: center;
	color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); user-select: none; margin-bottom: -0.08em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.ep-grid, .ep-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ep-product__layout, .has-sidebar .ep-article__layout { grid-template-columns: 1fr; }
	.ep-product__aside, .ep-article__aside { position: static; }
	.ep-prose .alignwide { margin-inline: 0; }
}
@media (max-width: 900px) {
	.ep-nav-toggle { display: grid; place-items: center; }
	.ep-nav {
		position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
		background: var(--cream); padding: 20px 24px 28px; border-bottom: 2px solid var(--ink);
		transform: translateY(-120%); transition: transform .25s; margin: 0; z-index: -1;
	}
	.ep-nav.is-open { transform: none; }
	.ep-menu { flex-direction: column; }
	.ep-menu a { font-size: 20px; padding: 12px 4px; font-family: var(--display); font-weight: 800; text-transform: uppercase; }
	.ep-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding-left: 16px; }
	.ep-search input { width: 100%; }
	.ep-hero { padding: 48px 0 64px; }
	.ep-hero__grid, .ep-product__grid, .ep-faq-wrap, .ep-footer__top { grid-template-columns: 1fr; }
	.ep-hero__art { min-height: 360px; }
	.ep-fan { height: 360px; }
	.ep-stick { width: 72px; height: 240px; margin-left: -36px; }
	.ep-why { grid-template-columns: 1fr; }
	.ep-section { padding: 72px 0; }
	.ep-faq-wrap { gap: 24px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.ep-container { padding: 0 18px; }
	.ep-grid, .ep-posts { grid-template-columns: 1fr; }
	.ep-box { grid-template-columns: 1fr; }
	.ep-box__media { border-right: 0; border-bottom: 2px solid var(--ink); }
	.ep-proscons { grid-template-columns: 1fr; }
	.ep-hero__top { position: relative; right: auto; top: auto; margin-top: -40px; }
	.ep-hero__art { display: flex; flex-direction: column; }
	.ep-product__scorerow { grid-template-columns: 1fr; justify-items: start; }
	.ep-product__media { padding: 24px; }
}
@media screen and (max-width: 782px) {
	.admin-bar .ep-header { top: 46px; }
}
