/*
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; }




/* 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;
}






/* ==================================================
   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);
}


.header-inner {
	height: auto;   /* remove fixed height */
	min-height: 60px;  /* better control */
	display: flex;
	align-items: center;
	justify-content: space-between;
}


/* Inner container */
.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0px;
	height: 50px;

	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: 22px;
}

/* ===============================
   DESKTOP SUBMENU – PREMIUM SMOOTH
================================ */

.primary-navigation li {
	position: relative;
}

/* Submenu base */
.primary-navigation ul ul {
	position: absolute;
	top: 110%;
	left: 0;

	min-width: 220px;
	padding: 10px 0;

	background: #ffffff;
	border-radius: 10px;

	box-shadow: 0 6px 18px rgba(0,0,0,0.04); /* very light */

	opacity: 0;
	visibility: hidden;
	transform: translateX(-8px);
	transition:
		opacity 0.25s ease,
		transform 0.25s ease,
		visibility 0.25s ease;

	display: block; /* important */
	z-index: 999;
}

/* Show on hover */
.primary-navigation li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

/* Submenu items */
.primary-navigation ul ul li {
	opacity: 0;
	transform: translateX(-6px);
	transition: all 0.25s ease;
}

/* Animate items when open */
.primary-navigation li:hover > ul > li {
	opacity: 1;
	transform: translateX(0);
}

/* Links */
.primary-navigation ul ul a {
	display: block;
	padding: 8px 18px;
	font-size: 14px;
	color: #111;
	transition: background 0.2s ease, padding-left 0.2s ease;
}

/* Hover effect */
.primary-navigation ul ul a:hover {
	background: #f8fafc;
	padding-left: 22px;
}



.primary-navigation li.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: normal;
}

.primary-navigation li.menu-item-has-children > a::after {
	position: relative;
	top: 1px; /* micro adjustment */
}


/* SVG arrow */
.primary-navigation li.menu-item-has-children > a::after {
	content: "";
	width: 10px;
	height: 10px;

	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' stroke='%23209cee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 4 14 10 6 16'/%3E%3C/svg%3E");

	background-size: contain;
	background-repeat: no-repeat;

	display: inline-block;
	transform-origin: center;
	transition: transform 0.25s ease;
}


/* Rotate arrow on hover */
.primary-navigation li:hover > a::after {
	transform: rotate(90deg);
}
/* ===============================
   2nd Level Submenu (Flyout Left)
================================ */

.primary-navigation ul ul ul {
	top: 0;
	left: auto;
	right: 100%;   /* open to LEFT */
	margin-right: 8px;

	transform: translateX(8px);
	opacity: 0;
	visibility: hidden;

	transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show on hover */
.primary-navigation ul ul li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}



.primary-navigation > ul {
	align-items: center;
}

/* ===============================
   GLOBAL MENU COLOR SYSTEM
================================ */

/* Parent hover */
.primary-navigation > ul > li > a:hover,
.primary-navigation > ul > li.current-menu-item > a {
	color: #209cee;
}

/* Submenu hover */
.primary-navigation ul ul a:hover,
.primary-navigation ul ul li.current-menu-item > a {
	color: #209cee;
}

/* Mega menu links */
.primary-navigation ul ul ul a:hover,
.primary-navigation ul ul ul li.current-menu-item > a {
	color: #209cee;
}

/* Arrow color change on hover */
.primary-navigation li:hover > a::after {
	transform: rotate(90deg);
	filter: brightness(1.1);
}


.primary-navigation a {
	transition: color 0.2s ease;
}

/* ==================================================
   GENESIS CONTENT + SIDEBAR LAYOUT FIX
================================================== */

.content-sidebar-wrap {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 20px;
}

.content {
	flex: 1;
	min-width: 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;
}


 
 
/* ==================================================
   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: 2.2rem;
		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;
	}
}




/* SVG icons */
.tq-meta-item svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	opacity: 0.9;
}



/* ==================================================
   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-width: 140px;
		display: block;
	}

	.mobile-navigation-header img {
		max-width: 180px;
		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;
	}

	
/* (deduped) */


	/* 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;
	}
}

/* Submenu container – subtle right shift */
.mobile-navigation ul ul {
	margin-left: 8px;          /* 🔥 bas thoda right */
	padding-left: 6px;         /* inner breathing space */
	background: #f8fafc;
}

/* Submenu links */
.mobile-navigation ul ul a {
	position: relative;
	padding-left: 32px; /* arrow ke liye space */
	font-size: 1rem;
}

/* Arrow before submenu item */
.mobile-navigation ul ul a::before {
	content: "›";                 /* simple & lightweight */
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	color: #9ca3af;               /* subtle gray */
}
/* ==================================================
   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;
	}
}


/* 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: 2.2rem;
		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;
	}

}



/* ---------- 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 {
		display: flex !important;
		align-items: center;
		justify-content: flex-start !important;
		height: 60px;
		padding: 0 0px;
	}

	.site-header.mobile-header .site-branding {
		margin: 0 !important;
		margin-right: auto !important;
		text-align: left !important;
	}

}


/* ==================================================
   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 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: 70%;
	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);
}



/* =========================
   Off-canvas mobile menu
   proper scroll isolation
========================= */

.mobile-navigation {
	position: fixed;
	top: 0;
	right: 0;          /* ya left:0 – tumhare layout ke hisab se */
	height: 100vh;
	width: 70%;
	max-width: 360px;

	overflow-y: auto;          /* 🔥 IMPORTANT */
	-webkit-overflow-scrolling: touch;

	overscroll-behavior: contain; /* 🔥 stops scroll chaining */
}


