/* =====================================================
   blog.css — Styles riêng cho Blog area
   Màu sắc:
     --blog-primary: #2fb362
     --blog-dark:    #1c6d3a
   ===================================================== */

:root {
    --blog-primary: #2fb362;
    --blog-dark: #1c6d3a;
}

/* ─── PUBLIC HERO (dùng với _Layout.cshtml — fixed header) ─ */
.blog-public-hero {
    background-image: linear-gradient(rgba(10, 28, 16, 0.72), rgba(10, 28, 16, 0.72)),
        url("/Webmain/assets/img/cta-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 130px 0 80px;
    color: #fff;
}

.blog-public-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.blog-public-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto;
}

/* ─── HERO (public layout — BlogDetail) ─────────────── */
.blog-hero {
    background-image: linear-gradient(rgba(10, 28, 16, 0.70), rgba(10, 28, 16, 0.70)),
        url("/Webmain/assets/img/cta-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    margin-top: 72px;
    padding: 60px 0;
    text-align: center;
}

@media (max-width: 992px) {
    .blog-hero {
        margin-top: 68px;
    }
}

/* ─── SECTION TITLE ─────────────────────────────────── */
.blog-section-title {
    text-align: center;
    padding-bottom: 30px;
}

.blog-section-title h2 {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #fff;
}

.blog-section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    bottom: 1px;
    left: calc(50% - 60px);
}

.blog-section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--blog-primary);
    bottom: 0;
    left: calc(50% - 20px);
}

.blog-section-title p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
}

/* ─── SECTION TITLE (trên nền sáng) ────────────────── */
.blog-section-title.light h2 {
    color: #37517e;
}

.blog-section-title.light h2::before {
    background: #ddd;
}

.blog-section-title.light p {
    color: #6c757d;
}

/* ─── SECTION BG ────────────────────────────────────── */
.blog-section-bg {
    background-color: #f3f5fa;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 1.5rem;
}

/* ─── BOX (stat card / feature card) ────────────────── */
.blog-box {
    padding: 40px 30px;
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
    background: #fff;
    height: 100%;
    border-top: 4px solid #fff;
    border-radius: 5px;
}

.blog-box h3 {
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 20px;
    color: #37517e;
}

.blog-box ul {
    padding: 16px 0;
    list-style: none;
    color: #999;
    text-align: left;
    line-height: 20px;
    margin-bottom: 0;
}

.blog-box ul li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.blog-box ul i {
    color: var(--blog-primary);
    font-size: 22px;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Featured variant */
.blog-box.featured {
    border-top-color: var(--blog-primary);
}

/* ─── BADGE ─────────────────────────────────────────── */
.blog-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--blog-primary), var(--blog-dark));
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ─── STAT ICON ─────────────────────────────────────── */
.blog-stat-icon {
    font-size: 2.5rem;
    color: var(--blog-primary);
    display: block;
    margin-bottom: 8px;
}

/* ─── LIMIT PILL ────────────────────────────────────── */
.blog-limit {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    background: #e8f5e9;
    color: var(--blog-dark);
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.blog-limit.unlimited {
    background: #d0f5e0;
}

/* ─── CTA BUTTON ────────────────────────────────────── */
.blog-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    color: var(--blog-primary);
    font-size: 16px;
    font-weight: 500;
    font-family: "Jost", sans-serif;
    transition: 0.3s;
    border: 1px solid var(--blog-primary);
    text-decoration: none;
    cursor: pointer;
    background: transparent;
}

.blog-btn:hover {
    background: var(--blog-primary);
    color: #fff;
}

.blog-box.featured .blog-btn {
    background: var(--blog-primary);
    color: #fff;
}

.blog-box.featured .blog-btn:hover {
    background: var(--blog-dark);
    border-color: var(--blog-dark);
}

/* Hero buttons */
.blog-hero .blog-btn {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.blog-hero .blog-btn:hover {
    background: var(--blog-primary);
    border-color: var(--blog-primary);
    color: #fff;
}

/* ─── QUICK ACTION ITEM ─────────────────────────────── */
.blog-action-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: background 0.2s, transform 0.2s;
}

