/**
* Theme Name:     Hiroshi Lord
* Author:         Hiroshi Lord
* Template:       flatsome
* Description:    Theme Build by Hiroshi Lord
* Version:        2025
*/

/* DEFAULT NO BORDER AND LINE-THROUGH */
.section-title-center b {
opacity: 0;
}

.section-title-normal {
border-bottom: none;
}

.section-title-normal span {
border-bottom: none;
}

.text-cap {
span {
text-transform: capitalize;
}
}

.border-radius {
border-radius: 8px;
overflow: hidden;

img {
border-radius: 8px;
}
}

.sec-footer {
.custom-menu-white {
.ux-menu-link__link {
    border-bottom: none !important;
    .ux-menu-link__icon {
        color: #ffff !important;
    }
    .ux-menu-link__text {
        color: #ffff !important;
        text-align: left !important;
        font-size: 12px !important;
    }
}
}
.custom-title-ft {
.section-title-main {
    font-size: 12px;
    color: #ffff !important;
    border-left-style: solid;
    border-left-width: 2px;
    border-left-color: #fe9a00 !important;
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 0;
}
}
.custom-icon-ft {
align-items: center;
}
.leading-relaxed {
list-style: none;
font-size: 11px;
p {
    margin-bottom: 0;
}
.text-white {
    color: #ffff !important;
}
.text-red-200 {
    color: oklch(88.5% 0.062 18.334);
}
}
}
#main,
#wrapper {
background-color: oklch(98.4% 0.003 247.858);
position: relative;
}
.text-overflow {
display: -webkit-box;
-webkit-line-clamp: 2;
/* Giới hạn tối đa 2 dòng */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
/* Hiện dấu ... nếu vượt quá */
white-space: normal;
/* Cho phép xuống dòng */

a {
display: -webkit-box;
-webkit-line-clamp: 2;
/* Giới hạn tối đa 2 dòng */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
/* Hiện dấu ... nếu vượt quá */
white-space: normal;
/* Cho phép xuống dòng */
}
}

.d-none {
display: none !important;
}

/* END */
#header {
.header-wrapper {
#top-bar {
    flex-wrap: wrap;
}
.hide-for-medium {
    .header-nav.header-nav-main {
        justify-content: space-between;
    }
}
}
}
.pl-0,
.pr-0 {
padding-left: 0 !important;
padding-right: 0 !important;
}

/* Layout tổng thể */
.tracking-tight {
font-size: 36px;
color: oklch(0.505 0.213 27.518);
line-height: 30px;
}
.tracking-wider {
font-size: 14px;
color: black;
line-height: 20px;
}
.tracking-widest {
width: 240px;
background-color: oklch(0.98 0.003 247.858);
color: oklch(0.505 0.213 27.518);
font-size: 10px;
height: 56px;
text-transform: uppercase;
text-align: center;
line-height: 56px;
transform: translateX(-30px);
}
/* Layout & Container Tổng */
.custom-cat-tabs-wrapper {
color: #333;
margin-bottom: 30px;
background: #fff;
padding: 20px;

.cat-tab-header {
border-bottom: 1px solid #111;
margin-bottom: 20px;

.cat-title {
    font-size: 20px;
    font-weight: bold;
    color: #c00000;
    margin: 0 0 12px 0;
    padding-left: 10px;
    border-left: 12px solid #c00000;
    text-transform: uppercase;

    font-family: "Inter";
}
}

.cat-tab-nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 15px;

.tab-item {
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #0000009e;
    padding: 4px 8px;
    transition: all 0.2s ease;

    &.active {
        background-color: #c00000;
        color: #fff;
    }
}
}
}
.tab-item:hover {
color: #c00000;
transform: scale(1.03);
}
.cat-tab-contents {
.tab-content-panel {
display: none;

&.active {
    display: block;
}
}
}

.cat-posts-layout {
display: flex;
gap: 25px;

/* Cột trái */
.main-post-column {
flex: 1;
max-width: 50%;
overflow: hidden;
border-radius: 5px;
padding: 5px;
border: 1px solid #e2e8f0;
background: #fff;
overflow: hidden;
transition:
    border-color 0.3s ease,
    border-top-width 0.3s ease,
    background-color 0.3s ease;
border: 1px solid transparent;
border-bottom-width: 3px;
&:hover {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    border-bottom-width: 3px;
}

.post-thumb {
    position: relative;
    margin-bottom: 12px;

    img {
        width: 100%;
            height: 250px;
            display: block;
            object-fit: cover;
    }

    .badge-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #c00000;
        color: #fff;
        font-size: 11px;
        font-weight: bold;
        padding: 3px 8px;
        z-index: 2;
    }
}

.post-title {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 10px 0;
    font-weight: bold;

    a {
        color: #111;
        text-decoration: none;

        &:hover {
            color: #c00000;
        }
    }
}

.post-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
        display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
}

