/**
 * Stock Maven — Main Stylesheet
 * Full design system: colors, typography, layout, components
 * @package StockMaven
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
	--sm-bg: #f7f5f0;
	--sm-paper: #ffffff;
	--sm-ink: #0a0e1a;
	--sm-ink-soft: #4a5568;
	--sm-ink-muted: #8a92a6;
	--sm-rule: #1a1f2e;
	--sm-accent: #d4541c;
	--sm-accent-dark: #b34416;
	--sm-accent-soft: #fef3ec;
	--sm-gain: #0d7a3a;
	--sm-loss: #c0392b;
	--sm-gold: #b8954a;
	--sm-max-width: 1320px;
	--sm-content-width: 760px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
	margin: 0;
	font-family: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--sm-bg);
	color: var(--sm-ink);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sm-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sm-accent-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 0.5em;
	color: var(--sm-ink);
}

h1 em, h2 em, h3 em, h4 em {
	font-style: italic;
	color: var(--sm-accent);
	font-weight: 400;
}

p { margin: 0 0 1em; }

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px; width: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}

.sm-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	background: var(--sm-ink);
	color: white;
	padding: 12px 16px;
	z-index: 9999;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	text-transform: uppercase;
}
.sm-skip-link:focus { top: 16px; }

/* ============================================
   TOP TICKER
   ============================================ */
.sm-ticker {
	background: var(--sm-ink);
	color: #b8b5ad;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.05em;
	padding: 8px 0;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sm-ticker-track {
	display: flex;
	gap: 40px;
	white-space: nowrap;
	animation: sm-scroll 60s linear infinite;
	padding-left: 24px;
	width: max-content;
}
@keyframes sm-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.sm-ticker-item { display: inline-flex; gap: 8px; align-items: baseline; }
.sm-sym { color: #e8e6e1; font-weight: 500; }
.sm-up { color: #5eb88a; }
.sm-down { color: #e87e6f; }

/* ============================================
   NAVIGATION
   ============================================ */
.sm-nav {
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(10, 14, 26, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
}
.sm-nav-inner {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 18px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}
.sm-logo {
	font-family: 'Fraunces', serif;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--sm-ink);
	text-decoration: none;
	display: flex;
	align-items: baseline;
}
.sm-logo:hover { color: var(--sm-ink); }
.sm-logo em { font-style: italic; color: var(--sm-accent); font-weight: 500; }
.sm-logo-mark {
	display: inline-block;
	width: 8px; height: 8px;
	background: var(--sm-accent);
	border-radius: 50%;
	margin-right: 8px;
	transform: translateY(-2px);
}
.sm-logo img { max-height: 40px; width: auto; }

.sm-nav-links {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0; padding: 0;
}
.sm-nav-links li { margin: 0; }
.sm-nav-links a {
	font-family: 'Inter Tight', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--sm-ink);
	text-decoration: none;
	padding: 4px 0;
	transition: color 0.2s;
}
.sm-nav-links a:hover,
.sm-nav-links .current-menu-item > a { color: var(--sm-accent); }

.sm-nav-cta {
	background: var(--sm-ink);
	color: white;
	padding: 10px 18px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s;
	white-space: nowrap;
}
.sm-nav-cta:hover { background: var(--sm-accent); color: white; }

.sm-nav-toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 4px;
}
.sm-nav-toggle span {
	width: 22px; height: 2px;
	background: var(--sm-ink);
	transition: transform 0.3s, opacity 0.3s;
}
.sm-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sm-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sm-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================
   MAIN & SECTIONS
   ============================================ */
.sm-main { min-height: 60vh; }

.sm-section {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 80px 32px;
}

.sm-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 48px;
	padding-bottom: 24px;
	border-bottom: 2px solid var(--sm-rule);
	gap: 24px;
	flex-wrap: wrap;
}
.sm-section-eyebrow {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sm-ink-muted);
	margin-bottom: 12px;
}
.sm-section-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
}
.sm-section-title em { font-style: italic; color: var(--sm-accent); font-weight: 400; }
.sm-section-link {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sm-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--sm-ink);
	padding-bottom: 4px;
	transition: color 0.2s, border-color 0.2s;
}
.sm-section-link:hover { color: var(--sm-accent); border-color: var(--sm-accent); }

/* ============================================
   HERO
   ============================================ */
.sm-hero {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 80px 32px 60px;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 64px;
	align-items: center;
}
.sm-eyebrow {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sm-accent);
	margin-bottom: 24px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.sm-eyebrow::before {
	content: '';
	width: 24px; height: 1px;
	background: currentColor;
}
.sm-hero-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(44px, 6vw, 76px);
	font-weight: 500;
	line-height: 1.0;
	letter-spacing: -0.03em;
	margin: 0 0 28px;
}
.sm-hero-lead {
	font-size: 19px;
	line-height: 1.6;
	color: var(--sm-ink-soft);
	max-width: 540px;
	margin: 0 0 36px;
}
.sm-hero-actions {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}
.sm-btn-primary {
	background: var(--sm-ink);
	color: white;
	padding: 16px 28px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: background 0.2s, gap 0.2s;
}
.sm-btn-primary:hover { background: var(--sm-accent); color: white; gap: 14px; }
.sm-btn-secondary {
	color: var(--sm-ink);
	padding: 16px 0;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-bottom: 1px solid var(--sm-ink);
	transition: color 0.2s, border-color 0.2s;
}
.sm-btn-secondary:hover { color: var(--sm-accent); border-color: var(--sm-accent); }

.sm-trust-panel {
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	padding: 32px;
}
.sm-trust-label {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--sm-ink-muted);
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(10, 14, 26, 0.08);
}
.sm-stat {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px dashed rgba(10, 14, 26, 0.1);
}
.sm-stat:last-child { border-bottom: none; padding-bottom: 0; }
.sm-stat-num {
	font-family: 'Fraunces', serif;
	font-size: 38px;
	font-weight: 500;
	color: var(--sm-ink);
	letter-spacing: -0.02em;
	line-height: 1;
	min-width: 100px;
}
.sm-stat-num em { color: var(--sm-accent); font-style: normal; font-size: 24px; }
.sm-stat-label {
	font-size: 13px;
	color: var(--sm-ink-soft);
	line-height: 1.4;
}

/* ============================================
   START TILES
   ============================================ */
.sm-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.sm-tile {
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	padding: 32px 28px;
	text-decoration: none;
	color: var(--sm-ink);
	transition: color 0.3s ease, border-color 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 200px;
}
.sm-tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--sm-accent);
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
	z-index: 0;
}
.sm-tile:hover::before { transform: translateY(0); }
.sm-tile:hover { color: white; border-color: var(--sm-accent); }
.sm-tile:hover .sm-tile-num { color: rgba(255,255,255,0.4); }
.sm-tile:hover .sm-tile-arrow { transform: translateX(4px) translateY(-4px); }
.sm-tile-num, .sm-tile-icon, .sm-tile h3, .sm-tile p, .sm-tile-arrow {
	position: relative; z-index: 1;
}
.sm-tile-num {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--sm-ink-muted);
	margin-bottom: 24px;
	transition: color 0.3s;
}
.sm-tile-icon {
	font-family: 'Fraunces', serif;
	font-size: 36px;
	margin-bottom: 20px;
	line-height: 1;
}
.sm-tile h3 {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0 0 8px;
}
.sm-tile p {
	font-size: 13px;
	line-height: 1.5;
	opacity: 0.7;
	flex: 1;
	margin: 0;
}
.sm-tile-arrow {
	align-self: flex-end;
	font-size: 18px;
	margin-top: 16px;
	transition: transform 0.3s;
}

/* ============================================
   FEATURED CARD
   ============================================ */
.sm-featured {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 0;
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	overflow: hidden;
	transition: box-shadow 0.3s;
}
.sm-featured:hover { box-shadow: 0 24px 48px -16px rgba(10, 14, 26, 0.12); }
.sm-featured-img {
	position: relative;
	min-height: 460px;
	display: block;
	overflow: hidden;
	background: #1a1f2e;
}
.sm-featured-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.sm-featured-badge {
	position: absolute;
	top: 28px; left: 28px;
	background: var(--sm-accent);
	color: white;
	padding: 10px 16px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	z-index: 2;
}
.sm-featured-content {
	padding: 56px 48px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.sm-meta-row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sm-ink-soft);
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.sm-cat-tag {
	color: var(--sm-accent);
	font-weight: 500;
	text-decoration: none;
}
.sm-cat-tag:hover { color: var(--sm-accent-dark); }
.sm-meta-sep { opacity: 0.3; }

