/* ============================================================
 * Engine Equipment Guide Magazine — magazine.css
 * Homepage sections, cards, hubs, archives, article layout,
 * editorial components, sidebar.
 * ============================================================ */

/* ============================================================
 * Homepage hero
 * ============================================================ */
.eeg-home-hero {
	background: var(--eeg-bg-deep);
	color: var(--eeg-text-inv);
	padding: clamp(36px, 6vw, 80px) 0;
	border-bottom: 4px solid var(--eeg-accent);
}
.eeg-home-hero-inner {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px); align-items: center;
}
.eeg-home-hero-noimage .eeg-home-hero-inner { grid-template-columns: 1fr; max-width: 860px; }
.eeg-home-hero-title {
	color: #fff;
	font-size: clamp(2rem, 4.6vw, 3.5rem);
	line-height: 1.08; letter-spacing: -0.03em;
	margin: 0 0 18px;
}
.eeg-home-hero-text { color: rgba(243,244,246,0.82); font-size: clamp(1.02rem, 1.4vw, 1.16rem); max-width: 56ch; margin: 0 0 26px; }
.eeg-home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.eeg-home-hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.eeg-home-hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: rgba(243,244,246,0.86); font-weight: 600; }
.eeg-home-hero-points .eeg-icon { width: 18px; height: 18px; color: var(--eeg-accent); }
.eeg-home-hero-media {
	border-radius: var(--eeg-radius-lg); overflow: hidden;
	aspect-ratio: 4 / 3; background: #161b22;
	box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.eeg-home-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
 * Equipment / hub cards
 * ============================================================ */
.eeg-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.eeg-hub-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius);
	overflow: hidden; color: var(--eeg-text);
	transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.eeg-hub-card:hover { transform: translateY(-3px); box-shadow: var(--eeg-shadow-lg); border-color: var(--eeg-accent); color: var(--eeg-text); }
.eeg-hub-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--eeg-bg); }
.eeg-hub-card-media img, .eeg-hub-card-media .eeg-thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.eeg-hub-card:hover .eeg-hub-card-media img { transform: scale(1.04); }
.eeg-hub-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.eeg-hub-card-title { font-family: var(--eeg-font-heading); font-weight: 800; font-size: 1.16rem; color: var(--eeg-primary); line-height: 1.2; }
.eeg-hub-card-desc { color: var(--eeg-text-dim); font-size: .93rem; }
.eeg-hub-card-cta { margin-top: auto; padding-top: 8px; font-family: var(--eeg-font-heading); font-weight: 700; font-size: .9rem; color: var(--eeg-accent-dark); }

/* Neutral placeholder (only when no photo is available at all) */
.eeg-thumb-fallback {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	width: 100%; height: 100%; min-height: 120px;
	background: linear-gradient(135deg, #1b2230, #2b3445);
	color: var(--eeg-accent);
}
.eeg-thumb-fallback-svg { width: 40px; height: 40px; }
.eeg-thumb-fallback em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243,244,246,0.75); }

/* ============================================================
 * Article cards
 * ============================================================ */
