/*!
Theme Name: Hostinger blog theme
Author: Hostinger
Author URI: https://hostinger.com
Theme URI: https://www.hostinger.com/blog/hostinger-blog-theme
Details URI: https://hostinger.com
Description: Hostinger Blog Theme is the perfect choice for bloggers seeking a powerful yet lightweight solution. Built with SEO and mobile responsiveness in mind, this theme ensures optimal performance and a better online presence. It includes pre-made home, about us, contact us, and blog pages, giving your blog a seamless and quick start. Regardless of your niche, take your blog to the next level with this lightweight and professional-looking theme.
Version: 1.4.18
Tested up to: 6.5
Requires at least: 5.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hostinger-blog-theme
Tags: blog-theme
*/

/* Oncquest frontend cleanup overrides. Loaded after the packaged theme CSS. */
:root {
	--oq-bg: #f6f8fb;
	--oq-surface: #ffffff;
	--oq-ink: #102a43;
	--oq-muted: #536273;
	--oq-border: #dbe4ee;
	--oq-soft: #e8f5f2;
	--oq-primary: #0f766e;
	--oq-primary-dark: #0b4f4a;
	--oq-accent: #f59e0b;
	--oq-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	--max-width: 100%;
	--view-width: 1180px;
	--main-dark: var(--oq-ink);
	--main-light: var(--oq-surface);
	--main-primary: var(--oq-primary);
	--grey-main: var(--oq-muted);
	--grey-light: #f1f5f9;
	--grey-lighter: var(--oq-border);
}

html {
	background: var(--oq-bg);
	scroll-padding-top: 96px;
}

body.hts-body {
	background: var(--oq-bg);
	color: var(--oq-ink);
	font-family: Inter, Arial, sans-serif;
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.65;
}

body.hts-body a {
	color: inherit;
}

body.hts-body img {
	display: block;
	max-width: 100%;
}

.hts-page-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(219, 228, 238, 0.9);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
	height: 76px;
	padding: 0 24px;
}

.admin-bar .hts-page-header {
	top: 32px;
}

.hts-page-header-block {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(180px, auto) 1fr;
	height: auto;
	max-width: var(--view-width);
}

.hts-brand {
	align-items: center;
	display: inline-flex;
	min-width: 0;
	text-decoration: none;
}

