/* ── SMILE TRANSIT — BLOG MAGAZINE STYLES ── */

.st-blog-wrap {
    font-family: 'Poppins', sans-serif;
    max-width: 1080px;
    margin: 0 auto;
}

/* EMPTY */
.st-blog-empty {
    text-align: center;
    padding: 48px;
    color: #6b7a99;
    font-size: 14px;
}

/* ── CATEGORY FILTER ── */
.st-blog-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.st-blog-cat {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    font-size: 12px;
    font-weight: 500;
    color: #6b7a99;
    text-decoration: none;
    transition: all .15s;
}

.st-blog-cat:hover,
.st-blog-cat.active {
    background: #2b5cb0;
    border-color: #2b5cb0;
    color: #fff;
}

/* ── HERO POST ── */
.st-blog-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    margin-bottom: 28px;
    transition: box-shadow .2s, border-color .2s;
    min-height: 360px;
}

.st-blog-hero:hover {
    box-shadow: 0 8px 32px rgba(43,92,176,.12);
    border-color: #b8c9e8;
}

.st-blog-hero-img {
    background-size: cover;
    background-position: center;
    background-color: #e8eef8;
    position: relative;
    min-height: 300px;
}

.st-blog-hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    opacity: .3;
}

.st-blog-hero-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #2b5cb0;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.st-blog-hero-body {
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.st-blog-hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7a99;
    font-weight: 500;
}

.st-blog-dot { color: #cbd5e0; }

.st-blog-hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a2340;
    line-height: 1.35;
    margin: 0;
}

.st-blog-hero-excerpt {
    font-size: 14px;
    color: #6b7a99;
    line-height: 1.65;
    margin: 0;
}

.st-blog-hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.st-blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #1a2340;
}

.st-blog-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
}

.st-blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: #2b5cb0;
}

/* ── SECONDARY GRID ── */
.st-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.st-blog-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    display: flex;
    flex-direction: column;
}

.st-blog-card:hover {
    box-shadow: 0 4px 20px rgba(43,92,176,.1);
    border-color: #b8c9e8;
    transform: translateY(-2px);
}

.st-blog-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #e8eef8;
    position: relative;
    flex-shrink: 0;
}

.st-blog-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    opacity: .25;
}

.st-blog-card-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2b5cb0;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.st-blog-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.st-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #6b7a99;
    font-weight: 500;
}

.st-blog-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2340;
    line-height: 1.4;
    margin: 0;
}

.st-blog-card-excerpt {
    font-size: 12px;
    color: #6b7a99;
    line-height: 1.6;
    margin: 0;
}

/* ── LOAD MORE ── */
.st-blog-more {
    text-align: center;
    padding: 8px 0 16px;
}

.st-blog-more-btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1.5px solid #2b5cb0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2b5cb0;
    text-decoration: none;
    transition: all .15s;
}

.st-blog-more-btn:hover {
    background: #2b5cb0;
    color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .st-blog-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .st-blog-hero-img { min-height: 220px; }
    .st-blog-hero-body { padding: 22px; }
    .st-blog-hero-title { font-size: 20px; }
    .st-blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .st-blog-grid { grid-template-columns: 1fr; }
}