.blog-action-item:hover {
    background: #e8f5e9;
    transform: translateY(-3px);
}

.blog-action-item i {
    font-size: 2.5rem;
    color: var(--blog-primary);
    margin-bottom: 12px;
    display: block;
}

.blog-action-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--blog-dark);
}

.blog-action-item p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

/* ─── POST HERO (breadcrumb banner — PostDetail) ────── */
.blog-post-hero {
    background-image: linear-gradient(rgba(10, 28, 16, 0.72), rgba(10, 28, 16, 0.72)),
        url("/Webmain/assets/img/cta-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 100px 0 24px; /* 72px nav + 28px breathing */
}

/* Breadcrumb màu trắng trên nền tối */
.blog-post-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-hero .breadcrumb-item a:hover {
    color: #fff;
}

.blog-post-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.blog-post-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

/* ─── POST HEADER (meta + title + summary) ───────────── */
.blog-post-header {
    background: #fff;
    padding: 28px 0 32px;
    border-bottom: 1px solid #e8edf2;
}

.blog-post-title {
    font-size: 2rem;
    font-weight: 700;
    color: #37517e;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.blog-post-summary {
    font-size: 1.05rem;
    color: #6c757d;
    margin-bottom: 0;
    max-width: 680px;
}

/* ─── POST COVER IMAGE ───────────────────────────────── */
.blog-post-cover {
    background: #f3f5fa;
    padding-bottom: 32px;
}

.blog-post-cover img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    display: block;
}

/* ─── POST CONTENT (CKEditor output) ────────────────── */
.blog-post-content-wrapper {
    background: #f3f5fa;
}

.blog-post-content {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
}

