/*
Theme Name: Claves WP Theme
Theme URI: https://example.com/claves-wp-theme
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme for Claves.
Version: 1.0.32
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: claves-wp-theme
Tags: custom, blog, portfolio
*/

/* =========================================
   Base Styles
   ========================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Layout
   ========================================= */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   Header
   ========================================= */

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.site-branding .site-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.site-branding .site-description {
    font-size: 0.875rem;
    color: #666;
}

/* =========================================
   Navigation
   ========================================= */

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* =========================================
   Content
   ========================================= */

.entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1rem;
}

/* =========================================
   Footer
   ========================================= */

.site-footer {
    background: #04102a;
    color: rgba(240, 236, 228, 0.65);
    padding: 0;
    text-align: left;
    font-size: 0.875rem;
}

/* =========================================
   Widgets
   ========================================= */

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* =========================================
   Buttons
   ========================================= */

.btn,
button,
input[type="submit"] {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background: transparent;
    text-decoration: none;
}

/* =========================================
   Forms
   ========================================= */

input[type="text"],
input[type="email"],
input[type="search"],
textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* =========================================
   Accessibility
   ========================================= */

.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 !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
