/*
Theme Name: TechQor Lite Theme
Theme URI: https://techqor.com
Description: Ultra-lightweight, SEO-focused Genesis child theme for modern tech blogs.
Author: Krishna Sharma
Author URI: https://techqor.com
Version: 1.0.0
Template: genesis
Text Domain: techqor-lite
*/
body {
	background: #ffffff;
	color: #111111;
}

.site-header,
.site-footer {
	background: #ffffff;
}

a {
	color: #2563eb;
}


*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }



body {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
 background:#fff; color:#111; line-height:1.7;
}


/* ==================================================
   SINGLE POST – ONE MASTER READING CONTAINER
================================================== */

.single-post .content-sidebar-wrap {
	display: flex;
	justify-content: center;
}


/* Children inherit alignment automatically */
.single-post .entry-header,
.single-post .entry-content,
.single-post .entry-footer {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}


.single-post .content-sidebar-wrap {
	display: flex;
	justify-content: center;
}

.single-post .entry-content {
	width: 100%;
}



/* Headings spacing for long content */
.single .entry-content h2 {
	margin-top: 2.2em;
	margin-bottom: 0.8em;
	font-size: 1.6rem;
}

.single .entry-content h3 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	font-size: 1.3rem;
}

/* Paragraph readability */
.single .entry-content p {
	margin-bottom: 1.4em;
}

/* Lists */
.single .entry-content ul,
.single .entry-content ol {
	margin: 1.2em 0 1.6em 1.4em;
}

.single .entry-content li {
	margin-bottom: 0.6em;
}

/* Inline code */
.single .entry-content code {
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.95em;
}

/* Code blocks */
.single .entry-content pre {
	background: #0f172a;
	color: #e5e7eb;
	padding: 16px;
	overflow-x: auto;
	border-radius: 6px;
	margin: 1.6em 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

.single .entry-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}




/* ==================================================
   PRO AUTO TABLE OF CONTENTS (TOC)
================================================== */

.techqor-toc {
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	padding: 16px 18px;
	margin: 2em auto;
	max-width: 740px;
	border-radius: 6px;
}

.techqor-toc-title {
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 0.95rem;
}

.techqor-toc ul {
	list-style: none;
	padding-left: 0;
}

.techqor-toc li {
	margin-bottom: 6px;
	font-size: 0.95rem;
}

.techqor-toc li ul {
	margin-left: 14px;
	margin-top: 6px;
}

.techqor-toc a {
	color: #2563eb;
	text-decoration: none;
}



/* Mobile collapsible */
@media (max-width: 768px) {
	.techqor-toc {
		cursor: pointer;
	}

	.techqor-toc ul {
		display: none;
	}

	.techqor-toc.active ul {
		display: block;
		margin-top: 10px;
	}
}



/* ==================================================
   POST CARD IMAGE – 16:9 SAFETY
================================================== */

.tq-post-thumb img,
.tq-card-media img {
	width: 100%;
	height: auto;
	display: block;
}


/* ==================================================
   PRO ADVANCED CODE BLOCKS
================================================== */

.techqor-code-wrap {
	position: relative;
	margin: 1.8em 0;
}

.techqor-code-lang {
	position: absolute;
	top: 8px;
	left: 12px;
	font-size: 0.75rem;
	color: #cbd5f5;
	opacity: 0.85;
}

.techqor-copy-btn {
	position: absolute;
	top: 6px;
	right: 8px;
	font-size: 0.75rem;
	padding: 4px 8px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	background: rgba(255,255,255,0.08);
	color: #e5e7eb;
}

.techqor-copy-btn:hover {
	background: rgba(255,255,255,0.16);
}



/* ==================================================
   FINAL STICKY HEADER (CSS ONLY – GUARANTEED)
================================================== */

/* Desktop only */
@media (min-width: 769px) {

	.site-header:not(.mobile-header) {
		position: sticky;
		top: 0;
		z-index: 9999;
	}

}


/* Inner container */
.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	height: 64px;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* Branding */
.site-branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-branding img {
	max-height: 34px;
	width: auto;
	display: block;
}

/* ==================================================
   DESKTOP NAVIGATION
================================================== */

.primary-navigation {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: flex-end;
}

.primary-navigation ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 28px;
}

.primary-navigation li {
	position: relative;
}


/* ==================================================
   DESKTOP MENU HOVER (NO UNDERLINE – PREMIUM)
================================================== */

.primary-navigation a {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text);
	padding: 6px 10px;
	border-radius: 6px;

	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		transform 0.15s ease;
}



/* ==================================================
   GENESIS CONTENT + SIDEBAR LAYOUT FIX
================================================== */

.content-sidebar-wrap {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.content {
	flex: 1;
	min-width: 0;
}

.sidebar-primary {
	width: 300px;
	flex-shrink: 0;
}


@media (max-width: 768px) {

	.content-sidebar-wrap {
		flex-direction: column;
	}

	.sidebar-primary {
		width: 100%;
	}
}




/* ==================================================
   GLOBAL UNDERLINE REMOVAL (ENTIRE THEME)
================================================== */

/* Remove underline everywhere */
a,
a:hover,
a:focus,
a:focus-visible,
a:active,
a:visited {
	text-decoration: none !important;
}

/* Extra safety for navigation */
.primary-navigation a,
.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation ul ul a {
	text-decoration: none !important;
}

/* Content area links (posts/pages) */
.entry-content a,
.entry-content a:hover,
.entry-content a:focus-visible {
	text-decoration: none !important;
}

/* TOC links */
.techqor-toc a {
	text-decoration: none !important;
}
 
 
 
 /* Sticky header base */
.site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: #ffffff;
}

/* 🔥 FULL WIDTH BOTTOM BORDER */
.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;

	height: 1px;

	/* Smooth subtle divider */
	background: linear-gradient(
		to right,
		transparent,
		rgba(0, 0, 0, 0.12),
		transparent
	);
	pointer-events: none;
}


/* ==================================================
   MOBILE OFF-CANVAS MENU
================================================== */

@media (max-width: 768px) {

	.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.25);
	backdrop-filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.mobile-menu-overlay.active {
	opacity: 1;
	pointer-events: all;
}



	/* Header inside offcanvas */
	.mobile-navigation-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px;
		border-bottom: 1px solid var(--border);
	}

	.mobile-navigation-header img {
		max-height: 32px;
	}

	.mobile-menu-close {
		background: none;
		border: none;
		font-size: 1.6rem;
		cursor: pointer;
		color: var(--text);
	}

	/* Menu list */
	.mobile-navigation ul {
		list-style: none;
		padding: 10px 0;
		margin: 0;
	}

	.mobile-navigation li {
		border-bottom: 1px solid var(--border);
	}

	.mobile-navigation a {
		display: block;
		padding: 14px 18px;
		font-size: 1rem;
		font-weight: 500;
		color: var(--text);
	}

	.mobile-navigation a:hover {
		background: rgba(0,0,0,0.04);
	}

	/* Body lock */
	body.mobile-menu-open {
		overflow: hidden;
	}
}


/* ==================================================
   SINGLE POST META – SVG + DIVIDER
================================================== */

.tq-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

	justify-content: flex-start; /* ✅ Desktop: LEFT */
	gap: 12px;
	margin-top: 6px;

	font-size: 14px;
	color: #374151;
}


.tq-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

/* SVG icons */
.tq-meta-item svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	opacity: 0.9;
}


.tq-meta-divider {
	width: 1px;
	height: 16px;

	background: linear-gradient(
		to bottom,
		transparent,
		rgba(0,0,0,0.35),
		transparent
	);

	opacity: 1;
}


