/*
Theme Name: Etea
Theme URI: https://eteasmasher.com/
Author: Etea Smasher
Description: One consistent design for every page of Etea Smasher, matching the custom home page: same header, footer, colours and font on articles, topics, search, About, Contact and legal pages. Light, fast, no page builder.
Version: 1.1.0
Requires at least: 6.4
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: etea
Tags: blog, education, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------- Font (self-hosted Plus Jakarta Sans, SIL Open Font License) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

/* ---------- Design tokens (same values as the home page) ---------- */
:root {
	--bg: #ffffff;
	--soft: #f6f8fb;
	--fg: #0f1720;
	--muted: #5b6b7b;
	--line: #e6e9ef;
	--card: #ffffff;
	--accent: #1766d6;
	--accent-d: #1257b8;
	--accent-soft: #eaf1fd;
	--radius: 14px;
	--maxw: 1140px;
	--read: 720px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-d); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--fg); }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.es-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.es-skip:focus { top: 12px; color: #fff; }
.es-site { min-height: 100vh; display: flex; flex-direction: column; }
.es-main { flex: 1; }

.btn { display: inline-flex; align-items: center; gap: 7px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; padding: 11px 20px; border: 0; border-radius: 10px; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--accent-d); color: #fff; }
.eye { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* ---------- Header (same as home) ---------- */
.es-site .es-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .es-site .es-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .es-site .es-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .es-site .es-header { top: 0; } }
.es-site .es-nav { display: flex; align-items: center; gap: 20px; height: 66px; }
.es-site .es-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--fg); white-space: nowrap; }
.es-site .es-logo { width: 38px; height: 38px; border-radius: 9px; background: #fff; border: 1px solid var(--line); overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; }
.es-site .es-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.es-logo-letter { font-weight: 800; color: var(--accent); }
.es-site .es-links { display: flex; gap: 2px; margin-left: 4px; }
.es-site .es-links a { color: var(--muted); font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px; }
.es-site .es-links a:hover, .es-site .es-links a[aria-current] { color: var(--fg); background: var(--soft); }
.es-site .es-sp { flex: 1; }
.es-site .es-search { display: flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; max-width: 230px; }
.es-site .es-search input { border: 0; background: transparent; outline: 0; font-size: .9rem; color: var(--fg); width: 100%; min-width: 0; }
.es-site .es-search:focus-within { border-color: var(--accent); }
.es-site .es-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--soft); border-radius: 10px; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--fg); }
.es-site .es-drawer { display: none; }
.es-site .es-search--drawer { max-width: none; width: 100%; margin: 4px 0 8px; }

/* ---------- Footer (same as home) ---------- */
.es-site .es-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 34px 0; color: var(--muted); }
.es-fgrid { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-bottom: 10px; }
.es-fgrid a { color: var(--muted); font-weight: 600; font-size: .92rem; padding: 4px 0; }
.es-fgrid a:hover { color: var(--accent); }
.es-fgrid.sub a { font-weight: 500; font-size: .88rem; }
.es-fine { text-align: center; font-size: .85rem; margin-top: 8px; }

/* ---------- Post rows (same as "Latest guides") ---------- */
.es-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.es-row { position: relative; display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.es-row:first-child { border-top: 0; }
.es-row:hover { background: var(--soft); }
.es-stretch { position: absolute; inset: 0; z-index: 3; font-size: 0; line-height: 0; }
.es-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; background: var(--soft); }
.es-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-thumb-letter { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.3rem; }
.es-rmeta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.es-rtag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
a.es-rtag { position: relative; z-index: 4; }
.es-rtitle { font-weight: 700; font-size: 1.02rem; color: var(--fg); line-height: 1.3; }
.es-rex { color: var(--muted); font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.es-rsub { color: var(--muted); font-size: .8rem; }

/* ---------- Page heroes (pages, topics, search, 404) ---------- */
.es-page-hero { padding: 48px 0 32px; background: linear-gradient(180deg, var(--soft), var(--bg)); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.es-page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); max-width: 22ch; }
.es-page-sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 60ch; margin-top: 12px; }
.es-page-sub p { margin: 0; }
.es-page-date { color: var(--muted); font-size: .88rem; margin-top: 12px; font-weight: 600; }
.es-listing > .es-list, .es-listing > .es-none, .es-listing > .navigation, .es-listing > .es-list-ad { max-width: 900px; }
.es-searchlg { display: flex; max-width: 560px; margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 16px; box-shadow: 0 10px 30px -18px rgba(23,102,214,.5); }
.es-searchlg input { flex: 1; border: 0; background: transparent; outline: 0; font-size: 1rem; color: var(--fg); min-width: 0; }
.es-searchlg:focus-within { border-color: var(--accent); }