.sm-featured-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.05;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
}
.sm-featured-title a {
	color: var(--sm-ink);
	text-decoration: none;
	background-image: linear-gradient(var(--sm-accent), var(--sm-accent));
	background-size: 0% 2px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.4s ease;
}
.sm-featured:hover .sm-featured-title a { background-size: 100% 2px; }
.sm-featured-excerpt {
	font-size: 17px;
	line-height: 1.65;
	color: var(--sm-ink-soft);
	margin: 0 0 36px;
}

/* ============================================
   AUTHOR BLOCK (inside cards)
   ============================================ */
.sm-author-block {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 28px;
	border-top: 1px solid rgba(10, 14, 26, 0.08);
	flex-wrap: wrap;
}
.sm-author-avatar {
	width: 48px; height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sm-accent) 0%, var(--sm-gold) 100%);
	color: white;
	display: flex; align-items: center; justify-content: center;
	font-family: 'Fraunces', serif;
	font-size: 19px; font-weight: 600;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}
.sm-author-avatar img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.sm-verified {
	position: absolute;
	bottom: -2px; right: -2px;
	width: 18px; height: 18px;
	background: var(--sm-gain);
	border-radius: 50%;
	border: 2px solid var(--sm-paper);
	display: flex; align-items: center; justify-content: center;
	font-size: 10px;
	color: white;
}
.sm-author-info { flex: 1; min-width: 0; }
.sm-author-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.sm-author-name a { color: var(--sm-ink); text-decoration: none; }
.sm-author-name a:hover { color: var(--sm-accent); }
.sm-author-cred {
	font-size: 12px;
	color: var(--sm-ink-soft);
	font-family: 'JetBrains Mono', monospace;
}
.sm-updated {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	color: var(--sm-ink-soft);
	text-align: right;
	line-height: 1.4;
}
.sm-updated strong { color: var(--sm-gain); font-weight: 500; }

/* ============================================
   COMPARISON HUB
   ============================================ */
.sm-compare {
	background: var(--sm-ink);
	color: white;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}
.sm-compare::before {
	content: '';
	position: absolute;
	top: 0; right: 0;
	width: 40%; height: 100%;
	background: linear-gradient(135deg, transparent 0%, rgba(212, 84, 28, 0.15) 100%);
	pointer-events: none;
}
.sm-compare-inner {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 64px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.sm-compare-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(32px, 3.5vw, 44px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0 0 20px;
	color: white;
}
.sm-compare-title em { color: var(--sm-accent); font-style: italic; }
.sm-compare-text {
	font-size: 16px;
	line-height: 1.6;
	color: #b8b5ad;
	max-width: 420px;
	margin-bottom: 28px;
}
.sm-btn-orange {
	background: var(--sm-accent);
	color: white;
	padding: 16px 28px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	display: inline-block;
	transition: background 0.2s;
}
.sm-btn-orange:hover { background: var(--sm-accent-dark); color: white; }

.sm-compare-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.sm-compare-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	padding: 28px 24px;
	text-decoration: none;
	color: white;
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
	min-height: 180px;
}
.sm-compare-card:hover {
	background: rgba(212, 84, 28, 0.1);
	border-color: var(--sm-accent);
	transform: translateY(-3px);
	color: white;
}
.sm-compare-cat {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--sm-accent);
	margin-bottom: 16px;
}
.sm-compare-card h4 {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 12px;
	color: white;
	flex: 1;
}
.sm-compare-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: #8a92a6;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* ============================================
   POST GRID & CARDS
   ============================================ */
.sm-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.sm-card {
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	text-decoration: none;
	color: var(--sm-ink);
}
.sm-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px -12px rgba(10, 14, 26, 0.15);
	border-color: var(--sm-accent);
	color: var(--sm-ink);
}
.sm-card-img {
	aspect-ratio: 16 / 10;
	position: relative;
	overflow: hidden;
	background: #1a1f2e;
}
.sm-card-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}
.sm-card:hover .sm-card-img img { transform: scale(1.04); }
.sm-card-img-placeholder {
	width: 100%; height: 100%;
	background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
	position: relative;
}
.sm-card-img-placeholder::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(212, 84, 28, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(212, 84, 28, 0.12) 1px, transparent 1px);
	background-size: 40px 40px;
}
.sm-card-cat {
	position: absolute;
	top: 16px; left: 16px;
	background: var(--sm-paper);
	color: var(--sm-ink);
	padding: 6px 10px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	z-index: 2;
}
.sm-cat-beginner { background: var(--sm-gain); color: white; }
.sm-cat-intermediate { background: var(--sm-gold); color: white; }
.sm-cat-advanced { background: var(--sm-accent); color: white; }

.sm-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.sm-card-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sm-ink-soft);
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.sm-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sm-ink-soft); opacity: 0.4; }
.sm-card h3 {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
	color: var(--sm-ink);
}
.sm-card-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--sm-ink-soft);
	margin: 0 0 20px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sm-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid rgba(10, 14, 26, 0.08);
	gap: 12px;
}
.sm-mini-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sm-mini-avatar {
	width: 28px; height: 28px;
	border-radius: 50%;
	color: white;
	display: flex; align-items: center; justify-content: center;
	font-family: 'Fraunces', serif;
	font-size: 12px; font-weight: 600;
	flex-shrink: 0;
}
.sm-mini-name {
	font-size: 12px; font-weight: 500;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	color: var(--sm-ink);
}
.sm-fact-checked {
	font-family: 'JetBrains Mono', monospace;
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sm-gain);
	display: flex; align-items: center; gap: 4px;
}
.sm-fact-checked::before { content: '✓'; font-size: 11px; }

.sm-fact-checked-large {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sm-gain);
	background: rgba(13, 122, 58, 0.08);
	padding: 8px 14px;
	border: 1px solid rgba(13, 122, 58, 0.2);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}
.sm-fact-checked-large::before { content: '✓'; font-weight: 700; }

/* ============================================
   AUTHORS SECTION
   ============================================ */
.sm-authors-section { background: var(--sm-paper); }
.sm-authors-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}
.sm-author-card {
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.3s;
}
.sm-author-card:hover { transform: translateY(-4px); color: inherit; }
.sm-author-photo {
	width: 100%;
	aspect-ratio: 1;
	background: linear-gradient(135deg, var(--sm-accent) 0%, var(--sm-gold) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-family: 'Fraunces', serif;
	font-size: 64px;
	font-weight: 500;
	margin-bottom: 20px;
	object-fit: cover;
}
img.sm-author-photo { display: block; }
.sm-author-card h4 {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 4px;
	letter-spacing: -0.01em;
	color: var(--sm-ink);
}
.sm-author-role {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--sm-accent);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.sm-author-bio {
	font-size: 14px;
	line-height: 1.6;
	color: var(--sm-ink-soft);
	margin: 0 0 16px;
}
.sm-author-creds {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--sm-ink-soft);
	padding-top: 14px;
	border-top: 1px solid rgba(10, 14, 26, 0.08);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.sm-newsletter {
	background: var(--sm-accent);
	color: white;
	padding: 80px 32px;
	position: relative;
	overflow: hidden;
}
.sm-newsletter::before {
	content: '';
	position: absolute;
	top: -50%; right: -20%;
	width: 600px; height: 600px;
	background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
	pointer-events: none;
}
.sm-newsletter-inner {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 48px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.sm-newsletter-eyebrow {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 16px;
	opacity: 0.7;
}
.sm-newsletter-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
	color: white;
}
.sm-newsletter-title em { font-style: italic; opacity: 0.85; color: white; }
.sm-newsletter-text {
	font-size: 16px;
	line-height: 1.6;
	opacity: 0.9;
	max-width: 480px;
	margin: 0;
}
.sm-newsletter-input {
	display: flex;
	background: white;
	padding: 4px;
}
.sm-newsletter-input input {
	flex: 1;
	padding: 16px 20px;
	border: none;
	font-family: 'Inter Tight', sans-serif;
	font-size: 15px;
	background: transparent;
	color: var(--sm-ink);
}
.sm-newsletter-input input:focus { outline: none; }
.sm-newsletter-input button {
	background: var(--sm-ink);
	color: white;
	border: none;
	padding: 16px 24px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s;
}
.sm-newsletter-input button:hover { background: #2d3748; }
.sm-newsletter-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	opacity: 0.75;
	margin-top: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.sm-footer {
	background: var(--sm-ink);
	color: #b8b5ad;
	padding: 64px 32px 32px;
}
.sm-footer-inner {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sm-footer-brand .sm-logo {
	color: white;
	margin-bottom: 16px;
	display: inline-flex;
}
.sm-footer-brand p {
	font-size: 14px;
	line-height: 1.6;
	max-width: 320px;
	margin: 0;
}
.sm-footer-col h5 {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: white;
	margin: 0 0 20px;
	font-weight: 500;
}
.sm-footer-col ul,
.sm-footer-col .menu { list-style: none; padding: 0; margin: 0; }
.sm-footer-col li { margin-bottom: 10px; }
.sm-footer-col a {
	color: #b8b5ad;
	text-decoration: none;
	font-size: 14px;
	font-family: 'Inter Tight', sans-serif;
	transition: color 0.2s;
}
.sm-footer-col a:hover { color: var(--sm-accent); }

.sm-footer-bottom {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: #b8b5ad;
}
.sm-disclaimer {
	max-width: var(--sm-max-width);
	margin: 24px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,0.05);
	font-size: 12px;
	line-height: 1.6;
	opacity: 0.6;
	color: #b8b5ad;
}

/* ============================================
   SINGLE POST
   ============================================ */
.sm-single-inner {
	max-width: var(--sm-content-width);
	margin: 0 auto;
	padding: 0 32px;
}

.sm-breadcrumbs {
	padding: 24px 0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sm-ink-soft);
}
.sm-breadcrumbs a {
	color: var(--sm-ink-soft);
	text-decoration: none;
}
.sm-breadcrumbs a:hover { color: var(--sm-accent); }
.sm-breadcrumb-sep { margin: 0 10px; opacity: 0.4; }

.sm-single-header {
	padding: 20px 0 40px;
}
.sm-single-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 20px;
	color: var(--sm-ink);
}
.sm-single-dek {
	font-size: 21px;
	line-height: 1.5;
	color: var(--sm-ink-soft);
	margin: 0 0 32px;
	max-width: 680px;
}
.sm-author-block-single {
	padding: 24px 0;
	border-top: 1px solid rgba(10, 14, 26, 0.1);
	border-bottom: 1px solid rgba(10, 14, 26, 0.1);
	margin-top: 24px;
}

