/*
Theme Name: A Crítica Acre
Theme URI: https://acriticaacre.com.br
Author: Jonys David
Author URI: https://acriticaacre.com.br
Description: Tema jornalístico profissional desenvolvido especialmente para o portal A Crítica Acre. Design moderno e clean, otimizado para notícias, com suporte a publicidade, modo escuro e acessibilidade completa.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acriticaacre
Tags: news, magazine, blog, two-columns, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready

A Crítica Acre - Portal de Notícias do Acre
*/

/* ==========================================
   RESET E BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* ==========================================
   VARIÁVEIS CSS
   ========================================== */
:root {
    /* Cores Principais */
    --color-primary: #c62828;
    --color-secondary: #b71c1c;
    --color-accent: #d32f2f;
    
    /* Cores Modo Claro */
    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f5;
    --color-bg-tertiary: #eeeeee;
    --color-text: #212121;
    --color-text-secondary: #757575;
    --color-text-light: #9e9e9e;
    --color-border: #e0e0e0;
    
    /* Tipografia */
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Tamanhos */
    --container-width: 1280px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Bordas e Sombras */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    
    /* Transições */
    --transition: all 0.3s ease;
}

/* Modo Escuro */
[data-theme="dark"] {
    --color-bg: #121212;
    --color-bg-secondary: #1e1e1e;
    --color-bg-tertiary: #2c2c2c;
    --color-text: #e0e0e0;
    --color-text-secondary: #b0b0b0;
    --color-text-light: #808080;
    --color-border: #333333;
}

/* ==========================================
   TIPOGRAFIA
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

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

/* ==========================================
   LAYOUT PRINCIPAL
   ========================================== */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.site-content {
    flex: 1;
    padding: var(--spacing-2xl) 0;
}

/* ==========================================
   RESPONSIVIDADE BASE
   ========================================== */
@media (max-width: 768px) {
    html { font-size: 14px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ==========================================
   UTILITÁRIOS
   ========================================== */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
