/* ═══════════════════════════════════════════════
   TechNewsBangla — Premium Design System v2.0
   World-class Bengali tech news theme
   ═══════════════════════════════════════════════ */

/* ── Font Fallback Metrics (prevents CLS on font swap) ── */

@font-face {
	font-family: 'Hind Siliguri Fallback';
	src: local('Arial');
	size-adjust: 105%;
	ascent-override: 80%;
	descent-override: 20%;
	line-gap-override: 0%;
}

/* ── Design Tokens ─────────────────────────── */

:root {
	--tnb-primary: #2563eb;
	--tnb-primary-dark: #1d4ed8;
	--tnb-primary-light: #dbeafe;
	--tnb-accent: #f43f5e;
	--tnb-accent-light: #fff1f2;
	--tnb-dark: #0f172a;
	--tnb-text: #1e293b;
	--tnb-text-secondary: #64748b;
	--tnb-bg: #f8fafc;
	--tnb-surface: #ffffff;
	--tnb-border: #e2e8f0;
	--tnb-border-light: #f1f5f9;
	--tnb-radius: 12px;
	--tnb-radius-sm: 8px;
	--tnb-radius-lg: 16px;
	--tnb-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
	--tnb-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	--tnb-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
	--tnb-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
	--tnb-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
	--tnb-font-bn: 'Hind Siliguri', 'Hind Siliguri Fallback', sans-serif;
	--tnb-font-en: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	--tnb-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--tnb-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--tnb-header-h: 64px;
}

/* ── Reset & Base ──────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; width: 100%; margin: 0; font-family: var(--tnb-font-bn); font-size: 16.5px; line-height: 1.75; color: var(--tnb-text); background: var(--tnb-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tnb-primary); text-decoration: none; transition: color 0.2s var(--tnb-ease); }
a:hover { color: var(--tnb-primary-dark); }

h1, h2, h3, h4, h5, h6, p, li, a, span, div,
.entry-title, .site-title, .widget-title { font-family: var(--tnb-font-bn); }

h1, .entry-title { font-size: 2rem; font-weight: 700; line-height: 1.3; color: var(--tnb-dark); }
h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.4; color: var(--tnb-dark); }
h3, .widget-title { font-size: 1.1rem; font-weight: 600; line-height: 1.45; color: var(--tnb-dark); }
p { margin-bottom: 1.2em; }

/* ── Single Article Page ───────────────────── */

.single .entry-header,
body.single .entry-header,
body.single-post .entry-header {
	text-align: center !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.single .entry-title,
.single h1.entry-title,
.single-post .entry-title,
body.single-post h1.entry-title,
body.single h1,
body.single .inside-article h1 {
	text-align: center !important;
	font-size: 1.85rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	margin-bottom: 16px !important;
	text-transform: none !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

.single .entry-meta,
.single-post .entry-meta,
body.single .inside-article .entry-meta {
	text-align: center !important;
	margin-bottom: 20px;
}

.single .entry-content p,
.single-post .entry-content p,
body.single .inside-article .entry-content p {
	text-align: justify !important;
}

.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
	text-align: left !important;
}

.single .entry-content ul,
.single .entry-content ol {
	text-align: left !important;
}

.single .post-image,
.single .featured-image {
	margin-bottom: 24px;
}

/* Remove sidebar on single posts — full-width content */
body.single #right-sidebar,
body.single #secondary,
body.single .sidebar,
body.single .widget-area,
body.single aside.widget-area,
body.single .right-sidebar {
	display: none !important;
}

body.single .site-content,
body.single #primary,
body.single .content-area,
body.single .inside-article {
	width: 100% !important;
	max-width: 800px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
}

body.single .site-content {
	max-width: 100% !important;
}

body.single .inside-article {
	max-width: 780px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}

@media (max-width: 768px) {
	.single .entry-title,
	.single h1.entry-title,
	body.single h1,
	body.single .inside-article h1 {
		font-size: 1.35rem !important;
		line-height: 1.4 !important;
	}
}

@media (max-width: 480px) {
	.single .entry-title,
	.single h1.entry-title,
	body.single h1,
	body.single .inside-article h1 {
		font-size: 1.2rem !important;
	}
}

/* ── Related Posts ──────────────────────────── */

.tnb-related-posts {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--tnb-border);
}

.tnb-related-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--tnb-dark);
	margin: 0 0 18px;
	position: relative;
}

.tnb-related-title::before {
	content: '';
	display: block;
	width: 32px;
	height: 3px;
	background: linear-gradient(90deg, var(--tnb-primary), var(--tnb-accent));
	border-radius: 2px;
	margin-bottom: 8px;
}

.tnb-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.tnb-related-card {
	background: var(--tnb-surface);
	border-radius: var(--tnb-radius);
	overflow: hidden;
	border: 1px solid var(--tnb-border-light);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s var(--tnb-ease), box-shadow 0.3s var(--tnb-ease);
	display: flex;
	flex-direction: column;
}

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

