/* blog-styles.css?v=20250714080120 */

:root {
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: "Georgia", serif;
    --max-width: 700px;
    --color-bg: #fffdf8;
    --color-text: #222;
    --color-muted: #666;
    --color-link: #0066cc;
    --color-border: #bbb;
    --color-border-strong: #999;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: normal;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 1rem;
    max-width: 100vw;
}

.play-lexamid {
    text-align: center;
    margin-bottom: 1.5rem;
}

.play-lexamid a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-link);
    text-decoration: none;
}

/* Horizontal divider after Play Lexamid */
.play-lexamid + hr {
    border: none;
    border-top: 1px solid var(--color-border-strong);
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

/* Navigation (e.g. "All Posts") */
nav {
    text-align: center;
    margin-bottom: 2rem;
}

nav a {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-link);
    text-decoration: none;
}

/* Headings */
h1, h2 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    font-weight: bold;
    margin-top: 0;
}

h1 {
    font-size: 2rem;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* General links */
a {
    color: var(--color-link);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Blog Index Layout */
main.blog-index {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

article.blog-preview {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}

article.blog-preview img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 2px solid var(--color-border-strong);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
}

article.blog-preview h2 {
    margin: 0.25rem 0 0.25rem;
    font-size: 1.3rem;
    color: #111;
    font-weight: bold;
}

article.blog-preview p {
    margin-top: 0.25rem;
    color: var(--color-text);
    font-weight: normal;
}

article.blog-preview .post-meta {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

article.blog-preview a {
    display: block;
    color: inherit;
}

/* Blog Post Layout */
article.blog-post {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

article.blog-post img.post-image {
    display: block;
    max-width: 100%;
    max-height: 300px;
    margin: 0 auto;
    object-fit: contain;
    border: 2px solid var(--color-border-strong);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
}

article.blog-post h1 {
    margin: 1rem 0 0.25rem;
    font-size: 1.75rem;
    text-align: center;
}

article.blog-post .post-meta {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-muted);
}

article.blog-post p {
    font-weight: 400;
    color: #333;
    letter-spacing: 0.01em;
    line-height: 1.7;
}

.description {
    font-style: italic;
    margin: 0.5rem 0;
    text-align: center;
    color: #444;
}

section.post-body {
    margin-top: 1rem;
}


section.post-body a {
    color: #0056cc;
    font-weight: bold;
    text-decoration: none;
}

/* Footer */
footer {
    margin-top: 3rem;
    margin-bottom: 2rem;
}
