/* ==========================================================================
   News Magazine X SEO Child v1.1.0 — Hero Breadcrumb Banner & Editorial UX
   Matches News Magazine X palette (#f84643 accent, #292929 headings)
   ========================================================================== */

:root {
	--nmxc-accent: #f84643;
	--nmxc-accent-hover: #dc3633;
	--nmxc-heading: #1f242b;
	--nmxc-body: #333c44;
	--nmxc-muted: #67737e;
	--nmxc-surface: #f8f9fb;
	--nmxc-surface-alt: #ffffff;
	--nmxc-page-bg: #f4f6f9;
	--nmxc-border: #e5e9ef;
	--nmxc-radius: 10px;
	--nmxc-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

body.newsx-dark-mode,
body.dark-mode,
[data-theme="dark"] {
	--nmxc-heading: #f1f3f5;
	--nmxc-body: #d2d7dd;
	--nmxc-muted: #9aa5b1;
	--nmxc-surface: #202329;
	--nmxc-surface-alt: #181a1f;
	--nmxc-page-bg: #121418;
	--nmxc-border: #2c313a;
	--nmxc-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* 1. Top Reading Progress Bar (Single Post)
   ========================================================================== */
.nmxc-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	z-index: 99999;
	pointer-events: none;
	background: transparent;
}

.admin-bar .nmxc-reading-progress {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .nmxc-reading-progress {
		top: 46px;
	}
}

.nmxc-reading-progress__bar {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--nmxc-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.08s linear;
}

/* 2. Full-Width Centered Hero Breadcrumb Banner (Single Post)
   ========================================================================== */
.nmxc-hero-banner {
	position: relative;
	overflow: hidden;
	padding: 68px 20px 96px;
	background-color: #10151f;
	color: #ffffff;
	text-align: center;
	isolation: isolate;
}

.nmxc-hero-banner__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.nmxc-hero-banner__bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	filter: saturate(1.05);
}

.nmxc-hero-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		180deg,
		rgba(11, 16, 26, 0.72) 0%,
		rgba(11, 16, 26, 0.78) 55%,
		rgba(11, 16, 26, 0.90) 100%
	);
}

.nmxc-hero-banner__inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.nmxc-hero-breadcrumbs {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 7px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.20);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.80);
}

.nmxc-hero-breadcrumbs a {
	color: rgba(255, 255, 255, 0.90);
	text-decoration: none;
	transition: color 0.18s ease;
}

.nmxc-hero-breadcrumbs a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.nmxc-hero-breadcrumbs__sep {
	opacity: 0.5;
}

.nmxc-hero-breadcrumbs__current {
	color: #f8b84e;
	font-weight: 600;
}

.nmxc-hero-cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 16px;
}

.nmxc-hero-cat-pill {
	display: inline-block;
	padding: 6px 15px;
	border-radius: 999px;
	background: var(--nmxc-accent);
	color: #ffffff;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(248, 70, 67, 0.35);
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.nmxc-hero-cat-pill:hover {
	background: var(--nmxc-accent-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

.nmxc-hero-title {
	margin: 0 auto 16px;
	max-width: 880px;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: clamp(28px, 3.9vw, 48px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.01em;
	color: #ffffff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.nmxc-hero-excerpt {
	margin: 0 auto 20px;
	max-width: 720px;
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.nmxc-hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.78);
}

.nmxc-hero-meta__item {
	display: inline-flex;
	align-items: center;
	color: rgba(255, 255, 255, 0.85);
}

.nmxc-hero-meta__dot {
	opacity: 0.5;
}

/* 3. Structured 2-Column Single Post Shell
   ========================================================================== */
.nmxc-single-shell {
	background: var(--nmxc-page-bg);
	padding: 0 20px 64px;
}

.nmxc-single-container {
	max-width: 1260px;
	margin: -48px auto 0;
	position: relative;
	z-index: 3;
}

.nmxc-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 36px;
	align-items: start;
}

.nmxc-article-card {
	background: var(--nmxc-surface-alt);
	border: 1px solid var(--nmxc-border);
	border-radius: var(--nmxc-radius);
	box-shadow: var(--nmxc-shadow);
	padding: 36px 42px;
}

/* 4. Inline Meta Strip Fallback (only when single.php isn't suppressing it)
   ========================================================================== */
.nmxc-meta-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	margin: 0 0 24px;
	background: var(--nmxc-surface);
	border: 1px solid var(--nmxc-border);
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--nmxc-muted);
}

.nmxc-meta-strip__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.nmxc-meta-strip__item svg {
	color: var(--nmxc-accent);
	flex-shrink: 0;
}

