/*
Theme Name: Spurlin News
Theme URI: https://spurlin.news
Author: Spurlin News Team
Author URI: https://spurlin.news
Description: A professional, authoritative news theme for Spurlin News - delivering trusted journalism with a clean, modern design comparable to Reuters, AP News, and The Wall Street Journal.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spurlin-news
Tags: news, magazine, blog, custom-menu, featured-images, translation-ready, custom-logo

Spurlin News WordPress Theme
Copyright 2026 Spurlin News
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #1a1a2e;
    --color-primary-light: #2d2d4a;
    --color-background: #fafafa;
    --color-background-alt: #f5f5f5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #888888;
    --color-breaking: #d32f2f;
    --color-breaking-dark: #b71c1c;
    --color-border: #e0e0e0;
    --color-white: #ffffff;
    --color-black: #000000;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Layout */
    --max-width-content: 720px;
    --max-width-wide: 1200px;
    --max-width-full: 1400px;
    --header-height: 80px;
    --header-height-scrolled: 60px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover,
a:focus {
    color: var(--color-primary-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md);
    color: var(--color-text);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin: 0 0 var(--spacing-lg);
}

ul, ol {
    margin: 0 0 var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

blockquote {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-left: 4px solid var(--color-primary);
    background-color: var(--color-background-alt);
    font-style: italic;
    font-size: var(--font-size-lg);
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    font-style: normal;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.container--wide {
    max-width: var(--max-width-wide);
}

.container--content {
    max-width: var(--max-width-content);
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignnone {
    margin: var(--spacing-md) 0;
}

.aligncenter {
    display: block;
    margin: var(--spacing-md) auto;
}

.alignright {
    float: right;
    margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-lg);
}

.alignleft {
    float: left;
    margin: var(--spacing-md) var(--spacing-lg) var(--spacing-md) 0;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--spacing-sm);
}

.gallery-caption {
    font-size: var(--font-size-sm);
}

.sticky {
    /* Sticky post styles handled in template */
}

.bypostauthor {
    /* Author comment styles */
}

.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: 0;
}

/* ==========================================================================
   Responsive Breakpoints Reference
   - Mobile: < 768px
   - Tablet: 768px - 1023px
   - Desktop: >= 1024px
   ========================================================================== */