/* ==================================================
   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 0px;
		height: 60px;
	}

	/* Logo LEFT */
	.site-header.mobile-header .site-branding {
		display: flex;
		align-items: center;
	}

	.site-header.mobile-header .site-branding img {
		max-height: 50px;
		width: auto;
	}

	/* Hamburger RIGHT */
	.menu-toggle {
		margin-left: auto; /* 🔥 FORCE RIGHT */
		display: flex;
		align-items: center;
		justify-content: center;
	}
}




/* ==================================================
   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;
}




/* 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;
}


/* ===============================
   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)
================================================== */


/* 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;
}


/* (deduped) */


/* 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 */

/* (deduped) */


/* 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;
}


/* (deduped) */


/* 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)
================================================== */

/* 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;
}



/* ==================================================
   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;
}


/* =========================================
   ARCHIVE PAGINATION – SQUARE DESIGN (FINAL)
========================================= */

/* Pagination container */
main .tq-archive-pagination-wrap nav.navigation.pagination .nav-links {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 14px 18px !important;
	background: #f8fafc !important;
	border-radius: 14px !important; /* square container */
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Page items (SQUARE) */
main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 10px !important; /* 👈 square */
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #111 !important;
	background: #ffffff !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

/* Hover */
main .tq-archive-pagination-wrap nav.navigation.pagination a.page-numbers:hover {
	background: #e5e7eb !important;
	transform: translateY(-2px) !important;
}

/* Current page */
main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers.current {
	background: #2563eb !important;
	color: #ffffff !important;
	box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45) !important;
	transform: translateY(-2px) !important;
}

/* Prev / Next arrows */
main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers.prev,
main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers.next {
	background: #f1f5f9 !important;
	font-size: 18px !important;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 520px) {

	main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers {
		display: none !important;
	}

	main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers.current,
	main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers.prev,
	main .tq-archive-pagination-wrap nav.navigation.pagination .page-numbers.next {
		display: inline-flex !important;
		width: 48px !important;
		height: 48px !important;
		border-radius: 12px !important;
		font-size: 16px !important;
	}
}

















/* Comments spacing */
#comments {
	margin-top: 4em;
}






/* 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"; }


/* ===============================
   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;
	}
}








/* 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;
}


/* (deduped) */


.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: 280px;
	flex-shrink: 0;
}

/* Full width content (no sidebar) */
.full-width-content.single .content {
	max-width: 760px;
	margin: 0 auto;
}













/* 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: 100%;
	margin-left: 0;
	background: linear-gradient(135deg, #0f172a, #1e293b);
	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;
}


/* ARCHIVE SEARCH – PERFECT ALIGNMENT FIX */

.tq-archive-search {
	display: flex;
	align-items: center;          /* 🔥 MOST IMPORTANT */
	justify-content: center;
	gap: 10px;
	position: relative;
	max-width: 720px;
	margin: 30px auto 0;
}

.tq-archive-search-input {
	flex: 1;
	height: 56px;
	padding: 0 60px 0 24px;
	border-radius: 999px;
	border: none;
	font-size: 16px;
	line-height: 56px;
}

.tq-archive-search-btn {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);  /* 🔥 CENTER FIX */
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: #000;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.tq-archive-search-btn svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
}



/* MOBILE FULL WIDTH SEARCH */
@media (max-width: 768px) {

	.tq-archive-search {
		width: 100%;
		max-width: 100%;
		padding: 0 16px; /* side breathing */
	}

	.tq-archive-search-input {
		width: 100%;
	}
}


/* SEARCH BUTTON HOVER ANIMATION */
.tq-archive-search-btn {
	transition: 
		transform 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.tq-archive-search-btn:hover {
	transform: translateY(-50%) scale(1.08);
	background-color: #111;
	box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}


@media (max-width: 768px) {
	.tq-archive-search label {
		text-align: left;
		padding-left: 6px;
	}
}



/* =====================================
   SEARCH INPUT – TYPING ANIMATION
===================================== */

.tq-archive-search {
	position: relative;
}

/* INPUT BASE */
.tq-archive-search-input {
	background: #fff;
	transition:
		box-shadow 0.3s ease,
		transform 0.2s ease;
}


/* Animate on focus */
.tq-archive-search:focus-within::after {
	width: 60%;
}

/* CARET COLOR */
.tq-archive-search-input {
	caret-color: #000;
}

@media (max-width: 768px) {

	.tq-archive-search-input:focus {
		transform: none; /* no jump on mobile */
		box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
	}

	.tq-archive-search::after {
		bottom: -4px;
	}
}

/* MOBILE */

@media (max-width: 768px) {

	.tq-archive-hero {
		padding: 32px 16px;
	}

	.tq-archive-hero-title {
		font-size: 1.6rem;
		line-height: 1.3;
	}

	.tq-archive-search input[type="search"] {
		font-size: 15px;
		padding: 12px 14px;
	}

	.tq-archive-meta {
		font-size: 13px;
		opacity: 0.85;
	}
}

.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
	);
}

/* =========================
   Archive Intro Text
========================= */

.tq-archive-intro {
	max-width: 720px;
	margin: 16px auto 0;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.85);
}

@media (max-width: 768px) {
	.tq-archive-intro {
		font-size: 0.95rem;
		line-height: 1.6;
		margin-top: 12px;
	}
}
/* ===============================
   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;
}


/* --------------------------------------------------
   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%;
}






/* ==================================================
   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: 10px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Title */
.tq-card-archive .tq-card-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	color: #111827;
	margin: 0 0 0px;
	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.2;
	color: #374151;
}