.eeg-card-grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.eeg-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eeg-card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.eeg-post-card {
	display: flex; flex-direction: column;
	background: var(--eeg-bg-card); border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.eeg-post-card:hover { transform: translateY(-3px); box-shadow: var(--eeg-shadow-lg); border-color: #d1d5db; }
.eeg-post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--eeg-bg); }
.eeg-post-card-media img, .eeg-post-card-media .eeg-thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.eeg-post-card:hover .eeg-post-card-media img { transform: scale(1.04); }
.eeg-post-card-body { display: flex; flex-direction: column; gap: 9px; padding: 16px 18px 18px; flex: 1; }
.eeg-post-card-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.eeg-post-card-title { font-size: 1.1rem; line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
.eeg-post-card-title a { color: var(--eeg-primary); }
.eeg-post-card-title a:hover { color: var(--eeg-accent-dark); }
.eeg-post-card-excerpt { color: var(--eeg-text-dim); font-size: .93rem; margin: 0; }
.eeg-post-card-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; color: var(--eeg-text-dim); font-size: .82rem; }
.eeg-meta-sep { color: #9ca3af; }

.eeg-cat-pill {
	display: inline-flex; align-items: center;
	padding: 3px 9px;
	font-family: var(--eeg-font-heading); font-weight: 800;
	font-size: .68rem; letter-spacing: 0.08em; text-transform: uppercase;
	background: var(--eeg-primary); color: #fff;
	border-radius: 4px;
}
a.eeg-cat-pill:hover { background: var(--eeg-accent); color: #1a1208; }
.eeg-format-label, .eeg-row-topic {
	font-family: var(--eeg-font-heading); font-weight: 700;
	font-size: .7rem; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--eeg-accent-dark);
}
.eeg-row-topic { color: var(--eeg-text-dim); }
.eeg-row-topic + .eeg-format-label::before { content: '·'; margin-right: 8px; color: #9ca3af; }

/* Feature card (large) */
.eeg-post-card-feature .eeg-post-card-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; }
.eeg-post-card-feature .eeg-post-card-body { padding: 20px 22px 24px; gap: 12px; }
.eeg-post-card-feature .eeg-post-card-excerpt { font-size: 1rem; }

/* Compact rows */
.eeg-row-list { display: flex; flex-direction: column; }
.eeg-post-row { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--eeg-line); }
.eeg-post-row:last-child { border-bottom: 0; }
.eeg-post-row-plain { grid-template-columns: 1fr; }
.eeg-post-row-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--eeg-radius-sm); overflow: hidden; background: var(--eeg-bg); }
.eeg-post-row-media img, .eeg-post-row-media .eeg-thumb-fallback { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.eeg-post-row-media .eeg-thumb-fallback em { display: none; }
.eeg-post-row-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.eeg-post-row-title { font-size: 1.02rem; line-height: 1.3; margin: 0; }
.eeg-post-row-title a { color: var(--eeg-primary); }
.eeg-post-row-title a:hover { color: var(--eeg-accent-dark); }
.eeg-post-row-meta { color: var(--eeg-text-dim); font-size: .8rem; }

/* Lead card (archives, hubs) */
.eeg-lead-card {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	background: #fff; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius-lg);
	overflow: hidden; box-shadow: var(--eeg-shadow);
	margin-bottom: clamp(24px, 3vw, 40px);
}
.eeg-lead-card-media { display: block; min-height: 280px; background: var(--eeg-bg); }
.eeg-lead-card-media img, .eeg-lead-card-media .eeg-thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.eeg-lead-card-body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-content: center; padding: clamp(20px, 3vw, 40px); }
.eeg-lead-card-title { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin: 0; }
.eeg-lead-card-title a { color: var(--eeg-primary); }
.eeg-lead-card-title a:hover { color: var(--eeg-accent-dark); }
.eeg-lead-card-excerpt { color: var(--eeg-text-dim); margin: 0; }