.nmxc-meta-strip__sep {
	opacity: 0.55;
}

/* 5. Auto Table of Contents
   ========================================================================== */
.nmxc-toc {
	margin: 26px 0 32px;
	padding: 20px 22px;
	background: var(--nmxc-surface);
	border: 1px solid var(--nmxc-border);
	border-left: 4px solid var(--nmxc-accent);
	border-radius: 8px;
}

.nmxc-toc__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.nmxc-toc__title {
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--nmxc-heading);
	text-transform: uppercase;
}

.nmxc-toc__toggle {
	appearance: none;
	background: var(--nmxc-surface-alt);
	border: 1px solid var(--nmxc-border);
	border-radius: 6px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--nmxc-muted);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.nmxc-toc__toggle:hover,
.nmxc-toc__toggle:focus-visible {
	border-color: var(--nmxc-accent);
	color: var(--nmxc-accent);
	outline: none;
}

.nmxc-toc__list {
	margin: 14px 0 0;
	padding-left: 20px;
	list-style: decimal;
}

.nmxc-toc__list[hidden] {
	display: none;
}

.nmxc-toc__item {
	margin: 7px 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--nmxc-muted);
}

.nmxc-toc__item--h3 {
	margin-left: 18px;
	list-style-type: disc;
	font-size: 13.5px;
}

.nmxc-toc__link {
	color: var(--nmxc-body);
	text-decoration: none;
	transition: color 0.18s ease;
}

.nmxc-toc__link:hover,
.nmxc-toc__link.is-active {
	color: var(--nmxc-accent);
	text-decoration: underline;
}

/* 6. Article Body Typography, Tables, Related Callout & FAQ Accordions
   ========================================================================== */
.newsx-post-content {
	font-size: 16.5px;
	line-height: 1.78;
	color: var(--nmxc-body);
}

.newsx-post-content > p:first-of-type {
	font-size: 17.5px;
	line-height: 1.74;
	color: var(--nmxc-heading);
}

.newsx-post-content p {
	margin-bottom: 1.35em;
}

.newsx-post-content h2,
.newsx-post-content h3,
.newsx-post-content h4 {
	color: var(--nmxc-heading);
	scroll-margin-top: 90px;
	margin-top: 2em;
	margin-bottom: 0.7em;
	line-height: 1.26;
}

.newsx-post-content h2 {
	font-size: clamp(22px, 2.2vw, 28px);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--nmxc-border);
	position: relative;
}

.newsx-post-content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 64px;
	height: 2px;
	background: var(--nmxc-accent);
}

.newsx-post-content h3 {
	font-size: 20px;
}

.newsx-post-content a {
	color: var(--nmxc-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.newsx-post-content a:hover {
	color: var(--nmxc-accent-hover);
}

.newsx-post-content ul,
.newsx-post-content ol {
	margin: 0 0 1.45em 1.3em;
}

.newsx-post-content li {
	margin-bottom: 0.5em;
}

.newsx-post-content blockquote {
	margin: 1.75em 0;
	padding: 18px 22px;
	background: var(--nmxc-surface);
	border-left: 4px solid var(--nmxc-accent);
	border-radius: 0 8px 8px 0;
	font-style: italic;
}

.newsx-post-content figure.wp-block-table {
	margin: 1.8em 0;
	border: 1px solid var(--nmxc-border);
	border-radius: 10px;
	overflow-x: auto;
	background: var(--nmxc-surface-alt);
}

.newsx-post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
}

.newsx-post-content th,
.newsx-post-content td {
	border-bottom: 1px solid var(--nmxc-border);
	border-right: 1px solid var(--nmxc-border);
	padding: 12px 15px;
	text-align: left;
	vertical-align: top;
}

.newsx-post-content th:last-child,
.newsx-post-content td:last-child {
	border-right: none;
}

.newsx-post-content tr:last-child td {
	border-bottom: none;
}

.newsx-post-content thead th {
	background: #1a202c;
	color: #ffffff;
	font-weight: 700;
	font-size: 13.5px;
	letter-spacing: 0.02em;
}

.newsx-post-content tbody tr:nth-child(even) td {
	background: var(--nmxc-surface);
}

.newsx-post-content pre {
	background: #151921;
	color: #f1f3f5;
	padding: 16px 18px;
	border-radius: 8px;
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.6;
}

/* Related Shopify Guides Inline Callout */
.nmxc-related-callout {
	margin: 2.2em 0;
	padding: 22px 24px;
	background: var(--nmxc-surface);
	border: 1px solid var(--nmxc-border);
	border-left: 4px solid var(--nmxc-accent);
	border-radius: 8px;
}

.nmxc-related-callout h2 {
	margin-top: 0;
	font-size: 20px;
	padding-bottom: 8px;
}

.nmxc-related-callout ul {
	margin: 12px 0 0;
	padding-left: 18px;
}

.nmxc-related-callout li {
	margin-bottom: 8px;
	font-weight: 600;
}

/* Interactive FAQ Accordion Cards */
.nmxc-faq-list {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.nmxc-faq-item {
	border: 1px solid var(--nmxc-border);
	border-radius: 8px;
	background: var(--nmxc-surface);
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.nmxc-faq-item[open] {
	border-color: rgba(248, 70, 67, 0.45);
	background: var(--nmxc-surface-alt);
}

.nmxc-faq-question {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	cursor: pointer;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--nmxc-heading);
	user-select: none;
}

.nmxc-faq-question::-webkit-details-marker {
	display: none;
}

.nmxc-faq-icon {
	position: relative;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.nmxc-faq-icon::before,
.nmxc-faq-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: var(--nmxc-accent);
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nmxc-faq-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.nmxc-faq-item[open] .nmxc-faq-icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
	opacity: 0;
}

.nmxc-faq-answer {
	padding: 0 20px 16px;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--nmxc-body);
}

.nmxc-faq-answer p:last-child {
	margin-bottom: 0;
}

/* 7. Article Footer, Author Box, Prev/Next, Related Grid & Comments
   ========================================================================== */
.nmxc-article-footer {
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--nmxc-border);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.nmxc-tags-wrap,
.nmxc-share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.nmxc-tags-wrap__label,
.nmxc-share-bar__label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--nmxc-heading);
}