.post-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 10px;

    .meta-right {
        display: flex;
        gap: 10px;
    }
}
}

/* Cột phải */
.sub-posts-column {
flex: 1;
max-width: 50%;

/* Khi TRỐNG BÀI VIẾT PHỤ -> Bật khung dashed */
&.is-empty {
    border: 1px dashed #e0e0e0;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;

    .empty-sub-posts {
        text-align: center;
        color: #999;

        svg {
            margin-bottom: 8px;
        }

        p {
            margin: 0;
            font-size: 13px;
        }
    }
}

/* Khi CÓ BÀI VIẾT PHỤ */
.sub-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;

    .sub-post-item {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 5px;
        padding: 5px;
        border: 1px solid #e2e8f0;
        background: #fff;
        overflow: hidden;
        border: 1px solid transparent;
        border-right-width: 3px;
        transition:
            border-color 0.3s ease,
            border-top-width 0.3s ease,
            background-color 0.3s ease;

        &:hover {
            background-color: #fff;
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid var(--primary-color);
            border-right-width: 3px;
        }
        /* 					&:last-child {
        border-bottom: none;
        padding-bottom: 0;
    } */

        .sub-post-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            .sub-post-title {
                margin: 0 0 8px 0;
                font-size: 15px;
                line-height: 1.35;
                font-weight: bold;

                a {
                    color: #222;
                    text-decoration: none;

                    &:hover {
                        color: #c00000;
                    }
                }
            }

            .sub-post-meta {
                font-size: 11px;
                color: #999;
                display: flex;
                gap: 10px;
            }
        }

        .sub-post-thumb {
            width: 80px;
            height: 70px;
            flex-shrink: 0;

            a img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 2px;
            }
        }
    }
}
}
}

@media (max-width: 768px) {
.cat-posts-layout {
flex-direction: column;

.main-post-column,
.sub-posts-column {
    max-width: 100%;
}
}
}

.text-header-h {
transform: translateX(-10px);
}
/* <!-- TÙY CHỈNH GIAO DIỆN CSS  SHORTCODE ĐỌC NHIỀU NHẤT --> */
.most-read-widget {
background-color: #ffffff;
border: 1px solid #e2e8f0;
padding: 15px;
position: relative;
max-width: 420px;
box-sizing: border-box;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;

/* Thanh kẻ viền đỏ trên cùng */
.widget-top-border {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background-color: #b91c1c;
}

/* Header tiêu đề */
.widget-header {
display: flex;
align-items: center;
gap: 10px;

padding-bottom: 8px;

.header-square {
    display: inline-block;
    width: 12px;
    height: 18px;
    background-color: #b91c1c;
}

.widget-title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
}

.widget-divider {
height: 1px;
background-color: #333333;
margin-bottom: 12px;
}

/* Danh sách các item */
.most-read-list {
display: flex;
flex-direction: column;

.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed #e2e8f0;

    &:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Khối vuông chứa số thứ tự */
    .rank-box {
        width: 30px;
        height: 30px;
        background-color: #f1f5f9;
        color: #334155;
        font-size: 10px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .item-content {
        flex: 1;

        /* Chuyên mục màu đỏ */
        .category-name {
            color: #b91c1c;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 4px;
            letter-spacing: 0.3px;
        }

        /* Tiêu đề bài viết */
        .post-title {
            margin: 0 0 6px 0;
            font-size: 15px;
            line-height: 1.4;
            font-weight: 700;

            a {
                color: #111827;
                text-decoration: none;
                transition: color 0.2s ease;
            }
        }

        /* Ngày tháng và lượt xem */
        .post-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #94a3b8;
            font-weight: 500;

            .meta-dot {
                font-size: 10px;
            }

            .post-views {
                display: inline-flex;
                align-items: center;
                gap: 3px;

                .icon-eye {
                    width: 14px;
                    height: 14px;
                    fill: #94a3b8;
                }
            }
        }
    }
    &:hover {
        .rank-box {
            background-color: #b91c1c;
            color: #ffffff;
        }
        .post-title {
            a {
                color: #b91c1c;
            }
        }
    }
}
}
}