.sm-single-hero {
	max-width: var(--sm-max-width);
	margin: 0 auto 48px;
	padding: 0 32px;
}
.sm-single-hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.sm-single-content {
	font-size: 18px;
	line-height: 1.75;
	color: var(--sm-ink);
}
.sm-single-content > * + * { margin-top: 1.5em; }
.sm-single-content h2 {
	font-family: 'Fraunces', serif;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin-top: 2em;
	margin-bottom: 0.5em;
}
.sm-single-content h3 {
	font-family: 'Fraunces', serif;
	font-size: 24px;
	font-weight: 500;
	margin-top: 1.8em;
	margin-bottom: 0.5em;
}
.sm-single-content a {
	color: var(--sm-accent);
	text-decoration: underline;
	text-decoration-color: rgba(212, 84, 28, 0.3);
	text-underline-offset: 3px;
}
.sm-single-content a:hover {
	text-decoration-color: var(--sm-accent);
}
.sm-single-content blockquote {
	border-left: 3px solid var(--sm-accent);
	padding: 8px 0 8px 24px;
	margin: 2em 0;
	font-family: 'Fraunces', serif;
	font-style: italic;
	font-size: 22px;
	line-height: 1.4;
	color: var(--sm-ink);
}
.sm-single-content code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.9em;
	background: rgba(10, 14, 26, 0.06);
	padding: 2px 6px;
	border-radius: 3px;
}
.sm-single-content pre {
	background: var(--sm-ink);
	color: #e8e6e1;
	padding: 24px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
}
.sm-single-content pre code {
	background: transparent;
	padding: 0;
	color: inherit;
}
.sm-single-content ul, .sm-single-content ol {
	padding-left: 28px;
	margin: 1em 0;
}
.sm-single-content li { margin-bottom: 0.5em; }
.sm-single-content img { margin: 2em 0; }
.sm-single-content figure { margin: 2em 0; }
.sm-single-content figcaption {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: var(--sm-ink-soft);
	text-align: center;
	margin-top: 12px;
	letter-spacing: 0.04em;
}

/* ============================================
   AUTHOR BIO BLOCK (end of article)
   ============================================ */
.sm-author-bio-block {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px;
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	padding: 32px;
	margin: 64px 0;
}
.sm-author-bio-avatar {
	position: relative;
	width: 96px; height: 96px;
}
.sm-author-bio-avatar img {
	width: 96px; height: 96px;
	border-radius: 50%;
	object-fit: cover;
}
.sm-author-bio-content { min-width: 0; }
.sm-author-bio-name {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	font-weight: 500;
	color: var(--sm-ink);
	margin-bottom: 4px;
	display: flex;
	gap: 12px;
	align-items: baseline;
	flex-wrap: wrap;
}
.sm-author-bio-creds {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--sm-ink-soft);
	letter-spacing: 0.05em;
}
.sm-author-bio-role {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--sm-accent);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.sm-author-bio-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--sm-ink-soft);
	margin: 0 0 16px;
}
.sm-author-bio-links {
	display: flex;
	gap: 24px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	flex-wrap: wrap;
}
.sm-author-bio-links a {
	color: var(--sm-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--sm-ink);
	padding-bottom: 2px;
}
.sm-author-bio-links a:hover { color: var(--sm-accent); border-color: var(--sm-accent); }

/* ============================================
   AUTHOR ARCHIVE HERO
   ============================================ */
.sm-author-hero {
	background: var(--sm-paper);
	padding: 64px 0;
	border-bottom: 2px solid var(--sm-rule);
}
.sm-author-hero-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 48px;
	align-items: center;
}
.sm-author-hero-avatar {
	position: relative;
	width: 200px; height: 200px;
}
.sm-author-hero-avatar img {
	width: 100%; height: 100%;
	border-radius: 50%;
	object-fit: cover;
}
.sm-verified-large {
	width: 32px; height: 32px;
	font-size: 18px;
	bottom: 8px; right: 8px;
	border-width: 3px;
}
.sm-author-hero-name {
	font-family: 'Fraunces', serif;
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 8px 0 8px;
}
.sm-author-hero-role {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: var(--sm-accent);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.sm-author-hero-bio {
	font-size: 17px;
	line-height: 1.6;
	color: var(--sm-ink-soft);
	margin: 0 0 20px;
	max-width: 640px;
}
.sm-author-hero-creds {
	display: flex;
	gap: 12px;
	padding: 16px 20px;
	background: var(--sm-accent-soft);
	border-left: 3px solid var(--sm-accent);
	margin-bottom: 20px;
	max-width: 560px;
}
.sm-author-hero-creds span {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sm-ink-soft);
}
.sm-author-hero-creds strong {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: var(--sm-ink);
	font-weight: 500;
}
.sm-author-hero-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.sm-author-hero-links a {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sm-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--sm-ink);
	padding-bottom: 2px;
}
.sm-author-hero-links a:hover { color: var(--sm-accent); border-color: var(--sm-accent); }

/* ============================================
   PAGINATION
   ============================================ */
.sm-pagination {
	max-width: var(--sm-max-width);
	margin: 64px auto 0;
	padding: 0 32px;
	display: flex;
	justify-content: center;
}
.sm-pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.sm-pagination .page-numbers {
	padding: 12px 18px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: var(--sm-ink);
	text-decoration: none;
	border: 1px solid rgba(10, 14, 26, 0.15);
	background: var(--sm-paper);
	transition: all 0.2s;
}
.sm-pagination .page-numbers:hover,
.sm-pagination .page-numbers.current {
	background: var(--sm-ink);
	color: white;
	border-color: var(--sm-ink);
}
.sm-pagination .page-numbers.current {
	background: var(--sm-accent);
	border-color: var(--sm-accent);
}

/* ============================================
   NO POSTS / 404
   ============================================ */
.sm-no-posts {
	max-width: var(--sm-content-width);
	margin: 48px auto;
	text-align: center;
	padding: 48px 32px;
}
.sm-no-posts h2 {
	font-family: 'Fraunces', serif;
	font-size: 32px;
	margin-bottom: 16px;
}

/* ============================================
   SEARCH FORM
   ============================================ */
