/* ==========================================================================
   Trikon Khabar – main stylesheet (mobile first)
   Fonts: Mukta (body, card titles) + Khand (headlines, section titles)
   Breakpoints: 640 / 768 / 1024 / 1200
   ========================================================================== */

/* 0. Devanagari digits ---------------------------------------------------
   Khand draws ०-९ like Latin 0-9. This tiny Mukta subset (OFL) is placed first
   in the heading stack so Nepali digits always look Nepali. */
@font-face { font-family: "TK Digits"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/mukta-digits-600.woff2") format("woff2"); unicode-range: U+0966-096F; }
@font-face { font-family: "TK Digits"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../fonts/mukta-digits-700.woff2") format("woff2"); unicode-range: U+0966-096F; }

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--tk-primary: #1b4ea0;
	--tk-accent: #d7192a;
	--tk-heading: #16233f;
	--tk-text: #232a36;
	--tk-muted: #687284;
	--tk-border: #e4e7ec;
	--tk-bg: #ffffff;
	--tk-surface: #ffffff;
	--tk-bg-soft: #f3f5f8;
	--tk-dark: #101828;
	--tk-footer: #0d1b36;
	--tk-radius: 8px;
	--tk-radius-sm: 5px;
	--tk-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .06);
	--tk-container: 1200px;
	--tk-gutter: 16px;
	--tk-gap: 20px;
	--tk-font-body: "Mukta", "Noto Sans Devanagari", "Kohinoor Devanagari", "Mangal", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tk-font-head: "TK Digits", "Khand", "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
	--tk-article-size: 21px;
	--tk-side-w: 340px;
	--tk-title: 22px;
	--tk-sticky-top: 0px;
	--tk-bottomnav-h: 0px;
	color-scheme: light;
}

[data-theme="dark"] {
	--tk-heading: #f1f4f9;
	--tk-text: #d5dbe5;
	--tk-muted: #97a2b4;
	--tk-border: #263043;
	--tk-bg: #0c111a;
	--tk-surface: #131a26;
	--tk-bg-soft: #111824;
	--tk-dark: #070b12;
	--tk-footer: #070b12;
	--tk-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--tk-font-body);
	font-size: 18px;
	line-height: 1.6;
	color: var(--tk-text);
	background: var(--tk-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--tk-primary); text-decoration: none; }
a:hover { color: var(--tk-accent); }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--tk-heading); font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--tk-accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
	z-index: 100001; padding: 10px 16px; background: #fff; color: var(--tk-primary); border-radius: 6px;
}

.tk-site { overflow-x: clip; }
.tk-container { width: 100%; max-width: var(--tk-container); margin: 0 auto; padding: 0 var(--tk-gutter); }
.tk-icon { flex: none; vertical-align: middle; }

.tk-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px;
	background: transparent; color: inherit; transition: background .15s;
}
.tk-iconbtn:hover { background: rgba(127, 127, 127, .14); }

@media (max-width: 767px) { .tk-only-desktop { display: none !important; } }
@media (min-width: 768px) { .tk-only-mobile { display: none !important; } }

