/*
Theme Name: TechQor Super Lite Theme
Theme URI: https://techqor.in
Author: Krishna Sharma
Author URI: https://techqor.in
Description: Ultra lightweight, mobile-first Genesis child theme focused on speed and SEO.
Version: 1.0.0
Template: genesis
Text Domain: techqor-super-lite
*/
@import url("assets/css/front-page.css");

/* ================================
   CSS VARIABLES
================================ */
:root {
	--font-base: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--color-bg: #ffffff;
	--color-text: #111111;
	--color-muted: #666666;
	--color-border: #e5e7eb;
	--color-accent: #2563eb;

	--container-width: 1200px;
	--space-xs: 0.5rem;
	--space-sm: 0.75rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;

	--radius-sm: 6px;
	--radius-md: 10px;

	--transition: 0.3s ease;
}

/* ================================
   BASE RESET
================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.6;
}

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

a {
	color: var(--color-accent);
	text-decoration: none;
}


/* ================================
   TECHQOR GLOBAL COLOR SYSTEM
================================ */

/* Links */
a {
	color: var(--tq-primary-color);
}
a:hover {
	color: var(--tq-primary-color);
	opacity: 0.9;
}

/* Buttons */
button,
input[type="submit"],
.button {
	background-color: var(--tq-primary-color);
	border-color: var(--tq-primary-color);
	color: #fff;
}

/* Button hover */
button:hover,
input[type="submit"]:hover,
.button:hover {
	opacity: 0.9;
}

/* Icons / accents */
.tq-follow-btn,
.tq-search-toggle,
.tq-share-btn:hover {
	color: var(--tq-primary-color);
	border-color: var(--tq-primary-color);
}


/* ================================
   LAYOUT
================================ */
.site-container {
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--space-md);
}

/* Center container for front page only */
.tq-front-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	box-sizing: border-box;
}
/* ==================================================
   LAYOUT
================================================== */


.site-inner {
	padding-top: 22px;
	padding-bottom: 44px;
}

.content-sidebar-wrap {
	display: grid;
	gap: 22px;
	align-items: start;
}



.full-width-content .sidebar {
	display: none;
}

/* ================================
   ADS
================================ */
.ad-area {
	margin-block: var(--space-xl);
}

/* ================================
   FOOTER
================================ */
.site-footer {
	border-top: 1px solid var(--color-border);
	padding: var(--space-lg) 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--color-muted);
}

/* ================================
   MEDIA QUERIES
================================ */
@media (min-width: 1024px) {
	.hamburger {
		display: none;
	}

	.primary-nav {
		display: block;
	}

	.content-sidebar-wrap {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}



.genesis-skip-link {
	display: none;
}


/* ================================
   PRO TYPOGRAPHY – SINGLE POST
================================ */

.entry-content {
	max-width: 760px;
	margin-inline: auto;
	font-size: clamp(1rem, 1.1vw, 1.12rem);
	line-height: 1.85;
}

.entry-content h2 {
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
	margin-top: 3rem;
}

.entry-content h3 {
	font-size: 1.25rem;
	margin-top: 2.2rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.2rem;
	margin-bottom: 1.5rem;
}

.entry-content blockquote {
	border-left: 4px solid var(--color-accent);
	padding-left: 1rem;
	color: var(--color-muted);
	margin: 2rem 0;
}



/* In-content Ad */
.tq-incontent-ad {
	margin: 2.5rem 0;
	text-align: center;
}



.tq-post-meta {
	font-size: 0.85rem;
	color: var(--color-muted);
}


.tq-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}


/* ================================
   TABLE OF CONTENTS
================================ */

.tq-toc {
	border: 1px solid var(--color-border);
	padding: 1.25rem;
	border-radius: 12px;
	margin-bottom: 2rem;
	background: #fafafa;
}

.tq-toc-title {
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.tq-toc ul {
	margin: 0;
	padding-left: 1rem;
}

.tq-toc li {
	margin-bottom: 0.5rem;
}

.tq-toc a {
	color: var(--color-text);
	text-decoration: none;
}

.tq-toc a:hover {
	color: var(--color-accent);
}



/* ================================
   AUTHOR BOX
================================ */

.tq-author-box {
	display: flex;
	gap: 1.25rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}

.tq-author-avatar img {
	border-radius: 50%;
}

.tq-author-name {
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.tq-author-bio {
	font-size: 0.95rem;
	color: var(--color-muted);
}

/* ================================
   CTA BLOCK
================================ */

.tq-cta-block {
	border: 2px dashed var(--color-border);
	padding: 1.5rem;
	margin: 2.5rem 0;
	border-radius: 14px;
	background: #fff;
}

.tq-cta-title {
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.tq-cta-block ul {
	padding-left: 1.2rem;
}

.tq-cta-block a {
	font-weight: 500;
}

/* AUTHOR */
.tq-author-box {
	display: flex;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}
.tq-author-box img {
	border-radius: 50%;
}
/* ================================
   COMMENTS UI
================================ */

.comment-list {
	margin-top: 2rem;
}

.comment {
	border-bottom: 1px solid var(--color-border);
	padding: 1.25rem 0;
}

.comment-author {
	font-weight: 600;
}

.comment-meta {
	font-size: 0.75rem;
	color: var(--color-muted);
	margin-bottom: 0.5rem;
}

.comment-content p {
	margin-bottom: 0.75rem;
}

/* Reply link */
.comment-reply-link {
	font-size: 0.75rem;
	text-decoration: none;
	color: var(--tq-primary-color);
}

/* Comment form */
.comment-respond {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
	width: 100%;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	padding: 0.6rem;
}

/* Submit button */
.comment-form input[type="submit"] {
	background: var(--tq-primary-color);
	color: #fff;
	border: none;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	cursor: pointer;
}
/* Hide skip links visually */
.genesis-skip-link {
	position: absolute;
	left: -9999px;
}


/* =====================================================
   FORCE FRONT PAGE FULL WIDTH (GENESIS FIX)
===================================================== */

body.home .content-sidebar-wrap,
body.home .content,
body.home #genesis-content {
	width: 100%;
	max-width: 100%;
	float: none;
}

/* Remove sidebar spacing effect */
body.home .sidebar {
	display: none;
}
