/*
Theme Name: EcomNews
Theme URI: https://wordpress.org/themes/twentysixteen/
Author: EcomNews
Description: A Twenty Sixteen child theme for an economy news desk. Desktop: a modern broadsheet — serif nameplate, hairline rules, sectioned story clusters. Mobile: single column, sticky compact header, no sidebar. Category and tag links print whatever terms you assign. Vanilla posts work; extra meta only enhances. System fonts (no Merriweather). JSON-LD yields to Yoast SEO and Rank Math. Presentation only — no scraping, cron, or bias APIs.
Template: twentysixteen
Version: 1.1.0
Requires at least: 4.4
Tested up to: 6.8
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecomnews
Tags: one-column, two-columns, right-sidebar, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, blog, news

EcomNews — style.css

WHAT: Required child header (Template: twentysixteen) AND all front-end layout.
WHEN: Enqueued as `ecomnews-style` after parent `twentysixteen/style.css`.
IF BROKEN: Open this file, use the TOC. Almost every visual bug lives here.

1. Tokens
2. Kill parent fonts + layout floats
3. Shell + sticky header + paper flag
4. Cluster cards + topic links
5. Sectioned feeds
6. Article
7. Sidebar (desktop only)
8. Footer, forms, pagination
9. Breakpoints
10. Print + reduced motion
*/

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */

