/*
Theme Name: Leestopia
Theme URI: https://leestopia.com
Author: Leestopia
Description: A news-style listicle theme. Clean white-and-black homepage with lead story, trending lists and category sections; two single-post layouts — with images (default, with sidebar) and text-only (Template › "Listicle — Text only"). List items are plain H2 headings, numbered automatically. White and black with green accents and yellow buttons.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leestopia
Tags: news, blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, block-styles
*/


:root {
  --black: #0D0D0D;
  --ink: #111111;
  --panel: #1A1A1A;
  --line-dark: #2A2A2A;
  --white: #FFFFFF;
  --muted: #595959;        /* on white */
  --muted-dark: #A8A8A8;   /* on black */
  --line: #E6E6E6;

  --yellow: #FFD23F;       /* buttons & badges (always dark text on it) */
  --yellow-hover: #FFC300;
  --yellow-soft: #FFF8DB;

  --green: #1F7A4D;        /* accent: numbers, labels, links on white */
  --green-dark: #17603C;
  --green-bright: #4ADE80; /* accent on black */
  --green-soft: #E7F5EC;

  --radius: 8px;
  --max: 1240px;
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 700 15px var(--font-body); cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--yellow-hover); color: var(--ink); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: #18633E; color: var(--white); }
.input { height: 48px; border: 1px solid #CFCFCF; border-radius: 999px; padding: 0 18px; font: 15px var(--font-body); min-width: 0; }

/* ---------- Placeholder images (swap for <img>) ---------- */
.ph { border-radius: var(--radius); display: flex; align-items: flex-end; padding: 12px; font-size: 12px; font-weight: 600; color: rgba(0,0,0,.6); background: #DDE7DF; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--photo { aspect-ratio: 3 / 2; }
.ph--card { aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.t1 { background: #FFD9B3; } .t2 { background: #CDEBD8; } .t3 { background: #D6E4F0; }
.t4 { background: #F3E3C3; } .t5 { background: #E1DCF2; } .t6 { background: #F5D0C4; }

/* ---------- Header ---------- */
.topbar { background: var(--black); color: var(--white); font-size: 13px; border-bottom: 1px solid var(--line-dark); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar span { color: var(--muted-dark); }
.topbar nav { display: flex; gap: 20px; }
.topbar a:hover { color: var(--yellow); }
.topbar .hl { color: var(--yellow); font-weight: 600; }

.site-header { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 16px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 40px; letter-spacing: -1.5px; line-height: 1; color: var(--ink); }
.logo span { color: var(--green); }
.logo:hover { color: var(--ink); }
.search { display: flex; gap: 8px; }
.search .input { width: 240px; background: var(--white); color: var(--ink); }
.cats { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-bottom: 14px; font-weight: 600; font-size: 15px; }
.cats a { padding: 10px 0; color: var(--ink); border-bottom: 2px solid transparent; }
.cats a:hover, .cats a.active { color: var(--green); border-bottom-color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); border-top: 1px solid var(--line-dark); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.site-footer .logo { font-size: 28px; color: var(--white); }
.site-footer .logo span { color: var(--green-bright); }
.site-footer p { margin: 6px 0 0; color: var(--muted-dark); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14px; }
.site-footer nav a:hover { color: var(--yellow); }

/* ---------- Shared bits ---------- */
.label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.badge { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.count { background: var(--ink); color: var(--yellow); font-family: var(--font-head); font-weight: 800; font-size: 18px; padding: 4px 10px; border-radius: 4px; }
.ad { border: 1px dashed #BDBDBD; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 4px solid currentColor; padding-top: 14px; margin-bottom: 24px; }
.section-head h2 { font-size: 30px; font-weight: 800; }
.section-head a { font-weight: 600; font-size: 15px; color: var(--green); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 21px; font-weight: 700; line-height: 1.2; }
.card .meta { font-size: 14px; color: var(--muted); }
.pill { display: inline-block; font-size: 14px; font-weight: 600; border: 1px solid #CFCFCF; padding: 8px 14px; border-radius: 999px; }
.pill:hover { border-color: var(--green); }

/* =========================================================
   HOMEPAGE
   ========================================================= */
.page-home main { padding-top: 32px; padding-bottom: 64px; }

.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.lead { display: flex; flex-direction: column; gap: 14px; }
.lead h2 { font-size: 48px; font-weight: 800; letter-spacing: -1px; line-height: 1.04; }
.lead p { margin: 0; font-size: 18px; color: #444444; }
.side-stories { display: flex; flex-direction: column; gap: 24px; }
.side-stories .card { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.side-stories .card:last-child { border-bottom: 0; }
.side-stories h3 { font-size: 23px; font-weight: 700; line-height: 1.15; }

.trending { margin-top: 56px; background: var(--yellow-soft); border-radius: 12px; padding: 32px; }
.trending h2 { font-size: 30px; font-weight: 800; margin-bottom: 22px; }
.trending ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px 32px; }
.trending li { display: flex; gap: 14px; align-items: flex-start; }
.trending .n { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: .9; color: var(--green); min-width: 34px; }
.trending a { font-weight: 600; font-size: 17px; line-height: 1.35; }

.home-section { margin-top: 56px; }

.newsletter { margin-top: 56px; background: var(--ink); color: var(--white); border-radius: 12px; padding: 48px 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.newsletter > div { flex: 1 1 380px; }
.newsletter h2 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.newsletter p { margin: 0; color: #D6D6D6; font-size: 17px; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 380px; }
.newsletter .input { flex: 1 1 220px; border: 0; height: 52px; }
.newsletter .btn { height: 52px; }

/* =========================================================
   ARTICLE (shared by both listicle templates)
   ========================================================= */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--green); }
.byline { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #E6E6E6; flex: none; }
.byline .who { flex: 1 1 200px; }
.byline .who strong { display: block; font-size: 15px; }
.byline .who span { font-size: 14px; color: var(--muted); }
.share { display: flex; gap: 8px; }
.share a { width: 44px; height: 44px; border: 1px solid #CFCFCF; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.share a:hover { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.credit { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.75; }
.summary { margin-top: 40px; background: var(--green-soft); border-radius: 12px; padding: 28px; }
.summary h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--green); }
.summary p { margin: 0; font-size: 17px; line-height: 1.65; }

/* ---------- Template 1: with images ---------- */
.article-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 32px; }
.article-main { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.article-main h1 { margin: 16px 0 14px; font-size: 52px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.03; }
.dek { margin: 0 0 22px; font-size: 20px; line-height: 1.5; color: #444; }
.item { margin-top: 52px; }
.item-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.item-num { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.item-head h2 { font-size: 32px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; font-weight: 600; background: var(--green-soft); color: var(--green); padding: 6px 12px; border-radius: 999px; }
.item p { margin: 16px 0 0; }

.sidebar { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.sidebar h2 { font-size: 22px; font-weight: 800; border-top: 4px solid var(--ink); padding-top: 12px; margin-bottom: 16px; }
.toc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.toc li { display: flex; gap: 10px; }
.toc span { font-weight: 700; color: var(--green); min-width: 20px; }
.mini { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.mini .ph { flex: none; width: 80px; height: 64px; padding: 0; }
.mini span { font-weight: 600; font-size: 15px; line-height: 1.35; }
.side-news { background: var(--black); color: var(--white); border-radius: 12px; padding: 24px; }
.side-news h2 { border: 0; padding: 0; margin-bottom: 8px; color: var(--white); }
.side-news p { margin: 0 0 14px; color: #D6D6D6; font-size: 15px; }
.side-news .input, .side-news .btn { width: 100%; }
.side-news .btn { margin-top: 10px; }
.more { margin-top: 64px; padding-bottom: 64px; }

/* ---------- Template 2: text only ---------- */
.text-hero { background: var(--yellow-soft); border-bottom: 1px solid #F0E2A8; }
.text-hero .inner { max-width: 820px; margin: 0 auto; padding: 56px 24px 48px; text-align: center; }
.text-hero h1 { font-size: 60px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.02; margin-bottom: 16px; }
.text-hero .dek { margin: 0 auto 22px; max-width: 640px; }
.text-hero .by { font-size: 15px; color: #444; }
.text-hero .by strong { color: var(--ink); }
.reading { max-width: 720px; margin: 0 auto; padding: 40px 24px 64px; }
.jump { border: 2px solid var(--ink); border-radius: 12px; padding: 24px; }
.jump h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.jump div { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { font-size: 14px; font-weight: 600; background: #F2F2F2; padding: 8px 12px; border-radius: 999px; }
.jump a:hover { background: var(--yellow); color: var(--ink); }
.t-item { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; gap: 24px; align-items: flex-start; scroll-margin-top: 24px; }
.t-num { flex: none; width: 80px; font-family: var(--font-head); font-weight: 800; font-size: 72px; line-height: .85; color: var(--green); letter-spacing: -3px; }
.t-item > div { flex: 1 1 auto; min-width: 0; }
.t-item h2 { font-size: 30px; font-weight: 800; line-height: 1.12; margin-bottom: 12px; }
.t-item p { margin: 0; }
.tip { margin-top: 14px !important; font-size: 16px; line-height: 1.6; background: var(--green-soft); border-left: 0; padding: 12px 16px; border-radius: 8px; }
.tip strong { color: var(--green); }
.pull { margin: 56px 0 0; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.25; }
.pull span { color: var(--green); }
.share-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-row div { display: flex; gap: 8px; flex-wrap: wrap; }
.next { list-style: none; margin: 0; padding: 0; }
.next li { border-bottom: 1px solid var(--line); }
.next a { display: flex; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 18px; }
.next a span { color: var(--green); font-family: var(--font-head); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .lead h2 { font-size: 36px; }
  .article-main h1 { font-size: 38px; }
  .text-hero h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .logo { font-size: 32px; }
  .search { width: 100%; }
  .search .input { flex: 1; width: auto; }
  .trending, .newsletter { padding: 24px; }
  .t-item { gap: 14px; }
  .t-num { width: 52px; font-size: 48px; }
  .item-head h2, .t-item h2 { font-size: 26px; }
}

/* =========================================================
   WordPress-specific styles
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--yellow); color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.custom-logo { max-height: 56px; width: auto; }
.cats a[aria-current] { color: var(--green); }

/* Placeholder boxes hold the featured image when there is one */
.ph { position: relative; overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--mini { flex: none; width: 80px; height: 64px; padding: 0; }

/* Cards */
.card-link { display: flex; flex-direction: column; gap: 10px; }
.card-media { position: relative; }
.card-media .count { position: absolute; top: 12px; left: 12px; }

/* Homepage */
.home-main { padding-top: 32px; padding-bottom: 64px; }
.home-ad { margin-top: 56px; }
.page-home .lead .meta { font-size: 14px; color: var(--muted); }

/* Archives */
.archive-main { padding-top: 40px; padding-bottom: 64px; }
.archive-head { border-top: 4px solid var(--ink); padding-top: 14px; margin-bottom: 32px; }
.archive-head h1 { font-size: 44px; font-weight: 800; margin-top: 6px; }
.archive-desc { color: var(--muted); font-size: 17px; margin-top: 8px; }
.archive-head + .grid-4 .label { display: block; }
.empty { font-size: 18px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.nav-links .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #CFCFCF; border-radius: 999px; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--yellow); border-color: var(--yellow); }

/* Single */
.featured { margin: 28px 0 0; }
.featured img { width: 100%; height: auto; border-radius: var(--radius); }
.byline img.avatar { border-radius: 50%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags a { font-size: 14px; font-weight: 600; border: 1px solid #CFCFCF; padding: 8px 14px; border-radius: 999px; }
.tags a::before { content: "#"; }
.tags a:hover { border-color: var(--green); }
.ad-slot { margin: 44px 0; text-align: center; }
.sidebar .ad-slot { margin: 0; }
.entry-content .ad { margin: 44px 0; }
.widget { font-size: 15px; }
.widget ul { margin: 0; padding-left: 18px; }

/* ---------- Post content ---------- */
.entry-content { font-size: 18px; line-height: 1.75; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--green-dark); }
.entry-content img { height: auto; border-radius: var(--radius); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: left; }
.entry-content h3 { font-size: 22px; font-weight: 700; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content blockquote:not(.is-style-pull) { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--green); font-style: italic; }
.entry-content .alignwide { max-width: none; }

/* Numbered list items = every H2 directly inside the post */
.listicle { counter-reset: item; }
.listicle > h2 { counter-increment: item; display: flex; gap: 16px; align-items: center; font-size: 32px; font-weight: 800; line-height: 1.12; margin-top: 52px; margin-bottom: 16px; scroll-margin-top: 24px; }
.listicle > h2 + * { margin-top: 0; }

/* Template 1 — green circle numbers */
.listicle--images > h2::before { content: counter(item); flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 26px; display: flex; align-items: center; justify-content: center; }

/* Template 2 — big 01, 02… numbers, item text indented beside them */
.listicle--text > h2 { align-items: flex-start; gap: 20px; font-size: 30px; padding-top: 32px; margin-top: 44px; border-top: 1px solid var(--line); }
.listicle--text > h2::before { content: counter(item, decimal-leading-zero); flex: none; width: 80px; font-size: 72px; line-height: .85; color: var(--green); letter-spacing: -3px; }
.listicle--text > h2 ~ :not(h2):not(.wp-block-group):not(.ad):not(.ad-slot):not(.is-style-pull):not(.wp-block-separator) { padding-left: 100px; }
.listicle--text > h2 ~ figure:not(.wp-block-pullquote) { padding-left: 100px; }

/* ---------- Block styles (choose in the block sidebar › Styles) ---------- */
p.is-style-tip { font-size: 16px; line-height: 1.6; background: var(--green-soft); border-radius: 8px; padding: 12px 16px !important; }
.listicle--text > h2 ~ p.is-style-tip { margin-left: 100px; padding-left: 16px !important; }
p.is-style-tip::before { content: "Try this: "; font-weight: 700; color: var(--green); }
p.is-style-chips { display: inline-block; font-size: 13px !important; line-height: 1.4; font-weight: 600; background: var(--green-soft); color: var(--green); padding: 6px 12px !important; border-radius: 999px; margin: 12px 8px 0 0 !important; }
.listicle--text > h2 ~ p.is-style-chips { margin-left: 100px !important; }
.wp-block-group.is-style-summary { background: var(--green-soft); border-radius: 12px; padding: 28px; margin-top: 40px; }
.wp-block-group.is-style-summary h2, .wp-block-group.is-style-summary h3 { font-size: 24px; font-weight: 800; color: var(--green); margin: 0 0 8px; }
.wp-block-group.is-style-summary p { margin: 0; font-size: 17px; line-height: 1.65; }
.wp-block-quote.is-style-pull { margin: 56px 0 0; padding: 0; border: 0; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.25; }
.wp-block-quote.is-style-pull cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); }

/* Text template extras */
.read-next { margin-top: 48px; }
.read-next h2 { font-size: 26px; font-weight: 800; margin-bottom: 18px; }
.next { counter-reset: nx; }
.next a::before { counter-increment: nx; content: counter(nx); color: var(--green); font-family: var(--font-head); font-weight: 800; }
.reading .newsletter { margin-top: 48px; }

/* Pages & 404 */
.page-main { padding-top: 48px; }
.page-title { font-size: 44px; font-weight: 800; margin-bottom: 24px; }
.big-404 { font-family: var(--font-head); font-weight: 800; font-size: 120px; line-height: 1; color: var(--green); margin: 0; }

/* Comments */
.comments { margin-top: 56px; padding-top: 24px; border-top: 4px solid var(--ink); }
.comments-title, .comment-reply-title { font-size: 24px; font-weight: 800; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-metadata { font-size: 13px; color: var(--muted); }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid #CFCFCF; border-radius: 8px; padding: 12px; font: 16px var(--font-body); }

@media (max-width: 600px) {
  .listicle > h2 { font-size: 26px; }
  .listicle--text > h2::before { width: 52px; font-size: 48px; }
  .listicle--text > h2 ~ :not(h2):not(.wp-block-group):not(.ad):not(.ad-slot):not(.is-style-pull):not(.wp-block-separator),
  .listicle--text > h2 ~ figure:not(.wp-block-pullquote) { padding-left: 0; }
  .listicle--text > h2 ~ p.is-style-tip, .listicle--text > h2 ~ p.is-style-chips { margin-left: 0 !important; }
  .archive-head h1, .page-title { font-size: 34px; }
}

/* Spacing + default widget styling */
.reading .jump + .entry-content { margin-top: 36px; }
.sidebar .widget h2, .sidebar .widget .wp-block-heading, .sidebar .wp-block-search__label { font-family: var(--font-head); font-size: 22px; font-weight: 800; border-top: 4px solid var(--ink); padding-top: 12px; margin: 0 0 16px; display: block; }
.sidebar .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.sidebar .wp-block-search__input { height: 44px; border: 1px solid #CFCFCF; border-radius: 999px; padding: 0 16px; font: 15px var(--font-body); flex: 1; min-width: 0; }
.sidebar .wp-block-search__button { height: 44px; margin: 0; border: 0; border-radius: 999px; padding: 0 18px; background: var(--yellow); color: var(--ink); font: 700 14px var(--font-body); cursor: pointer; }
.sidebar .wp-block-latest-posts, .sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar .wp-block-latest-posts li, .sidebar .widget li { padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.sidebar .wp-block-latest-comments { padding: 0; }
