/*
Theme Name: Code Easiest
Theme URI: https://codeasiest.com
Author: Code Easiest
Author URI: https://codeasiest.com
Description: A lightweight WordPress theme built for Elementor. Clean, fast and suitable for Elementor and Elementor Pro Theme Builder sites, with safe fallback templates when Elementor templates are not assigned.
Version: 1.0.2
Requires at least: 5.6
Tested up to: 6.7
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: code-easiest
Tags: custom-colors, custom-logo, custom-menu, full-width-template, theme-options, two-columns, blog, e-commerce, portfolio
*/

/* ========================================================================== 
   Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333333;
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
}

/* Remove the visible click/focus box that appears around links, buttons, logos, menu items and Elementor clickable items.
   Keyboard users still get a clean focus indicator through :focus-visible below. */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
summary:focus,
[tabindex]:focus,
[role="button"]:focus,
.elementor a:focus,
.elementor button:focus,
.elementor-widget-container a:focus,
.elementor-button:focus,
.elementor-icon:focus,
.elementor-item:focus,
.elementor-nav-menu a:focus,
.elementor-social-icon:focus {
	outline: none !important;
	box-shadow: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 3px;
}

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #ffffff;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #1b3a6b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 12px 16px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
}

/* ========================================================================== 
   Layout
   ========================================================================== */

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
	width: 100%;
}

.entry-content,
.entry-header,
.no-results,
.error-404 {
	width: min(100% - 40px, 1200px);
	margin-left: auto;
	margin-right: auto;
}

.elementor-page .entry-content,
.elementor-template-full-width .entry-content,
.elementor-template-canvas .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
}

.entry-title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.15;
}

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

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

/* ========================================================================== 
   Optional fallback header and footer
   ========================================================================== */

.site-header,
.site-footer {
	width: 100%;
	background: #ffffff;
}

.site-header {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header-inner,
.site-footer-inner {
	width: min(100% - 40px, 1200px);
	margin: 0 auto;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
}

.site-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1b3a6b;
	text-decoration: none;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.main-navigation a {
	text-decoration: none;
}

.site-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.9375rem;
}

.site-footer-inner {
	padding: 22px 0;
}

.site-info {
	margin: 0;
}

/* ========================================================================== 
   Elementor compatibility
   ========================================================================== */

.elementor-section-wrap,
.elementor-inner {
	width: 100%;
}

.elementor-section.elementor-section-stretched {
	max-width: 100% !important;
}

.elementor-template-canvas #primary,
.elementor-template-canvas .site-content {
	padding: 0;
	margin: 0;
}

.elementor-page .site-content {
	padding: 0;
}

@media (max-width: 767px) {
	.site-header-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.main-navigation ul {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}
