/* Bloom Theme - bloom-0010 (seed 10) */

:root {
    --accent: #0d9183;
    --accent-hover: #158f7e;
    --bg: #ffffff;
    --text: #1a1a1a;
    --muted: #6b7280;
    --border: #e5e7eb;
    --surface: #f9fafb;
    --font-heading: 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --content-width: 700px;
    --index-width: 960px;
    --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text);
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* Header */
.site-header {
    padding: 1.5rem 2rem;
    max-width: var(--index-width);
    margin: 0 auto;
    width: 100%;
}
.site-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
}
.site-logo img { height: 36px; width: auto; }
.site-nav a {
    color: var(--muted);
    margin-left: 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
}
.site-nav a:hover { color: var(--text); }

.header-left .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Hero - clean, text-only */
.site-hero {
    text-align: center;
    padding: 3rem 2rem 1rem;
    max-width: var(--index-width);
    margin: 0 auto;
}
.site-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.site-description {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}
.hero-image { display: none; }

/* Content area */
.content-area {
    max-width: var(--index-width);
    margin: 0 auto;
    padding: 2rem;
}

/* Post feed */
.post-feed { margin-bottom: 3rem; }

.post-feed.list .post-card {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.post-feed.list .post-card:hover { box-shadow: none; transform: none; }
.post-feed.list .post-card-image { width: 200px; min-width: 200px; border-radius: 4px; }
@media (max-width: 640px) {
    .post-feed.list .post-card { flex-direction: column; }
    .post-feed.list .post-card-image { width: 100%; min-width: auto; }
}


/* Post card - clean, minimal */
.post-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}
.post-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.post-card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-content { padding: 1.25rem; }
.post-card-meta {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem;
}
.post-card-tag {
    color: var(--accent); font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.post-card-title { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--text); }
.post-card-excerpt {
    color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-footer { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); }

/* Single post - Medium-like reading experience */
.post-full { max-width: var(--content-width); margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.post-header { margin-bottom: 2rem; text-align: center; }
.post-meta {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem;
}
.post-tag { color: var(--accent); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.post-title { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 0.75rem; line-height: 1.2; }
.post-excerpt { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.5rem; }
.post-hero { margin: 0 -1.5rem 2rem; }
.post-hero img { width: 100%; border-radius: var(--radius); }

/* Article content - clean typography */
.post-content { font-size: 1.125rem; line-height: 1.6; }
.post-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.post-content p { margin-bottom: 1.5rem; }
.post-content ul, .post-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content blockquote {
    border-left: 3px solid var(--border);
    padding-left: 1.25rem; margin: 2rem 0;
    font-style: italic; color: var(--muted); font-size: 1.15rem;
}
.post-content img { border-radius: var(--radius); margin: 2rem 0; }
.post-content pre {
    background: #fafafa; color: #333; border: 1px solid var(--border);
    padding: 1.25rem; border-radius: var(--radius); overflow-x: auto; margin-bottom: 1.5rem;
}
.post-content code { font-size: 0.9em; background: var(--surface); padding: 0.15em 0.4em; border-radius: 3px; }
.post-content pre code { background: none; padding: 0; }

/* Author card */
.author-card { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 3rem; }
.author-info { display: flex; gap: 1rem; align-items: flex-start; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author-name { font-size: 1rem; margin-bottom: 0.2rem; }
.author-bio { color: var(--muted); font-size: 0.875rem; }

/* Email signup - subtle */
.email-signup {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0; text-align: center;
}
.signup-heading { font-size: 1.15rem; margin-bottom: 0.4rem; }
.signup-description { color: var(--muted); margin-bottom: 1rem; font-size: 0.9rem; }
.signup-form { display: flex; gap: 0.5rem; max-width: 380px; margin: 0 auto; }
.signup-input {
    flex: 1; padding: 0.6rem 1rem; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 0.9rem; background: var(--bg);
}
.signup-button {
    background: var(--accent); color: #fff; border: none;
    padding: 0.6rem 1.25rem; border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: background 0.15s;
}
.signup-button:hover { background: var(--accent-hover); }

/* Ad zones */
.ad-zone { min-height: 1px; }

/* Pagination */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 1.5rem; padding: 2rem 0; font-size: 0.9rem;
}
.pagination a { color: var(--accent); font-weight: 500; }
.page-number { color: var(--muted); }

/* Page */
.page-full { max-width: var(--content-width); margin: 0 auto; padding: 2rem 1.5rem; }
.page-header { margin-bottom: 2rem; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-content { font-size: 1.05rem; }
.page-content p { margin-bottom: 1.5rem; }

/* Tag & Author headers */
.tag-header, .author-header { text-align: center; padding: 3rem 1.5rem 1rem; }
.tag-title { font-size: 1.75rem; }
.tag-description { color: var(--muted); margin-top: 0.5rem; }
.author-cover { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }

/* Error page */
.error-page { text-align: center; padding: 6rem 1.5rem; }
.error-code { font-size: 5rem; color: var(--muted); font-weight: 200; }
.error-message { font-size: 1.15rem; color: var(--muted); margin: 1rem 0 2rem; }
.error-link { color: var(--accent); font-weight: 500; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem; margin-top: 3rem; }
.footer-inner {
    max-width: var(--index-width); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem; color: var(--muted);
}
.footer-nav a { color: var(--muted); margin-left: 1rem; }
.footer-credit a { color: var(--muted); }

.reading-time { color: var(--muted); }

@media (max-width: 640px) {
    .site-header { padding: 1rem; }
    .content-area { padding: 1rem; }
    .post-full { padding: 1rem; }
    .signup-form { flex-direction: column; }
    .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}
