@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
    --bs-primary: #0d63d6;
    --bs-primary-rgb: 13, 99, 214;
    --bs-body-font-family: 'Inter', -apple-system, sans-serif;
}
body { background: #f5f6f8; }

.navbar-brand { font-weight: 700; letter-spacing: .01em; }

/* ---- Admin: register-style table ---- */
.stamp {
    display: inline-block;
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
}
.stamp-published { color: #1e7e42; background: #eaf7ee; }
.stamp-draft { color: #b8791f; background: #fbf2e1; }

.col-no { width: 46px; color: #8a93a2; font-variant-numeric: tabular-nums; }

.stat-card .display-num { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.stat-card .label { font-size: .8rem; color: #6c757d; }

/* ---- Public blog ---- */
.title-banner {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 700;
    color: var(--bs-primary);
}
.badge{
        font-size: 18px;
    font-weight: 400;
}
.post-content {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.15rem;
    line-height: 1.8;
}
.post-content p { margin-bottom: 1.3em; }
.post-content h2 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.4rem; margin: 1.6em 0 .6em; }
.post-content h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.15rem; margin: 1.4em 0 .5em; }
.post-content ul, .post-content ol { margin-bottom: 1.3em; }
.post-content blockquote {
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
    color: #6c757d;
    font-style: italic;
    margin: 1.5em 0;
}
.post-content img { max-width: 100%; height: auto; border-radius: 6px; }

.post-card img { height: 190px; object-fit: cover; }
.post-card { transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.08); }