/* Headings */
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    color: #37517e;
    font-weight: 700;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-post-content h1 { font-size: 1.9rem; border-bottom: 2px solid #e8f5e9; padding-bottom: 0.4rem; }
.blog-post-content h2 { font-size: 1.55rem; border-bottom: 1px solid #eee; padding-bottom: 0.3rem; }
.blog-post-content h3 { font-size: 1.3rem; }
.blog-post-content h4 { font-size: 1.1rem; }
.blog-post-content h5 { font-size: 1rem; }
.blog-post-content h6 { font-size: 0.9rem; color: #6c757d; }

/* Paragraphs */
.blog-post-content p {
    margin-bottom: 1.1rem;
}

/* Links */
.blog-post-content a {
    color: var(--blog-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.blog-post-content a:hover {
    color: var(--blog-dark);
}

/* Images */
.blog-post-content img {
    max-width: 100%;
    height: auto !important;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 1.25rem auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Lists */
.blog-post-content ul,
.blog-post-content ol {
    padding-left: 1.6rem;
    margin-bottom: 1.1rem;
    list-style: revert;
    color: inherit;
    line-height: revert;
}

.blog-post-content ul li,
.blog-post-content ol li {
    padding: 4px 0;
    position: static;
}

.blog-post-content ul li i {
    position: static;
    font-size: inherit;
    color: inherit;
}

/* Blockquote */
.blog-post-content blockquote {
    border-left: 4px solid var(--blog-primary);
    background: #f0faf4;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.blog-post-content blockquote p {
    margin-bottom: 0;
}

/* Code inline */
.blog-post-content code {
    background: #f0f0f0;
    color: #c7254e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Code block */
.blog-post-content pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.88rem;
    line-height: 1.65;
}

.blog-post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* Table */
.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}

.blog-post-content table th {
    background: var(--blog-primary);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.blog-post-content table td {
    padding: 9px 14px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.blog-post-content table tr:last-child td {
    border-bottom: none;
}

.blog-post-content table tr:nth-child(even) td {
    background: #f8fffe;
}

/* Horizontal rule */
.blog-post-content hr {
    border: none;
    border-top: 2px solid #e8f5e9;
    margin: 2rem 0;
}

/* Strong / Em */
.blog-post-content strong {
    color: #222;
    font-weight: 700;
}

.blog-post-content em {
    font-style: italic;
    color: #555;
}

/* ─── Responsive ────────────────────────────────────── */

@media (max-width: 576px) {
    .blog-hero {
        padding: 2rem 1rem;
    }

    .blog-box {
        max-width: 100%;
    }

    .blog-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* ─── COMMENT SECTION ────────────────────────────────── */
.blog-comment-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
    overflow: hidden;
}

/* Header */
.blog-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0faf4 100%);
}

.blog-comment-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blog-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-comment-title i {
    font-size: 1.5rem;
    color: var(--blog-primary);
}

.blog-comment-count-badge {
    background: var(--blog-primary);
    color: #fff;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
}

/* Form wrap */
.blog-comment-form-wrap {
    padding: 24px 28px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafffe;
}

/* Reply badge */
.blog-reply-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    color: var(--blog-dark);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    border-left: 3px solid var(--blog-primary);
}

.blog-reply-badge a {
    color: var(--blog-dark);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.blog-reply-badge a:hover {
    opacity: 1;
}

/* Textarea */
.blog-comment-input-wrap {
    border: 1.5px solid #e0ede4;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
    background: #fff;
}

.blog-comment-input-wrap:focus-within {
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px rgba(47, 179, 98, 0.12);
}

.blog-comment-textarea {
    width: 100%;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: none;
    background: transparent;
    color: #333;
    font-family: "Jost", sans-serif;
}

.blog-comment-textarea::placeholder {
    color: #aab;
}

.blog-comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fffe;
    border-top: 1px solid #edf6f0;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blog-primary);
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Jost", sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.blog-comment-submit-btn:hover {
    background: var(--blog-dark);
    transform: translateY(-1px);
}

/* Login prompt */
.blog-comment-login-prompt {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    border-bottom: 1px solid #f0f0f0;
    background: #f8fffe;
}

.blog-comment-login-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--blog-primary), var(--blog-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-comment-login-icon i {
    color: #fff;
    font-size: 1.6rem;
}

.blog-comment-login-link {
    color: var(--blog-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Comments list */
.blog-comments-list {
    padding: 10px 28px 24px;
}

.blog-comment-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #aaa;
    font-size: 0.9rem;
    gap: 8px;
}

.blog-comment-empty {
    text-align: center;
    padding: 36px 16px;
    color: #bbb;
}

.blog-comment-empty i {
    font-size: 3rem;
    color: #dde;
    display: block;
    margin-bottom: 12px;
}

.blog-comment-empty p {
    font-size: 0.95rem;
    margin: 0;
    color: #999;
}

.blog-comment-empty span {
    font-size: 0.85rem;
    color: #bbb;
}

/* Comment item */
.blog-comment-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f3f5f7;
}

.blog-comment-item:last-child {
    border-bottom: none;
}

/* Avatar with initial letter */
.blog-comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blog-primary), var(--blog-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    font-family: "Jost", sans-serif;
}

.blog-comment-avatar.sm {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
}

/* cycle colors for avatars by first letter */
.blog-comment-avatar[data-name^="A"],
.blog-comment-avatar[data-name^="F"],
.blog-comment-avatar[data-name^="K"],
.blog-comment-avatar[data-name^="P"],
.blog-comment-avatar[data-name^="U"],
.blog-comment-avatar[data-name^="Z"] { background: linear-gradient(135deg, #2fb362, #1c6d3a); }

.blog-comment-avatar[data-name^="B"],
.blog-comment-avatar[data-name^="G"],
.blog-comment-avatar[data-name^="L"],
.blog-comment-avatar[data-name^="Q"],
.blog-comment-avatar[data-name^="V"] { background: linear-gradient(135deg, #2196f3, #1565c0); }

.blog-comment-avatar[data-name^="C"],
.blog-comment-avatar[data-name^="H"],
.blog-comment-avatar[data-name^="M"],
.blog-comment-avatar[data-name^="R"],
.blog-comment-avatar[data-name^="W"] { background: linear-gradient(135deg, #ff7043, #e53935); }

.blog-comment-avatar[data-name^="D"],
.blog-comment-avatar[data-name^="I"],
.blog-comment-avatar[data-name^="N"],
.blog-comment-avatar[data-name^="S"],
.blog-comment-avatar[data-name^="X"] { background: linear-gradient(135deg, #9c27b0, #6a1b9a); }

.blog-comment-avatar[data-name^="E"],
.blog-comment-avatar[data-name^="J"],
.blog-comment-avatar[data-name^="O"],
.blog-comment-avatar[data-name^="T"],
.blog-comment-avatar[data-name^="Y"] { background: linear-gradient(135deg, #ff9800, #e65100); }

.blog-comment-body {
    flex: 1;
    min-width: 0;
}

.blog-comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.blog-comment-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blog-dark);
}

.blog-comment-date {
    font-size: 0.78rem;
    color: #999;
}

.blog-comment-text {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #444;
    margin-bottom: 8px;
}

.blog-comment-reply-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blog-primary);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.blog-comment-reply-btn:hover {
    color: var(--blog-dark);
}

/* Replies thread */
.blog-comment-replies {
    margin-top: 14px;
    padding-left: 14px;
    border-left: 3px solid #e8f5e9;
}

.blog-comment-reply-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
}

.blog-comment-reply-item:not(:last-child) {
    border-bottom: 1px dashed #f0f0f0;
}

/* ─── PENDING BADGE (bình luận chờ duyệt) ─────────── */
.blog-comment-pending-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fff8e1;
    color: #e65100;
    border: 1px solid #ffcc80;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.blog-comment-pending-badge i {
    font-size: 0.8rem;
}

/* Làm mờ nhẹ comment đang chờ duyệt */
.blog-comment-item:has(.blog-comment-pending-badge),
.blog-comment-reply-item:has(.blog-comment-pending-badge) {
    opacity: 0.82;
}

/* ─── LATEST POSTS CARD GRID ────────────────────────── */
.blog-latest-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(20,45,100,0.08);
    border: 1px solid #eef0f5;
    transition: transform .2s, box-shadow .2s;
}

.blog-latest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(20,45,100,0.13);
}

.blog-latest-thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f3f5fa;
    flex-shrink: 0;
}

.blog-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.blog-latest-card:hover .blog-latest-thumb img {
    transform: scale(1.04);
}

.blog-latest-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2.5rem;
}

.blog-latest-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-latest-title {
    font-size: .93rem;
    font-weight: 600;
    color: var(--blog-dark, #2d3a4a);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    flex: 1;
}

/* ─── TOP VIEWED LIST ───────────────────────────────── */
.blog-topview-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eef0f5;
    box-shadow: 0 2px 8px rgba(20,45,100,0.07);
    transition: transform .2s, box-shadow .2s;
}

.blog-topview-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(20,45,100,0.12);
}

.blog-topview-thumb {
    position: relative;
    width: 30%;
    flex-shrink: 0;
    min-height: 100px;
    background: #f3f5fa;
}

.blog-topview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-topview-thumb-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
}

.blog-topview-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
    background: var(--blog-primary, #2fb362);
    color: #fff;
    border-radius: 50%;
    font-size: .78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-topview-body {
    flex: 1;
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-topview-title {
    font-size: .92rem;
    font-weight: 600;
    color: var(--blog-dark, #2d3a4a);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.blog-topview-desc {
    font-size: .8rem;
    color: #888;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    flex: 1;
}

.blog-topview-meta {
    font-size: .78rem;
    color: #aaa;
    margin-top: auto;
}

.blog-latest-desc {
    font-size: .82rem;
    color: #888;
    margin-bottom: 8px;
    line-height: 1.4;
    flex: 1;
}

.blog-latest-meta {
    display: flex;
    gap: 14px;
    font-size: .78rem;
    color: #888;
    margin-top: auto;
}

