/*
Theme Name: Poetry Theme
Theme URI:
Author: Caleb Jacobo
Author URI:
Description: A minimal WordPress theme for poetry.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: poetry-theme
*/

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

body {
    margin: 0;
    background: #fafaf8;
    color: #222;
    font-family: 'EB Garamond', Georgia, serif;
    line-height: 1.7;
}

a { color: #222; }
a:hover { color: #555; }

/* === Layout === */
.site-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* === Header === */
.site-header {
    max-width: 640px;
    margin: 2.5rem auto 1.5rem;
    padding: 0 1.25rem 1.5rem;
    border-bottom: 1px solid #e0ddd8;
}

.site-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.site-title a { text-decoration: none; }

.site-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
    color: #888;
    margin: 0.25rem 0 0;
}

/* === Post Listings === */
.post-entry {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0ddd8;
}

.post-entry:last-child { border-bottom: none; }

.entry-title {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.375rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
}

.entry-title a { text-decoration: none; }

/* === Poem Tag === */
.poem-tag {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    display: inline-block;
    margin-bottom: 0.25rem;
}

/* === Poem Markup === */
.poem {
    margin: 2rem 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

.poem .stanza { margin-top: 1.5em; }
.poem .stanza:first-child { margin-top: 0; }

.poem .stanza p {
    margin: 0;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.i1 { padding-left: 3.5em !important; }
.i2 { padding-left: 5.5em !important; }
.i3 { padding-left: 7.5em !important; }

/* === Single Post === */
.single-title {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.75rem;
    font-weight: 400;
    margin: 2rem 0 0.5rem;
}

.single-title a { text-decoration: none; }

.read-more {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
}

.read-more a { text-decoration: none; }

.post-date {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    color: #999;
    margin-top: 2.5rem;
}

/* === Post Navigation === */
.post-nav {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e0ddd8;
}

.post-nav a { text-decoration: none; }

/* === Pagination === */
.pagination {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    margin: 2rem 0;
    text-align: center;
}

.pagination a { text-decoration: none; margin: 0 0.5em; }

/* === Archive Header === */
.archive-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin: 1.5rem 0 0;
}

/* === Footer === */
.site-footer {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    color: #999;
    border-top: 1px solid #e0ddd8;
}

.site-footer p { margin: 0; }

/* === Poem Icon === */
.poem-icon {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #c0392b;
    border: 1.5px solid #c0392b;
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 0;
}

a.poem-icon { text-decoration: none; }
.poem-icon:hover { background: #c0392b; color: #fff; }
.poem-icon + .single-title { margin-top: 0.75rem; }

/* === Featured Post === */
.featured-post {
    margin: 2rem 0;
}

.section-divider {
    border: none;
    border-top: 1px solid #e0ddd8;
    margin: 0;
}

.recent-heading {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin: 1.5rem 0 0;
}

/* === Responsive === */
@media (max-width: 480px) {
    .site-header { margin-top: 1.5rem; }
    .single-title { font-size: 1.5rem; }
    .poem { font-size: 1rem; }
}
