/**
 * Live Khagaria — Main Stylesheet
 * Clean, elegant hyperlocal Hindi news theme
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
	--lk-primary: #b91c1c;
	--lk-primary-dark: #991b1b;
	--lk-accent: #ea580c;
	--lk-text: #1a1a1a;
	--lk-text-muted: #6b7280;
	--lk-text-light: #9ca3af;
	--lk-bg: #ffffff;
	--lk-bg-alt: #f9fafb;
	--lk-bg-dark: #111827;
	--lk-border: #e5e7eb;
	--lk-border-light: #f3f4f6;
	--lk-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	--lk-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--lk-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
	--lk-radius: 8px;
	--lk-radius-sm: 4px;
	--lk-radius-lg: 12px;
	--lk-font-sans: "Anek Devanagari", Tahoma, Arial, sans-serif;
	--lk-font-serif: "Anek Devanagari", Tahoma, Georgia, serif;
	--lk-container: 1200px;
	--lk-article-width: 720px;
	--lk-transition: 0.2s ease;
	--lk-header-height: 76px;
	--lk-cat-rail-height: 40px;
	--lk-breaking-height: 34px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--lk-font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--lk-text);
	background: var(--lk-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--lk-primary);
	text-decoration: none;
	transition: color var(--lk-transition);
}

a:hover {
	color: var(--lk-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lk-font-sans);
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--lk-bg-dark);
	color: #fff;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.lk-container {
	width: 100%;
	max-width: var(--lk-container);
	margin: 0 auto;
	padding: 0 1rem;
}

.lk-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2rem;
	padding: 1.5rem 0 3rem;
}

.lk-layout--article .lk-layout-main {
	max-width: var(--lk-article-width);
}

.no-sidebar .lk-layout {
	grid-template-columns: 1fr;
}

.lk-layout-main {
	min-width: 0;
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */

.lk-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: linear-gradient(90deg, var(--lk-primary), var(--lk-accent));
	z-index: 9999;
	transition: width 0.1s linear;
}

/* ==========================================================================
   Header
   ========================================================================== */

.lk-header {
	background: #ffffff;
	border-bottom: 1px solid var(--lk-border);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.lk-header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: var(--lk-header-height);
	padding-top: var(--lk-header-pad, 10px);
	padding-bottom: var(--lk-header-pad, 10px);
	gap: 0.75rem;
}

.lk-branding {
	grid-column: 2;
	justify-self: center;
	align-self: center;
	min-width: 0;
	text-align: center;
	display: flex;
	justify-content: center;
	width: 100%;
}

.lk-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	margin: 0 auto;
	background: transparent;
}

.lk-logo img,
.lk-logo .custom-logo {
	display: block;
	width: auto;
	height: auto;
	margin-inline: auto;
	max-height: var(--lk-logo-height, 84px);
	max-width: min(var(--lk-logo-max-width, 480px), 62vw);
	object-fit: contain;
}

.lk-header-actions {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.lk-header-actions--start {
	grid-column: 1;
	justify-self: start;
}

.lk-header-actions--end {
	grid-column: 3;
	justify-self: end;
}

.lk-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--lk-border);
	border-radius: 10px;
	background: var(--lk-bg);
	color: var(--lk-text);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lk-search-toggle:hover,
.lk-search-toggle:focus,
.lk-search-toggle[aria-expanded="true"] {
	background: var(--lk-primary);
	border-color: var(--lk-primary);
	color: #fff;
}