/* API GOLD AND CURRENCY */
.finance-card {
background: #fff;
border: 1px solid #e2e8f0;
padding: 15px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);

.widget-title {
font-size: 15px;
font-weight: bold;
color: #000;
margin: 0 0 15px 0;
padding-left: 10px;
border-left: 8px solid #000;
border-bottom: 1px solid #111;
padding-bottom: 8px;
text-transform: uppercase;
}

.data-table {
width: 100%;
border-collapse: collapse;
font-size: 13.5px;
margin-bottom: 15px;

th {
    color: #888;
    font-weight: bold;
    font-size: 11px;
    padding: 8px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
}

td {
    padding: 10px 8px;
    border-bottom: 1px solid #f2f2f2;
}

tr:last-child td {
    border-bottom: none;
}

.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

.price-buy {
    font-weight: bold;
    color: #222;
}

.price-sell {
    font-weight: bold;
    color: #c00000;
}

.currency-code {
    font-weight: bold;
    color: #222;

    span {
        color: #666;
        font-weight: normal;
        font-size: 11px;
        margin-right: 4px;
    }
}
}
}

.gold-converter-box {
background: #fffbfb;
border: 1px solid #fbdada;
padding: 12px;
border-radius: 4px;

.converter-title {
color: #c00000;
font-size: 13px;
font-weight: bold;
margin: 0 0 12px 0;
display: flex;
align-items: center;
gap: 6px;
text-transform: uppercase;
}

.converter-inputs {
display: flex;
gap: 10px;
margin-bottom: 12px;

.input-group {
    flex: 1;

    label {
        display: block;
        font-size: 10px;
        color: #777;
        font-weight: bold;
        margin-bottom: 4px;
    }

    select,
    input {
        width: 100%;
        padding: 6px;
        border: 1px solid #ccc;
        border-radius: 2px;
        font-size: 13px;
        box-sizing: border-box;
        background: #fff;
    }
}
}

.converter-results {
display: flex;
gap: 10px;

.result-box {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;

    .res-label {
        display: block;
        font-size: 10px;
        color: #888;
        font-weight: bold;
        margin-bottom: 4px;
    }

    .res-value {
        font-size: 15px;
        font-weight: bold;
        color: #111;

        u {
            text-decoration: none;
            border-bottom: 1px solid #111;
        }
    }

    &.sell .res-value {
        color: #c00000;
        u {
            border-color: #c00000;
        }
    }
}
}
}

.currency-widget .widget-title {
border-left-color: #c00000;
}

/* CSS Shortcodes tin tức tiêu điểm và đọc nhiều nhất */
.news-layout-container {
display: flex;
gap: 24px;
color: #333;
max-width: 100%;
align-items: stretch; /* ĐẢM BẢO 2 CỘT CÓ CHIỀU CAO BẰNG NHAU */

/* Cột Trái */
.news-left-col {
flex: 2;
display: flex;
flex-direction: column;

.featured-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    height: 100%; /* Căng full chiều cao cột */
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid transparent;
    border-bottom-width: 3px;
    transition:
        border-color 0.3s ease,
        border-top-width 0.3s ease,
        background-color 0.3s ease;
    &:hover {
        background-color: #fff;
        border-radius: 5px;
        overflow: hidden;
        border: 1px solid var(--primary-color);
        border-bottom-width: 3px;
    }

    .featured-image-box {
        height: 340px;
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: flex-end;
        flex-shrink: 0;

        .featured-overlay {
            background: linear-gradient(
                to top,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.4) 60%,
                transparent 100%
            );
            padding: 20px;
            width: 100%;

            .featured-badge {
                background-color: #cc0000;
                color: #fff;
                font-size: 11px;
                font-weight: 700;
                padding: 4px 8px;
                text-transform: uppercase;
                display: inline-block;
                margin-bottom: 8px;
                letter-spacing: 0.5px;
            }

            .featured-title {
                margin: 0;
                font-size: 26px;
                line-height: 1.3;
                /* font-family: "Georgia", serif; */
                font-weight: 700;
                background-color: transparent;

                a {
                    color: #fff;
                    text-decoration: none;
                }
            }
        }
    }

    .featured-content {
        padding: 16px 20px;
        flex-grow: 1; /* Tự động lấp đầy phần khoảng trống dọc */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Đẩy đoạn tóm tắt lên trên, meta xuống đáy */

        .featured-excerpt {
            font-size: 14.5px;
            color: #4a5568;
            line-height: 1.6;
            margin: 0 0 16px 0;
        }

        .featured-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #edf2f7;
            padding-top: 12px;
            font-size: 13px;
            color: #718096;
            margin-top: auto; /* Luôn khoá chặt vị trí ở đáy */

            svg {
                width: 14px;
                height: 14px;
                display: inline-block;
                vertical-align: -2px;
                fill: currentColor;
                margin-right: 2px;
            }

            .meta-right {
                display: flex;
                gap: 15px;
            }
        }
    }
}
}

