/* ============================================
   NEWSPAPER LANDING PAGE - BASE STYLES
   ============================================ */

/* CSS CUSTOM PROPERTIES */
:root {
    /* Colors - Newspaper Theme */
    --color-primary: #1a1a1a;
    --color-secondary: #2c2c2c;
    --color-accent: #c41e3a;
    --color-accent-light: #e63946;
    --color-gold: #d4af37;
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-light-gray: #e9ecef;
    --color-gray: #6c757d;
    --color-dark-gray: #495057;
    --color-border: #dee2e6;

    /* Category Colors */
    --color-politics: #1e40af;
    --color-business: #047857;
    --color-tech: #7c3aed;
    --color-sports: #dc2626;
    --color-entertainment: #db2777;
    --color-world: #0891b2;

    /* Typography */
    --font-display: "Merriweather", serif;
    --font-body: "Merriweather", serif;
    --font-sans: "Merriweather", serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-primary);
    background-color: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.section {
    padding: var(--spacing-xl) 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
/* Screen reader only - visually hidden but accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
