/*!
 * Ranking Omega-3 — main stylesheet
 * Premium magazine theme for omega-3 supplement portal.
 */

/* ============================================
   1. CSS Variables & Themes
   ============================================ */
:root {
	--navy:        #0B1F45;
	--navy-2:      #122A5B;
	--navy-3:      #1B3974;
	--blue:        #1E5AC8;
	--blue-2:      #2A6FE6;
	--turquoise:   #06B6D4;
	--turquoise-2: #22D3EE;
	--success:     #10B981;
	--warning:     #F59E0B;
	--danger:      #EF4444;
	--bg:          #FFFFFF;
	--bg-soft:     #F5F8FC;
	--bg-soft-2:   #EAF1FA;
	--bg-deep:     #0B1F45;
	--border:      #E2EAF4;
	--border-2:    #D5E1EE;
	--text:        #0F172A;
	--text-2:      #1E293B;
	--muted:       #64748B;
	--muted-2:     #94A3B8;

	--radius-sm: 8px;
	--radius:    14px;
	--radius-lg: 22px;
	--radius-xl: 32px;

	--shadow-sm: 0 1px 2px rgba(11, 31, 69, 0.06);
	--shadow:    0 10px 30px -10px rgba(11, 31, 69, 0.14), 0 4px 12px -6px rgba(11, 31, 69, 0.08);
	--shadow-lg: 0 28px 60px -20px rgba(11, 31, 69, 0.22), 0 10px 22px -10px rgba(11, 31, 69, 0.12);

	--font-sans:    'Inter', system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	--font-display: 'Fraunces', "Iowan Old Style", Georgia, "Times New Roman", serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 28px);

	--grad-hero:  linear-gradient(135deg, #0B1F45 0%, #1E5AC8 55%, #06B6D4 100%);
	--grad-soft:  linear-gradient(180deg, #F5F8FC 0%, #EAF1FA 100%);
	--grad-glass: linear-gradient(135deg, rgba(255,255,255,0.78) 0%, rgba(245,248,252,0.55) 100%);
}

[data-theme="dark"] {
	--bg:        #07122A;
	--bg-soft:   #102347;
	--bg-soft-2: #19315E;
	--bg-deep:   #050C1E;
	--border:    #22417A;
	--border-2:  #2C508E;
	--text:      #ECF3FB;
	--text-2:    #C7D6EA;
	--muted:     #9FB3CC;
	--muted-2:   #768AA4;

	--shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
	--shadow:    0 10px 30px -10px rgba(0,0,0,0.6), 0 4px 12px -6px rgba(0,0,0,0.45);
	--shadow-lg: 0 28px 60px -20px rgba(0,0,0,0.7);

	--grad-soft:  linear-gradient(180deg, #07122A 0%, #0B1F45 100%);
	--grad-glass: linear-gradient(135deg, rgba(25,49,94,0.85) 0%, rgba(16,35,71,0.7) 100%);
}

/* ============================================
   2. Base
   ============================================ */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color .3s ease, color .3s ease;
}

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

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }
[data-theme="dark"] a { color: var(--turquoise-2); }
[data-theme="dark"] a:hover { color: var(--turquoise); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--navy);
	margin: 0 0 .5em;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 { color: var(--text); }

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1vw + .8rem, 1.55rem); }

p { margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: rgba(30, 90, 200, 0.2); }
[data-theme="dark"] ::selection { background: rgba(34, 211, 238, 0.3); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100000;
	background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
	font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
	font-weight: 700; color: var(--blue);
	display: inline-flex; align-items: center; gap: 6px;
	margin-bottom: .8em;
}
[data-theme="dark"] .eyebrow { color: var(--turquoise-2); }

.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.6; }

.dot { opacity: .5; }

.mt-xl { margin-top: 3rem; }

/* ============================================
   3. Buttons
   ============================================ */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	text-decoration: none;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
	background: var(--grad-hero);
	color: #fff;
	box-shadow: 0 8px 24px -10px rgba(30, 90, 200, 0.6);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 32px -8px rgba(30, 90, 200, 0.7); }

.btn-ghost {
	background: rgba(255, 255, 255, 0.75);
	color: var(--navy);
	border-color: var(--border);
	backdrop-filter: blur(8px);
}
[data-theme="dark"] .btn-ghost { background: rgba(34, 211, 238, 0.12); color: var(--text); border-color: rgba(34, 211, 238, 0.35); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
[data-theme="dark"] .btn-ghost:hover { background: rgba(34, 211, 238, 0.2); color: #fff; border-color: var(--turquoise-2); }

.btn.big { padding: 16px 28px; font-size: 16px; }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.block { display: flex; width: 100%; justify-content: center; }

.icon-btn {
	width: 42px; height: 42px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px;
	background: transparent;
	border: 1px solid transparent;
	color: var(--navy);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
[data-theme="dark"] .icon-btn { color: var(--text); }
.icon-btn:hover { background: var(--bg-soft); border-color: var(--border); }
.icon-btn svg { width: 22px; height: 22px; }

/* ============================================
   4. Glass card primitive
   ============================================ */
.glass-card {
	background: var(--grad-glass);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(20px, 3vw, 32px);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px) saturate(140%);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
}
[data-theme="dark"] .glass-card { border-color: #22417A; }

/* ============================================
   5. Reading progress
   ============================================ */
.reading-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px;
	background: transparent; z-index: 9999; pointer-events: none;
}
.reading-progress span {
	display: block; height: 100%; width: 0%;
	background: linear-gradient(90deg, var(--blue), var(--turquoise));
	transition: width .12s linear;
}

/* ============================================
   6. Header
   ============================================ */
.site-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px) saturate(150%);
	-webkit-backdrop-filter: blur(14px) saturate(150%);
	border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .site-header { background: rgba(5, 12, 30, 0.92); border-bottom-color: #22417A; }

.topbar {
	background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
	color: rgba(255, 255, 255, 0.95);
	font-size: 13px;
}
.topbar-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 8px 0; min-height: 38px;
}
.topbar-claim { display: inline-flex; align-items: center; gap: 8px; margin: 0; flex: 1; min-width: 0; }
.topbar-claim svg { width: 14px; height: 14px; color: var(--turquoise-2); flex-shrink: 0; }
.topbar-claim span, .topbar-claim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.topbar-link { color: rgba(255,255,255,0.95); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.topbar-link:hover { background: rgba(255,255,255,0.12); color: #fff; }

.theme-toggle {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px;
	width: 36px; height: 30px; padding: 0;
	background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2);
	border-radius: 8px; color: #fff;
	cursor: pointer;
}
.theme-toggle:hover { background: rgba(255,255,255,0.24); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .ico-sun { display: inline; }
.theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: inline; }

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center; gap: 20px;
	padding: 14px 0;
}

.site-branding { flex: 0 0 auto; }
.site-logo {
	display: inline-flex; align-items: center; gap: 12px;
	text-decoration: none;
	transition: opacity .2s ease;
}
.site-logo:hover { opacity: 0.85; }
.site-logo .logo-mark {
	width: 44px; height: 44px;
	flex-shrink: 0;
	box-shadow: 0 6px 20px -8px rgba(30, 90, 200, 0.5);
	border-radius: 12px;
	overflow: hidden;
	display: inline-flex;
}
.site-logo .logo-mark svg { width: 100%; height: 100%; display: block; }
.site-logo .logo-text {
	display: inline-flex; flex-direction: column; line-height: 1;
}
.site-logo .logo-name {
	font-family: var(--font-display), Georgia, serif;
	font-size: 22px; font-weight: 800;
	color: var(--navy);
	letter-spacing: -0.02em;
	line-height: 1;
}
.site-logo .logo-sub {
	font-family: var(--font-sans), system-ui, sans-serif;
	font-size: 11px; font-weight: 700;
	color: var(--blue);
	letter-spacing: 0.22em;
	margin-top: 4px;
	line-height: 1;
}
[data-theme="dark"] .site-logo .logo-name { color: #FFFFFF; }
[data-theme="dark"] .site-logo .logo-sub { color: var(--turquoise-2); }
.custom-logo-link img { max-height: 48px; width: auto; }

.primary-nav { display: flex; justify-content: center; min-width: 0; }
.primary-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 2px;
	flex-wrap: nowrap;
}
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	display: inline-flex; align-items: center;
	padding: 10px 12px;
	color: var(--navy);
	font-weight: 600; font-size: 14.5px;
	border-radius: 10px;
	transition: background .2s ease, color .2s ease;
	white-space: nowrap;
}
[data-theme="dark"] .primary-menu > li > a { color: var(--text); }
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
	background: var(--bg-soft); color: var(--blue);
}
[data-theme="dark"] .primary-menu > li > a:hover,
[data-theme="dark"] .primary-menu > li.current-menu-item > a { background: rgba(34, 211, 238, 0.12); color: var(--turquoise-2); }

