/* Sheyde Mag — magazine archive (hero + card grid) */
body.category:not(.woocommerce),
body.tag:not(.woocommerce),
body.blog,
body.archive:not(.woocommerce):not(.tax-product_cat):not(.post-type-archive-product) {
	--sheyde-news-card: #16161a;
	--sheyde-news-border: #2a2a32;
	--sheyde-news-text: #f5f5f7;
	--sheyde-news-muted: #a8a8b3;
	--sheyde-news-cyan: #2fd6d2;
	--sheyde-news-bg: #0a0a0c;
	scroll-padding-top: 120px;
}

/* Title / hero header */
body.category:not(.woocommerce) .hero-section,
body.tag:not(.woocommerce) .hero-section,
body.blog .hero-section,
body.archive:not(.woocommerce):not(.tax-product_cat) .hero-section {
	margin-bottom: 8px !important;
	padding: 8px 16px 0 !important;
	max-width: 1200px;
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}

body.category:not(.woocommerce) .page-title,
body.tag:not(.woocommerce) .page-title,
body.blog .page-title,
body.archive:not(.woocommerce):not(.tax-product_cat) .page-title {
	color: #fff !important;
	opacity: 1 !important;
	font-weight: 800 !important;
	margin: 4px 0 12px !important;
	font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
	letter-spacing: -0.02em;
}

body.category:not(.woocommerce) .page-title .ct-title-label,
body.tag:not(.woocommerce) .page-title .ct-title-label,
body.blog .page-title .ct-title-label,
body.archive:not(.woocommerce):not(.tax-product_cat) .page-title .ct-title-label {
	color: var(--sheyde-news-cyan) !important;
	opacity: 1 !important;
	font-weight: 700 !important;
	margin-inline-end: 0.35em;
}

/* Sub-nav chips */
.sheyde-mag-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
}

.sheyde-mag-nav a {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid var(--sheyde-news-border);
	background: #121216;
	color: var(--sheyde-news-text) !important;
	text-decoration: none !important;
	font-size: 0.86rem;
	font-weight: 600;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sheyde-mag-nav a:hover,
.sheyde-mag-nav a.is-active {
	border-color: rgba(47, 214, 210, 0.55);
	background: rgba(47, 214, 210, 0.12);
	color: var(--sheyde-news-cyan) !important;
}

/* Grid container — never single huge list */
body.category:not(.woocommerce) .entries,
body.tag:not(.woocommerce) .entries,
body.blog .entries,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries,
body.category:not(.woocommerce) .entries[data-layout],
body.tag:not(.woocommerce) .entries[data-layout],
body.blog .entries[data-layout],
body.archive:not(.woocommerce):not(.tax-product_cat) .entries[data-layout] {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 18px !important;
	align-items: stretch !important;
	max-width: 1200px;
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
	padding-inline: 16px;
	padding-bottom: 40px;
}

/* First post = magazine hero spanning all columns */
body.category:not(.woocommerce) .entries > article.entry-card:first-child,
body.tag:not(.woocommerce) .entries > article.entry-card:first-child,
body.blog .entries > article.entry-card:first-child,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child,
body.category:not(.woocommerce) .entries > article.sheyde-mag-hero,
body.tag:not(.woocommerce) .entries > article.sheyde-mag-hero,
body.blog .entries > article.sheyde-mag-hero,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.sheyde-mag-hero {
	grid-column: 1 / -1 !important;
	display: grid !important;
	grid-template-columns: 1.35fr 1fr !important;
	grid-template-rows: auto auto auto auto !important;
	gap: 0 22px !important;
	align-items: center !important;
	padding: 0 !important;
	min-height: 0 !important;
}

body.category:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container,
body.tag:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container,
body.blog .entries > article.entry-card:first-child .ct-media-container,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .ct-media-container {
	grid-column: 1;
	grid-row: 1 / span 4;
	align-self: stretch;
	aspect-ratio: 16 / 10 !important;
	min-height: 220px !important;
	max-height: 360px !important;
	border-radius: 16px 0 0 16px !important;
}

body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
body.blog .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"] {
	grid-column: 2;
	grid-row: 1;
	padding: 22px 22px 0 0 !important;
	margin: 0 !important;
}

body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
body.blog .entries > article.entry-card:first-child .entry-title,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-title {
	grid-column: 2;
	grid-row: 2;
	padding: 8px 22px 0 0 !important;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
	line-height: 1.45 !important;
}