/* Search panel — desktop + mobile */
.lk-nav-backdrop {
	display: block;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	height: 100dvh;
	z-index: 2147483000;
	background: rgba(15, 23, 42, 0.52);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lk-nav-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Search panel — shared height so field / submit / close stay aligned */
.lk-search-panel {
	--lk-sp-h: 44px;
	--lk-sp-btn: 36px;
	--lk-sp-pad: 4px;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2147483002;
	padding: calc(0.7rem + env(safe-area-inset-top)) 0.85rem 0.75rem;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(148, 163, 184, 0.35);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
	transform: translateY(-110%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.28s ease,
		visibility 0.28s ease;
}

.lk-search-panel.is-open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.lk-search-panel-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 34rem;
	margin: 0 auto;
	box-sizing: border-box;
}

.lk-search-panel .lk-search-form {
	box-sizing: border-box;
	flex: 1 1 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	min-width: 0;
	width: auto;
	height: var(--lk-sp-h);
	min-height: var(--lk-sp-h);
	max-height: var(--lk-sp-h);
	margin: 0;
	padding: var(--lk-sp-pad);
	padding-left: 0;
	background: #fff !important;
	border: 1px solid rgba(185, 28, 28, 0.28) !important;
	border-radius: calc(var(--lk-sp-h) / 2) !important;
	overflow: hidden;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.05),
		0 0 0 2px rgba(185, 28, 28, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lk-search-panel .lk-search-form:focus-within {
	border-color: rgba(185, 28, 28, 0.55) !important;
	box-shadow:
		0 2px 10px rgba(15, 23, 42, 0.08),
		0 0 0 3px rgba(185, 28, 28, 0.12);
}

.lk-search-panel .lk-search-field {
	box-sizing: border-box;
	flex: 1 1 auto;
	align-self: stretch;
	min-width: 0;
	width: 100%;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none;
	margin: 0;
	padding: 0 0.5rem 0 1rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-family: var(--lk-font-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1 !important;
	color: var(--lk-text);
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.lk-search-panel .lk-search-field::placeholder {
	color: #94a3b8;
	font-weight: 400;
	opacity: 1;
	line-height: normal;
}

.lk-search-panel .lk-search-field::-webkit-search-cancel-button,
.lk-search-panel .lk-search-field::-webkit-search-decoration,
.lk-search-panel .lk-search-field::-webkit-search-results-button,
.lk-search-panel .lk-search-field::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.lk-search-panel .lk-search-submit {
	box-sizing: border-box;
	flex: 0 0 var(--lk-sp-btn);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: var(--lk-sp-btn) !important;
	height: var(--lk-sp-btn) !important;
	min-width: var(--lk-sp-btn);
	min-height: var(--lk-sp-btn);
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--lk-primary, #b91c1c) !important;
	color: #fff !important;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(185, 28, 28, 0.28);
	transition: background 0.2s ease, transform 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.lk-search-panel .lk-search-submit:hover,
.lk-search-panel .lk-search-submit:focus {
	background: #991b1b !important;
	transform: scale(1.03);
	outline: none;
}

.lk-search-panel .lk-search-submit:active {
	transform: scale(0.97);
}

.lk-search-panel .lk-search-submit svg {
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.lk-search-panel-close {
	box-sizing: border-box;
	flex: 0 0 var(--lk-sp-h);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: var(--lk-sp-h) !important;
	height: var(--lk-sp-h) !important;
	min-width: var(--lk-sp-h);
	min-height: var(--lk-sp-h);
	margin: 0;
	padding: 0;
	border: 1px solid rgba(148, 163, 184, 0.5);
	border-radius: 50%;
	background: #fff;
	color: #334155;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.lk-search-panel-close:hover,
.lk-search-panel-close:focus {
	background: #fff1f2;
	border-color: rgba(185, 28, 28, 0.45);
	color: var(--lk-primary, #b91c1c);
	outline: none;
	transform: none;
}

.lk-search-panel-close svg {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

body.lk-search-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.lk-search-panel {
		--lk-sp-h: 42px;
		--lk-sp-btn: 34px;
		--lk-sp-pad: 4px;
		padding-left: 0.65rem;
		padding-right: 0.65rem;
	}

	.lk-search-panel .lk-search-field {
		font-size: 0.9rem;
		padding-left: 0.85rem !important;
		padding-right: 0.4rem !important;
	}
}


@media (min-width: 769px) {
	.lk-logo img,
	.lk-logo .custom-logo {
		max-width: min(var(--lk-logo-max-width, 480px), 48vw);
	}
}

/* ==========================================================================
   Category rail — dark equal boxes, arrows only when overflowing
   ========================================================================== */

.lk-cat-rail {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0;
	background: #0f172a;
	border-top: none;
	min-height: var(--lk-cat-rail-height);
}

.lk-cat-rail-track {
	display: flex;
	align-items: stretch;
	gap: 0;
	flex: 1;
	min-width: 0;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0;
	-webkit-overflow-scrolling: touch;
}

.lk-cat-rail-track::-webkit-scrollbar {
	display: none;
}

.lk-cat-rail-item {
	flex: 1 0 0;
	min-width: 6.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.65rem;
	border: none;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--lk-font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.lk-cat-rail-item:last-child {
	border-right: none;
}

.lk-cat-rail-item:hover,
.lk-cat-rail-item:focus {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.lk-cat-rail-item.is-active {
	background: var(--lk-primary);
	border-color: transparent;
	color: #fff;
	box-shadow: none;
}

.lk-cat-rail-btn {
	display: none;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2rem;
	padding: 0;
	border: none;
	border-radius: 0;
	background: #020617;
	color: #fff;
	cursor: pointer;
	z-index: 2;
}

.lk-cat-rail-btn[hidden] {
	display: none !important;
}

.lk-cat-rail-btn:hover,
.lk-cat-rail-btn:focus {
	background: var(--lk-primary);
	border-color: transparent;
	color: #fff;
}

.lk-cat-rail--scrollable .lk-cat-rail-btn:not([hidden]) {
	display: inline-flex;
}

.lk-cat-rail-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.lk-site-title {
	display: flex;
	flex-direction: column;
	color: var(--lk-text);
}

.lk-site-title:hover {
	color: var(--lk-primary);
}

.lk-site-name {
	font-family: var(--lk-font-sans);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--lk-primary);
}

.lk-site-tagline {
	font-size: 0.7rem;
	color: var(--lk-text-muted);
	font-weight: 400;
	letter-spacing: 0.02em;
}

/* Mobile menu toggle */
.lk-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 8px;
	background: none;
	border: 1px solid var(--lk-border);
	border-radius: var(--lk-radius-sm);
	cursor: pointer;
}

.lk-menu-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--lk-text);
	border-radius: 1px;
	transition: var(--lk-transition);
}

.lk-menu-toggle[aria-expanded="true"] .lk-menu-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.lk-menu-toggle[aria-expanded="true"] .lk-menu-bar:nth-child(2) {
	opacity: 0;
}

.lk-menu-toggle[aria-expanded="true"] .lk-menu-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Navigation */
.lk-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.lk-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-wrap: wrap;
}

.lk-menu li {
	position: relative;
}

.lk-menu a {
	display: block;
	padding: 0.5rem 0.75rem;
	font-family: var(--lk-font-sans);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--lk-text);
	border-radius: var(--lk-radius-sm);
	transition: background var(--lk-transition), color var(--lk-transition);
}

.lk-menu a:hover,
.lk-menu .current-menu-item > a,
.lk-menu .current-menu-ancestor > a {
	background: rgba(185, 28, 28, 0.08);
	color: var(--lk-primary);
}

.lk-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: var(--lk-bg);
	border: 1px solid var(--lk-border);
	border-radius: var(--lk-radius);
	box-shadow: var(--lk-shadow-md);
	padding: 0.5rem 0;
	z-index: 100;
}

.lk-menu li:hover > .sub-menu {
	display: block;
}

.lk-menu .sub-menu a {
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
}

.lk-nav-search {
	flex-shrink: 0;
}

.lk-nav-search .lk-search-form {
	width: auto;
	max-width: 240px;
	border: 1px solid #d1d5db;
	background: #fff;
}

.lk-nav-search .lk-search-field {
	flex: 1 1 160px;
	width: 160px;
}

/* Search */
.lk-search-form {
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: var(--lk-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lk-search-field {
	flex: 1;
	min-width: 0;
	border: none;
	background: transparent;
	padding: 0.5rem 0.75rem;
	font-family: var(--lk-font-sans);
	font-size: 0.875rem;
	outline: none;
	color: var(--lk-text);
}

.lk-search-field::placeholder {
	color: var(--lk-text-light);
}

.lk-search-form:focus-within {
	border-color: var(--lk-primary);
	box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.12);
}

.lk-search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	min-width: 44px;
	height: auto;
	min-height: 42px;
	background: var(--lk-primary);
	color: #fff;
	border: none;
	cursor: pointer;
	transition: background var(--lk-transition);
}

.lk-search-submit:hover {
	background: var(--lk-primary-dark);
}

/* ==========================================================================
   Breaking News Ticker
   ========================================================================== */

.lk-breaking {
	background: var(--lk-primary);
	color: #fff;
	overflow: hidden;
}

.lk-breaking-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.3rem 0;
	min-height: 2rem;
}

.lk-breaking-label {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	font-family: var(--lk-font-sans);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.15rem 0.55rem;
	background: rgba(0, 0, 0, 0.2);
	border-radius: var(--lk-radius-sm);
}

.lk-breaking-dot {
	width: 6px;
	height: 6px;
	background: #fff;
	border-radius: 50%;
	animation: lk-pulse 1.5s infinite;
}

@keyframes lk-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.lk-breaking-track-wrap {
	overflow: hidden;
	flex: 1;
}

.lk-breaking-track {
	display: flex;
	gap: 3rem;
	animation: lk-ticker 55s linear infinite;
	white-space: nowrap;
}

.lk-breaking-track:hover {
	animation-play-state: paused;
}

.lk-breaking-track a {
	color: #fff;
	font-family: var(--lk-font-sans);
	font-size: 0.9rem;
	font-weight: 500;
}

.lk-breaking-track a:hover {
	text-decoration: underline;
}

@keyframes lk-ticker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
	.lk-breaking-track {
		animation-duration: 55s;
		gap: 2rem;
	}

	.lk-breaking-track a {
		font-size: 0.82rem;
	}
}

/* ==========================================================================
   Ad Slots
   ========================================================================== */

.ad-slot {
	position: relative;
	display: block;
	margin: 1rem 0;
	text-align: center;
	min-height: 90px;
	background: #f8fafc;
	border: 2px dashed #94a3b8;
	border-radius: var(--lk-radius);
	padding: 0.75rem;
	overflow: hidden;
	box-sizing: border-box;
}

.ad-slot .widget {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

.ad-label {
	display: block;
	font-family: var(--lk-font-sans);
	font-size: 0.7rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
}

.ad-placeholder-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 70px;
	width: 100%;
	background: repeating-linear-gradient(
		-45deg,
		#f1f5f9,
		#f1f5f9 8px,
		#e2e8f0 8px,
		#e2e8f0 16px
	);
	border-radius: var(--lk-radius-sm);
}

.ad-placeholder-text {
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	font-weight: 600;
	color: #475569;
	letter-spacing: 0.02em;
}

.ad-placeholder-size {
	font-family: var(--lk-font-sans);
	font-size: 0.72rem;
	color: #94a3b8;
}

.ad-slot--header {
	min-height: 100px;
	margin: 1rem auto;
	max-width: var(--lk-container);
}

.ad-slot--header .ad-placeholder-box {
	min-height: 90px;
}

.ad-slot--sidebar {
	display: block;
	min-height: 270px;
	width: 100%;
	max-width: 300px;
	margin: 1rem auto;
	position: static;
}

.ad-slot--sidebar .ad-placeholder-box {
	min-height: 230px;
}

.ad-slot--sidebar-1 {
	margin-bottom: 1.25rem;
}

.ad-slot--sidebar-2 {
	margin-top: 1.25rem;
}

.ad-slot--infeed {
	display: block;
	grid-column: 1 / -1;
	min-height: 120px;
}

.ad-slot--article-bottom {
	display: block;
	margin: 2rem 0;
}

.ad-slot--footer {
	display: block;
}

.ad-slot--footer .ad-placeholder-box {
	min-height: 90px;
}

/* Custom promo blocks — always size-capped, 1:1 square */
.lk-promo {
	position: relative;
	border-style: solid;
	border-color: #cbd5e1;
	background: #fff;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
	min-height: 0;
	overflow: visible !important;
	isolation: isolate;
	transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
}

/* Soft glow BEHIND the promo card (not on the image) */
.lk-promo::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -10px;
	border-radius: calc(var(--lk-radius, 12px) + 8px);
	background: radial-gradient(
		ellipse at center,
		rgba(185, 28, 28, 0.28) 0%,
		rgba(185, 28, 28, 0.12) 42%,
		rgba(185, 28, 28, 0) 72%
	);
	filter: blur(14px);
	opacity: 0.85;
	pointer-events: none;
	animation: lk-promo-glow 2.8s ease-in-out infinite;
}

