/*
Theme Name: Creative Spirit Child
Description: Modern Classical Design (Literary Quill Style)
Template: creativespirit
Version: 2.0.0
*/

/* --- 1. FONTS & COLORS (Matches 'Literary Quill' Look) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-paper: #F9F7F2;       /* Cream background from contact page */
    --text-main: #2A2A2A;      /* Soft Black */
    --accent-gold: #B8860B;    /* Gold highlight */
    --card-bg: #FFFFFF;        /* White Cards */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* --- 2. GLOBAL RESET --- */
* { box-sizing: border-box; }

body {
    background-color: var(--bg-paper);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* --- 3. HEADER & MENU (Fixed & Horizontal) --- */
header {
    background: #fff;
    padding: 1rem 5%;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.site-branding h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0;
}

.site-branding h1 a { text-decoration: none; color: #222; }

/* The Menu - Forces Horizontal Layout */
nav {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

nav ul, .menu, #primary-menu {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 30px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

nav a:hover { color: var(--accent-gold); }

/* Hide messy dropdowns */
nav ul ul { display: none !important; }

/* --- 4. HERO SECTION (Jesus/Meditating Banner) --- */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #F9F7F2, #EAF4F8);
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin: 10px 0;
    color: #222;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}

.quote {
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin-top: 1rem;
    border-left: 3px solid var(--accent-gold);
    display: inline-block;
    padding-left: 15px;
}

/* --- 5. CARD GRID (Matches 'Poetry Collection') --- */
.site-main {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Individual Card Styling */
article.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Soft shadow like Lyrical Lines */
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

article.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

h2.entry-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2.entry-title a { text-decoration: none; color: #222; }

.read-more-btn {
    margin-top: auto; /* Pushes button to bottom */
    display: inline-block;
    background: #E0E0E0; /* Grey tag style */
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.read-more-btn:hover {
    background: var(--accent-gold);
    color: #fff;
}

/* SINGLE POST VIEW (Reading Mode) */
.single-post .post-grid {
    display: block; /* Remove grid for single post */
    max-width: 800px;
    margin: 0 auto;
}
.single-post h1.entry-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}