.tnb-related-img {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.tnb-related-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--tnb-ease);
}

.tnb-related-card:hover .tnb-related-img img {
	transform: scale(1.04);
}

.tnb-related-card-title {
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tnb-dark);
	margin: 0;
	padding: 10px 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: left !important;
}

.tnb-related-card:hover .tnb-related-card-title {
	color: var(--tnb-primary);
}

.tnb-related-more {
	text-align: center;
	margin-top: 20px;
	padding-bottom: 8px;
}

@media (max-width: 768px) {
	.tnb-related-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.tnb-related-card {
		flex-direction: row;
	}

	.tnb-related-img {
		flex: 0 0 110px;
		aspect-ratio: unset;
		height: auto;
	}

	.tnb-related-card-title {
		flex: 1;
		display: flex;
		align-items: center;
		padding: 10px 12px;
		-webkit-line-clamp: 3;
	}

	.tnb-related-title {
		font-size: 1.05rem;
	}
}

@media (max-width: 480px) {
	.tnb-related-img {
		flex: 0 0 90px;
	}

	.tnb-related-card-title {
		font-size: 0.82rem;
		padding: 8px 10px;
	}
}

/* ── Top Bar ───────────────────────────────── */

.tnb-topbar {
	background: var(--tnb-dark);
	color: rgba(255,255,255,0.7);
	font-size: 0.78rem;
	line-height: 1;
}

.tnb-topbar-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tnb-topbar-date {
	display: flex;
	align-items: center;
	gap: 6px;
	color: rgba(255,255,255,0.85);
}

.tnb-topbar-date svg { opacity: 0.7; }

.tnb-topbar-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tnb-topbar-right a {
	color: rgba(255,255,255,0.8);
	transition: color 0.2s;
	display: flex;
	padding: 4px;
	min-width: 24px;
	min-height: 24px;
}

.tnb-topbar-right a:hover { color: #fff; }

/* ── Sticky Header ─────────────────────────── */

.tnb-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	transition: box-shadow 0.3s var(--tnb-ease), background 0.3s;
}

.tnb-header.scrolled {
	box-shadow: 0 1px 20px rgba(0,0,0,0.08);
	background: rgba(255,255,255,0.98);
}

.tnb-header-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	height: var(--tnb-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.tnb-header-accent {
	height: 2px;
	background: linear-gradient(90deg, var(--tnb-primary), var(--tnb-accent), var(--tnb-primary));
	background-size: 200% 100%;
	animation: tnb-gradient-shift 8s ease infinite;
}

@keyframes tnb-gradient-shift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

/* Brand / Logo */
.tnb-header-brand { flex-shrink: 0; }

.tnb-logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--tnb-dark) !important;
	letter-spacing: -0.02em;
}

.tnb-header-brand .custom-logo-link img {
	max-height: 40px;
	width: auto;
}

/* Desktop Navigation */
.tnb-nav { flex: 1; display: flex; justify-content: center; }

.tnb-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.tnb-nav-list li { position: relative; }

.tnb-nav-list > li > a {
	display: block;
	padding: 8px 16px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--tnb-text) !important;
	border-radius: var(--tnb-radius-sm);
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.tnb-nav-list > li > a:hover,
.tnb-nav-list > li.current-menu-item > a {
	background: var(--tnb-primary-light);
	color: var(--tnb-primary) !important;
}

/* Sub-menu */
.tnb-nav-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--tnb-surface);
	border: 1px solid var(--tnb-border);
	border-radius: var(--tnb-radius);
	box-shadow: var(--tnb-shadow-md);
	padding: 8px;
	min-width: 200px;
	list-style: none;
	z-index: 100;
}

.tnb-nav-list li:hover > .sub-menu { display: block; }

.tnb-nav-list .sub-menu a {
	display: block;
	padding: 8px 14px;
	font-size: 0.85rem;
	color: var(--tnb-text) !important;
	border-radius: 6px;
}

.tnb-nav-list .sub-menu a:hover {
	background: var(--tnb-bg);
	color: var(--tnb-primary) !important;
}

/* Header Actions */
.tnb-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.tnb-search-toggle,
.tnb-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--tnb-text);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.tnb-search-toggle:hover,
.tnb-menu-toggle:hover {
	background: var(--tnb-bg);
	color: var(--tnb-primary);
}

.tnb-menu-toggle { display: none; }

/* Hamburger icon */
.tnb-hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 20px;
}

.tnb-hamburger span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.3s var(--tnb-ease), opacity 0.2s;
}

.tnb-menu-toggle[aria-expanded="true"] .tnb-hamburger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.tnb-menu-toggle[aria-expanded="true"] .tnb-hamburger span:nth-child(2) {
	opacity: 0;
}
.tnb-menu-toggle[aria-expanded="true"] .tnb-hamburger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ───────────────────── */

