/* =============================================================
   Moneynomical Theme — Main Stylesheet
   Recreates the design shown in source mockups.
   ============================================================= */

/* -------------------- Design Tokens -------------------- */
:root {
	--mn-primary: #1B7CC2;
	--mn-primary-hover: #155f96;
	--mn-accent: #0e3a59;
	--mn-category: #003f74;
	--mn-text: #111111;
	--mn-text-muted: #525252;
	--mn-text-meta: #8a8a8a;
	--mn-bg: #ffffff;
	--mn-bg-alt: #f7f9fc;
	--mn-border: #e6e8ec;
	--mn-border-strong: #c8ccd2;
	--mn-footer-bg: #1a1a1a;
	--mn-footer-text: #d6d6d6;

	--mn-radius: 0px;
	--mn-radius-sm: 0px;
	--mn-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

	--mn-container: 1300px;
	--mn-gutter: 20px;

	--mn-fs-xs: 11px;
	--mn-fs-sm: 13px;
	--mn-fs-base: 15px;
	--mn-fs-md: 17px;
	--mn-fs-lg: 22px;
	--mn-fs-xl: 28px;
	--mn-fs-xxl: 36px;
}

/* -------------------- Reset & Base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	scroll-behavior: smooth;
	font-family: var(--mn-font);
	font-size: var(--mn-fs-base);
	line-height: 1.55;
	color: var(--mn-text);
	background: var(--mn-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mn-primary); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--mn-container); margin: 0 auto; padding: 0 var(--mn-gutter); }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px;
	overflow: hidden;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--mn-primary);
	color: #fff;
	padding: 12px 20px;
	z-index: 10000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* -------------------- Header -------------------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--mn-border);
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	position: sticky;
	top: 0;
	z-index: 9000;
	margin: 0;
	padding: 0;
}
/* Admin bar offset for logged-in users.
 * WP sets html { margin-top: 32px/46px !important } which is the admin bar height.
 * Since overflow-x:hidden on html makes body the sticky scroll container,
 * body already starts at 32px from viewport — so top:0 is correct here. */
.admin-bar .site-header { top: 0; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0 20px;
	height: 60px;
	overflow: hidden;
}

.site-branding {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	height: 100%;
	overflow: hidden;
}
/* Both default logo link and WP custom_logo link */
.site-branding a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0;
	line-height: 1;
}
/* Logo image — override WP inline width/height attributes */
.site-branding img {
	max-height: 58px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}
.site-branding .site-title-link { text-decoration: none; }
.site-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--mn-primary);
	letter-spacing: -.02em;
}

.main-navigation {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	height: 100%;
}
.primary-menu > li {
	display: flex;
	align-items: center;
	height: 100%;
	position: relative;
}
.primary-menu > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--mn-text);
	transition: color .2s ease;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li.current_page_item > a {
	color: var(--mn-category);
}
.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid var(--mn-border);
	min-width: 200px;
	list-style: none;
	padding: 8px 0;
	margin: 0;
	display: none;
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
	z-index: 9001;
}
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 13px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}
.header-search-toggle,
.header-menu-toggle {
	background: none;
	border: none;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mn-text);
	border-radius: var(--mn-radius-sm);
	transition: background .2s ease;
}
.header-search-toggle:hover,
.header-menu-toggle:hover { background: var(--mn-bg-alt); color: var(--mn-primary); }
.header-menu-toggle { display: none; }

.header-search-panel {
	border-top: 1px solid var(--mn-border);
	padding: 16px 0;
	background: #fff;
}
.search-form {
	display: flex;
	gap: 8px;
	max-width: 600px;
	margin: 0 auto;
}
.search-field {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--mn-border);
	font: inherit;
	font-size: 15px;
	background: #fff;
	color: var(--mn-text);
}
.search-submit {
	background: var(--mn-primary);
	color: #fff;
	border: none;
	padding: 12px 24px;
	font: inherit;
	font-weight: 600;
}
.search-submit:hover { background: var(--mn-primary-hover); }

.mobile-menu-panel {
	border-top: 1px solid var(--mn-border);
	background: #fff;
	padding: 8px 0;
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
/* [hidden] must override — ensure it's actually hidden */
.mobile-menu-panel[hidden] { display: none; }
.header-search-panel[hidden] { display: none; }

.mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0 var(--mn-gutter);
}
.mobile-menu > li > a {
	display: flex;
	align-items: center;
	padding: 13px 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--mn-border);
	color: var(--mn-text);
	transition: color .2s;
}
.mobile-menu > li:last-child > a { border-bottom: none; }
.mobile-menu > li > a:hover,
.mobile-menu > li.current-menu-item > a,
.mobile-menu > li.current-menu-ancestor > a { color: var(--mn-category); }

/* Sub-menu in mobile */
.mobile-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 16px;
}
.mobile-menu .sub-menu a {
	display: block;
	padding: 9px 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mn-text-muted);
	border-bottom: 1px solid var(--mn-border);
}
.mobile-menu .sub-menu a:hover { color: var(--mn-category); }
.mobile-menu .sub-menu li:last-child a { border-bottom: none; }

/* -------------------- Breadcrumbs -------------------- */
.breadcrumbs {
	background: var(--mn-bg-alt);
	font-size: 12px;
	padding: 10px 0;
}
.breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--mn-text-muted); }
.breadcrumbs .sep { color: #ccc; }
.breadcrumbs a:hover { color: var(--mn-primary); }

/* -------------------- Sections -------------------- */
.section-block { padding: 24px 0; }
.section-block + .section-block { padding-top: 0; }
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 18px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--mn-border);
	flex-wrap: wrap;
	min-height: 38px;
}
.section-head-with-tabs {
	align-items: flex-end;
	flex-direction: row;
	gap: 14px;
	row-gap: 6px;
}
.section-title {
	font-size: 22px;
	font-weight: 600;
	color: var(--mn-category);
	margin: 0;
	letter-spacing: -.01em;
	line-height: 1;
}
.section-title a { color: inherit; }
.section-title a:hover { color: var(--mn-primary); }
.sidebar-heading {
	font-size: 16px;
	font-weight: 600;
	color: var(--mn-category);
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--mn-border);
	text-transform: none;
	letter-spacing: 0;
}

