/* Mini Blog - The Gethsemane Pattern
   Sober, biblical, elegant blog style
*/

:root {
    --text: #2c3e50;
    --muted: #5a6a7a;
    --accent: #8b7355;
    --bg: #faf8f5;
    --card: #ffffff;
    --border: #e8e4df;
    --link: #3d5a4c;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

* {
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
.site-header {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.site-header h1 {
    font-size: 2.4rem;
    font-weight: normal;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.site-header h1 a {
    color: var(--text);
    text-decoration: none;
}

.site-header .tagline {
    color: var(--muted);
    margin: 0 0 1rem;
    font-style: italic;
    font-size: 1.05rem;
}

.site-nav {
    font-size: 0.95rem;
}

.site-nav a {
    color: var(--link);
    text-decoration: none;
    margin: 0 0.6rem;
}

.site-nav a:hover {
    text-decoration: underline;
}

/* Featured post */
.featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.featured img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured .label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.featured h2 {
    font-size: 1.7rem;
    font-weight: normal;
    margin: 0 0 0.75rem;
}

.featured h2 a {
    color: var(--text);
    text-decoration: none;
}

.featured h2 a:hover {
    color: var(--link);
}

.featured p {
    color: var(--muted);
    margin: 0 0 1rem;
}

/* Article grid */
.section-title {
    font-size: 1.3rem;
    font-weight: normal;
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s ease;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.article-card .card-body {
    padding: 1.25rem;
}

.article-card h3 {
    font-size: 1.15rem;
    font-weight: normal;
    margin: 0 0 0.5rem;
}

.article-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--link);
}

.article-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

/* CTA */
.cta {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    background: #f5f0e8;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.cta p {
    margin: 0.5rem 0;
}

.cta a {
    color: var(--link);
    font-weight: 500;
}

/* Article pages */
article .cover-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 0 1.5rem 0;
    display: block;
}

article h1 {
    font-size: 1.9rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

article .subtitle {
    color: var(--muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

article p {
    margin-bottom: 1.2rem;
}

article blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: #f8f6f2;
    font-style: italic;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--link);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Legal pages */
.legal {
    max-width: 720px;
}

.legal h1 {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.legal h2 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 1.8rem;
    margin-bottom: 0.5rem;
}

.legal p, .legal li {
    margin-bottom: 0.9rem;
}

/* Redirect */
.redirect-container {
    text-align: center;
    padding: 5rem 1.5rem;
}

.redirect-container h1 {
    font-weight: normal;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
}

footer a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 0.4rem;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .featured {
        grid-template-columns: 1fr;
    }
    .featured-content {
        padding: 1.5rem;
    }
    .featured img {
        min-height: 220px;
    }
    .site-header h1 {
        font-size: 2rem;
    }
}