/* ==================================================
   ARCHIVE FIX – POSTS WITHOUT FEATURED IMAGE
================================================== */

/* Allow content to size naturally */
.tq-card-archive .tq-card-content {
	height: auto; /* 🔥 important */
}


/* ==================================================
   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 0px;
}

/* 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;
	}
}



/* 🔥 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) {

/* ===============================
   Modern Card Styling
================================ */

/* Card Wrapper */
.tq-card-inner {
	display: flex !important;
	align-items: flex-start;
	gap: 14px;

	padding: 14px 12px;
	position: relative;
	transition: all 0.25s ease;
}

/* Soft Divider Line */
.tq-card-inner::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(
		to right,
		transparent,
		#e5e7eb 20%,
		#e5e7eb 80%,
		transparent
	);
}

/* Hover Highlight */
.tq-card-inner:hover {
	background: #f8fafc;
	transform: translateY(-2px);
}

/* Image Smooth Effect */
.tq-card-inner img {
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.tq-card-inner:hover img {
	transform: scale(1.05);
}

/* Title Hover Color */
.tq-card-inner:hover .tq-card-title {
	color: #2563eb;
}

}

/* ==================================================
   HIDE ON SCROLL – DESKTOP + MOBILE
================================================== */

.site-header.desktop-header,
.site-header.mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	background: #ffffff; /* Pure White */
	transition: transform 0.35s ease, box-shadow 0.3s ease;
}

/* When scrolling down (hide) */
.site-header.hide-header {
	transform: translateY(-100%);
}

/* Optional shadow when visible */
.site-header.show-shadow {
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Prevent content jump */
body {
	padding-top: 50px; /* header height ke equal */
}


/* (deduped) */





/* FULL WIDTH FAQ */
.tq-archive-faq {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

/* INNER */
.tq-archive-faq-inner {
  max-width: 1200px;
  margin: auto;
  padding: 24px 20px;
}

/* SECTION TITLE */
.tq-archive-faq h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 26px;
  text-align: center;
}

/* FAQ ITEM – FLAT */
.faq-item {
  padding: 14px 0;
}

/* QUESTION */
.faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a4ed8;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ANSWER */
.faq-item p {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

/* SMOOTH DIVIDER */
.faq-item:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

/* MOBILE */
@media (max-width: 768px) {

  .tq-archive-faq-inner {
    padding: 34px 16px;
  }

  .tq-archive-faq h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .faq-item h3 {
    font-size: 16px;
  }

  .faq-item p {
    font-size: 14.5px;
  }
}
/* FORCE FAQ TO STICK TO FOOTER */
.archive .tq-archive-faq {
  position: relative;
  z-index: 2;
}

.archive .site-footer {
  margin-top: -78px !important;
}


/* ===============================
   TECHQOR ARCHIVE PAGINATION
   =============================== */

.tq-archive-pagination {
  margin: 50px auto 30px;
  text-align: center;
}

.tq-archive-pagination .nav-links {
  display: inline-flex;
  gap: 10px;
  padding: 12px 18px;
  background: #f8fafc;
  border-radius: 50px;
  }

/* Page numbers */
.tq-archive-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  color: #111;
  background: transparent;
  text-decoration: none;
  transition: all .25s ease;
}

/* Hover */
.tq-archive-pagination a.page-numbers:hover {
  background: #007acc;
  color: #fff;
  transform: translateY(-1px);
}

/* Current page */
.tq-archive-pagination .current {
  background: linear-gradient(135deg, #007acc, #00b4ff);
  color: #fff;
}

/* Prev / Next */
.tq-archive-pagination .prev,
.tq-archive-pagination .next {
  padding: 0 18px;
  border-radius: 24px;
  font-weight: 600;
  background: #eef2f7;
}

/* Mobile optimization */
@media (max-width: 600px) {
  .tq-archive-pagination .nav-links {
    gap: 6px;
    padding: 10px 12px;
  }

  .tq-archive-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 13px;
  }
}


/* ===============================
   PAGINATION INFO TEXT
   =============================== */

.tq-archive-pagination-wrap {
  margin: 40px auto 30px;
  text-align: center;
}

.tq-pagination-info {
  margin-bottom: 14px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

/* Keep pagination styles same as before */

/* (deduped) */






/* ===============================
   AUTHOR VERIFIED BADGE
================================ */

.tq-verified-badge {
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    vertical-align: middle;

    background: #1d9bf0; /* Instagram / Twitter blue */
    border-radius: 50%;

    position: relative;
}

/* Check icon */
.tq-verified-badge::after {
    content: "✓";
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

/* Align perfectly with name */
.genesis-author-box .author-title {
    display: inline-flex;
    align-items: center;
}











/* ===============================
   SEARCH HERO
   =============================== */

.tq-search-hero {
  padding: 40px 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
}

.tq-search-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.tq-search-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}

.tq-search-title span {
  color: #38bdf8;
}

.tq-search-meta {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 26px;
}

/* ===============================
   SEARCH FORM
   =============================== */

.tq-search-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 10px;
}

.tq-search-input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 30px;
  border: none;
  font-size: 15px;
}

.tq-search-btn {
  padding: 14px 22px;
  border-radius: 30px;
  border: none;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}

/* ===============================
   SEARCH TERM HIGHLIGHT
   =============================== */

.tq-search-highlight {
  background: #fde68a;
  color: #111;
  padding: 0 4px;
  border-radius: 4px;
}

/* ===============================
   NO RESULTS ILLUSTRATION
   =============================== */

.tq-search-empty {
  text-align: center;
  padding: 80px 20px;
}

