﻿/* wwwroot/css/blog.css */

/* Hero area (nếu dùng) */
.blog-hero {
    background: var(--surface);
    border-radius: 0.5rem;
    padding: 1rem 1rem 0.7rem;
    margin-bottom: 1.5rem;
    border: 1px solid lightgray;
}

.blog-entry {
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.3rem;
}

.blog-entry-thumb {
    width: 165px;
    flex: 0 0 165px;
}

.blog-entry-thumb img {
    width: 100%;
    border-radius: .75rem;
    object-fit: cover;
}

.blog-entry-body h2 {
    font-size: 1.05rem;
    margin-bottom: .35rem;
}

.blog-entry-body p {
    margin-bottom: .4rem;
    color: #6b7280;
    font-size: .83rem;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .blog-entry {
        flex-direction: column;
    }

    .blog-entry-thumb {
        width: 100%;
    }
}

/* single post */
.single-post-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.single-post-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.single-post-content h2,
.single-post-content h3 {
    margin-top: 1.2rem;
    margin-bottom: .6rem;
}