.sub-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-left: auto;
	align-items: flex-end;
}
.sub-tab {
	background: none;
	border: none;
	padding: 2px 9px;
	font-size: 13px;
	font-weight: 500;
	color: var(--mn-text-muted);
	letter-spacing: 0;
	transition: color .2s ease;
	font-family: inherit;
	line-height: 1.3;
	cursor: pointer;
}
.sub-tab:hover { color: var(--mn-category); }
.sub-tab.is-active { color: var(--mn-category); font-weight: 600; }
.sub-tab-all { display: inline-flex; align-items: center; gap: 4px; }

/* -------------------- Hero Section -------------------- */
.hero-section { padding-top: 14px !important; padding-bottom: 24px; }
.hero-grid {
	display: grid;
	grid-template-columns: 45fr 20fr 25fr;
	gap: 24px;
	padding-top: 0;
}
.hero-main .card-title-xl {
	font-size: 27px;
	line-height: 36px;
	margin-bottom: 12px;
	font-weight: 700;
	color: var(--mn-text);
	letter-spacing: -.01em;
}
.hero-main .card-title-xl a:hover { color: var(--mn-category); }
.hero-main .card-meta {
	margin-bottom: 14px;
}
.hero-main .card-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.hero-secondary {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.card-secondary {
	padding-bottom: 0;
}
.card-category {
	display: inline-block;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--mn-category);
	margin-bottom: 6px;
	text-transform: uppercase;
}
.card-category:hover { color: var(--mn-primary); }
.card-secondary .card-title {
	font-size: 15px;
	line-height: 20px;
	margin-bottom: 6px;
	font-weight: 600;
}
.card-secondary .card-title a:hover { color: var(--mn-category); }

.hero-sidebar { padding-left: 0; }
.card-sidebar {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 10px;
	padding: 8px 0;
}
.card-sidebar .card-media-sm img {
	width: 70px;
	height: 70px;
	object-fit: cover;
}
.card-sidebar .card-title-sm {
	font-size: 15px;
	line-height: 20px;
	margin-bottom: 4px;
	font-weight: 600;
}
.card-sidebar .card-meta {
	font-size: 12px;
	color: var(--mn-text-meta);
	text-transform: none;
	letter-spacing: 0;
}
.card-sidebar .card-meta .meta-author { font-weight: 500; color: var(--mn-text-muted); }
.card-sidebar .card-meta .meta-sep { margin: 0 3px; }
.card-sidebar .card-date { text-transform: none; letter-spacing: 0; font-size: 12px; }

/* -------------------- Common Card Meta -------------------- */
.card-meta {
	font-size: 11px;
	letter-spacing: 0;
	color: var(--mn-text-meta);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.card-meta .meta-sep { color: #ccc; }
.card-author { font-weight: 500; }

/* -------------------- Crypto + Markets Section -------------------- */
.cm-grid {
	display: grid;
	grid-template-columns: 30fr 70fr;
	gap: 28px;
}
.cm-markets-body {
	display: grid;
	grid-template-columns: 50fr 50fr;
	gap: 22px;
}
.cm-markets-body .grid-2x2 {
	grid-template-columns: 1fr 1fr;
}
.article-list {
	display: flex;
	flex-direction: column;
}
.card-list {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 12px;
	padding: 8px 0;
}
.card-media-sq img {
	width: 70px;
	height: 70px;
	object-fit: cover;
}
.card-list .card-title-sm {
	font-size: 15px;
	line-height: 20px;
	margin-bottom: 4px;
	font-weight: 600;
}

.card-feature .card-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 10px;
}
.card-feature .card-title {
	font-size: 15px;
	line-height: 20px;
	margin-bottom: 8px;
	font-weight: 600;
}
.card-feature .card-excerpt {
	color: var(--mn-text-muted);
	font-size: 13px;
	line-height: 1.55;
	margin-top: 8px;
}

.grid-2x2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.card-medium .card-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 8px;
}
.card-medium .card-title {
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
}
.card-medium .card-title a:hover { color: var(--mn-category); }

.tab-pane[hidden] { display: none; }

/* -------------------- Business + Auto -------------------- */
.ba-grid {
	display: grid;
	grid-template-columns: 75fr 25fr;
	gap: 28px;
}
.ba-business-body {
	display: grid;
	grid-template-columns: 40fr 60fr;
	gap: 22px;
}
.ba-business-body .grid-2x2 {
	grid-template-columns: 1fr 1fr;
}
.ba-business-body .card-feature .card-media img { aspect-ratio: 16 / 9; }

/* -------------------- Money + Tech -------------------- */
.mt-grid {
	display: grid;
	grid-template-columns: 25fr 75fr;
	gap: 28px;
}
.mt-tech-body {
	display: grid;
	grid-template-columns: 40fr 60fr;
	gap: 22px;
}
.mt-tech-body .grid-2x2 {
	grid-template-columns: 1fr 1fr;
}

/* -------------------- Quad Section -------------------- */
.quad-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.quad-col .section-head { margin-bottom: 10px; }
.card-overlay {
	position: relative;
	margin-bottom: 10px;
}
.card-overlay-link {
	display: block;
	position: relative;
	overflow: hidden;
}
.card-overlay img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .4s ease;
}
.card-overlay:hover img { transform: scale(1.04); }
.card-overlay-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75) 100%);
}
.card-title-overlay {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0;
	z-index: 2;
	text-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.card-list-small {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 10px;
	padding: 6px 0;
}
.card-list-small .card-media-tiny img {
	width: 56px;
	height: 56px;
	object-fit: cover;
}
.card-title-xs {
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
	margin-bottom: 4px;
}

/* -------------------- Universal date / meta scaling -------------------- */
.card-date,
.card-list-small .card-date,
.card-overlay .card-date,
.quad-col .card-date {
	display: block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--mn-text-meta);
	text-transform: none;
	margin-top: 2px;
}
/* Sidebar — no highlight for current/visited post links */
.widget-area .card-title-sm a,
.widget-area .card-title-sm a:visited,
.widget-area .card-sidebar .card-title a,
.widget-area .card-sidebar .card-title a:visited {
	color: var(--mn-text);
}
.widget-area .card-title-sm a:hover,
.widget-area .card-sidebar .card-title a:hover {
	color: var(--mn-category);
}
/* Money section list items — 2-line max headline */
.mt-money .card-title,
.mt-money .card-title-sm {
	-webkit-line-clamp: 2 !important;
	line-clamp: 2 !important;
}

