/* =====================================================
   TECHQOR ULTRA LITE THEME
   MAIN CSS
===================================================== */

/* =====================================================
   GLOBAL / BASE
===================================================== */

body.tqul-theme {
	margin: 0;
	padding: 0;
}

.site-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	background: var(--tq-bg);
}

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

.content-sidebar-wrap {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 40px;
}

.content {
	width: calc(100% - 370px);
	min-width: 0;
}

.sidebar-primary,
.sidebar {
	width: 330px;
	flex: 0 0 330px;
	min-width: 0;
}

/* =====================================================
   ACCESSIBILITY / FOCUS
===================================================== */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.menu-toggle:focus {
	outline: 2px solid var(--tq-primary);
	outline-offset: 2px;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
	background: var(--tq-bg);
	border-bottom: 1px solid var(--tq-border);
	position: relative;
	z-index: 100;
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 70px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.title-area {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a,
.site-title a:hover,
.site-title a:focus {
	color: var(--tq-heading);
	text-decoration: none;
}

.site-description {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tq-meta);
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.custom-logo {
	max-height: 80px;
	width: auto;
	border-radius: 0;
}

/* =====================================================
   NAVIGATION
===================================================== */

.nav-primary {
	background: var(--tq-bg);
	border-bottom: 1px solid var(--tq-border);
}

.nav-primary .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.genesis-nav-menu .menu-item {
	position: relative;
	list-style: none;
}

.genesis-nav-menu a {
	display: block;
	padding: 16px 18px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tq-heading);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .current-menu-parent > a,
.genesis-nav-menu .current-page-ancestor > a {
	color: var(--tq-primary);
}

.genesis-nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 99;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--tq-bg);
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-md);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.genesis-nav-menu .sub-menu .menu-item {
	width: 100%;
}

.genesis-nav-menu .sub-menu a {
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--tq-text);
	white-space: nowrap;
}

.genesis-nav-menu .menu-item:hover > .sub-menu,
.genesis-nav-menu .menu-item:focus-within > .sub-menu {
	display: block;
}

.genesis-responsive-menu {
	display: none;
}

.menu-toggle,
.sub-menu-toggle {
	display: none;
}

/* =====================================================
   ENTRY / POSTS
===================================================== */

.entry,
.archive .entry,
.blog .entry,
.search .entry {
	margin-bottom: 32px;
	padding: 0 0 32px;
	border-bottom: 1px solid var(--tq-border);
}

.entry:last-child,
.archive .entry:last-child,
.blog .entry:last-child,
.search .entry:last-child {
	margin-bottom: 0;
}

.entry-title {
	margin: 0 0 12px;
	font-size: 30px;
	line-height: 1.25;
}

.entry-title a,
.entry-title a:hover,
.entry-title a:focus {
	color: var(--tq-heading);
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	color: var(--tq-primary);
}

.entry-header {
	margin-bottom: 20px;
}

.entry-meta,
.byline,
.entry-comments-link,
.entry-categories,
.entry-tags {
	font-size: 14px;
	line-height: 1.6;
	color: var(--tq-meta);
}

.entry-meta a,
.byline a,
.entry-comments-link a,
.entry-categories a,
.entry-tags a {
	color: var(--tq-meta);
	text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus,
.byline a:hover,
.byline a:focus,
.entry-comments-link a:hover,
.entry-comments-link a:focus,
.entry-categories a:hover,
.entry-categories a:focus,
.entry-tags a:hover,
.entry-tags a:focus {
	color: var(--tq-primary);
}

.entry-image-link,
.entry-image-link:hover,
.entry-image-link:focus {
	display: block;
	margin-bottom: 18px;
	text-decoration: none;
}

.entry-image,
.post-image,
.wp-post-image {
	width: 100%;
	height: auto;
	border-radius: var(--tq-radius-md);
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.more-link {
	display: inline-block;
	margin-top: 8px;
	font-weight: 600;
	color: var(--tq-primary);
	text-decoration: none;
}

.more-link:hover,
.more-link:focus {
	text-decoration: underline;
}

/* =====================================================
   ARCHIVE / BLOG CARD-LIKE LIST
===================================================== */

.blog .content .entry,
.archive .content .entry,
.search .content .entry {
	padding: 20px;
	background: var(--tq-bg);
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-md);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog .content .entry:hover,
.archive .content .entry:hover,
.search .content .entry:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* =====================================================
   CONTENT TYPOGRAPHY
===================================================== */

.entry-content ul,
.entry-content ol {
	margin: 0 0 20px 22px;
	padding: 0;
}

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

.entry-content blockquote {
	margin: 0 0 24px;
	padding: 18px 20px;
	background: var(--tq-light-bg);
	border-left: 4px solid var(--tq-primary);
	border-radius: var(--tq-radius-sm);
	color: var(--tq-text);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: collapse;
	border: 1px solid var(--tq-border);
}

.entry-content th,
.entry-content td {
	padding: 12px 14px;
	text-align: left;
	border: 1px solid var(--tq-border);
}

.entry-content th {
	background: var(--tq-light-bg);
	color: var(--tq-heading);
	font-weight: 600;
}

.entry-content pre,
.entry-content code {
	font-family: Consolas, Monaco, monospace;
}

.entry-content pre {
	overflow-x: auto;
	margin: 0 0 24px;
	padding: 16px;
	background: #f6f8fa;
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-sm);
}

/* =====================================================
   SIDEBAR / WIDGETS
===================================================== */

.sidebar .widget,
.sidebar-primary .widget {
	margin-bottom: 32px;
	padding: 20px;
	background: var(--tq-bg);
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-md);
}