@media (max-width: 768px) {

	.tq-single-meta {
		justify-content: center; /* ✅ Mobile: CENTER */
		font-size: 13px;
		gap: 10px;
	}

	.tq-meta-divider {
		height: 14px;
	}
}


/* ==================================================
   OFF-CANVAS MENU LOGO FIX
================================================== */

@media (max-width: 768px) {

	/* Offcanvas header logo wrapper */
	.mobile-navigation-header {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	/* Force logo size inside offcanvas */
	.mobile-navigation-header .custom-logo {
		max-height: 32px;
		width: auto;
		display: block;
	}

	.mobile-navigation-header img {
		max-height: 32px;
		max-width: 180px;
		width: auto;
		height: auto;
		object-fit: contain;
	}

}
/* ==================================================
   BETTER LINE SPACING (MOBILE + OFFCANVAS)
================================================== */

@media (max-width: 768px) {

	/* Off-canvas menu list spacing */
	.mobile-navigation ul {
		padding: 12px 0;
	}

	.mobile-navigation li {
		border-bottom: 1px solid var(--border);
	}

	/* Menu links – readability focused */
	.mobile-navigation a {
		padding: 16px 20px;
		font-size: 1.05rem;
		line-height: 1.6;              /* KEY FIX */
		letter-spacing: 0.2px;
	}

	/* Hindi text looks cramped without this */
	.mobile-navigation a:lang(hi),
	.mobile-navigation a:lang(mr),
	.mobile-navigation a:lang(bn) {
		line-height: 1.7;
		letter-spacing: 0.3px;
	}

	/* Submenu indentation + spacing */
	.mobile-navigation ul ul {
		padding-left: 18px;
		margin-top: 4px;
	}

	.mobile-navigation ul ul a {
		font-size: 0.98rem;
		padding: 14px 18px;
		line-height: 1.6;
		opacity: 0.95;
	}

	/* Offcanvas header spacing */
	.mobile-navigation-header {
		padding: 18px 20px;
	}

	/* Close button alignment polish */
	.mobile-menu-close {
		line-height: 1;
	}
}


/* ==================================================
   FINAL HAMBURGER ICON (CLEAN)
================================================== */

.hamburger-icon rect {
	fill: #000; /* pure black */
}

/* Hide hamburger when menu open */
body.mobile-menu-open .menu-toggle {
	opacity: 0;
	pointer-events: none;
}


/* ==================================================
   ACCESSIBILITY: FOCUS STATES
================================================== */

/* Global focus outline */
:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 3px;
}

/* Navigation specific */
.primary-navigation a:focus-visible,
.mobile-navigation a:focus-visible,
.menu-toggle:focus-visible,
.header-search-toggle:focus-visible,
.dark-mode-toggle:focus-visible,
.mobile-menu-close:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 4px;
	border-radius: 4px;
}

/* Remove ugly focus for mouse users */
:focus:not(:focus-visible) {
	outline: none;
}


/* ==================================================
   ACCESSIBILITY: REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/* Desktop only */
@media (min-width: 769px) {
	.mobile-header,
	.mobile-navigation,
	.mobile-menu-overlay {
		display: none;
	}
}

/* Mobile only */
@media (max-width: 768px) {
	.desktop-header {
		display: none;
	}
}

/* Hide hamburger when menu is open */
body.mobile-menu-open .menu-toggle {
	opacity: 0;
	pointer-events: none;
}

/* Close button only visible when menu open */
.mobile-menu-close {
	opacity: 0;
	pointer-events: none;
}

body.mobile-menu-open .mobile-menu-close {
	opacity: 1;
	pointer-events: auto;
}


/* ==================================================
   FORCE HIDE MOBILE UI ON DESKTOP (FINAL FIX)
================================================== */

/* DESKTOP: completely remove mobile header & menu */
@media (min-width: 769px) {

	.site-header.mobile-header,
	.mobile-navigation,
	.mobile-menu-overlay {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
		height: 0 !important;
		overflow: hidden !important;
	}

}

/* MOBILE: hide desktop header */
@media (max-width: 768px) {

	.site-header:not(.mobile-header) {
		display: none !important;
	}

}

/* ==================================================
   OFFCANVAS MENU — DAILYKHABAR STYLE (FINAL)
================================================== */

@media (max-width: 768px) {



	/* ---------- Offcanvas container ---------- */
	.mobile-navigation {
		width: 72%;
		max-width: 330px;
		background: #ffffff;
		box-shadow: 8px 0 24px rgba(0,0,0,0.15);
	}

	/* ---------- Top header (logo + close) ---------- */
	.mobile-navigation-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px;
		border-bottom: 1px solid #e5e7eb;
	}

	/* Logo size & position */
	.mobile-navigation-header img {
		max-height: 34px;
		width: auto;
		object-fit: contain;
	}

	/* Close button (right aligned) */
	.mobile-menu-close {
		font-size: 1.6rem;
		font-weight: 400;
		color: #111;
		padding: 4px 6px;
		line-height: 1;
	}

	/* ---------- Menu list ---------- */
	.mobile-navigation ul {
		padding: 0;
		margin: 0;
	}

	.mobile-navigation li {
		border-bottom: 1px solid #e5e7eb;
	}

	/* Menu text — EXACT NEWS STYLE */
	.mobile-navigation a {
		display: flex;
		align-items: center;
		justify-content: space-between;

		padding: 16px 18px;
		font-size: 1.05rem;
		font-weight: 400;
		line-height: 1.6;

		color: #111;
		background: #fff;
	}

	/* Hover / tap feedback */
	.mobile-navigation a:active {
		background: #f3f4f6;
	}

	/* ---------- Active item (red dot) ---------- */
	.mobile-navigation .current-menu-item > a::after {
		content: "";
		width: 8px;
		height: 8px;
		background: #dc2626;
		border-radius: 50%;
	}

	/* ---------- Submenu spacing ---------- */
	.mobile-navigation ul ul {
		padding-left: 0;
		background: #fafafa;
	}

	.mobile-navigation ul ul a {
		padding: 14px 22px;
		font-size: 1rem;
	}

}


/* ==================================================
   ANIMATED HAMBURGER / CLOSE BUTTON
================================================== */

/* Base button reset */
.menu-toggle,
.mobile-menu-close {
	position: relative;
	width: 28px;
	height: 22px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	font-size: 0; /* hide ☰ × text */
}