/* Sidebar: normal case date/author */
.card-sidebar .card-date {
	text-transform: none;
	letter-spacing: 0;
	font-size: 12px;
}
.hero-main .card-meta { font-size: 12px; }

/* -------------------- Headline clamp (max 3 lines) -------------------- */
.card-title-xl,
.card-title,
.card-title-sm,
.card-title-xs,
.card-title-overlay {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* -------------------- Universal headline hover --------------- */
.card-title-xl a:hover,
.card-title a:hover,
.card-title-sm a:hover,
.card-title-xs a:hover,
.card-title-overlay a:hover,
.entry-title a:hover {
	color: var(--mn-category);
}

/* -------------------- Universal card headline typography ---- */
/* All homepage + sidebar headlines: 15px/600/20px
   Hero main (card-title-xl) keeps its own 27px/700/36px */
.card-title,
.card-title-sm,
.card-title-xs {
	font-size: 15px !important;
	line-height: 20px !important;
	font-weight: 600 !important;
}
/* Hero main title — override back, takes priority */
.hero-main .card-title-xl,
.card-hero .card-title-xl,
.card-title-xl {
	font-size: 27px !important;
	line-height: 36px !important;
	font-weight: 700 !important;
}

/* -------------------- Single Post -------------------- */
.single-main { padding: 24px 0; }
.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
}
.single-article { width: 100%; margin: 0; }
/* Static pages (page.php) — full width, no sidebar */
.page-main { padding: 32px 0 48px; }
.page-main .single-article { max-width: 860px; }

/* Related posts — no bottom border on title, just margin */
.related-posts { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--mn-border); }
.related-posts .section-title {
	font-size: 20px;
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 16px;
}
.entry-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--mn-category);
	text-transform: uppercase;
	margin-bottom: 12px;
}
.entry-title {
	font-size: 32px;
	line-height: 1.15;
	margin-bottom: 12px;
	letter-spacing: -.015em;
}
.entry-summary {
	font-size: 17px;
	line-height: 1.5;
	color: var(--mn-text-muted);
	margin-bottom: 16px;
}
.entry-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--mn-border);
	border-bottom: 1px solid var(--mn-border);
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.entry-author-line {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--mn-text-muted);
}
.entry-byline { font-weight: 500; }
.entry-byline .author-name {
	font-weight: 700;
	color: var(--mn-text);
	margin-left: 4px;
}
.entry-byline .author-name:hover { color: var(--mn-category); }
.entry-pub-line { font-weight: 500; }
.entry-read-time { font-weight: 500; }
.entry-meta .meta-sep { color: var(--mn-text-meta); }
.entry-featured { margin: 18px 0; }
.entry-featured img { width: 100%; }
.entry-featured figcaption {
	font-size: 13px;
	color: var(--mn-text-meta);
	margin-top: 8px;
	font-style: italic;
}
.entry-content {
	font-size: 17px;
	line-height: 1.7;
	color: #222;
	/* Prevent ANY child element from overflowing the column */
	overflow-wrap: break-word;
	word-break: break-word;
}

/* All media/embeds constrained to column width */
.entry-content img,
.entry-content video,
.entry-content audio,
.entry-content canvas,
.entry-content svg {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 20px 0;
}

/* Tables — scrollable on mobile, never overflow */
.entry-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
	margin: 24px 0;
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.entry-content table thead { background: var(--mn-bg-alt); }
.entry-content table th,
.entry-content table td {
	padding: 10px 14px;
	border: 1px solid var(--mn-border);
	text-align: left;
	white-space: nowrap;
}
.entry-content table th { font-weight: 600; color: var(--mn-text); }
.entry-content table tbody tr:nth-child(even) { background: #fafafa; }

/* iframes / embeds (YouTube, Twitter, etc.) */
.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}
/* Responsive video wrapper (WP oEmbeds) */
.entry-content .wp-block-embed,
.entry-content .wp-has-aspect-ratio,
.entry-content .wp-embed-responsive .wp-block-embed__wrapper {
	max-width: 100%;
}
.entry-content .wp-block-embed__wrapper iframe { width: 100%; }

/* Figures */
.entry-content figure { max-width: 100%; margin: 24px 0; }
.entry-content figcaption { font-size: 13px; color: var(--mn-text-meta); text-align: center; margin-top: 6px; }
.entry-content figure.wp-block-image img { max-width: 100%; height: auto; }

/* Code blocks */
.entry-content pre,
.entry-content code {
	max-width: 100%;
	overflow-x: auto;
	font-size: 14px;
	background: #f4f5f7;
	border-radius: 4px;
}
.entry-content pre { padding: 16px; line-height: 1.6; }
.entry-content code { padding: 2px 6px; }
.entry-content pre code { padding: 0; background: none; }

/* Text content */
.entry-content p { margin-bottom: 1.5em; }
.entry-content h2 { font-size: 24px; line-height: 1.3; margin-top: 1.8em; margin-bottom: .6em; font-weight: 700; }
.entry-content h3 { font-size: 20px; line-height: 1.3; margin-top: 1.6em; margin-bottom: .5em; font-weight: 700; }
.entry-content h4 { font-size: 17px; line-height: 1.3; margin-top: 1.4em; margin-bottom: .4em; font-weight: 700; }
.entry-content blockquote {
	border-left: 4px solid var(--mn-primary);
	padding: 8px 0 8px 20px;
	margin: 24px 0;
	font-size: 18px;
	font-style: italic;
	color: var(--mn-text-muted);
}

/* Lists */
.entry-content ul,
.entry-content ol {
	padding-left: 1.6em;
	margin-bottom: 1.5em;
}
.entry-content ul li { list-style: disc; margin-bottom: .4em; }
.entry-content ol li { list-style: decimal; margin-bottom: .4em; }
.entry-content li > ul,
.entry-content li > ol { margin-top: .4em; margin-bottom: .4em; }

/* Links */
.entry-content a { color: var(--mn-primary); text-decoration: underline; }
.entry-content a:hover { color: var(--mn-category); }

