/**
 * KhojKhabar Child — Option A refresh (2 Dec 2026).
 * Loads LAST (after the parent's styles incl. newsup-performance at
 * priority 99), so these rules win on equal specificity. Parent files
 * are untouched. AdSense is Auto Ads only — no ad slots are touched;
 * layout changes are limited to the items below. Ad styling lives in
 * §18 (v1.18.0): in-flow Auto Ads units get the site's card treatment.
 */


/* ============ 0. NEWS-TALK BASE (ported) ============ */
/* Rules from the previously active news-talk child theme's style.css
   (v0.9). They are the site's current look — hero editor-card heights,
   .m-header show/hide, link underlines, responsive tweaks. Kept verbatim
   (only the theme header comment is dropped); the sections below build
   on top of them. */
span.time {
	margin-left: 5px;
	padding: 2px 4px;
	border-radius: 2px;
	font-size: 14px;
	font-weight: 600;
	line-height: 35px;
}
.mg-headwidget.center .heacent {
	margin-top: unset !important;
}
.mg-headwidget.center .logo-center, .mg-headwidget.center .navbar-header, .mg-headwidget.center .site-branding-text {
	float: none;
	text-align: center;
}
.mg-headwidget.center .navbar-brand {
	float: none;
	display: inline-block;
	margin: 8px auto 0 auto;
	font-weight: bold;
}
.mg-headwidget.center .heacent {
	margin-top: 40px;
	color: #fff;
}
.navbar-wp .dropdown-menu.searchinner .btn {
	border: medium none;
	border-radius: 0 4px 4px 0;
	height: 40px;
	line-height: 25px;
	padding: 5px 15px;
}
.mg-search-box .dropdown-toggle::after {
	display: none;
}
.m-header {
	display: none;
}
.desk-header {
	display: flex;
}
.mobilehomebtn {
	width: 30px;
	text-align: center;
	line-height: 30px;
	height: 30px;
}
.mg-blog-post.md {
	width: 49.8%;
	float: left;
	height: 236px;
}
.mg-blog-post.md .bottom h4 {
	font-size: 26px;
}
.mb1px {
	margin-bottom: 1px;
}
.mg-blog-post.lg.mins {
	width: 100%;
	height: 222.5px;
	margin-bottom: 30px;
}
.mg-blog-post.lg.mins h4.title {
	font-size: 22px;
}
.post-items ul:not(.post-categories) li a, .post-items ol:not(.post-categories) li a, .post-items table a, strong a, blockquote a, code a, p a, span:not(.author-name):not(.comments-link):not(.posted-on):not(.post-list) a, .navigation.posts-navigation .nav-links a:hover, #cancel-comment-reply-link, .comment-reply-link {
	text-decoration: underline;
}
.mg-blog-post .bottom h4 {
	margin: 0 0 10px 0;
}
.wp-block-search .wp-block-search__label::before, .mg-widget .wp-block-group h2::before {
	width: 0;
	position: absolute;
	right: -30px;
	top: 0;
	height: 0;
	border-style: solid;
	border-width: 40px 0 0 30px;
	content: "";
}
@media screen and (max-width: 767px) and (min-width: 240px) {
	.mg-headwidget .navbar-wp .navbar-nav > li > a {
		position: relative;
		border-bottom: 1px solid rgba(225, 225, 225, 0.4);
	}
	.mg-fea-area .mr-bot60 {
		margin-bottom: 30px;
	}
	.mg-blog-post.lg {
		margin-bottom: 30px;
	}
	blockquote::before {
		margin: 6px 0;
	}
}
@media (max-width: 991px) {
	.navbar-wp .navbar-nav > li > a i {
		display: none;
	}
}
@media (min-width: 1200px) {
	.mg-blog-post.md .bottom h4 {
		max-height: 65px;
		overflow: hidden;
	}
}
@media (max-width: 991.98px) {
	#menu-primary li.active.home {
		display: none;
	}
	.m-header {
		width: 100%;
		padding-right: 15px;
		padding-left: 15px;
		display: flex;
		justify-content: space-between;
	}
	.desk-header {
		display: none;
	}
}
@media (min-width: 508px) and (max-width: 991px) {
	blockquote::before {
		width: 10%;
	}
	blockquote p {
		width: 90%;
	}
	.mg-nav-widget-area .site-title a {
		font-size: 30px;
	}
}
@media only screen and (max-width: 640px) {
	.site-branding-text .site-title a {
		font-size: 33px;
	}
}
@media screen and (max-width: 991.98px) and (min-width: 767px) {
	.wp-block-search__inside-wrapper {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pulse.animated .mg-blog-meta .mg-blog-date {
		font-size: 11px;
		margin-right: 10px;
	}
	.pulse.animated .mg-blog-meta a {
		font-size: 11px;
	}
	.pulse.animated .post-edit-link i {
		margin-left: 10px;
	}
}
@media screen and (max-width: 767px) and (min-width: 576px) {
	.mg-fea-area .col-sm-6 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	.mg-fea-area .col-md-3 {
		display: flex;
	}
	.mg-fea-area .mg-blog-post.lg.mins {
		margin: 0 5px 30px 0;
	}
	.mg-fea-area .col-md-3.col-sm-6 {
		display: block;
	}
}

/* Visually-hidden H1 (homepage SEO: the site title is not rendered as an
   H1 anywhere because header text is off — header.php prints one with
   this class on the front page). Standard visually-hidden pattern. */
.kk-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ============ 1. HERO ============ */
/* The hero slider (#homemain) is an <img> inside .mg-blog-post.lg, sized
   by the theme's INLINE customizer CSS (#newsup-style-inline-css):
   height 100%, object-fit cover, object-position center. The
   background-* rules below are kept as a no-op defence for any .back-img
   that IS a background image — they do nothing for the <img> hero.
   FOCAL POINT (2 Dec fix): center crops portrait/square slides
   vertically — the 1 Dec WhatsApp portrait (384x518, BJP Seva Doot
   slide) had its head cut off, and the square 3-person collage lost its
   top face. center 5% keeps the portrait head fully in frame at desktop
   (475px slot) and mobile (300px slot); the two 16:9 slides have no
   vertical crop so they are unaffected; the square collage keeps its
   top-right face fully and the top half of the bottom-right face (no
   single value can show all three faces in a 475px window of a 730px
   image). Long-term the portrait still wants an editorial replacement
   (384px upscaled ~1.9x — no CSS can add pixels). The #homemain ID
   beats the inline rule's (0,4,1) specificity. */
.mg-blog-post.lg.back-img {
	background-size: cover;
	background-position: center center;
}
#homemain .mg-blog-post.lg img.mg-featured-image {
	object-fit: cover;
	object-position: center 5%;
}

/* ============ 2. IN-ARTICLE IMAGES ============ */
/* Editor inserts default to 'medium' (200px), so existing posts keep that
   HTML. Fill the ~730px content column instead; the browser picks the
   ~768w candidate from srcset (sizes fixed in functions.php). Floated
   images keep their size. */
.page-content-single img.size-medium:not(.alignleft):not(.alignright),
.page-content-single img.size-large:not(.alignleft):not(.alignright),
.page-content-single img.size-full:not(.alignleft):not(.alignright) {
	width: 100%;
	height: auto;
}

/* ============ 3. TYPE SCALE ============ */
/* Body line-height 30px (1.875) -> 1.7; headings scale with clamp() so
   they shrink sanely on phones instead of staying at fixed desktop sizes. */