@keyframes lk-promo-glow {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(0.98);
	}
	50% {
		opacity: 1;
		transform: scale(1.04);
	}
}

.lk-promo.is-closing {
	opacity: 0;
	transform: scale(0.92);
	pointer-events: none;
}

.lk-promo.is-dismissed {
	display: none !important;
}

.lk-promo-close {
	position: absolute;
	top: 0.35rem;
	right: 0.35rem;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.55);
	color: #fff;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
	transition: background 0.2s ease, transform 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.lk-promo-close:hover,
.lk-promo-close:focus {
	background: rgba(185, 28, 28, 0.9);
	transform: scale(1.06);
	outline: none;
}

.lk-promo .ad-label {
	position: relative;
	z-index: 1;
	color: var(--lk-primary, #b91c1c);
	padding-right: 1.75rem;
}

.lk-promo-inner {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: 360px;
	margin-inline: auto;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
}

.lk-promo-link {
	position: relative;
	display: block;
	line-height: 0;
	text-decoration: none;
	z-index: 1;
}

/* Force 1:1 — big uploads cannot fill the screen */
.lk-promo--square .lk-promo-image,
.lk-promo--square .lk-promo-link {
	display: block;
	width: 100%;
	max-width: 360px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin-inline: auto;
	border-radius: 8px;
	background: #f1f5f9;
}

.lk-promo--square .lk-promo-image img,
.lk-promo--square .lk-promo-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center;
}

.lk-promo-video {
	position: relative;
	width: 100%;
	max-width: 360px;
	margin-inline: auto;
	line-height: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #0f172a;
	aspect-ratio: 1 / 1;
}

.lk-promo-video--embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.lk-promo-video-el {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	background: #0f172a;
}

.lk-promo-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.65rem;
	padding: 0.45rem 1rem;
	border-radius: 8px;
	background: var(--lk-primary, #b91c1c);
	color: #fff !important;
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none !important;
}