/* Common bars */
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span,
.mobile-menu-close::before,
.mobile-menu-close::after {
	content: "";
	position: absolute;
	height: 4px;
	background: #111;
	border-radius: 999px;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- HAMBURGER (DEFAULT) ---------- */

/* Top bar (short) */
.menu-toggle::before {
	top: 0;
	left: 0;
	width: 60%;
}

/* Middle bar (long) */
.menu-toggle span {
	top: 9px;
	left: 0;
	width: 100%;
}

/* Bottom bar (short, right aligned) */
.menu-toggle::after {
	bottom: 0;
	right: 0;
	width: 60%;
}

/* ---------- ACTIVE → CLOSE (X) ---------- */
.menu-toggle.active::before {
	transform: rotate(45deg);
	top: 9px;
	width: 100%;
}

.menu-toggle.active::after {
	transform: rotate(-45deg);
	bottom: 9px;
	width: 100%;
}

.menu-toggle.active span {
	opacity: 0;
	transform: scaleX(0);
}

/* ---------- CLOSE BUTTON (SAME STYLE) ---------- */
.mobile-menu-close::before,
.mobile-menu-close::after {
	top: 50%;
	left: 0;
	width: 100%;
}

.mobile-menu-close::before {
	transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-close::after {
	transform: translateY(-50%) rotate(-45deg);
}



@media (max-width: 768px) {

	.site-header.mobile-header .header-inner {
		position: relative;
		height: 56px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 14px;
	}

	/* Center logo */
	.site-header.mobile-header .site-branding {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}

/* ==================================================
   BLUR MOBILE HEADER WHEN OFFCANVAS OPEN
================================================== */

@media (max-width: 768px) {

	/* When offcanvas menu is open */
	body.mobile-menu-open .site-header.mobile-header {
		filter: blur(3px);
		opacity: 0.6;
		pointer-events: none; /* prevent interaction */
		transition: filter 0.25s ease, opacity 0.25s ease;
	}

}




/* ==================================================
   HAPTIC-STYLE TAP FEEDBACK (CSS ONLY)
================================================== */

button {
	-webkit-tap-highlight-color: transparent;
}

/* Tap down */
button:active {
	transform: scale(0.92);
	transition: transform 0.1s ease;
}

/* Smooth release */
button {
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Specific polish */
.menu-toggle:active,
.dark-mode-toggle:active,
.mobile-menu-close:active {
	transform: scale(0.9);
}



/* ===============================
   HAMBURGER ICON
================================ */

.menu-toggle {
	background: none;
	border: none;
	padding: 6px;
	cursor: pointer;
}



/* Hide hamburger when menu open */
body.mobile-menu-open .menu-toggle {
	opacity: 0;
	pointer-events: none;
}

/* ==================================================
   HIDE MOBILE HEADER WHEN OFF-CANVAS IS OPEN
================================================== */

body.mobile-menu-open .site-header.mobile-header {
	opacity: 0;
	pointer-events: none;
}


/* ==================================================
   OFF-CANVAS MENU – LEFT TO RIGHT SLIDE (FIXED)
================================================== */

.mobile-navigation {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 75%;
	max-width: 320px;
	background: #ffffff;
	z-index: 9999;

	transform: translateX(-100%);
	transition: transform 0.4s cubic-bezier(.4,0,.2,1);  
	will-change: transform;

	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}



/* OPEN STATE */
.mobile-navigation.active {
	transform: translateX(0);
}


/* ==================================================
   MOBILE HEADER LAYOUT FIX
================================================== */

@media (max-width: 768px) {

	.site-header.mobile-header .header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between; /* 🔥 KEY FIX */
		padding: 0 16px;
		height: 56px;
	}

	/* Logo LEFT */
	.site-header.mobile-header .site-branding {
		display: flex;
		align-items: center;
	}

	.site-header.mobile-header .site-branding img {
		max-height: 30px;
		width: auto;
	}

	/* Hamburger RIGHT */
	.menu-toggle {
		margin-left: auto; /* 🔥 FORCE RIGHT */
		display: flex;
		align-items: center;
		justify-content: center;
	}
}


/* ==================================================
   DESKTOP NAV SUBMENU ARROW (SMOOTH ROTATION)
================================================== */

.primary-navigation li.menu-item-has-children > a {
	position: relative;
	padding-right: 24px;
}

.primary-navigation li.menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;

	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;

	transform: translateY(-55%) rotate(45deg);
	opacity: 0.55;

	transition:
		transform 0.35s cubic-bezier(.4,0,.2,1), /* 🔥 smoother */
		opacity 0.25s ease;
}

/* Hover / focus / open */
.primary-navigation li.menu-item-has-children:hover > a::after,
.primary-navigation li.menu-item-has-children:focus-within > a::after,
.primary-navigation li.current-menu-ancestor > a::after {
	transform: translateY(-45%) rotate(-135deg);
	opacity: 1;
}


/* ==================================================
   SUBMENU POLISH (SPACING + DIVIDERS)
================================================== */

.primary-navigation ul ul {
	padding: 8px 0; /* tighter top/bottom */
}

/* Individual items */
.primary-navigation ul ul li {
	padding: 0;
}

/* Links */
.primary-navigation ul ul a {
	display: block;
	padding: 10px 18px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #0f172a;
	border-radius: 6px;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

/* Hover effect */
.primary-navigation ul ul a:hover,
.primary-navigation ul ul a:focus-visible {
	background-color: #f1f5f9;
	color: #2563eb;
	transform: translateX(2px);
}

/* Divider (except last) */
.primary-navigation ul ul li:not(:last-child) a {
	border-bottom: 1px solid #e5e7eb;
}

/* Slightly wider for readability */
.primary-navigation ul ul {
	min-width: 240px;
}

/* Prevent awkward wrapping */
.primary-navigation ul ul a {
	white-space: nowrap;
}

.primary-navigation ul ul {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;

	min-width: 220px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(0,0,0,0.08);

	/* 🔥 HIDDEN BY DEFAULT */
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);

	transition:
		opacity 0.25s ease,
		transform 0.35s cubic-bezier(.4,0,.2,1),
		visibility 0.25s ease;

	z-index: 999;
}

/* Show submenu only on hover / focus */
.primary-navigation li:hover > ul,
.primary-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}


.site-header {
    border-bottom: none;
    background: #fff;
}


/* ==================================================
   MOBILE OFF-CANVAS MENU – BASE
================================================== */

.mobile-navigation {
	padding: 20px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Header inside offcanvas */
.mobile-navigation-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px 16px;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 8px;
}

.mobile-navigation-header img {
	max-height: 32px;
	width: auto;
}

.mobile-menu-close {
	font-size: 1.6rem;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
}


/* ==================================================
   MOBILE MENU LIST
================================================== */

.mobile-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Each item */
.mobile-navigation li {
	border-bottom: 1px solid #f1f5f9;
}

/* Links */
.mobile-navigation a {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 14px 20px; /* 🔥 touch-friendly */
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.4;

	color: #0f172a;
}

/* Tap feedback */
.mobile-navigation a:active {
	background-color: #f1f5f9;
}

/* ==================================================
   MOBILE SUBMENU
================================================== */

.mobile-navigation ul ul {
	display: none;
	padding-left: 0;
	background: #f8fafc;
}

.mobile-navigation li.submenu-open > ul {
	display: block;
}

/* Submenu links */
.mobile-navigation ul ul a {
	padding: 12px 28px;
	font-size: 0.95rem;
	font-weight: 400;
	color: #334155;
}


/* Parent arrow */
.mobile-navigation li.menu-item-has-children > a::after {
	content: "›";
	font-size: 1.2rem;
	transform: rotate(90deg);
	opacity: 0.5;
	transition: transform 0.25s ease;
}

/* Rotate when open */
.mobile-navigation li.submenu-open > a::after {
	transform: rotate(-90deg);
	opacity: 0.9;
}


/* Prevent accidental text selection */
.mobile-navigation a {
	user-select: none;
}

/* Better scrolling on iOS */
.mobile-navigation {
	-webkit-overflow-scrolling: touch;
}


.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.35);
	backdrop-filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 9999;
}

.mobile-menu-overlay.active {
	opacity: 1;
	pointer-events: auto;
}


.hamburger-icon rect {
	fill: #000;
	transition: transform 0.3s ease, opacity 0.2s ease;
	transform-origin: center;
}

body.mobile-menu-open .hamburger-icon rect:nth-child(1) {
	transform: translateY(15px) rotate(45deg);
}

body.mobile-menu-open .hamburger-icon rect:nth-child(2) {
	opacity: 0;
}

body.mobile-menu-open .hamburger-icon rect:nth-child(3) {
	transform: translateY(-15px) rotate(-45deg);
}


/* ===============================
   OFFCANVAS SEARCH PILL
================================ */

.mobile-search-pill {
	padding: 14px 16px 10px;
}