body {
	line-height: 1.7;
}
.page-content-single h1,
.mg-blog-post-box h1.title.single {
	font-size: clamp(26px, 5vw, 34px);
	line-height: 1.25;
}
.page-content-single h2 {
	font-size: clamp(24px, 4.5vw, 32px);
	line-height: 1.3;
}
.page-content-single h3 {
	font-size: clamp(21px, 4vw, 28px);
	line-height: 1.35;
}
.page-content-single h4 {
	font-size: clamp(19px, 3.5vw, 24px);
	line-height: 1.4;
}

/* ============ 4. HOMEPAGE H1 (SEO) ============ */
/* The homepage H1 is the site title, hidden with Bootstrap .d-none because
   the logo already shows the brand. Keep it in the DOM (not display:none)
   using the standard visually-hidden pattern — no layout change. */
h1.site-title.d-none {
	display: block !important;
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ============ 5. BADGES / META / TAP TARGETS ============ */
/* Category chips: 10px/~18px tall -> 12px/~30px tall. */
.mg-blog-category a {
	font-size: 12px;
	padding: 7px 10px;
	line-height: 1.3;
}
/* Dropdown items: 9px -> 12px vertical padding (navigation.css:157). */
.navbar-wp .dropdown-menu > li > a,
.navbar-wp .dropdown-menu .dropdown-item {
	padding-top: 12px;
	padding-bottom: 12px;
}
/* Burger hit area: ~48x40 -> >=48x48. */
.navbar-toggler {
	min-width: 48px;
	min-height: 48px;
	padding: 0.75rem 1rem;
}
/* Mobile nav links: roomier tap targets (collapsed menu, <=991px). */
@media (max-width: 991px) {
	.navbar-wp .navbar-nav > li > a {
		padding: 14px 16px;
	}
}

/* ============ 6. STICKY NAV ============ */
/* Works because the child header.php places .mg-menu-full outside
   <header> (a sticky element cannot stick past its parent's box).
   ROOT CAUSE of the transparent-sticky defect (found by the 2 Dec
   desktop visual check): the theme's nav background lives in
   newsup/css/colors/default.css as `.mg-headwidget .navbar-wp`
   (#d10014) — scoped under the <header> element (.mg-headwidget).
   Moving .mg-menu-full out of <header> orphaned the nav from that
   rule, so it went transparent and the links floated over photos and
   headlines. Fix: restore the theme's own colour on the moved wrapper
   itself, plus a subtle shadow so the bar separates from content when
   stuck. Admin-bar offset keeps it below the WP bar when logged in. */
.mg-menu-full {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: #d10014;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
body.admin-bar .mg-menu-full {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .mg-menu-full {
		top: 46px;
	}
}

/* ============ 7. MOBILE: horizontal-scroll guard + align bleed ============ */
/* The parent's .alignwide/.alignfull bleed (left:-20px, width:100%+40px)
   is only reset at min-width:570px — undo it below 570px at the source. */
@media (max-width: 569px) {
	.alignwide,
	.alignfull {
		left: 0;
		width: 100%;
		max-width: 100%;
	}
}
/* Defense-in-depth: clip horizontal overflow on the content area only,
   on MOBILE (where the <570px align bleed lives). Deliberately NOT on
   html/body, and NOT on desktop: a non-visible overflow on an ancestor
   is the prime suspect for the desktop sidebar sticky not working
   (Phase 2), and desktop has no align bleed (the parent resets it at
   min-width:570px). */
@media (max-width: 768px) {
	#content {
		overflow-x: clip;
	}
}

/* ============ 8. MOBILE APP-SHELL (max-width: 768px) ============ */
/* App-like mobile shell, modelled on the reference portals
   (aajkijandhara / cgkhabar): slim sticky top bar, horizontal
   category strip, trending chips, breaking ticker, compact card
   list, fixed bottom nav. Everything here is mobile-only — desktop
   is untouched: the bottom nav, category strip and mobile brand are
   display:none above 768px, and every restyle below sits inside the
   media query. */

/* Hidden on desktop (shown only inside the media query below). */
.kk-bottom-nav,
.kk-cat-strip,
.kk-mobile-brand,
.kk-overlay,
.kk-drawer,
.kk-search-panel,
.kk-wa-float,
.kk-wa-panel {
	display: none;
}

@media (max-width: 768px) {
	/* --- 8a. Slim sticky top bar --- */
	/* Hide the date/time bar and the big logo banner on mobile; the
	   sticky navy nav (.mg-menu-full, §6) becomes the slim top bar.
	   Note: hiding the banner also hides the H1 on mobile — it was
	   display:none (Bootstrap .d-none) on mobile before the refresh
	   too, and it stays visually-hidden on desktop, so nothing is
	   lost vs the original theme. */
	.mg-head-detail,
	.mg-nav-widget-area-back {
		display: none;
	}
	/* Compact brand in the mobile top bar. The custom logo is
	   white-on-transparent, so it reads on the navy bar. */
	.kk-mobile-brand {
		display: flex;
		align-items: center;
		margin: 0 auto;
		min-width: 0;
	}
	.kk-mobile-brand .kk-mobile-logo {
		height: 32px;
		width: auto;
		max-width: 150px;
	}
	.kk-mobile-wordmark {
		color: #fff;
		font-weight: 800;
		font-size: 17px;
		letter-spacing: 1px;
		white-space: nowrap;
	}
	.m-header {
		gap: 8px;
	}

	/* --- 8b. Category strip (horizontal scroll) --- */
	.kk-cat-strip {
		display: block;
		background: #fff;
		border-bottom: 1px solid #eee;
	}
	.kk-cat-strip-inner {
		display: flex;
		gap: 4px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 8px 10px;
	}
	.kk-cat-strip-inner::-webkit-scrollbar {
		display: none;
	}
	.kk-cat-strip a {
		white-space: nowrap;
		font-size: 14px;
		font-weight: 600;
		color: #333;
		padding: 6px 12px;
		border-radius: 999px;
		text-decoration: none;
	}
	.kk-cat-strip a.active {
		background: #d10014;
		color: #fff;
	}

	/* --- 8c. Trending chips (existing Top Tags) --- */
	/* v1.3 MARQUEE: the row auto-scrolls (JS rAF on the <ul>'s own
	   scrollLeft, items duplicated once for a seamless loop). The <ul>
	   is the scroll container, so the "Top Tags" label stays fixed on
	   the left while the pills move. Swipe still works — the <ul>
	   keeps overflow-x:auto. Without JS the row is just a swipeable
	   strip (no duplication, no auto-scroll). */
	.mg-tpt-tag-area {
		padding: 8px 0;
	}
	.mg-tpt-txnlst {
		display: flex;
		align-items: center;
		gap: 8px;
		overflow: hidden;
		padding: 0 10px;
	}
	.mg-tpt-txnlst strong {
		flex-shrink: 0;
		margin: 0;
		font-size: 12px;
		color: #c62828;
	}
	.mg-tpt-txnlst ul {
		display: flex;
		gap: 8px;
		flex: 1;
		min-width: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.mg-tpt-txnlst ul::-webkit-scrollbar {
		display: none;
	}
	.mg-tpt-txnlst ul li {
		flex-shrink: 0;
	}
	.mg-tpt-txnlst ul li a {
		display: inline-block;
		white-space: nowrap;
		background: #f1f3f5;
		border: 1px solid #e2e2e2;
		color: #d10014;
		border-radius: 999px;
		padding: 6px 12px;
		font-size: 13px;
	}

	/* --- 8d. Breaking ticker (existing Latest Post marquee) --- */
	.mg-latest-news {
		gap: 10px;
		min-height: 36px;
	}
	.mg-latest-news .bn_title .title {
		font-size: 13px;
		line-height: 34px;
		min-height: 34px;
		padding: 0 10px;
		background: #c62828;
	}
	.mg-latest-news .bn_title .effect-ripple {
		display: none;
	}
	.mg-latest-news .mg-latest-news-slider a {
		font-size: 14px;
		padding-left: 8px;
	}

	/* --- 8e. Compact card list --- */
	/* KhojKhabar's feed cards are article.mg-posts-sec-post (thumb
	   column + text column), NOT .small-post (no such class on this
	   site). Horizontal on mobile: 110px thumb left, text right. The
	   article is d-md-flex (flex only >=768px), so display:flex here
	   only affects mobile; desktop is untouched. */
	.mg-posts-sec-post {
		display: flex;
		gap: 12px;
		padding: 12px 0;
		border-bottom: 1px solid #eee;
	}
	.mg-posts-sec-post > .col-12 {
		flex: 0 0 110px;
		max-width: 110px;
		padding: 0;
	}
	.mg-posts-sec-post .mg-post-thumb img {
		width: 110px;
		height: 82px;
		object-fit: cover;
		border-radius: 6px;
	}
	.mg-posts-sec-post > .mg-sec-top-post {
		flex: 1;
		min-width: 0;
		padding: 0 !important;
	}
	.mg-posts-sec-post .mg-sec-top-post h4.title {
		font-size: 15px;
		line-height: 1.35;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.mg-posts-sec-post .mg-blog-meta {
		font-size: 12px;
		margin-top: 4px;
	}

	/* --- 8f. Hide sidebar bloat on mobile --- */
	#block-3,       /* sidebar: Archives block (23 months) */
	#categories-2 { /* sidebar: full category list (32 items) */
		display: none;
	}

	/* --- 8g. Bottom fixed nav --- */
	.kk-bottom-nav {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1040;
		background: #fff;
		border-top: 1px solid #e2e2e2;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.kk-bnav-item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		padding: 8px 0 7px;
		color: #666;
		text-decoration: none;
		background: none;
		border: 0;
		font: inherit;
		font-size: 20px;
		line-height: 1;
		cursor: pointer;
	}
	.kk-bnav-item .kk-bnav-label {
		font-size: 11px;
		line-height: 1.2;
	}
	.kk-bnav-item.active {
		color: #d10014;
	}
	.kk-bnav-item:focus-visible {
		outline: 2px solid #d10014;
		outline-offset: -2px;
	}
	/* Back-to-top button must clear the fixed nav. */
	.ta_upscr {
		bottom: 74px;
	}
	/* No bottom padding on #page: the fixed-nav clearance now lives
	   INSIDE the footer itself (footer .overlay padding-bottom, §15),
	   so the page ends at the blue footer with no strip below it.
	   (Was 62px — that padding showed as a white strip under the
	   footer once the trailing credits line was removed, user order
	   23:37.) */
	#page {
		padding-bottom: 0;
	}
}

/* ============ 9. DESKTOP (min-width: 769px) ============ */
/* Desktop-only space utilisation + polish (2 Dec 2026). Everything
   here sits inside the media query, so the mobile app-shell (§8) is
   untouched. */

/* --- 9a. Tighten the dead space above the ticker --- */
/* The banner (.mg-nav-widget-area-back .inner) carries 25px padding
   top+bottom around the logo, and the date bar 8px — that stack is the
   dead space the user flagged above the ticker. Slim the banner to a
   brand bar and cap the logo height (natural size is 693x205). */
@media (min-width: 769px) {
	/* --- 9a. Slimmer header (Phase 2): the desktop check found the
	   header still ~300px tall (banner ~100 + nav ~90 + tags + ticker).
	   Tighten every layer; nothing is hidden. Before ≈ 265px
	   (date 30 + banner 96 + nav ~65 + tags 36 + ticker 40);
	   after ≈ 210px (date 26 + banner 72 + nav ~46 + tags 32 +
	   ticker 34). */
	.mg-nav-widget-area-back .inner {
		padding: 8px 0;
	}
	.mg-head-detail {
		padding: 3px 0;
	}
	.mg-nav-widget-area .site-logo img.custom-logo {
		max-height: 56px;
		width: auto;
	}
	.mg-tpt-tag-area {
		padding: 0;
	}
	/* Nav: tighter link + bar padding (Bootstrap defaults are .5rem;
	   the menu links carry no theme padding of their own). */
	.navbar-wp {
		padding-top: 4px;
		padding-bottom: 4px;
	}
	.navbar-wp .navbar-nav > li > a {
		padding: 6px 12px;
	}
	/* Ticker: shorter bar. */
	.mg-latest-news {
		min-height: 34px;
	}
	.mg-latest-news .bn_title .title {
		line-height: 33px;
		font-size: 18px;
	}

	/* --- 9b. Card polish: soft shadow + hover lift on the homepage
	   list cards (.mg-posts-sec-post). Tasteful only — no colour or
	   layout change, and the hero (.mg-blog-post.lg) is not touched.
	   4px lift, deeper shadow, border tint so the lift is visible. --- */
	.mg-posts-sec-post {
		background: #fff;
		border: 1px solid #ececec;
		border-radius: 8px;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
		padding: 14px;
		margin-bottom: 16px;
		transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
	}
	.mg-posts-sec-post:hover {
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
		transform: translateY(-4px);
		border-color: #eccfd2;
	}
	.mg-posts-sec-post .mg-post-thumb img {
		border-radius: 6px;
	}

	/* --- 9c. Sticky sidebar (Phase 2) --- */
	/* The desktop check found the right column empty beside the last
	   3–4 feed cards: the sidebar ends before the feed. The parent
	   theme already declares .sidebar-sticky (sticky, top:24px) but
	   two things defeat it: (1) the child theme's #content
	   overflow-x:clip (§7) is a non-visible overflow on an ancestor —
	   now scoped to mobile only; (2) top:24px slides the sidebar
	   UNDER the sticky nav. Restate it here explicitly with a top
	   that clears the slimmed nav (~46px) plus margin. The sticky
	   element travels exactly the sidebar's shortfall, so the right
	   column stays filled down to the last card; the capped widgets
	   (Archives 12mo, Categories top 15, ticker 10) stay capped. */
	.sidebar-sticky {
		position: sticky;
		align-self: flex-start;
		top: 88px;
	}

	/* --- 9d. Grid card images: fixed crop (Phase 2) --- */
	/* .mg-blog-post-3 cards ("You missed" + grids) render tall
	   portrait photos (e.g. the 384x518 WhatsApp portrait) at natural
	   size: the image is narrower than the card and far taller than
	   the text, leaving a large white area. Fix: fixed-height image
	   box + object-fit:cover so every card image fills the same
	   frame without distortion (15% focal point keeps faces near the
	   top of portraits in frame). The hero (.mg-blog-post.lg) uses
	   different rules and is NOT touched; feed thumbs (.mg-post-thumb,
	   already cropped) are NOT touched. */
	.mg-blog-post-3 .mg-blog-img {
		height: 190px;
		min-height: 0;
		max-height: none;
	}
	.mg-blog-post-3 .mg-blog-img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 15%;
	}
	/* The parent caps modul-1 card images at max-height:160px — that
	   would leave a gap inside the 190px box, so lift the cap here
	   (same specificity as the parent rule, child CSS loads last). */
	.mg-posts-modul-1 .mg-blog-post-3 .mg-blog-img img {
		max-height: none;
	}
}