/* WP Gutenberg blocks */
.entry-content .wp-block-pullquote { border-top: 4px solid var(--mn-category); border-bottom: 4px solid var(--mn-category); padding: 20px; text-align: center; margin: 32px 0; }
.entry-content .wp-block-pullquote blockquote { border: none; padding: 0; font-size: 20px; color: var(--mn-text); }
.entry-content .wp-block-separator { border: none; border-top: 1px solid var(--mn-border); margin: 32px 0; }
.entry-content .wp-block-gallery { max-width: 100%; }

.share-buttons {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
}
.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--mn-bg-alt);
	color: var(--mn-text);
	font-size: 14px;
	border: none;
	cursor: pointer;
	transition: all .2s ease;
	border-radius: 50%;
	text-decoration: none;
	position: relative;
}
.share-btn:hover { color: #fff; }
.share-btn.share-fb:hover { background: #1877f2; }
.share-btn.share-x:hover { background: #000; }
.share-btn.share-li:hover { background: #0a66c2; }
.share-btn.share-reddit:hover { background: #ff4500; }
.share-btn.share-wa:hover { background: #25d366; }
.share-btn.share-telegram:hover { background: #229ed9; }
.share-btn.share-mail:hover { background: var(--mn-category); }
.share-btn.share-copy:hover { background: var(--mn-category); }
.share-btn.share-print:hover { background: var(--mn-category); }
.share-btn.is-copied { background: #16a34a; color: #fff; }
.share-copy-feedback {
	position: absolute;
	top: -32px;
	left: 50%;
	transform: translateX(-50%);
	background: #16a34a;
	color: #fff;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
}
.share-buttons-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--mn-border); }
.entry-tags { margin-top: 24px; font-size: 13px; }
.entry-tags a {
	display: inline-block;
	background: var(--mn-bg-alt);
	padding: 4px 10px;
	margin: 0 4px 4px 0;
	font-size: 12px;
	color: var(--mn-text-muted);
}
.entry-tags a:hover { background: var(--mn-primary); color: #fff; }
.tag-label { font-weight: 700; margin-right: 8px; color: var(--mn-text); }

.related-posts { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--mn-border); }
.related-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

/* -------------------- Post navigation (prev / next) -------------------- */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 24px 0 8px;
	padding: 18px 0;
	border-top: 1px solid var(--mn-border);
	border-bottom: 1px solid var(--mn-border);
}
.post-nav a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--mn-text);
	text-decoration: none;
}
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mn-category);
}
.post-nav-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--mn-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-nav a:hover .post-nav-title { color: var(--mn-category); }

/* -------------------- Archive / Category / Tag / Author / Search -------- */
.archive-main { padding: 28px 0 40px; }

/* Two-column layout: articles left, sidebar right */
.archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}

/* Archive header */
.archive-header { margin-bottom: 20px; }
.archive-header .section-head { margin-bottom: 10px; }

/* Sub-category pills on category archive pages */
.archive-sub-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 6px;
}
.archive-sub-cat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	background: var(--mn-bg-alt);
	border: 1px solid var(--mn-border);
	font-size: 13px;
	font-weight: 500;
	color: var(--mn-text);
	transition: all .2s;
	text-decoration: none;
}
.archive-sub-cat:hover {
	background: var(--mn-category);
	color: #fff;
	border-color: var(--mn-category);
}
.archive-description {
	font-size: 14px;
	color: var(--mn-text-muted);
	margin: 6px 0 0;
	line-height: 1.6;
}

/* Author page header */
.author-archive-info {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--mn-border);
	margin-bottom: 20px;
}
.author-archive-avatar { border-radius: 50%; flex-shrink: 0; }
.author-archive-bio { font-size: 14px; line-height: 1.6; color: var(--mn-text-muted); }

/* 4-column article grid */
.archive-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px 18px;
}
.archive-grid .card-medium .card-title { font-size: 15px; line-height: 20px; font-weight: 600; }
.archive-grid .card-medium .card-media img { aspect-ratio: 16 / 9; }

/* No posts */
.no-posts-message {
	padding: 40px 20px;
	text-align: center;
	color: var(--mn-text-muted);
	background: var(--mn-bg-alt);
	border: 1px solid var(--mn-border);
}

/* Pagination */
.pagination-nav { margin-top: 32px; text-align: center; }
.pagination-nav .nav-links { display: inline-flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--mn-border);
	font-size: 13px;
	font-weight: 500;
	background: #fff;
	color: var(--mn-text);
	min-width: 38px;
	justify-content: center;
	transition: all .2s;
}
.pagination-nav .page-numbers.current,
.pagination-nav .page-numbers:hover {
	background: var(--mn-category);
	color: #fff;
	border-color: var(--mn-category);
}
.pagination-nav .page-numbers.dots {
	background: transparent;
	border-color: transparent;
	color: var(--mn-text-meta);
}
.pagination-nav .page-numbers.dots:hover { background: transparent; color: var(--mn-text-meta); cursor: default; }

/* -------------------- 404 -------------------- */
.error-404 { padding: 60px 0; text-align: center; }
.error-title { font-size: 96px; color: var(--mn-primary); margin: 0; line-height: 1; }
.error-message { font-size: 18px; color: var(--mn-text-muted); margin: 16px 0 24px; }
.error-section .search-form { margin: 0 auto 24px; }
.btn {
	display: inline-block;
	padding: 10px 22px;
	background: var(--mn-primary);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}
.btn:hover { background: var(--mn-primary-hover); color: #fff; }

/* -------------------- Sidebar / Widgets -------------------- */
.widget-area .widget { margin-bottom: 22px; }
.widget-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--mn-border);
	color: var(--mn-category);
	text-transform: none;
	letter-spacing: 0;
}
.widget-area .article-list .card-list-small {
	padding: 8px 0;
	border-bottom: 1px solid var(--mn-border);
}
.widget-area .article-list .card-list-small:last-child { border-bottom: none; }

/* -------------------- Ads -------------------- */
.ad-slot {
	margin: 18px 0;
	text-align: center;
	padding: 10px;
	background: var(--mn-bg-alt);
}
.ad-label {
	display: block;
	font-size: 10px;
	letter-spacing: .15em;
	color: var(--mn-text-meta);
	margin-bottom: 8px;
}
.ad-slot-sidebar { margin: 16px 0; padding: 8px; }

