/*
Theme Name: ElsenGraf Master Theme
Theme URI: https://elsengraf.au
Author: Antigravity & Wayne Van Elsen
Description: Scriptoria for the Digital Age. Less ink. More meaning.
Version: 1.1
Text Domain: elsengraf
*/

:root {
    /* ElsenGraf Color Palette */
    --eg-white: #FFFFFF;
    --eg-charcoal: #1a1a1a;
    --eg-soft-black: #111111;
    --eg-warm-grey: #a0a0a0;
    --eg-gold: #C89A3D;
    --eg-copper: #A96B3C;
    --eg-glint: #FF5A00; /* The signature orange highlight */
    --eg-text: #e0e0e0;

    /* Typography */
    --eg-font-primary: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --eg-font-secondary: "EB Garamond", Garamond, serif;
}

/* Base Reset & Setup (Dark Scholarly Aesthetic) */
body {
    margin: 0;
    padding: 0;
    background-color: var(--eg-charcoal);
    color: var(--eg-text);
    font-family: var(--eg-font-primary);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400; 
    color: var(--eg-white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* The Brand Signature elements */
.eg-tagline, blockquote, .pull-quote {
    font-family: var(--eg-font-secondary);
    font-style: italic;
    color: var(--eg-glint); /* Changed to the orange glint */
}
.eg-tagline {
    font-size: 1.4rem; /* Increased size as requested */
    margin-top: -5px; /* Pull it up closer to the logo */
}

.series-card:hover {
    border-color: var(--eg-glint);
    transform: translateY(-5px);
}

.series-card h3 {
    margin-top: 0;
}

.series-card a {
    color: var(--eg-white);
}

.series-card a:hover {
    color: var(--eg-glint);
}

a {
    color: var(--eg-glint);
    text-decoration: none;
}
a:hover {
    color: var(--eg-white);
}

/* Layout */
.site-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

header.site-header {
    margin-bottom: 0; /* Removed margin to bring hero up */
    border-bottom: none; /* Removed the horizontal line */
    padding-bottom: 2rem;
    padding-top: 2rem;
    padding-left: 4rem; /* Cinematic spacious left alignment */
}

.site-title {
    font-size: 2.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--eg-white);
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.site-title:hover {
    color: var(--eg-glint);
}

/* Featured Images */
.story-featured-image img {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--eg-white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: var(--eg-font-secondary);
    font-size: 1.8rem;
    color: var(--eg-glint);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* The Dramatics (Intro Text) */
.story-dramatics {
    font-family: var(--eg-font-secondary);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--eg-warm-grey);
    margin: 2rem 0 3rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

/* Gutenberg Editor Overrides for Dark Mode */
.entry-content img, .entry-content figure {
    border: 1px solid #333;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