.mobile-search-form {
	display: flex;
	align-items: center;
	gap: 10px;

	background: #f2f2f2;
	border-radius: 999px;
	padding: 12px 16px;
}

.mobile-search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	flex-shrink: 0;
}

.mobile-search-input {
	border: none;
	outline: none;
	background: transparent;

	width: 100%;
	font-size: 16px; /* 👈 important: prevents zoom */
	line-height: 1;

	color: #111;
}

/* Placeholder */
.mobile-search-input::placeholder {
	color: #888;
}

/* Remove default search X */
.mobile-search-input::-webkit-search-cancel-button {
	display: none;
}


/* ==================================================
   SINGLE POST – TYPOGRAPHY SYSTEM (STEP 1)
================================================== */

/* Base single post content */
.single .entry-content {
	font-size: 1.05rem;           /* ~16.8px */
	line-height: 1.75;
	color: #1f2937;
}

/* Full width layout → readable center column */
.single.full-width-content .entry-content {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

/* Headings rhythm */
.single .entry-content h1 {
	font-size: 2rem;
	line-height: 1.3;
	margin: 1.2em 0 0.6em;
}

.single .entry-content h2 {
	font-size: 1.55rem;
	line-height: 1.35;
	margin: 2.2em 0 0.7em;
}

.single .entry-content h3 {
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 1.8em 0 0.6em;
}

.single .entry-content h4 {
	font-size: 1.1rem;
	margin: 1.4em 0 0.5em;
}

/* Paragraph spacing */
.single .entry-content p {
	margin-bottom: 1.4em;
}

/* Lists */
.single .entry-content ul,
.single .entry-content ol {
	margin: 1.2em 0 1.6em 1.4em;
	padding: 0;
}

.single .entry-content li {
	margin-bottom: 0.6em;
}

/* Images inside content */
.single .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 1.8em 0;
}

/* Blockquotes */
.single .entry-content blockquote {
	border-left: 4px solid #e5e7eb;
	padding-left: 1em;
	color: #374151;
	margin: 1.8em 0;
	font-style: italic;
}

/* Inline code */
.single .entry-content code {
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.95em;
}

/* Code blocks */
.single .entry-content pre {
	background: #0f172a;
	color: #e5e7eb;
	padding: 16px;
	overflow-x: auto;
	border-radius: 6px;
	margin: 1.8em 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

.single .entry-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}

/* Links inside content */
.single .entry-content a {
	color: #2563eb;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Mobile polish */
@media (max-width: 768px) {

	.single .entry-content {
		font-size: 1rem;
		line-height: 1.7;
	}

	.single.full-width-content .entry-content {
		padding-left: 4px;
		padding-right: 4px;
	}

}


/* ==================================================
   SINGLE POST – SIDEBAR LAYOUT (STEP 2)
================================================== */

/* Base content + sidebar wrap */
.single .content-sidebar-wrap {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

/* Content area */
.single .content {
	flex: 1;
	min-width: 0; /* prevents overflow */
}

/* Sidebar */
.single .sidebar-primary {
	width: 300px;
	flex-shrink: 0;
}

/* Sidebar widgets spacing */
.single .sidebar-primary .widget {
	margin-bottom: 28px;
}

/* Sidebar widget titles */
.single .sidebar-primary .widget-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 12px;
	color: #111827;
}

/* Sidebar text */
.single .sidebar-primary {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #374151;
}

/* Full-width layout → no sidebar spacing hacks needed */
/* Genesis already removes sidebar markup */
.single.full-width-content .content-sidebar-wrap {
	display: block;
}

/* ==================================================
   MOBILE BEHAVIOR
================================================== */

@media (max-width: 768px) {

	.single .content-sidebar-wrap {
		flex-direction: column;
		gap: 40px;
	}

	.single .sidebar-primary {
		width: 100%;
	}

}




/* ==================================================
   SINGLE POST – FOOTER POLISH
================================================== */

/* Tags */
.entry-tags {
	margin-top: 2.5em;
	font-size: 0.9rem;
}

.entry-tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	text-decoration: none;
}

.entry-tags a:hover {
	background: #e5e7eb;
}

/* Prev / Next */
.pagination-single {
	margin: 3em 0;
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.pagination-single a {
	font-size: 0.95rem;
	color: #2563eb;
	text-decoration: none;
}

.pagination-single a:hover {
	text-decoration: underline;
}

/* Comments spacing */
#comments {
	margin-top: 4em;
}





/* ===============================
   SHARE BAR – CONTENT WIDTH
================================ */