/* Cards on dark sections */
.eeg-section-dark .eeg-post-card { background: #161b22; border-color: var(--eeg-line-dark); }
.eeg-section-dark .eeg-post-card:hover { border-color: rgba(245,158,11,0.5); }
.eeg-section-dark .eeg-post-card-title a, .eeg-section-dark .eeg-post-row-title a { color: #fff; }
.eeg-section-dark .eeg-post-card-title a:hover, .eeg-section-dark .eeg-post-row-title a:hover { color: var(--eeg-accent); }
.eeg-section-dark .eeg-post-card-excerpt, .eeg-section-dark .eeg-post-card-meta, .eeg-section-dark .eeg-post-row-meta, .eeg-section-dark .eeg-row-topic { color: rgba(243,244,246,0.62); }
.eeg-section-dark .eeg-format-label { color: var(--eeg-accent); }
.eeg-section-dark .eeg-cat-pill { background: var(--eeg-accent); color: #1a1208; }
.eeg-section-dark .eeg-post-row { border-bottom-color: var(--eeg-line-dark); }

/* Editor's picks */
.eeg-picks-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.eeg-picks-list .eeg-post-row:first-child { padding-top: 0; }

/* Two-column guide lists */
.eeg-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }

/* ============================================================
 * Tools
 * ============================================================ */
.eeg-home-tools-intro { color: rgba(243,244,246,0.72); max-width: 70ch; margin: -6px 0 24px; }
.eeg-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eeg-tool-card {
	display: flex; align-items: flex-start; gap: 14px;
	padding: 20px;
	background: #161b22; border: 1px solid var(--eeg-line-dark); border-radius: var(--eeg-radius);
	color: var(--eeg-text-inv);
	transition: transform .18s ease, border-color .2s ease, background .2s ease;
}
.eeg-tool-card:hover { transform: translateY(-2px); border-color: var(--eeg-accent); color: #fff; }
.eeg-tool-card-ico {
	width: 46px; height: 46px; flex: 0 0 46px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--eeg-accent); color: #1a1208; border-radius: 10px;
}
.eeg-tool-card-ico .eeg-icon { width: 22px; height: 22px; }
.eeg-tool-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eeg-tool-card-text strong { font-family: var(--eeg-font-heading); font-weight: 800; font-size: 1.06rem; line-height: 1.25; }
.eeg-tool-card-text small { color: rgba(243,244,246,0.66); font-size: .88rem; line-height: 1.45; }
.eeg-tool-card-arr { margin-left: auto; color: var(--eeg-accent); font-weight: 700; }

.eeg-tool-grid-light .eeg-tool-card, .eeg-tool-cta .eeg-tool-card, .eeg-hub-tool .eeg-tool-card {
	background: #fff; border-color: var(--eeg-line); color: var(--eeg-text); box-shadow: var(--eeg-shadow);
}
.eeg-tool-grid-light .eeg-tool-card:hover, .eeg-tool-cta .eeg-tool-card:hover, .eeg-hub-tool .eeg-tool-card:hover { border-color: var(--eeg-accent); color: var(--eeg-text); }
.eeg-tool-grid-light .eeg-tool-card-text small, .eeg-tool-cta .eeg-tool-card-text small, .eeg-hub-tool .eeg-tool-card-text small { color: var(--eeg-text-dim); }
.eeg-tool-grid-light .eeg-tool-card-text strong, .eeg-tool-cta .eeg-tool-card-text strong, .eeg-hub-tool .eeg-tool-card-text strong { color: var(--eeg-primary); }
.eeg-tool-grid-light .eeg-tool-card-arr, .eeg-tool-cta .eeg-tool-card-arr, .eeg-hub-tool .eeg-tool-card-arr { color: var(--eeg-accent-dark); }
.eeg-tools-more { margin-top: clamp(28px, 4vw, 48px); }
.eeg-tools-copy { margin-top: clamp(28px, 4vw, 48px); max-width: 760px; }
.eeg-tool-cta { margin: 28px 0; display: flex; flex-direction: column; gap: 8px; }
.eeg-hub-tool { margin: clamp(28px, 4vw, 48px) 0; display: flex; flex-direction: column; gap: 10px; max-width: 720px; }

/* Tool pages */
.eeg-tool-page-crumbs { padding-top: 22px; }
.eeg-tool-page .eeg-section { padding-top: clamp(14px, 2vw, 28px); }
.eeg-tool-disclaimer {
	display: flex; align-items: flex-start; gap: 10px;
	max-width: 860px; margin: 0 auto clamp(28px, 4vw, 48px);
	padding: 14px 18px;
	background: var(--eeg-bg); border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius);
	color: var(--eeg-text-dim); font-size: .9rem;
}
.eeg-tool-disclaimer .eeg-icon { color: var(--eeg-silver); margin-top: 2px; }
.eeg-tool-page-content { max-width: 800px; margin-bottom: clamp(28px, 4vw, 48px); }

/* ============================================================
 * Newsletter
 * ============================================================ */
.eeg-newsletter-section { padding: clamp(36px, 5vw, 64px) 0; }
.eeg-newsletter-card {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center;
	background: var(--eeg-primary); color: var(--eeg-text-inv);
	padding: clamp(24px, 4vw, 48px);
	border-radius: var(--eeg-radius-lg);
	border-left: 6px solid var(--eeg-accent);
}
.eeg-newsletter-body h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
.eeg-newsletter-body p { color: rgba(243,244,246,0.78); margin: 0; }
.eeg-newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; }
.eeg-newsletter-form input[type="email"] { flex: 1 1 200px; min-width: 0; }
.eeg-newsletter-form .eeg-form-msg { flex-basis: 100%; }
.eeg-newsletter-card .eeg-form-msg.is-ok { color: #86efac; }
.eeg-newsletter-card .eeg-form-msg.is-error { color: #fca5a5; }
.eeg-newsletter-meta { display: block; margin-top: 10px; color: rgba(243,244,246,0.6); font-size: .82rem; }
.eeg-newsletter-meta a { color: rgba(243,244,246,0.85); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
 * Trust / approach
 * ============================================================ */
.eeg-trust-section { background: var(--eeg-bg); }
.eeg-trust-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.eeg-trust-copy h2 { margin: 8px 0 14px; }
.eeg-trust-copy p { color: var(--eeg-secondary); max-width: 62ch; }
.eeg-trust-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.eeg-trust-factors { background: #fff; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius-lg); padding: clamp(18px, 2.6vw, 28px); }
.eeg-trust-factors-title { font-family: var(--eeg-font-heading); font-weight: 800; font-size: .8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eeg-text-dim); margin: 0 0 14px; }
.eeg-trust-factors ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.eeg-trust-factors li { display: flex; gap: 12px; align-items: flex-start; }
.eeg-trust-ico { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--eeg-primary); color: var(--eeg-accent); border-radius: 9px; }
.eeg-trust-ico .eeg-icon { width: 18px; height: 18px; }
.eeg-trust-factors strong { display: block; font-family: var(--eeg-font-heading); color: var(--eeg-primary); font-size: .98rem; }
.eeg-trust-factors small { display: block; color: var(--eeg-text-dim); font-size: .86rem; line-height: 1.4; }

/* ============================================================
 * Optional sections: FAQ accordion, kit checklists
 * ============================================================ */
.eeg-faq-list, .eeg-faq { display: grid; gap: 10px; }
.eeg-faq-list { max-width: 860px; margin: 0 auto; }
.eeg-faq-item { background: #fff; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius); }
.eeg-faq-item[open] { border-color: var(--eeg-accent); }
.eeg-faq-item summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 20px;
	font-family: var(--eeg-font-heading); font-weight: 700; font-size: 1.02rem; color: var(--eeg-primary);
}
.eeg-faq-item summary::-webkit-details-marker { display: none; }
.eeg-faq-icon { position: relative; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--eeg-bg); }
.eeg-faq-icon::before, .eeg-faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--eeg-primary); transform: translate(-50%, -50%); }
.eeg-faq-icon::before { width: 10px; height: 2px; }
.eeg-faq-icon::after { width: 2px; height: 10px; transition: transform .2s ease; }
.eeg-faq-item[open] .eeg-faq-icon { background: var(--eeg-accent); }
.eeg-faq-item[open] .eeg-faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.eeg-faq-a { padding: 0 20px 16px; color: var(--eeg-secondary); }
.eeg-faq-a > :last-child { margin-bottom: 0; }