.lk-promo-cta:hover,
.lk-promo-cta:focus {
	filter: brightness(1.05);
	color: #fff !important;
}

/* Sidebar promos — 300×300 */
.lk-promo.ad-slot--sidebar,
.lk-promo.lk-promo--sidebar,
.lk-promo.lk-promo--sidebar_2 {
	max-width: 300px;
}

.lk-promo.ad-slot--sidebar .lk-promo-inner,
.lk-promo.ad-slot--sidebar .lk-promo-image,
.lk-promo.ad-slot--sidebar .lk-promo-link,
.lk-promo.lk-promo--sidebar .lk-promo-inner,
.lk-promo.lk-promo--sidebar_2 .lk-promo-inner {
	max-width: 300px;
}

/* Homepage mid promo between category sections */
.lk-home-mid-promo {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 2.25rem 0 2.5rem;
	padding: 1.75rem 0.5rem;
	overflow: visible;
}

.lk-home-mid-promo .lk-promo {
	width: 100%;
	max-width: 320px;
}

.lk-promo--home-mid {
	width: 100%;
	max-width: 320px;
}

/* Below-share stack */
.lk-promo.ad-slot--article-bottom,
.lk-promo.lk-promo--article_bottom,
.lk-promo.lk-promo--article_bottom_2 {
	margin: 1.25rem auto;
	max-width: 320px;
}

@media (max-width: 768px) {
	.lk-promo,
	.lk-promo-inner,
	.lk-home-mid-promo .lk-promo,
	.lk-promo--home-mid {
		max-width: min(320px, 86vw);
	}

	.lk-promo.ad-slot--sidebar,
	.lk-promo.lk-promo--sidebar,
	.lk-promo.lk-promo--sidebar_2 {
		max-width: min(300px, 86vw);
	}
}
	min-height: 90px;
}

.lk-content-ad {
	margin: 1.5rem 0;
	padding: 1rem;
	background: var(--lk-bg-alt);
	border-radius: var(--lk-radius);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.lk-hero {
	position: relative;
	border-radius: var(--lk-radius-lg);
	overflow: hidden;
	margin-bottom: 2rem;
	box-shadow: var(--lk-shadow-md);
}

.lk-hero-link {
	display: block;
	color: inherit;
}

.lk-hero-link:hover {
	color: inherit;
}

.lk-hero-image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.lk-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lk-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.lk-hero-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem 2rem;
	color: #fff;
}

.lk-hero-content .lk-badge {
	display: inline-flex;
	width: auto;
	max-width: max-content;
	align-self: flex-start;
	background: rgba(185, 28, 28, 0.92);
	color: #fff;
	border: none;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	font-size: 0.72rem;
	margin-bottom: 0.65rem;
}

.lk-hero-title {
	font-size: clamp(1.25rem, 3vw, 2rem);
	color: #fff;
	margin-bottom: 0.5rem;
	line-height: 1.4;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lk-hero-excerpt {
	font-size: 0.95rem;
	opacity: 0.9;
	margin-bottom: 0.75rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lk-hero-content .lk-post-meta {
	color: rgba(255,255,255,0.8);
}

.lk-hero-content .lk-post-meta a {
	color: #fff;
}

/* ==========================================================================
   Section Titles
   ========================================================================== */

.lk-section-title {
	font-family: var(--lk-font-sans);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--lk-text);
	padding-bottom: 0.75rem;
	margin-bottom: 1.25rem;
	border-bottom: 3px solid var(--lk-primary);
	display: inline-block;
}

.lk-latest {
	margin-bottom: 2.5rem;
}

/* ==========================================================================
   Post Cards Grid — 2 columns beside sidebar on desktop
   ========================================================================== */

.lk-layout .lk-layout-main .lk-grid,
.lk-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1.25rem !important;
	align-items: stretch;
	width: 100% !important;
	float: none !important;
}

/* Kill leftover Sahifa / plugin float-column rules on our cards */
.lk-layout .lk-layout-main .lk-grid > article,
.lk-grid > .lk-card,
.lk-grid > article.post,
.lk-grid > article.type-post {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	position: relative;
}

.lk-grid-ad {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	float: none !important;
}

.lk-card {
	background: var(--lk-bg);
	border: 1px solid var(--lk-border);
	border-radius: var(--lk-radius);
	overflow: hidden;
	transition: box-shadow var(--lk-transition), transform var(--lk-transition);
	height: 100%;
	display: flex;
	flex-direction: column;
}

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

.lk-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	flex: 1;
	color: inherit;
}

.lk-card-link:hover {
	color: inherit;
}

.lk-card-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--lk-bg-alt);
}

.lk-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.lk-card:hover .lk-card-image img {
	transform: scale(1.03);
}

.lk-card-image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--lk-border-light), var(--lk-border));
	color: var(--lk-text-light);
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
}

.lk-card .lk-card-body {
	padding: 1rem 1rem 1.1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	min-height: 140px;
}

.lk-card-body .lk-badge {
	flex-shrink: 0;
	align-self: flex-start;
	width: auto;
	max-width: max-content;
	margin-bottom: 0.65rem;
}

.lk-card-title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.55;
	margin: 0 0 0.5rem;
	padding-bottom: 0.1em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 0 1 auto;
	width: 100%;
}

.lk-card-body .lk-post-meta {
	flex-shrink: 0;
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: 0.8rem;
	line-height: 1.4;
	width: 100%;
}

.lk-badge {
	display: inline-flex;
	align-items: center;
	width: auto;
	max-width: max-content;
	align-self: flex-start;
	flex: 0 0 auto;
	font-family: var(--lk-font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--lk-primary);
	background: rgba(185, 28, 28, 0.06);
	border: 1px solid var(--lk-primary);
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
	letter-spacing: 0.01em;
	line-height: 1.3;
	white-space: nowrap;
}

.lk-badge:hover {
	background: var(--lk-primary);
	color: #fff;
}

.lk-post-meta {
	font-family: var(--lk-font-sans);
	font-size: 0.78rem;
	color: var(--lk-text-muted);
}

.lk-meta-sep {
	margin: 0 0.35rem;
	opacity: 0.5;
}

.lk-category-link {
	color: var(--lk-text-muted);
}