/* ============ 10. MOBILE v1.2 (max-width: 768px) ============ */
/* User feedback after checking the app-shell on his phone (2 Dec 2026):
   categories open a SIDE drawer (not the top menu), search opens a real
   panel, the top navbar goes away, Contact Us becomes a floating
   WhatsApp side button, gradients go professional, and post/page
   reading goes app-like. Everything here is mobile-only. */

@media (max-width: 768px) {
	/* [hidden] must win over the display rules below (author styles
	   beat the UA [hidden] rule), otherwise closed overlays would
	   still paint. */
	.kk-overlay[hidden],
	.kk-drawer[hidden],
	.kk-search-panel[hidden],
	.kk-wa-panel[hidden] {
		display: none !important;
	}
	/* Scroll lock while an overlay is open. */
	body.kk-no-scroll {
		overflow: hidden;
	}

	/* --- 10a. Slim header: the top navbar goes away --- */
	/* The bottom nav already has Videos + About; the top bar keeps
	   ONLY the logo. Home button, burger and the search icon (the
	   whole .mg-search-box dropdown) are hidden, and so is the
	   collapsible #navbar-wp menu they opened. The sticky navy bar
	   itself stays — it is the slim header now, with a subtle
	   professional gradient instead of flat navy. */
	.mg-menu-full .m-header .mobilehomebtn,
	.mg-menu-full .m-header .navbar-toggler,
	.mg-menu-full .m-header .mg-search-box,
	.mg-menu-full #navbar-wp {
		display: none !important;
	}
	.mg-menu-full {
		background: linear-gradient(135deg, #d10014 0%, #6e000c 100%);
	}
	.mg-menu-full .m-header {
		justify-content: center;
	}

	/* --- 10b. Professional gradients + interactive touches --- */
	.kk-cat-strip a.active {
		background: linear-gradient(135deg, #d10014 0%, #b30012 100%);
	}
	.kk-bnav-item {
		position: relative;
		transition: transform 0.15s ease, color 0.15s ease;
	}
	.kk-bnav-item:active {
		transform: scale(0.94);
	}
	.kk-bnav-item.active::before {
		content: "";
		position: absolute;
		top: 0;
		left: 22%;
		right: 22%;
		height: 3px;
		border-radius: 0 0 4px 4px;
		background: linear-gradient(90deg, #d10014, #f5b81e);
	}
	.mg-posts-sec-post {
		transition: background-color 0.15s ease;
	}
	.mg-posts-sec-post:active {
		background-color: #fdf7f7;
	}

	/* --- 10c. Categories side drawer --- */
	.kk-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(40, 0, 4, 0.45);
		z-index: 1050;
		opacity: 0;
		transition: opacity 0.25s ease;
	}
	.kk-overlay.open {
		opacity: 1;
	}
	.kk-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(320px, 85vw);
		background: #fff;
		z-index: 1051;
		transform: translateX(-105%);
		transition: transform 0.3s ease;
		box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
	}
	.kk-drawer.open {
		transform: translateX(0);
	}
	.kk-drawer-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px 12px 12px 20px;
		background: linear-gradient(135deg, #d10014 0%, #b30012 100%);
		color: #fff;
	}
	.kk-drawer-title {
		font-size: 18px;
		font-weight: 700;
	}
	.kk-drawer-close {
		background: none;
		border: 0;
		color: #fff;
		font-size: 20px;
		width: 44px;
		height: 44px;
		cursor: pointer;
	}
	.kk-drawer-list {
		flex: 1;
		overflow-y: auto;
		padding: 6px 0;
	}
	.kk-drawer-list a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 13px 20px;
		border-bottom: 1px solid #f0f0f0;
		font-size: 15px;
		font-weight: 600;
		color: #222;
		text-decoration: none;
	}
	.kk-drawer-list a .fa-chevron-right {
		font-size: 12px;
		color: #aaa;
	}
	.kk-drawer-list a.active {
		color: #d10014;
		background: linear-gradient(90deg, rgba(209, 0, 20, 0.08), rgba(209, 0, 20, 0));
		border-left: 3px solid #d10014;
	}
	.kk-drawer-foot {
		display: flex;
		justify-content: center;
		gap: 10px;
		padding: 14px;
		border-top: 1px solid #eee;
		font-size: 13px;
	}
	.kk-drawer-foot a {
		color: #d10014;
		font-weight: 600;
	}

	/* --- 10d. Search panel (top sheet, large input) --- */
	.kk-search-panel {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1052;
		background: rgba(40, 0, 4, 0.5);
		opacity: 0;
		transition: opacity 0.25s ease;
		pointer-events: none;
	}
	.kk-search-panel.open {
		opacity: 1;
		pointer-events: auto;
	}
	.kk-search-sheet {
		background: #fff;
		border-radius: 0 0 16px 16px;
		padding: 14px 16px 18px;
		transform: translateY(-110%);
		transition: transform 0.3s ease;
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
	}
	.kk-search-panel.open .kk-search-sheet {
		transform: translateY(0);
	}
	.kk-search-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 12px;
	}
	.kk-search-title {
		font-size: 17px;
		font-weight: 700;
		color: #d10014;
	}
	.kk-search-close {
		background: none;
		border: 0;
		font-size: 20px;
		color: #555;
		width: 44px;
		height: 44px;
		cursor: pointer;
	}
	.kk-search-field {
		display: flex;
		border: 2px solid #d10014;
		border-radius: 12px;
		overflow: hidden;
		background: linear-gradient(180deg, #ffffff, #fdf7f7);
	}
	.kk-search-field input[type="search"] {
		flex: 1;
		min-width: 0;
		border: 0;
		outline: none;
		padding: 14px 12px;
		font-size: 18px;
		background: transparent;
	}
	.kk-search-submit {
		flex: 0 0 52px;
		border: 0;
		background: linear-gradient(135deg, #d10014 0%, #b30012 100%);
		color: #fff;
		font-size: 18px;
		cursor: pointer;
	}
	.kk-search-hint {
		margin: 10px 2px 0;
		font-size: 13px;
		color: #777;
	}

	/* --- 10e. Floating WhatsApp Contact Us (side button + slide-out) --- */
	.kk-wa-float {
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		right: 0;
		top: 46%;
		z-index: 1045;
		width: 52px;
		height: 52px;
		border: 0;
		border-radius: 26px 0 0 26px;
		background: #25d366;
		color: #fff;
		font-size: 28px;
		cursor: pointer;
		box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.25);
		animation: kk-wa-pulse 2.6s ease-out infinite;
	}
	@keyframes kk-wa-pulse {
		0% { box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.45); }
		70% { box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(37, 211, 102, 0); }
		100% { box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0); }
	}
	.kk-wa-panel {
		display: block;
		position: fixed;
		right: 0;
		top: 46%;
		transform: translate(105%, -50%);
		width: min(320px, 86vw);
		background: #fff;
		border-radius: 14px 0 0 14px;
		box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
		/* MUST sit above the shared dimming backdrop (.kk-overlay,
		   z-index 1050): at 1046 the overlay covered the panel, so the
		   panel itself looked dark and the overlay ate every tap (the
		   tel:/mailto: links were unreachable). 1053 keeps the panel
		   bright and tappable while the page behind stays dimmed. */
		z-index: 1053;
		transition: transform 0.3s ease;
		/* Text must stay selectable/copyable even if any parent rule
		   sets user-select: none (the parent theme does, in places). */
		-webkit-user-select: text;
		user-select: text;
	}
	.kk-wa-panel.open {
		transform: translate(0, -50%);
	}
	.kk-wa-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 10px 10px 18px;
		background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
		color: #fff;
		border-radius: 14px 0 0 0;
	}
	.kk-wa-title {
		font-size: 16px;
		font-weight: 700;
	}
	.kk-wa-close {
		background: none;
		border: 0;
		color: #fff;
		font-size: 18px;
		width: 40px;
		height: 40px;
		cursor: pointer;
	}
	.kk-wa-body {
		padding: 14px 18px 16px;
		font-size: 14px;
	}
	.kk-wa-person {
		margin: 0 0 2px;
	}
	.kk-wa-person strong {
		display: block;
		font-size: 15px;
		color: #111;
	}
	.kk-wa-person span {
		font-size: 12px;
		color: #777;
	}
	.kk-wa-line {
		margin: 2px 0 10px;
		color: #333;
	}
	.kk-wa-line i {
		color: #128c7e;
		margin-right: 6px;
	}
	.kk-wa-line a {
		color: #d10014;
		text-decoration: none;
		overflow-wrap: anywhere;
	}
	.kk-wa-more {
		margin: 12px 0 0;
		padding-top: 10px;
		border-top: 1px solid #eee;
	}
	.kk-wa-more a {
		color: #d10014;
		font-weight: 600;
	}

	/* --- 10f. Post/page reading on mobile: app-like typography --- */
	.page-content-single p,
	.mg-card-box p {
		font-size: 17px;
		line-height: 1.8;
		color: #222;
	}
	.mg-blog-post-box h1.title.single,
	.mg-card-box h1 {
		font-size: 24px;
		line-height: 1.3;
	}
	.single .mg-blog-meta,
	.page-content-single .mg-blog-meta {
		font-size: 13px;
		color: #666;
	}
	.single .mg-blog-meta a,
	.page-content-single .mg-blog-meta a {
		color: #d10014;
	}
	/* "You missed" cards: tidy single-column cards on mobile. */
	.missed-section .mg-blog-post-3 {
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
		margin-bottom: 14px;
	}
	.missed-section h4 {
		font-size: 16px;
		line-height: 1.4;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kk-wa-float {
		animation: none;
	}
}