.sm-search-form {
	display: flex;
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.15);
	padding: 4px;
	max-width: 600px;
	margin: 0 auto;
}
.sm-search-field {
	flex: 1;
	padding: 14px 18px;
	border: none;
	font-family: 'Inter Tight', sans-serif;
	font-size: 15px;
	background: transparent;
	color: var(--sm-ink);
}
.sm-search-field:focus { outline: none; }
.sm-search-submit {
	background: var(--sm-ink);
	color: white;
	border: none;
	padding: 14px 22px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s;
}
.sm-search-submit:hover { background: var(--sm-accent); }

/* ============================================
   COMMENTS
   ============================================ */
.sm-comments {
	margin-top: 64px;
	padding-top: 48px;
	border-top: 2px solid var(--sm-rule);
}
.sm-comments-title {
	font-family: 'Fraunces', serif;
	font-size: 28px;
	font-weight: 500;
	margin-bottom: 32px;
}
.sm-comment-list { list-style: none; padding: 0; margin: 0; }
.sm-comment-list li { margin-bottom: 32px; }
.sm-comment-list .comment-body {
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	padding: 24px;
}
.sm-comment-list .comment-author {
	font-family: 'Fraunces', serif;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 4px;
}
.sm-comment-list .comment-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--sm-ink-soft);
	margin-bottom: 16px;
	letter-spacing: 0.04em;
}
.sm-comment-list .children {
	list-style: none;
	margin-top: 24px;
	padding-left: 32px;
	border-left: 2px solid rgba(10, 14, 26, 0.08);
}

/* ============================================
   404
   ============================================ */
.sm-404 {
	max-width: var(--sm-content-width);
	margin: 80px auto;
	padding: 0 32px;
	text-align: center;
}
.sm-404-number {
	font-family: 'Fraunces', serif;
	font-size: clamp(120px, 20vw, 240px);
	font-weight: 500;
	line-height: 0.85;
	letter-spacing: -0.04em;
	color: var(--sm-accent);
	margin: 0 0 16px;
}
.sm-404 h1 {
	font-family: 'Fraunces', serif;
	font-size: clamp(32px, 4vw, 48px);
	margin: 0 0 16px;
}
.sm-404 p {
	font-size: 18px;
	color: var(--sm-ink-soft);
	margin-bottom: 32px;
}

/* ============================================
   WIDGETS & SIDEBAR
   ============================================ */
.sm-widget { margin-bottom: 40px; }
.sm-widget-title {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--sm-ink-muted);
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(10, 14, 26, 0.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
	.sm-tiles { grid-template-columns: repeat(2, 1fr); }
	.sm-grid { grid-template-columns: repeat(2, 1fr); }
	.sm-authors-grid { grid-template-columns: repeat(2, 1fr); }
	.sm-compare-inner { grid-template-columns: 1fr; gap: 40px; }
	.sm-compare-cards { grid-template-columns: 1fr; }
	.sm-footer-inner { grid-template-columns: 1fr 1fr; }
	.sm-featured-content { padding: 40px 32px; }
}

@media (max-width: 768px) {
	.sm-ticker { display: none; }
	.sm-nav-inner { padding: 14px 20px; gap: 16px; }
	.sm-nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		flex-direction: column;
		gap: 0;
		background: white;
		border-top: 1px solid rgba(10, 14, 26, 0.08);
		padding: 8px 20px;
	}
	.sm-nav-links.is-open { display: flex; }
	.sm-nav-links li { margin: 0; }
	.sm-nav-links a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid rgba(10, 14, 26, 0.06);
	}
	.sm-nav-links li:last-child a { border-bottom: none; }
	.sm-nav-cta { display: none; }
	.sm-nav-toggle { display: flex; }

	.sm-hero {
		grid-template-columns: 1fr;
		padding: 48px 24px 40px;
		gap: 40px;
	}
	.sm-section { padding: 48px 24px; }
	.sm-section-head {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 32px;
	}

	.sm-featured { grid-template-columns: 1fr; }
	.sm-featured-img { min-height: 240px; }
	.sm-featured-content { padding: 32px 24px; }

	.sm-tiles { grid-template-columns: 1fr; }
	.sm-grid { grid-template-columns: 1fr; gap: 24px; }
	.sm-authors-grid { grid-template-columns: 1fr; gap: 32px; }

	.sm-compare { padding: 56px 0; }
	.sm-compare-inner { padding: 0 24px; }

	.sm-newsletter { padding: 56px 24px; }
	.sm-newsletter-inner { grid-template-columns: 1fr; gap: 32px; }

	.sm-footer { padding: 48px 24px 24px; }
	.sm-footer-inner { grid-template-columns: 1fr; gap: 32px; }

	.sm-single-inner { padding: 0 24px; }
	.sm-single-hero { padding: 0 24px; margin-bottom: 32px; }
	.sm-single-content { font-size: 17px; }

	.sm-author-bio-block {
		grid-template-columns: 1fr;
		padding: 24px;
	}
	.sm-author-bio-avatar { margin: 0 auto; }

	.sm-author-hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
	.sm-author-hero-avatar { width: 140px; height: 140px; margin: 0 auto; }
	.sm-author-hero-creds { margin: 0 auto 20px; }
	.sm-author-hero-links { justify-content: center; }

	.sm-updated { flex-basis: 100%; text-align: left; margin-top: 8px; }
	.sm-fact-checked-large { margin-left: 0; margin-top: 8px; }
}

@media (max-width: 480px) {
	.sm-hero-title { font-size: 40px; }
	.sm-section-title { font-size: 28px; }
	.sm-trust-panel { padding: 24px; }
	.sm-stat-num { font-size: 32px; min-width: 80px; }
	.sm-featured-title { font-size: 26px; }
	.sm-newsletter-input { flex-direction: column; padding: 0; gap: 8px; background: transparent; }
	.sm-newsletter-input input { background: white; padding: 14px 16px; }
	.sm-newsletter-input button { padding: 14px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
	.sm-ticker, .sm-nav, .sm-newsletter, .sm-footer,
	.sm-related, .sm-author-bio-block { display: none; }
	body { background: white; color: black; }
	.sm-single-content { font-size: 12pt; }
}

/* ============================================
   JS-ENHANCED STATES
   ============================================ */
.sm-nav.is-scrolled {
	box-shadow: 0 2px 12px rgba(10, 14, 26, 0.06);
}

.sm-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: var(--sm-accent);
	width: 0%;
	z-index: 9999;
	transition: width 0.1s ease-out;
}


/* ============================================
   VISUAL TABLOID FRONT PAGE (v1.3.0)
   ============================================ */
/**
 * Stock Maven — Visual Tabloid Front Page (v1.3.0)
 * Photo-led editorial layout following 2026 finance website standards
 *
 * Append to assets/css/main.css OR enqueue separately
 *
 * @package StockMaven
 * @since 1.3.0
 */

/* ============================================
   MARKETS BAR (compact, sticky-friendly)
   ============================================ */
.sm-vis-markets {
	background: var(--sm-paper);
	border-bottom: 1px solid rgba(10, 14, 26, 0.08);
}
.sm-vis-markets-inner {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	gap: 24px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	overflow-x: auto;
	scrollbar-width: none;
}
.sm-vis-markets-inner::-webkit-scrollbar { display: none; }
.sm-vis-markets-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sm-loss);
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-size: 10px;
	flex-shrink: 0;
	padding-right: 12px;
	border-right: 1px solid rgba(10, 14, 26, 0.1);
}
.sm-vis-live-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--sm-loss);
	animation: sm-vis-pulse 1.8s ease-in-out infinite;
}
@keyframes sm-vis-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}
.sm-vis-mkt {
	display: inline-flex;
	gap: 6px;
	align-items: baseline;
	color: var(--sm-ink);
	text-decoration: none;
	flex-shrink: 0;
	transition: color 0.2s;
}
.sm-vis-mkt:hover { color: var(--sm-accent); }
.sm-vis-mkt-sym {
	font-weight: 600;
	color: var(--sm-ink-soft);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.sm-vis-mkt-val {
	color: var(--sm-ink);
	font-weight: 500;
}
.sm-vis-mkt-chg.sm-up { color: var(--sm-gain); font-weight: 500; }
.sm-vis-mkt-chg.sm-down { color: var(--sm-loss); font-weight: 500; }

/* ============================================
   HERO: Photo-led 2-column layout
   ============================================ */
.sm-vis-hero {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 32px 24px;
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 24px;
}

/* Lead story with overlay */
.sm-vis-hero-lead {
	position: relative;
}
.sm-vis-hero-lead-img {
	display: block;
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: #1a1f2e;
	text-decoration: none;
}
.sm-vis-hero-lead-photo,
.sm-vis-hero-lead-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}
.sm-vis-hero-lead-img:hover img { transform: scale(1.03); }
.sm-vis-hero-lead-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(10, 14, 26, 0.4) 60%, rgba(10, 14, 26, 0.92) 100%);
}
.sm-vis-hero-lead-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 36px 36px 32px;
	color: white;
}
.sm-vis-hero-lead-cat {
	display: inline-block;
	background: var(--sm-accent);
	color: white;
	padding: 6px 12px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 16px;
}
.sm-vis-hero-lead-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.05;
	font-weight: 500;
	letter-spacing: -0.025em;
	color: white;
	margin: 0 0 12px;
	text-shadow: 0 2px 8px rgba(10, 14, 26, 0.3);
}
.sm-vis-hero-lead-dek {
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 16px;
	max-width: 640px;
}
.sm-vis-hero-lead-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.85);
	flex-wrap: wrap;
	letter-spacing: 0.04em;
}
.sm-vis-by { font-weight: 500; color: white; }
.sm-vis-creds { color: rgba(255, 255, 255, 0.7); font-size: 10px; }
.sm-vis-meta-sep { opacity: 0.5; }