/* -------------------- Footer -------------------- */
.site-footer {
	background: var(--mn-footer-bg);
	color: var(--mn-footer-text);
	padding: 32px 0 16px;
	margin-top: 32px;
}
.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}
.footer-logo { max-height: 70px; width: auto; }
.footer-site-title { font-size: 24px; font-weight: 800; color: var(--mn-primary); }
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}
.footer-menu a {
	color: var(--mn-footer-text);
	font-size: 13px;
	font-weight: 500;
}
.footer-menu a:hover { color: #fff; }
.site-info {
	width: 100%;
	border-top: 1px solid rgba(255,255,255,.08);
	padding-top: 14px;
	color: #999;
	font-size: 12px;
}
.site-info p { margin: 0; }

/* -------------------- Responsive -------------------- */

/* ---- Global mobile safety ---- */
html, body { overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }

/* Tablet: ≤1100px */
@media (max-width: 1100px) {
	/* Hero: no sidebar, 2 col with better ratio */
	.hero-grid { grid-template-columns: 1.6fr 1fr; }
	.hero-sidebar { display: none; }
	.cm-grid { grid-template-columns: 1fr; gap: 22px; }
	.cm-markets-body { grid-template-columns: 1fr 1fr; }
	.mt-grid { grid-template-columns: 1fr; gap: 22px; }
	.mt-tech-body { grid-template-columns: 1fr 1fr; }
	.ba-grid { grid-template-columns: 2fr 1fr; gap: 22px; }
	.ba-business-body { grid-template-columns: 1fr 1fr; }
	.quad-grid { grid-template-columns: 1fr 1fr; }
	.archive-grid { grid-template-columns: repeat(3, 1fr); }
	.related-grid { grid-template-columns: repeat(3, 1fr); }
	.archive-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
	.single-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
}

/* Narrow tablet: ≤1000px */
@media (max-width: 1000px) {
	.ba-grid { grid-template-columns: 1fr; gap: 20px; }
	.hero-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.hero-main .card-title-xl { font-size: 22px !important; line-height: 28px !important; }
}

/* Mobile: ≤800px */
@media (max-width: 800px) {
	:root { --mn-gutter: 14px; }

	/* Header */
	.header-inner { padding: 0 14px; height: 54px; }
	.site-branding img { max-height: 38px; }
	.main-navigation { display: none; }
	.header-menu-toggle { display: inline-flex; }

	/* Sub-tabs scrollable, no scrollbar */
	.sub-tabs { gap: 0; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; -ms-overflow-style: none; }
	.sub-tabs::-webkit-scrollbar { display: none; }
	.sub-tab { padding: 4px 8px; font-size: 12px; white-space: nowrap; }

	/* Section headers */
	.section-block { padding: 16px 0; }
	.section-head { gap: 8px; min-height: 30px; padding-bottom: 6px; }
	.section-title { font-size: 17px; }
	.section-head-with-tabs { flex-direction: column; align-items: flex-start; gap: 6px; }

	/* Grids */
	.hero-grid { grid-template-columns: 1fr; gap: 14px; }
	.hero-main .card-title-xl { font-size: 22px !important; line-height: 28px !important; }
	.hero-secondary { gap: 12px; }
	.cm-grid, .ba-grid, .mt-grid { grid-template-columns: 1fr; gap: 18px; }
	.cm-markets-body, .mt-tech-body, .ba-business-body { grid-template-columns: 1fr; }
	.quad-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.grid-2x2 { grid-template-columns: 1fr 1fr; gap: 12px; }

	/* Cards */
	.card-list { grid-template-columns: 60px 1fr; gap: 10px; }
	.card-media-sq img { width: 60px; height: 60px; }
	.card-sidebar { grid-template-columns: 60px 1fr; gap: 8px; }
	.card-sidebar .card-media-sm img { width: 60px; height: 60px; }

	/* Single */
	.single-layout { grid-template-columns: 1fr; gap: 24px; }
	.single-sidebar { order: 2; border-top: 1px solid var(--mn-border); padding-top: 20px; }
	.single-article { order: 1; }
	.entry-title { font-size: 22px; line-height: 1.25; }
	.entry-content { font-size: 16px; }
	.entry-content h2 { font-size: 20px; }
	.entry-content h3 { font-size: 18px; }
	.entry-content h4 { font-size: 16px; }
	.entry-content blockquote { font-size: 16px; padding-left: 14px; }
	.entry-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav-next { text-align: left; align-items: flex-start; }
	.author-bio-box { flex-direction: column; gap: 12px; padding: 16px; }

	/* Archive */
	.archive-layout { grid-template-columns: 1fr; gap: 24px; }
	.archive-sidebar { border-top: 1px solid var(--mn-border); padding-top: 20px; }
	.archive-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.related-grid { grid-template-columns: 1fr 1fr; }
	.archive-sub-cats { gap: 6px; }
	.archive-sub-cat { padding: 4px 10px; font-size: 12px; }

	/* Share */
	.share-buttons { gap: 4px; flex-wrap: wrap; }
	.share-btn { width: 32px; height: 32px; font-size: 13px; }

	/* Footer */
	.footer-menu { gap: 12px; }
	.footer-logo { max-height: 50px; }

	/* Breaking ticker */
	.breaking-ticker .container { height: 34px; }
	.breaking-label { padding: 0 10px; font-size: 10px; }
	.breaking-item a { font-size: 12px; }

	/* Breadcrumbs */
	.breadcrumbs ol { flex-wrap: wrap; }

	/* Pagination */
	.pagination-nav .page-numbers { padding: 6px 10px; font-size: 12px; min-width: 32px; }

	/* 404 page */
	.error-title { font-size: 72px; }
	.error-404 { padding: 40px 0; }

	/* Page template */
	.page-main { padding: 20px 0 36px; }
	.page-main .single-article { max-width: 100%; }

	/* Search form on mobile */
	.search-form { flex-direction: column; }
	.search-field { width: 100%; }
	.search-submit { align-self: flex-start; }

	/* Footer stacked */
	.footer-inner { gap: 12px; }
	.footer-logo { max-height: 44px; }
}

/* Small mobile: ≤480px */
@media (max-width: 480px) {
	:root { --mn-gutter: 12px; }
	.section-title { font-size: 15px; }
	.hero-main .card-title-xl { font-size: 20px !important; line-height: 26px !important; }
	.grid-2x2 { grid-template-columns: 1fr; }
	.archive-grid { grid-template-columns: 1fr 1fr; }
	.related-grid { grid-template-columns: 1fr 1fr; }
	.quad-grid { grid-template-columns: 1fr 1fr; }
	.entry-title { font-size: 20px; }
	.entry-content table { font-size: 13px; }
	.share-btn { width: 30px; height: 30px; font-size: 12px; }
	.footer-menu a { font-size: 12px; }
	.post-nav-title { font-size: 13px; }
	.site-info { font-size: 11px; }

	/* 404 page */
	.error-title { font-size: 64px; }
	.error-message { font-size: 16px; }

	/* Search form */
	.search-field { padding: 10px 12px; font-size: 14px; }
	.search-submit { padding: 10px 16px; }

	/* Page template */
	.page-main { padding: 20px 0 32px; }

	/* Single */
	.entry-meta { flex-direction: column; gap: 6px; }
	.entry-share { width: 100%; }
	.share-buttons { gap: 4px; }
}

/* Extra small: ≤360px */
@media (max-width: 360px) {
	:root { --mn-gutter: 10px; }
	.archive-grid { grid-template-columns: 1fr; }
	.related-grid { grid-template-columns: 1fr; }
	.quad-grid { grid-template-columns: 1fr; }
	.grid-2x2 { grid-template-columns: 1fr; }
	.hero-main .card-title-xl { font-size: 18px !important; line-height: 24px !important; }
	.footer-menu { gap: 8px; flex-direction: column; align-items: center; }
	.error-title { font-size: 48px; }
	.header-inner { gap: 12px; }
	.share-btn { width: 28px; height: 28px; font-size: 11px; }
}


/* -------------------- Sticky Sidebar -------------------- */
.single-sidebar,
.archive-sidebar {
	position: sticky;
	top: 80px; /* header 60px + 20px gap */
	align-self: start;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--mn-border) transparent;
}
.single-sidebar::-webkit-scrollbar { width: 4px; }
.single-sidebar::-webkit-scrollbar-track { background: transparent; }
.single-sidebar::-webkit-scrollbar-thumb { background: var(--mn-border); border-radius: 4px; }
/* Disable sticky on mobile (stacks below content) */
@media (max-width: 800px) {
	.single-sidebar, .archive-sidebar {
		position: static;
		max-height: none;
		overflow-y: visible;
	}
}