.tq-search-empty-illustration {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #38bdf8, transparent 40%),
    radial-gradient(circle at 70% 70%, #60a5fa, transparent 40%);
  opacity: 0.9;
}

.tq-search-empty h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.tq-search-empty p {
  color: #555;
  max-width: 480px;
  margin: 0 auto;
}

/* ===============================
   PAGINATION (MATCH ARCHIVE)
   =============================== */

.tq-archive-pagination {
  margin: 40px auto;
  text-align: center;
}

.tq-archive-pagination .nav-links {
  display: inline-flex;
  gap: 10px;
  padding: 12px 18px;
  background: #f8fafc;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.tq-archive-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  color: #111;
  text-decoration: none;
}

.tq-archive-pagination .current {
  background: linear-gradient(135deg, #38bdf8, #60a5fa);
  color: #fff;
}

.tq-archive-pagination a:hover {
  background: #38bdf8;
  color: #fff;
}


/* ==================================================
   MOBILE ARCHIVE – LIST VIEW (FINAL HARD FIX)
   ✔ Title NEVER goes above image
   ✔ Meta strictly LEFT aligned
   ✔ Meta top/bottom border removed
   ✔ No left/top padding
================================================== */

@media (max-width: 768px) {

	/* One column + spacing */
	.archive .tq-post-grid,
	.category .tq-post-grid,
	.tag .tq-post-grid,
	.search .tq-post-grid {
		grid-template-columns: 1fr;
		gap: 6px;
	}
.content-sidebar-wrap {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}
	/* Article wrapper */
	.tq-post-grid > article {
		border: none;
		background: transparent;
	}

	/* CARD INNER */
	.tq-card-archive .tq-card-inner {
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important; /* 🔥 IMPORTANT */
		gap: 12px;

		padding: 0 0 8px 0;
		margin: 0;

		text-decoration: none;
		color: inherit;
		box-shadow: none !important;
		transform: none !important;
	}

	/* IMAGE */
	.tq-card-archive .tq-card-media {
		flex: 0 0 110px;
		height: 78px;
		border-radius: 8px;
		overflow: hidden;
		background: #f2f2f2;
	}

	.tq-card-archive .tq-card-media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	/* CONTENT COLUMN */
	.tq-card-archive .tq-card-content {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;        /* 🔥 keeps title within image height */
		align-items: flex-start !important;
		padding: 0;
	}

	/* TITLE — HARD CONSTRAINT */
	.tq-card-archive .tq-card-title {
		font-size: 15px;
		line-height: 1.4;
		font-weight: 500;

		margin: 0 0 4px 0 !important;   /* 🔥 no top margin */
		padding: 0 !important;

		max-height: calc(1.4em * 3);    /* 🔥 prevents overflow above image */
		overflow: hidden;

		color: #111827;
	}

	/* META — LEFT ONLY, NO BORDERS */
	.tq-card-archive .tq-card-meta {
		display: flex !important;
		justify-content: flex-start !important;
		align-items: center;

		font-size: 12px;
		line-height: 1.5;
		color: #6b7280;

		margin: 0 !important;
		padding: 0 !important;
		border: none !important;        /* 🔥 remove top/bottom borders */
	}

.tq-post-grid > article::after {
	content: "";
	display: block;
	margin-top: 10px;
	height: 1px;
	background: #e5e7eb;
}

/* Remove default top margin from card title */
.tq-card-title {
	margin-top: 0 !important;
	line-height: 1.3;
}

/* Ensure perfect top alignment */
.tq-card-inner {
	align-items: flex-start !important;
}

	/* Excerpt off */
	.tq-card-archive .tq-card-excerpt {
		display: none;
	}
}

/* =========================================
   SCROLL LOCK WHEN OFFCANVAS OPEN
========================================= */

body.offcanvas-open {
	overflow: hidden;
	height: 100vh;
}

body.offcanvas-open {
	position: fixed;
	width: 100%;
}


/* =========================================
   FIX: PREVENT HAMBURGER + CLOSE OVERLAP
========================================= */

/* Mobile header must NEVER show close icon */
@media (max-width: 768px) {

	.site-header.mobile-header .mobile-menu-close {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

}


/* Close button only inside offcanvas */
.mobile-navigation .mobile-menu-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}


@media (max-width: 768px) {

	.site-header.mobile-header .menu-toggle {
		display: flex;
	}

}

/* =====================================
   ARCHIVE HERO – TYPOGRAPHY UPGRADE
===================================== */

/* Title (Category / Archive Name) */
.tq-archive-title {
	font-family: 'Poppins', system-ui, -apple-system, sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.15;
}

/* Meta text (post count, date etc.) */
.tq-archive-meta,
.tq-archive-meta .meta-item {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-weight: 500;
	letter-spacing: 0;
	opacity: 0.9;
}

/* Search input inside hero */
.tq-archive-search-input {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 15px;
	font-weight: 500;
}

/* Mobile tweak */
@media (max-width: 768px) {
	.tq-archive-title {
		font-size: 28px;
		letter-spacing: -0.01em;
	}
}



/* =====================================
   FULL WIDTH ARCHIVE BREADCRUMB
   (Attached to Hero)
===================================== */

.tq-archive-breadcrumb-wrap {
	width: 100vw;
	margin-left: calc(50% - 50vw);   /* hero style full width */
	background: #E9F5F5;
}

.tq-archive-breadcrumb-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
}

/* Breadcrumb text */
.tq-archive-breadcrumb-inner .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;

	font-size: 13px;
	color: #374151;
}

/* Links */
.tq-archive-breadcrumb-inner .breadcrumb a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
}