.ecomnews {
	--ecom-paper: #efe8d8;
	--ecom-surface: #f7f1e4;
	--ecom-ink: #1c1916;
	--ecom-muted: #5c5850;
	--ecom-faint: #8a857c;
	--ecom-line: #d6cdb8;
	--ecom-line-strong: #c4bba6;
	--ecom-accent: #1f5c4d;
	--ecom-accent-fg: #efe8d8;
	--ecom-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ecom-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--ecom-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--ecom-radius: 8px;
	--ecom-radius-sm: 4px;
	--ecom-header: 52px;
	--ecom-max: 1140px;
	--ecom-article: 40rem;
	--ecom-shadow: none;
	--ecom-grain:
		radial-gradient(rgba(28, 25, 22, 0.045) 0.55px, transparent 0.7px);
	font-family: var(--ecom-font);
	color: var(--ecom-ink);
	background-color: var(--ecom-paper);
	background-image: var(--ecom-grain);
	background-size: 3px 3px;
	-webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------------
   2. Kill parent fonts + layout floats
   Parent uses Merriweather/Montserrat and floats .content-area / .sidebar.
   ------------------------------------------------------------------------- */

body.ecomnews {
	font-family: var(--ecom-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ecom-ink);
	background-color: var(--ecom-paper);
	background-image: var(--ecom-grain);
	background-size: 3px 3px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}

body.ecomnews.ecomnews-menu-open {
	overflow: hidden;
}

.ecomnews button,
.ecomnews input,
.ecomnews select,
.ecomnews textarea,
.ecomnews .main-navigation,
.ecomnews .widget-title,
.ecomnews .rail-block__title {
	font-family: var(--ecom-font);
	color: var(--ecom-ink);
}

.ecomnews h1,
.ecomnews h2,
.ecomnews h3,
.ecomnews h4,
.ecomnews h5,
.ecomnews h6,
.ecomnews .site-title,
.ecomnews .entry-title,
.ecomnews .page-title,
.ecomnews .cluster-card__title,
.ecomnews .article__title,
.ecomnews .section-feed__title {
	font-family: var(--ecom-serif);
	color: var(--ecom-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.ecomnews p {
	text-wrap: pretty;
}

.ecomnews pre,
.ecomnews code,
.ecomnews kbd {
	font-family: var(--ecom-mono);
}

.ecomnews .site,
.ecomnews .site-inner {
	max-width: none;
	margin: 0;
	padding: 0;
}

.ecomnews .site-content {
	display: block;
	width: 100%;
	max-width: var(--ecom-max);
	margin: 0 auto;
	padding: 20px 16px 64px;
	float: none;
}

.ecomnews .content-area,
.ecomnews .sidebar {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.ecomnews .site-header,
.ecomnews .site-header-main,
.ecomnews .site-branding,
.ecomnews .site-header-menu,
.ecomnews .header-image {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	text-align: left;
}

.ecomnews .header-image {
	display: none;
}

.ecomnews a {
	color: var(--ecom-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.ecomnews a:hover {
	color: var(--ecom-ink);
}

.ecomnews :focus-visible {
	outline: 2px solid var(--ecom-accent);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   3. Sticky compact header (mobile-first; desktop adds paper masthead)
   ------------------------------------------------------------------------- */

.ecomnews .site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: color-mix(in oklab, var(--ecom-surface) 92%, transparent);
	backdrop-filter: saturate(1.2) blur(10px);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--ecom-line);
	transition: box-shadow 150ms ease;
}

.ecomnews.has-preview-chrome .site-header {
	top: 40px;
}

.ecomnews .site-header.is-compact {
	box-shadow: 0 8px 24px rgba(28, 25, 22, 0.06);
}

.ecomnews .paper-flag {
	display: none;
}

.ecomnews .site-header-main {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--ecom-header);
	max-width: var(--ecom-max);
	margin: 0 auto;
	padding: 0 16px;
}

.ecomnews .site-branding {
	flex: 1;
	min-width: 0;
}

.ecomnews .site-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ecom-ink);
	text-decoration: none;
}

.ecomnews .site-logo:hover {
	color: var(--ecom-ink);
}

.ecomnews .site-logo__mark {
	display: block;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.ecomnews .site-title {
	margin: 0;
	font-family: var(--ecom-serif);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.ecomnews .site-title span {
	color: inherit;
}

.ecomnews .site-description {
	display: none;
}

.ecomnews .menu-toggle {
	position: relative;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	flex-shrink: 0;
}

.ecomnews .menu-toggle:hover,
.ecomnews .menu-toggle:focus {
	background: transparent;
	color: var(--ecom-ink);
}

.ecomnews .menu-toggle__bars,
.ecomnews .menu-toggle__bars::before,
.ecomnews .menu-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--ecom-ink);
	border-radius: 1px;
	content: "";
	transition: transform 150ms ease, opacity 150ms ease;
}

.ecomnews .menu-toggle__bars::before {
	transform: translateY(-6px);
}

.ecomnews .menu-toggle__bars::after {
	transform: translateY(4px);
}

.ecomnews .menu-toggle.toggled-on .menu-toggle__bars {
	background: transparent;
}

.ecomnews .menu-toggle.toggled-on .menu-toggle__bars::before {
	transform: translateY(0) rotate(45deg);
}

.ecomnews .menu-toggle.toggled-on .menu-toggle__bars::after {
	transform: translateY(-2px) rotate(-45deg);
}

.ecomnews .site-header-menu {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--ecom-surface);
	border-bottom: 1px solid var(--ecom-line);
	padding: 8px 16px 20px;
	box-shadow: 0 16px 32px rgba(28, 25, 22, 0.08);
}

.ecomnews .site-header-menu.toggled-on {
	display: block;
}

.ecomnews .main-navigation {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.ecomnews .main-navigation ul,
.ecomnews .primary-menu {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ecomnews .main-navigation li {
	float: none;
	display: block;
	margin: 0;
}

.ecomnews .main-navigation a {
	display: block;
	padding: 12px 4px;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ecom-ink);
	text-decoration: none;
	border: 0;
}

.ecomnews .main-navigation a:hover,
.ecomnews .main-navigation .current-menu-item > a {
	color: var(--ecom-accent);
}

.ecomnews .main-navigation .sub-menu {
	margin: 0 0 8px 12px;
	padding: 0;
	position: static;
	background: transparent;
	box-shadow: none;
	border: 0;
}

.ecomnews .dropdown-toggle {
	display: none;
}

.ecomnews .header-search {
	margin-top: 8px;
}

.ecomnews .search-form {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	border: 1px solid var(--ecom-line-strong);
	border-radius: 999px;
	background: var(--ecom-paper);
	overflow: hidden;
}

.ecomnews .search-form__label {
	flex: 1;
	margin: 0;
	display: block;
}

.ecomnews .search-field {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 0.9375rem;
	color: var(--ecom-ink);
}

.ecomnews .search-submit {
	width: 44px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ecom-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ecomnews .search-submit:hover {
	background: transparent;
	color: var(--ecom-accent);
}

/* -------------------------------------------------------------------------
   4. Cluster cards + topic links
   ------------------------------------------------------------------------- */

.ecomnews .cluster-card {
	display: grid;
	gap: 12px;
	padding: 16px;
	background: var(--ecom-surface);
	border: 1px solid var(--ecom-line);
	border-radius: var(--ecom-radius);
}

.ecomnews .cluster-card__media {
	display: block;
	border-radius: var(--ecom-radius-sm);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--ecom-line);
}

.ecomnews .cluster-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	outline: 1px solid rgba(28, 25, 22, 0.18);
	outline-offset: -1px;
}

.ecomnews .cluster-card__body {
	min-width: 0;
}

.ecomnews .cluster-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.ecomnews .cluster-card__kicker {
	font-family: var(--ecom-font);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ecom-ink);
}