.eeg-grid-kits { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.eeg-kit-card { background: #fff; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.eeg-kit-title { font-size: 1.14rem; margin: 8px 0 4px; }
.eeg-kit-desc { color: var(--eeg-text-dim); margin: 0; font-size: .94rem; }
.eeg-kit-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; flex: 1; }
.eeg-kit-items li { display: flex; align-items: flex-start; gap: 8px; font-size: .93rem; color: var(--eeg-secondary); }
.eeg-kit-check { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: var(--eeg-accent-dark); }

/* ============================================================
 * Page header (archives, hubs, pages, search)
 * ============================================================ */
.eeg-page-head { background: var(--eeg-bg); border-bottom: 1px solid var(--eeg-line); padding: clamp(24px, 4vw, 48px) 0; }
.eeg-page-head-title { margin: 6px 0 0; }
.eeg-page-head-intro { color: var(--eeg-secondary); font-size: 1.06rem; max-width: 70ch; margin: 12px 0 0; }
.eeg-page-head-link { margin: 12px 0 0; font-family: var(--eeg-font-heading); font-weight: 700; }
.eeg-page-head-link a { color: var(--eeg-accent-dark); }
.eeg-page-head-search { margin-top: 18px; max-width: 520px; }
.eeg-page-body { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(40px, 6vw, 72px); }

.eeg-archive { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(40px, 6vw, 72px); }
.eeg-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: clamp(28px, 5vw, 60px) 0; color: var(--eeg-text-dim); }
.eeg-404-recent { margin-top: clamp(32px, 5vw, 56px); }

.eeg-related-topics { margin-top: clamp(36px, 5vw, 60px); padding-top: 26px; border-top: 1px solid var(--eeg-line); }
.eeg-related-topics-title { font-size: 1rem; margin: 0 0 14px; }