.tq-share {
	max-width: 1100px;
	margin: 32px auto;
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* Button base */
.tq-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;

	padding: 10px 14px;
	border-radius: 4px;

	font-size: 14px;
	font-weight: 500;
	line-height: 1;

	color: #fff;
	text-decoration: none;
	white-space: nowrap;

	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Platform colors */
.tq-share-btn.twitter   { background: #1da1f2; }
.tq-share-btn.facebook  { background: #3b5998; }
.tq-share-btn.linkedin  { background: #0077b5; }
.tq-share-btn.reddit    { background: #ff4500; }
.tq-share-btn.telegram  { background: #f1c40f; color: #111; }

/* TEXT LABELS (DESKTOP ONLY) */
.tq-share-btn.twitter::after  { content: " Tweet"; }
.tq-share-btn.facebook::after { content: " Share"; }
.tq-share-btn.linkedin::after { content: " Share"; }
.tq-share-btn.reddit::after   { content: " Share"; }
.tq-share-btn.telegram::after { content: " Share"; }

/* Hover */
.tq-share-btn:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

/* ===============================
   MOBILE – ICON ONLY
================================ */

@media (max-width: 640px) {

	.tq-share-btn {
		padding: 10px;
		width: 44px;
		justify-content: center;
	}

	/* Hide text label */
	.tq-share-btn::after {
		display: none;
	}
}






/* ===============================
   RELATED ARTICLES
================================ */

.tq-related-section {
	margin-top: 50px;
}

.tq-related-title {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 20px;
}

.tq-related-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.tq-related-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.tq-related-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.tq-related-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.tq-related-post-title {
	font-size: 15px;
	line-height: 1.4;
	padding: 12px;
	margin: 0;
}

.tq-related-post-title a {
	color: #111;
	text-decoration: none;
}

.tq-related-post-title a:hover {
	color: #0073e6;
}


@media (max-width: 900px) {
	.tq-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.tq-related-grid {
		grid-template-columns: 1fr;
	}
}

/* ONLY Featured Post Widget inside Front Page */
.tq-front-latest .widget {
	width: 100%;
}

.tq-front-latest article {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	overflow: hidden;
	text-align: center;
	transition: transform .25s ease, box-shadow .25s ease;
}

.tq-front-latest article:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.tq-front-latest article img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.tq-front-latest article .entry-title,
.tq-front-latest article h2,
.tq-front-latest article h3 {
	font-size: 15px;
	font-weight: 600;
	padding: 14px 12px;
	color: #111827;
	line-height: 1.4;
}

.tq-front-latest article:hover h2,
.tq-front-latest article:hover h3 {
	color: #209cee;
}


.tq-archive-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}


.tq-card-body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}


.tq-card-cats a {
	display: inline-block;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f3f5;
	color: #555;
	margin-right: 6px;
	text-decoration: none;
}

.tq-card-cats a {
	display: inline-block;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f3f5;
	color: #555;
	margin-right: 6px;
	text-decoration: none;
}

.tq-card-title {
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	margin: 0;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===== SINGLE POST CORE LAYOUT ===== */

.single .content-sidebar-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 20px;
	display: flex;
	gap: 32px;
}

/* Content area */
.single .content {
	flex: 1;
	min-width: 0;
}

/* Sidebar */
.single .sidebar {
	width: 340px;
	flex-shrink: 0;
}

/* Full width content (no sidebar) */
.full-width-content.single .content {
	max-width: 760px;
	margin: 0 auto;
}


/* ===== SINGLE POST CORE LAYOUT ===== */

.single .content-sidebar-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 20px;
	display: flex;
	gap: 32px;
}

/* Content area */
.single .content {
	flex: 1;
	min-width: 0;
}

/* Sidebar */
.single .sidebar {
	width: 340px;
	flex-shrink: 0;
}

/* Full width content (no sidebar) */
.full-width-content.single .content {
	max-width: 760px;
	margin: 0 auto;
}

.tq-share-top {
	margin: 18px 0 20px;
}

.tq-share-bottom {
	margin: 32px 0;
}
.tq-related-section {
	margin: 48px 0;
}

.tq-author-box {
	margin: 48px 0 32px;
	padding: 24px;
	border-radius: 14px;
	background: #f9fafb;
}


.tq-related-section {
	margin: 48px 0;
}

.tq-author-box {
	margin: 48px 0 32px;
	padding: 24px;
	border-radius: 14px;
	background: #f9fafb;
}




/* ===============================
   SINGLE POST – FEATURED IMAGE FIX
================================ */

/* Ensure entry header respects content width */
.single .entry-header {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

/* Featured image wrapper */
.single .tq-single-featured-image {
	margin: 20px 0 28px;
	border-radius: 14px;
	overflow: hidden;
}

/* Image must never exceed content width */
.single .tq-single-featured-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.single.content-sidebar .entry-header {
	margin-left: 0;
	margin-right: 0;
}


/* ===============================
   SINGLE POST META (REFERENCE STYLE)
================================ */

.tq-post-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: #6b7280;
	margin: 10px 0 18px;
}

.tq-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.tq-meta-item img {
	border-radius: 50%;
}

.tq-meta-item svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	opacity: 0.7;
}

/* Mobile: slightly tighter */
@media (max-width: 600px) {
	.tq-post-meta {
		gap: 14px;
		font-size: 0.8rem;
	}
}


/* GRID */
.tq-post-grid {
	display: grid;
	gap: 24px;
}

/* Desktop */
@media (min-width: 1024px) {
	.tq-post-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* CARD */
.tq-post-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0,0,0,.08);
	transition: .25s ease;
}

.tq-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* IMAGE */
.tq-post-thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

/* BODY */
.tq-post-body {
	padding: 16px;
}

/* CATEGORIES */
.tq-post-cats {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.tq-post-cats span {
	background: #f1f1f1;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
}

/* TITLE */
.tq-post-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

.tq-post-title a {
	color: #111;
	text-decoration: none;
}

/* META */
.tq-post-meta {
	display: flex;
	gap: 12px;
	font-size: 13px;
	color: #666;
	align-items: center;
	flex-wrap: wrap;
}

.tq-meta {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* MOBILE LIST VIEW */
@media (max-width: 768px) {

	.tq-post-card {
		display: flex;
	}

	.tq-post-thumb {
		flex: 0 0 110px;
	}

	.tq-post-thumb img {
		aspect-ratio: 1 / 1;
		height: 100%;
	}

	.tq-post-body {
		padding: 12px;
	}

	.tq-post-title {
		font-size: 16px;
	}
}


/* ==================================================
   POST CARD IMAGE – 16:9 SAFE RATIO (NO CRASH)
================================================== */

.tq-post-card-thumb,
.tq-related-thumb {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: #f2f2f2;
}

/* 16:9 ratio using padding hack */
.tq-post-card-thumb::before,
.tq-related-thumb::before {
	content: "";
	display: block;
	padding-top: 56.25%; /* 16:9 */
}

.tq-post-card-thumb img,
.tq-related-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =========================================
   ARCHIVE HERO – DARK GRADIENT
========================================= */

.tq-archive-hero {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background:
		linear-gradient(
			135deg,
			rgba(10,10,10,0.92),
			rgba(25,25,25,0.88)
		);
	padding: 30px 20px;
	color: #f1f1f1;
}

.tq-archive-hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.tq-archive-title {
	font-size: 40px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 12px;
}

.tq-archive-description {
	max-width: 780px;
	margin: 0 auto 22px;
	font-size: 16px;
	color: #d6d6d6;
	line-height: 1.6;
}

.tq-archive-meta .meta-item {
	position: relative;
	padding-right: 18px;
}

.tq-archive-meta .meta-item::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 14px;
	background: linear-gradient(to bottom,transparent,rgba(241,241,241,.5),transparent);

}

.tq-archive-meta .meta-item:last-child::after {
	display: none;
}


.tq-archive-meta {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 15px;
	margin-bottom: 15px;
}

.tq-archive-meta .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #f1f1f1;
	opacity: 0.95;
}

.tq-archive-meta svg,
.tq-archive-search-btn svg {
	width: 16px;
	height: 16px;
	stroke: #f1f1f1;
	fill: none;
	stroke-width: 2;
	flex-shrink: 0;
}


/* SEARCH PILL */

.tq-archive-search {
	max-width: 640px;
	margin: 0 auto;
	position: relative;
}

.tq-archive-search-input {
	width: 100%;
	padding: 16px 56px 16px 22px;
	border-radius: 999px;
	border: none;
	font-size: 16px;
	background: #fff;
	color: #111;
}

.tq-archive-search button {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #111;
	color: #fff;
	cursor: pointer;
}

/* MOBILE */

@media (max-width: 768px) {

	.tq-archive-title {
		font-size: 28px;
	}

	.tq-archive-description {
		font-size: 15px;
	}

	.tq-archive-meta {
		font-size: 13px;
		gap: 12px;
	}
}


.tq-archive-search button svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
	stroke-width: 2;
	fill: none;
}
.tq-post-meta-divider {
	display: block;        /* 🔥 MOST IMPORTANT */
	width: 1px;
	height: 14px;
	background-color: #f9fafb;
	flex-shrink: 0;
}

.tq-post-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 6px;
	font-size: 14px;
	color: #666;
}

.tq-post-meta .tq-meta {
	white-space: nowrap;
}

.tq-post-meta {
	display: flex;
	align-items: center;       /* ✅ real vertical centering */
	justify-content: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 14px;
	color: #4b5563;
}

.tq-post-meta .tq-meta {
	position: relative;
	white-space: nowrap;
	line-height: 1.4;          /* 👈 important for balance */
}

/* PERFECTLY CENTERED DIVIDER */
.tq-post-meta .tq-meta-author::before {
	content: "";
	display: block;
	width: 1px;
	height: 12px;              /* controlled height */
	margin: 0 8px;             /* equal left-right spacing */
	background: linear-gradient(
		to bottom,
		transparent,
		rgba(209, 213, 219, 0.9),
		transparent
	);
}


/* ===============================
   POST GRID – DEFAULT (Archive)
   3 columns
================================ */

.archive .tq-post-grid,
.category .tq-post-grid,
.tag .tq-post-grid,
.search .tq-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* ===============================
   POST GRID – HOMEPAGE
   4 columns
================================ */

.home .tq-post-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}


/* ===============================
   AUTHOR BOX – HALF OVERLAP STYLE
================================ */

.tq-author-box {
	position: relative;
	margin-top: 80px;
	padding: 64px 24px 48px;
	text-align: center;
	background: linear-gradient(
		to bottom,
		#0f0f0f 0%,
		#1a1a1a 100%
	);
	border-radius: 16px;
	color: #e5e7eb;
}

