.blog-detail {
    max-width: 820px;
}

.blog-header h1 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-meta {
    color: #8b6a4f;
    font-size: 18px;
    margin-bottom: 16px;
}

.blog-excerpt {
    font-size: 20px;
    color: #555;
    margin-bottom: 32px;
}

.blog-hero-image img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
}

.blog-content h2 {
    font-size: 28px;
    margin: 40px 0 16px;
}

.blog-content p {
    line-height: 1.7;
    margin-bottom: 16px;
    color: #333;
}

.blog-content ul {
    padding-left: 20px;
    margin-bottom: 24px;
}

.blog-content li {
    margin-bottom: 10px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.table-wrapper table {
    background: #fffaf5; /* nền tổng thể bảng */
    border-radius: 12px;
    overflow: hidden;
}

.table-wrapper thead th {
    background: #f1e6dc;   /* màu header giống tone site */
    color: #5a3f2b;
    font-weight: 600;
}

.table-wrapper tbody tr:nth-child(odd) {
    background: #fff;
}

.table-wrapper tbody tr:nth-child(even) {
    background: #f9f3ee;
}
.table-wrapper tbody tr:hover {
    background: #f1e6dc;
    transition: background 0.2s ease;
}
.table-wrapper th,
.table-wrapper td {
    padding: 14px 16px;
    border-bottom: 1px solid #eadfd4;
}

.blog-image {
    margin: 40px 0;
}

.blog-image img {
    width: 100%;
    border-radius: 12px;
}

.blog-image figcaption {
    text-align: center;
    font-size: 16px;
    color: #777;
    margin-top: 8px;
}

.blog-tags {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding-top: 40px;
    padding-bottom: 40px;
}

.blog-tags span {
    display: inline-block;
    background: #f1e6dc;
    color: #6b4f3a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    margin-right: 8px;
    margin-bottom: 8px;
}


.related-articles {
    padding: 80px 0;
    background: transparent;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.related-header h3 {
    font-size: 28px;
    font-weight: 600;
}

.related-header .view-all {
    font-size: 18px;
    color: #6b4f3a;
    text-decoration: none;
}

.related-header .view-all:hover {
    text-decoration: underline;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: transparent;
}

.related-card a {
    text-decoration: none;
    color: inherit;
}

.related-card .thumb {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.related-card .tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #8b6a4f;
    margin-bottom: 6px;
}

.related-card h4 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.related-card p {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
}

/* Hover effect */
.related-card:hover img {
    transform: scale(1.04);
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}