@media (max-width: 1180px) {
	.primary-menu > li > a { padding: 9px 9px; font-size: 13.5px; }
	.header-cta { display: none; }
}
@media (max-width: 960px) {
	.topbar-claim { display: none; }
	.hide-sm { display: none; }
}

.primary-menu .sub-menu {
	position: absolute; top: 100%; left: 0;
	list-style: none; margin: 0; padding: 8px;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
[data-theme="dark"] .primary-menu .sub-menu { background: var(--bg-soft); }
.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
	transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.primary-menu .sub-menu a {
	display: block; padding: 10px 12px; border-radius: 8px;
	color: var(--text); font-size: 14px;
}
.primary-menu .sub-menu a:hover { background: var(--bg-soft); }

.header-actions { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-cta {  }
.mobile-toggle { display: none; }

/* ============================================
   7. Search overlay
   ============================================ */
.search-overlay {
	position: fixed; inset: 0;
	background: rgba(11, 31, 69, 0.55);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	z-index: 9998;
	display: flex; align-items: flex-start; justify-content: center;
	padding: 8vh 16px 4vh;
	opacity: 0; pointer-events: none;
	transition: opacity .25s ease;
}
.search-overlay.is-open { opacity: 1; pointer-events: auto; }
.search-overlay-inner {
	background: #fff; border-radius: 22px;
	width: 100%; max-width: 720px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
[data-theme="dark"] .search-overlay-inner { background: var(--bg-soft); }
.ro3-search-form {
	display: flex; align-items: center; gap: 8px;
	padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.ro3-search-form .ico-search { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.ro3-search-form input {
	flex: 1; border: none; outline: none; padding: 8px 0;
	font-size: 18px; background: transparent;
}
.close-search { flex-shrink: 0; }

.search-suggestions { padding: 18px; }
.suggest-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.suggest-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.suggest-tags a {
	padding: 6px 12px; background: var(--bg-soft); border: 1px solid var(--border);
	border-radius: 999px; font-size: 13px; color: var(--text);
}
.suggest-tags a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.search-results { max-height: 60vh; overflow: auto; }
.search-result {
	display: flex; gap: 14px; padding: 14px 18px;
	border-top: 1px solid var(--border);
	color: var(--text);
}
.search-result:hover { background: var(--bg-soft); }
.search-result img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.search-result .sr-type {
	display: inline-block; font-size: 11px; letter-spacing: .1em;
	text-transform: uppercase; color: var(--blue);
	margin-bottom: 4px;
}
.search-result .sr-title { font-weight: 600; }
.search-result .sr-excerpt { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ============================================
   8. Mobile drawer
   ============================================ */
.mobile-drawer {
	position: fixed; top: 0; right: 0; bottom: 0;
	width: min(340px, 90vw);
	background: #fff; z-index: 9999;
	transform: translateX(100%);
	transition: transform .3s ease;
	display: flex; flex-direction: column;
	padding: 18px;
	overflow-y: auto;
}
[data-theme="dark"] .mobile-drawer { background: var(--bg-soft); }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-title { font-weight: 700; font-size: 18px; }
.drawer-menu { list-style: none; padding: 0; margin: 0; flex: 1; }
.drawer-menu li { border-bottom: 1px solid var(--border); }
.drawer-menu a {
	display: block; padding: 14px 4px; color: var(--text); font-weight: 600;
}
.drawer-footer { margin-top: 16px; }
.drawer-backdrop {
	position: fixed; inset: 0; background: rgba(11, 31, 69, 0.5);
	opacity: 0; pointer-events: none; transition: opacity .3s ease;
	z-index: 9997;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============================================
   9. Hero
   ============================================ */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
	background: var(--grad-soft);
}
[data-theme="dark"] .hero { background: linear-gradient(180deg, #050C1E 0%, #0B1F45 100%); }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bg-orb {
	position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
}
.orb-1 { width: 520px; height: 520px; background: var(--blue); top: -160px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: var(--turquoise); bottom: -120px; left: -80px; opacity: .28; }
.orb-3 { width: 320px; height: 320px; background: #8B5CF6; top: 30%; left: 45%; opacity: .18; }
[data-theme="dark"] .orb-1 { opacity: .55; }
[data-theme="dark"] .orb-2 { opacity: .45; background: var(--turquoise-2); }
[data-theme="dark"] .orb-3 { opacity: .28; }
.bg-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(11,31,69,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(11,31,69,0.05) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 75%);
	-webkit-mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 75%);
}
[data-theme="dark"] .bg-grid {
	background-image:
		linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}

.hero-grid {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px);
	align-items: center;
	z-index: 2;
}
.hero-text { max-width: 620px; position: relative; z-index: 2; }
.hero-visual { position: relative; z-index: 2; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-badges .badge {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(255,255,255,0.85); border: 1px solid var(--border);
	color: var(--navy);
	padding: 6px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 600;
	backdrop-filter: blur(8px);
}
[data-theme="dark"] .hero-badges .badge { background: rgba(34, 211, 238, 0.12); color: var(--turquoise-2); border-color: rgba(34, 211, 238, 0.35); }
[data-theme="dark"] .hero-badges .badge svg { color: var(--turquoise-2); }
.hero-badges .badge svg { width: 14px; height: 14px; color: var(--turquoise); }

.hero .hero-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(2.4rem, 4.5vw, 4rem);
	line-height: 1.05;
	font-weight: 800;
	margin: 0 0 18px;
	color: #0B1F45;
	display: block;
	visibility: visible !important;
	opacity: 1 !important;
}
.hero .hero-title .accent {
	color: #1E5AC8;
	background: linear-gradient(135deg, #1E5AC8 0%, #06B6D4 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
@supports not (-webkit-background-clip: text) {
	.hero .hero-title .accent { -webkit-text-fill-color: #1E5AC8; color: #1E5AC8; }
}
[data-theme="dark"] .hero .hero-title { color: #FFFFFF; }
[data-theme="dark"] .hero .hero-title .accent {
	background: linear-gradient(135deg, #22D3EE 0%, #A5F3FC 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero .hero-subtitle {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 1.15rem; line-height: 1.6;
	color: #475569;
	margin: 0 0 28px;
	max-width: 56ch;
	display: block;
}
[data-theme="dark"] .hero .hero-subtitle { color: #C7D6EA; }
.hero .eyebrow { color: #1E5AC8; font-weight: 700; display: inline-flex; }
[data-theme="dark"] .hero .eyebrow { color: #22D3EE; }
.hero .hero-badges .badge { color: #0B1F45; }
[data-theme="dark"] .hero .hero-badges .badge { color: #22D3EE; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; align-items: center; }
.hero-ctas .btn { line-height: 1; }
.hero-ctas .btn span { display: inline-flex; align-items: center; }

.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); line-height: 1; margin-bottom: 6px; }
[data-theme="dark"] .trust-item strong { color: var(--turquoise-2); }
.trust-item span { font-size: 13px; color: var(--muted); }
[data-theme="dark"] .trust-item span { color: #9FB3CC; }

/* New visual hero (replaces slider) */
.hero-visual { position: relative; }
.hero-card-main {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	position: relative;
}
[data-theme="dark"] .hero-card-main { background: #102347; border-color: #2C508E; }
.hero-card-art { aspect-ratio: 1 / 1; max-height: 360px; overflow: hidden; }
.hero-card-art .art-svg { width: 100%; height: 100%; display: block; }
.hero-card-meta { padding: 22px 26px 26px; }
.hero-card-meta .cat-pill {
	position: static; display: inline-flex; align-items: center; gap: 6px;
	background: linear-gradient(135deg, var(--blue), var(--turquoise));
	color: #fff;
	margin-bottom: 12px;
}
.hero-card-meta h3 { color: var(--navy); margin: 0 0 8px; font-size: 1.35rem; line-height: 1.25; }
[data-theme="dark"] .hero-card-meta h3 { color: #fff; }
.hero-card-meta .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.hero-card-meta .meta svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 3px; }

.hero-mini-cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.mini-card {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
[data-theme="dark"] .mini-card { background: #102347; border-color: #22417A; }
.mini-card:hover { color: var(--text); transform: translateX(4px); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.mini-ico {
	width: 42px; height: 42px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--blue), var(--turquoise));
	color: #fff;
	border-radius: 12px;
	display: inline-flex; align-items: center; justify-content: center;
}
.mini-ico svg { width: 22px; height: 22px; }
.mini-tag { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 2px; }
[data-theme="dark"] .mini-tag { color: var(--turquoise-2); }
.mini-card strong { color: var(--text); font-weight: 600; font-size: 14px; line-height: 1.3; }

/* Legacy slider (kept for compatibility) */
.hero-slider { position: relative; }
.hero-slide {
	display: none;
	background: #fff; border: 1px solid var(--border);
	border-radius: var(--radius-xl); overflow: hidden;
	box-shadow: var(--shadow-lg);
	transform: rotate(-1deg);
	transition: transform .3s ease;
}
[data-theme="dark"] .hero-slide { background: #102347; border-color: #2C508E; }
.hero-slide.active { display: block; }
.hero-slide:hover { transform: rotate(0); }
.slide-img { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.slide-img:hover img { transform: scale(1.05); }
.slide-img.placeholder { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.cat-pill {
	position: absolute; top: 14px; left: 14px;
	background: rgba(11, 31, 69, 0.85); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	padding: 6px 12px; border-radius: 999px;
	backdrop-filter: blur(8px);
}
.slide-body { padding: 22px 24px 26px; }
.slide-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.slide-body h3 a { color: var(--navy); }
[data-theme="dark"] .slide-body h3 a { color: var(--text); }
.slide-body h3 a:hover { color: var(--blue); }
.slide-body .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }

.slider-nav { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.slider-dot {
	width: 28px; height: 4px; border-radius: 2px; padding: 0;
	background: var(--border-2); border: none;
	transition: background .2s ease, width .2s ease;
}
.slider-dot.active { background: var(--blue); width: 42px; }

/* ============================================
   10. Sections
   ============================================ */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section + .section { padding-top: 0; }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
	margin-bottom: clamp(24px, 4vw, 44px);
	flex-wrap: wrap;
}
.section-head.centered { display: block; text-align: center; max-width: 720px; margin-inline: auto; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head h2 { margin: 0; }
.head-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; color: var(--blue); font-size: 14px;
}
.head-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.head-link:hover svg { transform: translateX(3px); }

/* ============================================
   11. Post grid / cards
   ============================================ */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2vw, 28px);
}
.post-grid.small { grid-template-columns: repeat(3, 1fr); }
.post-grid.magazine { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: auto; }
.post-grid.magazine .post-card.big { grid-column: 1 / 2; grid-row: 1 / 3; }

/* Featured + grid layout for Latest section */
.section-sub { color: var(--muted); font-size: 15px; margin: 8px 0 0; max-width: 50ch; }
[data-theme="dark"] .section-sub { color: #9FB3CC; }

.featured-post {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow);
	margin-bottom: clamp(20px, 2.4vw, 28px);
	transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
[data-theme="dark"] .featured-post { background: #102347; border-color: #22417A; }
.featured-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }

.featured-thumb {
	position: relative;
	display: block; min-height: 100%;
	overflow: hidden; background: var(--bg-soft);
	aspect-ratio: auto;
}
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; min-height: 360px; }
.featured-post:hover .featured-thumb img { transform: scale(1.05); }
.featured-thumb .thumb-placeholder { position: absolute; inset: 0; min-height: 360px; }
.featured-thumb .thumb-placeholder .big-icon { width: 100px; height: 100px; }
.featured-badge {
	position: absolute; top: 18px; left: 18px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px;
	background: rgba(255,255,255,0.95);
	color: var(--navy);
	font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(11, 31, 69, 0.25);
}
.featured-badge svg { width: 14px; height: 14px; color: var(--turquoise); }

.featured-body {
	padding: clamp(24px, 3vw, 42px);
	display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.featured-cat {
	display: inline-block;
	font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
	font-weight: 700; color: var(--blue);
	text-decoration: none;
	width: max-content;
}
[data-theme="dark"] .featured-cat { color: var(--turquoise-2); }
.featured-cat:hover { color: var(--navy); }
[data-theme="dark"] .featured-cat:hover { color: #fff; }
.featured-title { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; margin: 0; }
.featured-title a { color: var(--navy); text-decoration: none; }
[data-theme="dark"] .featured-title a { color: #fff; }
.featured-title a:hover { color: var(--blue); }
[data-theme="dark"] .featured-title a:hover { color: var(--turquoise-2); }
.featured-excerpt { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.65; }
[data-theme="dark"] .featured-excerpt { color: #C7D6EA; }
.featured-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.featured-meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.featured-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 700; color: var(--blue);
	width: max-content; margin-top: 6px;
}
.featured-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.featured-link:hover svg { transform: translateX(4px); }
[data-theme="dark"] .featured-link { color: var(--turquoise-2); }

.latest-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 1.8vw, 22px);
}
@media (max-width: 1080px) {
	.featured-post { grid-template-columns: 1fr; }
	.featured-thumb img, .featured-thumb .thumb-placeholder { min-height: 280px; }
	.latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.latest-grid { grid-template-columns: 1fr; }
}

.post-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex; flex-direction: column;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
[data-theme="dark"] .post-card { background: #102347; border-color: #22417A; }
[data-theme="dark"] .post-card:hover { border-color: var(--turquoise); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-2); }
.post-card-thumb {
	position: relative; aspect-ratio: 16 / 10;
	overflow: hidden; background: var(--bg-soft);
	display: block;
}
.post-card.big .post-card-thumb { aspect-ratio: 16 / 11; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.thumb-placeholder {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: #1E5AC8;
	background-image:
		radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.45) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.35) 0%, transparent 50%),
		linear-gradient(135deg, #0B1F45 0%, #1E5AC8 60%, #06B6D4 100%);
	display: flex; align-items: center; justify-content: center;
	color: #FFFFFF;
	overflow: hidden;
}
.thumb-placeholder::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; bottom: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: .8;
	pointer-events: none;
}
[data-theme="dark"] .thumb-placeholder {
	background: #050C1E;
	background-image:
		radial-gradient(circle at 25% 25%, rgba(34, 211, 238, 0.5) 0%, transparent 55%),
		radial-gradient(circle at 75% 75%, rgba(30, 90, 200, 0.4) 0%, transparent 55%),
		linear-gradient(135deg, #050C1E 0%, #0B1F45 50%, #122A5B 100%);
}
.thumb-placeholder svg {
	width: 64px; height: 64px;
	color: #FFFFFF;
	opacity: .95;
	position: relative; z-index: 1;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}
.placeholder-icon { width: 64px; height: 64px; }
.placeholder-icon.big-icon { width: 100px; height: 100px; }

.post-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card.big .post-card-body { padding: 24px 28px 28px; }
.post-card-title { font-size: 1.15rem; margin: 0 0 10px; line-height: 1.3; }
.post-card.big .post-card-title { font-size: 1.6rem; }
.post-card-title a { color: var(--navy); }
[data-theme="dark"] .post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--blue); }
.post-card-excerpt { color: var(--muted); font-size: 14px; margin: 0 0 14px; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: auto; }

/* ============================================
   12. Ranking cards
   ============================================ */
.ranking-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.ranking-card {
	--accent: var(--blue);
	display: flex; gap: 14px; align-items: flex-start;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 22px;
	color: var(--text);
	transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
	position: relative; overflow: hidden;
}
[data-theme="dark"] .ranking-card { background: #102347; border-color: #22417A; }
.ranking-card::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0;
	height: 4px; background: var(--accent);
}
.ranking-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); color: var(--text); }
.rc-ico {
	width: 48px; height: 48px;
	background: color-mix(in srgb, var(--accent) 14%, transparent);
	color: var(--accent);
	border-radius: 12px;
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.rc-ico svg { width: 26px; height: 26px; }
.rc-body { flex: 1; }
.rc-body h3 { font-size: 1.05rem; margin: 0 0 4px; color: var(--navy); }
[data-theme="dark"] .rc-body h3 { color: var(--text); }
.rc-body p { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
[data-theme="dark"] .rc-body p { color: #9FB3CC; }
.rc-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; font-size: 13px; }
.rc-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.ranking-card:hover .rc-link svg { transform: translateX(3px); }

/* ============================================
   13. Knowledge grid
   ============================================ */
.knowledge-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}
.knowledge-card {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 18px; border-radius: var(--radius);
	background: var(--bg);
	border: 1px solid var(--border);
	color: var(--text);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
[data-theme="dark"] .knowledge-card { background: #102347; border-color: #22417A; }
[data-theme="dark"] .knowledge-card h3 { color: var(--text); }
[data-theme="dark"] .knowledge-card p { color: #9FB3CC; }
.knowledge-card:hover { color: var(--text); transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow); }
.knowledge-card .ki {
	width: 36px; height: 36px; flex-shrink: 0;
	background: var(--bg-soft); color: var(--blue);
	border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .knowledge-card .ki { background: var(--bg-soft-2); }
.knowledge-card .ki svg { width: 18px; height: 18px; }
.knowledge-card h3 { font-size: 0.95rem; margin: 0 0 4px; line-height: 1.3; }
.knowledge-card p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ============================================
   13.5. Categories grid
   ============================================ */
.section-categories {  }
.categories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, 1.4vw, 18px);
}
.category-card {
	--cat-color: var(--blue);
	display: grid;
	grid-template-columns: 48px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 18px 18px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
	position: relative;
	overflow: hidden;
}
[data-theme="dark"] .category-card { background: #102347; border-color: #22417A; }
.category-card::before {
	content: '';
	position: absolute; top: 0; left: 0; bottom: 0;
	width: 4px;
	background: var(--cat-color);
	opacity: 0; transition: opacity .2s ease;
}
.category-card:hover { transform: translateY(-2px); border-color: var(--cat-color); box-shadow: var(--shadow); color: var(--text); }
.category-card:hover::before { opacity: 1; }
.cat-icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--cat-color) 14%, transparent);
	color: var(--cat-color);
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.cat-icon svg { width: 24px; height: 24px; }
.cat-content h3 {
	margin: 0 0 2px;
	font-size: 15px; font-weight: 700;
	color: var(--navy);
	line-height: 1.2;
}
[data-theme="dark"] .cat-content h3 { color: #fff; }
.cat-count {
	display: block;
	font-size: 12px;
	color: var(--muted);
}
.cat-arrow {
	display: inline-flex; align-items: center;
	color: var(--muted);
	transition: transform .2s ease, color .2s ease;
}
.cat-arrow svg { width: 16px; height: 16px; }
.category-card:hover .cat-arrow { color: var(--cat-color); transform: translateX(3px); }

@media (max-width: 1080px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .categories-grid { grid-template-columns: 1fr; } }

/* ============================================
   14. Expert section
   ============================================ */
.section-expert { background: var(--bg-soft); }
[data-theme="dark"] .section-expert { background: #050C1E; }
.expert-quotes-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
	margin-bottom: 56px;
}
.expert-quote { position: relative; padding-top: 48px; }
.expert-quote .quote-mark {
	position: absolute; top: 18px; left: 24px;
	width: 36px; height: 36px; color: var(--turquoise);
	opacity: .8;
}
.expert-quote blockquote {
	font-family: var(--font-display);
	font-size: 1.18rem; line-height: 1.5;
	color: var(--text); margin: 0 0 16px;
	font-style: italic;
}
[data-theme="dark"] .expert-quote { background: linear-gradient(135deg, rgba(34, 211, 238, 0.06) 0%, rgba(30, 90, 200, 0.08) 100%); }
.expert-quote figcaption strong { display: block; font-weight: 700; color: var(--navy); }
[data-theme="dark"] .expert-quote figcaption strong { color: var(--text); }
[data-theme="dark"] .expert-quote figcaption span { color: #9FB3CC; }
.expert-quote figcaption span { font-size: 13px; color: var(--muted); }

.facts-band { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: center; padding: 36px; margin-bottom: 56px; }
.fact-head h3 { margin: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); text-align: center; }
[data-theme="dark"] .fact { background: #102347; border-color: #22417A; }
.fact-num {
	display: block; font-family: var(--font-display);
	font-size: 2.1rem; font-weight: 800;
	background: linear-gradient(135deg, var(--blue), var(--turquoise));
	-webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
	margin-bottom: 4px; line-height: 1;
}
.fact-lbl { font-size: 12px; color: var(--muted); }

.fakes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fakes-head { grid-column: 1 / -1; text-align: center; margin-bottom: 8px; }
.fake-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
[data-theme="dark"] .fake-card { background: #102347; border-color: #22417A; }
.fake-row { padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.fake-row + .fake-row { border-top: 1px solid var(--border); }
.fake-row.myth { background: rgba(239, 68, 68, 0.04); }
.fake-row.fact { background: rgba(16, 185, 129, 0.05); }
.fake-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; flex-shrink: 0; padding: 4px 8px; border-radius: 6px; }
.fake-tag svg { width: 12px; height: 12px; }
.myth-tag { color: #B91C1C; background: rgba(239,68,68,0.1); }
.fact-tag { color: #047857; background: rgba(16,185,129,0.12); }
.fake-row p { margin: 0; font-size: 14px; }
.fake-row.myth p { text-decoration: line-through; opacity: .8; }

/* ============================================
   15. Newsletter section
   ============================================ */
.section-newsletter { background: var(--bg-soft); }
[data-theme="dark"] .section-newsletter { background: #050C1E; }
.newsletter-card {
	display: grid; grid-template-columns: 0.6fr 1fr; gap: 36px;
	padding: clamp(28px, 4vw, 48px);
	background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
	color: #fff;
	border: none;
	position: relative; overflow: hidden;
}
.newsletter-card .nl-art {
	position: relative; min-height: 220px;
}
.art-orb {
	position: absolute; width: 280px; height: 280px;
	background: radial-gradient(circle, var(--turquoise) 0%, transparent 70%);
	opacity: .4; border-radius: 50%;
	top: -40px; left: -40px;
}
.art-sparkle { position: absolute; width: 60px; height: 60px; top: 20px; right: 20px; color: var(--turquoise-2); }
.art-fish { position: absolute; width: 100px; height: 100px; bottom: 20px; left: 60px; color: rgba(255,255,255,0.4); }
.nl-body h2 { color: #fff; }
.nl-body .eyebrow { color: var(--turquoise-2); }
.nl-body .lead { color: rgba(255,255,255,0.85); }
.nl-trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.92); }
.nl-trust li { display: inline-flex; align-items: center; gap: 6px; }
.nl-trust svg { width: 16px; height: 16px; color: var(--turquoise-2); }

/* Newsletter form */
.ro3-newsletter-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	margin-top: 12px;
}
.ro3-newsletter-form input {
	padding: 14px 18px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--text);
	font-size: 15px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.ro3-newsletter-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,90,200,0.15); }
.ro3-newsletter-form .form-note { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.ro3-newsletter-form.variant-big input { padding: 18px 22px; font-size: 16px; }
.ro3-newsletter-form.variant-compact { grid-template-columns: 1fr; }
.ro3-newsletter-form.variant-compact button { width: 100%; justify-content: center; }
.newsletter-card .ro3-newsletter-form .form-note { color: rgba(255,255,255,0.7); }

.form-feedback { grid-column: 1 / -1; font-size: 14px; }
.form-feedback.success { color: #10B981; }
.form-feedback.error   { color: #EF4444; }

/* ============================================
   16. Popular list
   ============================================ */
/* New popular grid */
.popular-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 1.8vw, 24px);
}
.pop-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
	position: relative;
}
[data-theme="dark"] .pop-card { background: #102347; border-color: #22417A; }
.pop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
[data-theme="dark"] .pop-card:hover { border-color: var(--turquoise); }

.pop-card-thumb {
	display: block; position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden; background: var(--bg-soft);
}
.pop-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pop-card:hover .pop-card-thumb img { transform: scale(1.05); }

.pop-rank {
	position: absolute; top: 14px; right: 14px;
	font-family: var(--font-display), Georgia, serif;
	font-size: 38px; font-weight: 800;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1;
	text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
	padding: 0;
	background: none; border: none;
	z-index: 2;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}
.pop-card[data-rank="1"] .pop-rank { color: #FFD700; -webkit-text-stroke: 1px rgba(255, 215, 0, 0.6); }
.pop-card[data-rank="2"] .pop-rank { color: #E5E7EB; }
.pop-card[data-rank="3"] .pop-rank { color: #FCD34D; }

.pop-cat {
	position: absolute; bottom: 14px; left: 14px;
	display: inline-flex; align-items: center;
	padding: 5px 11px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--navy);
	border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	backdrop-filter: blur(8px);
	z-index: 2;
}
[data-theme="dark"] .pop-cat { background: rgba(34, 211, 238, 0.92); }

.pop-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.pop-title { font-size: 1.05rem; line-height: 1.3; margin: 0; }
.pop-title a { color: var(--navy); text-decoration: none; }
[data-theme="dark"] .pop-title a { color: var(--text); }
.pop-title a:hover { color: var(--blue); }
[data-theme="dark"] .pop-title a:hover { color: var(--turquoise-2); }
.pop-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: auto; }
.pop-meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
[data-theme="dark"] .pop-meta { color: #9FB3CC; }

@media (max-width: 1080px) { .popular-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .popular-grid { grid-template-columns: 1fr; } }

/* Legacy popular-list-big (kept for back-compat) */
.popular-list-big {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 16px;
}
.popular-list-big > li {
	display: grid; grid-template-columns: 60px 220px 1fr; gap: 22px; align-items: center;
	padding: 18px; border-radius: var(--radius-lg);
	background: var(--bg); border: 1px solid var(--border);
	transition: border-color .2s ease, transform .2s ease;
}
[data-theme="dark"] .popular-list-big > li { background: #102347; border-color: #22417A; }
.popular-list-big > li:hover { border-color: var(--blue); transform: translateX(4px); }
.rank-num {
	font-family: var(--font-display);
	font-size: 2.6rem; font-weight: 800;
	background: linear-gradient(135deg, var(--blue), var(--turquoise));
	-webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
	line-height: 1; text-align: center;
}
.pop-thumb {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
	background:
		radial-gradient(circle at 25% 25%, rgba(34, 211, 238, 0.4) 0%, transparent 50%),
		radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
		linear-gradient(135deg, #0B1F45 0%, #1E5AC8 60%, #06B6D4 100%);
	color: rgba(255,255,255,0.85); position: relative;
}
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.pop-thumb .pop-icon { width: 56px; height: 56px; position: relative; z-index: 1; }
.pop-thumb .thumb-placeholder { width: 100%; height: 100%; }
.pop-body .entry-cats { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.pop-body h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.pop-body h3 a { color: var(--navy); }
[data-theme="dark"] .pop-body h3 a { color: var(--text); }
.pop-body .meta { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.pop-body .meta svg { width: 14px; height: 14px; }

/* ============================================
   17. Trends
   ============================================ */
.trends-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trend-card { display: flex; gap: 16px; align-items: center; padding: 22px; }
.trend-ico {
	width: 56px; height: 56px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--blue), var(--turquoise));
	color: #fff; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
}
.trend-ico svg { width: 28px; height: 28px; }
.trend-up { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--success); font-size: 14px; }
.trend-up .ico-up { transform: rotate(-45deg); width: 14px; height: 14px; }
.trend-card h3 { margin: 4px 0; font-size: 1.05rem; }
.trend-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* ============================================
   18. Comparator table
   ============================================ */
.ro3-compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg); }
[data-theme="dark"] .ro3-compare-table-wrap { background: #102347; border-color: #22417A; }
.ro3-compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.ro3-compare thead th {
	background: var(--bg-soft);
	color: var(--navy);
	padding: 14px 14px;
	text-align: left;
	font-weight: 700;
	border-bottom: 1px solid var(--border);
	white-space: nowrap;
}
[data-theme="dark"] .ro3-compare thead th { background: #19315E; color: var(--text); border-bottom-color: #22417A; }
[data-theme="dark"] .ro3-compare tbody td { border-bottom-color: #22417A; }
.ro3-compare tbody tr { transition: background .2s ease; }
.ro3-compare tbody tr:hover { background: var(--bg-soft); }
[data-theme="dark"] .ro3-compare tbody tr:hover { background: #19315E; }
.ro3-compare tbody td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ro3-compare tbody tr:last-child td { border-bottom: none; }
.ro3-compare td.prod a { display: inline-flex; gap: 10px; align-items: center; color: var(--text); font-weight: 600; }
.ro3-compare td.prod img, .ro3-compare td.prod .prod-ph { width: 50px; height: 40px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--blue); }
.totox-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.totox-pill.good { background: rgba(16,185,129,0.15); color: #047857; }
.totox-pill.mid  { background: rgba(245,158,11,0.18); color: #B45309; }
.totox-pill.bad  { background: rgba(239,68,68,0.15); color: #B91C1C; }
[data-theme="dark"] .totox-pill.good { background: rgba(16,185,129,0.25); color: #6EE7B7; }
[data-theme="dark"] .totox-pill.mid  { background: rgba(245,158,11,0.25); color: #FCD34D; }
[data-theme="dark"] .totox-pill.bad  { background: rgba(239,68,68,0.25); color: #FCA5A5; }
.ro3-compare .empty { text-align: center; color: var(--muted); padding: 28px; }

.ro3-aff-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 16px; border-radius: 999px;
	background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
	color: #fff; font-weight: 700; font-size: 14px;
	box-shadow: 0 6px 16px -8px rgba(16,185,129,0.7);
	transition: transform .15s ease, box-shadow .2s ease;
}
.ro3-aff-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(16,185,129,0.8); }
.ro3-aff-btn.small { padding: 6px 12px; font-size: 12px; }
.ro3-aff-btn svg { width: 14px; height: 14px; }
.ro3-aff-btn .shop { font-weight: 500; opacity: .9; }

.compare-controls { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.compare-search, .compare-sort {
	padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg);
}
.compare-search { flex: 1; min-width: 260px; }
.ro3-compare th[data-sort] { cursor: pointer; user-select: none; }
.ro3-compare th[data-sort]::after { content: ' ⇅'; opacity: .5; font-size: 11px; }

/* ============================================
   19. FAQ
   ============================================ */
.faq-grid { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item {
	background: var(--bg); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 0;
	transition: border-color .2s ease, box-shadow .2s ease;
}
[data-theme="dark"] .faq-item { background: #102347; border-color: #22417A; }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item summary {
	display: flex; align-items: center; gap: 12px; justify-content: space-between;
	padding: 18px 22px;
	cursor: pointer; list-style: none;
	font-weight: 600; color: var(--navy);
}
[data-theme="dark"] .faq-item summary { color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); }
.faq-item summary .ico-minus { display: none; }
.faq-item[open] summary .ico-plus { display: none; }
.faq-item[open] summary .ico-minus { display: inline; }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================
   20. Article hero & content
   ============================================ */
.article-hero { padding: 28px 0 0; background: var(--bg-soft); }
.article-hero-inner { padding-bottom: 28px; }
.article-hero .entry-cats { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 16px; display: inline-block; }
.article-hero .entry-title { max-width: 24ch; }
.article-lead { font-size: 1.2rem; color: var(--muted); margin: 12px 0 18px; max-width: 60ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: 14px; }
.article-meta svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.article-meta a { color: var(--text); font-weight: 600; }
.article-hero-image { margin-top: 24px; }
.article-hero-image img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 0; }

.article-hero-fallback {
	position: relative; aspect-ratio: 21 / 7;
	background:
		radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.4) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
		linear-gradient(135deg, #0B1F45 0%, #1E5AC8 60%, #06B6D4 100%);
	overflow: hidden;
}
.article-hero-fallback::after {
	content: '';
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.fallback-orb { position: absolute; border-radius: 50%; filter: blur(50px); }
.fallback-orb-1 { width: 280px; height: 280px; background: var(--turquoise); top: -80px; right: -60px; opacity: .55; }
.fallback-orb-2 { width: 220px; height: 220px; background: #8B5CF6; bottom: -60px; left: -40px; opacity: .4; }

.article-layout {
	display: grid; grid-template-columns: 60px 1fr 320px;
	gap: 32px; padding: 36px 0;
}
.share-bar {
	position: sticky; top: 120px; align-self: start;
	display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.share-bar .share-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }
.share-bar a, .share-bar button {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--bg); border: 1px solid var(--border);
	color: var(--navy);
	transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
	padding: 0;
}
[data-theme="dark"] .share-bar a, [data-theme="dark"] .share-bar button { background: var(--bg-soft); color: var(--text); }
.share-bar a:hover, .share-bar button:hover { transform: translateY(-2px); background: var(--navy); color: #fff; border-color: var(--navy); }
.share-bar svg { width: 18px; height: 18px; }

.article-content-wrap { min-width: 0; }

.entry-content { max-width: 720px; }
.prose { font-size: 1.05rem; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.8vw + .8rem, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p { margin-bottom: 1em; }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(30,90,200,0.25); transition: border-color .2s ease; }
.prose a:hover { border-color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 1em 0; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
	margin: 1.6em 0;
	padding: 1em 1.4em;
	border-left: 4px solid var(--blue);
	background: var(--bg-soft);
	font-family: var(--font-display);
	font-style: italic;
	border-radius: 0 12px 12px 0;
}
.prose img { border-radius: 12px; }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.prose pre { background: var(--navy); color: #fff; padding: 18px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: transparent; color: inherit; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }

.prose details {
	border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 1em 0;
	background: var(--bg);
}
.prose details summary { font-weight: 600; cursor: pointer; }
.prose details[open] { box-shadow: var(--shadow-sm); }
.prose details > * + * { margin-top: 10px; }

.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-soft); }

/* TOC */
.ro3-toc {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px 20px;
}
.toc-head { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.toc-head svg { width: 18px; height: 18px; }
.ro3-toc ul { list-style: none; padding: 0; margin: 0; }
.ro3-toc li { margin: 4px 0; }
.ro3-toc li.lv-3 { padding-left: 14px; font-size: 13px; }
.ro3-toc a { display: block; padding: 6px 8px; border-radius: 6px; color: var(--text); font-size: 14px; transition: background .2s ease, color .2s ease; border-left: 2px solid transparent; }
.ro3-toc a:hover { background: var(--bg-soft); color: var(--blue); }
.ro3-toc a.active { background: rgba(30,90,200,0.08); color: var(--blue); border-left-color: var(--blue); font-weight: 600; }

.toc-mobile { display: none; margin: 0 0 24px; }

.article-sidebar { display: grid; gap: 18px; align-content: start; }
.sticky-block { position: sticky; top: 120px; display: grid; gap: 18px; }

.entry-tags { margin-top: 28px; }
.entry-tags .tag { display: inline-block; margin-right: 8px; font-size: 13px; color: var(--muted); }

.related-posts { margin-top: 56px; }

/* Author box */
.author-box {
	display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start;
	margin: 36px 0;
}
.author-avatar img { border-radius: 50%; }
.author-info h3 { margin: 4px 0 8px; font-size: 1.3rem; }
.author-info h3 a { color: var(--navy); }
[data-theme="dark"] .author-info h3 a { color: var(--text); }
.author-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }
.author-links { margin-top: 8px; }
.author-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; }

/* Expert box */
.expert-box {
	background: linear-gradient(135deg, rgba(30,90,200,0.05) 0%, rgba(6,182,212,0.05) 100%);
	border: 1px solid var(--border);
	margin: 36px 0;
}
.exp-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.exp-avatar {
	width: 48px; height: 48px;
	background: linear-gradient(135deg, var(--blue), var(--turquoise));
	color: #fff; border-radius: 12px;
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.exp-avatar svg { width: 22px; height: 22px; }
.exp-name { margin: 4px 0 2px; font-size: 1.05rem; }
.exp-role { font-size: 13px; color: var(--muted); margin: 0; }
.exp-quote {
	font-family: var(--font-display);
	font-size: 1.15rem; font-style: italic; line-height: 1.55;
	margin: 0; border: none; padding: 0; background: none; border-radius: 0;
}

/* ============================================
   21. Pros & cons / callout / rating / shortcodes
   ============================================ */
.ro3-procons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.ro3-procons .pc { border-radius: var(--radius); padding: 22px; }
.ro3-procons .pros { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2); }
.ro3-procons .cons { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.2); }
.ro3-procons h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.ro3-procons .pros h4 { color: #047857; }
.ro3-procons .cons h4 { color: #B91C1C; }
.ro3-procons ul { list-style: none; padding: 0; margin: 0; }
.ro3-procons li { padding: 5px 0 5px 24px; position: relative; font-size: 14px; }
.ro3-procons .pros li::before { content: '✓'; position: absolute; left: 0; color: #047857; font-weight: 800; }
.ro3-procons .cons li::before { content: '✕'; position: absolute; left: 0; color: #B91C1C; font-weight: 800; }

.ro3-callout {
	display: grid; grid-template-columns: 40px 1fr; gap: 14px;
	padding: 18px 22px; border-radius: var(--radius);
	background: var(--bg-soft); border-left: 4px solid var(--blue);
	margin: 24px 0;
}
.ro3-callout--info    { background: rgba(30,90,200,0.05); border-color: var(--blue); }
.ro3-callout--tip     { background: rgba(6,182,212,0.05); border-color: var(--turquoise); }
.ro3-callout--warning { background: rgba(245,158,11,0.06); border-color: var(--warning); }
.ro3-callout--danger  { background: rgba(239,68,68,0.05); border-color: var(--danger); }
.ro3-callout--success { background: rgba(16,185,129,0.06); border-color: var(--success); }
.cal-ico svg { width: 30px; height: 30px; color: var(--blue); }
.ro3-callout--tip .cal-ico svg { color: var(--turquoise); }
.ro3-callout--warning .cal-ico svg { color: var(--warning); }
.ro3-callout--danger .cal-ico svg { color: var(--danger); }
.ro3-callout--success .cal-ico svg { color: var(--success); }
.cal-title { display: block; margin-bottom: 4px; color: var(--navy); }
.cal-content { color: var(--text-2); }
.cal-content p:last-child { margin-bottom: 0; }

.ro3-stars { display: inline-flex; align-items: center; gap: 1px; }
.ro3-stars .star { width: 16px; height: 16px; color: var(--warning); }
.ro3-stars .empty { color: #E2E8F0; }
.ro3-rating-num { margin-left: 8px; font-weight: 700; color: var(--text); font-size: 13px; }

.ro3-rating-block { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin: 18px 0; }
.ro3-rating-block .label { font-weight: 600; }

.ro3-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 24px 0; }
.ro3-stat-grid .stat { padding: 18px; text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.ro3-stat-grid .val { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--blue); }
.ro3-stat-grid .lbl { color: var(--muted); font-size: 13px; }

.ro3-ref sup { color: var(--blue); font-weight: 700; padding: 0 2px; }

/* ============================================
   22. Sidebar widgets
   ============================================ */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 36px; padding: 36px 0; }
.content-area { min-width: 0; }
.sidebar-main, .article-sidebar > .widget { }
.widget { padding: 22px; }
.widget + .widget { margin-top: 18px; }
.widget-title { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.widget-desc { color: var(--muted); font-size: 14px; }

.sidebar-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; border-color: transparent; }
.sidebar-cta h3 { color: #fff; font-size: 1.3rem; margin: 8px 0 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 14px; }
.cta-badge {
	display: inline-flex; align-items: center; gap: 4px;
	background: rgba(255,255,255,0.16);
	padding: 4px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.cta-badge svg { width: 14px; height: 14px; color: var(--turquoise-2); }

.ro3-popular-list { list-style: none; padding: 0; margin: 0; }
.ro3-popular-list .popular-item { display: grid; grid-template-columns: 24px 70px 1fr; gap: 12px; padding: 10px 0; align-items: center; border-bottom: 1px solid var(--border); }
.ro3-popular-list .popular-item:last-child { border-bottom: none; }
.popular-item .rank { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--blue); text-align: center; }
[data-theme="dark"] .popular-item .rank { color: var(--turquoise-2); }
.popular-item .thumb {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16/10; border-radius: 8px; overflow: hidden;
	background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 70%, var(--turquoise) 100%);
	color: rgba(255,255,255,0.85);
	position: relative;
}
.popular-item .thumb svg { width: 28px; height: 28px; opacity: .9; }
.popular-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-item .meta { display: grid; }
.popular-item .title { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.3; }
.popular-item .rt { font-size: 12px; color: var(--muted); margin-top: 2px; }

.ro3-cluster { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ro3-cluster a {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 6px 12px;
	background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px;
	font-size: 13px; color: var(--text);
}
[data-theme="dark"] .ro3-cluster a { background: #19315E; border-color: #22417A; }
.ro3-cluster a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.ro3-cluster .count { font-size: 11px; opacity: .7; }

/* ============================================
   23. Breadcrumbs
   ============================================ */
.ro3-breadcrumbs { font-size: 13px; color: var(--muted); padding: 16px 0; }
.ro3-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ro3-breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.ro3-breadcrumbs a { color: var(--muted); }
.ro3-breadcrumbs a:hover { color: var(--blue); }
.bc-sep { width: 14px; height: 14px; opacity: .5; }

/* ============================================
   24. Archive head, pagination
   ============================================ */
.archive-head { padding: 28px 0 8px; }
.archive-head.centered { text-align: center; padding: 56px 0 12px; }
.archive-head h1 { margin: 0 0 12px; }
.archive-head .lead { margin: 0; max-width: 60ch; }
.archive-head.centered .lead { margin-inline: auto; }

.pagination, .navigation .nav-links {
	display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 36px;
}
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--border); border-radius: 12px;
	color: var(--text); font-weight: 600;
}
.page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.page-numbers:hover:not(.current) { background: var(--bg-soft); }

/* ============================================
   25. 404
   ============================================ */
.error-404 { padding: 60px 0; }
.error-wrap { text-align: center; padding: 56px 28px; }
.error-art { display: flex; justify-content: center; margin-bottom: 18px; opacity: .6; }
.error-art svg { width: 100px; height: 100px; }
.error-wrap h1 { font-size: 2.4rem; margin: 0 0 8px; }
.error-wrap .lead { max-width: 50ch; margin: 0 auto 24px; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; }
.error-search .ro3-searchform { max-width: 480px; margin: 0 auto; }
.error-suggestions { margin-top: 48px; text-align: left; }
.error-suggestions h2 { text-align: center; margin-bottom: 24px; }

/* ============================================
   26. Footer
   ============================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); margin-top: 60px; }
[data-theme="dark"] .site-footer { background: var(--bg-deep); }
.footer-disclaimer-bar { background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 12px 0; }
.footer-disclaimer-bar p { margin: 0; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.footer-disclaimer-bar svg { color: var(--turquoise-2); width: 18px; height: 18px; }

.footer-main { padding: 56px 0 40px; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 36px;
}
.footer-col h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.site-logo.dark .logo-name { color: #fff; }
.site-logo.dark .logo-sub { color: var(--turquoise-2); }
.footer-claim { font-size: 14px; max-width: 38ch; margin: 12px 0 18px; color: rgba(255,255,255,0.75); }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.08); border-radius: 10px;
	color: #fff; transition: background .2s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--turquoise); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-newsletter .ro3-newsletter-form input { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.15); }
.footer-newsletter .ro3-newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter .form-note { color: rgba(255,255,255,0.5); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; font-size: 13px; }
.footer-bottom-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.copy { margin: 0; color: rgba(255,255,255,0.6); }
.legal-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; justify-content: center; }
.legal-menu a { color: rgba(255,255,255,0.7); font-size: 13px; }
.legal-menu a:hover { color: #fff; }
.aff-note { margin: 0; font-size: 11px; color: rgba(255,255,255,0.5); text-align: right; max-width: 32ch; justify-self: end; }

/* Back to top */
.back-to-top {
	position: fixed; bottom: 24px; right: 24px;
	width: 48px; height: 48px;
	background: var(--navy); color: #fff;
	border: none; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow);
	opacity: 0; pointer-events: none;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, background .2s ease;
	z-index: 999;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }
.back-to-top .ico-up { transform: rotate(-90deg); width: 22px; height: 22px; }

/* Mobile sticky bottom nav */
.mobile-sticky-nav {
	display: none;
	position: fixed; bottom: 0; left: 0; right: 0;
	background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
	border-top: 1px solid var(--border);
	padding: 6px 0 max(6px, env(safe-area-inset-bottom));
	z-index: 998;
}
[data-theme="dark"] .mobile-sticky-nav { background: rgba(11,31,69,0.92); }
.mobile-sticky-nav a, .mobile-sticky-nav button {
	flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 8px 4px; font-size: 11px; font-weight: 600;
	color: var(--muted); background: none; border: none;
}
.mobile-sticky-nav svg { width: 22px; height: 22px; color: var(--text); }
.mobile-sticky-nav a:hover, .mobile-sticky-nav button:hover { color: var(--blue); }
.mobile-sticky-nav a:hover svg, .mobile-sticky-nav button:hover svg { color: var(--blue); }

/* ============================================
   27. Supplement single page
   ============================================ */
.supplement-hero { display: grid; grid-template-columns: 320px 1fr; gap: 28px; margin: 24px 0 36px; }
.sup-gallery { background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.sup-gallery img { width: 100%; height: 100%; object-fit: cover; }
.sup-gallery .placeholder { color: var(--blue); }
.sup-gallery .placeholder svg { width: 100px; height: 100px; }
.sup-info .brand { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.sup-info .entry-title { margin: 6px 0 8px; }
.sup-rating { margin-bottom: 12px; }
.sup-key-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.sup-key-stats > div { padding: 14px; background: var(--bg-soft); border-radius: var(--radius); text-align: center; }
[data-theme="dark"] .sup-key-stats > div { background: #19315E; border: 1px solid #22417A; }
.sup-key-stats .lbl { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sup-key-stats .val { font-weight: 700; font-size: 1.1rem; color: var(--navy); }
[data-theme="dark"] .sup-key-stats .val { color: var(--text); }
.sup-certs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cert { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: rgba(16,185,129,0.1); color: #047857; border-radius: 999px; font-size: 12px; font-weight: 600; }
.cert svg { width: 12px; height: 12px; }
.sup-price-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sup-price-row .price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--navy); }
[data-theme="dark"] .sup-price-row .price { color: var(--text); }
.sup-price-row .per-day { color: var(--muted); font-size: 14px; }

/* Ranking hero */
.ranking-hero { padding: 32px 0; background: var(--grad-hero); color: #fff; }
.ranking-hero .ro3-breadcrumbs, .ranking-hero .ro3-breadcrumbs a { color: rgba(255,255,255,0.7); }
.ranking-hero .entry-title { color: #fff; max-width: 24ch; }
.ranking-hero .lead { color: rgba(255,255,255,0.88); max-width: 60ch; }
.ranking-hero .article-meta { color: rgba(255,255,255,0.85); }
.ranking-hero .article-meta a { color: #fff; }
.ranking-hero .rank-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(255,255,255,0.16); border-radius: 999px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.ranking-hero .rank-badge svg { width: 14px; height: 14px; color: var(--turquoise-2); }
.ranking-hero .badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 12px; }
.ranking-hero .badge svg { width: 14px; height: 14px; color: var(--turquoise-2); }

/* ============================================
   28. Contact page
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; margin-top: 24px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.contact-list svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.contact-hours { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.contact-hours strong { display: block; margin-bottom: 4px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
	width: 100%; padding: 12px 14px;
	border-radius: 10px; border: 1px solid var(--border); background: var(--bg);
	font-size: 15px; margin-top: 4px;
}
.contact-form .check { display: flex; gap: 8px; font-weight: 400; color: var(--muted); font-size: 13px; align-items: flex-start; }
.contact-form .check input { width: auto; margin: 4px 0 0; }

/* ============================================
   29. Search form (inline)
   ============================================ */
.ro3-searchform {
	display: flex; align-items: center; gap: 8px;
	background: var(--bg); border: 1px solid var(--border);
	border-radius: 999px; padding: 6px 6px 6px 18px;
}
.ro3-searchform .ico-input { width: 18px; height: 18px; color: var(--muted); }
.ro3-searchform input { flex: 1; border: none; outline: none; background: transparent; padding: 8px 6px; font-size: 15px; }
.ro3-searchform button { padding: 10px 18px; }

/* ============================================
   30. Misc / utility
   ============================================ */
.entry-cats a { color: var(--blue); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
[data-theme="dark"] .entry-cats a { color: var(--turquoise-2); }
[data-theme="dark"] .pop-body .entry-cats { color: var(--turquoise-2); }
[data-theme="dark"] .pop-body h3 a { color: var(--text); }
[data-theme="dark"] .slide-body h3 a { color: var(--text); }
[data-theme="dark"] .post-card-title a { color: var(--text); }
.posted-on, .byline, .reading-time, .views { display: inline-flex; align-items: center; gap: 4px; }
.ico { width: 18px; height: 18px; vertical-align: -3px; }
.ico-mini { width: 14px; height: 14px; }
.ico-big { width: 28px; height: 28px; }
.big { width: 80px !important; height: 80px !important; }

/* ============================================
   31. Responsive
   ============================================ */
@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-slider { order: -1; max-width: 540px; margin-inline: auto; }
	.ranking-cards-grid { grid-template-columns: repeat(2, 1fr); }
	.knowledge-grid { grid-template-columns: repeat(3, 1fr); }
	.trends-grid, .expert-quotes-grid, .fakes-grid { grid-template-columns: 1fr 1fr; }
	.facts-band { grid-template-columns: 1fr; }
	.facts-grid { grid-template-columns: repeat(2, 1fr); }
	.newsletter-card { grid-template-columns: 1fr; }
	.nl-art { display: none; }
	.popular-list-big > li { grid-template-columns: 50px 160px 1fr; gap: 16px; }
	.post-grid, .post-grid.magazine { grid-template-columns: repeat(2, 1fr); }
	.post-grid.magazine .post-card.big { grid-column: 1 / -1; grid-row: auto; }
	.article-layout { grid-template-columns: 1fr; }
	.share-bar { position: static; flex-direction: row; justify-content: center; margin: 0 0 24px; }
	.share-bar .share-label { writing-mode: horizontal-tb; transform: none; }
	.article-sidebar { display: none; }
	.toc-mobile { display: block; }
	.layout-with-sidebar { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.supplement-hero { grid-template-columns: 1fr; }
	.sup-key-stats { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-bottom-inner { grid-template-columns: 1fr; text-align: center; }
	.aff-note { justify-self: center; max-width: none; text-align: center; }
}

@media (max-width: 720px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.topbar-claim { display: none; }
	.topbar-actions { margin-left: auto; }
	.primary-nav { display: none; }
	.header-cta { display: none; }
	.mobile-toggle { display: inline-flex; }
	.mobile-sticky-nav { display: flex; }
	.back-to-top { bottom: 72px; }
	.post-grid, .post-grid.magazine, .post-grid.small { grid-template-columns: 1fr; }
	.ranking-cards-grid, .knowledge-grid, .trends-grid, .expert-quotes-grid, .fakes-grid, .facts-grid { grid-template-columns: 1fr; }
	.popular-list-big > li { grid-template-columns: 40px 1fr; }
	.popular-list-big .pop-thumb { display: none; }
	.hero-trust { grid-template-columns: 1fr; gap: 10px; }
	.footer-grid { grid-template-columns: 1fr; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.compare-controls { flex-direction: column; }
	.compare-search { min-width: 0; }
	.ro3-procons { grid-template-columns: 1fr; }
	.author-box { grid-template-columns: 1fr; text-align: left; }
	.author-avatar { width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================
   32. Print
   ============================================ */
@media print {
	.site-header, .site-footer, .share-bar, .article-sidebar, .toc-mobile, .back-to-top, .mobile-sticky-nav, .reading-progress, .search-overlay { display: none !important; }
	body { font-size: 12pt; color: #000; background: #fff; }
	a { color: #000; text-decoration: underline; }
	.prose { max-width: 100%; }
}