/* Avatar overlaps from top */
.tq-author-avatar {
	position: absolute;
	top: -48px; /* 👈 half outside */
	left: 50%;
	transform: translateX(-50%);
}

.tq-author-avatar img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	background: #000;
	border: 4px solid #ffffff; /* clean cut on bg */
}

/* Content spacing adjusted for overlap */
.tq-author-name {
	margin-top: 16px;
	font-size: 20px;
	font-weight: 600;
	color: #ffffff;
}

.tq-author-bio {
	max-width: 520px;
	margin: 8px auto 0;
	font-size: 15px;
	line-height: 1.6;
	color: #d1d5db;
}


/* --------------------------------------------------
   ROLE LABEL + PULSE DOT
-------------------------------------------------- */

.tq-author-role {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.4px;
	color: rgba(255,255,255,0.75);
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tq-role-dot {
	display: inline-block;
	transform-origin: center;
	animation: tqDotPulse 2s ease-in-out infinite;
	opacity: 0.85;
}

/* subtle pulse — premium, not flashy */
@keyframes tqDotPulse {
	0%   { transform: scale(1);   opacity: 0.6; }
	50%  { transform: scale(1.25); opacity: 1; }
	100% { transform: scale(1);   opacity: 0.6; }
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

	.tq-author-box {
		padding: 56px 20px 40px;
	}

	.tq-author-avatar {
		top: -40px;
	}

	.tq-author-avatar img {
		width: 80px;
		height: 80px;
	}

	.tq-author-name {
		font-size: 18px;
	}

	.tq-author-bio {
		font-size: 14px;
	}
}



/* ==================================================
   GENESIS COMMENTS – BASE
================================================== */

.entry-comments,
.comment-respond {
	margin-top: 48px;
}

/* Title */
.entry-comments h3,
.comment-respond h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 24px;
	color: #111827;
}

/* ==================================================
   COMMENT LIST
================================================== */

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Single comment */
.comment {
	display: flex;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid #e5e7eb;
}

/* Nested comments */
.comment .children {
	margin-left: 48px;
	margin-top: 20px;
	border-left: 2px solid #f3f4f6;
	padding-left: 20px;
}

/* ==================================================
   AVATAR
================================================== */

.comment-author .avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ==================================================
   COMMENT BODY
================================================== */

.comment-content {
	flex: 1;
}

/* Author name */
.comment-author cite {
	font-style: normal;
	font-weight: 600;
	color: #111827;
}

/* Meta (date, edit link) */
.comment-meta {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

/* Comment text */
.comment-content p {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.7;
	color: #374151;
}

/* Reply link */
.comment-reply-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 500;
	color: #2563eb;
	text-decoration: none;
}

.comment-reply-link:hover {
	text-decoration: underline;
}

/* ==================================================
   COMMENT FORM
================================================== */

.comment-respond {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid #e5e7eb;
}

/* Form fields */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #ffffff;
	color: #111827;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

/* Labels */
.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: #374151;
}

/* Submit button */
.comment-form input[type="submit"] {
	margin-top: 12px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	border: none;
	border-radius: 8px;
	background: #111827;
	color: #ffffff;
	cursor: pointer;
}

.comment-form input[type="submit"]:hover {
	background: #000000;
}

/* ==================================================
   MOBILE RESPONSIVE
================================================== */

@media (max-width: 768px) {

	.comment {
		gap: 12px;
		padding: 16px 0;
	}

	.comment-author .avatar {
		width: 40px;
		height: 40px;
	}

	.comment-content p {
		font-size: 14px;
	}

	.comment .children {
		margin-left: 24px;
		padding-left: 16px;
	}

	.entry-comments h3,
	.comment-respond h3 {
		font-size: 18px;
	}
}

/* ==================================================
   AUTHOR COMMENT HIGHLIGHT
================================================== */

/* Author comment container */
.comment.bypostauthor {
	background: #f9fafb; /* subtle light background */
	border-radius: 12px;
	padding: 20px;
	margin-top: 20px;
	border: 1px solid #e5e7eb;
	position: relative;
}

/* Accent strip (left side) */
.comment.bypostauthor::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	background: #111827; /* theme primary */
	border-radius: 3px;
}

/* Author name emphasis */
.comment.bypostauthor .comment-author cite {
	font-weight: 700;
	color: #111827;
}

/* Optional label */
.comment.bypostauthor .comment-author cite::after {
	content: " • Author";
	font-size: 11px;
	font-weight: 500;
	margin-left: 6px;
	color: #6b7280;
}

/* Reply link slightly stronger */
.comment.bypostauthor .comment-reply-link {
	color: #111827;
}

/* ==================================================
   MOBILE TUNING
================================================== */

@media (max-width: 768px) {

	.comment.bypostauthor {
		padding: 16px;
	}

	.comment.bypostauthor::before {
		top: 10px;
		bottom: 10px;
	}
}


/* ==================================================
   SINGLE POST – FINAL ALIGNMENT
================================================== */

.single-post .entry {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .entry-header,
.single-post .entry-content {
	max-width: 100%;
}




/* ==================================================
   RELATED POSTS – 3 COLUMN + CTA BUTTON
================================================== */

.tq-related-section {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid #e5e7eb;
}

/* Title */
.tq-related-title {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 24px;
	color: #111827;
}

/* Grid: ONLY for related */
.tq-related-section .tq-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Button wrapper */
.tq-related-footer {
	margin-top: 32px;
	text-align: center;
}

/* Button */
.tq-related-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: #111827;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	text-decoration: none;
	transition: all 0.25s ease;
}

.tq-related-btn:hover {
	background: #111827;
	color: #ffffff;
	border-color: #111827;
}

/* ===============================
   RELATED CARD GRID ONLY
================================ */

.tq-related-section .tq-post-card {
	height: 100%;
	background-color: #fff;
	border: 1px solid #e5e7eb;
	overflow: hidden;
	box-shadow: none;
}

.tq-related-section .tq-card-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.tq-related-section .tq-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f2f2f2;
}

.tq-related-section .tq-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Smooth divider – ONLY related */
.tq-related-section .tq-card-media::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	height: 1px;
	background: linear-gradient(
		to right,
		transparent,
		#e5e7eb,
		transparent
	);
}



/* Content wrapper */
.tq-related-section .tq-card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0;
	text-align: center;
}

/* Title – ONLY related */
.tq-related-section .tq-card-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	padding: 12px 10px 14px;
	margin: 0;
	text-align: center;
}

/* Hide excerpt completely in related */
.tq-related-section .tq-card-excerpt {
	display: none;
}

/* ===============================
   RESPONSIVE – RELATED ONLY
================================ */

@media (max-width: 1024px) {
	.tq-related-section .tq-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.tq-related-section .tq-post-grid {
		grid-template-columns: 1fr;
	}
}


