/*
Theme Name: Lets Read News
Theme URI: https://letsreadnews.com
Author: Lets Read News
Author URI: https://letsreadnews.com
Description: A fast, SEO-focused newspaper theme for letsreadnews.com. One consistent design across the homepage, category pages, articles, search and static pages. Includes NewsArticle / NewsMediaOrganization schema, breadcrumbs, author boxes and an accessible mobile menu.
Version: 1.2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: letsreadnews
Tags: news, blog, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #121212;
	--paper: #FAF8F4;
	--card: #FFFFFF;
	--muted: #5A5650;
	--body: #3A3732;
	--line: #D9D4CA;
	--ph: #E4DFD6;
	--accent: #FF0000;
	--accent-dark: #B30000;
	--on-dark: #E4DFD6;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--display: 'Playfair Display', Georgia, serif;
	--wrap: 1280px;
	--gutter: 24px;
	--surface-dark: #121212;
	--hdr-bg: var(--paper);
	--hdr-text: var(--ink);
	--nav-bg: var(--paper);
	--nav-text: var(--ink);
	--nav-accent: var(--accent-ink);
	--top-bg: #121212;
	--top-text: #FFFFFF;
	--accent-ink: var(--accent);
	--accent-hover: var(--accent-dark);
	--logo-h: 70px;
	--title-size: 56px;
}

/* Dark theme (reader toggle or device preference) */
html[data-theme="dark"] {
	--ink: #F2EFE9;
	--paper: #0F0F10;
	--card: #1A1A1C;
	--body: #D2CEC6;
	--muted: #A9A49B;
	--line: #2E2E31;
	--ph: #26262A;
	--surface-dark: #000000;
	--top-bg: #000000;
	--on-dark: #D2CEC6;
	color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
.screen-reader-text, .skip {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip:focus {
	position: fixed; z-index: 300; top: 8px; left: 8px; width: auto; height: auto;
	clip: auto; padding: 12px 18px; background: #121212; color: #fff;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--top-bg); color: var(--top-text); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--top-text); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.masthead { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 18px; }
.masthead__side { flex: 1 1 180px; font-size: 14px; font-weight: 600; }
.masthead__side a { color: var(--hdr-text); }
.masthead__brand { flex: 2 1 420px; text-align: center; }
.masthead__brand .custom-logo-link { display: inline-block; }
.masthead__brand .custom-logo { max-height: var(--logo-h); width: auto; }
.site-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: var(--title-size); line-height: 1; letter-spacing: -0.5px; }
.site-title a { color: var(--hdr-text); text-decoration: none; }
.site-tagline { margin: 8px 0 0; font-size: 14px; color: var(--hdr-text); opacity: 0.78; }
.masthead__search { flex: 1 1 180px; display: flex; justify-content: flex-end; }

.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); background: var(--card); font: inherit; font-size: 14px; width: 160px; border-radius: 0; }
.search-form button { min-height: 44px; padding: 0 16px; border: 1px solid rgba(128, 128, 128, 0.5); background: var(--surface-dark); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.search-form button:hover { background: var(--accent); border-color: var(--accent); }

.primary-nav { background: var(--nav-bg); color: var(--nav-text); border-top: 3px solid var(--nav-text); border-bottom: 1px solid var(--nav-text); }
.primary-nav .wrap { position: relative; }
.nav-toggle { display: none; width: 100%; min-height: 48px; background: none; border: 0; color: var(--nav-text); text-align: left; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; cursor: pointer; padding: 0; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.nav-list a { display: block; padding: 13px 0; color: var(--nav-text); text-decoration: none; }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current-cat > a { color: var(--nav-text); box-shadow: inset 0 -3px 0 var(--accent); }
.nav-list .nav-accent a { color: var(--nav-accent); }
.nav-list .sub-menu { display: none; }

.ticker { background: var(--card); border-bottom: 1px solid var(--line); font-size: 14px; }
.ticker .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.ticker__label { background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; padding: 4px 10px; text-transform: uppercase; }
.ticker a { color: var(--ink); text-decoration: none; font-weight: 500; }
.ticker a:hover { color: var(--accent-ink); }

/* ==========================================================================
   Shared type and parts
   ========================================================================== */
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--accent-ink); }
.kicker:hover { text-decoration: underline; }
.meta { margin: 0; font-size: 13px; color: var(--muted); }
.meta a { color: var(--ink); font-weight: 600; }
.label-head { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.section { padding: 36px 0; border-bottom: 1px solid var(--ink); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 24px; gap: 12px; }
.section__title { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.2; }
.section__more { font-size: 14px; font-weight: 600; white-space: nowrap; }
.section--cols .section__title { font-size: 24px; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card--text .card__body, .card--list .card__body { gap: 4px; }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--ph); overflow: hidden; }
.card--hero .card__media { aspect-ratio: 16 / 9; }
.card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__ph { display: block; width: 100%; height: 100%; background: var(--ph); }
.card__title { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.25; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--accent-ink); }
.card--hero { gap: 14px; }
.card--hero .card__title { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1.12; }
.card__dek { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--body); }
.card--side .card__title { font-size: 22px; }
.card--text, .card--list { gap: 4px; }
.card--text .card__title, .card--list .card__title { font-weight: 600; font-size: 19px; line-height: 1.3; }
.card--list .card__title { font-size: 17px; }
.card--feature .card__title { font-size: 24px; line-height: 1.2; }

