/*
Theme Name: NewsBattlefield
Theme URI: https://yourdomain.com
Author: Publisher Tech
Description: Enterprise media architecture (TechCrunch × FT × Bloomberg). Built for semantic SEO, speed, and structured entity publishing.
Version: 1.0.0
Text Domain: newsbattlefield
*/

/* ==========================================================================
   1. CSS Variables (The Design System)
   ========================================================================== */
:root {
    /* Colors */
    --color-text: #111827;
    --color-bg: #ffffff;
    --color-bg-alt: #f3f4f6;
    --color-brand: #2563eb;
    --color-border: #e5e7eb;
    --color-meta: #6b7280;

    /* Typography (Fluid) */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: "Georgia", Cambria, "Times New Roman", Times, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Layout */
    --container-width: 1280px;
    --container-padding: 1rem;
}

@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
}

/* ==========================================================================
   2. Base Reset & Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Fluid Typography for Headers */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--space-sm) 0;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

/* ==========================================================================
   3. Main Layout Container (Mobile First)
   ========================================================================== */
.site-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}