.nmxc-tags-wrap__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nmxc-tags-wrap__list a {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--nmxc-surface);
	border: 1px solid var(--nmxc-border);
	font-size: 12.5px;
	color: var(--nmxc-muted);
	text-decoration: none;
	transition: all 0.18s ease;
}

.nmxc-tags-wrap__list a:hover {
	border-color: var(--nmxc-accent);
	color: var(--nmxc-accent);
}

.nmxc-share-bar__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nmxc-share-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	padding: 6px 13px;
	border-radius: 6px;
	border: 1px solid var(--nmxc-border);
	background: var(--nmxc-surface);
	color: var(--nmxc-heading);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.18s ease;
}

.nmxc-share-btn:hover {
	background: var(--nmxc-accent);
	border-color: var(--nmxc-accent);
	color: #ffffff;
}

.nmxc-author-card {
	margin-top: 26px;
	padding: 24px 28px;
	background: var(--nmxc-surface-alt);
	border: 1px solid var(--nmxc-border);
	border-radius: var(--nmxc-radius);
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.nmxc-author-card__badge {
	width: 64px;
	height: 64px;
	border-radius: 14px;
	background: linear-gradient(135deg, #141923 0%, #242e42 100%);
	color: #ffffff;
	border: 2px solid var(--nmxc-accent);
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 30px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nmxc-author-card__domain {
	font-size: 14px;
	font-weight: 500;
	color: var(--nmxc-muted);
	margin-left: 4px;
}

.nmxc-author-card__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--nmxc-accent);
	margin-bottom: 4px;
}

.nmxc-author-card__name {
	margin: 0 0 6px;
	font-size: 20px;
}

.nmxc-author-card__name a {
	color: var(--nmxc-heading);
	text-decoration: none;
}

.nmxc-author-card__bio {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--nmxc-muted);
}

.nmxc-post-nav {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.nmxc-post-nav__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	background: var(--nmxc-surface-alt);
	border: 1px solid var(--nmxc-border);
	border-radius: var(--nmxc-radius);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.nmxc-post-nav__card:hover {
	border-color: var(--nmxc-accent);
	transform: translateY(-2px);
}

.nmxc-post-nav__card--next {
	text-align: right;
}

.nmxc-post-nav__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nmxc-accent);
}

.nmxc-post-nav__title {
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: var(--nmxc-heading);
	line-height: 1.3;
}

.nmxc-related-section {
	margin-top: 34px;
}

.nmxc-section-heading h2 {
	margin: 0 0 18px;
	font-size: 24px;
	color: var(--nmxc-heading);
	border-left: 4px solid var(--nmxc-accent);
	padding-left: 12px;
}

.nmxc-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.nmxc-related-card {
	background: var(--nmxc-surface-alt);
	border: 1px solid var(--nmxc-border);
	border-radius: var(--nmxc-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nmxc-related-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--nmxc-shadow);
}