.ecomnews .source-count {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--ecom-paper);
	border: 1px solid var(--ecom-line);
	font-variant-numeric: tabular-nums;
	color: var(--ecom-ink);
	text-decoration: none;
	line-height: 1.4;
}

.ecomnews .source-count__num {
	font-size: 0.8125rem;
	font-weight: 700;
}

.ecomnews .source-count__label {
	font-size: 0.6875rem;
	font-weight: 500;
	color: var(--ecom-muted);
	letter-spacing: 0.02em;
}

.ecomnews .cluster-card__title {
	margin: 0 0 8px;
	font-size: 1.2rem;
	line-height: 1.22;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ecomnews .cluster-card__title a {
	color: var(--ecom-ink);
	text-decoration: none;
}

.ecomnews .cluster-card__title a:hover {
	color: var(--ecom-accent);
}

.ecomnews .cluster-card__dek {
	margin: 0 0 10px;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--ecom-muted);
}

.ecomnews .cluster-card__foot {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 0.75rem;
	color: var(--ecom-faint);
}

.ecomnews .cluster-card--featured .cluster-card__title {
	font-size: 1.55rem;
}

.ecomnews .topic-links {
	margin: 2px 0 0;
}

.ecomnews .topic-links__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ecomnews .topic-links__item a {
	display: inline-block;
	text-decoration: none;
	line-height: 1.3;
}

.ecomnews .topic-links__item--cat a {
	font-family: var(--ecom-font);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ecom-ink);
	border-bottom: 1px solid var(--ecom-ink);
	padding: 6px 0 2px;
}

.ecomnews .topic-links__item--cat a:hover {
	color: var(--ecom-accent);
	border-bottom-color: var(--ecom-accent);
}

.ecomnews .topic-links__item--tag a {
	font-size: 0.6875rem;
	font-weight: 500;
	color: var(--ecom-muted);
	border: 1px solid var(--ecom-line-strong);
	padding: 6px 10px;
	min-height: 32px;
	display: inline-flex;
	align-items: center;
}

.ecomnews .topic-links__item--tag a:hover {
	color: var(--ecom-ink);
	border-color: var(--ecom-ink);
}

.ecomnews .article .topic-links {
	margin: 4px 0 0;
}

/* -------------------------------------------------------------------------
   5. Sectioned feeds
   ------------------------------------------------------------------------- */

.ecomnews .site-main {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.ecomnews .section-feed__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	padding: 8px 0 6px;
	border-top: 3px double var(--ecom-ink);
	border-bottom: 1px solid var(--ecom-ink);
}

.ecomnews .section-feed__title {
	margin: 0;
	font-family: var(--ecom-font);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ecomnews .page-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
}

.ecomnews .page-header {
	margin: 0;
	border: 0;
	padding: 0;
}

.ecomnews .taxonomy-description {
	margin-top: 8px;
	color: var(--ecom-muted);
	font-size: 0.9375rem;
}

.ecomnews .section-feed__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

/* -------------------------------------------------------------------------
   6. Article (single / page) — one column, readable measure
   ------------------------------------------------------------------------- */

.ecomnews.single .site-content,
.ecomnews.page .site-content,
.ecomnews.error404 .site-content,
.ecomnews:has(.article) .site-content {
	max-width: 760px;
}

.ecomnews .article__header {
	margin-bottom: 20px;
}

.ecomnews .article__kicker {
	margin: 0 0 10px;
	font-family: var(--ecom-font);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ecom-ink);
}