.lk-category-link:hover {
	color: var(--lk-primary);
}

/* Horizontal card */
.lk-card-h {
	display: flex;
	gap: 1rem;
	padding: 0.75rem 1rem;
	border-bottom: none;
	background: var(--lk-bg);
	border-radius: var(--lk-radius-sm);
	border: 1px solid var(--lk-border-light);
	align-items: flex-start;
	min-width: 0;
}

.lk-card-h:last-child {
	margin-bottom: 0;
}

.lk-card-h-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.lk-card-h-body .lk-badge {
	margin-bottom: 0.55rem;
}

.lk-card-h-body .lk-post-meta {
	width: 100%;
}

.lk-card-h-image {
	flex-shrink: 0;
	width: 120px;
	height: 80px;
	border-radius: var(--lk-radius-sm);
	overflow: hidden;
	position: relative;
	z-index: 0;
}

.lk-card-h-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lk-card-h-title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.55;
	margin: 0 0 0.4rem;
	padding-bottom: 0.08em;
	width: 100%;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

.lk-card-h-title a {
	color: var(--lk-text);
}

.lk-card-h-title a:hover {
	color: var(--lk-primary);
}

/* ==========================================================================
   Category Blocks
   ========================================================================== */

.lk-category-block {
	margin-bottom: 2.5rem;
	padding: 1.5rem;
	background: var(--lk-bg-alt);
	border-radius: var(--lk-radius-lg);
	border: 1px solid var(--lk-border-light);
	overflow: hidden;
}

.lk-category-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.lk-category-block-header .lk-section-title {
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}

.lk-view-all {
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--lk-primary);
}

.lk-category-block-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	align-items: stretch;
	min-width: 0;
}

.lk-featured-small {
	min-width: 0;
	height: 100%;
}

.lk-featured-small-link {
	display: flex;
	flex-direction: column;
	color: inherit;
	background: var(--lk-bg);
	border-radius: var(--lk-radius);
	overflow: hidden;
	border: 1px solid var(--lk-border);
	height: 100%;
	transition: box-shadow var(--lk-transition);
}

.lk-featured-small-link:hover {
	box-shadow: var(--lk-shadow-md);
	color: inherit;
}

.lk-featured-small-image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--lk-bg-alt);
}

.lk-featured-small-image .lk-card-image--placeholder {
	height: 100%;
	min-height: 160px;
}

.lk-featured-small-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lk-featured-small-body {
	padding: 1rem 1.1rem 1.15rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	gap: 0;
}

.lk-featured-small-body .lk-badge {
	margin-bottom: 0.7rem;
}

.lk-featured-small-body h3 {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.55;
	margin: 0 0 0.55rem;
	padding-bottom: 0.1em;
	width: 100%;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

.lk-featured-small-body p {
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--lk-text-muted);
	margin: 0 0 0.75rem;
	width: 100%;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lk-featured-small-body .lk-post-meta {
	width: 100%;
	margin-top: auto;
}

.lk-category-block-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.lk-category-block-list .lk-card-h {
	margin-bottom: 0;
	flex: 1;
}

/* ==========================================================================
   Article (Single Post)
   ========================================================================== */

.lk-breadcrumbs {
	font-family: var(--lk-font-sans);
	font-size: 0.8rem;
	color: var(--lk-text-muted);
	padding: 0.35rem 0 0.65rem;
	position: relative;
	z-index: 1;
}

.lk-breadcrumbs a {
	color: var(--lk-text);
	font-weight: 500;
}

.lk-breadcrumbs a:hover {
	color: var(--lk-primary);
}

.lk-breadcrumb-sep {
	margin: 0 0.35rem;
	opacity: 0.45;
}

.lk-breadcrumb-current {
	color: var(--lk-text-muted);
}

.lk-article {
	padding: 0.25rem 0 2rem;
}

.lk-article-header {
	margin-bottom: 0.75rem;
}

.lk-article-title {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	line-height: 1.3;
	margin: 0.5rem 0 0.65rem;
}

.lk-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	color: var(--lk-text-muted);
}

.lk-reading-time {
	color: var(--lk-text-muted);
}

.lk-article-featured {
	margin: 0 0 1rem;
	border-radius: var(--lk-radius-lg);
	overflow: hidden;
}

.lk-article-content {
	font-family: var(--lk-font-sans);
	font-size: 17px;
	line-height: 1.8;
}

.lk-article-content p {
	margin-bottom: 1.25em;
}

.lk-article-content h2,
.lk-article-content h3 {
	margin-top: 1.75em;
	margin-bottom: 0.75em;
}

.lk-article-content img {
	border-radius: var(--lk-radius);
	margin: 1.5em 0;
}

.lk-article-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lk-article-footer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--lk-border);
}

.lk-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
	margin-bottom: 1rem;
	position: relative;
}

.lk-share-label {
	font-family: var(--lk-font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--lk-text-muted);
	width: 100%;
}

.lk-share-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
}

.lk-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 10px;
	color: #fff;
	cursor: pointer !important;
	text-decoration: none;
	pointer-events: auto !important;
	position: relative;
	z-index: 5;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
	transition: transform var(--lk-transition), opacity var(--lk-transition), filter var(--lk-transition);
	-webkit-tap-highlight-color: transparent;
}

.lk-share-btn:hover,
.lk-share-btn:focus,
.lk-share-btn:active {
	cursor: pointer !important;
	transform: translateY(-2px) scale(1.04);
	color: #fff;
	filter: brightness(1.05);
	outline: none;
}