.tnb-mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(15,23,42,0.5);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.tnb-mobile-overlay.active {
	opacity: 1;
	visibility: visible;
}

.tnb-mobile-menu {
	position: absolute;
	top: 0;
	right: 0;
	width: min(320px, 85vw);
	height: 100%;
	background: var(--tnb-surface);
	box-shadow: var(--tnb-shadow-lg);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--tnb-ease);
}

.tnb-mobile-overlay.active .tnb-mobile-menu {
	transform: translateX(0);
}

.tnb-mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--tnb-border);
}

.tnb-mobile-menu-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--tnb-dark);
}

.tnb-mobile-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: var(--tnb-bg);
	color: var(--tnb-text-secondary);
	cursor: pointer;
}

.tnb-mobile-nav-list {
	list-style: none;
	padding: 12px 0;
	margin: 0;
	flex: 1;
	overflow-y: auto;
}

.tnb-mobile-nav-list li a {
	display: block;
	padding: 14px 24px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--tnb-text) !important;
	border-bottom: 1px solid var(--tnb-border-light);
	transition: background 0.15s, padding-left 0.2s;
}

.tnb-mobile-nav-list li a:hover {
	background: var(--tnb-primary-light);
	padding-left: 30px;
	color: var(--tnb-primary) !important;
}

.tnb-mobile-menu-footer {
	padding: 16px 24px;
	border-top: 1px solid var(--tnb-border);
	display: flex;
	gap: 16px;
}

.tnb-mobile-menu-footer a {
	font-size: 0.85rem;
	color: var(--tnb-text-secondary) !important;
}

/* ── Search Overlay ────────────────────────── */

.tnb-search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	background: rgba(15,23,42,0.6);
	backdrop-filter: blur(8px);
	padding: 20vh 24px 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.tnb-search-overlay.active {
	opacity: 1;
	visibility: visible;
}

.tnb-search-box {
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tnb-search-box form {
	flex: 1;
	display: flex;
	background: var(--tnb-surface);
	border-radius: var(--tnb-radius);
	overflow: hidden;
	box-shadow: var(--tnb-shadow-lg);
}

.tnb-search-input {
	flex: 1;
	border: none;
	padding: 16px 20px;
	font-size: 1.1rem;
	font-family: var(--tnb-font-bn);
	outline: none;
	background: transparent;
	color: var(--tnb-text);
}

.tnb-search-submit {
	border: none;
	background: var(--tnb-primary);
	color: #fff;
	padding: 16px 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.tnb-search-close {
	background: rgba(255,255,255,0.15);
	border: none;
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

/* Hide GeneratePress default header/nav */
.site-header:not(.tnb-header),
.main-navigation:not(.tnb-nav),
.mobile-menu-control-wrapper,
#site-navigation {
	display: none !important;
}

/* ── Header Ad Zone ────────────────────────── */

.tnb-header-ad-wrap {
	text-align: center;
	padding: 12px 0;
	background: var(--tnb-bg);
	border-bottom: 1px solid var(--tnb-border);
	max-width: 100%;
	overflow: hidden;
}

/* ── Homepage Container ────────────────────── */

.tnb-homepage {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Hero Featured Grid ────────────────────── */

.tnb-hero-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 12px;
	margin-bottom: 28px;
	margin-top: 24px;
	min-height: 420px;
}

.tnb-hero-grid .tnb-hero { margin-bottom: 0; }

.tnb-hero-grid .tnb-hero-side {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tnb-hero {
	position: relative;
	border-radius: var(--tnb-radius);
	overflow: hidden;
	box-shadow: var(--tnb-shadow-sm);
}

.tnb-hero a {
	display: block;
	text-decoration: none;
	height: 100%;
}

.tnb-hero-img {
	width: 100%;
	height: 100%;
	min-height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--tnb-ease);
}

.tnb-hero--large .tnb-hero-img { min-height: 420px; }
.tnb-hero--small .tnb-hero-img { min-height: 200px; }

.tnb-hero:hover .tnb-hero-img {
	transform: scale(1.04);
}

.tnb-hero-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
	padding: 40px 24px 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.tnb-hero--small .tnb-hero-overlay {
	padding: 24px 16px 14px;
}

.tnb-hero-cat {
	display: inline-flex;
	align-self: flex-start;
	background: var(--tnb-accent);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 8px;
}

.tnb-hero-title {
	color: #fff;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 6px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.tnb-hero--large .tnb-hero-title { font-size: 1.65rem; }
.tnb-hero--small .tnb-hero-title { font-size: 0.95rem; line-height: 1.4; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

.tnb-hero-meta {
	color: rgba(255,255,255,0.82);
	font-size: 0.78rem;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tnb-hero-meta svg { opacity: 0.5; }

/* ── Web Stories Strip ─────────────────────── */

.tnb-stories-strip {
	margin-bottom: 28px;
	background: var(--tnb-surface);
	border-radius: var(--tnb-radius);
	padding: 16px 20px 18px;
	box-shadow: var(--tnb-shadow-xs);
	border: 1px solid var(--tnb-border-light);
}

.tnb-stories-title {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tnb-stories-icon {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: var(--tnb-accent);
	border-radius: 50%;
	animation: tnb-pulse 2s ease-in-out infinite;
}

@keyframes tnb-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.5); opacity: 0.6; }
}

.tnb-stories-scroll-wrap {
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.tnb-stories-scroll-wrap::-webkit-scrollbar { display: none; }

.tnb-stories-scroll-wrap .web-stories-list.alignnone,
.tnb-stories-scroll-wrap .web-stories-list {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 14px;
	width: max-content;
	padding: 8px 2px;
}

.tnb-stories-scroll-wrap .web-stories-list__story {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.tnb-stories-scroll-wrap .web-stories-list__story-poster,
.tnb-stories-scroll-wrap .web-stories-list__story a {
	display: block;
	border-radius: 50%;
	padding: 3px;
	background: linear-gradient(135deg, var(--tnb-primary), var(--tnb-accent), #a855f7);
	text-decoration: none;
	transition: box-shadow 0.3s var(--tnb-ease), transform 0.3s;
}

.tnb-stories-scroll-wrap .web-stories-list__story a:hover {
	box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
	transform: scale(1.05);
}

.tnb-stories-scroll-wrap .web-stories-list__story-poster img,
.tnb-stories-scroll-wrap .web-stories-list__story a img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	border: 3px solid var(--tnb-surface);
}

.tnb-stories-scroll-wrap .web-stories-list__story-title,
.tnb-stories-scroll-wrap .web-stories-list__story-title a {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--tnb-text);
	text-align: center;
	line-height: 1.3;
	max-width: 80px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-decoration: none;
	font-family: var(--tnb-font-bn);
}

.tnb-stories-scroll-wrap .web-stories-list__story-title a:hover {
	color: var(--tnb-primary);
}

/* ── Home Layout Grid ──────────────────────── */

.tnb-home-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 32px;
	margin-top: 8px;
}

/* ── Section Headers ───────────────────────── */

.tnb-category-section {
	margin-bottom: 36px;
}

.tnb-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 0;
	border-bottom: none;
}

.tnb-section-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--tnb-dark);
	margin: 0;
	position: relative;
}

