/* ============================================================
   BLANK NEWS — Public Frontend Styles (home.css)
   ============================================================ */

:root {
    --bn-primary: #6366f1;
    --bn-primary-hover: #4f46e5;
    --bn-heading: #1e293b;
    --bn-body: #374151;
    --bn-muted: #94a3b8;
    --bn-border: #e2e8f0;
    --bn-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--bn-font);
    color: var(--bn-body);
    margin: 0;
    background: #f8fafc;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.bn-navbar {
    background: #fff;
    border-bottom: 1px solid var(--bn-border);
    padding: 16px 0;
}

.bn-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bn-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--bn-heading);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.bn-logo strong {
    color: var(--bn-primary);
}

.bn-tagline {
    font-size: 13px;
    color: var(--bn-muted);
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--bn-border);
}

/* ── Hero Section ────────────────────────────────────────────── */
.bn-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    color: #fff;
    padding: 60px 0 48px;
    margin-bottom: 40px;
}

.bn-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bn-hero p {
    font-size: 16px;
    opacity: 0.85;
    max-width: 540px;
}

/* ── News Cards ──────────────────────────────────────────────── */
.bn-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bn-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.bn-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e2e8f0;
}

.bn-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bn-card-body h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--bn-heading);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bn-card-body p {
    font-size: 13px;
    color: var(--bn-muted);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bn-card-body .bn-source {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bn-primary);
    font-weight: 600;
    margin-top: 12px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.bn-footer {
    background: var(--bn-heading);
    color: var(--bn-muted);
    padding: 32px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 13px;
}

.bn-footer strong {
    color: #fff;
}

/* ── Section Title ───────────────────────────────────────────── */
.bn-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--bn-heading);
    margin-bottom: 24px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 576px) {
    .bn-hero {
        padding: 40px 0 32px;
    }

    .bn-hero h1 {
        font-size: 26px;
    }

    .bn-tagline {
        display: none;
    }
}