.ecomnews .article__title {
	margin: 0 0 12px;
	font-size: clamp(1.85rem, 4.4vw, 2.65rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
}

.ecomnews .article__dek {
	margin: 0 0 14px;
	font-family: var(--ecom-serif);
	font-size: 1.125rem;
	line-height: 1.4;
	color: var(--ecom-muted);
	font-weight: 400;
	font-style: italic;
}

.ecomnews .article__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	font-size: 0.8125rem;
	color: var(--ecom-muted);
}

.ecomnews .article__figure {
	margin: 0 0 24px;
}

.ecomnews .article__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ecom-radius-sm);
	outline: 1px solid rgba(28, 25, 22, 0.18);
	outline-offset: -1px;
}

.ecomnews .article__figure figcaption {
	margin-top: 8px;
	font-size: 0.8125rem;
	color: var(--ecom-faint);
}

.ecomnews .article__content {
	font-size: 1.0625rem;
	line-height: 1.65;
	max-width: var(--ecom-article);
}

.ecomnews .article__content p {
	margin: 0 0 1.1em;
}

.ecomnews .article__content p:first-of-type {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--ecom-ink);
}

.ecomnews .article__content h2,
.ecomnews .article__content h3 {
	margin: 1.6em 0 0.5em;
	line-height: 1.2;
}

.ecomnews .article__footer {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid var(--ecom-line);
	font-size: 0.875rem;
	color: var(--ecom-muted);
}

.ecomnews .post-navigation {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--ecom-ink);
	display: grid;
	gap: 16px;
}

.ecomnews .post-navigation .meta-nav {
	display: block;
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ecom-faint);
}

.ecomnews .post-navigation .post-title {
	color: var(--ecom-ink);
	font-family: var(--ecom-serif);
	font-weight: 700;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
   7. Sidebar — hidden on mobile, rail on desktop feeds only
   ------------------------------------------------------------------------- */

.ecomnews .sidebar {
	display: none;
}

.ecomnews .rail-block,
.ecomnews .widget {
	padding: 0 0 16px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ecom-line);
	border-radius: 0;
	margin: 0 0 20px;
}

.ecomnews .rail-block__title,
.ecomnews .widget-title {
	margin: 0 0 10px;
	padding-bottom: 6px;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--ecom-ink);
}

.ecomnews .rail-block__list,
.ecomnews .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ecomnews .rail-block__list a,
.ecomnews .widget li a {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid var(--ecom-line);
	color: var(--ecom-ink);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 600;
}

.ecomnews .rail-block__list li:last-child a {
	border-bottom: 0;
}

.ecomnews .rail-block__count {
	color: var(--ecom-faint);
	font-variant-numeric: tabular-nums;
	font-weight: 500;
}

/* -------------------------------------------------------------------------
   8. Footer, comments leftover, pagination, 404
   ------------------------------------------------------------------------- */

.ecomnews .site-footer {
	border-top: 3px double var(--ecom-ink);
	background: transparent;
	padding: 28px 16px 40px;
}

.ecomnews .site-footer-inner {
	max-width: var(--ecom-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ecomnews .site-footer__brand a {
	color: var(--ecom-ink);
	font-family: var(--ecom-serif);
	font-weight: 700;
	text-decoration: none;
	letter-spacing: -0.02em;
}

.ecomnews .site-footer__tag {
	display: block;
	margin-top: 4px;
	color: var(--ecom-muted);
	font-size: 0.875rem;
	font-weight: 400;
}

.ecomnews .footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ecomnews .footer-menu a {
	color: var(--ecom-muted);
	text-decoration: none;
	font-size: 0.875rem;
}

.ecomnews .site-info {
	margin: 0;
	font-size: 0.75rem;
	color: var(--ecom-faint);
}

.ecomnews .pagination,
.ecomnews .post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ecomnews .page-numbers,
.ecomnews .nav-links a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--ecom-line);
	border-radius: 0;
	background: var(--ecom-surface);
	color: var(--ecom-ink);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.ecomnews .page-numbers.current {
	background: var(--ecom-ink);
	color: var(--ecom-paper);
	border-color: var(--ecom-ink);
}

.ecomnews .no-results .page-title,
.ecomnews .error-404 .page-title {
	font-size: 1.75rem;
	letter-spacing: -0.03em;
	text-transform: none;
}

.ecomnews .comments-area {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--ecom-line);
}