.nmxc-related-card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #161c28, #273142);
	overflow: hidden;
	text-decoration: none;
}

.nmxc-related-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nmxc-related-card__overlay-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	text-align: center;
	background: rgba(12, 16, 26, 0.58);
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #ffffff;
}

.nmxc-related-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nmxc-related-card__cat {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nmxc-accent);
}

.nmxc-related-card__title {
	margin: 0;
	font-size: 16px;
	line-height: 1.32;
}

.nmxc-related-card__title a {
	color: var(--nmxc-heading);
	text-decoration: none;
}

.nmxc-related-card__title a:hover {
	color: var(--nmxc-accent);
}

.nmxc-related-card__meta {
	font-size: 12.5px;
	color: var(--nmxc-muted);
}

.nmxc-comments-card {
	margin-top: 28px;
	padding: 28px 32px;
	background: var(--nmxc-surface-alt);
	border: 1px solid var(--nmxc-border);
	border-radius: var(--nmxc-radius);
}

/* 8. Sticky Right Editorial Sidebar
   ========================================================================== */
.nmxc-sidebar-sticky {
	position: sticky;
	top: 28px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.nmxc-sidebar-card {
	background: var(--nmxc-surface-alt);
	border: 1px solid var(--nmxc-border);
	border-radius: var(--nmxc-radius);
	padding: 22px;
	box-shadow: var(--nmxc-shadow);
}

.nmxc-sidebar-card__title {
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--nmxc-border);
	font-size: 18px;
	text-transform: uppercase;
	color: var(--nmxc-heading);
	position: relative;
}

.nmxc-sidebar-card__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 44px;
	height: 2px;
	background: var(--nmxc-accent);
}

.nmxc-sidebar-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nmxc-sidebar-posts__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.nmxc-sidebar-posts__num {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: var(--nmxc-accent);
	color: #ffffff;
	font-family: "Encode Sans Condensed", sans-serif;
	font-size: 14px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.nmxc-sidebar-posts__info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nmxc-sidebar-posts__link {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--nmxc-heading);
	text-decoration: none;
}

.nmxc-sidebar-posts__link:hover {
	color: var(--nmxc-accent);
}

.nmxc-sidebar-posts__meta {
	font-size: 12px;
	color: var(--nmxc-muted);
}

.nmxc-sidebar-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nmxc-sidebar-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 6px;
	background: var(--nmxc-surface);
	border: 1px solid var(--nmxc-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--nmxc-heading);
	text-decoration: none;
	transition: all 0.18s ease;
}

.nmxc-sidebar-cat-pill:hover {
	border-color: var(--nmxc-accent);
	color: var(--nmxc-accent);
}

.nmxc-sidebar-cat-pill__count {
	font-size: 11.5px;
	color: var(--nmxc-muted);
}

.nmxc-sidebar-cta {
	padding: 24px;
	border-radius: var(--nmxc-radius);
	background: linear-gradient(135deg, #141923 0%, #202838 100%);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.nmxc-sidebar-cta__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fca5a5;
	margin-bottom: 8px;
}

.nmxc-sidebar-cta__title {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: 21px;
}

.nmxc-sidebar-cta__text {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.nmxc-sidebar-cta__btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 6px;
	background: var(--nmxc-accent);
	color: #ffffff;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none;
	transition: background-color 0.18s ease;
}

.nmxc-sidebar-cta__btn:hover {
	background: var(--nmxc-accent-hover);
	color: #ffffff;
}

/* 9. Magazine Grid Hover Polish (Homepage & Archives)
   ========================================================================== */
.newsx-grid-media {
	overflow: hidden;
	border-radius: 4px;
}

.newsx-grid-media img {
	transition: transform 0.35s ease;
}

.newsx-grid-item:hover .newsx-grid-media img {
	transform: scale(1.03);
}

/* 10. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
	.nmxc-single-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.nmxc-sidebar-sticky {
		position: static;
	}
}

@media (max-width: 768px) {
	.nmxc-hero-banner {
		padding: 44px 16px 68px;
	}

	.nmxc-single-shell {
		padding: 0 14px 44px;
	}

	.nmxc-single-container {
		margin-top: -32px;
	}

	.nmxc-article-card {
		padding: 22px 18px;
	}

	.newsx-post-content {
		font-size: 15.5px;
	}

	.nmxc-related-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nmxc-author-card {
		flex-direction: column;
		padding: 20px;
	}

	.nmxc-post-nav__card--next {
		text-align: left;
	}
}