/* Two stacked secondary stories */
.sm-vis-hero-side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 24px;
}
.sm-vis-hero-secondary {
	display: grid;
	grid-template-columns: 1fr;
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	overflow: hidden;
	transition: box-shadow 0.3s, transform 0.3s;
}
.sm-vis-hero-secondary:hover {
	box-shadow: 0 12px 32px -12px rgba(10, 14, 26, 0.18);
	transform: translateY(-2px);
}
.sm-vis-hero-secondary-img {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #1a1f2e;
}
.sm-vis-secondary-photo,
.sm-vis-hero-secondary-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.sm-vis-hero-secondary:hover .sm-vis-secondary-photo { transform: scale(1.04); }
.sm-vis-hero-secondary-body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.sm-vis-hero-secondary-title {
	font-family: 'Fraunces', serif;
	font-size: 19px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0;
}
.sm-vis-hero-secondary-title a {
	color: var(--sm-ink);
	text-decoration: none;
}
.sm-vis-hero-secondary-title a:hover { color: var(--sm-accent); }
.sm-vis-hero-secondary-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	color: var(--sm-ink-muted);
	letter-spacing: 0.04em;
	margin-top: auto;
}

/* Category pill (used everywhere) */
.sm-vis-cat-pill {
	display: inline-block;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sm-accent);
	font-weight: 600;
	text-decoration: none;
	background: var(--sm-accent-soft);
	padding: 4px 8px;
	transition: background 0.2s, color 0.2s;
}
.sm-vis-cat-pill:hover { background: var(--sm-accent); color: white; }

/* ============================================
   TRUST RIBBON (E-E-A-T signal)
   ============================================ */
.sm-vis-trust-ribbon {
	background: var(--sm-ink);
	color: white;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sm-vis-trust-ribbon-inner {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 18px 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.sm-vis-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
}
.sm-vis-trust-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(212, 84, 28, 0.15);
	color: var(--sm-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Fraunces', serif;
	font-weight: 600;
	font-size: 16px;
	flex-shrink: 0;
}
.sm-vis-trust-item > div:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.sm-vis-trust-item strong {
	font-family: 'Fraunces', serif;
	font-size: 14px;
	font-weight: 500;
	color: white;
	margin-bottom: 1px;
	letter-spacing: -0.01em;
}
.sm-vis-trust-item span {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	color: #b8b5ad;
	letter-spacing: 0.02em;
}

/* ============================================
   GRID SECTIONS (shared)
   ============================================ */
.sm-vis-grid-section,
.sm-vis-categories,
.sm-vis-more {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 56px 24px;
}

.sm-vis-section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(10, 14, 26, 0.1);
	gap: 16px;
}
.sm-vis-section-head h2 {
	font-family: 'Fraunces', serif;
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--sm-ink);
}
.sm-vis-section-link {
	font-family: 'Inter Tight', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--sm-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}
.sm-vis-section-link:hover { color: var(--sm-accent); }

/* ============================================
   4-CARD GRID
   ============================================ */
.sm-vis-grid {
	display: grid;
	gap: 28px;
}
.sm-vis-grid-4 { grid-template-columns: repeat(4, 1fr); }

.sm-vis-card {
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.sm-vis-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -12px rgba(10, 14, 26, 0.15);
	border-color: rgba(212, 84, 28, 0.4);
}
.sm-vis-card-img-wrap {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #1a1f2e;
}
.sm-vis-card-photo,
.sm-vis-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.sm-vis-card:hover .sm-vis-card-photo { transform: scale(1.05); }
.sm-vis-card-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--sm-gain);
	color: white;
	font-family: 'JetBrains Mono', monospace;
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 8px;
	font-weight: 600;
	z-index: 2;
}
.sm-vis-card-body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.sm-vis-card-body .sm-vis-cat-pill {
	align-self: flex-start;
}
.sm-vis-card-title {
	font-family: 'Fraunces', serif;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0;
}
.sm-vis-card-title a {
	color: var(--sm-ink);
	text-decoration: none;
}
.sm-vis-card-title a:hover { color: var(--sm-accent); }
.sm-vis-card-excerpt {
	font-size: 13px;
	line-height: 1.55;
	color: var(--sm-ink-soft);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sm-vis-card-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	color: var(--sm-ink-muted);
	letter-spacing: 0.04em;
	margin-top: auto;
	padding-top: 8px;
}

/* ============================================
   COMPARISON SHOWCASE
   ============================================ */
.sm-vis-compare {
	background: linear-gradient(180deg, var(--sm-bg) 0%, #efece5 100%);
	padding: 64px 0;
	border-top: 1px solid rgba(10, 14, 26, 0.06);
	border-bottom: 1px solid rgba(10, 14, 26, 0.06);
}
.sm-vis-compare-inner {
	max-width: var(--sm-max-width);
	margin: 0 auto;
	padding: 0 24px;
}
.sm-vis-compare-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
}
.sm-vis-compare-eyebrow {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--sm-accent);
	font-weight: 600;
	margin-bottom: 12px;
}
.sm-vis-compare-head h2 {
	font-family: 'Fraunces', serif;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0 0 12px;
	color: var(--sm-ink);
}
.sm-vis-compare-head p {
	font-size: 16px;
	line-height: 1.55;
	color: var(--sm-ink-soft);
	margin: 0;
}

.sm-vis-compare-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.sm-vis-compare-card {
	display: block;
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	overflow: hidden;
	text-decoration: none;
	color: var(--sm-ink);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.sm-vis-compare-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -12px rgba(10, 14, 26, 0.18);
	border-color: var(--sm-accent);
	color: var(--sm-ink);
}
.sm-vis-compare-img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #1a1f2e;
}
.sm-vis-compare-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.sm-vis-compare-card:hover .sm-vis-compare-img img { transform: scale(1.04); }
.sm-vis-compare-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 160px;
}
.sm-vis-compare-cat {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--sm-accent);
	font-weight: 600;
}
.sm-vis-compare-title {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0;
	flex: 1;
}
.sm-vis-compare-cta {
	font-family: 'Inter Tight', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: var(--sm-accent);
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.sm-vis-compare-cta span { transition: transform 0.2s; }
.sm-vis-compare-card:hover .sm-vis-compare-cta span { transform: translateX(4px); }

/* ============================================
   CATEGORY SHOWCASE (replaces author section)
   ============================================ */
.sm-vis-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.sm-vis-cat-card {
	display: block;
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	overflow: hidden;
	text-decoration: none;
	color: var(--sm-ink);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.sm-vis-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -12px rgba(10, 14, 26, 0.18);
	border-color: var(--sm-accent);
	color: var(--sm-ink);
}

.sm-vis-cat-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.sm-vis-cat-card-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.sm-vis-cat-card:hover .sm-vis-cat-card-photo { transform: scale(1.05); }

/* Color-themed gradient overlays for each category */
.sm-vis-cat-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(212, 84, 28, 0.85) 0%, rgba(184, 149, 74, 0.85) 100%);
	mix-blend-mode: multiply;
	transition: opacity 0.3s;
}
.sm-vis-cat-crypto .sm-vis-cat-card-overlay {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.85) 0%, rgba(212, 84, 28, 0.85) 100%);
}
.sm-vis-cat-stocks .sm-vis-cat-card-overlay {
	background: linear-gradient(135deg, rgba(13, 122, 58, 0.82) 0%, rgba(26, 31, 46, 0.85) 100%);
}
.sm-vis-cat-gold .sm-vis-cat-card-overlay {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(184, 149, 74, 0.85) 100%);
}
.sm-vis-cat-foundation .sm-vis-cat-card-overlay {
	background: linear-gradient(135deg, rgba(91, 141, 239, 0.82) 0%, rgba(26, 58, 92, 0.85) 100%);
}
.sm-vis-cat-apps .sm-vis-cat-card-overlay {
	background: linear-gradient(135deg, rgba(192, 57, 43, 0.82) 0%, rgba(26, 31, 46, 0.85) 100%);
}
.sm-vis-cat-ai .sm-vis-cat-card-overlay {
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.82) 0%, rgba(26, 31, 46, 0.85) 100%);
}