/* ============ 11. FOOTER DEVELOPER CREDIT (all widths) ============ */
/* Rendered after the parent's copyright line (functions.php §12). */
.kk-developer-credit {
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	padding: 0 12px 14px;
}
.kk-developer-credit a {
	color: #fff;
}

/* ============ 11b. FOOTER COPYRIGHT LINE (Phase 3, all widths) ============ */
/* Dynamic-year line (functions.php §13). Sits below the developer credit,
   separated by a faint rule so the footer reads as a finished block. */
.kk-copyright-line {
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
	padding: 10px 12px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============ 13. LIVE SEARCH SUGGESTIONS (Phase 5, all widths) ============ */
/* Dropdown rendered by assets/js/khojkhabar-search-suggest.js under every
   search input (desktop header, sidebar, mobile search panel). The form is
   the positioning context. */
form[role="search"] {
	position: relative;
}
.kk-search-suggest {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	border: 1px solid #f3d9db;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(80, 0, 8, 0.22);
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 340px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	text-align: left;
}
/* Highlighted search terms (functions.php §22): bold + a soft tint.
   <mark> is styled ONLY inside search contexts — the results page and this
   dropdown — so a <mark> anywhere else on the site is untouched. */
.search-results mark,
.kk-search-suggest mark {
	background: #fff3bf;
	color: inherit;
	font-weight: 700;
	padding: 0 1px;
	border-radius: 2px;
}
.kk-suggest-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	text-decoration: none;
	border-bottom: 1px solid #eef1f6;
}
.kk-suggest-item:hover,
.kk-suggest-item:focus {
	background: #fdf3f4;
	text-decoration: none;
}
.kk-suggest-thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: #fbe9ea;
}
.kk-suggest-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.kk-suggest-body {
	flex: 1;
	min-width: 0;
}
.kk-suggest-title {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	color: #4d0009;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.kk-suggest-excerpt {
	display: block;
	font-size: 12.5px;
	line-height: 1.45;
	color: #5b6b84;
	margin-top: 2px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.kk-suggest-dym {
	display: block;
	width: 100%;
	text-align: left;
	padding: 9px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #b30012;
	background: #fdf0f1;
	border: none;
	border-bottom: 1px solid #f6d5d8;
	cursor: pointer;
}
.kk-suggest-empty {
	padding: 12px;
	font-size: 13px;
	color: #5b6b84;
}
.kk-suggest-all {
	display: block;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 700;
	color: #d10014;
	background: #fdfafa;
	text-decoration: none;
	text-align: center;
}
.kk-suggest-all:hover {
	background: #f9ecec;
	text-decoration: none;
}

/* ============ 14. LIGHT MODERN SWEEP (2 Dec 2026) ============ */
/* User direction: LIGHT theme, gradient, modern, positivity. Light
   backgrounds, soft fresh gradients, airy spacing, soft shadows, rounded
   corners. Navy #d10014 stays the BRAND ACCENT (headers/nav/buttons/active
   states) — the page feel is light, not dark. VISUAL ONLY: no behaviour,
   links or functionality change anywhere (except the §23 comment-field
   removal, which the user explicitly ordered).
   Tokens: --kk-grad (navy gradient), --kk-soft (light header tint). */
:root {
	--kk-grad: linear-gradient(135deg, #d10014 0%, #b30012 60%, #d10014 100%);
	--kk-soft: linear-gradient(135deg, #fdf0f1 0%, #eafaf3 100%);
	--kk-card-shadow: 0 8px 28px rgba(209, 0, 20, .08);
	--kk-ring: 0 0 0 3px rgba(209, 0, 20, .16);
}

/* --- 14a. Page background: #eee -> airy light --- */
.wrapper { background: #fdf8f8; }

/* --- 14b. Comment form: light card, textarea + gradient send button --- */
#respond.comment-respond {
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--kk-card-shadow);
	padding: 22px 22px 18px;
	margin-top: 24px;
	position: relative;
	overflow: hidden;
}
#respond.comment-respond::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--kk-grad);
}
#reply-title.comment-reply-title {
	font-size: 20px;
	font-weight: 700;
	color: #d10014;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f9ecec;
}
#reply-title.comment-reply-title::after {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	border-radius: 3px;
	background: var(--kk-grad);
	margin-top: 8px;
}
#commentform .comment-form-comment textarea#comment {
	width: 100%;
	min-height: 110px;
	resize: vertical;
	border: 1px solid #dbe3f0;
	border-radius: 12px;
	background: #fdfafa;
	padding: 13px 15px;
	font-size: 15px;
	line-height: 1.7;
	color: #1e293b;
	box-sizing: border-box;
}
#commentform .comment-form-comment textarea#comment:focus {
	outline: none;
	border-color: #b30012;
	background: #fff;
	box-shadow: var(--kk-ring);
}
#commentform .form-submit { margin: 12px 0 0; }
#commentform #submit.submit {
	background: var(--kk-grad);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 11px 28px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(209, 0, 20, .25);
	transition: transform .18s ease, box-shadow .18s ease;
}
#commentform #submit.submit:hover,
#commentform #submit.submit:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(209, 0, 20, .30);
}
#commentform #submit.submit .fa-paper-plane { margin-right: 8px; }
#commentform .g-recaptcha { margin: 14px 0 4px; }
/* CAPTCHA error notice (functions.php §27): light red, clearly readable. */
.kk-captcha-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
/* Comment list (no approved comments yet — styles ready for the first one). */
ol.comment-list { list-style: none; padding: 0; margin: 0; }
ol.comment-list li.comment { margin-bottom: 16px; }
ol.comment-list .comment-body {
	background: #fff;
	border: 1px solid #e8eef7;
	border-radius: 14px;
	box-shadow: var(--kk-card-shadow);
	padding: 16px 18px;
}
ol.comment-list .comment-author img.avatar {
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(209, 0, 20, .18);
}
ol.comment-list .comment-author .fn { font-weight: 700; color: #d10014; }
ol.comment-list .comment-metadata { font-size: 12.5px; color: #64748b; }
ol.comment-list .comment-metadata a { color: #64748b; }
ol.comment-list .comment-content { color: #1e293b; line-height: 1.7; }
ol.comment-list .reply a {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: #d10014;
	background: #fdf0f1;
	border-radius: 999px;
	padding: 5px 14px;
	text-decoration: none;
}
ol.comment-list .reply a:hover { background: var(--kk-grad); color: #fff; }
.comment-awaiting-moderation {
	display: inline-block;
	background: #fef9c3;
	color: #854d0e;
	border-radius: 8px;
	padding: 3px 10px;
	font-size: 13px;
}
#comments.comments-area { border: 0; }
#comments .comments-title {
	font-size: 19px;
	font-weight: 700;
	color: #d10014;
}

/* --- 14c. Search boxes (sidebar + header widget; mobile panel keeps §10) --- */
#searchform { display: flex; gap: 8px; }
#searchform .search-field,
#searchform input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 1px solid #dbe3f0;
	border-radius: 999px;
	background: #fdfafa;
	padding: 10px 16px;
	font-size: 14px;
	color: #1e293b;
}
#searchform .search-field:focus,
#searchform input[type="search"]:focus {
	outline: none;
	border-color: #b30012;
	background: #fff;
	box-shadow: var(--kk-ring);
}
#searchform .search-submit,
#searchform input[type="submit"] {
	background: var(--kk-grad);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(209, 0, 20, .22);
}
#searchform .search-submit:hover { transform: translateY(-1px); }

/* --- 14d. Sidebar widgets: light cards, gradient title accent --- */
.widget-area .widget,
.sidebar .widget {
	background: #fff;
	border: 1px solid #e8eef7;
	border-radius: 14px;
	box-shadow: var(--kk-card-shadow);
	padding: 18px 18px 14px;
	margin-bottom: 20px;
}
.widget-area .widget-title,
.widget-area .widget h2,
.widget-area .widget_block h2,
.widget-area .widget .wp-block-heading {
	font-size: 17px;
	font-weight: 700;
	color: #d10014;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f9ecec;
}
.widget-area .widget-title::after,
.widget-area .widget h2::after,
.widget-area .widget_block h2::after {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--kk-grad);
	margin-top: 7px;
}
.widget-area .widget ul { list-style: none; padding: 0; margin: 0; }
.widget-area .widget ul li {
	padding: 8px 2px;
	border-bottom: 1px solid #faf0f0;
}
.widget-area .widget ul li:last-child { border-bottom: 0; }
.widget-area .widget ul li a { color: #334155; text-decoration: none; }
.widget-area .widget ul li a:hover { color: #d10014; }
.widget-area .widget .count,
.widget-area .widget ul li .count {
	float: right;
	background: #fdf0f1;
	color: #d10014;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	padding: 1px 9px;
}
/* Tag cloud: soft pills. */
.widget_tag_cloud .tagcloud a,
.widget .tagcloud a {
	display: inline-block;
	background: #fdf0f1;
	color: #d10014;
	border-radius: 999px;
	padding: 5px 13px;
	margin: 0 6px 8px 0;
	font-size: 13px !important;
	text-decoration: none;
	transition: all .18s ease;
}
.widget_tag_cloud .tagcloud a:hover,
.widget .tagcloud a:hover {
	background: var(--kk-grad);
	color: #fff;
	transform: translateY(-1px);
}

/* --- 14e. Pagination: rounded pills, gradient active --- */
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #dbe3f0;
	color: #d10014;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(209, 0, 20, .06);
	transition: all .18s ease;
}
.navigation.pagination .nav-links a.page-numbers:hover {
	border-color: #b30012;
	transform: translateY(-1px);
}
.navigation.pagination .nav-links .page-numbers.current {
	background: var(--kk-grad);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 12px rgba(209, 0, 20, .25);
}
.navigation.pagination .nav-links .page-numbers.dots { border: 0; background: transparent; box-shadow: none; }

/* --- 14f. Archive / category headers: soft light gradient --- */
.mg-breadcrumb-section {
	background: var(--kk-soft);
	border-bottom: 1px solid #e2e8f0;
}
.mg-breadcrumb-section .mg-breadcrumb-title h1.title,
.mg-breadcrumb-section h1.title {
	color: #d10014;
	font-weight: 800;
}
.mg-breadcrumb-section .mg-breadcrumb-title a { color: #b30012; }
.mg-breadcrumb-section .mg-breadcrumb-title { color: #475569; }

/* --- 14g. Author box: light gradient card --- */
.media.mg-info-author-block {
	background: linear-gradient(135deg, #ffffff 0%, #fdf0f1 100%);
	border: 1px solid #e8eef7;
	border-radius: 16px;
	box-shadow: var(--kk-card-shadow);
	padding: 20px;
}
.media.mg-info-author-block .mg-author-pic img {
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(209, 0, 20, .18);
}
.media.mg-info-author-block .media-heading,
.media.mg-info-author-block h4 { color: #d10014; font-weight: 700; }
.media.mg-info-author-block p { color: #475569; line-height: 1.7; }

/* --- 14h. Share buttons (AddToAny): rounded, soft, lift on hover --- */
.addtoany_list a,
.a2a_kit a {
	border-radius: 50% !important;
	box-shadow: 0 2px 8px rgba(209, 0, 20, .12);
	transition: transform .18s ease, box-shadow .18s ease;
}
.addtoany_list a:hover,
.a2a_kit a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(209, 0, 20, .20);
}

/* --- 14i. Related / "You missed" section title accent --- */
.missed-section .mg-sec-title h4 {
	color: #d10014;
	font-weight: 800;
}
.missed-section .mg-sec-title h4::after {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	border-radius: 3px;
	background: var(--kk-grad);
	margin-top: 8px;
}
.missed-section .mg-blog-post-3 {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--kk-card-shadow);
}

/* --- 14j. 404 page: friendly gradient number + gradient button --- */
.mg-error-404 { text-align: center; padding: 40px 16px 48px; }
.mg-error-404 h1,
.mg-error-404 .error-404-title {
	font-size: clamp(72px, 18vw, 140px);
	font-weight: 800;
	line-height: 1;
	background: var(--kk-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.mg-error-404 p { color: #475569; font-size: 16px; }
.mg-error-404 a.btn,
.mg-error-404 .btn,
.mg-error-404 a[href="/"] {
	display: inline-block;
	background: var(--kk-grad);
	color: #fff;
	border-radius: 999px;
	padding: 12px 30px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(209, 0, 20, .25);
}
.mg-error-404 a.btn:hover { transform: translateY(-1px); color: #fff; }

/* --- 14k. Footer widgets: gradient title accent, airy spacing (no colour
   assumptions — the footer background is the parent's navy) --- */
.mg-footer-widget-area .widget { margin-bottom: 22px; }
.mg-footer-widget-area .widget-title,
.mg-footer-widget-area .widget h2,
.mg-footer-widget-area .widget_block h2 {
	font-weight: 700;
	padding-bottom: 10px;
	margin-bottom: 12px;
}
.mg-footer-widget-area .widget-title::after,
.mg-footer-widget-area .widget h2::after,
.mg-footer-widget-area .widget_block h2::after {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(135deg, #fbbf24, #f5b81e);
	margin-top: 7px;
}
.mg-footer-widget-area .widget ul li { padding: 6px 0; }
.mg-footer-widget-area .widget a:hover { text-decoration: underline; }

/* --- 14l. Contact form (WPForms): rounded inputs, gradient submit --- */
.wpforms-form .wpforms-field input,
.wpforms-form .wpforms-field select,
.wpforms-form .wpforms-field textarea {
	border: 1px solid #dbe3f0 !important;
	border-radius: 10px !important;
	background: #fdfafa !important;
	padding: 11px 14px !important;
	color: #1e293b !important;
}
.wpforms-form .wpforms-field input:focus,
.wpforms-form .wpforms-field select:focus,
.wpforms-form .wpforms-field textarea:focus {
	outline: none !important;
	border-color: #b30012 !important;
	background: #fff !important;
	box-shadow: var(--kk-ring) !important;
}
.wpforms-form .wpforms-field-label { font-weight: 700 !important; color: #d10014 !important; }
.wpforms-form button[type="submit"].wpforms-submit {
	background: var(--kk-grad) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 12px 32px !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 14px rgba(209, 0, 20, .25) !important;
}
.wpforms-form button[type="submit"].wpforms-submit:hover { transform: translateY(-1px); }
.wpforms-form .wpforms-error { color: #dc2626 !important; }

/* --- 14m. Focus states (keyboard users) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid rgba(209, 0, 20, .35);
	outline-offset: 2px;
}

/* ============ 15. CONTRAST FIXES + FOOTER GAP/CREDITS (2 Dec 2026) ============ */
/* Job 2 — colour-contrast audit (user order 23:04, phone screenshots).
   Evidence-based: every rule below fixes a measured parent/child
   combination, checked against the served HTML + the parent's
   css/colors/default.css. Colours/backgrounds only — no text, link or
   behaviour changes. Tokens from §14 (--kk-grad navy gradient). */

/* --- 15a. "Related news" section title: dark navy on the parent's blue
   block was unreadable (black-on-blue in the user's screenshot). The
   parent paints .mg-sec-title h4 with a blue background + white text;
   the child's §14i set the text navy without removing the background.
   Fix: drop the blue block, keep the navy title + gradient underline,
   matching the sidebar widget titles (§14d). --- */
.missed-section .mg-sec-title h4 {
	background: transparent;
	padding-left: 0;
	padding-right: 0;
}

/* --- 15b. Image-card meta: the child's §10f mobile rule
   (.single .mg-blog-meta { color:#666 } / a { color:#d10014 }) leaks
   onto the "related news" image cards on single-post pages (body has
   class .single), turning their date/author dark-on-dark over the
   photo. The parent intends them white over the card's dark scrim.
   Belt and braces: force white here (higher specificity than §10f)
   and strengthen the bottom scrim so white text survives bright
   photos. --- */
.mg-blog-post-3 .mg-blog-inner .mg-blog-meta,
.mg-blog-post-3 .mg-blog-inner .mg-blog-meta a,
.mg-blog-post-3 .mg-blog-inner .mg-blog-meta i,
.mg-blog-post-3 .mg-blog-inner .mg-blog-meta span {
	color: #fff;
}
.mg-blog-post-3 .mg-blog-inner {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.8) 100%);
}

/* --- 15c. Post-bottom share icons (theme's own .mg-share-icons):
   white icons on light-grey #CCD1D9 (~1.6:1). Not rendered on the
   site right now (AddToAny is used instead) — defensive: navy
   gradient so they are readable if the bar is ever enabled. --- */
.mg-post-bottom .mg-share-icons .mg-share span a,
.mg-post-bottom .mg-share-icons .mg-share-toggle {
	background: var(--kk-grad);
	border-color: transparent;
}

/* --- 15d. Author-box "By" span: #999 on white (~2.8:1) -> readable. --- */
.mg-info-author-block h4 span {
	color: #64748b;
}

/* --- 15e. Category chips, defensive: the parent's colour-2 (amber
   #feb236) and colour-4 (green #82b74b) chips carry WHITE text
   (~1.9:1 / ~2.6:1). No chip on the site uses them today (all are
   colour-1 blue) — dark text now so they can never render unreadable. --- */
a.newsup-categories.category-color-2 {
	background: #feb236;
	color: #1e293b;
}
a.newsup-categories.category-color-4 {
	background: #82b74b;
	color: #1e293b;
}

/* --- 15f. Footer small-post text, defensive: the parent paints
   footer .small-post-content p / .mg-blog-meta a #212121 on the dark
   footer (#121026). No such widget is in the footer today (page-list
   only) — light text now so one can never render dark-on-dark. --- */
footer .mg-widget .small-post-content p,
footer .mg-widget .small-post-content .mg-blog-meta a,
footer .mg-widget .small-post-content .mg-blog-meta i {
	color: rgba(255, 255, 255, 0.88);
}

/* --- 15g. Base meta text: the parent's .mg-blog-meta is #bdbdbd
   (~1.9:1 on white) — the links are #333, but stray separator text
   inherits the pale grey. Nudge to a readable slate; image-card meta
   stays white via §15b (higher specificity). --- */
.mg-blog-meta {
	color: #64748b;
}

/* Job 3 — footer gap + credits (user order 23:04, phone screenshot).
   (1) The dark gap: on mobile the footer widget area holds ONLY the
   page-list block (#block-4) — a short list — yet footer .overlay
   keeps 40px top padding and the bottom-area divide-line keeps a 40px
   bottom margin. Tighten both on mobile.
   (2) The credits line ("2026 © Website Owned & Copyright by
   khojkhabar.net | Themeansar | ...") was rendered AFTER </footer>
   and after the fixed bottom nav, OUTSIDE #page — so the #page
   padding-bottom (62px, §8g) never protected it and the nav cut it
   in half. UPDATE 23:37 (user order): that credits line is REMOVED
   entirely (hidden in §16 below), so the bottom clearance now lives
   INSIDE the footer instead: footer .overlay gets bottom padding of
   37px + safe-area, which together with the 25px bottom padding of
   .mg-footer-copyright gives 62px + safe-area of dark footer below
   the "© 2026 KhojKhabar" line — enough to clear the ~50px fixed
   bottom nav — and the page ends at the blue footer with no white
   strip below it. The old body { padding-bottom: 80px } rule is
   deleted: it was only there for the credits line, and it painted
   the white gap under the footer. */
@media (max-width: 768px) {
	footer .overlay {
		padding-top: 14px;
		padding-bottom: calc(37px + env(safe-area-inset-bottom, 0px));
	}
	footer .mg-footer-bottom-area .divide-line {
		margin-bottom: 16px;
	}
}

/* --- 16. Remove the trailing credits line (Customizer CSS body::after).
   On this site the credits line ("2024 © Website Owned & Copyright by
   Khojkhabar.net | Theme Credits - Themeansar | ...") was printed by
   Customizer CSS (post 225) as body::after, AFTER </footer> — it is NOT
   part of the footer, and it carried a stale year (2024) and a stale
   job title. The Customizer CSS is rewritten (hide rule + body::after
   removed, logo rule kept); this rule stays as a belt-and-braces
   fallback in case the Customizer CSS is ever restored. The page now
   ends at the footer with "© <year> KhojKhabar. All rights reserved."
   The "Proudly powered by WordPress | Theme: News Talk by Themeansar"
   paragraph inside the footer is kept in the markup but hidden by the
   rule below (leave hidden, do not delete). --- */
body::after {
	display: none !important;
}
.mg-footer-copyright .row > .col-md-6:first-child > p {
	display: none;
}

/* --- 17. Small slanted KhojKhabar-logo stamp watermark on cards (user order
   2 Dec 23:44-23:45, scope expanded 23:45 to EVERY card listing).
   The theme's post-format badge (.post-form: camera/video/gallery/audio/
   sticky icon) is swapped for <span class="kk-stamp"> by the output
   buffer in functions.php §30; grid cards (.mg-blog-post-3) have no
   badge, so their stamp is the ::after on the image wrapper below.
   The logo is the site's real custom logo (white-on-transparent PNG) on
   a small navy chip, so it reads on any photo. "Chota sa": the logo is
   ~14px tall, the chip ~50px wide, rotated -8deg, semi-transparent —
   a mark, not a cover. The .post-form { display:none } rule is a visual
   fallback only (in case the buffer ever misses a badge variant); it
   does not remove markup. --- */

/* Visual fallback only: hide any badge the buffer missed. */
.post-form {
	display: none !important;
}

/* Stamp chip (buffer-injected span). Positioned by its card context. */
.kk-stamp {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	padding: 3px 6px;
	background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
	border: 1.5px solid rgba(255, 255, 255, 0.95);
	outline: 1px solid rgba(255, 255, 255, 0.45);
	outline-offset: 2px;
	border-radius: 3px;
	opacity: 0.92;
	transform: rotate(-8deg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	pointer-events: none;
	line-height: 0;
}
.kk-stamp img {
	display: block;
	height: 14px;
	width: auto;
}

/* Placement: top-right of the image, clear of the category chip
   (top-left) and the title (bottom). */
.mg-post-thumb .kk-stamp {
	top: 10px;
	right: 10px;
}
/* In hero cards the stamp span sits inside article.bottom (the text
   overlay at the foot of the image), so "top" here is the top edge of
   that overlay — just above the title, over the photo. */
.mg-blog-post.lg .kk-stamp {
	top: 0;
	right: 12px;
}

/* Make the thumb a positioning context (defensive: the parent does not
   declare position on .mg-post-thumb). */
.mg-post-thumb {
	position: relative;
}

/* Grid cards (.mg-blog-post-3): no badge exists, so the stamp is a
   ::after on the image wrapper. Same chip, same size, same slant.
   --kk-stamp-logo is set by functions.php §30 (dynamic custom-logo
   URL); the hardcoded URL is the fallback if the var is missing. */
.mg-blog-post-3 .mg-blog-img {
	position: relative;
}
.mg-blog-post-3 .mg-blog-img::after {
	content: "";
	position: absolute;
	z-index: 3;
	top: 10px;
	right: 10px;
	width: 60px;
	height: 24px;
	background-color: #1a1a1a;
	background-image: var(--kk-stamp-logo, url("https://khojkhabar.net/wp-content/uploads/2024/06/unscreen.gif"));
	background-size: 48px auto;
	background-position: center;
	background-repeat: no-repeat;
	border: 1.5px solid rgba(255, 255, 255, 0.95);
	outline: 1px solid rgba(255, 255, 255, 0.45);
	outline-offset: 2px;
	border-radius: 3px;
	opacity: 0.92;
	transform: rotate(-8deg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

/* ============ 18. ADS — Auto Ads organisation + modern styling ============ */
/* v1.18.0, 3 Dec 2026 (user order 2 Dec 23:59: organise the ads properly,
   modern-styled layout).
   EVIDENCE (served HTML, home + single post + category, fetched 3 Dec):
   - Auto Ads script present once per page, in <head>, placed by Site Kit
     (ca-pub-9181741487008106, host ca-host-pub-2644536267352236).
   - ZERO <ins> units in server HTML on all three templates: pure Auto
     Ads, no manual slots anywhere (parent NewsUp + child theme grepped).
   - ZERO .google-auto-placed in server HTML: Auto Ads injects client-side
     only, so the final render can only be confirmed on a real device.
   WHAT WAS UNTIDY: nothing styled the injected units at all — an ad
   landed flush against feed cards / article text with no margin, no
   radius, no label, looking pasted-on; and a unit dropped into a
   Bootstrap .row would have no .col-* class and could squeeze beside
   a card instead of taking a full row.
   SCOPE: in-flow placements only (feed, in-article, sidebar). Anchor /
   vignette ads attach to <body>, outside these selectors, and are
   untouched by this CSS — see 18e. No ad slots added, no post content,
   links or behaviour touched, nothing changed in the AdSense account. */

/* --- 18a. The ad unit itself: block-level, never wider than its
   container, never forcing horizontal scroll on a phone. --- */
.google-auto-placed ins.adsbygoogle {
	display: block;
	max-width: 100%;
}

/* --- 18b. In-flow ad card: same language as the site's cards (desktop
   .mg-posts-sec-post, §9b) — white, 1px #ececec border, 8px radius, soft
   shadow — with a small "विज्ञापन" label so the unit reads as a
   deliberate, labelled placement instead of a pasted-on box. --- */
.mg-posts-sec .google-auto-placed,
.mg-posts-sec-inner .google-auto-placed,
.page-content-single .google-auto-placed,
#secondary .google-auto-placed {
	margin: 16px 0;
	padding: 12px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}
.mg-posts-sec .google-auto-placed::before,
.mg-posts-sec-inner .google-auto-placed::before,
.page-content-single .google-auto-placed::before,
#secondary .google-auto-placed::before {
	content: "विज्ञापन";
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 600;
	color: #9aa0a6;
	text-align: center;
}

/* --- 18c. Grid defence: a unit dropped straight into a Bootstrap .row
   has no .col-* class — force a full row so it cannot squeeze beside
   a card. --- */
.row > .google-auto-placed {
	flex: 0 0 100%;
	max-width: 100%;
}

/* --- 18d. In-article: never tuck beside a floated image. --- */
.page-content-single .google-auto-placed {
	clear: both;
}

/* --- 18e. KNOWN LIMIT — anchor ads vs the mobile bottom nav (NOT fixed
   here, needs an account-side call): the fixed bottom nav (.kk-bottom-nav,
   z-index 1040, bottom:0, mobile only) and the back-to-top button
   (.ta_upscr, bottom:74px) sit exactly where an AdSense anchor ad docks.
   Anchor ads render in a top-layer frame no page CSS can outrank, so if
   anchor ads are enabled in AdSense they will cover the bottom nav (and
   the back-to-top button) while shown. RECOMMENDATION for the owner:
   AdSense > Ads > Auto ads > turn OFF "Anchor ads" (in-feed, in-article
   and matched-content formats are unaffected). Until then, phone-check
   the bottom nav with an anchor ad visible. --- */