.hts-brand-text h3 {
	color: var(--oq-primary-dark);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

#hst-logo-img,
.hts-footer .hts-logo img {
	height: auto;
	max-height: 48px;
	max-width: 240px;
	object-fit: contain;
}

.hts-nav {
	gap: 8px;
	margin: 0;
	padding: 0;
}

.hts-nav .menu-item a {
	border-radius: 6px;
	color: var(--oq-muted);
	display: inline-flex;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	padding: 10px 12px;
	text-decoration: none;
}

.hts-nav .menu-item a:hover,
.hts-nav .current-menu-item a {
	background: var(--oq-soft);
	color: var(--oq-primary-dark);
}

.hts-main {
	max-width: none;
	padding: 112px 24px 0;
}

.hts-section,
.hts-wrapper,
.hts-content,
.hts-footer > div {
	max-width: var(--view-width);
}

.hts-posts .hts-posts-header {
	align-items: end;
	border-bottom: 1px solid var(--oq-border);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 28px 0 24px;
	padding: 0 0 22px;
}

.hts-posts .hts-posts-header h1 {
	color: var(--oq-ink);
	font-size: 38px;
	font-weight: 750;
	line-height: 1.15;
	margin: 0;
	max-width: 720px;
}

.hts-posts .hts-posts-header .hts-description {
	color: var(--oq-muted);
	font-size: 17px;
	line-height: 1.7;
	margin: 12px 0 0;
	max-width: 760px;
}

.hts-posts .hts-posts-categories {
	display: block;
	margin: 0 0 30px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.post-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hts-capsules div,
.hts-capsules.light div {
	align-items: center;
	background: var(--oq-surface);
	border: 1px solid var(--oq-border);
	border-radius: 6px;
	color: var(--oq-primary-dark);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
	min-height: 30px;
	padding: 6px 10px;
	text-transform: none;
}

.hts-capsules div:hover,
.hts-capsules.light div:hover,
.hts-capsules.light div.active {
	background: var(--oq-primary);
	border-color: var(--oq-primary);
	color: #ffffff;
}

.hts-capsules a {
	color: inherit;
	text-decoration: none;
}

.hts-posts .hts-posts-list,
.hts-posts .hts-posts-list.hts-related {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
}

.hts-post {
	background: var(--oq-surface);
	border: 1px solid var(--oq-border);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.hts-post:hover {
	border-color: rgba(15, 118, 110, 0.35);
	box-shadow: var(--oq-shadow);
	transform: translateY(-2px);
}

.hts-post a.hts-featured-post-link {
	display: block;
	overflow: hidden;
}

.hts-post img,
.hts-gallery:not(.single-post) .hts-posts .hts-posts-list .hts-post.hts-large img {
	aspect-ratio: 16 / 10;
	border-radius: 0;
	height: auto;
	max-height: none;
	object-fit: cover;
	width: 100%;
}

.hts-post .hts-post-details {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.hts-post h3.hts-title {
	font-size: 20px;
	font-weight: 750;
	line-height: 1.3;
	margin: 12px 0 12px;
}

.hts-post h3.hts-title a {
	color: var(--oq-ink);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-decoration: none;
}

.hts-post h3.hts-title a:hover {
	color: var(--oq-primary-dark);
}

.hts-post p.small {
	color: var(--oq-muted);
	font-size: 13px;
	line-height: 1.5;
	margin-top: auto;
}

.hts-posts .hts-posts-footer {
	margin-top: 34px;
}

.hts-posts .hts-posts-action {
	align-items: center;
	background: var(--oq-primary);
	border-radius: 6px;
	color: #ffffff;
	display: inline-flex;
	gap: 8px;
	padding: 10px 14px;
	text-decoration: none;
}

.hts-posts .hts-posts-action p {
	color: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.hts-posts .hts-posts-action img {
	filter: brightness(0) invert(1);
	height: 14px;
	width: 14px;
}

.hts-section.hts-blog-post {
	padding-bottom: 72px;
}

.hts-section.hts-blog-post > .hts-header {
	display: none;
}

.hts-section.hts-blog-post .hts-content,
.oq-single-article {
	background: var(--oq-surface);
	border: 1px solid var(--oq-border);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	padding: 34px;
}

.hts-section.hts-blog-post .hts-content > .hts-header,
.oq-single-hero {
	align-items: center;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
	margin: 18px 0 42px;
	text-align: left;
}

.oq-back-link {
	align-items: center;
	color: var(--oq-primary-dark);
	display: inline-flex;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	margin-bottom: 8px;
	text-decoration: none;
}

.oq-back-link:before {
	content: "<";
	font-size: 16px;
	margin-right: 8px;
}

.oq-back-link:hover {
	color: var(--oq-primary);
	text-decoration: none;
}

.oq-single-copy {
	min-width: 0;
}

.hts-section.hts-blog-post .hts-content h1,
.oq-single-title {
	color: var(--oq-ink);
	font-size: 42px;
	font-weight: 750;
	line-height: 1.16;
	margin: 16px 0 12px;
	overflow-wrap: anywhere;
}

.oq-single-meta {
	color: var(--oq-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 650;
	gap: 8px 18px;
	line-height: 1.4;
	margin-top: 18px;
}

.oq-single-meta span {
	align-items: center;
	display: inline-flex;
}

.oq-single-meta span:not(:first-child):before {
	background: var(--oq-border);
	border-radius: 999px;
	content: "";
	height: 5px;
	margin-right: 18px;
	width: 5px;
}

.oq-single-media {
	align-self: stretch;
	background: #e6eef5;
	border-radius: 8px;
	min-height: 320px;
	overflow: hidden;
	position: relative;
}

.oq-single-media img {
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
	width: 100%;
}

.hts-section.hts-blog-post .hts-content > .hts-body,
.oq-single-body {
	margin: 0 auto;
	max-width: 860px;
}

.hts-section.hts-blog-post .hts-content p,
.hts-content p,
.hts-content li {
	color: var(--oq-muted);
	font-size: 17px;
	line-height: 1.78;
}

.oq-single-body > * {
	margin-bottom: 22px;
}

.oq-single-body > *:last-child {
	margin-bottom: 0;
}

.hts-section.hts-blog-post .hts-content h2,
.hts-section.hts-blog-post .hts-content h3,
.hts-content h2,
.hts-content h3 {
	color: var(--oq-ink);
	line-height: 1.25;
}

.oq-single-body h2,
.oq-single-body h3,
.oq-single-body h4 {
	margin: 42px 0 16px;
	overflow-wrap: anywhere;
}

.oq-single-body h2 {
	border-left: 4px solid var(--oq-primary);
	font-size: 28px;
	padding-left: 14px;
}

.oq-single-body h3 {
	font-size: 23px;
}

.oq-single-body ul,
.oq-single-body ol {
	margin: 20px 0 24px;
	padding-left: 28px;
}

.oq-single-body li {
	margin-bottom: 10px;
	padding-left: 4px;
}

.oq-single-body a {
	color: var(--oq-primary-dark);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.oq-single-body blockquote {
	background: var(--oq-soft);
	border-left: 4px solid var(--oq-primary);
	border-radius: 8px;
	color: var(--oq-ink);
	margin: 28px 0;
	padding: 20px 22px;
}

.oq-single-body blockquote p {
	color: var(--oq-ink);
	font-size: 18px;
	margin: 0;
}

.oq-single-body .wp-block-table {
	overflow-x: auto;
}

.oq-single-body table {
	border-collapse: collapse;
	display: block;
	font-size: 15px;
	line-height: 1.55;
	max-width: 100%;
	overflow-x: auto;
	width: 100%;
}

.oq-single-body table th,
.oq-single-body table td {
	border: 1px solid var(--oq-border);
	padding: 12px 14px;
	vertical-align: top;
}

.oq-single-body table th,
.oq-single-body table thead td {
	background: var(--oq-soft);
	color: var(--oq-ink);
	font-weight: 750;
}

.hts-section.hts-blog-post .hts-content img,
.hts-page .hts-details img {
	border-radius: 8px;
	margin: 24px 0;
}

.oq-single-body .wp-block-image,
.oq-single-body figure {
	margin: 30px 0;
}

.oq-single-body figure img {
	height: auto;
	margin: 0;
	width: 100%;
}

.oq-single-body figcaption {
	color: var(--oq-muted);
	font-size: 13px;
	line-height: 1.5;
	margin-top: 10px;
	text-align: center;
}

.hts-content {
	background: transparent;
	padding: 0;
}

.hts-content > *:first-child {
	margin-top: 0;
}

.hts-footer {
	background: #0f172a;
	color: #dbe4ee;
	margin-top: 72px;
	padding: 0 24px;
}

.hts-footer .hts-footer-block {
	display: grid;
	gap: 32px;
	grid-template-columns: 1.8fr 1fr 1fr;
	margin: 0;
	padding: 48px 0 20px;
}

.hts-footer .hts-logo h2,
.hts-footer .hts-links div {
	color: #ffffff;
}

.hts-footer p,
.hts-footer .hts-links p,
.hts-footer .hts-copyright {
	color: #cbd5e1;
}

.hts-footer hr.small {
	background: rgba(219, 228, 238, 0.2);
	margin: 18px 0;
}

.hts-footer .hts-footer-block-2 {
	align-items: center;
	margin: 0;
	padding-bottom: 36px;
}

.btn,
.btn.primary,
input[type="submit"] {
	border-radius: 6px;
}

@media screen and (max-width: 1024px) {
	.hts-posts .hts-posts-list,
	.hts-posts .hts-posts-list.hts-related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hts-section.hts-blog-post .hts-content > .hts-header,
	.oq-single-hero {
		grid-template-columns: 1fr;
	}

	.oq-single-media {
		min-height: auto;
	}

	.oq-single-media img {
		aspect-ratio: 16 / 9;
		height: auto;
	}
}

@media screen and (max-width: 782px) {
	.admin-bar .hts-page-header {
		top: 46px;
	}
}

@media screen and (max-width: 700px) {
	.hts-main {
		padding: 96px 16px 0;
	}

	.hts-page-header {
		height: 72px;
		padding: 0 16px;
	}

	.hts-page-header-block {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	#hst-logo-img {
		max-height: 38px;
		max-width: 190px;
	}

	.hts-menu-elements {
		background: rgba(15, 23, 42, 0.35);
		top: 72px;
	}

	.hts-nav {
		align-items: stretch;
		border-bottom: 1px solid var(--oq-border);
		box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
		padding: 18px;
	}

	.hts-nav .menu-item a {
		display: flex;
		padding: 13px 10px;
	}

	.hts-posts .hts-posts-header {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 12px;
	}

	.hts-posts .hts-posts-header h1,
	.hts-section.hts-blog-post .hts-content h1,
	.oq-single-title {
		font-size: 30px;
	}

	.hts-posts .hts-posts-list,
	.hts-posts .hts-posts-list.hts-related {
		grid-template-columns: 1fr;
	}

	.post-categories-list {
		flex-wrap: nowrap;
		min-width: max-content;
	}

	.hts-section.hts-blog-post .hts-content,
	.oq-single-article {
		padding: 20px;
	}

	.hts-section.hts-blog-post .hts-content > .hts-body,
	.oq-single-body {
		max-width: none;
	}

	.oq-single-hero {
		gap: 22px;
		margin-bottom: 30px;
	}

	.oq-single-meta {
		display: grid;
		gap: 7px;
	}

	.oq-single-meta span:not(:first-child):before {
		display: none;
	}

	.oq-single-body h2 {
		font-size: 24px;
	}

	.oq-single-body h3 {
		font-size: 21px;
	}

	.oq-single-body p,
	.oq-single-body li {
		font-size: 16px;
		line-height: 1.75;
	}

	.hts-footer .hts-footer-block,
	.hts-footer .hts-footer-block-2 {
		grid-template-columns: 1fr;
	}

	.hts-footer .hts-footer-block-2 .hts-copyright {
		text-align: left;
	}
}

/* Navigation hardening */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.hts-menu {
	align-items: center;
	display: flex;
	justify-content: flex-end;
	min-width: 0;
	position: relative;
}

.hts-menu-elements {
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}

.hts-nav,
.hts-nav ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hts-nav li,
.hts-nav .page_item,
.hts-nav .menu-item {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hts-nav a {
	align-items: center;
	border-radius: 6px;
	color: var(--oq-muted);
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	min-height: 42px;
	padding: 10px 12px;
	text-decoration: none;
	white-space: nowrap;
}

.hts-nav a:hover,
.hts-nav a:focus-visible,
.hts-nav .current-menu-item > a,
.hts-nav .current_page_item > a {
	background: var(--oq-soft);
	color: var(--oq-primary-dark);
	outline: none;
}

.hts-nav-toggle,
.hts-menu .open,
.hts-menu .close {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--oq-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	display: none;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 42px;
}

.hts-nav-toggle img,
.hts-menu .open img,
.hts-menu .close img {
	height: 20px;
	width: 20px;
}

@media screen and (max-width: 900px) {
	body.hts-body.menu-open {
		overflow: hidden;
	}

	.hts-page-header-block {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.hts-menu.closed .open,
	.hts-menu.opened .close {
		display: inline-flex;
	}

	.hts-menu.closed .close,
	.hts-menu.opened .open {
		display: none;
	}

	.hts-menu-elements {
		background: rgba(15, 23, 42, 0.38);
		bottom: auto;
		display: block;
		left: 0;
		min-height: calc(100vh - 76px);
		opacity: 0;
		pointer-events: none;
		position: fixed;
		right: 0;
		top: 76px;
		transform: translateY(-8px);
		transition: opacity 160ms ease, transform 160ms ease;
		width: 100%;
		z-index: -1;
	}

	.admin-bar .hts-menu-elements {
		top: 108px;
	}

	.hts-menu.opened .hts-menu-elements {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		z-index: 9;
	}

	.hts-nav,
	.hts-nav ul {
		align-items: stretch;
		background: #ffffff;
		border-bottom: 1px solid var(--oq-border);
		box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
		display: flex;
		flex-direction: column;
		gap: 4px;
		justify-content: flex-start;
		margin: 0;
		max-height: calc(100vh - 76px);
		overflow-y: auto;
		padding: 14px;
		width: 100%;
	}

	.hts-nav a {
		border-radius: 6px;
		font-size: 16px;
		justify-content: space-between;
		min-height: 48px;
		padding: 13px 14px;
		white-space: normal;
		width: 100%;
	}
}

@media screen and (max-width: 782px) {
	.admin-bar .hts-menu-elements {
		top: 122px;
	}
}

@media screen and (max-width: 700px) {
	.hts-menu-elements {
		min-height: calc(100vh - 72px);
		top: 72px;
	}

	.admin-bar .hts-menu-elements {
		top: 118px;
	}

	.hts-nav,
	.hts-nav ul {
		max-height: calc(100vh - 72px);
	}
}