body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt,
body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt,
body.blog .entries > article.entry-card:first-child .entry-excerpt,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-excerpt {
	grid-column: 2;
	grid-row: 3;
	padding: 8px 22px 0 0 !important;
	-webkit-line-clamp: 4;
}

body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
body.blog .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"] {
	grid-column: 2;
	grid-row: 4;
	padding: 10px 22px 22px 0 !important;
	margin: 0 !important;
}

@media (max-width: 900px) {
	/* v1.1.1: include [data-layout] variants so these beat the 3-col base rule (specificity bug in 1.1.0) */
	body.category:not(.woocommerce) .entries,
	body.tag:not(.woocommerce) .entries,
	body.blog .entries,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries,
	body.category:not(.woocommerce) .entries[data-layout],
	body.tag:not(.woocommerce) .entries[data-layout],
	body.blog .entries[data-layout],
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries[data-layout] {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child,
	body.blog .entries > article.entry-card:first-child,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 8px !important;
		grid-template-columns: none !important;
		grid-template-rows: none !important;
		padding: 0 0 16px !important;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container,
	body.blog .entries > article.entry-card:first-child .ct-media-container,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .ct-media-container {
		grid-column: auto;
		grid-row: auto;
		align-self: auto;
		max-height: 300px !important;
		min-height: 0 !important;
		border-radius: 0 !important;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt,
	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
	body.blog .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
	body.blog .entries > article.entry-card:first-child .entry-title,
	body.blog .entries > article.entry-card:first-child .entry-excerpt,
	body.blog .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-title,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-excerpt,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"] {
		grid-column: auto !important;
		grid-row: auto !important;
		padding: 0 16px !important;
	}
}

@media (max-width: 560px) {
	body.category:not(.woocommerce) .entries,
	body.tag:not(.woocommerce) .entries,
	body.blog .entries,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries,
	body.category:not(.woocommerce) .entries[data-layout],
	body.tag:not(.woocommerce) .entries[data-layout],
	body.blog .entries[data-layout],
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries[data-layout] {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
		padding-inline: 0 !important;
		padding-bottom: 8px !important;
	}
}

/* Cards */
body.category:not(.woocommerce) article.entry-card,
body.tag:not(.woocommerce) article.entry-card,
body.blog article.entry-card,
body.archive:not(.woocommerce):not(.tax-product_cat) article.entry-card,
body.category:not(.woocommerce) .entries .entry-card,
body.tag:not(.woocommerce) .entries .entry-card,
body.blog .entries .entry-card,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries .entry-card {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
	background: var(--sheyde-news-card) !important;
	background-color: var(--sheyde-news-card) !important;
	border: 1px solid var(--sheyde-news-border) !important;
	border-radius: 16px !important;
	padding: 0 0 14px !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32) !important;
	overflow: hidden !important;
	opacity: 1 !important;
	visibility: visible !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	color: var(--sheyde-news-text) !important;
	text-align: right !important;
	direction: rtl !important;
	box-sizing: border-box !important;
	transition: transform 0.15s ease, border-color 0.15s ease;
}

body.category:not(.woocommerce) article.entry-card:hover,
body.tag:not(.woocommerce) article.entry-card:hover,
body.blog article.entry-card:hover,
body.archive:not(.woocommerce):not(.tax-product_cat) article.entry-card:hover {
	transform: translateY(-2px);
	border-color: rgba(47, 214, 210, 0.45) !important;
}

body.category:not(.woocommerce) article.entry-card > *,
body.tag:not(.woocommerce) article.entry-card > *,
body.blog article.entry-card > *,
body.archive:not(.woocommerce):not(.tax-product_cat) article.entry-card > * {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Compact card images — never full-page huge */
body.category:not(.woocommerce) .entry-card .ct-media-container,
body.tag:not(.woocommerce) .entry-card .ct-media-container,
body.blog .entry-card .ct-media-container,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .ct-media-container {
	order: -2 !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	overflow: hidden !important;
	background: #121218 !important;
	aspect-ratio: 16 / 9 !important;
	max-height: 200px !important;
	min-height: 120px !important;
	opacity: 1 !important;
}

body.category:not(.woocommerce) .entry-card .boundless-image,
body.tag:not(.woocommerce) .entry-card .boundless-image,
body.blog .entry-card .boundless-image,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .boundless-image {
	width: 100% !important;
	margin: 0 !important;
	margin-inline: 0 !important;
	max-height: inherit !important;
}

body.category:not(.woocommerce) .entry-card .ct-media-container img,
body.tag:not(.woocommerce) .entry-card .ct-media-container img,
body.blog .entry-card .ct-media-container img,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .ct-media-container img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 200px !important;
	object-fit: cover !important;
	aspect-ratio: 16 / 9 !important;
	opacity: 1 !important;
	border-radius: 0 !important;
}