/* ---------- Article layout ---------- */
.es-article-wrap { padding-top: 28px; }
.es-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.es-article { min-width: 0; width: 100%; max-width: 760px; }
.es-crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.es-crumbs a { color: var(--muted); font-weight: 600; }
.es-crumbs a:hover { color: var(--accent); }
.es-crumbs .separator { margin: 0 4px; }
.es-article-head .es-rtag { display: inline-block; margin-bottom: 10px; font-size: .78rem; }
.es-title { font-size: clamp(1.9rem, 4.6vw, 2.75rem); line-height: 1.12; }
.es-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.es-meta-author { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); font-weight: 700; }
.es-meta-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.es-meta-bits { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; }
.es-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.es-share a, .es-share button { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); background: var(--soft); border-radius: 999px; color: var(--fg); font-size: .82rem; font-weight: 600; cursor: pointer; }
.es-share a:hover, .es-share button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.es-hero { margin: 26px 0 8px; }
.es-hero img { width: 100%; border-radius: var(--radius); display: block; border: 1px solid var(--line); }

/* ---------- Reading text (old and new posts) ---------- */
.es-prose { font-size: 1.075rem; line-height: 1.78; color: #1f2a37; margin-top: 26px; }
.es-prose > * + * { margin-top: 1.15em; }
.es-prose p { margin: 0; }
.es-prose h2 { font-size: clamp(1.45rem, 3vw, 1.75rem); margin-top: 2.1em; scroll-margin-top: 90px; }
.es-prose h3 { font-size: clamp(1.2rem, 2.4vw, 1.32rem); font-weight: 700; margin-top: 1.7em; letter-spacing: -.01em; scroll-margin-top: 90px; }
.es-prose h4 { font-size: 1.08rem; font-weight: 700; margin-top: 1.5em; }
.es-prose h2 + *, .es-prose h3 + *, .es-prose h4 + * { margin-top: .6em; }
.es-prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.es-prose a:hover { color: var(--accent-d); }
.es-prose strong { color: var(--fg); }
.es-prose ul, .es-prose ol { padding-left: 1.4em; margin-bottom: 0; }
.es-prose li + li { margin-top: .4em; }
.es-prose li::marker { color: var(--accent); font-weight: 700; }
.es-prose hr, .es-prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; opacity: 1; }
.es-prose blockquote { margin: 1.6em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; color: var(--fg); }
.es-prose blockquote p { margin: 0; }
.es-prose figure { margin: 1.6em 0; }
.es-prose img { border-radius: 12px; }
.es-prose figcaption, .es-prose .wp-element-caption { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 8px; }
.es-prose .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.es-prose .alignleft { float: left; margin: 0 20px 12px 0; }
.es-prose .alignright { float: right; margin: 0 0 12px 20px; }
.es-prose :not(pre) > code { display: inline; background: #f6f8fa; color: #cf222e; border: 1px solid #d0d7de; border-radius: 6px; padding: .12em .38em; font-family: var(--mono); font-size: .86em; white-space: break-spaces; }
.es-prose pre { background: #0f1720; color: #e6edf3; border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: .9rem; line-height: 1.6; }
.es-prose pre code { background: none; color: inherit; border: 0; padding: 0; font-size: inherit; white-space: pre; }

/* Tables */
.es-prose .wp-block-table, .es-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.es-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; margin: 0; }
.es-prose th, .es-prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 120px; }
.es-prose thead th, .es-prose thead td, .es-prose tr:first-child th { background: var(--soft); font-weight: 700; color: var(--fg); }
.es-prose tbody tr:last-child td { border-bottom: 0; }
.es-prose .wp-block-table table.has-fixed-layout { table-layout: auto; }
.es-prose .wp-block-table figcaption { padding: 8px 12px; }

/* Rank Math table of contents */
.es-prose .wp-block-rank-math-toc-block { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.es-prose .wp-block-rank-math-toc-block h2, .es-prose .wp-block-rank-math-toc-block h3 { font-size: 1.05rem; margin: 0 0 8px; }
.es-prose .wp-block-rank-math-toc-block nav ul, .es-prose .wp-block-rank-math-toc-block nav ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.es-prose .wp-block-rank-math-toc-block a { text-decoration: none; font-weight: 600; }

/* Rank Math FAQ */
.es-prose .rank-math-block .rank-math-list { display: flex; flex-direction: column; gap: 10px; }
.es-prose .rank-math-list-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--card); }
.es-prose .rank-math-question { font-size: 1.05rem; margin: 0 0 6px; }
.es-prose .rank-math-answer p { margin: 0; }