.tq-archive-breadcrumb-inner .breadcrumb a:hover {
	text-decoration: underline;
}

/* Separator */
.tq-archive-breadcrumb-inner .breadcrumb span.breadcrumb-sep {
	margin: 0 4px;
	color: #6b7280;
}

/* Remove any theme arrows/icons */
.tq-archive-breadcrumb-inner .breadcrumb::before,
.tq-archive-breadcrumb-inner .breadcrumb::after {
	content: none !important;
	display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
	.tq-archive-breadcrumb-inner {
		padding: 8px 16px;
	}
}

/* =====================================
   SEO + READABILITY HYBRID SYSTEM
   Clean • Structured • Authority Look
===================================== */

/* Base Text */
body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 17px;
	line-height: 1.8;
	color: #1f2937;
}

/* ===============================
   SINGLE POST TITLE (SEO Focus)
================================ */

.single .entry-title {
	font-family: 'Poppins', system-ui, sans-serif;
	font-size: 32PX;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin-bottom: 16px;
}

/* ===============================
   CONTENT HEADINGS (Hierarchy Clear)
================================ */

/* H2 – Main Sections */
.entry-content h2 {
	font-family: 'Poppins', system-ui, sans-serif;
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.3;
	margin: 36px 0 14px;
	color: #111827;
	padding-bottom: 6px;
	border-bottom: 2px solid #e5e7eb;
}

/* H3 – Sub Sections */
.entry-content h3 {
	font-size: clamp(20px, 2.5vw, 24px);
	font-weight: 600;
	line-height: 1.4;
	margin: 26px 0 10px;
	color: #1e293b;
}

/* H4 */
.entry-content h4 {
	font-size: 18px;
	font-weight: 600;
	margin: 20px 0 8px;
	color: #334155;
}

/* ===============================
   PARAGRAPH STRUCTURE
================================ */

.entry-content p {
	font-size: 17px;
	line-height: 1.85;
	margin-bottom: 22px;
	color: #374151;
	max-width: 750px; /* Better readability */
}

/* First paragraph slight emphasis */
.single .entry-content p:first-of-type {
	font-size: 18px;
	font-weight: 500;
	color: #111827;
}

/* ===============================
   LIST STRUCTURE
================================ */

.entry-content ul,
.entry-content ol {
	margin: 0 0 24px 22px;
	line-height: 1.85;
}

.entry-content li {
	margin-bottom: 10px;
}

/* ===============================
   LINKS (SEO + UX Friendly)
================================ */

.entry-content a {
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(37, 99, 235, 0.3);
	transition: 0.2s ease;
}

.entry-content a:hover {
	color: #1d4ed8;
	border-bottom: 1px solid #1d4ed8;
}

/* ===============================
   META TEXT
================================ */

.entry-meta {
	font-size: 14px;
	color: #6b7280;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 768px) {

	body {
		font-size: 16px;
		line-height: 1.75;
	}

	.single .entry-title {
		font-size: 28px;
	}

	.entry-content h2 {
		font-size: 22px;
	}

	.entry-content h3 {
		font-size: 19px;
	}

	.entry-content p {
		font-size: 16px;
		line-height: 1.75;
		max-width: 100%;
	}

	.single .entry-content p:first-of-type {
		font-size: 17px;
	}
}


/* =====================================
   GLOBAL HORIZONTAL OVERFLOW FIX
   (Kills left-right scroll everywhere)
===================================== */

html,
body {
	max-width: 100%;
	overflow-y: auto !important;
}

/* Extra safety for Genesis containers */
.site,
.site-inner,
.wrap,
.content,
.content-sidebar-wrap {
	max-width: 100%;
	overflow-x: hidden;
}


/* =====================================
   MOBILE ONLY – HORIZONTAL SCROLL KILL
===================================== */

@media (max-width: 768px) {

	html,
	body {
		width: 100%;
		overflow-x: hidden !important;
		position: relative;
	}

	/* Kill 100vw overflow on mobile */
	.tq-archive-hero,
	.tq-archive-breadcrumb-wrap {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Safety: any accidental wide element */
	* {
		max-width: 100%;
		box-sizing: border-box;
	}
}


/* =====================================
   RESTORE CONTENT WIDTH (DESKTOP)
===================================== */

@media (min-width: 769px) {

	/* Main content area */
	.content,
	.content-sidebar-wrap,
	.site-inner {
		max-width: 1200px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Full width sections only */
.tq-archive-hero,
.tq-archive-breadcrumb-wrap {
	width: 100%;
	max-width: 100%;
}

/* ===============================
   FIX STICKY HEADER FOR ADMIN
================================ */

/* Desktop admin bar */
.admin-bar .site-header,
.admin-bar .sticky-header {
	top: 32px;
}

/* Mobile admin bar (WordPress increases height) */
@media screen and (max-width: 782px) {
	.admin-bar .site-header,
	.admin-bar .sticky-header {
		top: 46px;
	}
}


.primary-navigation > ul > li > a {
    color: #1a1a1a;
    font-weight: 400;
    font-size: 17px;
  
}
/* Submenu Divider */
.primary-navigation .sub-menu li {
    position: relative;
}

/* Divider Line */
.primary-navigation .sub-menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 1px;
    background: rgba(0, 0, 0, 0.06); /* very light */
}


/* Submenu Base */
.primary-navigation .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: 
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
        
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06); /* very soft shadow */
}

/* Show on Hover */
.primary-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Submenu + Mega Menu Default Style */
.primary-navigation .sub-menu li a,
.primary-navigation .mega-menu li a {
    color: #000;
    font-weight: 400;   /* bold but not extra heavy */
}