/* Cột Phải */
.news-right-col {
flex: 1;
display: flex;
flex-direction: column;

.right-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-shrink: 0;

    h3 {
        margin: 0;
        font-size: 17px;
        font-weight: 700;
        color: #b91c1c;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: "Inter";
        text-align: center;
    }

    .header-line {
        flex-grow: 1;
        height: 2px;
        background-color: #b91c1c;
        margin-left: 15px;
        max-width: 40px;
    }
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1; /* Chiếm toàn bộ chiều cao còn lại */
    justify-content: space-between; /* Giãn cách đều 3 thẻ tin */

    .popular-item {
        display: flex;
        gap: 12px;
        border: 1px solid #e2e8f0;
        padding: 10px;
        background: #fff;
        flex: 1; /* Cho 3 thẻ bài viết chia đều chiều cao */
        border-radius: 5px;
        overflow: hidden;
        border: 1px solid transparent;
            border-left-width: 3px;
        transition:
            border-color 0.3s ease,
            border-top-width 0.3s ease,
            background-color 0.3s ease;
        &:hover {
            background-color: #fff;
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid var(--primary-color);
            border-left-width: 3px;
        }

        .popular-thumb {
            width: 110px;
            height: 100%; /* Căng theo chiều cao card */
            min-height: 80px;
            flex-shrink: 0;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .popular-info {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex: 1;

            .popular-cat {
                color: #b91c1c;
                font-size: 10.5px;
                font-weight: 700;
                text-transform: uppercase;
            }

            .popular-title {
                margin: 2px 0;
                font-size: 13.5px;
                line-height: 1.35;
                font-weight: 700;

                a {
                    color: #1a202c;
                    text-decoration: none;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    font-size: 14px;
                    font-family: "Inter";

                    &:hover {
                        color: #b91c1c;
                    }
                }
            }

            .popular-meta {
                display: flex;
                justify-content: space-between;
                font-size: 11.5px;
                color: #a0aec0;
                margin-top: auto; /* Luôn khoá vị trí meta ở đáy card */

                svg {
                    width: 14px;
                    height: 14px;
                    display: inline-block;
                    vertical-align: -2px;
                    fill: currentColor;
                    margin-right: 2px;
                }
            }
        }
    }
}
}

/* Responsive */
@media (max-width: 768px) {
flex-direction: column;

.news-left-col {
    .featured-card {
        .featured-image-box {
            height: 240px;

            .featured-overlay {
                .featured-title {
                    font-size: 20px;
                }
            }
        }
    }
}

.news-right-col {
    .popular-list {
        .popular-item {
            flex: initial; /* Bỏ chia chiều cao trên di động */
        }
    }
}
}
}

/* CSS shortcode sự kiện nóng */
.hot-events-ticker {
display: flex;
align-items: center;
background-color: #f4f6f8; /* Nền xám nhạt */
width: 100%;
padding: 10px 18%;
overflow-x: auto;
white-space: nowrap;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
border-top: 1px solid #e5e7eb;
border-bottom: 1px solid #e5e7eb;

/* Ẩn thanh cuộn cho IE/Edge & Firefox */
-ms-overflow-style: none;
scrollbar-width: none;

/* Ẩn thanh cuộn cho Webkit (Chrome, Safari) */
&::-webkit-scrollbar {
display: none;
}

/* Label badge đỏ */
.hot-events-label {
background-color: #ba0000; /* Màu đỏ đậm */
color: #ffffff;
font-weight: 700;
font-size: 13px;
padding: 6px 12px;
display: flex;
align-items: center;
gap: 6px;
text-transform: uppercase;
flex-shrink: 0;
letter-spacing: 0.5px;

.lightning-icon {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}
}

/* Container chứa các bài viết */
.hot-events-list {
display: flex;
align-items: center;
margin-left: 10px;
overflow: hidden;

/* Mỗi item bài viết */
.hot-event-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: 14px;

    .hot-event-dot {
        color: #ba0000; /* Màu chấm đỏ */
        margin-right: 6px;
        font-weight: bold;
        font-size: 16px;
        line-height: 1;
    }

    .hot-event-title {
        color: #111827;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;

        &:hover {
            color: #ba0000; /* Đổi màu đỏ khi hover */
            text-decoration: underline;
        }
    }
}
}
}