/* Fallback when no photo exists — pure gradient */
.sm-vis-cat-card-media:not(:has(img)) .sm-vis-cat-card-overlay {
	mix-blend-mode: normal;
}

.sm-vis-cat-card:hover .sm-vis-cat-card-overlay { opacity: 0.92; }

.sm-vis-cat-card-icon {
	position: absolute;
	bottom: 20px;
	left: 24px;
	font-family: 'Fraunces', serif;
	font-size: 56px;
	color: white;
	line-height: 1;
	z-index: 2;
	opacity: 0.95;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.sm-vis-cat-card-body {
	padding: 22px 24px 20px;
}
.sm-vis-cat-card-title {
	font-family: 'Fraunces', serif;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.015em;
	margin: 0 0 6px;
	color: var(--sm-ink);
}
.sm-vis-cat-card-desc {
	font-size: 14px;
	line-height: 1.5;
	color: var(--sm-ink-soft);
	margin: 0 0 14px;
}
.sm-vis-cat-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--sm-ink-muted);
	letter-spacing: 0.04em;
	padding-top: 12px;
	border-top: 1px solid rgba(10, 14, 26, 0.08);
}
.sm-vis-cat-card-arrow {
	color: var(--sm-accent);
	font-size: 16px;
	font-weight: 600;
	transition: transform 0.2s;
}
.sm-vis-cat-card:hover .sm-vis-cat-card-arrow { transform: translateX(4px); }

/* ============================================
   MOSAIC (more stories — asymmetric grid)
   ============================================ */
.sm-vis-mosaic {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.sm-vis-mosaic-item {
	display: flex;
	flex-direction: column;
	background: var(--sm-paper);
	border-bottom: 1px solid rgba(10, 14, 26, 0.08);
	padding-bottom: 20px;
	transition: transform 0.3s;
}
.sm-vis-mosaic-item:hover {
	transform: translateY(-2px);
}
.sm-vis-mosaic-img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #1a1f2e;
	margin-bottom: 14px;
}
.sm-vis-mosaic-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.sm-vis-mosaic-item:hover .sm-vis-mosaic-img img { transform: scale(1.04); }

.sm-vis-mosaic-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sm-vis-mosaic-body .sm-vis-cat-pill { align-self: flex-start; }
.sm-vis-mosaic-title {
	font-family: 'Fraunces', serif;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0;
}
.sm-vis-mosaic-title a {
	color: var(--sm-ink);
	text-decoration: none;
}
.sm-vis-mosaic-title a:hover { color: var(--sm-accent); }
.sm-vis-mosaic-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	color: var(--sm-ink-muted);
	letter-spacing: 0.04em;
	margin-top: 4px;
}
.sm-vis-fc {
	color: var(--sm-gain);
	font-weight: 700;
}

/* ============================================
   PLACEHOLDER (when no thumbnail)
   ============================================ */
.sm-vis-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
	position: relative;
}
.sm-vis-placeholder::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(212, 84, 28, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(212, 84, 28, 0.1) 1px, transparent 1px);
	background-size: 40px 40px;
}
.sm-vis-placeholder-hero::before {
	content: '';
	position: absolute;
	bottom: 15%;
	left: 8%;
	right: 8%;
	height: 60%;
	background: linear-gradient(180deg, transparent 0%, rgba(212, 84, 28, 0.4) 100%);
	clip-path: polygon(0 80%, 8% 70%, 16% 75%, 24% 60%, 32% 65%, 40% 50%, 48% 55%, 56% 40%, 64% 45%, 72% 30%, 80% 35%, 88% 20%, 100% 25%, 100% 100%, 0 100%);
	z-index: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
	.sm-vis-hero { grid-template-columns: 1fr; }
	.sm-vis-hero-side { grid-template-rows: auto auto; grid-template-columns: 1fr 1fr; gap: 20px; }
	.sm-vis-hero-secondary { grid-template-columns: 200px 1fr; }
	.sm-vis-hero-secondary-img { aspect-ratio: 1; }

	.sm-vis-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.sm-vis-trust-ribbon-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.sm-vis-compare-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
	.sm-vis-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.sm-vis-mosaic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.sm-vis-markets-inner { padding: 10px 16px; gap: 16px; }
	.sm-vis-markets-label { padding-right: 10px; }

	.sm-vis-hero { padding: 20px 16px; gap: 16px; }
	.sm-vis-hero-side { grid-template-columns: 1fr; gap: 16px; }
	.sm-vis-hero-secondary { grid-template-columns: 1fr; }
	.sm-vis-hero-secondary-img { aspect-ratio: 16 / 9; }
	.sm-vis-hero-lead-content { padding: 20px 18px 18px; }
	.sm-vis-hero-lead-title { font-size: 24px; }
	.sm-vis-hero-lead-dek {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 14px;
	}

	.sm-vis-trust-ribbon-inner {
		grid-template-columns: 1fr;
		padding: 14px 16px;
		gap: 12px;
	}

	.sm-vis-grid-section,
	.sm-vis-categories,
	.sm-vis-more { padding: 32px 16px; }
	.sm-vis-section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 20px;
	}

	.sm-vis-grid-4 { grid-template-columns: 1fr; gap: 20px; }
	.sm-vis-cat-grid { grid-template-columns: 1fr; gap: 16px; }
	.sm-vis-mosaic { grid-template-columns: 1fr; gap: 24px; }

	.sm-vis-compare { padding: 40px 0; }
	.sm-vis-compare-inner { padding: 0 16px; }
}


/* ============================================
   v1.5 — LIVE TICKER + MORE VISUAL TABLOID
   ============================================ */

/* ============================================
   LIVE TICKER (desktop + mobile)
   ============================================ */
.sm-ticker {
	background: var(--sm-ink);
	color: white;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0;
	min-height: 40px;
	overflow: hidden;
	position: relative;
}

.sm-ticker-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px 0 24px;
	height: 100%;
	background: rgba(212, 84, 28, 0.18);
	color: var(--sm-accent);
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
	flex-shrink: 0;
}
.sm-ticker-label-text {
	display: inline-block;
}
.sm-ticker-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sm-accent);
	box-shadow: 0 0 10px rgba(212, 84, 28, 0.6);
	animation: sm-ticker-pulse-dot 1.6s ease-in-out infinite;
	flex-shrink: 0;
}
@keyframes sm-ticker-pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.7); }
}

.sm-ticker-track {
	overflow: hidden;
	position: relative;
	min-width: 0;
}
/* Fade edges so items appear to slide in/out */
.sm-ticker-track::before,
.sm-ticker-track::after {
	content: '';
	position: absolute;
	top: 0; bottom: 0;
	width: 32px;
	z-index: 2;
	pointer-events: none;
}
.sm-ticker-track::before {
	left: 0;
	background: linear-gradient(90deg, var(--sm-ink) 0%, transparent 100%);
}
.sm-ticker-track::after {
	right: 0;
	background: linear-gradient(-90deg, var(--sm-ink) 0%, transparent 100%);
}

.sm-ticker-items {
	display: flex;
	align-items: center;
	gap: 36px;
	padding: 10px 24px;
	white-space: nowrap;
	/* Desktop: animated marquee */
	animation: sm-ticker-scroll 60s linear infinite;
}

@keyframes sm-ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Pause on hover for accessibility */
.sm-ticker:hover .sm-ticker-items {
	animation-play-state: paused;
}