body.category:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container img,
body.tag:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container img,
body.blog .entries > article.entry-card:first-child .ct-media-container img,
body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .ct-media-container img {
	max-height: 360px !important;
}

body.category:not(.woocommerce) .entry-card .entry-meta,
body.tag:not(.woocommerce) .entry-card .entry-meta,
body.blog .entry-card .entry-meta,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-meta {
	order: -1 !important;
	margin: 0 !important;
	padding: 10px 14px 0 !important;
	color: var(--sheyde-news-muted) !important;
	opacity: 1 !important;
	font-size: 0.76rem !important;
}

body.category:not(.woocommerce) .entry-card .entry-meta a,
body.tag:not(.woocommerce) .entry-card .entry-meta a,
body.blog .entry-card .entry-meta a,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-meta a {
	color: var(--sheyde-news-cyan) !important;
	opacity: 1 !important;
}

body.category:not(.woocommerce) .entry-card .entry-title,
body.tag:not(.woocommerce) .entry-card .entry-title,
body.blog .entry-card .entry-title,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-title {
	order: 0 !important;
	margin: 0 !important;
	padding: 2px 14px 0 !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	font-weight: 800 !important;
	color: #fff !important;
	opacity: 1 !important;
	unicode-bidi: plaintext;
}

body.category:not(.woocommerce) .entry-card .entry-title a,
body.tag:not(.woocommerce) .entry-card .entry-title a,
body.blog .entry-card .entry-title a,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-title a {
	color: #fff !important;
	opacity: 1 !important;
	text-decoration: none !important;
}

body.category:not(.woocommerce) .entry-card .entry-title a:hover,
body.tag:not(.woocommerce) .entry-card .entry-title a:hover,
body.blog .entry-card .entry-title a:hover,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-title a:hover {
	color: var(--sheyde-news-cyan) !important;
}

body.category:not(.woocommerce) .entry-card .entry-excerpt,
body.tag:not(.woocommerce) .entry-card .entry-excerpt,
body.blog .entry-card .entry-excerpt,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-excerpt,
body.category:not(.woocommerce) .entry-card .entry-excerpt p,
body.tag:not(.woocommerce) .entry-card .entry-excerpt p,
body.blog .entry-card .entry-excerpt p,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-excerpt p {
	order: 1 !important;
	margin: 0 !important;
	padding: 0 14px !important;
	color: var(--sheyde-news-muted) !important;
	opacity: 1 !important;
	font-size: 0.86rem !important;
	line-height: 1.65 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
}

body.category:not(.woocommerce) .entry-card .entry-excerpt p,
body.tag:not(.woocommerce) .entry-card .entry-excerpt p,
body.blog .entry-card .entry-excerpt p,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-excerpt p {
	padding: 0 !important;
}

body.category:not(.woocommerce) .entry-card > .entry-meta:last-child,
body.tag:not(.woocommerce) .entry-card > .entry-meta:last-child,
body.blog .entry-card > .entry-meta:last-child,
body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card > .entry-meta:last-child {
	order: 2 !important;
	margin-top: auto !important;
	padding-top: 2px !important;
}

/* Kill classic list / huge stacked images if theme flips layout */
body.category:not(.woocommerce) .entries[data-layout="classic"] article.entry-card,
body.tag:not(.woocommerce) .entries[data-layout="classic"] article.entry-card,
body.blog .entries[data-layout="classic"] article.entry-card {
	max-width: 100% !important;
}

/* ==========================================================================
   v1.1.1 — Mobile (<=560px): single stacked column, scrollable chips,
   16px gutters, readable type, no horizontal overflow.
   ========================================================================== */
