/*
Theme Name: Ultra-Light Speed Theme (Elementor Ready)
Theme URI: https://example.com/ultra-light-theme
Author: Custom Developer
Author URI: https://example.com
Description: An ultra-lightweight, zero-bloat WordPress theme fully optimized for Elementor and 100/100 PageSpeed performance.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ultra-light-theme
*/

/* Reset & Base System Variables */
:root {
    --ult-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --ult-bg-color: #ffffff;
    --ult-text-color: #1a1a1a;
    --ult-accent-color: #0066cc;
    --ult-border-color: #e5e5e5;
    --ult-max-width: 100%;
    --ult-spacing: 0;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--ult-font-stack);
    background-color: var(--ult-bg-color);
    color: var(--ult-text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Theme Layout Container (Isolated class to prevent collision with Elementor) */
.ult-container {
    max-width: var(--ult-max-width);
    margin: 0 auto;
    padding: 0 var(--ult-spacing);
    width: 100%;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--ult-border-color);
    padding: var(--ult-spacing) 0;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--ult-text-color);
    text-decoration: none;
}

.site-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Navigation */
.site-nav {
    margin-top: 1rem;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.site-nav a {
    color: var(--ult-text-color);
    text-decoration: none;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--ult-accent-color);
}

/* Default PHP Main Layout */
.site-main {
    padding: 2rem 0;
}

/* Elementor Full Width Main Reset (Allows Elementor sections to stretch 100%) */
.site-main-elementor {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Article & Post Card Styling for Default Blog Views */
.post-card {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--ult-border-color);
}

.entry-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: var(--ult-text-color);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--ult-accent-color);
}

.entry-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1rem;
}

.entry-content, .entry-summary {
    font-size: 1rem;
    line-height: 1.7;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--ult-border-color);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}