/* "Quick answer" style boxes written with a background or group block */
.es-prose .wp-block-group.has-background, .es-prose .has-background:not(a):not(span) { border-radius: 12px; padding: 18px 20px; }

/* Ads placed by Ad Inserter inside articles */
.es-prose .code-block { clear: both; margin: 2em auto !important; text-align: center; }
.es-prose .code-block:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }

/* Related posts (Contextual Related Posts plugin) */
.es-prose .crp_related { margin-top: 2.6em; padding-top: 24px; border-top: 1px solid var(--line); }
.es-prose .crp_related h3, .es-prose .crp_related h2 { font-size: 1.25rem; margin: 0 0 14px; }
.es-prose .crp_related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.es-prose .crp_related li { margin: 0 !important; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); width: auto !important; height: auto !important; box-shadow: none !important; float: none !important; }
.es-prose .crp_related li:hover { border-color: var(--accent); }
.es-prose .crp_related a { text-decoration: none; display: block; width: auto !important; height: auto !important; }
.es-prose .crp_related img { width: 100% !important; height: auto !important; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; display: block; max-width: none !important; }
.es-prose .crp_related .crp_title { position: static !important; display: block; padding: 10px 12px 12px; background: none !important; color: var(--fg) !important; font-weight: 700; font-size: .92rem; line-height: 1.35; text-shadow: none !important; width: auto !important; height: auto !important; }
.es-prose .crp_clear { display: none; }