.custom-blog-content {
background: #fff;
border: 1px solid #e2e8f0;
padding: 20px;
.entry-header {
display: none;
}
.single-post-header {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
margin-bottom: 25px;

/* Tag danh mục dạng Text màu đỏ */
.single-post-category {
    display: inline-block;
    background-color: #c00000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Tiêu đề bài viết */
.single-post-title {
/*             font-family: "Playfair Display", "Georgia", serif; */
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px 0;
}

/* Thanh Meta Info */
.single-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
    font-size: 13px;
    color: #777777;

    .meta-left,
    .meta-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .dot {
        color: #ccc;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 0;
        margin-left: 0;
        svg {
            color: #c00000;
        }

        &.author {
            color: #222222;
            font-weight: 600;
        }
    }

    /* Nút thích */
    .like-btn {
        background: none;
        border: none;
        color: #c00000;
        font-weight: bold;
        font-size: 12px;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 4px;
        outline: none;

        svg {
            fill: #c00000;
        }

        &:hover {
            opacity: 0.8;
        }
    }
}

/* Responsive cho màn hình di động */
@media (max-width: 768px) {
    .single-post-title {
        font-size: 24px;
    }

    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
}
}

.single-post-header {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

.single-post-meta {
.like-btn {
    background: transparent;
    border: none;
    color: #c00000;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    outline: none;
    transition: all 0.2s ease;

    svg {
        fill: #c00000;
        transition: transform 0.2s ease;
    }

    &:hover {
        opacity: 0.8;

        svg {
            transform: scale(1.15);
        }
    }

    /* Khi người dùng đã bấm thích */
    &.liked {
        cursor: default;
        opacity: 0.85;

        .like-text {
            font-weight: bold;
        }
    }

    /* Hiệu ứng mờ khi đang gửi dữ liệu */
    &.loading {
        opacity: 0.5;
        pointer-events: none;
    }
}
}
}

.custom-related-posts-wrapper {
margin: 30px 0;
width: 100%;

/* Header Block */
.related-header {
border-bottom: 1px solid #111;
margin-bottom: 20px;
padding-bottom: 10px;

.related-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin: 0;
    padding-left: 10px;
    border-left: 10px solid #c00000; /* Vạch đỏ bên trái */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
}

/* Grid Layout 3 Cột */
.related-posts-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;

.related-post-card {
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease;

    &:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .card-thumb {
        width: 100%;
        aspect-ratio: 16 / 10;
        overflow: hidden;

        a img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        &:hover a img {
            transform: scale(1.03);
        }
    }

    .card-body {
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;

        .card-title {
            margin: 0 0 15px 0;
            font-size: 15px;
            line-height: 1.4;
            font-weight: bold;

            a {
                color: #111;
                text-decoration: none;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;

                &:hover {
                    color: #c00000;
                }
            }
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #aaa;

            .views {
                display: flex;
                align-items: center;
                gap: 4px;

                svg {
                    stroke: #aaa;
                }
            }
        }
    }
}
}

/* Responsive cho Màn hình nhỏ / Di động */
@media (max-width: 992px) {
.related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 576px) {
.related-posts-grid {
    grid-template-columns: 1fr;
}
}
}
.cat-posts-layout {
display: flex;
align-items: stretch;
gap: 20px;
}

.main-post-column {
height: 100%;
}

.sub-posts-column {
display: flex;
flex-direction: column;
height: auto;
/* (align-items: stretch) */

&.is-empty {
display: none;
}
}
@font-face {
font-family: "Playfair Display";
src:
url("/fonts/PlayfairDisplay-Regular.woff2") format("woff2"),
url("/fonts/PlayfairDisplay-Regular.woff") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Playfair Display";
src:
url("/fonts/PlayfairDisplay-Bold.woff2") format("woff2"),
url("/fonts/PlayfairDisplay-Bold.woff") format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}

.tracking-tight {
font-size: 36px;
color: oklch(0.505 0.213 27.518);
line-height: 30px;
font-family: "Playfair Display", serif !important;
font-weight: bold;
}
.custom-weather-widget {
font-family: Arial, sans-serif;
max-width: 100% !important;

border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}
.finance-card {
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}
.header-bottom-nav {
gap: 10px;
}
.header-bottom {
img {
filter: invert(1);
}
}