/* Hover State */
.primary-navigation .sub-menu li:hover > a,
.primary-navigation .mega-menu li:hover > a {
    color: #209cee;
}

/* Active State */
.primary-navigation .sub-menu .current-menu-item > a,
.primary-navigation .mega-menu .current-menu-item > a {
    color: #209cee;
}



/* =====================================
   EMPTY STATE – ENHANCED UX
===================================== */

.tq-empty-state {
	max-width: 1200px;
	margin: 60px auto 80px;
	padding: 0 20px;
	text-align: center;
}

.tq-empty-inner {
	max-width: 640px;
	margin: 0 auto;
	padding: 36px 28px;
	background: #f8fafc;
	border-radius: 18px;
	border: 1px dashed #dbeafe;
}

.tq-empty-icon {
	font-size: 38px;
	margin-bottom: 12px;
}

.tq-empty-title {
	font-size: 24px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 8px;
}

.tq-empty-text {
	font-size: 15px;
	line-height: 1.6;
	color: #6b7280;
	margin-bottom: 28px;
}

/* Popular posts */

.tq-empty-popular h3,
.tq-empty-categories h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #111827;
}

.tq-empty-popular ul {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.tq-empty-popular li {
	margin-bottom: 8px;
}

.tq-empty-popular a {
	color: #209cee;
	font-size: 14px;
	text-decoration: none;
}

.tq-empty-popular a:hover {
	text-decoration: underline;
}

/* Category pills */

.tq-cat-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.tq-cat-pill {
	padding: 6px 14px;
	border-radius: 999px;
	background: #e9f5f5;
	color: #111827;
	font-size: 13px;
	text-decoration: none;
	border: 1px solid #d1eaea;
}

.tq-cat-pill:hover {
	background: #209cee;
	color: #ffffff;
	border-color: #209cee;
}

/* Mobile */
@media (max-width: 768px) {
	.tq-empty-inner {
		padding: 28px 20px;
	}
}


/* ==================================================
   2-LINE TITLE CLAMP WITH ELLIPSIS
   Archive + Search + Related (Mobile Only)
================================================== */

@media (max-width: 768px) {

	/* Archive titles */
	.archive .tq-card-title,

	/* Search result titles */
	.search .tq-card-title,

	/* Related article titles */
	.tq-related-section .tq-card-title {

		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;

		overflow: hidden;
		text-overflow: ellipsis;

		line-height: 1.4;
		max-height: calc(1.4em * 2);
	}
}

/* ==================================================
   GLOBAL SCROLL FIX
================================================== */

html,
body {
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}

/* ==================================================
   SIDEBAR – CLEAN BORDER STYLE (NO SHADOW)
================================================== */

.sidebar-primary {
	padding: 0;
	margin: 0;
}

/* Widget container */
.sidebar-primary .widget {
	background: #ffffff;
	border: 1px solid #e5e7eb;   /* soft border */
	border-radius: 14px;
	padding: 18px;
	margin-bottom: 20px;
	box-shadow: none;            /* ❌ no shadow */
}

/* Widget titles */
.sidebar-primary .widget-title,
.sidebar-primary h4 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: #111827;
	margin-bottom: 14px;
	position: relative;
}

/* Accent line */
.sidebar-primary .widget-title::after {
	content: "";
	display: block;
	width: 32px;
	height: 3px;
	margin-top: 6px;
	border-radius: 3px;
	background: #209cee;
}

/* Lists reset */
.sidebar-primary ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ==================================================
   CATEGORY LIST – ICON + COUNT PILL + DIVIDER
================================================== */

.sidebar-primary .widget_categories ul li {
	display: flex;
	align-items: center;                 /* 🔥 perfect vertical align */
	justify-content: space-between;

	padding: 10px 0;
	margin: 0;

	border-bottom: 1px solid rgba(0,0,0,0.06); /* soft divider */
}

/* Remove divider from last item */
.sidebar-primary .widget_categories ul li:last-child {
	border-bottom: none;
}

/* Category link (left side) */
.sidebar-primary .widget_categories ul li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;

	color: #2563eb;
	text-decoration: none;
}

/* Arrow icon */
.sidebar-primary .widget_categories ul li a::before {
	content: "›";
	font-size: 18px;
	line-height: 1;
	color: #209cee;
	transform: translateY(-1px); /* optical centering */
}

/* Count badge (pill style) */
.sidebar-primary .widget_categories ul li .count {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 28px;
	height: 20px;
	padding: 0 8px;

	font-size: 12px;
	font-weight: 500;

	color: #209cee;
	background: rgba(32,156,238,0.12);
	border-radius: 999px;
}

/* Hover */
.sidebar-primary .widget_categories ul li a:hover {
	color: #1e40af;
}

/* ==================================================
   ACTIVE CATEGORY HIGHLIGHT
================================================== */

.sidebar-primary .widget_categories .current-cat > a {
	color: #111827;
	font-weight: 600;
}

/* Active indicator dot */
.sidebar-primary .widget_categories .current-cat > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-radius: 50%;
	background: #209cee;
}

/* ==================================================
   SEARCH WIDGET
================================================== */

.sidebar-primary input[type="search"] {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	font-size: 14px;
}

.sidebar-primary input[type="submit"],
.sidebar-primary button {
	margin-top: 10px;
	width: 100%;
	padding: 10px 12px;
	background: #209cee;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.sidebar-primary .widget_search form {
	margin-top: 0;
}


/* =====================================================
   GENESIS FEATURED POSTS – FINAL PRODUCTION CSS
   BORDER (NORMAL) | HOVER DESIGN | TITLE + META CENTER
===================================================== */

