.blog_title {
    font-variant: JIS04;
    color: #148a8c;
    font-size: 13px;
    font-weight: bold;
}

.button {
    position: relative;
    display: inline-block;
    border-radius: 4px;
    padding: 5px;
    color: #fff !important;
    background-color: #256c7b;
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    /* Thêm hiệu ứng chuyển màu */
}

.buttons .button {
    margin: 0 1px 1px 1px;
    /* Gom nhóm các thuộc tính margin */
}

.button:hover {
    text-decoration: none;
    background-color: #3BA61C;
}


/* ----------- Blog Styles ----------- */
.blog {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0 auto;
    padding: 0.4rem;
}

/* Headings */
.blog h1,
.blog h2,
.blog h3,
.blog h4,
.blog h5 {
    font-family: 'Playfair Display', serif;
    color: #b85c38;
    font-weight: 700;
    margin: 0.1rem 0 0.1rem;
}

.blog h1 {
    font-size: 1.9rem;
    border-bottom: 3px solid #b85c38;
    padding-bottom: 0.5rem;
}

.blog h2 {
    font-size: 1.7rem;
    border-bottom: 2px solid #d99c5a;
    padding-bottom: 0.4rem;
}

.blog h3 {
    font-size: 1.5rem;
}

.blog h4 {
    font-size: 1.3rem;
}

.blog h5 {
    font-size: 1.15rem;
}

/* Lists */
.blog ul,
.blog ol {
    margin: 1.0rem 0;
    padding-left: 1.0rem;
}

.blog ul {
    list-style: none;
}

.blog ul li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 1.0rem;
}

.blog ul li::before {
    content: "\2756";
    position: absolute;
    left: 0;
    top: 0.4em;
    /* đẩy xuống vừa phải */
    color: #b85c38;
    font-weight: bold;
    font-size: 0.75rem;

}

.blog ol {
    list-style: none;
    counter-reset: list-counter;
}

.blog ol li {
    position: relative;
    counter-increment: list-counter;
    margin-bottom: 0.75rem;
    padding-left: 1.0rem;
}

.blog ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    color: #b85c38;
    font-weight: bold;
}

/* Images */
.blog img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    display: block;
    margin: 2rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Blockquotes */
.blog blockquote {
    font-style: italic;
    color: #444;
    border-left: 5px solid #d99c5a;
    padding-left: 1rem;
    margin: 2rem 0;
    background: #fdf7f3;
    border-radius: 5px;
}

/* Code blocks */
.blog pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    margin: 1.5rem 0;
}

/* Links */
.blog a {
    color: #b85c38;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease-in-out;
}

.blog a:hover {
    border-color: #b85c38;
}

.blog table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    margin: 0.5rem 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
}

.blog thead {
    background-color: #3f5164;
    color: #fff;
}

.blog th,
.blog td {
    padding: 2px 3px;
    /* Giảm padding */
    border: 1px solid #eee;
    /* Thêm border dọc và ngang */
    text-align: left;
    white-space: nowrap;
}

.blog tbody tr:nth-child(even) {
    background-color: #f8f9fa;
    /* Màu xen kẽ hàng chẵn */
}

.blog tbody tr:nth-child(odd) {
    background-color: #ffffff;
    /* Hàng lẻ là trắng */
}

.blog tbody tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.2s ease;
}

.blog .table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {

    .blog th,
    .blog td {
        padding: 2px 3px;
        font-size: 13px;
    }

    .blog table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* ----------- End Blog Styles ----------- */


.text-kim {
    color: rgb(227, 227, 8);
    /* Bạc – Kim loại */
    font-weight: bold;
}

.text-moc {
    color: #187218;
    /* Xanh lá cây đậm – Mộc */
    font-weight: bold;
}

.text-thuy {
    color: #1E90FF;
    /* Xanh dương – Thủy */
    font-weight: bold;
}

.text-hoa {
    color: #DC143C;
    /* Đỏ đậm – Hỏa */
    font-weight: bold;
}

.text-tho {
    color: #625e46;
    /* Vàng đất – Thổ */
    font-weight: bold;
}