/* Hubs */
.eeg-hub-head-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.eeg-hub-head-media { border-radius: var(--eeg-radius-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--eeg-shadow-lg); background: #fff; }
.eeg-hub-head-media img { width: 100%; height: 100%; object-fit: cover; }
.eeg-hub-jump { margin-top: 18px; }
.eeg-hub-body { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(40px, 6vw, 72px); }
.eeg-hub-intro { max-width: 760px; margin-bottom: clamp(20px, 3vw, 36px); }
.eeg-hub-group { margin-top: clamp(28px, 4vw, 48px); scroll-margin-top: calc(var(--eeg-header-h) + 24px); }

/* ============================================================
 * Article
 * ============================================================ */
.eeg-progress-track { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
body.admin-bar .eeg-progress-track { top: 32px; }
.eeg-progress-bar { display: block; height: 100%; width: 0; background: var(--eeg-accent); }

.eeg-article-head { padding: clamp(22px, 3.6vw, 44px) 0 clamp(16px, 2.4vw, 26px); border-bottom: 1px solid var(--eeg-line); }
.eeg-article-head-inner > * { max-width: 900px; }
.eeg-article-title { font-size: clamp(1.8rem, 4vw, 2.85rem); line-height: 1.12; margin: 12px 0 14px; }
.eeg-article-dek { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--eeg-secondary); line-height: 1.55; margin: 0 0 18px; }
.eeg-article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--eeg-text-dim); font-size: .9rem; }
.eeg-byline-item { display: inline-flex; align-items: center; gap: 7px; }
.eeg-byline-item .eeg-icon { width: 16px; height: 16px; color: #9ca3af; }
.eeg-byline-item a { color: var(--eeg-primary); font-weight: 700; }
.eeg-byline-item a:hover { color: var(--eeg-accent-dark); }

.eeg-article-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(28px, 4.5vw, 64px); align-items: start;
	padding-top: clamp(22px, 3vw, 36px); padding-bottom: clamp(36px, 5vw, 64px);
}
.eeg-article-main { min-width: 0; max-width: 820px; }
.eeg-article-figure { margin: 0 0 20px; }
.eeg-article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--eeg-radius-lg); background: var(--eeg-bg); }
.eeg-article-figure figcaption { margin-top: 8px; font-size: .8rem; color: var(--eeg-text-dim); }
.eeg-article-disclosure {
	font-size: .84rem; color: var(--eeg-text-dim);
	padding: 10px 14px; margin: 0 0 22px;
	background: var(--eeg-bg); border-radius: var(--eeg-radius-sm);
}
.eeg-article-disclosure a { color: var(--eeg-secondary); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Reading typography */
.eeg-prose { font-size: 1.0625rem; line-height: 1.75; color: var(--eeg-text); overflow-wrap: break-word; }
.eeg-prose > :first-child { margin-top: 0; }
.eeg-prose p { margin: 0 0 1.25em; }
.eeg-prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2em 0 .6em; scroll-margin-top: calc(var(--eeg-header-h) + 24px); }
.eeg-prose h2::before { content: ''; display: block; width: 40px; height: 4px; background: var(--eeg-accent); border-radius: 2px; margin-bottom: 14px; }
.eeg-prose h3 { font-size: 1.2rem; margin: 1.7em 0 .5em; }
.eeg-prose h4 { margin: 1.5em 0 .4em; }
.eeg-prose a { color: var(--eeg-accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.eeg-prose a:hover { color: var(--eeg-primary); }
.eeg-prose a.eeg-btn { text-decoration: none; color: var(--btn-fg); }
.eeg-prose ul, .eeg-prose ol { padding-left: 1.35em; margin: 0 0 1.25em; }
.eeg-prose li { margin-bottom: .5em; }
.eeg-prose li::marker { color: var(--eeg-accent-dark); font-weight: 700; }
.eeg-prose img { border-radius: var(--eeg-radius); margin: 1.5em 0; }
.eeg-prose blockquote { margin: 1.6em 0; padding: 14px 20px; border-left: 4px solid var(--eeg-accent); background: var(--eeg-bg); border-radius: 0 var(--eeg-radius-sm) var(--eeg-radius-sm) 0; color: var(--eeg-secondary); }
.eeg-prose blockquote > :last-child { margin-bottom: 0; }
.eeg-prose strong { color: var(--eeg-primary); }
.eeg-prose hr { border: 0; border-top: 1px solid var(--eeg-line); margin: 2em 0; }

/* Table of contents */
.eeg-toc { margin: 1.6em 0 2em; background: var(--eeg-bg); border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius); }
.eeg-toc summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 18px;
	font-family: var(--eeg-font-heading); font-weight: 800; font-size: .95rem; color: var(--eeg-primary);
}
.eeg-toc summary::-webkit-details-marker { display: none; }
.eeg-toc summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--eeg-primary); border-bottom: 2px solid var(--eeg-primary); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.eeg-toc[open] summary::after { transform: rotate(-135deg); }
.eeg-toc ol { margin: 0; padding: 0 18px 16px 40px; font-size: .96rem; line-height: 1.5; }
.eeg-prose .eeg-toc li { margin-bottom: .4em; }
.eeg-prose .eeg-toc a { color: var(--eeg-secondary); text-decoration: none; font-weight: 600; }
.eeg-prose .eeg-toc a:hover { color: var(--eeg-accent-dark); text-decoration: underline; }

/* Boxes */
.eeg-box { margin: 1.6em 0; padding: 18px 22px; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius); background: #fff; }
.eeg-box-label {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--eeg-font-heading); font-weight: 800;
	font-size: .78rem; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--eeg-accent-dark); margin: 0 0 10px !important;
}
.eeg-box-label .eeg-icon { width: 16px; height: 16px; }
.eeg-box-body > :last-child, .eeg-callout-body > :last-child { margin-bottom: 0; }
.eeg-quick-answer { background: #fffbeb; border-color: #fde68a; border-left: 5px solid var(--eeg-accent); }
.eeg-quick-answer .eeg-box-body { font-size: 1.08rem; color: var(--eeg-primary); }
.eeg-takeaways { background: var(--eeg-bg); border-left: 5px solid var(--eeg-primary); }
.eeg-takeaways .eeg-box-label { color: var(--eeg-primary); }
.eeg-see-also { background: var(--eeg-bg); }
.eeg-see-also ul { margin: 0; padding-left: 1.2em; }
.eeg-see-also li:last-child { margin-bottom: 0; }

.eeg-glance-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.eeg-glance-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--eeg-line); }
.eeg-glance-list dt { color: var(--eeg-text-dim); font-size: .92rem; }
.eeg-glance-list dd { margin: 0; font-weight: 700; color: var(--eeg-primary); text-align: right; font-size: .95rem; }