@media (hover: none) {
	body.category:not(.woocommerce) article.entry-card:hover,
	body.tag:not(.woocommerce) article.entry-card:hover,
	body.blog article.entry-card:hover,
	body.archive:not(.woocommerce):not(.tax-product_cat) article.entry-card:hover {
		transform: none;
	}
}

@media (max-width: 560px) {
	/* Less dead space between site header and page title */
	body.category:not(.woocommerce) .ct-container[data-vertical-spacing*="top"],
	body.tag:not(.woocommerce) .ct-container[data-vertical-spacing*="top"],
	body.blog .ct-container[data-vertical-spacing*="top"],
	body.archive:not(.woocommerce):not(.tax-product_cat) .ct-container[data-vertical-spacing*="top"] {
		padding-top: 18px !important;
	}

	/* Title block: container already gives 16px gutters */
	body.category:not(.woocommerce) .hero-section,
	body.tag:not(.woocommerce) .hero-section,
	body.blog .hero-section,
	body.archive:not(.woocommerce):not(.tax-product_cat) .hero-section {
		padding: 0 !important;
		margin-bottom: 4px !important;
	}

	body.category:not(.woocommerce) .page-title,
	body.tag:not(.woocommerce) .page-title,
	body.blog .page-title,
	body.archive:not(.woocommerce):not(.tax-product_cat) .page-title {
		font-size: 1.45rem !important;
		line-height: 1.4 !important;
		margin: 0 0 12px !important;
	}

	/* Chips: one horizontally scrollable row, edge-to-edge, no scrollbar */
	.sheyde-mag-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		scroll-padding-inline: 16px;
		scrollbar-width: none;
		-ms-overflow-style: none;
		gap: 8px;
		margin: 0 -16px 16px;
		padding: 2px 16px 4px;
		max-width: none;
		width: auto;
	}

	.sheyde-mag-nav::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}

	.sheyde-mag-nav a {
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align: start;
		padding: 7px 14px;
		font-size: 0.84rem;
		line-height: 1.4;
	}

	/* Cards: 16px inner padding, readable sizes */
	body.category:not(.woocommerce) .entries .entry-card,
	body.tag:not(.woocommerce) .entries .entry-card,
	body.blog .entries .entry-card,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries .entry-card {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 0 0 14px !important;
		gap: 6px !important;
		border-radius: 14px !important;
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28) !important;
	}

	body.category:not(.woocommerce) .entry-card .ct-media-container,
	body.tag:not(.woocommerce) .entry-card .ct-media-container,
	body.blog .entry-card .ct-media-container,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .ct-media-container,
	body.category:not(.woocommerce) .entry-card .ct-media-container img,
	body.tag:not(.woocommerce) .entry-card .ct-media-container img,
	body.blog .entry-card .ct-media-container img,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .ct-media-container img {
		aspect-ratio: 16 / 9 !important;
		max-height: none !important;
		min-height: 0 !important;
		height: auto !important;
	}

	body.category:not(.woocommerce) .entry-card .ct-media-container img,
	body.tag:not(.woocommerce) .entry-card .ct-media-container img,
	body.blog .entry-card .ct-media-container img,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .ct-media-container img {
		height: 100% !important;
	}

	body.category:not(.woocommerce) .entry-card .entry-meta,
	body.tag:not(.woocommerce) .entry-card .entry-meta,
	body.blog .entry-card .entry-meta,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-meta {
		padding: 8px 16px 0 !important;
		font-size: 0.74rem !important;
		line-height: 1.6 !important;
	}

	body.category:not(.woocommerce) .entry-card .entry-title,
	body.tag:not(.woocommerce) .entry-card .entry-title,
	body.blog .entry-card .entry-title,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-title {
		padding: 0 16px !important;
		font-size: 1rem !important;
		line-height: 1.6 !important;
		overflow-wrap: anywhere;
	}

	body.category:not(.woocommerce) .entry-card .entry-excerpt,
	body.tag:not(.woocommerce) .entry-card .entry-excerpt,
	body.blog .entry-card .entry-excerpt,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-excerpt {
		padding: 0 16px !important;
		font-size: 0.85rem !important;
		line-height: 1.7 !important;
		text-align: start !important;
		-webkit-line-clamp: 2;
	}

	body.category:not(.woocommerce) .entry-card .entry-excerpt p,
	body.tag:not(.woocommerce) .entry-card .entry-excerpt p,
	body.blog .entry-card .entry-excerpt p,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-excerpt p {
		font-size: inherit !important;
		text-align: start !important;
		-webkit-line-clamp: 2;
	}

	body.category:not(.woocommerce) .entry-card > .entry-meta:last-child,
	body.tag:not(.woocommerce) .entry-card > .entry-meta:last-child,
	body.blog .entry-card > .entry-meta:last-child,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card > .entry-meta:last-child {
		padding-top: 4px !important;
	}

	/* Cards without a featured image: give the top meta some breathing room */
	body.category:not(.woocommerce) .entries > article.entry-card:not(.has-post-thumbnail) > .entry-meta:first-child,
	body.tag:not(.woocommerce) .entries > article.entry-card:not(.has-post-thumbnail) > .entry-meta:first-child,
	body.blog .entries > article.entry-card:not(.has-post-thumbnail) > .entry-meta:first-child,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:not(.has-post-thumbnail) > .entry-meta:first-child {
		padding-top: 14px !important;
	}

	/* Hero: single stacked card, image on top 16:9 */
	body.category:not(.woocommerce) .entries > article.entry-card:first-child,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child,
	body.blog .entries > article.entry-card:first-child,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child {
		grid-column: 1 / -1 !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 6px !important;
		padding: 0 0 16px !important;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container,
	body.blog .entries > article.entry-card:first-child .ct-media-container,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .ct-media-container,
	body.category:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container img,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .ct-media-container img,
	body.blog .entries > article.entry-card:first-child .ct-media-container img,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .ct-media-container img {
		aspect-ratio: 16 / 9 !important;
		max-height: none !important;
		min-height: 0 !important;
		border-radius: 0 !important;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
	body.blog .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"],
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-meta[data-id="meta_1"] {
		padding: 10px 16px 0 !important;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
	body.blog .entries > article.entry-card:first-child .entry-title,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-title {
		padding: 0 16px !important;
		font-size: 1.125rem !important;
		line-height: 1.6 !important;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt,
	body.blog .entries > article.entry-card:first-child .entry-excerpt,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-excerpt {
		padding: 0 16px !important;
		-webkit-line-clamp: 3;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt p,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-excerpt p,
	body.blog .entries > article.entry-card:first-child .entry-excerpt p,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-excerpt p {
		-webkit-line-clamp: 3;
	}

	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
	body.blog .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"],
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-meta[data-id="meta_2"] {
		padding: 4px 16px 0 !important;
	}

	/* Pagination: centered, tappable, closer to the grid */
	body.category:not(.woocommerce) .ct-pagination,
	body.tag:not(.woocommerce) .ct-pagination,
	body.blog .ct-pagination,
	body.archive:not(.woocommerce):not(.tax-product_cat) .ct-pagination {
		display: flex !important;
		align-items: center;
		margin-top: 20px !important;
		justify-content: center !important;
		gap: 10px;
		flex-wrap: wrap;
	}

	body.category:not(.woocommerce) .ct-pagination .next,
	body.category:not(.woocommerce) .ct-pagination .prev,
	body.tag:not(.woocommerce) .ct-pagination .next,
	body.tag:not(.woocommerce) .ct-pagination .prev,
	body.blog .ct-pagination .next,
	body.blog .ct-pagination .prev,
	body.archive:not(.woocommerce):not(.tax-product_cat) .ct-pagination .next,
	body.archive:not(.woocommerce):not(.tax-product_cat) .ct-pagination .prev {
		min-height: 44px;
		padding: 0 22px !important;
		border-radius: 999px !important;
		border: 1px solid rgba(47, 214, 210, 0.55) !important;
		background: rgba(47, 214, 210, 0.1) !important;
		color: var(--sheyde-news-cyan) !important;
		font-weight: 700;
	}
}

/* Narrow phones (<=380px) */
@media (max-width: 380px) {
	body.category:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
	body.tag:not(.woocommerce) .entries > article.entry-card:first-child .entry-title,
	body.blog .entries > article.entry-card:first-child .entry-title,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entries > article.entry-card:first-child .entry-title {
		font-size: 1.0625rem !important;
	}

	body.category:not(.woocommerce) .entry-card .entry-title,
	body.tag:not(.woocommerce) .entry-card .entry-title,
	body.blog .entry-card .entry-title,
	body.archive:not(.woocommerce):not(.tax-product_cat) .entry-card .entry-title {
		font-size: 0.95rem !important;
	}
}