/* ---------- After the article ---------- */
.es-after-ad { margin: 28px 0; text-align: center; }
.es-author { position: relative; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 40px; }
.es-author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--card); }
.es-author .es-m { max-width: 56ch; flex: 1; min-width: 220px; }
.es-author h3 { font-size: 1.2rem; }
.es-author p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.es-author .es-more { color: var(--accent); font-weight: 700; }
.es-related { margin-top: 40px; }
.es-related h2 { font-size: 1.35rem; margin-bottom: 14px; }
.es-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.es-pn { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--fg); font-weight: 700; line-height: 1.35; }
.es-pn span { font-size: .78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.es-pn:hover { border-color: var(--accent); color: var(--accent); }
.es-pn--next { text-align: right; grid-column: 2; }

/* ---------- Newsletter box (same as home) ---------- */
.es-signup { background: var(--accent-soft); border: 1px solid #cfe0fb; border-radius: var(--radius); padding: 30px; text-align: center; margin-top: 40px; }
.es-signup h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
.es-signup p { color: var(--muted); margin: 10px auto 18px; max-width: 48ch; }
.es-mlslot { max-width: 460px; margin: 0 auto; }
.es-mlph { border: 2px dashed #b9cff1; border-radius: 10px; padding: 14px; color: var(--muted); font-size: .85rem; background: rgba(255,255,255,.55); }
.es-mlslot .wpcf7 { margin: 0; }
.es-mlslot .wpcf7-form p { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0; }
.es-mlslot .wpcf7-form br { display: none; }
.es-mlslot .wpcf7-form-control-wrap { flex: 1; min-width: 200px; }
.es-mlslot input.wpcf7-email { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 1rem; background: #fff; color: var(--fg); min-height: 46px; }
.es-mlslot input.wpcf7-submit { background: var(--accent) !important; color: #fff !important; border: 0 !important; border-radius: 10px; padding: 12px 20px; font-weight: 600; font-size: 15px; cursor: pointer; min-height: 46px; box-shadow: none !important; }
.es-mlslot input.wpcf7-submit:hover { background: var(--accent-d) !important; }
.es-mlslot .wpcf7-response-output { flex-basis: 100%; margin: 12px 0 0 !important; border-radius: 8px; font-size: .9rem; padding: 8px 12px; }
.es-mlslot .wpcf7-spinner { display: none; }
.es-signup--card { padding: 20px; text-align: left; margin: 0; }
.es-signup--card h2 { font-size: 1.1rem; }
.es-signup--card p { font-size: .88rem; margin: 6px 0 12px; }
.es-signup--card .wpcf7-form p { justify-content: flex-start; }
.es-signup--card .wpcf7-form-control-wrap, .es-signup--card input.wpcf7-submit { flex-basis: 100%; width: 100%; min-width: 0; }

/* ---------- Sidebar (computers only) ---------- */
.es-sidebar { display: flex; flex-direction: column; gap: 22px; position: relative; height: 100%; }
.es-side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--card); }
.es-side-box:has(> .es-signup) { border: 0; padding: 0; }
.es-side-title, .es-widget-title { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.es-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.es-mini a { display: flex; gap: 10px; align-items: center; color: var(--fg); font-weight: 700; font-size: .9rem; line-height: 1.35; }
.es-mini a:hover { color: var(--accent); }
.es-thumb--sm { width: 52px; height: 52px; border-radius: 8px; }
.es-popn { font-size: 1.3rem; font-weight: 800; width: 24px; flex: none; text-align: center; }
.es-side-ad, .es-side-sticky { text-align: center; }
.es-side-sticky { position: sticky; top: 92px; }
.admin-bar .es-side-sticky { top: 124px; }
.es-widget + .es-widget { margin-top: 18px; }
.es-widget ul { margin: 0; padding-left: 1.1em; }

/* ---------- Topic chips (About, nothing found) ---------- */
.es-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.es-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); font-weight: 600; font-size: .9rem; background: var(--card); min-height: 44px; }
.es-chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.es-chip small { color: var(--muted); font-weight: 600; }
.es-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Pages ---------- */
.es-page { max-width: var(--read); }
.es-page--narrow { max-width: 760px; }
.es-page .es-prose { margin-top: 0; }
.es-legal-page .es-prose { font-size: 1rem; }
.es-legal-page .es-prose h2 { font-size: 1.35rem; }
.es-about-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.es-about-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 30px -14px rgba(15,23,32,.35); flex: none; }
.es-about-photo--sm { width: 96px; height: 96px; }
.es-about-top > div { flex: 1; min-width: 240px; }
.es-about-stats { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.es-about-stats b { color: var(--fg); }
.es-about-stats a { font-weight: 700; }
.es-about-topics { margin-top: 48px; }
.es-about-topics h2 { font-size: 1.4rem; }
.es-about-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #cfe0fb; }
.es-about-cta h2 { font-size: 1.25rem; }
.es-fullwidth { min-height: 40vh; }

/* ---------- Lists: pagination, ad between posts, nothing found ---------- */
.es-list-ad { margin: 18px 0; text-align: center; }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--fg); font-weight: 700; }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.page-numbers.dots { border: 0; }
.es-soon { border: 1px dashed #b9cff1; background: var(--soft); border-radius: var(--radius); padding: 28px; }
.es-soon h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 10px; }
.es-soon p { color: var(--muted); margin-top: 8px; max-width: 56ch; }
.es-soon-badge { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #b45309; background: #fef3c7; border-radius: 999px; padding: 5px 12px; }
.es-listing > .es-soon, .es-listing > .es-signup { max-width: 900px; }
.es-listing > .es-signup { margin-top: 24px; margin-bottom: 40px; }
.es-none h2 { font-size: 1.4rem; }
.es-none > p { color: var(--muted); margin-top: 8px; }
.es-none h3 { font-size: 1.1rem; margin: 32px 0 12px; }

/* ---------- Comments ---------- */
.es-comments { margin-top: 44px; }
.es-comments h2 { font-size: 1.3rem; margin-bottom: 14px; }
.es-comment-list { list-style: none; padding: 0; }
.es-comment-list .comment-body { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.comment-form textarea { min-height: 140px; }
.comment-notes { color: var(--muted); font-size: .9rem; }
.comment-form .submit { background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px; font-weight: 600; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
	.es-article-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.es-article { margin: 0 auto; }
	.es-sidebar { display: none; }
}
@media (max-width: 820px) {
	.es-site .es-search { max-width: 170px; }
	.es-prose .crp_related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.es-site .es-links, .es-site .es-nav > .es-search { display: none; }
	.es-site .es-burger { display: block; }
	.es-site .es-drawer.open { display: block; padding: 6px 20px 12px; border-bottom: 1px solid var(--line); background: #fff; }
	.es-site .es-drawer a { display: block; padding: 12px 2px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--fg); }
	.es-site .es-drawer a:last-child { border-bottom: 0; }
	.es-page-hero { padding: 34px 0 24px; margin-bottom: 26px; }
	.es-prose { font-size: 1.03rem; line-height: 1.72; }
	.es-prose .alignleft, .es-prose .alignright { float: none; margin: 1em auto; }
	.es-row { padding: 14px; gap: 12px; align-items: flex-start; }
	.es-thumb { width: 60px; height: 60px; }
	.es-prevnext { grid-template-columns: 1fr; }
	.es-pn--next { grid-column: 1; }
	.es-signup { padding: 22px 18px; }
	.es-author { padding: 20px; gap: 16px; }
	.es-about-photo { width: 110px; height: 110px; }
}
@media (max-width: 520px) {
	.es-prose .crp_related ul { grid-template-columns: minmax(0, 1fr); }
	.es-site .es-nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
	.es-header, .es-footer, .es-sidebar, .es-share, .es-signup, .es-prevnext, .code-block { display: none !important; }
}