.tnb-section-title::before {
	content: '';
	display: block;
	width: 36px;
	height: 3px;
	background: linear-gradient(90deg, var(--tnb-primary), var(--tnb-accent));
	border-radius: 2px;
	margin-bottom: 6px;
}

.tnb-section-more {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--tnb-primary);
	text-decoration: none;
	padding: 6px 16px;
	border: 1.5px solid var(--tnb-primary);
	border-radius: 20px;
	transition: all 0.2s var(--tnb-ease);
	white-space: nowrap;
}

.tnb-section-more:hover {
	background: var(--tnb-primary);
	color: #fff;
}

/* ── Post Cards Grid ───────────────────────── */

.tnb-posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.tnb-card {
	background: var(--tnb-surface);
	border-radius: var(--tnb-radius);
	overflow: hidden;
	border: 1px solid var(--tnb-border-light);
	transition: transform 0.3s var(--tnb-ease), box-shadow 0.3s var(--tnb-ease);
}

.tnb-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tnb-shadow-md);
}

.tnb-card a { text-decoration: none; color: inherit; }

.tnb-card-img-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.tnb-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--tnb-ease);
}

.tnb-card:hover .tnb-card-img {
	transform: scale(1.04);
}

.tnb-card-cat {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(255,255,255,0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--tnb-primary);
	font-size: 0.68rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 20px;
}

.tnb-card-body {
	padding: 14px 16px 16px;
}

.tnb-card-title {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 8px;
	color: var(--tnb-dark);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}

.tnb-card:hover .tnb-card-title { color: var(--tnb-primary); }

.tnb-card-excerpt {
	font-size: 0.85rem;
	color: var(--tnb-text-secondary);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 8px;
}

.tnb-card-meta {
	font-size: 0.76rem;
	color: #4b5563;
	display: flex;
	align-items: center;
	gap: 10px;
}

.tnb-card-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.tnb-card-reading-time svg {
	width: 12px;
	height: 12px;
	opacity: 0.5;
}

/* ── Sidebar ───────────────────────────────── */

.tnb-sidebar {
	position: sticky;
	top: calc(var(--tnb-header-h) + 20px);
	align-self: start;
}

.tnb-sidebar .widget {
	background: var(--tnb-surface);
	padding: 20px;
	border-radius: var(--tnb-radius);
	border: 1px solid var(--tnb-border-light);
	margin-bottom: 20px;
}