.eeg-best-for .eeg-chip-list li { background: var(--eeg-bg); }
.eeg-best-for .eeg-chip-list + .eeg-box-body { margin-top: 12px; }

/* Callouts */
.eeg-callout { display: grid; grid-template-columns: 36px 1fr; gap: 14px; margin: 1.6em 0; padding: 16px 20px; border-radius: var(--eeg-radius); border: 1px solid; }
.eeg-callout-ico { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.eeg-callout-ico .eeg-icon { width: 18px; height: 18px; }
.eeg-callout-title { font-family: var(--eeg-font-heading); font-weight: 800; margin: 0 0 4px !important; color: var(--eeg-primary); }
.eeg-callout-body { font-size: 1rem; line-height: 1.65; }
.eeg-callout-tip { background: #f0fdf4; border-color: #bbf7d0; }
.eeg-callout-tip .eeg-callout-ico { background: #15803d; }
.eeg-callout-warning { background: #fef2f2; border-color: #fecaca; }
.eeg-callout-warning .eeg-callout-ico { background: #b91c1c; }
.eeg-callout-note { background: #eff6ff; border-color: #bfdbfe; }
.eeg-callout-note .eeg-callout-ico { background: #1d4ed8; }

/* Pros & cons */
.eeg-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.6em 0; }
.eeg-pros, .eeg-cons { padding: 16px 18px; border-radius: var(--eeg-radius); border: 1px solid; }
.eeg-pros { background: #f0fdf4; border-color: #bbf7d0; }
.eeg-cons { background: #fef2f2; border-color: #fecaca; }
.eeg-proscons-title { font-family: var(--eeg-font-heading); font-weight: 800; font-size: .8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 10px !important; }
.eeg-pros .eeg-proscons-title { color: #166534; }
.eeg-cons .eeg-proscons-title { color: #991b1b; }
.eeg-prose .eeg-proscons ul, .eeg-proscons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.eeg-proscons li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; font-size: .96rem; line-height: 1.5; margin: 0; }
.eeg-proscons .eeg-icon { width: 18px; height: 18px; margin-top: 3px; }
.eeg-pros .eeg-icon { color: #15803d; }
.eeg-cons .eeg-icon { color: #b91c1c; }

/* Product card */
.eeg-product { margin: 1.8em 0; border: 1px solid var(--eeg-line); border-top: 4px solid var(--eeg-accent); border-radius: var(--eeg-radius); background: #fff; box-shadow: var(--eeg-shadow); overflow: hidden; }
.eeg-product.has-image { display: grid; grid-template-columns: 240px 1fr; }
.eeg-product-media { background: var(--eeg-bg); }
.eeg-prose .eeg-product-media img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.eeg-product-main { padding: clamp(18px, 2.6vw, 26px); }
.eeg-product-head .eeg-badge { margin-bottom: 10px; }
.eeg-prose .eeg-product-name, .eeg-product-name { font-size: 1.3rem; margin: 0 0 6px; }
.eeg-product-bestfor { color: var(--eeg-secondary); margin: 0 0 14px !important; font-size: .98rem; }
.eeg-product-specs { margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.eeg-product-specs > div { background: var(--eeg-bg); border-radius: var(--eeg-radius-sm); padding: 9px 12px; }
.eeg-product-specs dt { color: var(--eeg-text-dim); font-size: .72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.eeg-product-specs dd { margin: 2px 0 0; font-weight: 700; color: var(--eeg-primary); font-size: .96rem; }
.eeg-product-desc { font-size: 1rem; line-height: 1.65; }
.eeg-product .eeg-proscons { margin: 14px 0; }
.eeg-product-verdict { background: var(--eeg-bg); border-left: 3px solid var(--eeg-accent); padding: 12px 14px; border-radius: 0 var(--eeg-radius-sm) var(--eeg-radius-sm) 0; font-size: .98rem; margin: 14px 0 !important; }
.eeg-product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.eeg-product-actions small { color: var(--eeg-text-dim); font-size: .8rem; }

/* Tables */
.eeg-table-wrap { margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius); background: #fff; }
.eeg-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.45; margin: 0; }
.eeg-table-wrap caption { caption-side: top; text-align: left; padding: 12px 16px; font-family: var(--eeg-font-heading); font-weight: 800; color: var(--eeg-primary); }
.eeg-table-wrap th, .eeg-table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--eeg-line); }
.eeg-table-wrap thead th { background: var(--eeg-primary); color: #fff; font-family: var(--eeg-font-heading); font-weight: 700; font-size: .84rem; letter-spacing: 0.04em; white-space: nowrap; }
.eeg-table-wrap tbody th { font-family: var(--eeg-font-heading); font-weight: 800; color: var(--eeg-primary); background: var(--eeg-bg); }
.eeg-table-wrap tbody tr:last-child th, .eeg-table-wrap tbody tr:last-child td { border-bottom: 0; }
.eeg-table-wrap tbody tr:nth-child(even) td { background: #fafbfc; }
.eeg-compare-cta .eeg-btn { min-height: 38px; padding: 8px 14px; font-size: .86rem; white-space: nowrap; }

/* Next step */
.eeg-next-step {
	display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
	margin: 2.2em 0 1.4em; padding: clamp(18px, 2.6vw, 26px);
	background: var(--eeg-primary); color: var(--eeg-text-inv); border-radius: var(--eeg-radius-lg);
}
.eeg-next-step-ico { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: rgba(245,158,11,0.16); color: var(--eeg-accent); border-radius: 50%; }
.eeg-next-step-title { font-family: var(--eeg-font-heading); font-weight: 800; font-size: 1.16rem; color: #fff; margin: 2px 0 0 !important; line-height: 1.3; }
.eeg-next-step-text { color: rgba(243,244,246,0.75); font-size: .95rem; margin: 4px 0 0 !important; line-height: 1.5; }
.eeg-prose .eeg-next-step a.eeg-btn { color: #1a1208; }

/* Article footer blocks */
.eeg-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.eeg-article-share { margin: 24px 0; padding: 14px 0; border-top: 1px solid var(--eeg-line); border-bottom: 1px solid var(--eeg-line); }
.eeg-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.eeg-share-label { font-family: var(--eeg-font-heading); font-weight: 800; font-size: .76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eeg-text-dim); margin-right: 4px; }
.eeg-share-link { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius-sm); color: var(--eeg-secondary); background: #fff; }
.eeg-share-link svg { width: 18px; height: 18px; }
.eeg-share-link:hover { background: var(--eeg-primary); border-color: var(--eeg-primary); color: #fff; }

.eeg-author-box { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px; margin: 24px 0 0; background: var(--eeg-bg); border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius); }
.eeg-author-box-mark { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: var(--eeg-primary); color: var(--eeg-accent); border-radius: 50%; overflow: hidden; }
.eeg-author-box-mark .eeg-icon { width: 26px; height: 26px; }
.eeg-author-box-avatar { width: 100%; height: 100%; object-fit: cover; }
.eeg-author-box-name { font-family: var(--eeg-font-heading); font-weight: 800; font-size: 1.12rem; color: var(--eeg-primary); margin: 2px 0 6px; }
.eeg-author-box-bio { color: var(--eeg-secondary); font-size: .95rem; margin: 0 0 10px; }
.eeg-author-box-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-family: var(--eeg-font-heading); font-weight: 700; font-size: .9rem; }
.eeg-author-box-links a { color: var(--eeg-accent-dark); }
.eeg-author-box-links a:hover { color: var(--eeg-primary); }

.eeg-related { background: var(--eeg-bg); border-top: 1px solid var(--eeg-line); padding: clamp(32px, 5vw, 60px) 0; }

.eeg-comments { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--eeg-line); }
.eeg-comment-list { list-style: none; padding: 0; }
.eeg-comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--eeg-line); }

/* ============================================================
 * Sidebar
 * ============================================================ */
.eeg-article-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--eeg-header-h) + 20px); }
body.admin-bar .eeg-article-sidebar { top: calc(var(--eeg-header-h) + 52px); }
.eeg-side-card { background: #fff; border: 1px solid var(--eeg-line); border-radius: var(--eeg-radius); padding: 20px; }
.eeg-side-title { font-size: 1rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--eeg-primary); }
.eeg-side-card p { color: var(--eeg-text-dim); font-size: .92rem; }
.eeg-side-ranked { list-style: none; padding: 0; margin: 0; counter-reset: eeg-rank; }
.eeg-side-ranked li { counter-increment: eeg-rank; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--eeg-line); }
.eeg-side-ranked li:last-child { border-bottom: 0; padding-bottom: 0; }
.eeg-side-ranked li::before { content: counter(eeg-rank); font-family: var(--eeg-font-heading); font-weight: 800; font-size: 1.1rem; color: var(--eeg-accent-dark); line-height: 1.3; }
.eeg-side-ranked a, .eeg-side-recent a { font-family: var(--eeg-font-heading); font-weight: 700; font-size: .94rem; line-height: 1.35; color: var(--eeg-primary); }
.eeg-side-ranked a:hover, .eeg-side-recent a:hover { color: var(--eeg-accent-dark); }
.eeg-side-recent { list-style: none; padding: 0; margin: 0; }
.eeg-side-recent li { padding: 9px 0; border-bottom: 1px solid var(--eeg-line); display: flex; flex-direction: column; gap: 2px; }
.eeg-side-recent li:last-child { border-bottom: 0; padding-bottom: 0; }
.eeg-side-recent small { color: var(--eeg-text-dim); font-size: .78rem; }
.eeg-side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.eeg-side-links a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: var(--eeg-radius-sm); font-family: var(--eeg-font-heading); font-weight: 700; font-size: .94rem; color: var(--eeg-primary); }
.eeg-side-links a:hover { background: var(--eeg-bg); color: var(--eeg-accent-dark); }
.eeg-side-link-ico { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; background: var(--eeg-primary); color: var(--eeg-accent); border-radius: 7px; }
.eeg-side-link-ico .eeg-icon { width: 15px; height: 15px; }
.eeg-side-feature { display: flex; flex-direction: column; gap: 8px; }
.eeg-side-feature-media { display: block; aspect-ratio: 16 / 9; border-radius: var(--eeg-radius-sm); overflow: hidden; background: var(--eeg-bg); margin-bottom: 4px; }
.eeg-side-feature-media img, .eeg-side-feature-media .eeg-thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.eeg-side-feature-title { font-size: 1.04rem; line-height: 1.3; margin: 0; }
.eeg-side-feature-title a { color: var(--eeg-primary); }
.eeg-side-more { font-family: var(--eeg-font-heading); font-weight: 700; font-size: .88rem; color: var(--eeg-accent-dark); }
.eeg-side-newsletter { background: var(--eeg-primary); border-color: var(--eeg-primary); }
.eeg-side-newsletter .eeg-side-title { color: #fff; border-bottom-color: var(--eeg-accent); }
.eeg-side-newsletter p { color: rgba(243,244,246,0.75); }
.eeg-side-newsletter .eeg-newsletter-form { flex-direction: column; }
.eeg-side-newsletter .eeg-newsletter-form input[type="email"] { flex: 0 0 auto; }
.eeg-side-newsletter .eeg-form-msg.is-ok { color: #86efac; }
.eeg-side-newsletter .eeg-form-msg.is-error { color: #fca5a5; }
.eeg-side-search .eeg-searchform { flex-direction: column; }
.eeg-article-sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.eeg-article-sidebar .widget li { padding: 7px 0; border-bottom: 1px solid var(--eeg-line); }

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 1100px) {
	.eeg-card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eeg-article-layout { grid-template-columns: 1fr; }
	.eeg-article-main { max-width: 760px; margin: 0 auto; width: 100%; }
	.eeg-article-sidebar { position: static; max-width: 760px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eeg-article-head-inner > * { margin-left: auto; margin-right: auto; max-width: 760px; }
}

@media (max-width: 900px) {
	.eeg-home-hero-inner { grid-template-columns: 1fr; }
	.eeg-home-hero-media { aspect-ratio: 16 / 9; }
	.eeg-card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eeg-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eeg-tool-grid { grid-template-columns: 1fr; }
	.eeg-picks-layout, .eeg-duo, .eeg-trust-grid, .eeg-newsletter-card, .eeg-hub-head-inner { grid-template-columns: 1fr; }
	.eeg-lead-card { grid-template-columns: 1fr; }
	.eeg-lead-card-media { min-height: 0; aspect-ratio: 16 / 9; }
	.eeg-hub-head-media { max-width: 560px; }
	.eeg-product.has-image { grid-template-columns: 1fr; }
	.eeg-product-media { aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
	.eeg-card-grid-3, .eeg-card-grid-4 { grid-template-columns: 1fr; }
	.eeg-hub-grid { gap: 12px; }
	.eeg-hub-card-body { padding: 12px 12px 14px; }
	.eeg-hub-card-title { font-size: 1rem; }
	.eeg-hub-card-desc { display: none; }
	.eeg-hub-card-cta { font-size: .82rem; padding-top: 2px; }
	.eeg-home-hero-actions .eeg-btn { flex: 1 1 100%; }
	.eeg-post-row { grid-template-columns: 92px 1fr; gap: 12px; }
	.eeg-trust-factors ul { grid-template-columns: 1fr; }
	.eeg-article-sidebar { grid-template-columns: 1fr; }
	.eeg-prose { font-size: 1rem; line-height: 1.7; }
	.eeg-proscons { grid-template-columns: 1fr; }
	.eeg-glance-list { grid-template-columns: 1fr; }
	.eeg-callout { grid-template-columns: 1fr; gap: 10px; }
	.eeg-next-step { grid-template-columns: 1fr; text-align: left; }
	.eeg-next-step-ico { display: none; }
	.eeg-next-step .eeg-btn { width: 100%; }
	.eeg-author-box { grid-template-columns: 1fr; gap: 12px; }
	.eeg-box { padding: 16px 16px; }
	.eeg-newsletter-form .eeg-btn { flex: 1 1 100%; }
	.eeg-table-wrap table { font-size: .9rem; }
	.eeg-table-wrap th, .eeg-table-wrap td { padding: 10px 12px; }
	body.admin-bar .eeg-progress-track { top: 0; }
}

@media (max-width: 782px) and (min-width: 601px) {
	body.admin-bar .eeg-progress-track { top: 46px; }
}