/* 3. Top bar --------------------------------------------------------------- */
.tk-topbar { display: none; background: var(--tk-bg-soft); border-bottom: 1px solid var(--tk-border); font-size: 13.5px; color: var(--tk-muted); }
.tk-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.tk-topbar__date { display: flex; align-items: center; gap: 6px; }
.tk-topbar__right { display: flex; align-items: center; gap: 16px; }
.tk-topbar__menu { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tk-topbar__menu a { color: var(--tk-muted); }
.tk-topbar__menu a:hover { color: var(--tk-primary); }
@media (min-width: 768px) { .tk-topbar { display: block; } }

.tk-social { display: flex; gap: 6px; }
.tk-social a {
	display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
	border-radius: 50%; color: var(--tk-muted); background: transparent; transition: .15s;
}
.tk-social a:hover { color: #fff; background: var(--tk-primary); }

/* 4. Masthead -------------------------------------------------------------- */
.tk-masthead {
	position: sticky; top: 0; z-index: 60;
	background: var(--tk-surface); border-bottom: 1px solid var(--tk-border);
}
.tk-masthead__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-top: 6px; padding-bottom: 6px; }
.tk-masthead__brand { display: flex; flex-direction: column; min-width: 0; }
.tk-logo { margin: 0; font-size: inherit; line-height: 1; }
.tk-logo a { display: inline-block; }
.tk-logo__img { display: block; width: auto; height: 40px; max-width: 100%; }
.tk-logo__text { font-family: var(--tk-font-head); font-size: 30px; font-weight: 700; color: var(--tk-primary); }
.tk-masthead__date { margin-top: 3px; font-size: 13.5px; line-height: 1.2; color: var(--tk-muted); white-space: nowrap; }
.tk-masthead__ad { display: none; }
.tk-masthead__actions { margin-left: auto; display: flex; gap: 2px; color: var(--tk-heading); }
[data-theme="dark"] .tk-logo__img { background: #fff; border-radius: 6px; padding: 2px 6px; }

@media (max-width: 600px) { .admin-bar .tk-masthead { top: 0; } }
@media (min-width: 601px) and (max-width: 1023px) { .admin-bar .tk-masthead { top: 46px; } }
@media (min-width: 783px) and (max-width: 1023px) { .admin-bar .tk-masthead { top: 32px; } }

@media (min-width: 1024px) {
	.tk-masthead { position: relative; top: auto !important; border-bottom: 0; }
	.tk-masthead__inner { min-height: 104px; padding-top: 16px; padding-bottom: 16px; gap: 24px; }
	.tk-logo__img { height: 64px; }
	.tk-masthead__date { font-size: 16px; margin-top: 6px; color: #4b5565; }
	.tk-masthead__ad { display: block; margin: 0 0 0 auto !important; max-width: 760px; }
	.tk-masthead__actions { display: none; }
}

/* 5. Main navigation ------------------------------------------------------- */
.tk-nav { background: var(--tk-primary); color: #fff; z-index: 50; position: relative; }
.tk-nav__inner { display: flex; align-items: center; gap: 4px; min-height: 44px; padding-left: 0; padding-right: 0; }
.tk-nav__home {
	display: none; align-items: center; justify-content: center; gap: 8px;
	height: 48px; padding: 0 12px; color: #fff;
}
.tk-nav__home:hover, .tk-nav__home.is-active { color: #fff; background: rgba(255, 255, 255, .14); }
.tk-nav__mini-logo { display: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.tk-nav__menu { flex: 1; min-width: 0; }
.tk-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.tk-menu > li { position: relative; flex: none; }
.tk-menu > li > a {
	display: flex; align-items: center; height: 46px; padding: 0 12px;
	color: #fff; font-family: var(--tk-font-head); font-size: 19px; font-weight: 600; line-height: 1; white-space: nowrap;
	padding-top: 3px;
}
.tk-menu > li > a:hover,
.tk-menu > li.current-menu-item > a,
.tk-menu > li.current-menu-ancestor > a,
.tk-menu > li.current-post-ancestor > a { background: rgba(255, 255, 255, .14); color: #fff; }
.tk-menu .sub-menu { display: none; }
.tk-nav__tools { display: none; align-items: center; gap: 2px; padding-right: 8px; }
.tk-nav__tools .tk-iconbtn:hover { background: rgba(255, 255, 255, .16); }
[data-tk-theme-toggle] .tk-icon-sun { display: none; }
[data-theme="dark"] [data-tk-theme-toggle] .tk-icon-sun { display: block; }
[data-theme="dark"] [data-tk-theme-toggle] .tk-icon-moon { display: none; }

/* Mobile: swipeable category strip */
@media (max-width: 1023px) {
	.tk-nav__menu { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.tk-nav__menu::-webkit-scrollbar { display: none; }
	.tk-menu { padding: 0 8px; }
	.tk-menu > li > a { padding: 3px 11px 0; font-size: 19px; }
	.tk-menu > li.tk-more { display: none; }
}

@media (min-width: 1024px) {
	.tk-nav { position: sticky; top: 0; }
	.admin-bar .tk-nav { top: 32px; }
	.tk-nav__inner { min-height: 48px; padding-left: var(--tk-gutter); padding-right: var(--tk-gutter); }
	.tk-nav__home { display: inline-flex; height: 50px; }
	.tk-nav.is-stuck { box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
	.tk-nav.is-stuck .tk-nav__mini-logo { display: block; }
	.tk-nav.is-stuck .tk-nav__mini-logo + .tk-icon { display: none; }
	.tk-nav__tools { display: flex; padding-right: 0; }
	.tk-nav__menu { overflow: visible; }
	.tk-menu > li > a { height: 50px; padding: 3px 12px 0; font-size: 21px; }
	.tk-menu .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 6px 0; list-style: none;
		background: var(--tk-surface); border-radius: 0 0 var(--tk-radius) var(--tk-radius);
		box-shadow: 0 12px 28px rgba(16, 24, 40, .18); z-index: 70;
	}
	.tk-menu li:hover > .sub-menu,
	.tk-menu li:focus-within > .sub-menu { display: block; }
	.tk-menu .sub-menu a { display: block; padding: 8px 18px; color: var(--tk-heading); font-family: var(--tk-font-head); font-size: 20px; font-weight: 500; white-space: nowrap; }
	.tk-menu .sub-menu a:hover { background: var(--tk-bg-soft); color: var(--tk-primary); }
	.tk-menu > li.tk-more > a::after { content: ""; width: 7px; height: 7px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
	.tk-menu > li.tk-more > .sub-menu { left: auto; right: 0; columns: 2; column-gap: 0; min-width: 380px; }
	.tk-menu > li.tk-more .sub-menu .sub-menu { display: none !important; }
}

/* 6. Search panel ---------------------------------------------------------- */
.tk-search-panel { background: var(--tk-surface); border-bottom: 1px solid var(--tk-border); padding: 14px 0; box-shadow: var(--tk-shadow); }
@media (max-width: 1023px) {
	.tk-search-panel { position: fixed; top: 0; left: 0; right: 0; z-index: 950; }
}
.tk-searchform { display: flex; width: 100%; max-width: 720px; margin: 0 auto; }
.tk-searchform__input {
	flex: 1; min-width: 0; height: 48px; padding: 0 16px; font: inherit; font-size: 17px;
	color: var(--tk-text); background: var(--tk-bg); border: 2px solid var(--tk-primary); border-right: 0;
	border-radius: var(--tk-radius) 0 0 var(--tk-radius); outline: none;
}
.tk-searchform__btn {
	width: 56px; height: 48px; border: 0; color: #fff; background: var(--tk-primary);
	border-radius: 0 var(--tk-radius) var(--tk-radius) 0; display: inline-flex; align-items: center; justify-content: center;
}

/* 7. Trending bar ---------------------------------------------------------- */
.tk-trending { background: var(--tk-surface); border-bottom: 1px solid var(--tk-border); }
.tk-trending__inner { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.tk-trending__label {
	flex: none; display: inline-flex; align-items: center; gap: 4px;
	font-family: var(--tk-font-head); font-size: 19px; font-weight: 600; color: var(--tk-accent);
}
.tk-trending__track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 7px 0; }
.tk-trending__track::-webkit-scrollbar { display: none; }
.tk-trending__item, .tk-trending__menu a {
	flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px 3px 3px;
	font-size: 14.5px; font-weight: 600; color: var(--tk-heading); white-space: nowrap;
	background: var(--tk-bg-soft); border-radius: 999px;
}
.tk-trending__menu { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tk-trending__menu a { padding: 5px 14px; }
.tk-trending__item:hover, .tk-trending__menu a:hover { color: var(--tk-primary); }
.tk-trending__item { font-size: 16px; padding: 3px 14px 3px 3px; }
.tk-trending__thumb { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tk-trending__hash { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--tk-primary); font-weight: 700; }

/* 8. Ads ------------------------------------------------------------------- */
.tk-ad-area { margin: 16px auto; text-align: center; }
.tk-ad-area--wide { margin: 16px auto; }
.tk-ad-slot + .tk-ad-slot { margin-top: 12px; }
.tk-ad { display: block; line-height: 0; }
.tk-ad__label {
	display: block; margin-bottom: 4px; font-size: 11px; line-height: 1.4;
	color: var(--tk-muted); letter-spacing: .02em;
}
.tk-ad img, .tk-ad-slot img { display: inline-block; max-width: 100%; height: auto; vertical-align: top; border-radius: 4px; }
.tk-ad a { display: inline-block; max-width: 100%; }
.tk-ad ins, .tk-ad iframe { max-width: 100%; }
.tk-ad-area--incontent { margin: 1.4em auto; }
.tk-box.tk-ad-widget, .tk-box.widget_media_image, .tk-box.widget_custom_html { padding: 0; background: none; border: 0; box-shadow: none; text-align: center; }
.tk-box.widget_media_image img { border-radius: 4px; }

/* Ads & other widgets placed directly in "Homepage: Sections" */
.tk-home-item:not(.tk-news-section-widget) {
	max-width: var(--tk-container); margin: 18px auto; padding: 0 var(--tk-gutter); text-align: center;
}
.tk-home-item:not(.tk-news-section-widget) img { display: inline-block; max-width: 100%; height: auto; border-radius: 4px; }

/* 9. Sections -------------------------------------------------------------- */
.tk-section { padding: 26px 0; }
.tk-bg--soft { background: var(--tk-bg-soft); }
.tk-bg--dark { background: var(--tk-dark); --tk-heading: #f4f6fa; --tk-text: #d3d9e3; --tk-muted: #98a3b5; --tk-border: rgba(255, 255, 255, .12); --tk-bg-soft: rgba(255, 255, 255, .06); color: var(--tk-text); }
.tk-bg--primary { background: var(--tk-primary); --tk-heading: #fff; --tk-text: #eef3ff; --tk-muted: rgba(255, 255, 255, .75); --tk-border: rgba(255, 255, 255, .2); --tk-bg-soft: rgba(255, 255, 255, .1); color: var(--tk-text); }
.tk-bg--green { background: #5f7436; --tk-heading: #fff; --tk-text: #f1f5e8; --tk-muted: rgba(255, 255, 255, .78); --tk-border: rgba(255, 255, 255, .22); --tk-bg-soft: rgba(255, 255, 255, .12); --tk-accent: #ffd34d; color: var(--tk-text); }
.tk-bg--green .tk-card__title a:hover { color: #ffe9a3; }
.tk-bg--dark .tk-sec-title a, .tk-bg--primary .tk-sec-title a, .tk-bg--green .tk-sec-title a, .tk-bg--dark .tk-sec-title, .tk-bg--primary .tk-sec-title, .tk-bg--green .tk-sec-title { color: #fff; }
.tk-bg--green .tk-sec-more { color: #fff; }
.tk-bg--dark + .tk-bg--dark { padding-top: 0; }

.tk-sec-head {
	position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 10px; min-width: 0;
}
.tk-sec-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: var(--tk-accent); }
.tk-sec-title { flex: none; font-family: var(--tk-font-head); font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--tk-primary); }
.tk-sec-title a { color: var(--tk-primary); }
.tk-sec-title a:hover { color: var(--tk-accent); }
.tk-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.tk-chips::-webkit-scrollbar { display: none; }
.tk-chip {
	flex: none; display: inline-block; padding: 3px 14px; font-size: 16px; font-weight: 500; line-height: 1.6;
	color: var(--tk-text); background: var(--tk-bg-soft); border: 1px solid var(--tk-border); border-radius: 999px; white-space: nowrap;
}
.tk-chip:hover, .tk-chip.is-active { color: #fff; background: var(--tk-primary); border-color: var(--tk-primary); }
.tk-sec-more {
	flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 2px;
	padding: 4px 8px 4px 14px; font-size: 16px; font-weight: 600; color: var(--tk-primary);
	background: var(--tk-bg-soft); border-radius: 999px;
}
.tk-bg--dark .tk-sec-more, .tk-bg--primary .tk-sec-more { color: #fff; }
@media (max-width: 639px) { .tk-sec-head .tk-chips { display: none; } }

.tk-section__grid { display: grid; gap: 28px; }
.tk-section__main { min-width: 0; }
.tk-section__side { min-width: 0; }
@media (min-width: 1024px) {
	.tk-section--has-side .tk-section__grid { grid-template-columns: minmax(0, 1fr) var(--tk-side-w); }
	.tk-sec-title { font-size: 36px; }
	.tk-section { padding: 34px 0; }
}
.tk-sticky { position: static; }
@media (min-width: 1024px) {
	.tk-sticky { position: sticky; top: 64px; }
	.admin-bar .tk-sticky { top: 96px; }
}

/* 10. Grids ---------------------------------------------------------------- */
.tk-grid { display: grid; gap: var(--tk-gap); }
.tk-grid + .tk-grid, .tk-card--split + .tk-grid { margin-top: var(--tk-gap); }
@media (min-width: 640px) {
	.tk-grid--2, .tk-grid--3, .tk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.tk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tk-grid--lines { row-gap: 0; column-gap: 28px; }
.tk-grid--lines > * { padding: 16px 0; border-bottom: 1px solid var(--tk-border); }
.tk-grid--lines > *:last-child { border-bottom: 0; }
@media (min-width: 640px) {
	.tk-grid--2.tk-grid--lines > *:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
	.tk-grid--3.tk-grid--lines > *:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (min-width: 1024px) {
	.tk-grid--3.tk-grid--lines > *:nth-last-child(-n+3):nth-child(3n+1),
	.tk-grid--3.tk-grid--lines > *:nth-last-child(-n+3):nth-child(3n+1) ~ * { border-bottom: 0; }
}
.tk-stack > * + * { margin-top: 0; }
.tk-stack > * { padding: 12px 0; border-bottom: 1px solid var(--tk-border); }
.tk-stack > *:first-child { padding-top: 4px; }
.tk-stack > *:last-child { border-bottom: 0; }

/* 11. Cards ---------------------------------------------------------------- */
.tk-card { position: relative; min-width: 0; }
.tk-card__media {
	display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10;
	border-radius: var(--tk-radius-sm); background: var(--tk-bg-soft);
}
.tk-card__media img, .tk-img {
	display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease;
}
.tk-card:hover .tk-card__media img { transform: scale(1.035); }
.tk-img--placeholder {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, rgba(27, 78, 160, .12), rgba(215, 25, 42, .10));
	color: var(--tk-primary); font-family: var(--tk-font-head); font-size: 18px; font-weight: 600; opacity: .9;
}
.tk-card__title { font-family: var(--tk-font-body); font-size: var(--tk-title); font-weight: 600; line-height: 1.42; }
.tk-card__title a { color: var(--tk-heading); }
.tk-card__title a:hover { color: var(--tk-primary); }
.tk-bg--dark .tk-card__title a:hover, .tk-bg--primary .tk-card__title a:hover { color: #cfe0ff; }
.tk-card__excerpt { margin: 8px 0 0; color: var(--tk-muted); font-size: 18px; line-height: 1.7; }
.tk-meta { margin-top: 6px; font-size: 15px; color: var(--tk-muted); }
.tk-time { display: inline-flex; align-items: center; gap: 4px; }
.tk-cat { display: inline-block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--tk-accent); }
.tk-cat--solid { padding: 2px 12px; color: #fff; background: var(--tk-accent); border-radius: 4px; }
.tk-cat--solid:hover { color: #fff; opacity: .9; }

/* Grid card */
.tk-card--grid { display: flex; flex-direction: column; gap: 10px; }
.tk-card--grid .tk-card__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tk-card--grid .tk-meta { margin-top: 4px; }
@media (max-width: 639px) {
	/* Compact, scannable rows on phones */
	.tk-grid .tk-card--grid { display: grid; grid-template-columns: 36% 1fr; gap: 12px; align-items: start; }
	.tk-grid .tk-card--grid .tk-card__media { aspect-ratio: 4 / 3; }
	.tk-grid .tk-card--grid .tk-card__title { -webkit-line-clamp: 4; }
	.tk-grid .tk-card--grid .tk-card__excerpt { display: none; }
	.tk-grid:not(.tk-grid--lines) { gap: 14px; }
	.tk-grid:not(.tk-grid--lines) > .tk-card--grid { padding-bottom: 14px; border-bottom: 1px solid var(--tk-border); }
	.tk-grid:not(.tk-grid--lines) > .tk-card--grid:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* List card */
.tk-card--list { display: grid; grid-template-columns: 36% 1fr; gap: 14px; align-items: start; }
.tk-card--list .tk-card__media { aspect-ratio: 4 / 3; }
.tk-card--list .tk-card__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tk-card--list .tk-meta { margin-top: 4px; }
@media (min-width: 640px) { .tk-card--list { grid-template-columns: 150px 1fr; } }

/* Split (lead) card */
.tk-card--split { display: grid; background: var(--tk-bg-soft); border-radius: var(--tk-radius); overflow: hidden; }
.tk-card--split .tk-card__media { border-radius: 0; aspect-ratio: 16 / 9; }
.tk-card--split .tk-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.tk-card--split .tk-card__title { font-family: var(--tk-font-head); font-size: 30px; font-weight: 600; line-height: 1.28; }
.tk-card--split .tk-card__excerpt { font-size: 18px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) {
	.tk-card--split { grid-template-columns: 1.08fr 1fr; }
	.tk-card--split .tk-card__media { aspect-ratio: auto; min-height: 320px; height: auto; }
	.tk-card--split .tk-card__media img, .tk-card--split .tk-card__media .tk-img--placeholder { position: absolute; inset: 0; }
	.tk-card--split .tk-card__body { padding: 28px 32px; }
	.tk-card--split .tk-card__title { font-size: 36px; }
}

/* Overlay card */
.tk-card--overlay .tk-card__link { display: block; position: relative; color: #fff; border-radius: var(--tk-radius); overflow: hidden; height: 100%; }
.tk-card--overlay .tk-card__media { aspect-ratio: 4 / 5; border-radius: 0; height: 100%; }
.tk-card--overlay .tk-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .9) 100%);
}
.tk-card--overlay .tk-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.tk-card--overlay .tk-card__title {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	color: #fff; font-size: var(--tk-title); font-weight: 600; line-height: 1.42; text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.tk-card--overlay:hover .tk-card__media img { transform: scale(1.04); }

/* Numbered card (trending) */
.tk-card--numbered { display: grid; grid-template-columns: 42px minmax(0, 1fr) 84px; column-gap: 14px; align-items: start; }
.tk-card__num {
	display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-top: 2px;
	font-family: "Mukta", var(--tk-font-body); font-size: 24px; font-weight: 700; line-height: 1;
	color: var(--tk-primary); background: var(--tk-bg-soft); border-radius: 50%;
}
.tk-card--numbered .tk-card__title { line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tk-card--numbered .tk-card__media { aspect-ratio: 4 / 3; border-radius: 5px; margin-top: 4px; }

/* Text card */


/* Opinion card */
.tk-card--opinion { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.tk-card--opinion .tk-card__media { aspect-ratio: 1; border-radius: 50%; }
.tk-card--opinion { grid-template-columns: 76px 1fr; }
.tk-card__author { display: block; margin-top: 4px; font-size: 16px; color: var(--tk-accent); font-weight: 500; }

/* 12. Headline (big top story) -------------------------------------------- */
.tk-section--headline { padding: 22px 0 6px; }
.tk-headline { text-align: center; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--tk-border); }
.tk-headline:last-child { margin-bottom: 0; }
.tk-headline__title { font-family: var(--tk-font-head); font-size: clamp(32px, 6.6vw, 58px); font-weight: 600; line-height: 1.2; margin: 0 auto; }
.tk-headline__title a { color: var(--tk-heading); }
.tk-headline__title a:hover { color: var(--tk-primary); }
.tk-headline__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; margin: 12px 0 18px; font-size: 16px; color: var(--tk-muted); }
.tk-headline--text .tk-headline__meta { margin-bottom: 0; }
.tk-headline--text .tk-headline__title { font-size: clamp(28px, 5.6vw, 48px); }
.tk-author { display: inline-flex; align-items: center; gap: 8px; color: var(--tk-text); font-weight: 500; }
.tk-avatar { border-radius: 50%; width: 30px; height: 30px; object-fit: cover; }
.tk-headline__media { display: block; margin: 0 auto; border-radius: var(--tk-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tk-bg-soft); }
.tk-headline__excerpt { margin: 18px auto 0; font-size: 22px; line-height: 1.75; color: #4a5468; }
[data-theme="dark"] .tk-headline__excerpt { color: var(--tk-muted); }
@media (max-width: 639px) {
	.tk-headline__media { margin-left: calc(var(--tk-gutter) * -1); margin-right: calc(var(--tk-gutter) * -1); border-radius: 0; }
	.tk-headline__excerpt { font-size: 20px; text-align: left; }
}

/* 13. Scroller, mosaic, spotlight ------------------------------------------ */
.tk-scroller { position: relative; }
.tk-scroller__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.tk-scroller__track::-webkit-scrollbar { display: none; }
.tk-scroller__track > * { scroll-snap-align: start; }
.tk-scroller__btn {
	display: none; position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px;
	align-items: center; justify-content: center; border: 0; border-radius: 50%;
	color: var(--tk-primary); background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.tk-scroller__btn--prev { left: -10px; }
.tk-scroller__btn--next { right: -10px; }
.tk-scroller__btn[disabled] { opacity: 0; pointer-events: none; }
@media (min-width: 640px) { .tk-scroller__track { grid-auto-columns: calc((100% - 28px) / 3); } }
@media (min-width: 1024px) {
	.tk-scroller__track { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; }
	.tk-scroller__btn { display: inline-flex; }
	.tk-section--has-side .tk-scroller__track { grid-auto-columns: calc((100% - 32px) / 3); }
}

.tk-mosaic { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.tk-mosaic__item--1 { grid-column: span 2; }
.tk-mosaic .tk-card--overlay .tk-card__media { aspect-ratio: 4 / 5; }
.tk-mosaic__item--1 .tk-card--overlay .tk-card__media { aspect-ratio: 16 / 11; }
.tk-mosaic__item--1 .tk-card__title { font-size: 21px; }
@media (min-width: 768px) {
	.tk-mosaic { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 16px; }
	.tk-mosaic__item--1 { grid-column: auto; grid-row: span 2; }
	.tk-mosaic__item--2 { grid-row: span 2; }
	.tk-mosaic__item, .tk-mosaic__item .tk-card { height: 100%; }
	.tk-mosaic .tk-card--overlay .tk-card__media,
	.tk-mosaic__item--1 .tk-card--overlay .tk-card__media { aspect-ratio: auto; height: 100%; }
	.tk-mosaic__item--1 .tk-card__title, .tk-mosaic__item--2 .tk-card__title { font-family: var(--tk-font-head); font-size: 27px; line-height: 1.3; }
}

.tk-magazine { display: grid; gap: 24px; }
.tk-card--lead .tk-card__media { aspect-ratio: 16 / 9; border-radius: var(--tk-radius); }
.tk-card--lead .tk-card__body { padding-top: 14px; }
.tk-card--lead .tk-card__title { font-family: var(--tk-font-head); font-size: clamp(28px, 5vw, 40px); line-height: 1.25; }
.tk-card--lead .tk-card__excerpt { font-size: 19px; }
.tk-card--side { display: grid; grid-template-columns: minmax(0, 1fr) 36%; gap: 14px; align-items: start; }
.tk-card--side .tk-card__media { aspect-ratio: 4 / 3; }
.tk-card--side .tk-card__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tk-magazine__more { margin-top: 30px; }
@media (min-width: 1024px) {
	.tk-magazine { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 32px; align-items: start; }
	.tk-magazine__list { padding-left: 32px; border-left: 1px solid var(--tk-border); }
	.tk-card--side { grid-template-columns: minmax(0, 1fr) 140px; }
}

/* Showcase (e.g. खेलकुद): big lead | two cards | one card + two small rows */
.tk-showcase { display: grid; gap: 22px; }
.tk-showcase__lead .tk-card--lead .tk-card__excerpt { display: none; }
.tk-showcase__lead .tk-card--lead .tk-card__body { padding-top: 12px; }
.tk-showcase__col { display: grid; gap: 22px; align-content: start; }
.tk-showcase__small { display: grid; }
.tk-showcase__small > * { padding: 14px 0; border-top: 1px solid var(--tk-border); }
.tk-showcase__small > *:first-child { border-top: 0; padding-top: 0; }
.tk-showcase__small .tk-card--list { grid-template-columns: 112px 1fr; gap: 12px; }
.tk-showcase__small .tk-card--list .tk-meta { display: none; }
.tk-showcase__more { margin-top: 28px; }
@media (max-width: 639px) {
	/* Phones: lead full width, the rest as compact rows */
	.tk-showcase { gap: 0; }
	.tk-showcase__lead { padding-bottom: 16px; }
	.tk-showcase__col { gap: 0; }
	.tk-showcase__col > .tk-card--grid,
	.tk-showcase__small > * { display: grid; grid-template-columns: 36% 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--tk-border); }
	.tk-showcase__small > *:first-child { padding-top: 14px; border-top: 1px solid var(--tk-border); }
	.tk-showcase__col > .tk-card--grid .tk-card__media { aspect-ratio: 4 / 3; }
	.tk-showcase__small { gap: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
	.tk-showcase { grid-template-columns: 1fr 1fr; }
	.tk-showcase__lead { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.tk-showcase { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
	.tk-showcase__lead, .tk-showcase__lead .tk-card--lead { display: flex; flex-direction: column; height: 100%; }
	.tk-showcase__lead .tk-card--lead .tk-card__media { flex: 1; aspect-ratio: auto; min-height: 340px; }
	.tk-showcase__lead .tk-card--lead .tk-card__media img { position: absolute; inset: 0; }
	.tk-showcase__lead .tk-card--lead .tk-card__title { font-size: 34px; }
	.tk-showcase__col .tk-card--grid .tk-card__media { aspect-ratio: 16 / 10; }
}

.tk-spotlight { display: grid; gap: 20px; }
.tk-spotlight .tk-card--split { background: var(--tk-primary); --tk-heading: #fff; --tk-muted: rgba(255, 255, 255, .85); }
.tk-spotlight .tk-card--split .tk-card__title a:hover { color: #cfe0ff; }
.tk-spotlight .tk-card--split .tk-meta { color: rgba(255, 255, 255, .78); }
/* Lead story: full image on top, text below; it stretches to the list height so no gap is left. */
.tk-spotlight__lead { display: flex; }
.tk-spotlight .tk-card--split { display: flex; flex-direction: column; width: 100%; }
.tk-spotlight .tk-card--split .tk-card__media { aspect-ratio: 16 / 9; min-height: 0; height: auto; flex: none; }
.tk-spotlight .tk-card--split .tk-card__media img { position: static; }
.tk-spotlight .tk-card--split .tk-card__body { flex: 1; justify-content: flex-start; padding: 20px 24px 24px; }
.tk-spotlight .tk-card--split .tk-card__excerpt { -webkit-line-clamp: 4; }
@media (min-width: 1024px) {
	.tk-spotlight { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; gap: 28px; }
	.tk-section--has-side .tk-spotlight { grid-template-columns: 1fr; }
}

/* Load more */
.tk-loadmore-wrap { margin-top: 26px; text-align: center; }
.tk-more-grid { margin-top: var(--tk-gap); }
.tk-loadmore {
	display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 28px;
	font-size: 19px; font-weight: 700; color: var(--tk-primary); background: var(--tk-surface);
	border: 2px solid var(--tk-primary); border-radius: 999px; transition: .15s;
}
.tk-loadmore:hover { color: #fff; background: var(--tk-primary); }
.tk-loadmore.is-loading { opacity: .6; cursor: progress; }
.tk-loadmore.is-loading .tk-icon { animation: tk-spin .8s linear infinite; }
@keyframes tk-spin { to { transform: rotate(360deg); } }

/* 14. Sidebar boxes -------------------------------------------------------- */
.tk-box { margin-bottom: 26px; }
.tk-box:last-child { margin-bottom: 0; }
.tk-box__title {
	position: relative; margin: 0 0 12px; padding-bottom: 10px; font-family: var(--tk-font-head); font-size: 30px; font-weight: 600;
	color: var(--tk-primary);
}
.tk-box__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--tk-accent); }
.tk-box__title a { color: var(--tk-primary); }
.tk-box ul { margin: 0; padding: 0; list-style: none; }
.tk-box li { padding: 10px 0; border-bottom: 1px solid var(--tk-border); }
.tk-box li:last-child { border-bottom: 0; }
.tk-box li a { color: var(--tk-heading); font-size: var(--tk-title); font-weight: 600; line-height: 1.42; }
.tk-box li a:hover { color: var(--tk-primary); }
.tk-box .post-date { display: block; margin-top: 2px; font-size: 15px; color: var(--tk-muted); }
.tk-box select { width: 100%; padding: 8px; }

/* 15. Layout (content + sidebar) ------------------------------------------ */
.tk-layout { display: grid; gap: 32px; margin-top: 8px; }
.tk-layout__main, .tk-layout__side { min-width: 0; }
@media (min-width: 1024px) {
	.tk-layout { grid-template-columns: minmax(0, 1fr) var(--tk-side-w); gap: 40px; }
}

/* 16. Single article ------------------------------------------------------- */
.tk-single { padding-bottom: 8px; }
.tk-layout--single { margin-top: 0; }
.tk-single__head { margin: 24px 0 24px; }
.tk-single__crumbs { display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--tk-muted); }
.tk-single__crumbs a { display: inline-flex; align-items: center; color: var(--tk-muted); }
.tk-single__crumbs .tk-single__cat { font-weight: 700; color: var(--tk-accent); }
.tk-single__title { font-family: var(--tk-font-head); font-size: clamp(32px, 6vw, 54px); font-weight: 600; line-height: 1.22; }
.tk-single__lead { margin: 12px 0 0; font-size: 21px; line-height: 1.7; color: #4a5468; }
[data-theme="dark"] .tk-single__lead { color: var(--tk-muted); }

.tk-single__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
	margin-top: 18px; padding: 12px 16px; background: var(--tk-bg-soft); border-radius: 10px;
}
.tk-byline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tk-byline .tk-avatar { width: 48px; height: 48px; }
.tk-byline__text { display: flex; flex-direction: column; min-width: 0; }
.tk-byline__name { font-size: 19px; font-weight: 700; color: var(--tk-heading); line-height: 1.3; }
.tk-byline__date { font-size: 16px; color: var(--tk-muted); }
.tk-byline__ago { color: var(--tk-accent); font-weight: 500; }
.tk-single__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tk-views { display: flex; flex-direction: column; align-items: center; line-height: 1.1; padding-right: 16px; border-right: 1px solid var(--tk-border); }
.tk-views strong { font-family: var(--tk-font-head); font-size: 28px; font-weight: 600; color: var(--tk-primary); }
.tk-views span { font-size: 13px; color: var(--tk-muted); }
.tk-single__subbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 16px; color: var(--tk-muted); }
.tk-single__metaitem { display: inline-flex; align-items: center; gap: 6px; }

/* "समाचार सुन्नुहोस्" listen player */
.tk-listen {
	display: flex; align-items: center; gap: 12px; flex: 1 1 360px; max-width: 520px;
	padding: 8px 14px 8px 8px; background: var(--tk-bg-soft); border: 1px solid var(--tk-border); border-radius: 999px;
}
.tk-listen[hidden] { display: none !important; }
.tk-listen__play {
	flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 0; border-radius: 50%; color: #fff; background: var(--tk-primary); box-shadow: 0 2px 8px rgba(27, 78, 160, .3);
}
.tk-listen__play:hover { background: var(--tk-accent); }
.tk-listen__play .tk-icon-pause, .tk-listen.is-playing .tk-listen__play .tk-icon-play { display: none; }
.tk-listen.is-playing .tk-listen__play .tk-icon-pause { display: block; }
.tk-listen__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tk-listen__label { font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--tk-heading); }
.tk-listen__bar { position: relative; height: 6px; border-radius: 6px; background: var(--tk-border); cursor: pointer; }
.tk-listen__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: var(--tk-primary); transition: width .3s; }
.tk-listen__rate {
	flex: none; min-width: 50px; height: 34px; padding: 0 10px; border: 1px solid var(--tk-border); border-radius: 999px;
	background: var(--tk-surface); color: var(--tk-heading); font-size: 15px; font-weight: 700;
}
.tk-listen__icon { flex: none; display: inline-flex; color: var(--tk-heading); }
.tk-content .tk-reading { background: rgba(255, 214, 0, .22); box-shadow: 0 0 0 6px rgba(255, 214, 0, .22); border-radius: 4px; }
@media (max-width: 639px) {
	.tk-listen { flex-basis: 100%; max-width: none; }
	.tk-listen__icon { display: none; }
}

.tk-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tk-share__label { width: 100%; font-size: 19px; font-weight: 700; color: var(--tk-heading); }
.tk-share__btn {
	display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px;
	font-size: 16px; font-weight: 600; color: #fff; border: 0; border-radius: 6px; transition: opacity .15s, transform .15s;
}
.tk-share__btn:hover { color: #fff; opacity: .9; transform: translateY(-1px); }
.tk-share__btn--facebook { background: #1877f2; }
.tk-share__btn--whatsapp { background: #25d366; }
.tk-share__btn--viber { background: #7360f2; }
.tk-share__btn--x { background: #111; }
.tk-share__btn--copy, .tk-share__btn--native { background: #5b6575; }
.tk-share--top .tk-share__btn { width: 42px; padding: 0; justify-content: center; border-radius: 50%; }
.tk-share--top .tk-share__btn span { display: none; }
.tk-share--bottom { margin: 24px 0; padding: 16px; background: var(--tk-bg-soft); border-radius: var(--tk-radius); }
@media (min-width: 768px) { .tk-share__btn--viber { display: none; } }

.tk-fontsize { display: inline-flex; align-items: center; gap: 6px; }
.tk-fontsize__label { font-size: 15px; color: var(--tk-muted); }
.tk-fontsize button {
	display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 12px; border: 1px solid var(--tk-border);
	border-radius: 999px; background: var(--tk-surface); color: var(--tk-heading); font-weight: 700; font-size: 17px;
}
.tk-fontsize button + button { font-size: 21px; }
.tk-fontsize button:hover { border-color: var(--tk-primary); color: var(--tk-primary); }

.tk-single__media { margin: 0 0 24px; }
.tk-single__media img { width: 100%; height: auto; max-height: 680px; border-radius: 10px; object-fit: cover; }
.tk-single__media figcaption { margin-top: 8px; font-size: 16px; color: var(--tk-muted); text-align: center; }
@media (max-width: 639px) {
	.tk-single__bar { padding: 12px; }
	.tk-single__actions { width: 100%; justify-content: space-between; }
	.tk-views { padding-right: 12px; }
	.tk-single__media { margin-left: calc(var(--tk-gutter) * -1); margin-right: calc(var(--tk-gutter) * -1); }
	.tk-single__media img { border-radius: 0; }
}

/* Article body typography */
.tk-content { font-size: var(--tk-article-size); line-height: 1.9; color: var(--tk-text); overflow-wrap: break-word; }
.tk-content > * { margin-top: 0; margin-bottom: 1.05em; }
.tk-content p { margin: 0 0 1.05em; }
.tk-content h2, .tk-content h3, .tk-content h4 { font-family: var(--tk-font-head); margin: 1.4em 0 .5em; line-height: 1.3; }
.tk-content h2 { font-size: 1.6em; }
.tk-content h3 { font-size: 1.35em; }
.tk-content h4 { font-size: 1.15em; }
.tk-content a { color: var(--tk-primary); text-decoration: underline; text-underline-offset: 3px; }
.tk-content img { max-width: 100%; height: auto; border-radius: 6px; }
.tk-content figure, .tk-content .wp-caption { max-width: 100% !important; margin: 1.4em 0; }
.tk-content figcaption, .tk-content .wp-caption-text { font-size: 16px; line-height: 1.5; color: var(--tk-muted); text-align: center; margin-top: 6px; }
.tk-content blockquote {
	margin: 1.4em 0; padding: 14px 20px; font-size: 1.05em; color: var(--tk-heading);
	background: var(--tk-bg-soft); border-left: 4px solid var(--tk-primary); border-radius: 0 6px 6px 0;
}
.tk-content blockquote p:last-child { margin-bottom: 0; }
.tk-content ul, .tk-content ol { padding-left: 1.4em; }
.tk-content li { margin-bottom: .35em; }
.tk-content table { width: 100% !important; border-collapse: collapse; font-size: .9em; display: block; overflow-x: auto; }
.tk-content td, .tk-content th { padding: 8px 10px; border: 1px solid var(--tk-border); }
.tk-content iframe, .tk-content embed, .tk-content video { max-width: 100%; }
.tk-content iframe[src*="youtube"], .tk-content iframe[src*="youtu.be"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.tk-content .alignleft { float: left; margin: .3em 1.2em .8em 0; }
.tk-content .alignright { float: right; margin: .3em 0 .8em 1.2em; }
.tk-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.tk-content::after { content: ""; display: table; clear: both; }
/* Normalise pasted inline fonts/sizes from older posts for a consistent look */
.tk-content p[style*="font-family"], .tk-content span[style*="font-family"], .tk-content div[style*="font-family"], .tk-content li[style*="font-family"] { font-family: inherit !important; }
.tk-content p[style*="font-size"], .tk-content span[style*="font-size"], .tk-content div[style*="font-size"], .tk-content li[style*="font-size"] { font-size: inherit !important; }
.tk-content [style*="line-height"] { line-height: inherit !important; }
@media (max-width: 639px) {
	.tk-content { font-size: calc(var(--tk-article-size) - 1px); }
	.tk-content [style*="justify"] { text-align: left !important; }
	.tk-content .alignleft, .tk-content .alignright { float: none; margin: 1em auto; display: block; }
}

.tk-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0; }
.tk-tags__label { font-weight: 700; color: var(--tk-heading); }

.tk-authorbox { display: flex; gap: 14px; align-items: center; margin: 22px 0; padding: 16px; border: 1px solid var(--tk-border); border-radius: var(--tk-radius); }
.tk-authorbox .tk-avatar { width: 64px; height: 64px; }
.tk-authorbox__kicker { display: block; font-size: 14px; color: var(--tk-muted); }
.tk-authorbox__name { font-family: var(--tk-font-head); font-size: 26px; font-weight: 600; color: var(--tk-heading); }
.tk-authorbox p { margin: 4px 0 0; font-size: 17px; color: var(--tk-muted); }

.tk-postnav { display: grid; gap: 12px; margin: 22px 0; }
.tk-postnav__item { display: block; padding: 14px 16px; border: 1px solid var(--tk-border); border-radius: var(--tk-radius); color: var(--tk-heading); font-size: 20px; font-weight: 600; line-height: 1.45; }
.tk-postnav__item span { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; font-size: 15px; font-weight: 500; color: var(--tk-muted); }
.tk-postnav__item--next span { justify-content: flex-end; }
.tk-postnav__item:hover { border-color: var(--tk-primary); color: var(--tk-primary); }
.tk-postnav__item--next { text-align: right; }
@media (min-width: 640px) { .tk-postnav { grid-template-columns: 1fr 1fr; } .tk-postnav__item--next:only-child { grid-column: 2; } }

.tk-section--related { margin-top: 24px; }

/* Comments */
.tk-comments { margin: 26px 0; }
.tk-comments__list { margin: 0 0 20px; padding: 0; list-style: none; }
.tk-comments__list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--tk-border); }
.tk-comments__list .children { list-style: none; padding-left: 24px; }
.tk-comment-form input[type="text"], .tk-comment-form input[type="email"], .tk-comment-form input[type="url"], .tk-comment-form textarea {
	width: 100%; padding: 10px 12px; font: inherit; color: var(--tk-text); background: var(--tk-bg); border: 1px solid var(--tk-border); border-radius: 6px;
}
.tk-comment-form .submit, .tk-btn {
	display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 0; border-radius: 6px;
	color: #fff; background: var(--tk-primary); font-weight: 600; font-size: 16px;
}
.comment-reply-title { font-family: var(--tk-font-head); font-size: 24px; }

/* 17. Archive, page, 404 --------------------------------------------------- */
.tk-archive { padding-bottom: 32px; }
.tk-archive__head { position: relative; margin: 20px 0 24px; padding-bottom: 14px; }
.tk-archive__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 3px; background: var(--tk-accent); }
.tk-archive__title { font-family: var(--tk-font-head); font-size: clamp(30px, 6vw, 42px); font-weight: 600; color: var(--tk-primary); line-height: 1.2; }
.tk-archive__desc { margin-top: 6px; color: var(--tk-muted); }
.tk-archive__desc p { margin: 0; }
.tk-archive__search { margin-top: 14px; }
.tk-archive__search .tk-searchform { margin: 0; }
.tk-chips--archive { margin-top: 12px; flex-wrap: wrap; }
.tk-grid--archive { margin-top: 24px; }
.tk-empty { padding: 40px 0; text-align: center; color: var(--tk-muted); font-size: 20px; }

.tk-breadcrumbs { margin-bottom: 6px; font-size: 14px; color: var(--tk-muted); }
.tk-breadcrumbs a { color: var(--tk-muted); }
.tk-breadcrumbs a:hover { color: var(--tk-primary); }
.tk-breadcrumbs .sep { margin: 0 6px; opacity: .6; }

.tk-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0 10px; }
.tk-pagination .page-numbers, .tk-pagination a, .tk-pagination > span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px;
	font-weight: 600; color: var(--tk-heading); background: var(--tk-surface); border: 1px solid var(--tk-border); border-radius: 6px;
}
.tk-pagination .page-numbers.current { color: #fff; background: var(--tk-primary); border-color: var(--tk-primary); }
.tk-pagination a:hover { border-color: var(--tk-primary); color: var(--tk-primary); }
.tk-pagination .dots { border: 0; background: none; }

.tk-page { max-width: 860px; margin: 0 auto; padding: 24px 0 40px; }
.tk-page__head { margin-bottom: 20px; }
.tk-page__title { font-family: var(--tk-font-head); font-size: clamp(30px, 6vw, 44px); color: var(--tk-primary); }

.tk-404 { padding: 40px var(--tk-gutter) 30px; text-align: center; }
.tk-404 .tk-sec-head, .tk-404 .tk-grid { text-align: left; }
.tk-404__code { margin: 0; font-family: var(--tk-font-head); font-size: 110px; line-height: 1; font-weight: 700; color: var(--tk-primary); opacity: .25; }
.tk-404__title { font-family: var(--tk-font-head); font-size: 34px; margin-bottom: 10px; }
.tk-404__search { margin: 22px auto 40px; max-width: 600px; }

/* 18. Footer --------------------------------------------------------------- */
.tk-footer {
	margin-top: 28px; padding-top: 40px; background: var(--tk-footer); color: #c5cfdf; font-size: 17px;
	--tk-heading: #fff; --tk-border: rgba(255, 255, 255, .1); --tk-muted: #9fb0c8;
}
.tk-footer a { color: #e3e9f3; }
.tk-footer a:hover { color: #fff; text-decoration: underline; }
.tk-footer__grid { display: grid; gap: 30px; padding-bottom: 30px; }
@media (min-width: 768px) { .tk-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tk-footer__grid { grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); gap: 40px; } }
.tk-footer__logo { display: inline-block; margin-bottom: 14px; padding: 8px 12px; background: #fff; border-radius: 8px; }
.tk-footer__logo img { display: block; max-height: 64px; width: auto; }
.tk-footer__sitename { font-family: var(--tk-font-head); font-size: 32px; font-weight: 700; }
.tk-footer__text { line-height: 1.75; }
.tk-footer__text p { margin: 0 0 .6em; }
.tk-footer__contact { margin: 12px 0 16px; padding: 0; list-style: none; }
.tk-footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.tk-footer__contact .tk-icon { margin-top: 4px; color: #8fb1ff; }
.tk-footer__title { margin: 0 0 14px; padding-bottom: 8px; font-family: var(--tk-font-head); font-size: 26px; font-weight: 600; color: #fff; border-bottom: 2px solid var(--tk-accent); display: inline-block; }
.tk-footer-widget { margin-bottom: 24px; line-height: 1.75; }
.tk-footer-widget ul { margin: 0; padding: 0; list-style: none; }
.tk-footer-widget li { padding: 4px 0; }
.tk-footer-widget p { margin: 0 0 .5em; }
.tk-footer-widget img { border-radius: 4px; }
.tk-social--footer a { color: #fff; background: rgba(255, 255, 255, .1); width: 36px; height: 36px; }
.tk-social--footer a:hover { background: var(--tk-accent); text-decoration: none; }
.tk-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .18); font-size: 14px; }
.tk-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 14px; padding-bottom: 14px; }
.tk-footer__menu { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }

/* 19. Drawer --------------------------------------------------------------- */
.tk-drawer { position: fixed; inset: 0; z-index: 1000; }
.tk-drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 20, .55); opacity: 0; transition: opacity .25s; }
.tk-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); overflow-y: auto; overscroll-behavior: contain;
	background: var(--tk-surface); box-shadow: 8px 0 30px rgba(0, 0, 0, .25);
	transform: translateX(-100%); transition: transform .28s ease; padding-bottom: 30px;
}
.tk-drawer.is-open .tk-drawer__backdrop { opacity: 1; }
.tk-drawer.is-open .tk-drawer__panel { transform: none; }
.tk-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--tk-border); }
.tk-drawer__logo { margin: 0; }
.tk-drawer__logo img { max-height: 40px; width: auto; display: block; }
.tk-drawer__search { padding: 14px 16px 4px; }
.tk-drawer__search .tk-searchform__input { height: 44px; font-size: 16px; }
.tk-drawer__search .tk-searchform__btn { height: 44px; width: 50px; }
.tk-drawer__date { margin: 6px 16px 8px; font-size: 14px; color: var(--tk-muted); }
.tk-drawer__menu { margin: 0; padding: 0; list-style: none; }
.tk-drawer__menu li { position: relative; border-bottom: 1px solid var(--tk-border); }
.tk-drawer__menu a { display: block; padding: 11px 52px 9px 18px; font-family: var(--tk-font-head); font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--tk-heading); }
.tk-drawer__menu a:hover, .tk-drawer__menu .current-menu-item > a { color: var(--tk-primary); background: var(--tk-bg-soft); }
.tk-drawer__menu .sub-menu { display: none; margin: 0; padding: 0 0 6px; list-style: none; background: var(--tk-bg-soft); }
.tk-drawer__menu .sub-menu li { border: 0; }
.tk-drawer__menu .sub-menu a { padding: 8px 18px 6px 34px; font-size: 20px; font-weight: 500; }
.tk-drawer__menu li.is-open > .sub-menu { display: block; }
.tk-subtoggle {
	position: absolute; top: 3px; right: 6px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 6px; background: transparent; color: var(--tk-muted); transition: transform .2s;
}
li.is-open > .tk-subtoggle { transform: rotate(180deg); }
.tk-social--drawer { padding: 18px 16px 0; }
body.tk-lock { overflow: hidden; }

/* 20. Mobile bottom nav, sticky ad, utilities ------------------------------- */
.tk-bottomnav { display: none; }
@media (max-width: 1023px) {
	body.tk-has-bottom-nav { --tk-bottomnav-h: 60px; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
	.tk-bottomnav {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: repeat(5, 1fr);
		height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: var(--tk-surface); border-top: 1px solid var(--tk-border); box-shadow: 0 -4px 16px rgba(16, 24, 40, .08);
	}
	.tk-bottomnav a, .tk-bottomnav button {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
		padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 600; color: var(--tk-muted);
	}
	.tk-bottomnav .is-active, .tk-bottomnav a:hover { color: var(--tk-primary); }
}

.tk-sticky-ad {
	position: fixed; left: 0; right: 0; bottom: calc(var(--tk-bottomnav-h) + env(safe-area-inset-bottom)); z-index: 899;
	padding: 6px 4px 4px; text-align: center; background: var(--tk-surface); box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
}
.tk-sticky-ad .tk-ad-slot img { max-height: 100px; width: auto; }
.tk-sticky-ad .tk-ad__label { display: none; }
.tk-sticky-ad__close {
	position: absolute; top: -14px; right: 8px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; color: #fff; background: #333; box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
@media (min-width: 768px) { .tk-sticky-ad { display: none !important; } }

.tk-totop {
	position: fixed; right: 14px; bottom: calc(var(--tk-bottomnav-h) + 16px + env(safe-area-inset-bottom)); z-index: 800;
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; color: #fff; background: var(--tk-primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
body.tk-has-sticky-ad .tk-totop { bottom: calc(var(--tk-bottomnav-h) + 120px); }

.tk-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.tk-progress span { display: block; height: 100%; width: 0; background: var(--tk-accent); transition: width .1s linear; }

.tk-toast {
	position: fixed; left: 50%; bottom: calc(var(--tk-bottomnav-h) + 24px); z-index: 2000; transform: translateX(-50%);
	padding: 10px 18px; color: #fff; background: rgba(17, 24, 39, .92); border-radius: 999px; font-size: 15px;
}

/* 21. Skip ad overlay ------------------------------------------------------ */
.tk-skipad { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(5, 8, 14, .86); }
.tk-skipad__box { display: flex; flex-direction: column; width: 100%; max-width: 960px; max-height: calc(100vh - 24px); background: #fff; border-radius: 10px; overflow: hidden; animation: tk-pop .3s ease-out; }
.tk-skipad__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 3px solid var(--tk-accent); }
.tk-skipad__brand { font-family: var(--tk-font-head); font-size: 22px; font-weight: 700; color: var(--tk-primary); }
.tk-skipad__btn { padding: 8px 16px; border: 0; border-radius: 6px; color: #fff; background: var(--tk-accent); font-weight: 600; font-size: 15px; }
.tk-skipad__btn[disabled] { background: #8a94a6; cursor: default; }
.tk-skipad__body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; overflow: auto; text-align: center; }
.tk-skipad__body .tk-ad-slot { width: 100%; }
.tk-skipad__body img { max-height: calc(100vh - 110px); width: auto; max-width: 100%; object-fit: contain; }
@keyframes tk-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* 22. Third-party plugin touches ------------------------------------------ */
body.tk-hide-sharethis .sharethis-inline-share-buttons,
body.tk-hide-sharethis .st-sticky-share-buttons { display: none !important; }
.tk-content .wpra-reactions-wrap, .tk-content .wpra-plugin-container { margin: 24px 0; }
.tk-content .fb-comments, .tk-content .fb_iframe_widget, .tk-content .fb_iframe_widget span, .tk-content .fb_iframe_widget iframe { width: 100% !important; }

/* 22b. Reactions, share count, comments ----------------------------------- */
.tk-views--shares strong { color: var(--tk-accent); }
.tk-comment-jump {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
	border-radius: 50%; color: var(--tk-primary); background: var(--tk-surface); border: 1px solid var(--tk-border);
}
.tk-comment-jump:hover { color: #fff; background: var(--tk-primary); }

.tk-react { margin: 30px 0 22px; padding: 20px 16px 18px; text-align: center; background: var(--tk-bg-soft); border-radius: 12px; }
.tk-react__title { margin: 0 0 16px; font-family: var(--tk-font-head); font-size: 26px; font-weight: 600; color: var(--tk-heading); }
.tk-react__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 680px; margin: 0 auto; }
@media (min-width: 640px) { .tk-react__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tk-react__btn {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 12px;
	border: 2px solid transparent; border-radius: 12px; background: var(--tk-surface); color: var(--tk-heading);
	box-shadow: 0 1px 3px rgba(16, 24, 40, .08); transition: transform .15s, border-color .15s;
}
.tk-react__btn:hover { transform: translateY(-3px); border-color: var(--tk-border); }
.tk-react__emoji { font-size: 38px; line-height: 1.1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.tk-react__count { font-size: 19px; font-weight: 700; line-height: 1.2; }
.tk-react__label { font-size: 15px; color: var(--tk-muted); line-height: 1.2; }
.tk-react__pct { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--tk-border); overflow: hidden; }
.tk-react__pct span { display: block; height: 100%; background: var(--tk-primary); transition: width .3s; }
.tk-react__btn.is-mine { border-color: var(--tk-primary); background: #eaf1ff; }
[data-theme="dark"] .tk-react__btn.is-mine { background: rgba(27, 78, 160, .25); }
.tk-react__btn.is-mine .tk-react__label { color: var(--tk-primary); font-weight: 700; }
.tk-react__btn.is-pop .tk-react__emoji { animation: tk-pop-emoji .4s ease; }
.tk-react.is-busy { opacity: .85; }
@keyframes tk-pop-emoji { 50% { transform: scale(1.35); } }

.tk-comments--fb { margin: 28px 0; padding: 18px; border: 1px solid var(--tk-border); border-radius: 12px; }
.tk-comments__note { font-size: 16px; color: var(--tk-muted); }
.tk-comments--fb .fb-comments, .tk-comments--fb .fb-comments span, .tk-comments--fb .fb-comments iframe { width: 100% !important; }

/* 23. Reduced motion & print ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.tk-topbar, .tk-nav, .tk-trending, .tk-ad-area, .tk-layout__side, .tk-share, .tk-footer, .tk-bottomnav, .tk-sticky-ad, .tk-totop, .tk-section--related, .tk-single__tools { display: none !important; }
	.tk-layout { display: block; }
	body { font-size: 12pt; }
}