.tnb-sidebar .widget-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--tnb-dark);
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: none;
	position: relative;
}

.tnb-sidebar .widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 32px;
	height: 2px;
	background: linear-gradient(90deg, var(--tnb-primary), var(--tnb-accent));
	border-radius: 1px;
}

/* Popular Posts */
.tnb-popular-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--tnb-border-light);
}

.tnb-popular-item:last-child { border-bottom: none; }

.tnb-popular-num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, var(--tnb-primary), var(--tnb-primary-dark));
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
}

.tnb-popular-thumb {
	flex-shrink: 0;
	width: 64px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
}

.tnb-popular-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tnb-popular-title {
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.4;
	flex: 1;
	min-width: 0;
}

.tnb-popular-title a {
	color: var(--tnb-text) !important;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tnb-popular-title a:hover { color: var(--tnb-primary) !important; }

/* Social Follow — compact icon row */
.tnb-social-follow {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.tnb-social-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: var(--tnb-radius-sm);
	text-decoration: none;
	color: #fff !important;
	font-weight: 600;
	font-size: 0.82rem;
	transition: transform 0.2s, opacity 0.2s;
	flex: 1;
	justify-content: center;
	min-width: 0;
}

.tnb-social-btn:hover {
	transform: translateY(-2px);
	opacity: 0.9;
	color: #fff !important;
}

.tnb-social-btn--fb { background: #1877f2; }
.tnb-social-btn--telegram { background: #0088cc; }
.tnb-social-btn--youtube { background: #ff0000; }
.tnb-social-btn--twitter { background: #1da1f2; }

.tnb-social-btn svg { flex-shrink: 0; }

/* ── Social Share Buttons (single post) ────── */

.tnb-share-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 20px 0;
	border-top: 1px solid var(--tnb-border);
	margin-top: 15px;
}

.tnb-share-label {
	width: 100%;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--tnb-dark);
	margin-bottom: 4px;
}

.tnb-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	color: #fff !important;
	transition: opacity 0.2s, transform 0.2s;
}

.tnb-share-btn:hover { opacity: 0.85; color: #fff !important; transform: translateY(-1px); }

.tnb-share-btn--facebook { background: #1877f2; }
.tnb-share-btn--twitter { background: #1da1f2; }
.tnb-share-btn--telegram { background: #0088cc; }
.tnb-share-btn--whatsapp { background: #25d366; }

/* ── In-Article Ad ─────────────────────────── */

.tnb-in-article-ad {
	text-align: center;
	padding: 15px 0;
	margin: 20px 0;
	min-height: 100px;
	background: var(--tnb-bg);
	border: 1px dashed var(--tnb-border);
	border-radius: var(--tnb-radius);
}

.tnb-after-post-ad-wrap {
	text-align: center;
	padding: 20px 0;
	margin: 20px 0;
}

/* ── Sponsored Badge ───────────────────────── */

.tnb-sponsored-badge {
	display: inline-block;
	background: #fef3c7;
	color: #92400e;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 4px;
	margin-bottom: 8px;
	border: 1px solid #fcd34d;
}

/* ── No Thumbnail Placeholder ──────────────── */

.tnb-no-thumb {
	background: linear-gradient(135deg, var(--tnb-primary), var(--tnb-primary-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	width: 100%;
	height: 100%;
}

/* ── Breadcrumbs ───────────────────────────── */

.rank-math-breadcrumb {
	font-size: 0.82rem;
	color: var(--tnb-text-secondary);
	padding: 12px 0;
}

.rank-math-breadcrumb a { color: var(--tnb-primary); }

/* ── Footer ────────────────────────────────── */

.gb-container-e224c1dd {
	background-color: var(--tnb-dark) !important;
	color: rgba(255,255,255,0.82);
}

.gb-container-e224c1dd *, .gb-container-e224c1dd p, .gb-container-e224c1dd li {
	color: rgba(255,255,255,0.75) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.gb-container-e224c1dd .gb-headline-34307d45 { color: #fff !important; font-size: 1.1rem !important; margin-bottom: 20px !important; }
.gb-container-e224c1dd h3.wp-block-heading { color: #fff !important; font-size: 0.95rem !important; font-weight: 700 !important; border-bottom: 2px solid var(--tnb-primary) !important; padding-bottom: 8px !important; margin-bottom: 14px !important; }
.gb-container-e224c1dd .wp-block-columns { max-width: 1240px; margin-left: auto; margin-right: auto; }
.gb-container-e224c1dd ul.wp-block-list, .gb-container-e224c1dd .wp-block-list { list-style: none !important; padding-left: 0 !important; margin: 0; }
.gb-container-e224c1dd .wp-block-list li { padding: 5px 0; list-style-type: none !important; }
.gb-container-e224c1dd .wp-block-list li::marker { content: none; display: none; }
.gb-container-e224c1dd a, .gb-container-e224c1dd .wp-block-list a { color: rgba(255,255,255,0.7) !important; text-decoration: none; transition: color 0.2s; }
.gb-container-e224c1dd a:hover, .gb-container-e224c1dd .wp-block-list a:hover { color: #fff !important; }
.gb-container-e224c1dd .gb-headline-6c42a0d0 { color: rgba(255,255,255,0.55) !important; font-size: 0.85rem !important; }
.gb-container-e224c1dd .gb-container-13e76207 { border-top-color: rgba(255,255,255,0.12) !important; }
.gb-container-e224c1dd .gb-headline-18cafecf { color: rgba(255,255,255,0.45) !important; font-size: 0.8rem !important; }
.gb-container-e224c1dd .gb-button { color: rgba(255,255,255,0.6) !important; font-size: 0.8rem !important; }
.gb-container-e224c1dd .gb-button:hover { color: #fff !important; }
.gb-container-e224c1dd .gb-button strong { font-weight: 500 !important; color: inherit !important; }

.gb-container-e224c1dd .tnb-footer-social { display: flex; gap: 10px; margin-top: 14px; }
.gb-container-e224c1dd .tnb-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: background 0.2s; }
.gb-container-e224c1dd .tnb-footer-social a:hover { background: var(--tnb-primary); }
.gb-container-e224c1dd .tnb-footer-social svg { width: 16px; height: 16px; fill: #fff; }

/* ── Cookie Consent Banner ─────────────────── */

.tnb-cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: var(--tnb-dark);
	color: rgba(255,255,255,0.9);
	box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
	transform: translateY(100%);
	transition: transform 0.35s var(--tnb-ease);
	will-change: transform;
}

.tnb-cookie-consent.tnb-cookie-visible {
	transform: translateY(0);
}

.tnb-cookie-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.tnb-cookie-inner p { margin: 0; font-size: 0.85rem; line-height: 1.5; flex: 1; min-width: 220px; }
.tnb-cookie-inner a { color: #93c5fd; text-decoration: underline; }
.tnb-cookie-inner a:hover { color: #fff; }

.tnb-cookie-btn {
	background: var(--tnb-primary);
	color: #fff;
	border: none;
	padding: 10px 28px;
	font-size: 0.88rem;
	font-weight: 600;
	font-family: var(--tnb-font-bn);
	border-radius: var(--tnb-radius-sm);
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s;
}

.tnb-cookie-btn:hover { background: var(--tnb-primary-dark); }

/* ── Scroll Animation Helper ───────────────── */

.tnb-fade-in {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s var(--tnb-ease), transform 0.5s var(--tnb-ease);
}

.tnb-fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* ── Tablet — up to 1024px ─────────────────── */

@media (max-width: 1024px) {
	.tnb-nav { display: none; }
	.tnb-menu-toggle { display: flex; }

	.tnb-home-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tnb-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.tnb-hero-grid {
		min-height: 340px;
	}

	.tnb-hero--large .tnb-hero-img { min-height: 340px; }

	.tnb-posts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.tnb-homepage {
		max-width: 100%;
		overflow: hidden;
	}

	.tnb-main-content {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
	}
}

/* ── Mobile — up to 768px ──────────────────── */

@media (max-width: 768px) {
	:root { --tnb-header-h: 56px; }

	html, body { overflow-x: hidden !important; width: 100% !important; }
	.site, .site-content, #page, #content { max-width: 100vw !important; overflow-x: hidden !important; }

	body { font-size: 15.5px; }

	.tnb-topbar-inner { padding: 6px 16px; font-size: 0.72rem; }

	.tnb-header-inner { padding: 0 16px; }

	.tnb-logo { font-size: 1.25rem; }

	.tnb-homepage { padding: 0 14px; max-width: 100% !important; overflow: hidden; }

	/* Hero grid — stack vertically */
	.tnb-hero-grid {
		grid-template-columns: 1fr;
		min-height: auto;
		gap: 10px;
		margin-top: 16px;
		margin-bottom: 20px;
	}

	.tnb-hero--large .tnb-hero-img { min-height: 200px; height: 200px; }
	.tnb-hero--small .tnb-hero-img { min-height: 0; height: auto; }

	.tnb-hero-grid .tnb-hero-side {
		flex-direction: row;
		gap: 10px;
	}

	.tnb-hero-grid .tnb-hero-side .tnb-hero {
		flex: 1;
	}

	.tnb-hero-grid .tnb-hero-side .tnb-hero-img {
		height: 120px;
		min-height: 120px;
	}

	.tnb-hero--large .tnb-hero-title { font-size: 1.1rem; }
	.tnb-hero--small .tnb-hero-title { font-size: 0.82rem; -webkit-line-clamp: 2; }

	.tnb-hero--large .tnb-hero-overlay { padding: 30px 14px 14px; }
	.tnb-hero--small .tnb-hero-overlay { padding: 16px 10px 8px; }
	.tnb-hero--small .tnb-hero-cat { font-size: 0.6rem; padding: 2px 6px; margin-bottom: 4px; }
	.tnb-hero--small .tnb-hero-meta { display: none; }

	/* Home layout */
	.tnb-home-layout {
		grid-template-columns: 1fr !important;
		gap: 8px;
	}

	/* Post cards — horizontal layout */
	.tnb-posts-grid {
		grid-template-columns: 1fr !important;
		gap: 10px;
	}

	.tnb-card {
		display: flex;
		flex-direction: row;
		border-radius: var(--tnb-radius-sm);
	}

	.tnb-card > a {
		flex: 0 0 115px;
		min-height: 90px;
	}

	.tnb-card-img-wrap {
		aspect-ratio: unset;
		height: 100%;
		border-radius: 0;
	}

	.tnb-card-img {
		border-radius: 0;
		height: 100%;
	}

	.tnb-card-cat { display: none; }

	.tnb-card-body {
		flex: 1;
		padding: 10px 12px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-width: 0;
	}

	.tnb-card-title {
		font-size: 0.88rem;
		-webkit-line-clamp: 2;
		margin-bottom: 4px;
		word-wrap: break-word;
	}

	.tnb-card-excerpt { display: none; }
	.tnb-card-meta { font-size: 0.72rem; margin-top: auto; }

	/* Section headers */
	.tnb-section-header { margin-bottom: 12px; }
	.tnb-section-title { font-size: 1.1rem; }
	.tnb-section-title::before { width: 28px; height: 2px; margin-bottom: 4px; }
	.tnb-section-more { font-size: 0.75rem; padding: 5px 12px; }
	.tnb-category-section { margin-bottom: 22px; }

	/* Sidebar */
	.tnb-sidebar {
		grid-template-columns: 1fr !important;
		margin-top: 16px;
		padding-top: 16px;
		border-top: 1px solid var(--tnb-border);
	}

	.tnb-sidebar .widget { padding: 16px; }

	/* Headings */
	h1, .entry-title { font-size: 1.35rem; }
	h2 { font-size: 1.15rem; }

	/* Web Stories */
	.tnb-stories-strip { padding: 12px 14px 14px; margin-bottom: 16px; }
	.tnb-stories-title { font-size: 1rem; }

	.tnb-stories-scroll-wrap .web-stories-list__story a img,
	.tnb-stories-scroll-wrap .web-stories-list__story-poster img { width: 60px; height: 60px; }
	.tnb-stories-scroll-wrap .web-stories-list__story-title,
	.tnb-stories-scroll-wrap .web-stories-list__story-title a { max-width: 60px; font-size: 0.62rem; }
	.tnb-stories-scroll-wrap .web-stories-list.alignnone,
	.tnb-stories-scroll-wrap .web-stories-list { gap: 10px; }

	/* Footer */
	.gb-container-e224c1dd .wp-block-columns { flex-direction: column !important; }
	.gb-container-e224c1dd .wp-block-column { flex-basis: 100% !important; margin-bottom: 20px; }

	/* Share / Social */
	.tnb-social-follow { flex-direction: column; }
	.tnb-social-btn { flex: unset; }
	.tnb-share-btn { padding: 8px 14px; font-size: 0.82rem; min-height: 44px; }

	/* Popular posts compact */
	.tnb-popular-item { gap: 10px; padding: 8px 0; }
	.tnb-popular-num { width: 24px; height: 24px; font-size: 0.72rem; }
	.tnb-popular-thumb { width: 52px; height: 40px; }
	.tnb-popular-title { font-size: 0.84rem; }

	/* Cookie consent */
	.tnb-cookie-inner { flex-direction: column; padding: 14px 16px; text-align: center; gap: 10px; }
	.tnb-cookie-inner p { min-width: unset; font-size: 0.8rem; }

	/* Header ad */
	.tnb-header-ad-wrap { padding: 8px 10px; }

	/* Inside article */
	.inside-article, .inside-page-header { padding: 16px; }
}

/* ── Small Mobile — up to 480px ────────────── */

@media (max-width: 480px) {
	.tnb-homepage { padding: 0 12px; }

	.tnb-hero--large .tnb-hero-img { height: 180px; min-height: 180px; }
	.tnb-hero--large .tnb-hero-title { font-size: 1rem; }
	.tnb-hero-grid .tnb-hero-side .tnb-hero-img { height: 100px; min-height: 100px; }
	.tnb-hero--small .tnb-hero-title { font-size: 0.76rem; }

	.tnb-card > a { flex: 0 0 100px; }
	.tnb-card-body { padding: 8px 10px; }
	.tnb-card-title { font-size: 0.84rem; }
	.tnb-section-title { font-size: 1rem; }
	.tnb-section-more { font-size: 0.72rem; padding: 4px 10px; }

	.tnb-topbar { display: none; }

	.tnb-stories-scroll-wrap .web-stories-list__story a img,
	.tnb-stories-scroll-wrap .web-stories-list__story-poster img { width: 52px; height: 52px; }
	.tnb-stories-scroll-wrap .web-stories-list__story-title,
	.tnb-stories-scroll-wrap .web-stories-list__story-title a { max-width: 52px; font-size: 0.58rem; }
}

/* ── Extra Small — up to 360px ─────────────── */

@media (max-width: 360px) {
	body { font-size: 15px; }
	.tnb-hero--large .tnb-hero-img { height: 160px; min-height: 160px; }
	.tnb-hero--large .tnb-hero-title { font-size: 0.92rem; }
	.tnb-hero-grid .tnb-hero-side .tnb-hero-img { height: 88px; min-height: 88px; }
	.tnb-card > a { flex: 0 0 88px; }
	.tnb-card-title { font-size: 0.8rem; }
	.tnb-logo { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════
   WEB STORIES ARCHIVE — Premium Grid
   ═══════════════════════════════════════════════ */

.tnb-stories-archive {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px 40px;
}

.tnb-stories-archive-header {
	text-align: center;
	padding: 32px 0 28px;
}

.tnb-stories-archive-title {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--tnb-dark);
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.tnb-stories-archive-title svg {
	color: var(--tnb-primary);
}

.tnb-stories-archive-desc {
	font-size: 0.92rem;
	color: var(--tnb-text-secondary);
	margin: 0;
}

/* Stories grid — 5 columns, portrait cards */
.tnb-stories-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

/* Story card */
.tnb-story-card {
	border-radius: var(--tnb-radius);
	overflow: hidden;
	background: var(--tnb-surface);
	border: 1px solid var(--tnb-border-light);
	transition: transform 0.3s var(--tnb-ease), box-shadow 0.3s var(--tnb-ease);
}

.tnb-story-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--tnb-shadow-md);
}

.tnb-story-card-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

/* Poster — portrait 3:4 */
.tnb-story-card-poster {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--tnb-bg);
}

.tnb-story-card-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--tnb-ease);
}

.tnb-story-card:hover .tnb-story-card-poster img {
	transform: scale(1.06);
}

/* Gradient overlay */
.tnb-story-card-poster::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 45%;
	background: linear-gradient(transparent, rgba(0,0,0,0.5));
	pointer-events: none;
}

/* Play button */
.tnb-story-card-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.85);
	width: 44px;
	height: 44px;
	background: rgba(255,255,255,0.92);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.3s, transform 0.3s var(--tnb-ease);
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tnb-story-card-play svg { margin-left: 2px; color: var(--tnb-dark); }

.tnb-story-card:hover .tnb-story-card-play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* Placeholder */
.tnb-story-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--tnb-text-secondary);
	background: linear-gradient(135deg, var(--tnb-bg), var(--tnb-border-light));
}

/* Story title */
.tnb-story-card-title {
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tnb-dark);
	margin: 0;
	padding: 10px 12px 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}

.tnb-story-card:hover .tnb-story-card-title {
	color: var(--tnb-primary);
}

/* Empty state */
.tnb-stories-empty {
	text-align: center;
	color: var(--tnb-text-secondary);
	padding: 60px 20px;
	font-size: 1rem;
}

/* Pagination */
.tnb-stories-archive .nav-links,
.tnb-stories-archive .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 36px 0 10px;
}

.tnb-stories-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--tnb-radius-sm);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid var(--tnb-border);
	color: var(--tnb-text);
	background: var(--tnb-surface);
	transition: all 0.2s;
}

.tnb-stories-archive a.page-numbers:hover {
	background: var(--tnb-primary);
	color: #fff;
	border-color: var(--tnb-primary);
}

.tnb-stories-archive .page-numbers.current {
	background: var(--tnb-primary);
	color: #fff;
	border-color: var(--tnb-primary);
}

/* Responsive */
@media (max-width: 1024px) {
	.tnb-stories-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
	.tnb-stories-archive { padding: 0 14px 30px; }
	.tnb-stories-archive-header { padding: 20px 0 20px; }
	.tnb-stories-archive-title { font-size: 1.4rem; }
	.tnb-stories-archive-desc { font-size: 0.84rem; }
	.tnb-stories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.tnb-story-card-title { font-size: 0.78rem; padding: 8px 10px 10px; }
}

@media (max-width: 480px) {
	.tnb-stories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.tnb-story-card-title { font-size: 0.74rem; padding: 6px 8px 8px; }
	.tnb-story-card-play { width: 36px; height: 36px; }
	.tnb-story-card-play svg { width: 14px; height: 14px; }
}
