/*
Theme Name: BJJ News
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Minimal Reddit-style news aggregator theme for BJJ, external links only.
Version: 1.0
License: MIT
Tags: news, minimal, aggregator
*/

body {
    font-family: system-ui, sans-serif;
    background: #fafbfc;
    color: #222;
    margin: 0;
    padding: 0;
}

.site-header {
    background: #18191b;
    color: #fff;
    padding: 16px 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.posts-list {
    max-width: 700px;
    margin: 24px auto 0 auto;
    padding: 0 16px;
}

.link-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.link-post img.thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #eee;
}

.link-content {
    flex: 1;
    min-width: 0;
}

.link-content h2 {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.link-content h2 a {
    color: #1976d2;
    text-decoration: none;
}

.link-content h2 a:hover {
    text-decoration: underline;
}

.meta {
    font-size: 0.92rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    background: #ececec;
    color: #444;
    font-size: 0.9em;
    padding: 1px 8px;
    border-radius: 16px;
}

@media (max-width: 600px) {
    .link-post {
        flex-direction: column;
        gap: 8px;
    }
    .link-post img.thumb {
        width: 100%;
        height: 140px;
        margin-bottom: 8px;
    }
}