.lk-share-facebook { background: #1877f2; }
.lk-share-x { background: #000000; }
.lk-share-sms { background: #7cb342; }
.lk-share-email { background: #5d6d7e; }
.lk-share-messenger { background: #0084ff; }
.lk-share-whatsapp { background: #25d366; }
.lk-share-instagram {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.lk-tags {
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	color: var(--lk-text-muted);
	margin-bottom: 1rem;
}

.lk-tags a {
	display: inline-block;
	background: var(--lk-bg-alt);
	padding: 0.25rem 0.6rem;
	border-radius: var(--lk-radius-sm);
	margin: 0.25rem 0.25rem 0.25rem 0;
	font-size: 0.8rem;
}

/* Related posts */
.lk-related {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--lk-border);
}

.lk-related-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

/* ==========================================================================
   Archive
   ========================================================================== */

.lk-archive-header {
	padding: 0.15rem 0 0.75rem;
}

.lk-archive-title {
	font-size: 1.5rem;
	color: var(--lk-text);
	margin: 0;
}

.lk-archive-desc {
	color: var(--lk-text-muted);
	font-size: 0.95rem;
	margin-top: 0.5rem;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.lk-sidebar {
	min-width: 0;
}

/* WordPress default widgets in sidebar */
.lk-sidebar .widget,
.lk-sidebar-widgets .widget {
	background: var(--lk-bg);
	border: 1px solid var(--lk-border);
	border-radius: var(--lk-radius);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
	overflow: hidden;
}

.lk-sidebar .widget-title,
.lk-sidebar-widgets .widget-title {
	font-family: var(--lk-font-sans);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--lk-primary);
	color: var(--lk-text);
}

.lk-sidebar .widget ul,
.lk-sidebar-widgets .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lk-sidebar .widget ul li,
.lk-sidebar-widgets .widget ul li {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--lk-border-light);
	font-family: var(--lk-font-sans);
	font-size: 0.88rem;
	line-height: 1.45;
	word-break: break-word;
}

.lk-sidebar .widget ul li:last-child,
.lk-sidebar-widgets .widget ul li:last-child {
	border-bottom: none;
}

.lk-sidebar .widget ul li a,
.lk-sidebar-widgets .widget ul li a {
	color: var(--lk-text);
	display: block;
}

.lk-sidebar .widget ul li a:hover,
.lk-sidebar-widgets .widget ul li a:hover {
	color: var(--lk-primary);
}

.lk-sidebar .widget p,
.lk-sidebar-widgets .widget p {
	font-size: 0.9rem;
	color: var(--lk-text-muted);
	margin: 0 0 0.5rem;
}

/* Search widget in sidebar */
.lk-sidebar .widget_search .search-form,
.lk-sidebar-widgets .widget_search .search-form {
	display: flex;
	border: 1px solid var(--lk-border);
	border-radius: var(--lk-radius);
	overflow: hidden;
	background: var(--lk-bg-alt);
}

.lk-sidebar .widget_search input[type="search"],
.lk-sidebar-widgets .widget_search input[type="search"] {
	flex: 1;
	border: none;
	background: transparent;
	padding: 0.6rem 0.75rem;
	font-family: var(--lk-font-sans);
	font-size: 0.875rem;
	min-width: 0;
}

.lk-sidebar .widget_search input[type="submit"],
.lk-sidebar-widgets .widget_search input[type="submit"] {
	background: var(--lk-primary);
	color: #fff;
	border: none;
	padding: 0.5rem 1rem;
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	cursor: pointer;
}

.lk-widget {
	background: var(--lk-bg);
	border: 1px solid var(--lk-border);
	border-radius: var(--lk-radius);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}

.lk-widget-title {
	font-family: var(--lk-font-sans);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--lk-primary);
}

.lk-popular-list li {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--lk-border-light);
}

.lk-popular-list li:last-child {
	border-bottom: none;
}

.lk-popular-list a {
	display: block;
	font-family: var(--lk-font-sans);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--lk-text);
	line-height: 1.4;
	margin-bottom: 0.25rem;
}

.lk-popular-list a:hover {
	color: var(--lk-primary);
}

.lk-popular-list time {
	font-size: 0.75rem;
	color: var(--lk-text-light);
}

/* Curated sidebar news sections */
.lk-sidebar-news-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--lk-primary);
}

.lk-sidebar-news .lk-widget-title {
	margin: 0;
	padding: 0 0 0 1.15rem;
	border: none;
	font-size: 1rem;
	position: relative;
}

.lk-sidebar-view-all {
	flex-shrink: 0;
	font-family: var(--lk-font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--lk-primary);
	white-space: nowrap;
}

.lk-sidebar-view-all:hover {
	color: var(--lk-primary-dark);
}

.lk-sidebar-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lk-sidebar-news-list li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--lk-border-light);
}

.lk-sidebar-news-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.lk-sidebar-news-list li:first-child {
	padding-top: 0;
}

.lk-sidebar-news-thumb {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--lk-bg-alt);
	display: block;
	position: relative;
	z-index: 0;
}

.lk-sidebar-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lk-sidebar-news-thumb-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--lk-text-light);
	background: linear-gradient(135deg, #fef2f2, #f1f5f9);
}

.lk-sidebar-news-body {
	min-width: 0;
	flex: 1;
}

.lk-sidebar-news-body a {
	display: block;
	font-family: var(--lk-font-sans);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--lk-text);
	margin-bottom: 0.3rem;
}

.lk-sidebar-news-body a:hover {
	color: var(--lk-primary);
}

.lk-sidebar-news-body time {
	font-size: 0.72rem;
	color: var(--lk-text-light);
}

.lk-sidebar-ads {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 0.25rem;
}

.lk-sidebar-ads .ad-slot--sidebar {
	margin: 0 auto;
}

/* Never show default WP widgets if leftovers remain in DB */
.lk-sidebar .widget_archive,
.lk-sidebar .widget_categories,
.lk-sidebar .widget_recent_comments,
.lk-sidebar .widget_recent_entries,
.lk-sidebar .widget_meta,
.lk-sidebar .widget_calendar,
.lk-sidebar .widget_pages,
.lk-sidebar .widget_tag_cloud,
.lk-sidebar .widget_search,
.lk-sidebar .widget_rss,
.lk-sidebar-widgets {
	display: none !important;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.lk-pagination {
	margin-top: 2rem;
}

.lk-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.lk-pagination a,
.lk-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	font-family: var(--lk-font-sans);
	font-size: 0.875rem;
	border: 1px solid var(--lk-border);
	border-radius: var(--lk-radius-sm);
	color: var(--lk-text);
	transition: all var(--lk-transition);
}

.lk-pagination a:hover {
	background: var(--lk-primary);
	color: #fff;
	border-color: var(--lk-primary);
}