/* Hide parent genericons in our chrome */
.ecomnews .menu-toggle::before,
.ecomnews .dropdown-toggle::after,
.ecomnews .search-submit::before {
	display: none !important;
	content: none !important;
}

/* -------------------------------------------------------------------------
   9. Breakpoints — 910px is Twenty Sixteen’s two-column gate
   ------------------------------------------------------------------------- */

@media (min-width: 910px) {
	.ecomnews {
		--ecom-header: 56px;
		--ecom-radius: 0px;
		--ecom-radius-sm: 0px;
	}

	.ecomnews .site-header {
		background: var(--ecom-paper);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		border-bottom: 3px double var(--ecom-ink);
		box-shadow: none;
	}

	.ecomnews .site-header.is-compact {
		background: color-mix(in oklab, var(--ecom-paper) 94%, transparent);
		backdrop-filter: saturate(1.1) blur(8px);
		-webkit-backdrop-filter: saturate(1.1) blur(8px);
		border-bottom: 1px solid var(--ecom-ink);
		box-shadow: 0 10px 24px rgba(28, 25, 22, 0.05);
	}

	.ecomnews .paper-flag {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 16px;
		max-width: var(--ecom-max);
		margin: 0 auto;
		padding: 8px 24px 6px;
		font-family: var(--ecom-font);
		font-size: 0.6875rem;
		font-weight: 600;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--ecom-muted);
		border-bottom: 1px solid var(--ecom-ink);
	}

	.ecomnews .paper-flag__date,
	.ecomnews .paper-flag__tag {
		margin: 0;
	}

	.ecomnews .site-header.is-compact .paper-flag {
		display: none;
	}

	.ecomnews .site-header-main {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding: 0 24px;
		gap: 0 24px;
		min-height: 0;
	}

	.ecomnews .site-branding {
		flex: 1 0 100%;
		padding: 14px 0 10px;
		text-align: center;
	}

	.ecomnews .site-logo {
		gap: 12px;
		justify-content: center;
	}

	.ecomnews .site-logo__mark {
		display: none;
	}

	.ecomnews .site-title {
		font-size: 2.45rem;
		letter-spacing: 0.07em;
		text-transform: uppercase;
		font-weight: 700;
	}

	.ecomnews .site-header.is-compact .site-branding {
		flex: 0 0 auto;
		padding: 0;
		text-align: left;
	}

	.ecomnews .site-header.is-compact .site-logo {
		justify-content: flex-start;
	}

	.ecomnews .site-header.is-compact .site-logo__mark {
		display: block;
		width: 26px;
		height: 26px;
	}

	.ecomnews .site-header.is-compact .site-title {
		font-size: 1.2rem;
		letter-spacing: -0.03em;
		text-transform: none;
	}

	.ecomnews .site-content {
		padding: 28px 24px 80px;
	}

	.ecomnews .menu-toggle {
		display: none;
	}

	.ecomnews .site-header-menu,
	.ecomnews .site-header-menu.toggled-on {
		display: flex;
		position: static;
		flex: 1 1 100%;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
		padding: 6px 0 10px;
		border: 0;
		border-top: 1px solid var(--ecom-ink);
		box-shadow: none;
		background: transparent;
	}

	.ecomnews .site-header.is-compact .site-header-menu,
	.ecomnews .site-header.is-compact .site-header-menu.toggled-on {
		flex: 1 1 auto;
		border-top: 0;
		padding: 0;
	}

	.ecomnews .main-navigation ul,
	.ecomnews .primary-menu {
		flex-direction: row;
		align-items: center;
		gap: 4px 22px;
	}

	.ecomnews .main-navigation a {
		padding: 8px 0;
		font-size: 0.8125rem;
		font-weight: 650;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.ecomnews .main-navigation .sub-menu {
		position: absolute;
		margin: 0;
		padding: 8px;
		background: var(--ecom-surface);
		border: 1px solid var(--ecom-ink);
		border-radius: 0;
		box-shadow: 0 12px 28px rgba(28, 25, 22, 0.1);
		min-width: 180px;
	}

	.ecomnews .header-search {
		margin: 0;
		width: 210px;
	}

	.ecomnews .search-form {
		border-radius: 0;
		border-color: var(--ecom-ink);
		background: transparent;
	}

	.ecomnews .search-field {
		height: 34px;
		font-size: 0.8125rem;
	}

	.ecomnews .search-submit {
		height: 34px;
		width: 38px;
	}

	.ecomnews .cluster-card {
		background: transparent;
		border: 0;
		border-bottom: 1px solid var(--ecom-line-strong);
		border-radius: 0;
		padding: 0 0 20px;
		gap: 14px;
	}

	.ecomnews .cluster-card__media {
		border-radius: 0;
	}

	.ecomnews .source-count {
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.ecomnews .section-feed__grid {
		gap: 20px;
	}

	.ecomnews .section-feed__grid.is-split {
		grid-template-columns: 1fr 1fr;
		column-gap: 32px;
		row-gap: 0;
	}

	.ecomnews .section-feed__grid.is-split .cluster-card:nth-child(odd) {
		padding-right: 20px;
		border-right: 1px solid var(--ecom-line);
	}

	.ecomnews .section-feed__grid.is-split .cluster-card:nth-child(even) {
		padding-left: 20px;
	}

	.ecomnews .section-feed__grid.is-top {
		grid-template-columns: 1.35fr 1fr;
		column-gap: 32px;
		row-gap: 0;
	}

	.ecomnews .section-feed__grid.is-top .cluster-card:first-child {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1.15fr 0.9fr;
		grid-template-rows: 1fr;
		align-items: stretch;
		gap: 28px;
		padding: 4px 0 24px;
		margin-bottom: 8px;
		min-height: 340px;
		border-bottom: 2px solid var(--ecom-ink);
	}

	.ecomnews .section-feed__grid.is-top .cluster-card:first-child.has-thumb .cluster-card__media {
		position: relative;
		aspect-ratio: auto;
		height: 100%;
		min-height: 340px;
		align-self: stretch;
		overflow: hidden;
		border-radius: 0;
	}

	.ecomnews .section-feed__grid.is-top .cluster-card:first-child.has-thumb .cluster-card__media img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.ecomnews .section-feed__grid.is-top .cluster-card:first-child .cluster-card__body {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 8px 0 8px 4px;
	}

	.ecomnews .cluster-card--featured .cluster-card__title {
		font-size: 2.35rem;
		letter-spacing: -0.015em;
		line-height: 1.1;
	}

	.ecomnews .cluster-card--featured .cluster-card__dek {
		font-family: var(--ecom-serif);
		font-size: 1.0625rem;
		line-height: 1.45;
		font-style: italic;
		color: var(--ecom-ink);
	}

	.ecomnews.home .site-content,
	.ecomnews.blog .site-content,
	.ecomnews.archive .site-content,
	.ecomnews.search .site-content,
	.ecomnews:has(.sidebar) .site-content {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 240px;
		gap: 48px;
		align-items: start;
	}

	.ecomnews.home .sidebar,
	.ecomnews.blog .sidebar,
	.ecomnews.archive .sidebar,
	.ecomnews.search .sidebar,
	.ecomnews:has(.sidebar) .sidebar {
		display: block;
		position: sticky;
		top: calc(var(--ecom-header) + 28px);
		padding-top: 8px;
		border-top: 3px double var(--ecom-ink);
	}

	.ecomnews .article__figure img {
		border-radius: 0;
	}

	.ecomnews .site-footer-inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		padding: 0 8px;
	}

	.ecomnews .post-navigation {
		grid-template-columns: 1fr 1fr;
	}

	.ecomnews .topic-links__item--tag a {
		min-height: 0;
		padding: 2px 7px;
	}
}

/* -------------------------------------------------------------------------
   10. Print + reduced motion
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.ecomnews .site-header,
	.ecomnews .menu-toggle__bars,
	.ecomnews .menu-toggle__bars::before,
	.ecomnews .menu-toggle__bars::after {
		transition: none;
	}

	.ecomnews .site-header {
		backdrop-filter: none;
	}
}

@media print {
	.ecomnews .site-header,
	.ecomnews .sidebar,
	.ecomnews .site-footer,
	.ecomnews .search-form,
	.ecomnews .menu-toggle {
		display: none !important;
	}

	.ecomnews .site-content {
		max-width: none;
		padding: 0;
	}
}