.sm-ticker-item {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	flex-shrink: 0;
	transition: opacity 0.2s;
}
.sm-ticker-pulse {
	animation: sm-ticker-flash 0.5s ease-out;
}
@keyframes sm-ticker-flash {
	0% { opacity: 0.4; }
	100% { opacity: 1; }
}

.sm-ticker-sym {
	color: #b8b5ad;
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.sm-ticker-val {
	color: white;
	font-weight: 500;
}
.sm-ticker-chg {
	font-weight: 500;
	color: #b8b5ad;
	min-width: 50px;
}
.sm-ticker-chg.sm-up { color: #5eb88a; }
.sm-ticker-chg.sm-down { color: #e87e6f; }
.sm-ticker-chg.sm-flat { color: #b8b5ad; }

.sm-ticker-meta {
	padding: 0 24px 0 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.06);
	height: 100%;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.sm-ticker-updated {
	font-family: 'JetBrains Mono', monospace;
	font-size: 9px;
	color: #6a7180;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Mobile ticker: drop animation, allow horizontal scroll */
@media (max-width: 760px) {
	.sm-ticker {
		grid-template-columns: auto 1fr;
	}
	.sm-ticker-meta { display: none; }
	.sm-ticker-label {
		padding: 0 10px 0 14px;
		font-size: 9px;
	}
	.sm-ticker-label-text { display: none; }
	.sm-ticker-track::before,
	.sm-ticker-track::after { width: 16px; }
	.sm-ticker-items {
		animation: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 24px;
		padding: 9px 16px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.sm-ticker-items::-webkit-scrollbar { display: none; }
	.sm-ticker-item {
		scroll-snap-align: start;
		font-size: 11px;
		gap: 6px;
	}
	.sm-ticker-sym { font-size: 9px; }
}

/* ============================================
   v1.5 HERO — bigger, more dramatic photography
   ============================================ */
.sm-vis-v15 .sm-vis-hero {
	padding: 36px 24px 40px;
	gap: 28px;
}
.sm-vis-v15 .sm-vis-hero-lead-img {
	aspect-ratio: 16 / 10; /* Slightly taller than v1.3 for more drama */
}
.sm-vis-v15 .sm-vis-hero-lead-overlay {
	background: linear-gradient(180deg,
		rgba(10, 14, 26, 0.15) 0%,
		rgba(10, 14, 26, 0.05) 30%,
		rgba(10, 14, 26, 0.55) 65%,
		rgba(10, 14, 26, 0.96) 100%);
}
.sm-vis-v15 .sm-vis-hero-lead-content {
	padding: 44px 44px 36px;
}
.sm-vis-v15 .sm-vis-hero-lead-title {
	font-size: clamp(32px, 4.2vw, 52px);
	margin-bottom: 16px;
}
.sm-vis-v15 .sm-vis-hero-lead-dek {
	font-size: 17px;
	margin-bottom: 20px;
	max-width: 700px;
}
.sm-vis-v15 .sm-vis-hero-lead-meta {
	font-size: 12px;
}
.sm-vis-hero-lead-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.7);
	margin-right: 4px;
	flex-shrink: 0;
}

/* Secondary stories: photo-overlay style instead of side-by-side card */
.sm-vis-v15 .sm-vis-hero-secondary {
	display: block;
	background: transparent;
	border: none;
	overflow: hidden;
	position: relative;
}
.sm-vis-v15 .sm-vis-hero-secondary:hover {
	box-shadow: none;
}
.sm-vis-v15 .sm-vis-hero-secondary-img {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #1a1f2e;
	border-radius: 0;
}
.sm-vis-v15 .sm-vis-hero-secondary-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg,
		rgba(10, 14, 26, 0.05) 0%,
		rgba(10, 14, 26, 0.4) 55%,
		rgba(10, 14, 26, 0.92) 100%);
}
.sm-vis-v15 .sm-vis-hero-secondary-content {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 22px 24px 20px;
	color: white;
}
.sm-vis-v15 .sm-vis-hero-secondary-cat {
	display: inline-block;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: white;
	background: var(--sm-accent);
	padding: 4px 10px;
	margin-bottom: 10px;
}
.sm-vis-v15 .sm-vis-hero-secondary-title {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	line-height: 1.18;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: white;
	margin: 0 0 8px;
	text-shadow: 0 2px 8px rgba(10, 14, 26, 0.3);
}
.sm-vis-v15 .sm-vis-hero-secondary-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.04em;
	margin-top: 0;
}

/* ============================================
   MAGAZINE MOSAIC: 1 large feature + 4 smaller
   ============================================ */
.sm-vis-mag {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto auto;
	gap: 24px;
}
.sm-vis-mag-feature {
	grid-column: span 2;
	grid-row: span 2;
	position: relative;
	overflow: hidden;
}
.sm-vis-mag-item {
	background: var(--sm-paper);
	border: 1px solid rgba(10, 14, 26, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.sm-vis-mag-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -12px rgba(10, 14, 26, 0.15);
	border-color: rgba(212, 84, 28, 0.4);
}
.sm-vis-mag-img-wrap {
	display: block;
	position: relative;
	overflow: hidden;
	background: #1a1f2e;
}
.sm-vis-mag-feature .sm-vis-mag-img-wrap {
	height: 100%;
	min-height: 480px;
}
.sm-vis-mag-item .sm-vis-mag-img-wrap {
	aspect-ratio: 16 / 10;
}
.sm-vis-mag-photo,
.sm-vis-mag-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}
.sm-vis-mag-item:hover .sm-vis-mag-photo,
.sm-vis-mag-feature:hover .sm-vis-mag-photo { transform: scale(1.04); }

.sm-vis-mag-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg,
		rgba(10, 14, 26, 0.05) 0%,
		rgba(10, 14, 26, 0.05) 40%,
		rgba(10, 14, 26, 0.6) 70%,
		rgba(10, 14, 26, 0.95) 100%);
}
.sm-vis-mag-feature-content {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 32px 32px 28px;
	color: white;
	z-index: 2;
}
.sm-vis-mag-feature-cat {
	display: inline-block;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: white;
	background: var(--sm-accent);
	padding: 5px 11px;
	margin-bottom: 14px;
}
.sm-vis-mag-feature-title {
	font-family: 'Fraunces', serif;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.12;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: white;
	margin: 0 0 10px;
	text-shadow: 0 2px 8px rgba(10, 14, 26, 0.3);
}
.sm-vis-mag-feature-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.04em;
}

.sm-vis-mag-body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}
.sm-vis-mag-body .sm-vis-cat-pill {
	align-self: flex-start;
}
.sm-vis-mag-title {
	font-family: 'Fraunces', serif;
	font-size: 16px;
	line-height: 1.22;
	font-weight: 500;
	letter-spacing: -0.005em;
	margin: 0;
}
.sm-vis-mag-title a {
	color: var(--sm-ink);
	text-decoration: none;
}
.sm-vis-mag-title a:hover { color: var(--sm-accent); }
.sm-vis-mag-meta {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	color: var(--sm-ink-muted);
	letter-spacing: 0.04em;
	margin-top: auto;
	padding-top: 6px;
}

/* ============================================
   v1.5 CATEGORY CARDS — full-bleed photo with content over image
   ============================================ */