/* Title ONLY in related */
.tq-card-related .tq-card-title {
	text-align: center;
	padding: 12px 10px 14px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

/* No side padding elsewhere */
.tq-card-related .tq-card-content {
	padding: 0;
	text-align: center;
}


/* ===============================
   RELATED POSTS – HOVER INTERACTION
   (Shadow + Title Color)
================================ */

/* Default: NO shadow */
.tq-related-section .tq-post-card {
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* Hover effect – subtle lift + shadow */
.tq-related-section .tq-post-card:hover {
	border-color: #d1d5db;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}

/* Title color on hover */
.tq-related-section .tq-post-card:hover .tq-card-title {
	color: #209cee;
}

/* Smooth title transition */
.tq-related-section .tq-card-title {
	transition: color 0.25s ease;
}



/* ==================================================
   ARCHIVE POST CARD – CLEAN REDESIGN
   (ONLY archive posts)
================================================== */

/* Card shell */
.tq-card-archive {
	background-color: #fff;
	border-radius: 12px;
	overflow: hidden;
}

/* Image: edge-to-edge, no padding */
.tq-card-archive .tq-card-media {
	padding: 0;
	margin: 0;
}

/* Content wrapper – padding starts AFTER image */
.tq-card-archive .tq-card-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Title */
.tq-card-archive .tq-card-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.45;
	color: #111827;
	margin: 0 0 10px;
	text-align: left;
	transition: color 0.25s ease;
}

/* Hover title color */
.tq-card-archive:hover .tq-card-title {
	color: #209cee;
}

/* Meta wrapper – centered */
.tq-card-archive .tq-card-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 12px;
}

/* Separator between date & author */
.tq-card-archive .tq-card-meta span + span::before {
	content: "•";
	margin: 0 6px;
	color: #9ca3af;
}

/* Excerpt – light black, bottom aligned */
.tq-card-archive .tq-card-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #374151;
	margin-top: auto;
}

/* ==================================================
   ARCHIVE FIX – POSTS WITHOUT FEATURED IMAGE
================================================== */

/* Allow content to size naturally */
.tq-card-archive .tq-card-content {
	height: auto; /* 🔥 important */
}

/* Do NOT push excerpt out when image is missing */
.tq-card-archive .tq-card-excerpt {
	margin-top: 8px; /* normal spacing */
}

/* ==================================================
   ARCHIVE META – SINGLE LINE + TOP/BOTTOM BORDERS
================================================== */

/* Meta wrapper */
.tq-card-archive .tq-card-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;           /* 🔥 single line */
	white-space: nowrap;
	gap: 10px;

	padding: 8px 0;
	margin: 10px 0 14px;

	font-size: 13px;
	color: #6b7280;

	/* Smooth top & bottom borders */
	border-top: 1px solid #eef0f3;
	border-bottom: 1px solid #eef0f3;
}

/* Separator between date & author */
.tq-card-archive .tq-card-meta span + span::before {
	content: "•";
	margin: 0 8px;
	color: #9ca3af;
}

/* ==================================================
   ARCHIVE META – FORCE INSIDE CARD
================================================== */

/* Content wrapper must control width */
.tq-card-archive .tq-card-content {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden; /* 🔥 key line */
}

/* Meta stays inside card */
.tq-card-archive .tq-card-meta {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;

	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	white-space: nowrap;

	padding: 8px 0;
	margin: 10px 0 14px;

	border-top: 1px solid #eef0f3;
	border-bottom: 1px solid #eef0f3;
}


/* ==================================================
   ARCHIVE META – COMPACT TYPOGRAPHY (NO CUT)
================================================== */

.tq-card-archive .tq-card-meta {
	font-size: 11px;              /* 🔥 smaller text */
	line-height: 1.4;
	letter-spacing: -0.01em;

	padding: 6px 0;              /* slightly tighter */
	margin: 8px 0 12px;

	display: flex;
	justify-content: center;
	align-items: center;
	white-space: nowrap;

	border-top: 1px solid #eef0f3;
	border-bottom: 1px solid #eef0f3;
}

/* Separator tighter */
.tq-card-archive .tq-card-meta span + span::before {
	content: "•";
	margin: 0 5px;                /* 🔥 reduced gap */
	color: #9ca3af;
}


/* ==================================================
   FRONT PAGE – WIDGET LAYOUT
================================================== */

.tq-front {
	width: 100%;
}

/* Sections */
.tq-front-hero {
	background: linear-gradient(135deg, #0f172a, #020617);
	color: #fff;
	padding: 0px 20px;
	text-align: center;
}

.tq-front-tools,
.tq-front-latest {
	max-width: 1200px;
	margin: 64px auto;
	padding: 0 20px;
}

/* Widget spacing */
.fp-widget {
	margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
	.tq-front-hero {
		padding: 60px 16px;
	}

	.tq-front-tools,
	.tq-front-latest {
		margin: 48px auto;
	}
}

/* ==================================================
   FOOTER
================================================== */

/* Wrapper */
.tq-footer {
	margin-top: 80px;
	font-size: 14px;
}

/* ========== WIDGET AREA ========== */
.tq-footer-widgets {
	background: #0f172a;
	color: #cbd5e1;
}

.tq-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 20px;
}

.tq-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.footer-title {
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 12px;
}

.footer-widget a {
	color: #cbd5e1;
	text-decoration: none;
}

.footer-widget a:hover {
	color: #209cee;
}

/* ========== COPYRIGHT BAR ========== */
.tq-footer-bottom {
	background: #020617;
	color: #94a3b8;
}

.tq-footer-bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 20px;
	text-align: center;
	font-size: 13px;
}

.tq-footer-bottom a {
	color: #ffffff;
	font-weight: 500;
	text-decoration: none;
}

.tq-footer-bottom a:hover {
	color: #209cee;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
	.tq-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.tq-footer-grid {
		grid-template-columns: 1fr;
	}
}




/* ===============================
   FOOTER – SUBTLE PULSE DOT
================================ */

.tq-pulse-dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 6px;
	border-radius: 50%;
	background-color: #ef4444;
	box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
	vertical-align: middle;
	animation: tqPulseSoft 2.6s ease-in-out infinite;
}

@keyframes tqPulseSoft {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
	}
	50% {
		transform: scale(1.25);
		box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.15);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
	}
}

/* ===============================
   BACK TO TOP (DESKTOP ONLY)
================================ */

#tq-back-to-top {
	position: fixed;
	right: 24px;

	/* 👇 footer ke upar distance */
	bottom: 96px;

	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;

	background: #0f172a;
	color: #ffffff;

	display: none;
	align-items: center;
	justify-content: center;

	cursor: pointer;
	z-index: 999;

	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

/* Hover effect */
#tq-back-to-top:hover {
	background: #209cee;
	transform: translateY(-3px);
}

/* SVG */
#tq-back-to-top svg {
	display: block;
}

/* Mobile: completely hidden */
@media (max-width: 768px) {
	#tq-back-to-top {
		display: none !important;
	}
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
	#tq-back-to-top {
		transition: none;
	}
}


/* ===============================
   POST TAGS – COLORFUL PILLS
================================ */

.entry-tags,
.tags-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.entry-tags a,
.tags-links a {
	display: inline-block;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	border-radius: 999px;

	background: rgba(32, 156, 238, 0.12); /* base soft blue */
	color: #0f172a;

	text-decoration: none;
	transition: background 0.25s ease, transform 0.2s ease;
}

/* Hover */
.entry-tags a:hover,
.tags-links a:hover {
	background: rgba(32, 156, 238, 0.22);
	transform: translateY(-1px);
}

/* ===============================
   VARIATION COLORS (AUTO)
================================ */

/* nth-child based soft colors */
.entry-tags a:nth-child(4n+1),
.tags-links a:nth-child(4n+1) {
	background: rgba(16, 185, 129, 0.14); /* green */
}
.entry-tags a:nth-child(4n+2),
.tags-links a:nth-child(4n+2) {
	background: rgba(99, 102, 241, 0.14); /* indigo */
}
.entry-tags a:nth-child(4n+3),
.tags-links a:nth-child(4n+3) {
	background: rgba(236, 72, 153, 0.14); /* pink */
}

/* Hover deepen */
.entry-tags a:nth-child(4n+1):hover,
.tags-links a:nth-child(4n+1):hover {
	background: rgba(16, 185, 129, 0.24);
}
.entry-tags a:nth-child(4n+2):hover,
.tags-links a:nth-child(4n+2):hover {
	background: rgba(99, 102, 241, 0.24);
}
.entry-tags a:nth-child(4n+3):hover,
.tags-links a:nth-child(4n+3):hover {
	background: rgba(236, 72, 153, 0.24);
}

