/*
Theme Name:  CSL Full Performance
Theme URI:   https://github.com/clebersleite/csl-full-performance
Author:      Cleber S Leite
Author URI:  mailto:clebersleite@gmail.com
Description: Ultra-clean, performance-first WordPress theme built for Elementor. Zero bloat. Maximum speed.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: csl-full-performance
Tags:        elementor, full-width, custom-logo, blog, e-commerce, performance
*/

/* ==========================================================================
   CSL Full Performance — Base Reset
   Zero opinions. Maximum freedom for Elementor.
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

/* Remove default margins */
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, blockquote,
figure, pre, fieldset {
	margin: 0;
	padding: 0;
}

ul, ol {
	list-style: none;
}

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

a {
	color: inherit;
	text-decoration: none;
}

/* ==========================================================================
   Skip Link — Accessibility
   ========================================================================== */

.skip-link {
	position: absolute;
	top: -999px;
	left: -999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 99999;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	font-size: 14px;
}

.skip-link:focus {
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	overflow: visible;
}

/* ==========================================================================
   Site Layout — Bare minimum
   ========================================================================== */

#page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#content {
	flex: 1;
}

/* ==========================================================================
   Site Header — Optional logo only
   ========================================================================== */

.site-header {
	width: 100%;
}

.site-header--has-logo {
	padding: 16px 24px;
}

.site-branding {
	display: flex;
	align-items: center;
}

.custom-logo-link {
	display: inline-block;
	line-height: 0;
}

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

/* Hide site title/description if logo exists */
.has-logo .site-title,
.has-logo .site-description {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
}

/* Show site title if no logo */
.no-logo .site-title {
	font-size: 1.25rem;
	font-weight: 700;
}

.no-logo .site-description {
	display: none;
}

/* ==========================================================================
   Elementor — Full width canvas
   ========================================================================== */

.elementor-page .site-header--hidden,
.elementor-page .site-footer--hidden {
	display: none;
}

/* Ensure Elementor sections stretch edge-to-edge */
.elementor-section.elementor-section-stretched {
	width: 100% !important;
	left: 0 !important;
}