.lk-pagination .current {
	background: var(--lk-primary);
	color: #fff;
	border-color: var(--lk-primary);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.lk-404 {
	padding: 3rem 0 4rem;
}

.lk-404-inner {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.lk-404-code {
	font-family: var(--lk-font-sans);
	font-size: clamp(5rem, 15vw, 8rem);
	font-weight: 700;
	color: var(--lk-border);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.lk-404-title {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.lk-404-desc {
	color: var(--lk-text-muted);
	margin-bottom: 1.5rem;
}

.lk-404-search {
	margin-bottom: 1.5rem;
}

.lk-404-actions {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.lk-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1.25rem;
	font-family: var(--lk-font-sans);
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: var(--lk-radius);
	transition: all var(--lk-transition);
}

.lk-btn--primary {
	background: var(--lk-primary);
	color: #fff;
}

.lk-btn--primary:hover {
	background: var(--lk-primary-dark);
	color: #fff;
}

.lk-btn--secondary {
	background: var(--lk-bg-alt);
	color: var(--lk-text);
	border: 1px solid var(--lk-border);
}

.lk-btn--secondary:hover {
	border-color: var(--lk-primary);
	color: var(--lk-primary);
}

.lk-404-recent {
	text-align: left;
	background: var(--lk-bg-alt);
	border-radius: var(--lk-radius-lg);
	padding: 1.5rem;
	border: 1px solid var(--lk-border-light);
}

.lk-404-list li {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--lk-border-light);
}

.lk-404-list li:last-child {
	border-bottom: none;
}

.lk-404-list a {
	font-family: var(--lk-font-sans);
	font-weight: 500;
	color: var(--lk-text);
}

.lk-404-list a:hover {
	color: var(--lk-primary);
}

.lk-404-list time {
	display: block;
	font-size: 0.75rem;
	color: var(--lk-text-light);
	margin-top: 0.2rem;
}

/* ==========================================================================
   No Results
   ========================================================================== */

.lk-no-results {
	text-align: center;
	padding: 3rem 1rem;
}

.lk-no-results h2 {
	margin-bottom: 0.75rem;
}

.lk-no-results p {
	color: var(--lk-text-muted);
	margin-bottom: 1.5rem;
}

.lk-no-results-search,
.lk-404-search {
	max-width: 480px;
	margin: 0 auto;
	width: 100%;
}

/* ==========================================================================
   Skeleton Loading — fixed overlay (no CLS / no dual layout)
   ========================================================================== */

.lk-skeleton {
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 1.25rem 1rem 2rem;
	overflow: auto;
	background: var(--lk-bg);
	pointer-events: none;
	opacity: 1;
	visibility: visible;
	/* Fallback if JS is delayed by LiteSpeed / CWV plugins */
	animation: lk-skeleton-auto-hide 0.35s ease 1.2s forwards;
}

@keyframes lk-skeleton-auto-hide {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

.lk-skeleton[hidden],
body.lk-loaded .lk-skeleton {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	animation: none !important;
}

.lk-skeleton-inner {
	width: 100%;
	max-width: var(--lk-container);
	margin: 0 auto;
}

.lk-skeleton-block {
	background: linear-gradient(90deg, var(--lk-border-light) 25%, var(--lk-border) 50%, var(--lk-border-light) 75%);
	background-size: 200% 100%;
	animation: lk-shimmer 1.4s infinite linear;
	border-radius: var(--lk-radius-sm);
}

@keyframes lk-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.lk-skeleton-hero {
	margin-bottom: 1.5rem;
}

.lk-skeleton-image {
	aspect-ratio: 16 / 9;
	border-radius: var(--lk-radius);
	margin-bottom: 1rem;
}

.lk-skeleton-line {
	height: 16px;
	margin-bottom: 0.75rem;
}

.lk-skeleton-line--lg {
	height: 24px;
	width: 80%;
}

.lk-skeleton-line--sm {
	width: 50%;
}

.lk-skeleton-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.lk-skeleton-card .lk-skeleton-image {
	aspect-ratio: 16 / 9;
	margin-bottom: 0.75rem;
}

/* Image fade-in — below-fold cards only */
.lk-img-fade {
	opacity: 0;
	transition: opacity 0.4s ease;
}

.lk-img-fade.lk-img-loaded {
	opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.lk-footer {
	background: var(--lk-bg-dark);
	color: rgba(255, 255, 255, 0.8);
	padding: 0 0 1.5rem;
	margin-top: 2rem;
	position: relative;
}

.lk-footer-accent {
	height: 4px;
	background: linear-gradient(90deg, var(--lk-primary), var(--lk-accent));
}

.lk-footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1.4fr 1fr 1fr;
	gap: 2rem;
	padding: 2.5rem 0 1.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lk-footer-col {
	min-width: 0;
}

.lk-footer-heading {
	font-family: var(--lk-font-sans);
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1.1rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--lk-primary);
	display: inline-block;
}

/* Brand column */
.lk-footer-logo {
	font-family: var(--lk-font-sans);
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	display: inline-block;
	margin-bottom: 0.5rem;
}

.lk-footer-logo:hover {
	color: #fff;
	opacity: 0.9;
}

.lk-footer-tagline {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 0 0.75rem;
	line-height: 1.5;
}

.lk-footer-reg {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
	padding: 0.5rem 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: var(--lk-radius-sm);
	border-left: 3px solid var(--lk-primary);
}

/* Footer recent posts */
.lk-footer-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.lk-footer-post {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lk-footer-post:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.lk-footer-post-num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--lk-font-sans);
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--lk-primary);
	background: rgba(185, 28, 28, 0.15);
	border-radius: 6px;
	margin-top: 2px;
}

.lk-footer-post-body {
	flex: 1;
	min-width: 0;
}

.lk-footer-post-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
	margin-bottom: 0.25rem;
	transition: color var(--lk-transition);
}

.lk-footer-post-title:hover {
	color: #fff;
}

.lk-footer-post-date {
	font-family: var(--lk-font-sans);
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.4);
}

/* Footer links */
.lk-footer-menu {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lk-footer-menu li {
	margin: 0;
}

.lk-footer-menu a {
	font-family: var(--lk-font-sans);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.65);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: color var(--lk-transition), padding var(--lk-transition);
	padding: 0.15rem 0;
}

.lk-footer-menu a::before {
	content: "›";
	color: var(--lk-primary);
	font-weight: 700;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity var(--lk-transition), transform var(--lk-transition);
}