.sm-vis-cat-grid-v15 {
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card {
	border: none;
	background: transparent;
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card-overlay {
	background: linear-gradient(180deg,
		rgba(10, 14, 26, 0.2) 0%,
		rgba(10, 14, 26, 0.4) 40%,
		rgba(10, 14, 26, 0.85) 100%);
	mix-blend-mode: normal;
}
/* Color-themed accent overlays — softer than v1.3 to let photos show */
.sm-vis-cat-grid-v15 .sm-vis-cat-crypto .sm-vis-cat-card-overlay {
	background: linear-gradient(180deg,
		rgba(245, 158, 11, 0.12) 0%,
		rgba(212, 84, 28, 0.5) 50%,
		rgba(10, 14, 26, 0.92) 100%);
}
.sm-vis-cat-grid-v15 .sm-vis-cat-stocks .sm-vis-cat-card-overlay {
	background: linear-gradient(180deg,
		rgba(13, 122, 58, 0.12) 0%,
		rgba(13, 122, 58, 0.45) 45%,
		rgba(10, 14, 26, 0.92) 100%);
}
.sm-vis-cat-grid-v15 .sm-vis-cat-gold .sm-vis-cat-card-overlay {
	background: linear-gradient(180deg,
		rgba(212, 175, 55, 0.15) 0%,
		rgba(184, 149, 74, 0.5) 50%,
		rgba(10, 14, 26, 0.92) 100%);
}
.sm-vis-cat-grid-v15 .sm-vis-cat-foundation .sm-vis-cat-card-overlay {
	background: linear-gradient(180deg,
		rgba(91, 141, 239, 0.12) 0%,
		rgba(26, 58, 92, 0.5) 50%,
		rgba(10, 14, 26, 0.92) 100%);
}
.sm-vis-cat-grid-v15 .sm-vis-cat-apps .sm-vis-cat-card-overlay {
	background: linear-gradient(180deg,
		rgba(192, 57, 43, 0.12) 0%,
		rgba(192, 57, 43, 0.5) 50%,
		rgba(10, 14, 26, 0.92) 100%);
}
.sm-vis-cat-grid-v15 .sm-vis-cat-ai .sm-vis-cat-card-overlay {
	background: linear-gradient(180deg,
		rgba(124, 58, 237, 0.12) 0%,
		rgba(124, 58, 237, 0.45) 50%,
		rgba(10, 14, 26, 0.92) 100%);
}

.sm-vis-cat-grid-v15 .sm-vis-cat-card-icon {
	position: absolute;
	top: 20px;
	left: 24px;
	bottom: auto;
	font-size: 36px;
	opacity: 0.85;
}

.sm-vis-cat-grid-v15 .sm-vis-cat-card-inner {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 24px 24px 22px;
	color: white;
	z-index: 2;
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card-title {
	font-family: 'Fraunces', serif;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: white;
	margin: 0 0 6px;
	line-height: 1.05;
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card-desc {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 12px;
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.75);
	letter-spacing: 0.05em;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card-arrow {
	color: white;
	font-size: 16px;
	font-weight: 600;
	transition: transform 0.2s;
}
.sm-vis-cat-grid-v15 .sm-vis-cat-card:hover .sm-vis-cat-card-arrow { transform: translateX(4px); }

/* ============================================
   RESPONSIVE — v1.5
   ============================================ */
@media (max-width: 1100px) {
	.sm-vis-mag { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto auto; }
	.sm-vis-mag-feature { grid-column: span 2; grid-row: auto; }
	.sm-vis-mag-feature .sm-vis-mag-img-wrap { aspect-ratio: 16 / 9; min-height: 0; }
	.sm-vis-cat-grid-v15 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.sm-vis-v15 .sm-vis-hero { padding: 20px 16px 24px; gap: 14px; }
	.sm-vis-v15 .sm-vis-hero-lead-content { padding: 22px 18px 20px; }
	.sm-vis-v15 .sm-vis-hero-lead-title { font-size: 24px; margin-bottom: 10px; }
	.sm-vis-v15 .sm-vis-hero-lead-dek {
		font-size: 14px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.sm-vis-v15 .sm-vis-hero-secondary-content { padding: 16px 16px 14px; }
	.sm-vis-v15 .sm-vis-hero-secondary-title { font-size: 17px; }

	.sm-vis-mag { grid-template-columns: 1fr; gap: 16px; }
	.sm-vis-mag-feature { grid-column: span 1; }
	.sm-vis-mag-feature .sm-vis-mag-img-wrap { aspect-ratio: 16 / 10; min-height: 0; }
	.sm-vis-mag-feature-content { padding: 22px 20px 18px; }
	.sm-vis-mag-feature-title { font-size: 22px; }

	.sm-vis-cat-grid-v15 { grid-template-columns: 1fr; gap: 14px; }
	.sm-vis-cat-grid-v15 .sm-vis-cat-card-media { aspect-ratio: 16 / 9; }
	.sm-vis-cat-grid-v15 .sm-vis-cat-card-title { font-size: 22px; }
}


/* ============================================
   v1.7 — HOVER DROPDOWN MENUS
   Desktop: hover-activated dropdowns with smooth reveal
   Mobile: tap-to-expand inline submenus (handled in JS)
   ============================================ */

/* Position parent <li> relative for absolute submenu placement */
.sm-nav-links {
	position: relative;
}
.sm-nav-links > li {
	position: relative;
}

/* Reset list defaults on submenu items */
.sm-nav-links .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}
.sm-nav-links .sub-menu li {
	margin: 0;
}

/* Top-level link: chevron indicator for parents with children */
.sm-nav-links > li.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.sm-nav-links > li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	margin-left: 4px;
	opacity: 0.55;
	transition: transform 0.25s, opacity 0.2s;
}
.sm-nav-links > li.menu-item-has-children:hover > a::after,
.sm-nav-links > li.menu-item-has-children:focus-within > a::after {
	transform: rotate(225deg) translateY(0);
	opacity: 1;
}

/* The dropdown panel itself (desktop) */
.sm-nav-links .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 220px;
	background: #ffffff;
	border: 1px solid rgba(10, 14, 26, 0.08);
	box-shadow: 0 16px 40px -12px rgba(10, 14, 26, 0.18), 0 4px 12px -6px rgba(10, 14, 26, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	z-index: 1000;
	pointer-events: none;
}

/* Reveal on hover or keyboard focus-within (accessibility) */
.sm-nav-links > li.menu-item-has-children:hover > .sub-menu,
.sm-nav-links > li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Invisible hover bridge — closes a small gap between link and dropdown so
   the hover doesn't break when the cursor moves down */
.sm-nav-links > li.menu-item-has-children::before {
	content: '';
	position: absolute;
	top: 100%;
	left: -16px;
	right: -16px;
	height: 12px;
	pointer-events: none;
}
.sm-nav-links > li.menu-item-has-children:hover::before {
	pointer-events: auto;
}

/* Submenu links */
.sm-nav-links .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-family: 'Inter Tight', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--sm-ink);
	text-decoration: none;
	letter-spacing: -0.005em;
	transition: background 0.15s, color 0.15s, padding-left 0.15s;
	border-left: 2px solid transparent;
}
.sm-nav-links .sub-menu a:hover,
.sm-nav-links .sub-menu a:focus {
	background: var(--sm-accent-soft);
	color: var(--sm-accent);
	border-left-color: var(--sm-accent);
	padding-left: 20px;
	outline: none;
}

/* Active state for current submenu item */
.sm-nav-links .sub-menu .current-menu-item > a,
.sm-nav-links .sub-menu .current_page_item > a {
	color: var(--sm-accent);
	background: var(--sm-accent-soft);
	border-left-color: var(--sm-accent);
}

/* Right-edge submenus shouldn't overflow viewport — last 2 items align right */
.sm-nav-links > li.menu-item-has-children:nth-last-child(-n+2) > .sub-menu {
	left: auto;
	right: -16px;
}
.sm-nav-links > li.menu-item-has-children:nth-last-child(-n+2)::before {
	left: auto;
	right: -16px;
	width: 220px;
}

/* ============================================
   MOBILE: tap-to-expand inline submenus
   ============================================ */
@media (max-width: 768px) {
	.sm-nav-links .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		background: rgba(10, 14, 26, 0.025);
		max-height: 0;
		overflow: hidden;
		padding: 0;
		transition: max-height 0.3s ease, padding 0.3s ease;
		pointer-events: auto;
	}
	.sm-nav-links > li.menu-item-has-children.is-open > .sub-menu {
		max-height: 600px;
		padding: 4px 0 8px;
	}
	.sm-nav-links .sub-menu a {
		padding: 11px 24px 11px 36px;
		font-size: 14px;
		border-left: none;
		border-bottom: 1px solid rgba(10, 14, 26, 0.04);
	}
	.sm-nav-links .sub-menu a:hover,
	.sm-nav-links .sub-menu a:focus {
		padding-left: 36px;
		border-left: none;
	}
	.sm-nav-links .sub-menu li:last-child a {
		border-bottom: none;
	}

	/* Hover bridge not needed on mobile */
	.sm-nav-links > li.menu-item-has-children::before {
		display: none;
	}

	/* Mobile chevron rotates when submenu is open */
	.sm-nav-links > li.menu-item-has-children.is-open > a::after {
		transform: rotate(225deg) translateY(0);
		opacity: 1;
	}

	/* Make the chevron easier to tap on mobile */
	.sm-nav-links > li.menu-item-has-children > a {
		justify-content: space-between;
		width: 100%;
	}
	.sm-nav-links > li.menu-item-has-children > a::after {
		margin-left: auto;
		width: 8px;
		height: 8px;
	}
}
