/*
Theme Name: UiChemy Zero
Author: POSIMYTH
Author URI: https://posimyth.com
Description: A lightweight, easy-to-use theme built for UiChemy. Clean, fast-loading code with just one small stylesheet and no extra scripts, so your site stays quick. Design your header, footer and pages visually in UiChemy.
Version: 0.1.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uichemy-zero
Tags: blog, one-column, custom-background, custom-header, custom-logo, custom-menu, threaded-comments, translation-ready
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--uz-accent: #fd6a35;
	--uz-accent-text: #c2461d;
	--uz-text: #16161a;
	--uz-muted: #5f5f6b;
	--uz-border: #ececf0;
	--uz-dark: #0e0e11;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.65;
	color: var(--uz-text);
	background: #fff;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: anywhere;
}

pre {
	max-width: 100%;
	overflow: auto;
}

iframe,
embed,
object,
table,
input,
select,
textarea {
	max-width: 100%;
}

textarea {
	width: 100%;
}

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

img,
video {
	max-width: 100%;
	height: auto;
}

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

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #fff;
	color: var(--uz-text);
}

.site-container,
body:not(.elementor-page) .site-main {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 16px;
}

/* Header */
.site-header {
	border-top: 4px solid var(--uz-accent);
	border-bottom: 1px solid var(--uz-border);
}

.header-image img {
	display: block;
	width: 100%;
	height: auto;
}

.site-header .site-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.custom-logo {
	display: block;
	width: auto;
	max-height: 60px;
}

.site-branding-text {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-description {
	margin: 0;
	color: var(--uz-muted);
	font-size: 0.9375rem;
}

/* Menus */
.main-navigation ul,
.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation a {
	display: block;
	padding: 4px 0;
	color: var(--uz-text);
	font-weight: 600;
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
	color: var(--uz-accent-text);
}

.main-navigation li {
	position: relative;
}

.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: -16px;
	z-index: 99;
	display: none;
	flex-direction: column;
	gap: 0;
	min-width: 200px;
	padding: 8px 16px;
	border: 1px solid var(--uz-border);
	border-radius: 6px;
	background: #fff;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	display: flex;
}

.footer-navigation {
	margin-bottom: 12px;
}

/* Content */
body:not(.elementor-page) .site-main {
	padding-top: 48px;
	padding-bottom: 64px;
}

.site-main > article + article {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--uz-border);
}

.entry-meta {
	margin: 0 0 6px;
	color: var(--uz-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.entry-title {
	margin: 0 0 12px;
	font-size: 1.75rem;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

h1.entry-title {
	font-size: 2.5rem;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	color: var(--uz-accent-text);
	text-decoration: underline;
}

button,
input[type="submit"] {
	padding: 10px 20px;
	border: 0;
	border-radius: 6px;
	background: var(--uz-dark);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
	background: var(--uz-accent-text);
}

/* WordPress core classes */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

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

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 0.5em;
	color: var(--uz-muted);
	font-size: 0.875rem;
}

.sticky .entry-title::before {
	content: "\2605  ";
	color: var(--uz-accent);
}

.bypostauthor > .comment-body {
	border-left: 3px solid var(--uz-accent);
	padding-left: 12px;
}

/* Footer */
.site-footer {
	background: var(--uz-dark);
	color: #b4b4bf;
	font-size: 0.875rem;
}

.site-footer .site-container {
	padding-top: 28px;
	padding-bottom: 28px;
}

.site-footer p {
	margin: 0;
}

.site-footer a {
	color: #fff;
}
