.tn-reading-progress {
	position: fixed;
	inset: 0 0 auto;
	z-index: 9999;
	height: 4px;
	background: rgba(15, 23, 42, 0.08);
	pointer-events: none;
}

.tn-reading-progress__bar {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #ef4444 0%, #289dcc 100%);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

.tn-story-highlights {
	display: grid;
	gap: 18px;
	margin: 0 0 28px;
	padding: 22px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.tn-story-highlights__meta,
.tn-share-tools__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tn-story-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(40, 157, 204, 0.1);
	color: #0f172a;
	font-size: 0.88rem;
	font-weight: 600;
}

.tn-story-highlights__title,
.tn-story-outline__title,
.tn-share-tools__heading h2 {
	margin: 0 0 10px;
	font-size: 1.15rem;
	line-height: 1.3;
}

.tn-story-highlights__summary p,
.tn-share-tools__heading p,
.tn-editor-picks__header p {
	margin: 0;
	color: #475569;
}

.tn-story-outline {
	padding-top: 6px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.tn-story-outline__items {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tn-story-outline__items a {
	display: block;
	padding: 10px 14px;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.04);
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.tn-story-outline__items a:hover,
.tn-story-outline__items a:focus-visible {
	background: rgba(40, 157, 204, 0.14);
	transform: translateX(4px);
}

.tn-share-tools {
	margin: 28px 0;
	padding: 22px;
	border-radius: 18px;
	background: #0f172a;
	color: #fff;
}

.tn-share-tools__heading {
	margin-bottom: 16px;
}

.tn-share-tools__heading p {
	color: rgba(255, 255, 255, 0.74);
}

.tn-share-link,
.tn-share-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.tn-share-link:hover,
.tn-share-link:focus-visible,
.tn-share-copy:hover,
.tn-share-copy:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}

.tn-share-copy.is-copied {
	background: #16a34a;
}

.trendy-news-editor-picks {
	margin-top: 24px;
}

.tn-editor-picks__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.tn-editor-picks__header .tn-block-title {
	margin: 0;
}

.tn-editor-picks__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.tn-editor-pick {
	display: grid;
	gap: 14px;
	padding: 18px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.tn-editor-pick__thumb {
	margin: 0;
	overflow: hidden;
	border-radius: 18px;
}

.tn-editor-pick__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.tn-editor-pick.is-lead .post-title {
	font-size: 1.55rem;
	line-height: 1.2;
}

.tn-editor-pick.is-compact .post-title {
	font-size: 1.08rem;
	line-height: 1.3;
}

.tn-editor-pick .post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-bottom: 10px;
	font-size: 0.85rem;
}

.tn-editor-pick .post-excerpt {
	margin: 0;
	color: #475569;
}

.tn_loading_box {
	transition: opacity 0.24s ease, visibility 0.24s ease;
}

.tn_loading_box.is-hidden {
	opacity: 0;
	visibility: hidden;
}

body .trendy-news-section:not(#main-banner-section),
body .secondary-sidebar .widget,
body .secondary-left-sidebar .widget,
body .single-related-posts-section-wrap,
body .site-footer .main-footer,
body .site-footer .bottom-footer {
	content-visibility: auto;
	contain-intrinsic-size: 1px 560px;
}

body.trendy_news_dark_mode .tn-story-highlights,
body.trendy_news_dark_mode .tn-editor-pick {
	background: rgba(15, 23, 42, 0.92);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

body.trendy_news_dark_mode .tn-story-chip,
body.trendy_news_dark_mode .tn-story-outline__items a {
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
}

body.trendy_news_dark_mode .tn-story-highlights__summary p,
body.trendy_news_dark_mode .tn-editor-pick .post-excerpt,
body.trendy_news_dark_mode .tn-editor-picks__header p {
	color: #cbd5e1;
}

@media (max-width: 940px) {
	.tn-editor-picks__grid {
		grid-template-columns: 1fr;
	}

	.tn-editor-picks__header {
		flex-direction: column;
		align-items: start;
	}

	.tn-editor-pick.is-lead .post-title {
		font-size: 1.3rem;
	}
}

@media (max-width: 640px) {
	.tn-story-highlights,
	.tn-share-tools,
	.tn-editor-pick {
		padding: 18px;
		border-radius: 16px;
	}

	.tn-story-chip,
	.tn-share-link,
	.tn-share-copy {
		width: 100%;
		justify-content: center;
	}
}

.sidebar-toggle-trigger,
.search-trigger,
.trendy-news-ticker-pause,
.related_post_close,
#tn-scroll-to-top,
.menu-toggle,
.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	touch-action: manipulation;
}

.sidebar-toggle-trigger,
.related_post_close,
#tn-scroll-to-top {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.sidebar-toggle-trigger:focus-visible,
.search-trigger:focus-visible,
.trendy-news-ticker-pause:focus-visible,
.related_post_close:focus-visible,
#tn-scroll-to-top:focus-visible,
.menu-toggle:focus-visible,
.social-icon:focus-visible,
.mode_toggle:focus-visible,
.tn-share-link:focus-visible,
.tn-share-copy:focus-visible,
.tn-story-outline__items a:focus-visible {
	outline: 3px solid #0ea5e9;
	outline-offset: 3px;
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.site-header.layout--default .mode_toggle_wrap {
	display: inline-flex;
	align-items: center;
}

body.tn-mobile-lite .main-banner-slider,
body.tn-mobile-lite .news-carousel-post-wrap,
body.tn-mobile-lite .carousel-posts-wrap,
body.tn-mobile-lite .popular-posts-wrap {
	display: grid;
	gap: 16px;
}

body.tn-mobile-lite .main-banner-slider,
body.tn-mobile-lite .news-carousel-post-wrap,
body.tn-mobile-lite .carousel-posts-wrap {
	grid-template-columns: 1fr;
}

body.tn-mobile-lite .local_horizontal_slider .popular-posts-wrap .tn-slick-slide-wrap {
	display: grid;
	gap: 16px;
}

body.tn-mobile-lite .popular-posts-wrap .slick-arrow,
body.tn-mobile-lite .carousel-posts-wrap .slick-arrow,
body.tn-mobile-lite .news-carousel-post-wrap .slick-arrow,
body.tn-mobile-lite .main-banner-slider .slick-arrow {
	display: none !important;
}

body.tn-mobile-lite .ticker-news-wrap.is-static .trendy-news-ticker-box {
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

body.tn-mobile-lite .ticker-news-wrap.is-static .ticker-item-wrap {
	display: flex;
	gap: 12px;
	width: max-content;
	min-width: 100%;
	padding: 0;
}

body.tn-mobile-lite .ticker-news-wrap.is-static .ticker-item-wrap > li {
	width: min(84vw, 360px);
	scroll-snap-align: start;
}

body.tn-mobile-lite .main-banner-block-posts,
body.tn-mobile-lite .banner-trailing-posts {
	content-visibility: auto;
	contain-intrinsic-size: 1px 420px;
}
