/* ==========================================================================
   Spiritual Findings Theme - Main Stylesheet
   ========================================================================== */

/* Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Pagination
   ========================================================================== */

.pagination {
    margin: 40px 0 20px 0;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.pagination-prev,
.pagination-next {
    text-decoration: underline;
    color: #333;
}

.pagination-prev:hover,
.pagination-next:hover {
    text-decoration: none;
}

.pagination-info {
    color: #666;
    font-style: italic;
    white-space: nowrap;
}

/* Post Lists & Summaries
   ========================================================================== */

.post-list li {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

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

.post-summary {
    margin-top: 10px;
    color: #555;
    line-height: 1.5;
}

.read-more {
    margin-top: 8px;
}

.read-more a {
    font-size: 0.9em;
    color: #666;
    text-decoration: none;
    font-style: italic;
}

.read-more a:hover {
    text-decoration: underline;
}

/* Typography
   ========================================================================== */

h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    font-weight: normal;
}

h2 {
    font-size: 1.5em;
    margin: 40px 0 20px 0;
    font-weight: normal;
}

h3 {
    font-size: 1.25em;
    margin: 30px 0 15px 0;
    font-weight: normal;
}

a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: #000;
    border-bottom-color: #333;
    transform: translateY(-1px);
}

/* Header & Navigation
   ========================================================================== */

header h1 a {
    color: #333;
    text-decoration: none;
    border-bottom: none;
}

header h1 a:hover {
    transform: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px 0;
}

nav li {
    margin: 5px 0;
}

nav li:before {
    content: "• ";
    margin-right: 5px;
}

/* Content Sections
   ========================================================================== */

.intro {
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.intro strong {
    font-weight: bold;
}

/* Post Lists
   ========================================================================== */

.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 20px;
}

.post-title {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.post-title a {
    color: #333;
    border-bottom: 1px solid #bbb;
    font-weight: 500;
}

.post-title a:hover {
    color: #000;
    border-bottom-color: #000;
}

.post-meta {
    font-size: 0.9em;
    color: #666;
}

.post-meta a {
    color: #666;
    border-bottom: 1px solid #ccc;
    font-size: inherit;
}

.post-meta a:hover {
    color: #333;
    border-bottom-color: #666;
}

.post-summary {
    margin-top: 10px;
    color: #555;
    font-size: 0.95em;
}

.read-more {
    margin-top: 10px;
}

.read-more a {
    color: #333;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.9em;
}

.read-more a:hover {
    text-decoration: underline;
}

/* All Posts Link
   ========================================================================== */

.all-posts {
    margin-top: 20px;
    text-align: left;
}

.all-posts a {
    color: #333;
    border-bottom: 1px solid #bbb;
    font-weight: 500;
}

.all-posts a:hover {
    color: #000;
    border-bottom-color: #000;
}

.all-posts a:before {
    content: "→ ";
}

/* Projects
   ========================================================================== */

.projects-list {
    list-style: none;
    padding: 0;
}

.projects-list li {
    margin-bottom: 10px;
}

.projects-list li:before {
    content: "• ";
    margin-right: 5px;
}

.projects-list a {
    color: #333;
    border-bottom: 1px solid #bbb;
}

.projects-list a:hover {
    color: #000;
    border-bottom-color: #000;
}

.project-description {
    font-size: 0.9em;
    color: #666;
    margin-left: 15px;
}

/* Article Content
   ========================================================================== */

.content {
    margin-top: 20px;
}

.content p {
    margin-bottom: 1em;
}

.content ul,
.content ol {
    margin-bottom: 1em;
    padding-left: 30px;
}

.content blockquote {
    margin: 1em 0;
    padding-left: 20px;
    border-left: 3px solid #ddd;
    font-style: italic;
    color: #666;
}

.content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1em 0;
}

.content pre code {
    background-color: transparent;
    padding: 0;
}

/* Footer
   ========================================================================== */

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

/* Responsive Design
   ========================================================================== */

@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .post-title {
        font-size: 1em;
    }
}

/* Utilities
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}