.lk-footer-menu a:hover {
	color: #fff;
	padding-left: 0.25rem;
}

.lk-footer-menu a:hover::before {
	opacity: 1;
	transform: translateX(0);
}

/* Footer categories */
.lk-footer-cat-list {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lk-footer-cat-list a {
	font-family: var(--lk-font-sans);
	font-size: 0.83rem;
	color: rgba(255, 255, 255, 0.65);
	display: inline-block;
	padding: 0.2rem 0;
	border-bottom: 1px solid transparent;
	transition: color var(--lk-transition), border-color var(--lk-transition);
}

.lk-footer-cat-list a:hover {
	color: #fff;
	border-bottom-color: rgba(185, 28, 28, 0.5);
}

.lk-footer-bottom {
	padding-top: 1.25rem;
	text-align: center;
}

.lk-footer-bottom p {
	font-family: var(--lk-font-sans);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
}

.lk-footer-bottom a {
	color: rgba(255, 255, 255, 0.65);
}

.lk-footer-bottom a:hover {
	color: #fff;
}

/* Footer social */
.lk-footer-social {
	margin-top: 1.25rem;
}

.lk-footer-social-label {
	display: block;
	font-family: var(--lk-font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.6rem;
}

.lk-footer-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.lk-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background var(--lk-transition), color var(--lk-transition), transform var(--lk-transition);
}

.lk-social-btn:hover {
	background: var(--lk-primary);
	color: #fff;
	transform: translateY(-2px);
}

.lk-social-whatsapp:hover { background: #25d366; }
.lk-social-facebook:hover { background: #1877f2; }
.lk-social-twitter:hover { background: #000; }
.lk-social-instagram:hover { background: #e4405f; }
.lk-social-youtube:hover { background: #ff0000; }

/* ==========================================================================
   Check also — end-of-page slide-in card
   ========================================================================== */

.lk-check-also {
	position: fixed;
	right: 1.25rem;
	bottom: 1.5rem;
	z-index: 100100;
	width: min(22rem, calc(100vw - 1.5rem));
	pointer-events: none;
	transform: translateX(calc(100% + 2rem));
	opacity: 0;
	visibility: hidden;
	transition:
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.35s ease,
		visibility 0.35s ease;
}

.lk-check-also[hidden]:not(.is-visible) {
	display: none !important;
}

.lk-check-also.is-visible {
	display: block !important;
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.lk-check-also-inner {
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow:
		0 18px 50px rgba(15, 23, 42, 0.18),
		0 2px 8px rgba(15, 23, 42, 0.06);
}

.lk-check-also-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.7rem 0.85rem 0.7rem 1rem;
	background: linear-gradient(135deg, #b91c1c 0%, #ea580c 100%);
	color: #fff;
}

.lk-check-also-label {
	font-family: var(--lk-font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.lk-check-also-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
}

.lk-check-also-close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.lk-check-also-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.lk-check-also-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #e5e7eb;
}

.lk-check-also-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.lk-check-also-link:hover .lk-check-also-img {
	transform: scale(1.04);
}

.lk-check-also-body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.95rem 1rem 1.1rem;
}

.lk-check-also-cat {
	align-self: flex-start;
	padding: 0.15rem 0.5rem;
	border-radius: 6px;
	background: #fef2f2;
	color: var(--lk-primary);
	font-size: 0.7rem;
	font-weight: 700;
}

.lk-check-also-title {
	font-family: var(--lk-font-sans);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--lk-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lk-check-also-excerpt {
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--lk-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lk-check-also-cta {
	margin-top: 0.25rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--lk-primary);
}

.lk-check-also-link:hover .lk-check-also-cta {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.lk-check-also {
		right: 0.75rem;
		left: auto;
		bottom: calc(1rem + env(safe-area-inset-bottom));
		width: min(19.5rem, calc(100vw - 1.25rem));
	}

	.single .lk-check-also {
		bottom: calc(4.5rem + env(safe-area-inset-bottom));
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.lk-layout .lk-layout-main .lk-grid,
	.lk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.lk-category-block-inner {
		grid-template-columns: 1fr;
	}

	.lk-featured-small {
		height: auto;
	}

	.lk-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.lk-menu-toggle {
		display: flex;
	}

	/* Inline header nav is desktop-only; mobile uses .lk-nav--drawer */
	.lk-nav--desktop {
		display: none !important;
	}

	.lk-header-inner {
		position: relative;
	}

	.lk-layout {
		grid-template-columns: 1fr;
	}

	.lk-layout--article {
		display: flex;
		flex-direction: column;
	}

	.lk-layout--article .lk-layout-main {
		max-width: none;
		order: 1;
	}

	.lk-layout--article .lk-sidebar {
		order: 2;
		margin-top: 1rem;
	}

	.lk-sidebar .widget,
	.lk-sidebar-widgets .widget {
		padding: 1rem;
	}

	.lk-sidebar .widget ul li a,
	.lk-sidebar-widgets .widget ul li a {
		font-size: 0.9rem;
	}

	.lk-layout .lk-layout-main .lk-grid,
	.lk-grid,
	.lk-skeleton-grid {
		grid-template-columns: 1fr !important;
	}

	.lk-hero-content {
		padding: 1rem;
	}

	.lk-breaking-inner {
		flex-direction: row;
		align-items: center;
		flex-wrap: nowrap;
		gap: 0.5rem;
		padding: 0.35rem 0;
		min-height: var(--lk-breaking-height, 34px);
	}

	.lk-breaking-label {
		flex-shrink: 0;
		font-size: 0.68rem;
		padding: 0.2rem 0.5rem;
		white-space: nowrap;
	}

	.lk-breaking-track-wrap {
		flex: 1;
		min-width: 0;
		overflow: hidden;
	}
	}

	.ad-slot--sidebar {
		position: static;
	}

	.lk-skeleton-grid {
		grid-template-columns: 1fr 1fr;
	}

	.lk-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.75rem;
	}

	.lk-footer-recent {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 16px;
	}

	.lk-article-content {
		font-size: 17px;
	}

	.lk-footer-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 2rem 0 1.5rem;
	}

	.lk-footer-recent {
		grid-column: auto;
	}
}