/* ===============================
   REMOVE COMMAS BETWEEN TAGS
   (GENESIS / WP 100% SAFE)
================================ */

.tags-links {
	/* Kill text nodes (commas) */
	font-size: 0;
	letter-spacing: -0.4em;

	/* Layout */
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Restore normal text for links */
.tags-links a {
	font-size: 13px;
	letter-spacing: normal;
}



/* ==================================================
   FRONT PAGE – LATEST POSTS (FINAL FIX)
   Genesis Featured Posts Widget
================================================== */

/* REAL GRID CONTAINER */
.tq-front-latest-grid .fp-widget.fp-latest-widget {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
}

/* Remove widget title from grid flow */
.tq-front-latest-grid .fp-widget.fp-latest-widget > .widgettitle {
	grid-column: 1 / -1;
	margin-bottom: 20px;
}

/* Each post wrapper */
.tq-front-latest-grid .tq-latest-item {
	width: 100%;
}

/* Card base */
.tq-front-latest-grid .tq-latest-item article {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
.tq-front-latest-grid .tq-latest-item article:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* Image */
.tq-front-latest-grid img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

/* Title */
.tq-front-latest-grid .entry-title {
	font-size: 15px;
	font-weight: 600;
	padding: 14px 12px;
	line-height: 1.4;
	color: #111827;
	text-align: center;
}

.tq-front-latest-grid article:hover .entry-title {
	color: #209cee;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 1024px) {
	.tq-front-latest-grid .fp-widget.fp-latest-widget {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 640px) {
	.tq-front-latest-grid .fp-widget.fp-latest-widget {
		grid-template-columns: 1fr;
	}
}


/* =========================================
   LAZY FADE-UP (CSS ONLY – CWV SAFE)
========================================= */

/* Default hidden state */
.tq-front-latest-grid article {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.6s ease,
		transform 0.6s cubic-bezier(.4,0,.2,1);
}

/* When browser paints it (cheap & safe trick) */
.tq-front-latest-grid article {
	animation: tqFadeUp 0.6s ease forwards;
}

/* Keyframes */
@keyframes tqFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
	.tq-front-latest-grid article {
		opacity: 1;
		transform: none;
		animation: none;
	}
}


/* =========================================
   HOME PAGE – CARD STYLE ONLY
========================================= */

.home .tq-front-latest-grid article {
	background: #ffffff;
	border-radius: 18px;
	overflow: hidden;

		transition:
		transform 0.25s ease,
		}

/* Hover interaction */
.home .tq-front-latest-grid article:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Image polish */
.home .tq-front-latest-grid .entry-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

/* Title */
.home .tq-front-latest-grid .entry-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	padding: 14px 12px 6px;
	transition: color 0.25s ease;
}

/* Hover title color */
.home .tq-front-latest-grid article:hover .entry-title a {
	color: #209cee;
}

/* Meta centered */
.home .tq-front-latest-grid .entry-meta {
	font-size: 13px;
	color: #6b7280;
	text-align: center;
	padding-bottom: 14px;
}


/* =========================================
   HOME – EQUAL HEIGHT CARDS (SAFE)
========================================= */

.home .tq-front-latest-grid {
	align-items: stretch; /* 🔥 key line */
}

.home .tq-front-latest-grid .tq-latest-item,
.home .tq-front-latest-grid article {
	height: 100%;
}

.home .tq-latest-card,
.home article {
	display: flex;
	flex-direction: column;
	height: 100%;
}


/* =========================================
   HOME – THUMBNAIL HOVER ZOOM (CWV SAFE)
========================================= */

.home .tq-latest-thumb {
	overflow: hidden;            /* 🔥 crop area */
	border-radius: 16px;         /* already matching card */
}

.home .tq-latest-thumb img {
	transform: scale(1);
	transition:
		transform 0.6s cubic-bezier(.4,0,.2,1),
		opacity 0.3s ease;
	will-change: transform;      /* performance hint */
}

.home .tq-latest-card:hover .tq-latest-thumb img {
	transform: scale(1.08);      /* 👌 smooth zoom */
	opacity: 0.96;
}





/* ==================================================
   SINGLE POST META – MOBILE ONE LINE (FINAL FIX)
================================================== */

@media (max-width: 768px) {

	/* 🔥 ACTUAL META WRAPPER */
	.single-post .tq-single-meta {
		flex-wrap: nowrap !important;     /* ❌ 2 line बंद */
		white-space: nowrap !important;
		overflow: hidden;

		font-size: 10px;                  /* mobile छोटा */
		line-height: 1.25;

		gap: 6px;
		justify-content: center;
	}

	/* Meta items */
	.single-post .tq-single-meta .tq-meta-item {
		white-space: nowrap !important;
	}

	/* Divider */
	.single-post .tq-single-meta .tq-meta-divider {
		height: 12px;
		opacity: 0.7;
	}
}



/* ==================================================
   HIDE BREADCRUMB ON MOBILE ONLY
================================================== */

@media (max-width: 768px) {

	/* Genesis breadcrumb */
	.breadcrumb,
	.genesis-breadcrumb {
		display: none !important;
	}

}


/* ==================================================
   GENESIS – STICKY HEADER (REAL WORKING)
================================================== */

/* Base header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #ffffff;

	transition:
		background 0.3s ease,
		backdrop-filter 0.3s ease,
		box-shadow 0.3s ease;
}

/* 🔥 SCROLL EFFECT — BODY DRIVEN */
body.tq-scrolled .site-header {

	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===============================
   GLOBAL SMOOTH SCROLL (CLS SAFE)
================================ */

html {
	scroll-behavior: smooth;
}

/* Accessibility: reduced motion users */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

@media (max-width: 768px) {

	/* RIGHT SIDE CONTENT */
	.tq-card-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 0;
	}
.tq-card-archive .tq-card-content {
	padding: 0px;
	display: flex;
	flex-direction: column;
	height: 100%;
}
	/* TITLE – MOBILE SIZE, MAX 2 LINES */
	.tq-card-title {
		font-size: 15px;
		font-weight: 600;
		line-height: 1.35;
		margin: 0 0 4px;

		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* META – SMALL, SINGLE LINE */
	.tq-card-meta {
		font-size: 12px;
		line-height: 1.2;
		color: #6b7280;

		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}







/* ===============================
   FORCE LIST VIEW ON MOBILE
   =============================== */
@media (max-width: 768px) {

	/* 🔴 KILL GRID COMPLETELY */
	.tq-post-grid {
		display: block !important;
	}

	/* 🔴 RESET GRID CHILD BEHAVIOR */
	.tq-post-grid > * {
		width: 100% !important;
	}

	/* ✅ LIST CARD */
	.tq-card-inner {
		display: flex !important;
		align-items: flex-start;
		gap: 12px;

		padding: 12px 0;
		border-bottom: 1px solid #e5e7eb;
	}

	/* LEFT IMAGE */
	.tq-card-media {
		flex: 0 0 120px;
	}

	.tq-card-media img {
		width: 100%;
		aspect-ratio: 3 / 2;
		object-fit: cover;
		border-radius: 8px;
	}

	/* RIGHT CONTENT */
	.tq-card-content {
		flex: 1;
		padding: 0;
	}

	.tq-card-title {
		font-size: 15px;
		line-height: 1.4;
		margin: 0 0 6px;
	}

	/* META */
	.tq-card-meta {
		font-size: 12px;
		color: #6b7280;
	}

	/* HIDE EXCERPT */
	.tq-card-excerpt {
		display: none;
	}
}