/* -----------------------------------------------------
   SECTION FULL WIDTH
----------------------------------------------------- */
.tq-front-featured > .wrap {
	max-width: 100%;
}

/* -----------------------------------------------------
   WIDGET TITLE (Latest Post)
----------------------------------------------------- */
.tq-front-featured .widget-title {
	grid-column: 1 / -1;
	text-align: center;
	margin-bottom: 32px;
	font-size: 1.8rem;
	font-weight: 700;
	color: #000;
	position: relative;
}

/* Decorative underline */
.tq-front-featured .widget-title::after {
	content: "";
	display: block;
	width: 70px;
	height: 4px;
	margin: 12px auto 0;
	border-radius: 4px;
	background: linear-gradient(
		90deg,
		#209cee,
		#3b82f6,
		#60a5fa
	);
}

/* -----------------------------------------------------
   GRID CONTAINER
----------------------------------------------------- */
.tq-front-featured .widget-wrap {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

/* Desktop: 3 columns */
@media (min-width: 768px) {
	.tq-front-featured .widget-wrap {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* -----------------------------------------------------
   POST CARD (NORMAL STATE = BORDER)
----------------------------------------------------- */
.tq-front-featured article.entry {
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: center;

	/* NORMAL BORDER */
	border: 1px solid #e5e7eb;

	/* smooth transition */
	transition: 
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

/* -----------------------------------------------------
   HOVER STATE (DESIGN OK AS YOU SAID)
----------------------------------------------------- */
@media (hover: hover) {
	.tq-front-featured article.entry:hover {
		transform: translateY(-4px);
		box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);

		/* border subtle on hover */
		border-color: transparent;
	}
}

/* -----------------------------------------------------
   IMAGE (16:9 – CLS SAFE)
----------------------------------------------------- */
.tq-front-featured article.entry > a {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f2f2f2;
}

.tq-front-featured article.entry img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* -----------------------------------------------------
   TITLE
----------------------------------------------------- */
.tq-front-featured .entry-title {
	padding: 16px 16px 6px;
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.4;
	min-height: 3em; /* CLS safe */
}

.tq-front-featured .entry-title a {
	color: #000;
	text-decoration: none;
	transition: color 0.25s ease;
}

/* Title hover color */
.tq-front-featured article.entry:hover .entry-title a {
	color: #209cee;
}

/* -----------------------------------------------------
   META DATA (CENTERED)
----------------------------------------------------- */
.tq-front-featured .entry-meta {
	margin: 6px 0 18px;
	font-size: 0.85rem;
	color: #666;
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Meta links */
.tq-front-featured .entry-meta a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

/* Meta hover */
.tq-front-featured article.entry:hover .entry-meta a {
	color: #209cee;
}

/* Dot separator */
.tq-front-featured .entry-meta span::after {
	content: "•";
	margin: 0 6px;
	color: #bbb;
}

.tq-front-featured .entry-meta span:last-child::after {
	content: "";
}

/* -----------------------------------------------------
   MOBILE TWEAKS
----------------------------------------------------- */
@media (max-width: 767px) {
	.tq-front-featured .widget-title {
		font-size: 1.5rem;
		margin-bottom: 24px;
	}
}


.tq-page-hero {
    margin-bottom: 40px;
}






/* ===============================
   CUSTOM 404 PAGE
================================ */

.tq-404-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: #fff;
    text-align: center;
}

.tq-404-hero .wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Illustration */
.tq-404-illustration {
    font-size: 140px;
    font-weight: 800;
    letter-spacing: 12px;
    margin-bottom: 20px;
}

.tq-404-illustration span {
    display: inline-block;
    opacity: 0.25;
}

.tq-404-illustration .pulse {
    animation: tqPulse 1.6s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes tqPulse {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.4; }
}

/* Headings */
.tq-404-hero h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.tq-404-hero p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 30px;
}

/* Buttons */
.tq-404-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tq-btn-primary,
.tq-btn-secondary {
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

.tq-btn-primary {
    background: #2563eb;
    color: #fff;
}

.tq-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Sections */
.tq-404-section {
    margin: 30px 0;
}

.tq-404-section h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.tq-404-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tq-404-section li {
    margin-bottom: 6px;
}

.tq-404-section a {
    color: #93c5fd;
    text-decoration: none;
}

/* ===============================
   404 GRID / CARD POSTS
================================ */

.tq-404-section {
    margin: 50px 0;
}

.tq-404-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Grid */
.tq-404-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Tablet */
@media (max-width: 1024px) {
    .tq-404-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .tq-404-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.tq-404-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tq-404-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Thumbnail */
.tq-404-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.tq-404-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Title */
.tq-404-card h4 {
    font-size: 16px;
    line-height: 1.4;
    padding: 14px 16px 18px;
    margin: 0;
    color: #fff;
}

/* Hover (desktop only) */
@media (hover: hover) {
    .tq-404-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0,0,0,0.35);
    }
}


/* ===============================
   404 EDGE TO EDGE FIX
================================ */

/* Remove Genesis spacing on 404 */
body.error404 .site-inner,
body.error404 .content,
body.error404 .content-sidebar-wrap {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

/* Full width background */
.tq-404-hero {
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;

    background: radial-gradient(circle at top, #0f172a, #020617);
    display: flex;
    align-items: center;
}

/* Inner content (centered, controlled width) */
.tq-404-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

/* Header + footer touching */
body.error404 header,
body.error404 footer {
    margin: 0 !important;
}

/* Safety: remove top/bottom gaps */
body.error404 {
    overflow-x: hidden;
}



/* ===============================
   404 LAYOUT FIX (NO OVERLAP)
================================ */

.tq-404-hero {
    width: 100vw;
    min-height: 100vh;
    background: radial-gradient(circle at top, #0f172a, #020617);
    display: flex;
    flex-direction: column;
}

/* TOP SECTION */
.tq-404-top {
    text-align: center;
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* BOTTOM POSTS */
.tq-404-bottom {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Ensure separation */
.tq-404-section {
    margin-top: 60px;
}

/* Grid safety */

/* (deduped) */


/* Tablet */
@media (max-width: 1024px) {
    
/* (deduped) */

}

/* Mobile */
@media (max-width: 640px) {
    
/* (deduped) */


    .tq-404-top {
        padding-top: 80px;
    }
}

/* HARD SAFETY: stop overlap */
.tq-404-hero * {
    position: relative;
    box-sizing: border-box;
}


/* ===============================
   404 TABS SYSTEM
================================ */

.tq-404-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.tq-tab-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 0;
    padding: 12px 26px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tq-tab-btn.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

@media (hover: hover) {
    .tq-tab-btn:hover {
        transform: translateY(-2px);
    }
}

/* Tab content */
.tq-404-tab-content {
    display: none;
}

.tq-404-tab-content.active {
    display: block;
}

/* Grid */

/* (deduped) */


@media (max-width: 1024px) {
    
/* (deduped) */

}

@media (max-width: 640px) {
    
/* (deduped) */

}

/* Card */
.tq-404-card {
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .tq-404-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.35);
    }
}


/* (deduped) */


.tq-404-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tq-404-card h4 {
    padding: 14px 16px 18px;
    margin: 0;
    font-size: 16px;
    color: #fff;
}


/* =========================================
   MOBILE SECONDARY MENU – PRO NEWS STYLE
========================================= */

.tq-mobile-secondary-menu {
	position: relative;
	margin: 6px 0 0;
	padding: 8px 0;
	background: #f3f4f6; /* light grey */
	border-bottom: 1px solid #e5e7eb;
	overflow: hidden;
}

/* LEFT & RIGHT FADE SHADOWS */
.tq-mobile-secondary-menu::before,
.tq-mobile-secondary-menu::after {
	content: "";
	position: absolute;
	top: 0;
	width: 28px;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

.tq-mobile-secondary-menu::before {
	left: 0;
	background: linear-gradient(
		to right,
		#f3f4f6,
		rgba(243,244,246,0)
	);
}

.tq-mobile-secondary-menu::after {
	right: 0;
	background: linear-gradient(
		to left,
		#f3f4f6,
		rgba(243,244,246,0)
	);
}

/* UL */
.tq-mobile-secondary-list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0 12px;

	list-style: none;
	overflow-x: auto;
	white-space: nowrap;

	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.tq-mobile-secondary-list::-webkit-scrollbar {
	display: none;
}

/* LI */
.tq-mobile-secondary-list li {
	position: relative;
	display: flex;
	align-items: center;
}

/* PIPE SEPARATOR */
.tq-mobile-secondary-list li:not(:last-child)::after {
	content: "|";
	margin: 0 12px;
	color: #9ca3af;
	font-weight: 400;
}

/* LINK */
.tq-mobile-secondary-list a {
	font-size: 15px;
	font-weight: 700; /* REQUIRED */
	color: #374151;
	text-decoration: none;
	line-height: 1.2;
}

/* ACTIVE ITEM */
.tq-mobile-secondary-list .current-menu-item > a,
.tq-mobile-secondary-list .current_page_item > a {
	color: #209cee; /* REQUIRED */
}

/* DESKTOP HIDE */
@media (min-width: 769px) {
	.tq-mobile-secondary-menu {
		display: none;
	}
}


/* =========================
   Disable background scroll
   when mobile menu is open
========================= */

body.tq-menu-open {
	overflow: hidden;
	height: 100vh;
	touch-action: none;
}


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

.site-header {
	transition: all 0.3s ease;
}

.site-header.is-sticky {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff; /* ya jo tumhara header bg ho */
	box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}


/* ==================================================
   ARCHIVE HERO – MOBILE SLIM SEARCH BUTTON
================================================== */

@media (max-width: 520px) {

  .tq-archive-search {
    position: relative;
  }

  /* Search input thoda compact */
  .tq-archive-search-input {
    height: 42px;            /* pehle 50+ hoga */
    font-size: 14px;
    padding-right: 46px;     /* button ke liye space */
    border-radius: 24px;
  }

  /* Button chhota + patla */
  .tq-archive-search-btn {
    height: 36px;
    width: 36px;             /* perfect circular small */
    right: 4px;
    border-radius: 50%;
  }

  /* Icon bhi chhota */
  .tq-archive-search-btn svg {
    width: 16px;
    height: 16px;
  }

}


/* ==================================================
   BLOG TYPOGRAPHY OPTIMIZATION
================================================== */

/* Content area width (best readability) */
.entry-content {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.8;
}

/* Desktop increase */
@media (min-width: 992px) {
  .entry-content {
    font-size: 18px;
    line-height: 1.85;
  }
}

/* Paragraph spacing */
.entry-content p {
  margin-bottom: 18px;
}

/* H1 */
.entry-title,
.tq-single-title {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
}

@media (min-width: 992px) {
  .entry-title,
  .tq-single-title {
    font-size: 36px;
    line-height: 1.25;
  }
}

/* H2 */
.entry-content h2 {
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 12px;
}

@media (min-width: 992px) {
  .entry-content h2 {
    font-size: 28px;
  }
}

.entry-content {
  letter-spacing: 0.2px;
}