/* -------------------- More from Category -------------------- */
.more-from-cat { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--mn-border); }

/* -------------------- Entry Updated date -------------------- */
.entry-updated { color: var(--mn-text-meta); font-size: 12px; }
.entry-updated time { font-weight: 500; color: var(--mn-text-muted); }

/* ==================== NEW FEATURES ==================== */

/* -------------------- Reading Progress Bar -------------------- */
.reading-progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 3px;
	background: var(--mn-category);
	z-index: 9999;
	transition: width .1s linear;
	pointer-events: none;
}

/* -------------------- Breaking News Ticker -------------------- */
.breaking-ticker {
	background: var(--mn-category);
	color: #fff;
	overflow: hidden;
	border-bottom: none;
}
.breaking-ticker .container {
	display: flex;
	align-items: stretch;
	height: 38px;
	overflow: hidden;
}
.breaking-label {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	background: #c00;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
}
.breaking-track-wrap {
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.breaking-track {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	animation: mn-ticker 30s linear infinite;
	white-space: nowrap;
}
.breaking-track-wrap:hover .breaking-track { animation-play-state: paused; }
.breaking-item {
	display: inline-flex;
	align-items: center;
	padding: 0 28px 0 0;
}
.breaking-item::before {
	content: '•';
	margin-right: 10px;
	opacity: .6;
}
.breaking-item a {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}
.breaking-item a:hover { text-decoration: underline; }
@keyframes mn-ticker {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* -------------------- Author Bio Box -------------------- */
.author-bio-box {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-top: 36px;
	padding: 24px;
	background: var(--mn-bg-alt);
	border: 1px solid var(--mn-border);
	border-left: 4px solid var(--mn-category);
}
.author-bio-avatar {
	flex-shrink: 0;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	object-fit: cover;
}
.author-bio-content { flex: 1; }
.author-bio-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mn-text-meta);
	margin-bottom: 4px;
}
.author-bio-name {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
}
.author-bio-name a { color: var(--mn-category); }
.author-bio-name a:hover { text-decoration: underline; }
.author-bio-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--mn-text-muted);
	margin: 0 0 12px;
}
.author-bio-links {
	display: flex;
	gap: 8px;
}
.author-bio-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--mn-border);
	color: var(--mn-text);
	font-size: 13px;
	transition: all .2s;
}
.author-bio-link:hover { background: var(--mn-category); color: #fff; }

/* -------------------- Print -------------------- */
@media print {
	.site-header, .site-footer, .ad-slot, .share-buttons, .related-posts, .hero-sidebar, .single-sidebar, .breaking-ticker, .reading-progress-bar, .author-bio-links { display: none !important; }
	body { font-size: 12pt; color: #000; }
	.entry-title { font-size: 24pt; }
}

/* -------------------- Admin bar conflict fix -------------------- */
/* Prevent WP admin bar JS from adding margin-top to the header element */
.admin-bar #masthead {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* ==================== DARK MODE ====================
 * Respects OS preference. Override with body[data-theme="dark"] for manual toggle.
 * ================================================= */
@media (prefers-color-scheme: dark) {
	:root {
		--mn-text: #e8e8e8;
		--mn-text-muted: #a0a0a0;
		--mn-text-meta: #6b6b6b;
		--mn-bg: #0f0f0f;
		--mn-bg-alt: #1a1a1a;
		--mn-border: #2a2a2a;
		--mn-border-strong: #3a3a3a;
		--mn-category: #5b9ed6;
		--mn-primary: #4a90c8;
		--mn-primary-hover: #6aaee0;
		--mn-footer-bg: #050505;
		--mn-footer-text: #aaaaaa;
	}
	.site-header { background: #0f0f0f; }
	.primary-menu .sub-menu { background: #1a1a1a; border-color: #2a2a2a; }
	.primary-menu .sub-menu a { color: #c0c0c0; }
	.mobile-menu-panel { background: #0f0f0f; }
	.header-search-panel { background: #0f0f0f; }
	.search-field { background: #1a1a1a; color: #e8e8e8; border-color: #2a2a2a; }
	.search-submit { background: var(--mn-primary); }
	.card-overlay-gradient { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.9) 100%); }
	.entry-content a { color: var(--mn-primary); }
	.entry-content blockquote { border-left-color: var(--mn-primary); }
	.entry-content pre, .entry-content code { background: #1a1a1a; color: #e8e8e8; }
	.entry-content table th { background: #1a1a1a; }
	.entry-content table tbody tr:nth-child(even) { background: #141414; }
	.share-btn { background: #1a1a1a; color: #c0c0c0; }
	.author-bio-box { background: #1a1a1a; border-left-color: var(--mn-primary); }
	.archive-sub-cat { background: #1a1a1a; border-color: #2a2a2a; color: #c0c0c0; }
	.pagination-nav .page-numbers { background: #1a1a1a; border-color: #2a2a2a; color: #c0c0c0; }
	.post-nav a { color: #e8e8e8; }
	img { opacity: .92; }
	img:hover { opacity: 1; }
}

/* ==================== MARKET TICKER ==================== */
.market-ticker {
	background: #fff;
	border-bottom: 1px solid var(--mn-border);
	font-size: 12px;
	line-height: 1;
	overflow: hidden;
}
.market-ticker .container {
	display: flex;
	align-items: stretch;
	height: 36px;
	overflow: hidden;
}
.market-ticker-label {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	background: var(--mn-category);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.pulse-dot {
	animation: mn-pulse 1.8s ease-in-out infinite;
}
@keyframes mn-pulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: .3; }
}
.market-track-wrap {
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.market-track {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
	animation: mn-market-scroll 40s linear infinite;
	white-space: nowrap;
}
.market-track-wrap:hover .market-track { animation-play-state: paused; }
.market-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 24px 0 0;
	border-right: 1px solid var(--mn-border);
	margin-right: 24px;
}
.market-name {
	font-weight: 700;
	color: var(--mn-text);
	font-size: 11px;
	letter-spacing: .04em;
}
.market-price {
	font-weight: 600;
	color: var(--mn-text);
	font-size: 12px;
}
.market-change {
	font-size: 11px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 2px;
}
.market-change.up   { color: #16a34a; }
.market-change.down { color: #dc2626; }
.market-pct { font-weight: 400; opacity: .85; }

@keyframes mn-market-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
	.market-ticker { background: #0f0f0f; }
}

/* Mobile: compact */
@media (max-width: 800px) {
	.market-ticker .container { height: 32px; }
	.market-ticker-label { padding: 0 10px; font-size: 10px; }
	.market-name { font-size: 10px; }
	.market-price { font-size: 11px; }
	.market-change { font-size: 10px; }
	.market-item { padding-right: 16px; margin-right: 16px; }
}

@media print {
	.market-ticker { display: none !important; }
}

/* ==================== MARKET RATES SECTION ====================
 * 5 columns: Indian, US, Currency, Crypto, Commodities
 * ============================================================ */
.rates-section {
	border-top: 1px solid var(--mn-border);
	border-bottom: 1px solid var(--mn-border);
	background: var(--mn-bg-alt);
	padding: 16px 0 12px;
}

/* 5-column grid */
.rates-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.rates-col {
	padding: 0 18px;
	border-right: 1px solid var(--mn-border);
}
.rates-col:first-child { padding-left: 0; }
.rates-col:last-child  { padding-right: 0; border-right: none; }

/* Column header */
.rates-col-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
	paddingBottom: 8px;
}
.rates-col-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--mn-category);
	letter-spacing: -.01em;
}
.rates-col-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 2px 6px;
	border-radius: 20px;
}
.rates-col-badge.is-open  { background: #dcfce7; color: #15803d; }
.rates-col-badge.is-closed { background: #f1f5f9; color: #94a3b8; }
.rates-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	display: inline-block;
}
.is-open .rates-dot {
	animation: mn-dot-pulse 2s ease-in-out infinite;
}
@keyframes mn-dot-pulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: .4; }
}

/* Rate list */
.rates-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.rates-row-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 5px 0;
	border-bottom: 1px solid var(--mn-border);
	line-height: 1.2;
}
.rates-row-item:last-child { border-bottom: none; }
.rates-name {
	font-size: 12px;
	font-weight: 500;
	color: var(--mn-text-muted);
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rates-vals {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.rates-price {
	font-size: 13px;
	font-weight: 700;
	color: var(--mn-text);
}
.rates-chg {
	font-size: 11px;
	font-weight: 600;
	min-width: 70px;
	text-align: right;
}
.rates-chg.up   { color: #16a34a; }
.rates-chg.down { color: #dc2626; }
.rates-empty { font-size: 12px; color: var(--mn-text-meta); padding: 8px 0; }

/* Footer */
.rates-footer {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid var(--mn-border);
	font-size: 11px;
	color: var(--mn-text-meta);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
	.rates-section { background: #111; }
	.rates-col-badge.is-open { background: rgba(22,163,74,.15); }
	.rates-col-badge.is-closed { background: #1a1a1a; }
}

/* Tablet: 3 cols */
@media (max-width: 1100px) {
	.rates-row { grid-template-columns: repeat(2, 1fr); gap: 0; }
	.rates-col:nth-child(3) { border-right: none; }
	.rates-col:nth-child(4) { padding-left: 0; border-top: 1px solid var(--mn-border); padding-top: 14px; margin-top: 10px; }
	.rates-col:nth-child(5) { border-top: 1px solid var(--mn-border); padding-top: 14px; margin-top: 10px; }
}

/* Mobile: 2 cols */
@media (max-width: 800px) {
	.rates-row { grid-template-columns: 1fr 1fr; }
	.rates-col { padding: 0 12px; border-right: 1px solid var(--mn-border); }
	.rates-col:nth-child(even) { border-right: none; }
	.rates-col:nth-child(n+3) { border-top: 1px solid var(--mn-border); padding-top: 12px; margin-top: 10px; }
	.rates-col:nth-child(3) { border-right: 1px solid var(--mn-border); }
	.rates-col:first-child { padding-left: 0; }
	.rates-col:nth-child(2) { padding-right: 0; }
	.rates-chg { min-width: 55px; }
}

/* Print */
@media print { .rates-section { display: none !important; } }




/* ==================== CRYPTO SECTION — Dark Theme ====================*/

/* ---- Section wrapper ---- */
.section-crypto-dark {
	background: #0a0f1e;
	color: #e8eaf0;
	margin-top: 0;
}

/* ---- Header bar ---- */
.crypto-dark-head {
	background: #0d1426;
	border-bottom: 1px solid rgba(255,255,255,.08);
	padding: 12px 0;
}
.crypto-dark-head-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.crypto-dark-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	flex-shrink: 0;
}
.crypto-dark-title a {
	color: inherit;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.crypto-dark-title a:hover { color: #f59e0b; }
.crypto-dark-title svg { opacity: .9; }

/* Price pills */
.crypto-price-pills {
	display: flex;
	gap: 6px;
	flex: 1;
	overflow-x: auto;
	scrollbar-width: none;
	flex-wrap: nowrap;
}
.crypto-price-pills::-webkit-scrollbar { display: none; }
.crypto-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	border: 1px solid rgba(255,255,255,.1);
	background: rgba(255,255,255,.06);
}
.crypto-pill.up   { border-color: rgba(22,163,74,.4); }
.crypto-pill.down { border-color: rgba(220,38,38,.4); }
.pill-name { color: #94a3b8; font-size: 11px; }
.pill-price { color: #fff; }
.pill-chg { font-size: 11px; }
.crypto-pill.up   .pill-chg { color: #4ade80; }
.crypto-pill.down .pill-chg { color: #f87171; }
.crypto-view-all {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 600;
	color: #60a5fa;
	margin-left: auto;
	white-space: nowrap;
}
.crypto-view-all:hover { color: #93c5fd; }

/* ---- Body grid: feature | articles | rates ---- */
.crypto-dark-body {
	display: grid;
	grid-template-columns: 42fr 28fr 30fr;
	gap: 0;
	padding: 24px 0;
}

/* ---- Feature article ---- */
.crypto-feature {
	padding-right: 24px;
	border-right: 1px solid rgba(255,255,255,.08);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.crypto-feature-img-link { display: block; overflow: hidden; border-radius: 4px; }
.crypto-feature-img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	transition: transform .4s ease;
}
.crypto-feature-img-link:hover .crypto-feature-img { transform: scale(1.03); }
.crypto-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #f59e0b;
	background: rgba(245,158,11,.15);
	padding: 3px 8px;
	border-radius: 2px;
}
.crypto-feature-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: #fff;
}
.crypto-feature-title a { color: inherit; }
.crypto-feature-title a:hover { color: #f59e0b; }
.crypto-feature-meta {
	font-size: 12px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 6px;
}
.cdot { opacity: .4; }

/* ---- Article list ---- */
.crypto-articles-col {
	padding: 0 24px;
	border-right: 1px solid rgba(255,255,255,.08);
	display: flex;
	flex-direction: column;
	gap: 0;
}
.crypto-art-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255,255,255,.06);
	color: inherit;
	transition: background .15s;
}
.crypto-art-item:last-child { border-bottom: none; }
.crypto-art-item:hover .crypto-art-title { color: #f59e0b; }
.crypto-art-img { flex-shrink: 0; }
.crypto-art-thumb {
	width: 72px;
	height: 54px;
	object-fit: cover;
	border-radius: 3px;
}
.crypto-art-body { flex: 1; min-width: 0; }
.crypto-art-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #e2e8f0;
	margin: 0 0 5px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s;
}
.crypto-art-meta {
	font-size: 11px;
	color: #475569;
	display: flex;
	align-items: center;
	gap: 5px;
}

/* ---- Live rates column ---- */
.crypto-rates-col {
	padding-left: 24px;
}
.crypto-rates-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.crypto-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 700;
	background: rgba(22,163,74,.2);
	color: #4ade80;
	letter-spacing: .1em;
}
.crypto-live-badge span {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #4ade80;
	animation: mn-dot-pulse 1.5s infinite;
}
.crypto-rates-table {
	list-style: none;
	margin: 0;
	padding: 0;
}
.crypto-rate-row {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 8px;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255,255,255,.06);
	font-size: 12px;
}
.crypto-rate-row:last-child { border-bottom: none; }
.cr-name { color: #e2e8f0; font-weight: 600; font-size: 13px; }
.cr-sym  { color: #475569; font-size: 11px; font-weight: 500; }
.cr-price { color: #cbd5e1; font-weight: 700; text-align: right; font-size: 13px; }
.cr-chg  { font-weight: 600; text-align: right; min-width: 64px; font-size: 11px; }
.cr-chg.up   { color: #4ade80; }
.cr-chg.down { color: #f87171; }
.crypto-rates-foot {
	margin-top: 10px;
	font-size: 10px;
	color: #334155;
	text-align: right;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
	.crypto-dark-body { grid-template-columns: 1fr 1fr; }
	.crypto-rates-col { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 0; margin-top: 8px; }
	.crypto-rates-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
}
@media (max-width: 800px) {
	.crypto-dark-body { grid-template-columns: 1fr; gap: 0; padding: 16px 0; }
	.crypto-feature { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 18px; margin-bottom: 4px; }
	.crypto-articles-col { padding: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 4px; }
	.crypto-rates-col { padding-left: 0; }
	.crypto-rates-table { display: grid; grid-template-columns: 1fr 1fr; }
	.crypto-price-pills { flex-wrap: nowrap; overflow-x: auto; }
}
@media print { .section-crypto-dark { display: none !important; } }



/* ---- BU Market Reporter data disclaimer ---- */
.bumr-data-note {
	font-size: 12px !important;
	color: var(--mn-text-meta) !important;
	border-top: 1px solid var(--mn-border);
	padding-top: 10px !important;
	margin-top: 24px !important;
	line-height: 1.6 !important;
}