.sidebar .widget:last-child,
.sidebar-primary .widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--tq-heading);
}

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

.widget li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--tq-border);
}

.widget li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

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

.widget a:hover,
.widget a:focus {
	color: var(--tq-primary);
}

.widget p:last-child {
	margin-bottom: 0;
}

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

.search-form,
.widget_search form,
.sidebar .search-form {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.search-form input[type="search"],
.search-form input[type="text"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
	width: 100%;
	padding: 12px 14px;
	background: #ffffff;
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-sm);
	color: var(--tq-text);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input[type="submit"],
button[type="submit"],
.search-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--tq-radius-sm);
	background: var(--tq-primary);
	color: #ffffff;
	font-weight: 600;
	cursor: pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.search-form input[type="submit"]:hover,
input[type="submit"]:focus,
button[type="submit"]:focus,
.search-form input[type="submit"]:focus {
	background: #1785c7;
}

/* =====================================================
   PAGINATION
===================================================== */

.archive-pagination,
.pagination {
	margin-top: 32px;
}

.archive-pagination ul,
.pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.archive-pagination li,
.pagination li {
	margin: 0;
}

.archive-pagination a,
.archive-pagination span,
.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	background: var(--tq-bg);
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-sm);
	color: var(--tq-heading);
	text-decoration: none;
}

.archive-pagination a:hover,
.archive-pagination a:focus,
.archive-pagination .active a,
.archive-pagination .active span,
.pagination a:hover,
.pagination a:focus,
.pagination .active a,
.pagination .active span {
	background: var(--tq-primary);
	border-color: var(--tq-primary);
	color: #ffffff;
}

/* =====================================================
   COMMENTS
===================================================== */

.comment-respond,
.entry-comments,
.entry-pings {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--tq-border);
}

.comment-list,
.ping-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list li {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--tq-border);
}

.comment-author {
	font-weight: 600;
	color: var(--tq-heading);
}

.comment-meta {
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--tq-meta);
}

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

.author-box {
	margin-top: 40px;
	padding: 24px;
	background: var(--tq-light-bg);
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-md);
}

.author-box-title {
	margin-bottom: 12px;
	font-size: 18px;
	color: var(--tq-heading);
}

/* =====================================================
   FOOTER WIDGETS
===================================================== */

.footer-widgets {
	margin-top: 60px;
	padding: 40px 0;
	background: #111111;
	color: #cccccc;
}

.footer-widgets .wrap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-widgets .widget {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.footer-widgets .widget-title {
	color: #ffffff;
	margin-bottom: 16px;
}

.footer-widgets a {
	color: #ffffff;
	text-decoration: none;
}

.footer-widgets a:hover,
.footer-widgets a:focus {
	color: var(--tq-primary);
}

.footer-widgets li {
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* =====================================================
   SITE FOOTER
===================================================== */

.site-footer {
	padding: 18px 20px;
	background: #0b0b0b;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	color: #cccccc;
	font-size: 14px;
	line-height: 1.6;
}

.site-footer a {
	color: #ffffff;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--tq-primary);
}

/* =====================================================
   ALIGNMENTS / WORDPRESS BASICS
===================================================== */

.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
}

.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 10px;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption {
	max-width: 100%;
	margin: 0 0 24px;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--tq-meta);
	text-align: center;
}

.sticky {
	position: relative;
}

.bypostauthor {
	position: relative;
}

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

/* =====================================================
   UTILITIES
===================================================== */

.tq-section {
	margin-bottom: 40px;
}

.tq-card {
	padding: 20px;
	background: var(--tq-bg);
	border: 1px solid var(--tq-border);
	border-radius: var(--tq-radius-md);
}

.tq-center {
	text-align: center;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}