/* Grids */
.grid { display: flex; flex-wrap: wrap; gap: 28px; }
.grid > * { flex: 1 1 240px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack > * { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.stack > *:last-child { padding-bottom: 0; border-bottom: 0; }

/* ==========================================================================
   Front page
   ========================================================================== */
.hero { display: flex; flex-wrap: wrap; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--ink); }
.hero__lead { flex: 2 1 520px; min-width: 0; }
.hero__mid { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__mid > * + * { border-top: 1px solid var(--line); padding-top: 24px; }
.hero__latest { flex: 1 1 260px; min-width: 0; align-self: flex-start; }
.hero__latest .label-head { margin-bottom: 0; }

.trust { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.trust > div { flex: 1 1 220px; }
.trust span { color: var(--muted); }

.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split__main { flex: 2 1 560px; min-width: 0; }
.split__side { flex: 1 1 280px; min-width: 0; align-self: flex-start; }

.trending { background: var(--card); border: 1px solid var(--line); padding: 24px; }
.trending__list { margin: 0; padding: 0; list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 16px; }
.trending__list li { display: flex; gap: 14px; counter-increment: t; }
.trending__list li::before { content: counter(t); font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; color: var(--accent-ink); min-width: 22px; }
.trending__list a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.3; }
.trending__list a:hover { color: var(--accent-ink); }

.cols { display: flex; flex-wrap: wrap; gap: 40px; }
.cols > * { flex: 1 1 260px; min-width: 0; }

.tools-band { margin: 36px 0; background: var(--surface-dark); color: #fff; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.tools-band__text { flex: 2 1 400px; }
.tools-band .kicker { color: #FF8A9B; display: block; margin-bottom: 8px; }
.tools-band h2 { font-family: var(--display); font-size: 32px; line-height: 1.2; margin-bottom: 10px; }
.tools-band p { margin: 0; color: var(--on-dark); }
.tools-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; min-height: 44px; padding: 12px 22px; font-weight: 600; text-decoration: none; background: var(--accent); color: #fff; border: 1px solid var(--accent); cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--light { background: #fff; color: #121212; border-color: #fff; }
.btn--light:hover { background: #E4DFD6; color: #121212; border-color: #E4DFD6; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: #121212; }

.newsletter { padding: 8px 0 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; border-bottom: 1px solid var(--ink); }
.newsletter__text { flex: 1 1 360px; }
.newsletter h2 { font-family: var(--display); font-size: 30px; line-height: 1.2; margin-bottom: 8px; }
.newsletter p { margin: 0; color: var(--body); font-family: var(--serif); font-size: 18px; }
.newsletter form { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input[type="email"] { flex: 1 1 220px; min-height: 48px; padding: 0 14px; border: 1px solid var(--ink); background: var(--card); font: inherit; font-size: 16px; border-radius: 0; }
.newsletter .btn { min-height: 48px; padding: 0 24px; }

.standards { padding: 40px 0; }
.standards h2 { font-family: var(--display); font-size: 30px; margin-bottom: 24px; }
.standards h3 { font-size: 16px; margin-bottom: 8px; }
.standards p { font-size: 15px; color: var(--body); margin: 0; }

/* ==========================================================================
   Archives (category, tag, author, search)
   ========================================================================== */
.archive-head { padding: 36px 0 24px; border-bottom: 3px solid var(--ink); margin-bottom: 32px; }
.archive-head .kicker { display: block; margin-bottom: 8px; }
.archive-head h1 { font-family: var(--display); font-weight: 900; font-size: 48px; line-height: 1.1; }
.archive-head__desc { margin: 12px 0 0; max-width: 760px; font-family: var(--serif); font-size: 19px; color: var(--body); }
.archive-layout { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 48px; }
.archive-layout__main { flex: 3 1 600px; min-width: 0; }
.archive-layout__side { flex: 1 1 280px; min-width: 0; align-self: flex-start; display: flex; flex-direction: column; gap: 32px; }
.archive-feature { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--ink); }
.archive-feature .card { flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.archive-feature .card__media { flex: 3 1 360px; aspect-ratio: 16 / 9; }
.archive-feature .card__body { flex: 2 1 280px; display: flex; flex-direction: column; gap: 10px; }
.archive-feature .card__title { font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1.15; }
.archive-feature .card__dek { font-size: 18px; }
.archive-grid { display: flex; flex-wrap: wrap; gap: 32px 28px; }
.archive-grid > * { flex: 1 1 260px; min-width: 0; max-width: calc(50% - 14px); }
.no-results { padding: 48px 0; font-family: var(--serif); font-size: 20px; }

.navigation.pagination { margin: 40px 0 0; border-top: 1px solid var(--ink); padding-top: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nav-links .page-numbers { display: inline-block; min-width: 44px; min-height: 44px; padding: 10px 14px; text-align: center; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-links .dots { border: 0; background: none; }

/* ==========================================================================
   Single article
   ========================================================================== */
.crumbs { padding: 20px 0 0; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-ink); }

.article-layout { display: flex; flex-wrap: wrap; gap: 48px; padding: 24px 0 56px; }
.article { flex: 3 1 620px; min-width: 0; max-width: 820px; }
.article__side { flex: 1 1 280px; min-width: 0; align-self: flex-start; display: flex; flex-direction: column; gap: 32px; }
.article__head { margin-bottom: 24px; }
.article__head .kicker { display: block; margin-bottom: 12px; }
.article__title { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1.12; margin-bottom: 16px; }
.article__dek { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--body); margin: 0 0 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; font-size: 14px; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline a { color: var(--ink); font-weight: 600; }
.article__figure { margin: 0 0 28px; }
.article__figure img { display: block; width: 100%; height: auto; }
.article__figure figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }

.entry-content { font-family: var(--serif); font-size: 19px; line-height: 1.75; color: var(--ink); }
.entry-content > * + * { margin-top: 1.2em; margin-bottom: 0; }
.entry-content h2 { font-family: var(--display); font-size: 30px; line-height: 1.25; margin-top: 1.8em; }
.entry-content h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; line-height: 1.3; margin-top: 1.6em; }
.entry-content h4 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent); font-size: 22px; line-height: 1.5; font-style: italic; }
.entry-content blockquote cite { display: block; font-size: 14px; font-style: normal; color: var(--muted); margin-top: 8px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-family: var(--sans); font-size: 13px; color: var(--muted); padding-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--ph); }
.entry-content .alignwide { max-width: none; }
.entry-content .wp-block-image img { height: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.tags a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; }
.tags a:hover { border-color: var(--ink); }

.share { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.share strong { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.share a { color: var(--ink); font-weight: 600; }

.author-box { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 40px; padding: 24px; background: var(--card); border: 1px solid var(--line); }
.author-box img { border-radius: 50%; width: 72px; height: 72px; }
.author-box__body { flex: 1 1 260px; }
.author-box__name { font-family: var(--display); font-size: 22px; margin-bottom: 4px; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box p { margin: 0 0 8px; font-size: 15px; color: var(--body); }

.related { padding: 8px 0 48px; }
.related .section__head { margin-top: 0; }

/* Comments */
.comments { margin-top: 48px; padding-top: 32px; border-top: 3px solid var(--ink); }
.comments h2 { font-family: var(--display); font-size: 26px; margin-bottom: 20px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.comment-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.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%; padding: 10px 12px; border: 1px solid var(--ink); background: var(--card); font: inherit; border-radius: 0; }
.comment-form .submit { background: var(--accent); color: #fff; border: 0; min-height: 48px; padding: 0 24px; font: inherit; font-weight: 600; cursor: pointer; }
.comment-form .submit:hover { background: var(--accent-dark); }

/* ==========================================================================
   Static pages and 404
   ========================================================================== */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 64px; }
.page-wrap .article__title { margin-top: 8px; }
.notfound { text-align: center; padding: 72px 0 96px; }
.notfound h1 { font-family: var(--display); font-weight: 900; font-size: 64px; }
.notfound p { font-family: var(--serif); font-size: 20px; color: var(--body); }
.notfound .search-form { justify-content: center; margin: 24px 0 40px; }
.notfound .grid { text-align: left; margin-top: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--surface-dark); color: var(--on-dark); margin-top: 0; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-top: 40px; padding-bottom: 24px; }
.footer-grid > div { flex: 1 1 160px; font-size: 14px; }
.footer-grid > .footer-brand { flex: 2 1 280px; }
.footer-brand__name { display: block; font-family: var(--display); font-weight: 900; font-size: 28px; color: #fff; margin-bottom: 10px; }
.footer-brand p { max-width: 360px; margin: 0; }
.footer-grid h2 { font-size: 14px; color: #fff; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { border-top: 1px solid #3A3732; padding-top: 16px; padding-bottom: 28px; font-size: 13px; color: #B9B3A8; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.site-title { font-size: 40px; }
	.card--hero .card__title { font-size: 34px; }
	.article__title, .archive-head h1 { font-size: 36px; }
	.archive-grid > * { max-width: none; }
	.tools-band { padding: 28px; }
}
@media (max-width: 700px) {
	:root { --gutter: 16px; }
	.nav-toggle { display: block; }
	.nav-toggle::after { content: ' +'; }
	.nav-toggle[aria-expanded="true"]::after { content: ' \2212'; }
	.nav-list { display: none; flex-direction: column; gap: 0; padding-bottom: 8px; }
	.nav-list a { padding: 12px 0; border-top: 1px solid rgba(128, 128, 128, 0.35); min-height: 44px; }
	.primary-nav.is-open .nav-list, .is-open .nav-list { display: flex; }
	.masthead { padding-top: 20px; }
	.masthead__side { display: none; }
	.masthead__search { flex: 1 1 100%; justify-content: center; }
	.search-form input[type="search"] { width: 100%; flex: 1; }
	.section__title { font-size: 26px; }
	.card--hero .card__title { font-size: 28px; }
	.card__dek { font-size: 18px; }
	.entry-content { font-size: 18px; }
	.article__dek { font-size: 19px; }
	.tools-band h2 { font-size: 26px; }
}
@media print {
	.topbar, .primary-nav, .ticker, .article__side, .site-footer, .share, .comments, .related { display: none; }
	body { background: var(--card); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* ==========================================================================
   v1.1 additions: form colors, brand layouts, sticky nav, reader features
   ========================================================================== */
input, textarea, select { color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
html[data-theme="dark"] .card__img, html[data-theme="dark"] .article__figure img { filter: brightness(0.92); }

/* Brand */
.site-header { background: var(--hdr-bg); color: var(--hdr-text); }
.brand { display: inline-flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.brand .custom-logo-link { display: inline-flex; }
.lrn-brand-both .site-title { font-size: calc(var(--title-size) * 0.75); }
.lrn-header-left .masthead__brand { order: -1; flex: 1 1 auto; text-align: left; }
.lrn-header-left .brand { justify-content: flex-start; }
.lrn-header-left .masthead__side { display: none; }
.lrn-header-left .masthead__search { flex: 0 1 auto; }

/* Sticky menu bar */
body.lrn-sticky .primary-nav { position: sticky; top: 0; z-index: 90; }
body.admin-bar.lrn-sticky .primary-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar.lrn-sticky .primary-nav { top: 46px; } }

/* Dark-mode button */
.theme-toggle { background: none; border: 1px solid rgba(255, 255, 255, 0.45); color: var(--top-text); min-height: 28px; padding: 0 10px; font: inherit; font-size: 12px; cursor: pointer; }
.theme-toggle:hover { background: rgba(255, 255, 255, 0.15); }

/* Breaking news */
.breaking { background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
.breaking .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.breaking__label { background: #fff; color: #121212; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; }
.breaking a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Reading progress */
.read-progress { position: fixed; top: 0; left: 0; width: 0; height: 4px; background: var(--accent); z-index: 250; transition: width 0.08s linear; }
body.admin-bar .read-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .read-progress { top: 46px; } }

/* Table of contents */
.toc { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 18px 22px; margin: 0 0 32px; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.toc__title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li + li { margin-top: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; }
.entry-content h2[id] { scroll-margin-top: 90px; }

/* Native share button */
.share-native { background: var(--accent); color: #fff; border: 0; min-height: 40px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.share-native[hidden] { display: none; }


/* ==========================================================================
   v1.2: thumbnail rows for every section, Latest Articles
   ========================================================================== */
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.cards-4 .card__title { font-size: 20px; }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: minmax(0, 1fr); } }
.pill { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 10px; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.section--latest { padding-top: 32px; }
