/* =========================================
   1. FONTS & IMPORTS
   ========================================= */
/* Import Lora (Headings), Inter (Body text), and Cormorant Garamond (Poetry) -- LINKED on pages --  @import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&display=swap');
*/

/* =========================================
   2. GLOBAL STYLES
   ========================================= */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fcfcfc; /* Soft paper tone for all pages */
    line-height: 1.6;
    padding-top: 80px; 
    padding-bottom: 80px;
    margin: 0;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: #111;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =========================================
   3. MAIN SITE COMPONENTS (Bio / Index)
   ========================================= */
.hero-section {
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #111;
}

.hero-bio {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 30px;
}

/* Navigation Links (in Hero) */
.nav-links a {
    color: #111;
    font-weight: 600;
    margin-right: 20px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    border-bottom: 2px solid #000;
}

/* The "Now" Box */
.now-section {
    background-color: #f8f9fa; /* Slightly darker than the paper background */
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
}

.now-list li {
    margin-bottom: 12px;
}

/* Essay Design */
#intro-essay {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333;
}

#intro-essay p {
    margin-bottom: 1.5rem;
}

#intro-essay em {
    font-style: italic;
    color: #004a99; /* A subtle blue to highlight your 'critical curiosity' */
}

/* =========================================
   4. POETRY STYLES (Revised)
   ========================================= */
.poem-container {
    max-width: 600px; 
    margin: 0 auto;
    padding: 20px;
}

.poem-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; 
    /* Slightly tighter line-height to keep the "thought" together */
    line-height: 1.5;  
    color: #2c2c2c;   
}

.stanza {
    /* This creates the silence between stanzas */
    margin-bottom: 2.5rem; 
}

/* We use !important here to strictly silence Bootstrap's opinion */
.poem-content p {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* =========================================
   5. WRITING CARD STYLES (For Writing.html)
   ========================================= */
.writing-card {
    border: none !important; /* Overrides Bootstrap borders */
    background: transparent !important;
    transition: transform 0.3s ease;
}

.writing-card:hover {
    transform: translateY(-5px); /* Subtle lift effect */
}

.card-img-container {
    width: 100%;
    height: 300px;
    background-color: #eef0f2; /* Placeholder gray */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.card-excerpt {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2c2c2c;
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
}

.read-link:hover {
    border-bottom: 1px solid #000;
    color: #000;
}

/* =========================================
   6. RESPONSIVE / MOBILE
   ========================================= */
@media (max-width: 768px) {
    body { 
        padding-top: 40px; 
        padding-left: 20px; 
        padding-right: 20px; 
    }
    
    .hero-title { 
        font-size: 2.5rem; 
    }
    
    .poem-title {
        font-size: 1.5rem;
    }
}
/* =========================================
   7. Footnote Styles  
   ========================================= */ 
 .footnotes {
            margin-top: 40px;       /* Adds space above the footnotes */
            padding-top: 20px;      /* internal spacing */
            border-top: 1px solid #eee; /* A light line to separate from article */
            font-size: 0.85em;      /* Makes text about 85% size of main text */
            color: #555;            /* Slightly softer black for readability */
        }
        
 .footnotes ol {
            padding-left: 20px;
        }

.footnotes a {
            text-decoration: none;  /* Removes underline from the return arrow */
            margin-left: 5px;
        }


/* =========================================
   ETC 
   ========================================= */

        blockquote {
            border-left: 4px solid #ccc;
            margin: 1.5em 10px;
            padding: 0.5em 10px;
            font-style: italic;
        }
        .caption {
            font-size: 0.9em;
            color: #666;
            text-align: center;
            margin-top: -15px;
            margin-bottom: 25px;
        }
/* =========================================
   8. TECHNICAL ARTICLE STYLES (Trading Up)
   ========================================= */

.article-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; /* Slightly larger for your mollylarrison.com intro */
    font-weight: 300;
    line-height: 1.7;
    color: #2c2c2c;
    max-width: 680px;
    margin: 0 auto;
}

/* Specific styling for your new intro essay */
.article-content p {
    margin-bottom: 1.8rem;
}

/* The 'Critically Curious' and Son's Title italics */
.article-content em {
    font-style: italic;
    color: #004a99; /* Your subtle 'Google blue' tribute */
    font-weight: 400;
}

/* The Chrysalis: Making the metaphor stand out */
.chrysalis-highlight {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-style: italic;
    color: #111;
    border-bottom: 2px solid #eef0f2;
}

.article-content h1, 
.article-content h2, 
.article-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    color: #111;
}

/* Links: Technical "Reference" Style */
.article-content a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #bbb;
    transition: all 0.2s ease;
    word-break: break-all; /* Prevents long URLs like the Nobel link from breaking layout */
}

.article-content a:hover {
    background-color: #f0f0f0;
    border-bottom-color: #000;
    color: #000;
}
}