/*
Theme Name: Religious Liberty Newspaper
Theme URI: https://religiouslibertytv.substack.com
Author: Gemini
Author URI: https://religiouslibertytv.substack.com
Description: A high-performance digital newspaper theme optimized for Google AI Answers.
Version: 2.1
Requires at least: 5.0
Tested up to: 6.7
php: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: religious-liberty
*/

/* =========================================
   1. VARIABLES & SETUP
   ========================================= */
:root {
    --bg-color: #fcfcfc;       /* Paper-like off-white */
    --text-main: #1a1a1a;      /* Ink black */
    --text-secondary: #555555; /* Dark gray */
    --accent-color: #a83232;   /* Newspaper Red/Orange */
    --border-color: #e0e0e0;   /* Light gray lines */
    
    /* Typography */
    --font-headline: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Source Serif Pro", Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    
    --container-width: 1100px;
    --reading-width: 740px;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-color); }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   2. LAYOUT UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: 60vh;
}

/* =========================================
   3. MASTHEAD (HEADER)
   ========================================= */
.site-header {
    padding: 30px 0 20px;
    text-align: center;
    border-bottom: 3px double #000; /* Classic Newspaper styling */
    margin-bottom: 50px;
}

.site-branding { margin-bottom: 20px; }

/* Logo Sizing */
.custom-logo-link img {
    margin: 0 auto;
    max-height: 90px;
    width: auto;
}

/* Text Fallback */
.site-title {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.site-description {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

/*