/*
Theme Name: Edify Blog
Theme URI: https://edify.club/blog/
Description: The Edify blog, styled like the edify.club store. A child theme of Ollie.
Author: Edify
Template: ollie
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
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: edify-blog
*/

:root {
	--e-ink: #0a0a0a; --e-body: #2f3337; --e-muted: #5f6368; --e-quiet: #80868b; --e-line: #e5e7eb; --e-line-2: #d1d5db; --e-surface: #f7f7f8;
	--e-cta: #efd430; --e-bar: #1a1a1d; --e-price: #15803d; --e-price-tint: #f0fdf4; --e-price-line: #bbf7d0;
	--e-pad: 32px;
}
@media (max-width: 640px) { :root { --e-pad: 16px; } }

.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; }
.e-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--e-pad); box-sizing: content-box; }
.e-main { padding-left: var(--e-pad); padding-right: var(--e-pad); padding-bottom: 8px; }
.e-main > * { margin-block-start: 0; }
.e-header, .e-footer { margin: 0 !important; }
body .wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* header */
.e-promise { background: var(--e-bar); color: #fff; font-size: 13px; font-weight: 500; text-align: center; padding: 8px 12px; white-space: nowrap; overflow: hidden; }
.e-promise span + span::before { content: "|"; opacity: .35; margin: 0 18px; }
.e-top { border-bottom: 1px solid var(--e-line); background: #fff; }
.e-top .e-wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.e-logo img { display: block; width: 96px; height: auto; }
.e-nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.e-nav a, .e-sections a, .e-menu a { text-decoration: none; color: var(--e-ink); }
.e-nav a.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.e-search { flex: 1; max-width: 320px; margin-left: auto; }
.e-search input { border-radius: 999px !important; width: 100%; box-sizing: border-box; border: 1px solid var(--e-line); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; background: #fafafa; }
.e-search input:focus { outline: 2px solid var(--e-ink); outline-offset: 1px; background: #fff; }
.e-cart { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--e-ink); }
.e-menu { display: none; position: relative; }
.e-menu summary { list-style: none; cursor: pointer; padding: 8px 0; }
.e-menu summary::-webkit-details-marker { display: none; }
.e-menu summary span, .e-menu summary span::before, .e-menu summary span::after { display: block; width: 22px; height: 2px; background: var(--e-ink); position: relative; }
.e-menu summary span::before, .e-menu summary span::after { content: ""; position: absolute; }
.e-menu summary span::before { top: -7px; } .e-menu summary span::after { top: 7px; }
.e-menu nav { position: absolute; right: 0; top: 44px; z-index: 20; background: #fff; border: 1px solid var(--e-line); border-radius: 12px; padding: 8px; min-width: 210px; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.e-menu nav a { padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.e-menu nav a:hover { background: var(--e-surface); }
.e-sections { background: var(--e-surface); border-bottom: 1px solid var(--e-line); }
.e-sections .e-wrap { display: flex; gap: 24px; height: 46px; align-items: center; font-size: 15px; font-weight: 500; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.e-sections a { color: var(--e-muted); }
.e-sections a.on { color: var(--e-ink); font-weight: 600; }

/* shared */
.e-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--e-muted); }
.e-chip, .e-chips a { display: inline-block; font-size: 13px; font-weight: 600; color: var(--e-ink); background: #fff; border: 1px solid var(--e-line-2); border-radius: 999px; padding: 2px 11px; text-decoration: none; }
.e-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.e-chips .wp-block-post-terms__separator { display: none; }
.wp-block-post-terms.e-chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.e-price { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; background: var(--e-price); border-radius: 999px; padding: 1px 10px; }
.e-date, .e-meta { font-size: 13px; color: var(--e-quiet); }
.e-mins { display: inline-flex; align-items: center; gap: 4px; }
.e-mini .e-mins { margin-left: 12px; }
.e-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.e-meta .e-metaitem { font-size: 14px; color: var(--e-quiet); cursor: default; }

.e-btn { display: inline-block; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 10px 20px; background: var(--e-ink); color: #fff !important; text-decoration: none !important; border: 1.5px solid var(--e-ink); }
.e-btn-cta { background: var(--e-cta); color: var(--e-ink) !important; border-color: var(--e-cta); }
.e-btn-ghost { background: transparent; border-color: #fff; }
.e-sechead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.e-sechead h2 { font-size: 28px; margin: 0; }
.e-sechead a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--e-line-2); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--e-ink); white-space: nowrap; }
.e-section { padding-top: 44px; }

/* cards */
.e-card { position: relative; }
.e-card .e-title { margin: 4px 0 6px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.e-card .e-title a { text-decoration: none; color: var(--e-ink); }
.e-card .e-title a::after { content: ""; position: absolute; inset: 0; }
.e-card .e-title a:focus-visible { outline: none; }
.e-card:focus-within { outline: 2px solid var(--e-ink); outline-offset: 4px; border-radius: 12px; }
.e-card:hover .e-title a { text-decoration: underline; }
.e-card .e-sum { margin: 0 0 10px; font-size: 15px; color: var(--e-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.e-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; }
.e-img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--e-surface); }
.e-noimg { aspect-ratio: 3 / 2; }
.e-grid .e-img { aspect-ratio: 3 / 2; border-radius: 12px; margin-bottom: 12px; }
.e-grid-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.e-rows-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.e-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--e-line); }
.e-row .e-img { aspect-ratio: 4 / 3; border-radius: 8px; }
.e-row .e-sum { -webkit-line-clamp: 1; margin-bottom: 6px; }
.e-list-wrap .e-item { padding: 14px 0; border-bottom: 1px solid var(--e-line); }
.e-item .e-title { font-size: 18px; margin: 0 0 3px; }
.e-item .e-sum { margin: 0; }
.e-two > * { margin: 0 !important; }
.e-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }

/* home: lead + latest */
.e-top-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 36px; padding-top: 32px; }
.e-lead .e-img { aspect-ratio: 16 / 9; border-radius: 14px; }
.e-lead .e-chips { margin: 16px 0 8px; }
.e-lead .e-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.15; margin: 0 0 10px; }
.e-lead .e-sum { font-size: 18px; -webkit-line-clamp: 3; max-width: 640px; }
.e-lead .e-meta { margin: 0; }
.e-latest-h { font-size: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--e-ink); margin: 0 0 4px; }
.e-mini { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--e-line); align-items: start; }
.e-mini .e-img { aspect-ratio: 1; border-radius: 8px; }
.e-mini .e-title { font-size: 17px; margin: 2px 0 4px; }

/* home: finder */
.e-finder { margin-top: 36px; background: var(--e-surface); border: 1px solid var(--e-line); border-radius: 16px; padding: 22px 24px; }
.e-finder h2 { font-size: 24px; margin: 0 0 12px; }
.e-frow { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.e-frow > span { width: 72px; flex: none; font-size: 14px; font-weight: 600; color: var(--e-muted); }
.e-frow > div { display: flex; gap: 10px; flex-wrap: wrap; }
.e-pill { font-size: 15px; font-weight: 500; background: #fff; border: 1px solid var(--e-line-2); border-radius: 999px; padding: 4px 14px; text-decoration: none; color: var(--e-ink); white-space: nowrap; }
.e-pill:hover { background: var(--e-ink); color: #fff; border-color: var(--e-ink); }
.e-more { text-align: center; padding: 40px 0 8px; margin: 0; }

/* archive, search, 404 */
.e-crumbrow { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 22px 0 0; }
.e-crumbrow .e-chips { gap: 6px; }
.e-crumbrow .e-chip { font-size: 12px; font-weight: 500; color: var(--e-muted); padding: 1px 10px; }
.e-crumbrow .e-chip:hover { color: var(--e-ink); border-color: var(--e-ink); }
.e-crumbs { font-size: 14px; color: var(--e-muted); display: flex; align-items: center; flex-wrap: wrap; }
.e-crumbs .e-crumb-home { display: inline-flex; align-items: center; gap: 5px; }
.e-ico { flex: none; vertical-align: -3px; }
.e-crumbs a { color: var(--e-muted); text-decoration: none; }
.e-crumbs a:hover { text-decoration: underline; }
.e-crumbs [aria-current] { color: var(--e-ink); }
.e-sep { margin: 0 6px; }
.e-atitle { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px !important; margin-bottom: 8px !important; }
.e-adesc { color: var(--e-muted); max-width: 760px; }
.e-archive { margin-top: 24px; }
.e-empty { color: var(--e-muted); padding: 24px 0; }
.e-pages { margin: 40px 0 8px; }
.e-pages ul { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; justify-content: center; }
.e-pages a, .e-pages span { display: inline-block; min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--e-line-2); border-radius: 999px; text-decoration: none; color: var(--e-ink); font-weight: 500; }
.e-pages .current { background: var(--e-ink); color: #fff; border-color: var(--e-ink); }
.e-search-page { margin-top: 16px !important; margin-bottom: 8px !important; }
.e-search-page .wp-block-search__inside-wrapper { max-width: 560px; }
.e-search-page .wp-block-search__input { border-radius: 999px; padding: 10px 16px; border: 1px solid var(--e-line-2); }
.e-search-page .wp-block-search__button { border-radius: 999px; background: var(--e-ink); color: #fff; border: 0; padding: 10px 20px; }

/* post page */
.e-phead { max-width: 1200px !important; padding: 14px 0 22px; }
.e-phead > * { max-width: 820px; }
.e-postdate { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--e-quiet); margin: 0 0 10px; }
.e-ptitle { font-size: clamp(30px, 4vw, 44px) !important; line-height: 1.15; margin: 0 0 12px !important; }
.e-dek { font-size: 19px; color: var(--e-muted); margin: 0 0 16px; }
.e-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--e-muted); margin: 0; }
.e-byline span { white-space: nowrap; }
.e-author { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.e-metaitem { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; color: var(--e-muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none !important; }
a.e-metaitem:hover, button.e-metaitem:hover { color: var(--e-ink); }
button.e-metaitem { -webkit-appearance: none; appearance: none; margin: 0 !important; line-height: 1.4; height: auto; min-height: 0; box-shadow: none; }
.e-byline > * { margin: 0 !important; }
.e-copy.copied, .e-copy.copied .e-ico { color: var(--e-price); }
.e-wa:hover { color: #128c4b !important; }
.e-av { width: 34px; height: 34px; border-radius: 50%; background: var(--e-cta); color: var(--e-ink); display: inline-grid; place-items: center; font-weight: 700; }
.e-by { color: var(--e-ink); font-weight: 600; }
.e-post { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 48px; border-top: 1px solid var(--e-line); padding-top: 28px; }
.e-post > * { margin: 0 !important; min-width: 0; }
.e-post-main .wp-block-post-content > * { max-width: 760px; }
.e-post-main .wp-block-post-content { color: var(--e-body); }
.e-post-main h2, .e-post-main h3, .e-post-main strong { color: var(--e-ink); }
.e-post-main .wp-block-post-content a:not(.edify-buy):not(.e-anchor):not(.wp-element-button) { color: var(--e-ink); text-decoration: underline; text-decoration-color: var(--e-cta); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.e-post-main .wp-block-post-content a:not(.edify-buy):not(.e-anchor):not(.wp-element-button):hover { background: #fdf6c3; }
.e-post-main h2 { position: relative; font-size: 28px; margin: 36px 0 12px; scroll-margin-top: 16px; }
.e-anchor { position: absolute; left: -30px; top: 50%; transform: translateY(-50%); color: var(--e-quiet); opacity: 0; transition: opacity .15s; padding: 4px; line-height: 0; }
.e-post-main h2:hover .e-anchor, .e-anchor:focus-visible { opacity: 1; }
.e-anchor:hover, .e-anchor.copied { color: var(--e-ink); }
.e-post-main h3 { font-size: 21px; margin: 26px 0 8px; }
.e-post-main img { max-width: 100%; height: auto; border-radius: 10px; }
.e-post-side { position: sticky; top: 16px; align-self: start; }
.e-toc { border: 1px solid var(--e-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.e-toc summary { font-weight: 700; cursor: pointer; list-style: none; }
.e-toc summary::-webkit-details-marker { display: none; }
.e-toc summary span { color: var(--e-muted); font-weight: 500; }
.e-toc ol { list-style: none; margin: 8px 0 0; padding: 0; }
.e-toc li a { display: block; font-size: 15px; padding: 6px 0; color: var(--e-muted); border-top: 1px solid var(--e-line); text-decoration: none; }
.e-toc li a:hover { color: var(--e-ink); }
.e-toc li a.on { color: var(--e-ink); font-weight: 600; }
.e-toc-more summary { font-weight: 600; font-size: 14px; padding: 8px 0 2px; color: var(--e-ink); border-top: 1px solid var(--e-line); }
.e-toc-more[open] summary { display: none; }
.e-shopbox { background: var(--e-surface); border-radius: 12px; padding: 16px 18px; }
.e-shopbox p { margin: 0 0 10px; font-size: 15px; }
.e-table { overflow-x: auto; border: 1px solid var(--e-line); border-radius: 10px; margin: 8px 0 22px; }
.e-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; margin: 0; border: 0; }
.e-table th { background: var(--e-surface); text-align: left; font-weight: 600; }
.e-table th, .e-table td { padding: 9px 12px; border: 0; border-bottom: 1px solid var(--e-line); }
.e-table tr:last-child td { border-bottom: 0; }
.wp-block-table .e-table { border: 0; margin: 0; }
.e-feature img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: 12px; }
.e-related { border-top: 1px solid var(--e-line); margin-top: 44px; }
/* people */
.e-face { border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; }
.e-face.e-av { font-size: 15px; }
.e-author { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--e-muted); text-decoration: none !important; }
.e-author:hover .e-by { text-decoration: underline; }
.e-who { color: var(--e-quiet); font-size: 13px; }
.e-faces { display: inline-flex; flex: none; }
.e-faces .e-face { box-shadow: 0 0 0 2px #fff; }
.e-faces .e-face + .e-face { margin-left: -10px; }
.e-author a.e-by { color: var(--e-ink); text-decoration: none; font-weight: 600; }
.e-author a.e-by:hover { text-decoration: underline; }
.e-byline .e-author { white-space: normal; }
.e-byline .e-author > span:last-child { white-space: normal; }
.e-about { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--e-line); }
.e-about h2 { font-size: 22px; margin: 0 0 16px; }
.e-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.e-person { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; background: var(--e-surface); border-radius: 14px; padding: 16px; align-content: start; }
.e-person .e-face { width: 48px !important; height: 48px !important; }
.e-person .e-face.e-av { font-size: 20px; }
.e-person .e-pbio { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.e-person .e-pname { font-size: 16px; }
.e-person .e-plinks { font-size: 13px; }
.e-person p { margin: 0; }
.e-pname { font-size: 18px; font-weight: 700; }
.e-pname a { color: var(--e-ink); text-decoration: none; }
.e-prole { font-size: 14px; color: var(--e-muted); margin: 2px 0 8px !important; }
.e-pbio { font-size: 15px; color: var(--e-body); line-height: 1.55; }
.e-plinks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px !important; font-size: 14px; font-weight: 600; color: var(--e-muted); }
.e-plinks a { color: var(--e-ink); }
.e-profile { display: grid; grid-template-columns: 112px minmax(0, 760px); gap: 28px; align-items: start; padding: 28px 0 8px; }
.e-profile .e-face.e-av { font-size: 44px; }
.e-profile .e-atitle { margin-top: 0 !important; margin-bottom: 4px !important; }
.e-profile .e-pbio { font-size: 17px; max-width: 680px; margin-bottom: 12px; }
.e-ptitle-sm { font-size: 24px; margin-top: 36px !important; margin-bottom: 0 !important; }
@media (max-width: 640px) { .e-people { grid-template-columns: minmax(0, 1fr); } .e-profile { grid-template-columns: 1fr; gap: 14px; } .e-profile .e-face { width: 84px; height: 84px; } }
/* old posts: Typer's image loader leftovers */
.svq-img-loader { display: none !important; }
.placeholder-el { display: block; }

/* the bot's quick answer and top-picks boxes */
.edify-quick { background: var(--e-price-tint); border: 1px solid var(--e-price-line); border-radius: 14px; padding: 18px 22px; margin: 0 0 28px; }
.edify-quick h3 { font-size: 19px; margin: 0 0 6px; }
.edify-quick p { margin: 0; }
.edify-picks { margin: 0 0 28px; }
.edify-pick { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; border: 1px solid var(--e-line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.edify-pick > * { min-width: 0; }
.edify-pick img { aspect-ratio: 1; object-fit: contain; background: var(--e-surface); border-radius: 10px; width: 100%; height: auto; margin: 0; }
.edify-pick-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--e-price); background: var(--e-price-tint); border: 1px solid var(--e-price-line); border-radius: 999px; padding: 0 9px; }
.edify-pick h3 { font-size: 20px; margin: 4px 0 6px !important; }
.edify-specs { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.edify-specs li { font-size: 13px; background: #fff; border: 1px solid var(--e-line-2); border-radius: 6px; padding: 1px 8px; margin: 0; }
.edify-pick-best { font-size: 14px; color: var(--e-muted); margin: 6px 0 0; }
.edify-pick-buy { text-align: right; min-width: 150px; }
.edify-buy { white-space: nowrap; }
.edify-price { display: block; font-size: 26px; font-weight: 700; line-height: 1; }
.edify-mrp { font-size: 13px; color: #9aa0a6; text-decoration: line-through; }
.edify-off { font-size: 13px; font-weight: 600; color: var(--e-price); margin-left: 6px; }
.edify-stock { display: block; font-size: 13px; font-weight: 600; color: var(--e-price); margin: 4px 0 8px; }
.edify-stock.out { color: #b42318; }
.edify-buy { display: inline-block; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 9px 18px; background: var(--e-ink); color: #fff !important; text-decoration: none !important; }

/* footer */
.e-band { margin-top: 52px; background: var(--e-bar); color: #fff; }
.e-band .e-wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.e-band-h { font-size: 26px; font-weight: 700; margin: 0; line-height: 1.25; }
.e-band p { margin: 4px 0 0; opacity: .9; }
.e-band-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.e-foot-site { background: var(--e-surface); border-top: 1px solid var(--e-line); padding: 36px 0 20px; font-size: 15px; color: var(--e-muted); }
.e-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.e-cols img { width: 96px; height: auto; display: block; margin-bottom: 8px; }
.e-cols p { margin: 0; }
.e-cols h2 { font-size: 16px; color: var(--e-ink); margin: 0 0 8px; }
.e-cols a { display: block; padding: 2px 0; color: var(--e-muted); text-decoration: none; }
.e-cols a:hover { color: var(--e-ink); text-decoration: underline; }
.e-copy { font-size: 13px; margin-top: 24px !important; }

/* tablet */
@media (max-width: 1024px) {
	.e-nav { gap: 16px; font-size: 14px; }
	.e-grid-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
	.e-nav, .e-cart { display: none; }
	.e-menu { display: block; }
	.e-search { max-width: none; }
	.e-top-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.e-post { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 18px; }
	.e-post-side { position: static; order: -1; }
	.e-shopbox { display: none; }
	.e-rows-wrap, .e-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.e-two { gap: 0; }
}
/* phone */
@media (max-width: 640px) {
	.e-promise span:nth-child(n+2) { display: none; }
	.e-top .e-wrap { height: 58px; gap: 12px; }
	.e-logo img { width: 84px; }
	.e-search input { padding: 7px 12px; }
	.e-sections .e-wrap { gap: 18px; font-size: 14px; height: 42px; }
	.e-top-grid { padding-top: 16px; }
	.e-lead .e-sum { font-size: 16px; }
	.e-finder { padding: 16px; margin-top: 26px; }
	.e-frow { align-items: flex-start; }
	.e-frow > div { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.e-frow > span { width: auto; min-width: 52px; padding-top: 5px; }
	.e-pill { font-size: 14px; }
	.e-grid-wrap { gap: 16px; }
	.e-card .e-title { font-size: 16px; }
	.e-card.e-lead .e-title { font-size: 26px; }
	.e-grid .e-sum { display: none; }
	.e-row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
	.e-row .e-sum { display: none; }
	.e-sechead h2 { font-size: 23px; }
	.e-section { padding-top: 32px; }
	.e-band-h { font-size: 21px; }
	.e-cols { grid-template-columns: 1fr 1fr; }
	.e-dek { font-size: 16px; }
	.edify-pick { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.edify-pick-buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; min-width: 0; border-top: 1px solid var(--e-line); padding-top: 10px; }
	.edify-stock { margin: 2px 0 0; }
	.edify-pick-buy .edify-price { font-size: 22px; }
	.edify-pick h3 { font-size: 17px; }
	.e-post-main h2 { font-size: 23px; }
	.e-anchor { display: none; }
	.e-byline { gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }

/* Boxes the old writer typed into posts with their own inline colours, restyled to match the store.
   !important is needed to beat their inline style attributes. */
.e-post-main .quick-answer { background: var(--e-price-tint) !important; border: 1px solid var(--e-price-line) !important; border-radius: 14px !important; padding: 18px 22px !important; margin: 0 0 28px !important; }
.e-post-main .quick-answer h3 { color: var(--e-ink) !important; font-size: 19px !important; margin: 0 0 6px !important; }
.e-post-main .quick-answer p { color: var(--e-body) !important; font-size: 16px !important; line-height: 1.6 !important; }
.e-post-main .edify-pdp-cta { background: var(--e-surface) !important; border: 1px solid var(--e-line) !important; border-radius: 14px !important; padding: 18px 20px !important; }
.e-post-main .edify-pdp-cta > p:first-child { font-size: 18px !important; color: var(--e-ink); }
.e-post-main .edify-pdp-cta a, .e-post-main a[style*="#1a73e8"] { display: inline-block !important; background: var(--e-ink) !important; color: #fff !important; border-radius: 999px !important; padding: 10px 20px !important; font-weight: 600 !important; text-decoration: none !important; }

/* Buttons respond to the pointer: lift, darker fill, shadow; keyboard focus ring */
.e-btn, .edify-buy, .e-post-main .edify-pdp-cta a, .e-post-main a[style*="#1a73e8"], .e-search-page .wp-block-search__button {
	cursor: pointer; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.e-btn:hover, .edify-buy:hover, .e-post-main .edify-pdp-cta a:hover, .e-post-main a[style*="#1a73e8"]:hover, .e-search-page .wp-block-search__button:hover {
	background: #33343a !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.e-btn.e-btn-cta:hover { background: #f5df4d !important; }
.e-btn.e-btn-ghost:hover { background: rgba(255, 255, 255, .12) !important; }
.e-btn:active, .edify-buy:active, .e-post-main .edify-pdp-cta a:active, .e-post-main a[style*="#1a73e8"]:active { transform: none; box-shadow: none; }
.e-btn:focus-visible, .edify-buy:focus-visible, .e-post-main .edify-pdp-cta a:focus-visible, .e-pill:focus-visible, .e-sechead a:focus-visible { outline: 2px solid var(--e-ink); outline-offset: 3px; }
.e-sechead a, .e-pages a, .e-pill { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.e-sechead a:hover, .e-pages a:hover { background: var(--e-ink); color: #fff; border-color: var(--e-ink); }
@media (prefers-reduced-motion: reduce) { .e-btn, .edify-buy, .e-post-main .edify-pdp-cta a { transition: none; } .e-btn:hover, .edify-buy:hover, .e-post-main .edify-pdp-cta a:hover { transform: none; } }

/* Cards feel clickable: the photo lifts and brightens, the title underlines (already above) */
.e-card .e-img { transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.e-card:hover .e-img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); filter: brightness(1.04); }
/* Buttons press in when clicked */
.e-btn:active, .edify-buy:active, .e-post-main .edify-pdp-cta a:active, .e-post-main a[style*="#1a73e8"]:active, .e-pill:active, .e-sechead a:active { transform: scale(.97); box-shadow: none; }
.e-pill { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.e-pill:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
	.e-card .e-img, .e-pill { transition: none; }
	.e-card:hover .e-img, .e-pill:hover, .e-btn:active, .edify-buy:active { transform: none; }
}
