/*
 * Giao diện các trang nội dung công khai: blog (danh sách, chuyên mục, bài viết), video, truyền thông,
 * tải app, bói online, liên hệ, liên hệ quảng cáo, điều khoản, chính sách, trang lỗi.
 * Nạp khi body có class "hhnt-page" (xem app/layouts/master.blade.php), cùng home-ui.css (biến màu).
 * CHỈ đổi giao diện bằng CSS: không đổi HTML, chữ, link, heading của các trang.
 */

/* ---------- Nền & khung chung ---------- */
body.hhnt-page { background-image: none; background-color: var(--hhnt-bg); color: var(--hhnt-ink); }
body.hhnt-page main { font-size: 15.5px; line-height: 1.65; }
body.hhnt-page main .section-padding { padding: 32px 0 56px; }
body.hhnt-page main .container { max-width: 1160px; padding-left: 16px; padding-right: 16px; }
body.hhnt-page main a { color: var(--hhnt-brand-ink); }
body.hhnt-page main a.text-dark { color: var(--hhnt-ink) !important; }
body.hhnt-page main a.text-primary { color: var(--hhnt-brand-ink) !important; }
body.hhnt-page main .text-danger { color: var(--hhnt-brand-strong) !important; }

/* Tiêu đề */
body.hhnt-page main h1,
body.hhnt-page main .heading {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--hhnt-ink);
}
body.hhnt-page main h2 { font-weight: 700; color: var(--hhnt-ink); line-height: 1.3; }
body.hhnt-page main h3 { font-weight: 700; color: var(--hhnt-ink); line-height: 1.35; }
body.hhnt-page main .section-heading { margin-bottom: 8px; }

/* Nút (Bootstrap) -> kiểu nút của site */
body.hhnt-page main .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2;
    box-shadow: none;
    transition: background-color .15s, color .15s, border-color .15s;
}
body.hhnt-page main .btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
body.hhnt-page main .btn-block { display: flex; width: 100%; }
body.hhnt-page main .btn:focus-visible { outline: 3px solid rgba(221, 113, 194, .45); outline-offset: 2px; }
body.hhnt-page main .btn-primary,
body.hhnt-page main .large_btn,
body.hhnt-page main .contact-form .btn {
    background: var(--hhnt-brand-strong); border-color: var(--hhnt-brand-strong); color: #fff !important;
    box-shadow: 0 6px 18px rgba(196, 71, 159, .25);
}
body.hhnt-page main .btn-primary:hover,
body.hhnt-page main .large_btn:hover,
body.hhnt-page main .contact-form .btn:hover { background: var(--hhnt-brand-ink); border-color: var(--hhnt-brand-ink); }
body.hhnt-page main .btn-outline-primary,
body.hhnt-page main .btn-outline-dark {
    background: #fff; border-color: var(--hhnt-line); color: var(--hhnt-brand-ink) !important;
}
body.hhnt-page main .btn-outline-dark { color: var(--hhnt-ink) !important; }
body.hhnt-page main .btn-outline-primary:hover,
body.hhnt-page main .btn-outline-dark:hover { border-color: var(--hhnt-brand); background: var(--hhnt-brand-soft); }
body.hhnt-page main .btn-info { background: #0068ff; border-color: #0068ff; color: #fff !important; } /* Zalo */
body.hhnt-page main .btn-info:hover { background: #0057d6; border-color: #0057d6; }
body.hhnt-page main .btn img[src*="/icons/turn-back"] { width: 12px !important; opacity: .75; }

/* Ô nhập & form */
body.hhnt-page main input[type="text"],
body.hhnt-page main input[type="email"],
body.hhnt-page main textarea {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 16px; /* iOS không tự phóng to */
    color: var(--hhnt-ink);
    background: #fff;
    border: 1.5px solid var(--hhnt-line);
    border-radius: 12px;
    box-shadow: none;
}
body.hhnt-page main textarea { min-height: 140px; resize: vertical; }
body.hhnt-page main input:focus,
body.hhnt-page main textarea:focus { outline: none; border-color: var(--hhnt-brand); box-shadow: 0 0 0 3px rgba(221, 113, 194, .2); }
body.hhnt-page main input::placeholder,
body.hhnt-page main textarea::placeholder { color: #b3a3ad; }

/* Thẻ nội dung chung */
body.hhnt-page main .box-shadow {
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(120, 30, 90, .06) !important;
}
body.hhnt-page main iframe { border-radius: 14px; max-width: 100%; }
body.hhnt-page main .pagination { justify-content: center; gap: 10px; margin: 16px 0 0; }
body.hhnt-page main .page-link { border-radius: 999px !important; border: 1.5px solid var(--hhnt-line); color: var(--hhnt-brand-ink); padding: 8px 20px; font-weight: 600; }
body.hhnt-page main .page-link:hover { border-color: var(--hhnt-brand); background: var(--hhnt-brand-soft); }
body.hhnt-page main .page-item.disabled .page-link { color: #c4b3bd; background: #fff; }

/* ---------- Blog: danh sách & chuyên mục ---------- */
body.hhnt-page main .page-content { padding-top: 32px !important; }
body.hhnt-page main .page-content > h1 { margin-bottom: 14px !important; }
/* Thanh chuyên mục (các H2 inline) */
body.hhnt-page main .page-content > .text-center:has(> h2.d-inline) {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    padding: 0 16px; margin-bottom: 8px !important;
}
body.hhnt-page main .page-content > .text-center > h2.d-inline { display: block !important; margin: 0; font-size: 15px; }
body.hhnt-page main .page-content > .text-center > h2.d-inline > a {
    display: inline-flex !important; align-items: center;
    min-height: 40px; padding: 8px 18px !important;
    border-radius: 999px;
    border: 1.5px solid var(--hhnt-line) !important;
    background: #fff;
    color: var(--hhnt-ink) !important;
    font-weight: 600;
    text-decoration: none;
}
body.hhnt-page main .page-content > .text-center > h2.d-inline > a:hover { border-color: var(--hhnt-brand) !important; color: var(--hhnt-brand-ink) !important; }
/* chuyên mục đang xem (style inline cũ: border-bottom) */
body.hhnt-page main .page-content > .text-center > h2.d-inline > a[style*="border-bottom"] {
    background: var(--hhnt-brand-strong); border-color: var(--hhnt-brand-strong) !important; color: #fff !important;
}
body.hhnt-page main .page-content > br { display: none; }

/* Thẻ bài viết */
body.hhnt-page main .posts .post-item {
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px !important;
    transition: box-shadow .2s, transform .2s;
}
body.hhnt-page main .posts .post-item:hover { box-shadow: 0 12px 30px rgba(120, 30, 90, .1); transform: translateY(-2px); }
body.hhnt-page main .post-item > a { display: block; text-decoration: none; color: var(--hhnt-ink); }
body.hhnt-page main .post-item > a > img {
    display: block; width: 100%;
    aspect-ratio: 16 / 9; object-fit: cover;
    margin: 0 !important;
    background: var(--hhnt-brand-soft);
    color: transparent; font-size: 0;
}
body.hhnt-page main .post-item .post-title {
    font-size: 19px; font-weight: 700; line-height: 1.35;
    margin: 14px 18px 6px;
    color: var(--hhnt-ink);
}
body.hhnt-page main .post-item > a:hover .post-title { color: var(--hhnt-brand-ink); }
body.hhnt-page main .post-item .post-description {
    margin: 0 18px 10px;
    color: var(--hhnt-muted); font-size: 14.5px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
body.hhnt-page main .post-item .post-description p { margin: 0; }
body.hhnt-page main .post-item > .row {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap;
    margin: 0; padding: 10px 18px 14px;
    border-top: 1px solid #f3eaf0;
}
body.hhnt-page main .post-item > .row > div { padding: 0; flex: 0 1 auto; max-width: none; }
body.hhnt-page main .post-item > .row small,
body.hhnt-page main .post-item > .row .fa-eye { color: var(--hhnt-muted); }
body.hhnt-page main .post-item > .row .fa-eye { margin: 0 4px 0 0 !important; }
body.hhnt-page main .post-item .btn { min-height: 32px; padding: 5px 14px !important; font-size: 13px !important; }
body.hhnt-page main .post-item .btn-primary-transparent { background: var(--hhnt-brand-soft); color: var(--hhnt-brand-ink) !important; border-color: transparent; }
body.hhnt-page main .post-item .btn-danger-transparent { background: #fff; color: var(--hhnt-muted) !important; border-color: var(--hhnt-line); }
/* Bài lớn đầu trang */
body.hhnt-page main .posts > .row:first-child > .col-sm-8 .post-title { font-size: clamp(20px, 2.4vw, 26px); }

/* ---------- Blog: bài viết ---------- */
/* thanh điều hướng: Quay lại · BLog › Chuyên mục */
body.hhnt-page main .container > p[style*="border-bottom"] {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
    border-bottom: 0 !important;
    padding-bottom: 6px !important; margin-bottom: 14px !important;
    font-size: 14px;
}
body.hhnt-page main .container > p[style*="border-bottom"] > a:not(.btn) { color: var(--hhnt-muted); text-decoration: none; }
body.hhnt-page main .container > p[style*="border-bottom"] > a:not(.btn):hover { color: var(--hhnt-brand-ink); }
body.hhnt-page main .container > p[style*="border-bottom"] > img { width: 10px !important; opacity: .45; }
body.hhnt-page main .container > p[style*="border-bottom"] > .btn { margin-right: 6px !important; }
/* cột bài viết */
body.hhnt-page main .row > .col-sm-8:has(> .post-content) {
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 20px;
    padding: 24px 22px 8px;
    margin-bottom: 20px;
}
body.hhnt-page main .col-sm-8 > h1 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 18px; }
body.hhnt-page main .post-content { font-size: 17px !important; line-height: 1.8; color: #34252f; }
body.hhnt-page main .post-content > img:first-child { width: 100%; border-radius: 14px; margin-bottom: 20px !important; }
body.hhnt-page main .post-content img { border-radius: 12px; }
body.hhnt-page main .post-content h2 { font-size: 23px; margin: 30px 0 12px; }
body.hhnt-page main .post-content h3 { font-size: 19px; margin: 24px 0 10px; }
body.hhnt-page main .post-content h4 { font-size: 17px; margin: 20px 0 8px; }
body.hhnt-page main .post-content p { margin-bottom: 16px; }
body.hhnt-page main .post-content ul,
body.hhnt-page main .post-content ol { padding-left: 22px; margin-bottom: 16px; }
body.hhnt-page main .post-content li { margin-bottom: 6px; }
body.hhnt-page main .post-content a { text-decoration: underline; text-underline-offset: 2px; }
body.hhnt-page main .post-content blockquote { border-left: 4px solid var(--hhnt-brand); background: var(--hhnt-bg); padding: 12px 18px; border-radius: 0 12px 12px 0; }
body.hhnt-page main .post-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; display: block; overflow-x: auto; }
body.hhnt-page main .post-content td, body.hhnt-page main .post-content th { border: 1px solid var(--hhnt-line); padding: 8px 10px; }
/* hộp kêu gọi đăng ký cuối bài */
body.hhnt-page main #get_theme {
    background: linear-gradient(135deg, var(--hhnt-brand-strong) 0%, var(--hhnt-brand) 100%) !important;
    border: 0 !important;
    border-radius: 18px !important;
    padding: 24px 22px !important;
    color: #fff;
    margin-top: 28px;
}
body.hhnt-page main #get_theme h3 { color: #fff; font-size: 20px; }
body.hhnt-page main #get_theme .btn-primary { background: #fff; border-color: #fff; color: var(--hhnt-brand-ink) !important; box-shadow: none; }
body.hhnt-page main #get_theme .btn-outline-primary { background: transparent; border-color: rgba(255, 255, 255, .75); color: #fff !important; }
body.hhnt-page main #get_theme .btn-outline-primary:hover { background: rgba(255, 255, 255, .12); }
/* cột bài liên quan */
body.hhnt-page main .col-sm-4.posts > h2 { font-size: 20px; margin-bottom: 14px; }
body.hhnt-page main .col-sm-4.posts .post-item .post-title { font-size: 16px; }
body.hhnt-page main .col-sm-4.posts .post-item .post-description { -webkit-line-clamp: 2; font-size: 14px; }

/* ---------- Video ---------- */
body.hhnt-page main span[onclick*="showYoutube"] {
    position: relative;
    display: block;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hhnt-brand-soft);
    box-shadow: 0 8px 24px rgba(120, 30, 90, .08);
}
body.hhnt-page main span[onclick*="showYoutube"] img { display: block; width: 100%; border: 0 !important; border-radius: 0 !important; transition: transform .3s; }
body.hhnt-page main span[onclick*="showYoutube"]:hover img { transform: scale(1.03); }
body.hhnt-page main span[onclick*="showYoutube"]::after {
    content: "";
    position: absolute; left: 50%; top: 50%;
    width: 58px; height: 58px; margin: -29px 0 0 -29px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23c4479f'/%3E%3C/svg%3E") no-repeat 56% 50% / 26px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    transition: transform .15s;
}
body.hhnt-page main span[onclick*="showYoutube"]:hover::after { transform: scale(1.08); }
body.hhnt-page main .section-heading h2.h4 { color: var(--hhnt-muted); font-weight: 500; font-size: 17px; }
/* lưới video gọn hơn: 2 cột trên mobile */
@media (max-width: 575.98px) {
    body.hhnt-page main .row > .col-sm-6.col-md-4.mb-3 { flex: 0 0 50%; max-width: 50%; padding-left: 6px; padding-right: 6px; }
    body.hhnt-page main .row:has(> .col-sm-6.col-md-4.mb-3) { margin-left: -6px; margin-right: -6px; }
    body.hhnt-page main span[onclick*="showYoutube"]::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; background-size: 20px; }
}
@media (min-width: 992px) {
    body.hhnt-page main .row > .col-sm-6.col-md-4.mb-3 { flex: 0 0 25%; max-width: 25%; }
}

/* ---------- Truyền thông & báo chí ---------- */
body.hhnt-page main #bao-chi { font-size: 15px !important; padding-top: 16px !important; }
body.hhnt-page main #bao-chi > h2 { font-size: 24px; padding-top: 0 !important; }
body.hhnt-page main #bao-chi > div > .my-3 {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 16px;
    padding: 16px 18px;
    text-align: left;
}
body.hhnt-page main #bao-chi > div > .my-3 > .float-left { float: none !important; flex: 0 0 72px; width: 72px !important; }
body.hhnt-page main #bao-chi > div > .my-3 > .float-left img { width: 64px !important; margin: 0 !important; border-radius: 10px; }
body.hhnt-page main #bao-chi > div > .my-3 > .mb-2 { margin: 0 !important; color: var(--hhnt-muted); }
body.hhnt-page main #bao-chi > div > .my-3 > .mb-2 a { display: inline-block; margin-top: 4px; font-weight: 600; }
/* Khối tải app (trang truyền thông + trang tải app) */
body.hhnt-page main .container.text-center.mb-4.mt-4 { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
body.hhnt-page main a[href*="play.google"] img,
body.hhnt-page main a[href*="apps.apple"] img { height: 48px !important; width: auto; transition: transform .15s; }
body.hhnt-page main a[href*="play.google"]:hover img,
body.hhnt-page main a[href*="apps.apple"]:hover img { transform: translateY(-2px); }
body.hhnt-page main .section-content { margin-bottom: 40px !important; }

/* ---------- Bói online ---------- */
body.hhnt-page main .col-sm-6.mb-3 > .border.rounded.p-3 {
    background: #fff;
    border: 1px solid var(--hhnt-line) !important;
    border-radius: 16px !important;
    padding: 22px 22px !important;
    height: 100%;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
body.hhnt-page main .col-sm-6.mb-3 > .border.rounded.p-3:hover { border-color: var(--hhnt-brand) !important; box-shadow: 0 12px 30px rgba(120, 30, 90, .1); transform: translateY(-2px); }
body.hhnt-page main .col-sm-6.mb-3 > .border.rounded.p-3 h2 { font-size: 19px; }
body.hhnt-page main .col-sm-6.mb-3 > .border.rounded.p-3 h2 a { text-decoration: none; }
body.hhnt-page main .col-sm-6.mb-3 > .border.rounded.p-3 h2 a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.hhnt-page main .col-sm-6.mb-3 > .border.rounded.p-3 h2 a::after {
    content: ""; flex: 0 0 22px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4479f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 22px;
}
/* Bói theo tên */
body.hhnt-page main form[method="GET"] {
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 18px;
    padding: 20px;
}
body.hhnt-page main form[method="GET"] > label {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 40px; padding: 6px 14px;
    margin: 0 6px 8px 0 !important;
    border: 1.5px solid var(--hhnt-line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
}
body.hhnt-page main form[method="GET"] > label:has(input:checked) { border-color: var(--hhnt-brand-strong); background: var(--hhnt-brand-soft); color: var(--hhnt-brand-ink); }
body.hhnt-page main form[method="GET"] input[type="radio"] { accent-color: var(--hhnt-brand-strong); width: 16px; height: 16px; margin: 0; }
body.hhnt-page main form[method="GET"] .large_btn { min-width: 180px; }
body.hhnt-page main .bg-red:has(> h3) {
    background: linear-gradient(135deg, var(--hhnt-brand-strong) 0%, var(--hhnt-brand) 100%) !important;
    border-radius: 18px;
    padding: 20px 22px !important;
    margin-top: 16px !important;
}
body.hhnt-page main .bg-red:has(> h3) h3 { font-size: 24px; }
body.hhnt-page main h1 > .btn { vertical-align: middle; margin-right: 8px; }

/* ---------- Liên hệ (trợ giúp) ---------- */
body.hhnt-page main .col-lg-6 > .box-shadow { padding: 20px 22px !important; }
body.hhnt-page main .col-lg-6 > .box-shadow > b:first-child { font-size: 20px; }
body.hhnt-page main .col-lg-6 > .box-shadow .btn-info { flex-direction: column; padding: 14px 18px; border-radius: 16px; }
body.hhnt-page main .col-lg-6 > .box-shadow .btn-info br { display: none; }
body.hhnt-page main .col-lg-6 > .box-shadow .fa { color: var(--hhnt-brand-strong); width: 18px; }

/* ---------- Liên hệ quảng cáo / liên hệ (khối 3 cột) ---------- */
body.hhnt-page main .row > .box1,
body.hhnt-page main .row > .box2,
body.hhnt-page main .row > .box3 { padding: 8px !important; }
body.hhnt-page main .row > .box1 > *,
body.hhnt-page main .row > .box2 > *,
body.hhnt-page main .row > .box3 > * { display: block; }
body.hhnt-page main .row:has(> .box1) > div {
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 16px;
    padding: 24px 16px !important;
    margin: 0 0 12px;
    flex-basis: calc(33.333% - 12px);
    max-width: none;
}
body.hhnt-page main .row:has(> .box1) { gap: 12px; margin: 0 0 24px; justify-content: center; }
body.hhnt-page main .row:has(> .box1) .fa { color: var(--hhnt-brand-strong); }
body.hhnt-page main .row:has(> .box1) p { margin: 0; font-weight: 600; color: var(--hhnt-ink); word-break: break-word; }
@media (max-width: 575.98px) {
    body.hhnt-page main .row:has(> .box1) > div { flex-basis: 100%; }
}

/* ---------- Điều khoản / chính sách ---------- */
body.hhnt-page main section.invert.page-content > .container,
body.hhnt-page main #testemonials {
    max-width: 860px;
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 20px;
    padding: 26px 26px 12px;
}
body.hhnt-page main #testemonials { margin: 32px auto 48px; padding-bottom: 18px; }
body.hhnt-page main section.invert.page-content > .container p { margin-bottom: 14px; }
body.hhnt-page main section.invert.page-content > .container p > b:only-child { font-size: 17px; color: var(--hhnt-ink); }

/* ---------- Trang lỗi (404...) ---------- */
body.hhnt-page main .container:has(> h1.heading + .text-center.mb-5 + .text-center.mb-4) { padding-top: 40px; padding-bottom: 24px; }
body.hhnt-page main .container:has(> h1.heading + .text-center.mb-5 + .text-center.mb-4) > h1.heading {
    font-size: clamp(72px, 14vw, 120px); line-height: 1; margin-bottom: 10px;
    background: linear-gradient(135deg, var(--hhnt-brand-strong), var(--hhnt-brand));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.hhnt-page main .container:has(> h1.heading + .text-center.mb-5 + .text-center.mb-4) > .text-center.mb-5 { font-size: 18px; color: var(--hhnt-muted); margin-bottom: 24px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    body.hhnt-page main .section-padding { padding: 22px 0 40px; }
    body.hhnt-page main .row > .col-sm-8:has(> .post-content) { padding: 18px 16px 4px; border-radius: 16px; margin-left: 15px; margin-right: 15px; }
    body.hhnt-page main .post-content { font-size: 16.5px !important; }
    body.hhnt-page main section.invert.page-content > .container { border-radius: 16px; padding: 20px 18px 8px; margin: 0 12px; width: auto; }
    body.hhnt-page main .post-item .post-title { font-size: 17px; margin: 12px 14px 6px; }
    body.hhnt-page main .post-item .post-description { margin: 0 14px 10px; }
    body.hhnt-page main .post-item > .row { padding: 10px 14px 12px; }
}

/* ---------- Bói cung hoàng đạo / màu sắc (.hh-quiz) ---------- */
body.hhnt-page main .hh-quiz .container { max-width: 860px; }
body.hhnt-page main .hh-quiz h1 { font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 10px; }
.hh-quiz__lead { color: var(--hhnt-muted); font-size: 16px; margin-bottom: 20px; }
body.hhnt-page main .hh-quiz__form { background: #fff; border: 1px solid var(--hhnt-line); border-radius: 18px; padding: 20px; margin-bottom: 20px; }
.hh-quiz__pair { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: end; }
.hh-quiz__field { display: block; margin: 0; }
.hh-quiz__field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--hhnt-ink); }
.hh-quiz__field select {
    width: 100%; height: 48px; padding: 0 40px 0 14px;
    font-size: 16px; color: var(--hhnt-ink);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6873' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
    border: 1.5px solid var(--hhnt-line); border-radius: 12px;
    -webkit-appearance: none; appearance: none;
}
.hh-quiz__field select:focus { outline: none; border-color: var(--hhnt-brand); box-shadow: 0 0 0 3px rgba(221, 113, 194, .2); }
.hh-quiz__heart { display: none; color: var(--hhnt-brand-strong); font-size: 22px; text-align: center; padding-bottom: 10px; }
body.hhnt-page main .hh-quiz__submit { margin-top: 16px; min-width: 200px; }

/* chọn màu */
.hh-quiz__colors { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.hh-quiz__colors legend { font-size: 14px; font-weight: 700; color: var(--hhnt-ink); margin-bottom: 10px; width: 100%; }
.hh-quiz__colors legend small { font-weight: 400; color: var(--hhnt-muted); }
.hh-swatch {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 42px; padding: 6px 14px 6px 8px; margin: 0;
    border: 1.5px solid var(--hhnt-line); border-radius: 999px;
    background: #fff; cursor: pointer; font-weight: 500; font-size: 14.5px;
}
.hh-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.hh-swatch__dot { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex-shrink: 0; }
.hh-swatch__dot--none { background: repeating-linear-gradient(45deg, #f3eaf0 0 4px, #fff 4px 8px); }
.hh-swatch:hover { border-color: var(--hhnt-brand); }
.hh-swatch:has(input:checked) { border-color: var(--hhnt-brand-strong); background: var(--hhnt-brand-soft); color: var(--hhnt-brand-ink); box-shadow: 0 0 0 2px rgba(196, 71, 159, .15); }
.hh-swatch:has(input:focus-visible) { outline: 3px solid rgba(221, 113, 194, .45); outline-offset: 2px; }

/* kết quả */
.hh-quiz__result { scroll-margin-top: 80px; }
.hh-quiz__score {
    text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--hhnt-brand-strong) 0%, var(--hhnt-brand) 100%);
    border-radius: 20px; padding: 24px 20px; margin-bottom: 16px;
}
.hh-quiz__couple { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; font-size: 18px; font-weight: 700; }
.hh-quiz__amp { opacity: .8; font-weight: 400; }
.hh-quiz__percent { font-size: clamp(54px, 10vw, 76px); font-weight: 800; line-height: 1.05; margin: 6px 0 10px; }
.hh-quiz__bar { height: 10px; max-width: 360px; margin: 0 auto 12px; background: rgba(255, 255, 255, .3); border-radius: 999px; overflow: hidden; }
.hh-quiz__bar span { display: block; height: 100%; background: #fff; border-radius: 999px; }
.hh-quiz__aspect { display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 14px; font-weight: 600; }
.hh-quiz__type { font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin-top: 8px; }
.hh-quiz__swatch-lg { display: block; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; border: 4px solid #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.hh-quiz__mini { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.hh-quiz__block { background: #fff; border: 1px solid var(--hhnt-line); border-radius: 18px; padding: 20px 22px 8px; margin-bottom: 16px; }
body.hhnt-page main .hh-quiz__block h2 { font-size: 20px; margin-bottom: 10px; }
body.hhnt-page main .hh-quiz__block h3 { font-size: 17px; margin-bottom: 8px; }
.hh-quiz__block p { margin-bottom: 12px; }
.hh-quiz__advice { background: var(--hhnt-brand-soft); border-radius: 12px; padding: 12px 14px; color: var(--hhnt-brand-ink); font-weight: 600; }
.hh-quiz__muted { color: var(--hhnt-muted); font-size: 14px; }
.hh-quiz__cols { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.hh-quiz__chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.hh-quiz__chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--hhnt-line); color: var(--hhnt-ink) !important; text-decoration: none; font-weight: 500; }
.hh-quiz__chips a:hover { border-color: var(--hhnt-brand); background: var(--hhnt-brand-soft); }
.hh-quiz__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--hhnt-bg); border: 1px dashed var(--hhnt-brand); border-radius: 18px; padding: 18px 20px; margin-bottom: 24px; color: var(--hhnt-muted); }
.hh-quiz__cta b { color: var(--hhnt-ink); font-size: 16px; }
.hh-quiz__elements { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.hh-quiz__elements li { padding: 10px 14px; border-radius: 12px; background: var(--hhnt-bg); border-left: 4px solid var(--hhnt-brand); }
.hh-quiz__elements li.is-lua { border-color: #e53935; }
.hh-quiz__elements li.is-dat { border-color: #8d6e63; }
.hh-quiz__elements li.is-khi { border-color: #29b6f6; }
.hh-quiz__elements li.is-nuoc { border-color: #3949ab; }
.hh-quiz__more { display: flex; flex-wrap: wrap; gap: 10px; }
.hh-quiz__more a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--hhnt-line); font-weight: 600; text-decoration: none; }
.hh-quiz__more a:hover { border-color: var(--hhnt-brand); }
@media (min-width: 640px) {
    .hh-quiz__pair { grid-template-columns: 1fr auto 1fr; }
    .hh-quiz__heart { display: block; }
    .hh-quiz__cols { grid-template-columns: 1fr 1fr; }
    .hh-quiz__cols .hh-quiz__block { height: calc(100% - 16px); }
    .hh-quiz__cta { flex-direction: row; align-items: center; justify-content: space-between; }
    .hh-quiz__cta .btn { flex-shrink: 0; }
}
@media (max-width: 575.98px) {
    body.hhnt-page main .hh-quiz__submit { width: 100%; }
    .hh-quiz__block { padding: 16px 16px 6px; }
}

/* ---------- Bói theo ngày sinh (thần số học) ---------- */
.hh-quiz__field input[type="date"] {
    display: block; width: 100%; height: 48px; min-height: 48px; padding: 0 14px;
    font-size: 16px; color: var(--hhnt-ink); background: #fff;
    border: 1.5px solid var(--hhnt-line); border-radius: 12px;
    -webkit-appearance: none; appearance: none;
}
.hh-quiz__field input[type="date"]:focus { outline: none; border-color: var(--hhnt-brand); box-shadow: 0 0 0 3px rgba(221, 113, 194, .2); }
.hh-numero { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
body.hhnt-page main .hh-numero h3 { margin: 0; }
.hh-numero__num {
    flex: 0 0 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--hhnt-brand-strong), var(--hhnt-brand));
    color: #fff; font-size: 28px; font-weight: 800;
}
.hh-numero__steps { font-size: 13px; color: var(--hhnt-muted); background: var(--hhnt-bg); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.hh-quiz__elements li.is-tu-duy { border-color: #1e88e5; }
.hh-quiz__elements li.is-thuc-te { border-color: #8d6e63; }
.hh-quiz__elements li.is-cam-xuc { border-color: #ec407a; }

/* ---------- Trang tổng hợp bói online (.hh-quizhub) ---------- */
body.hhnt-page main .hh-quizhub .container { max-width: 980px; }
.hh-quizhub__lead { max-width: 680px; margin: 0 auto 28px; text-align: center; color: var(--hhnt-muted); font-size: 16.5px; }
.hh-quizhub__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
.hh-quizhub__card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--hhnt-line);
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.hh-quizhub__card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(120, 30, 90, .12); border-color: var(--hhnt-brand); }
.hh-quizhub__art {
    height: 116px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 40px; font-weight: 800; color: #fff;
}
.hh-quizhub__card.is-name .hh-quizhub__art { background: linear-gradient(135deg, #f06292, #c4479f); }
.hh-quizhub__card.is-zodiac .hh-quizhub__art { background: linear-gradient(135deg, #5c6bc0, #8e24aa); }
.hh-quizhub__card.is-color .hh-quizhub__art { background: linear-gradient(135deg, #fff3e0, #fce4ec); }
.hh-quizhub__card.is-birthday .hh-quizhub__art { background: linear-gradient(135deg, #ffb74d, #ec407a); }
.hh-quizhub__tag {
    width: 58px; height: 58px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .22); border: 2px solid rgba(255, 255, 255, .7); font-size: 26px;
}
.hh-quizhub__heart { font-size: 30px; opacity: .95; }
.hh-quizhub__dot { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.hh-quizhub__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 18px; }
body.hhnt-page main .hh-quizhub__body h2 { font-size: 19px; margin: 0 0 6px; }
body.hhnt-page main .hh-quizhub__body h2 a { text-decoration: none; }
/* cả thẻ bấm được (link phủ toàn thẻ) */
.hh-quizhub__body h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hh-quizhub__body h2 a:focus-visible { outline: none; }
.hh-quizhub__card:has(h2 a:focus-visible) { outline: 3px solid rgba(221, 113, 194, .5); outline-offset: 2px; }
.hh-quizhub__body p { color: var(--hhnt-muted); font-size: 14.5px; margin: 0 0 14px; flex: 1; }
.hh-quizhub__go {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 999px;
    background: var(--hhnt-brand-soft); color: var(--hhnt-brand-ink);
    font-weight: 600; font-size: 14px;
}
.hh-quizhub__go::after {
    content: ""; width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8337f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 16px;
}
.hh-quizhub__card:hover .hh-quizhub__go { background: var(--hhnt-brand-strong); color: #fff; }
.hh-quizhub__card:hover .hh-quizhub__go::after { filter: brightness(0) invert(1); }
.hh-quizhub__cta {
    display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
    padding: 20px 22px; border-radius: 20px; color: rgba(255, 255, 255, .92);
    background: linear-gradient(135deg, var(--hhnt-brand-strong) 0%, var(--hhnt-brand) 100%);
}
.hh-quizhub__cta b { color: #fff; font-size: 17px; }
body.hhnt-page main .hh-quizhub__cta .btn-primary { background: #fff; border-color: #fff; color: var(--hhnt-brand-ink) !important; box-shadow: none; flex-shrink: 0; }
.hh-quizhub__note { text-align: center; color: var(--hhnt-muted); font-size: 13px; margin: 16px 0 0; }
@media (min-width: 640px) {
    .hh-quizhub__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hh-quizhub__cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 575.98px) {
    .hh-quizhub__art { height: 96px; font-size: 34px; }
}

/* ---------- Huỷ nhận email (.hh-unsub) ---------- */
.hh-unsub__card {
    max-width: 540px; margin: 8px auto 0;
    background: #fff; border: 1px solid var(--hhnt-line); border-radius: 20px;
    padding: 28px 24px 24px; text-align: center;
    box-shadow: 0 12px 40px rgba(120, 30, 90, .08);
}
.hh-unsub__icon {
    width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--hhnt-brand-soft); color: var(--hhnt-brand-strong);
}
.hh-unsub__icon.is-done { background: #e7f6ec; color: #2e9d57; }
.hh-unsub__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.hhnt-page main .hh-unsub h1 { font-size: clamp(22px, 3.4vw, 28px); margin-bottom: 10px; }
.hh-unsub__card > p { color: var(--hhnt-muted); margin-bottom: 14px; }
.hh-unsub__card > p b { color: var(--hhnt-ink); word-break: break-all; }
.hh-unsub__muted { font-size: 14px; }
.hh-unsub__form { text-align: left; margin-top: 18px; }
.hh-unsub__form fieldset { border: 0; padding: 0; margin: 0; }
.hh-unsub__form legend { font-size: 14px; font-weight: 700; color: var(--hhnt-ink); margin-bottom: 10px; }
.hh-unsub__option {
    display: flex; align-items: center; gap: 10px;
    min-height: 48px; padding: 10px 14px; margin: 0 0 8px;
    border: 1.5px solid var(--hhnt-line); border-radius: 12px;
    cursor: pointer; font-size: 15px; font-weight: 500;
}
.hh-unsub__option input { accent-color: var(--hhnt-brand-strong); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.hh-unsub__option:hover { border-color: var(--hhnt-brand); }
.hh-unsub__option:has(input:checked) { border-color: var(--hhnt-brand-strong); background: var(--hhnt-brand-soft); color: var(--hhnt-brand-ink); }
/* ô "lý do khác" chỉ hiện khi chọn Lý do khác */
body.hhnt-page main .hh-unsub__form textarea { display: none; min-height: 90px; margin: 4px 0 8px; }
body.hhnt-page main .hh-unsub__form fieldset:has(input[value="khac"]:checked) textarea { display: block; }
.hh-unsub__error { margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; background: #fdecee; color: #b42335; font-size: 14px; }
.hh-unsub__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
@media (min-width: 576px) {
    .hh-unsub__card { padding: 34px 36px 30px; }
    .hh-unsub__form .hh-unsub__actions { flex-direction: row; }
    .hh-unsub__form .hh-unsub__actions .btn { flex: 1 1 0; }
    .hh-unsub__card > .hh-unsub__actions { align-items: center; }
}

/* ---------- Trang Truyền thông (body.hhnt-page--truyen-thong) — chỉ CSS, giữ nguyên HTML ---------- */
body.hhnt-page--truyen-thong main .section-padding { padding-top: 24px; }
body.hhnt-page--truyen-thong main .section-heading h1 { font-size: clamp(28px, 4.4vw, 44px); padding-bottom: 28px !important; }
body.hhnt-page--truyen-thong main .section-heading h1 b { display: inline-block; margin-top: 4px; }

/* Khối video: video VTC6 lớn bên trái, 2 video ngắn xếp chồng bên phải */
body.hhnt-page--truyen-thong main .section-heading + .section-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 48px !important;
}
body.hhnt-page--truyen-thong main .section-heading + .section-content > div { max-width: none !important; margin: 0 !important; }
body.hhnt-page--truyen-thong main .section-heading + .section-content iframe {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
    margin: 0 !important; border-radius: 18px;
    box-shadow: 0 14px 36px rgba(120, 30, 90, .14);
    background: #000;
}
body.hhnt-page--truyen-thong main .section-heading + .section-content span[onclick*="showYoutube"] { height: 100%; border-radius: 18px; }
body.hhnt-page--truyen-thong main .section-heading + .section-content span[onclick*="showYoutube"] img {
    width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover;
}
/* video dọc: lấy phần giữa có chữ tiêu đề */
body.hhnt-page--truyen-thong main .section-heading + .section-content > .mb-4 img { object-position: 50% 74%; }

/* Báo chí: 3 thẻ ngang hàng */
body.hhnt-page--truyen-thong main .section-heading + .section-content + .section-content > div { max-width: none !important; }
body.hhnt-page--truyen-thong main #bao-chi { padding: 0 !important; margin: 0 !important; }
body.hhnt-page--truyen-thong main #bao-chi > h2 { font-size: clamp(22px, 3vw, 30px); padding: 0 0 20px !important; margin: 0; }
body.hhnt-page--truyen-thong main #bao-chi > h2 b { color: var(--hhnt-brand-strong); }
body.hhnt-page--truyen-thong main #bao-chi > div { display: grid; grid-template-columns: 1fr; gap: 14px; }
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3 {
    margin: 0 !important;
    flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 22px 22px 20px;
    border-radius: 18px;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3:hover { box-shadow: 0 14px 32px rgba(120, 30, 90, .1); transform: translateY(-2px); }
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3 > .float-left {
    flex: 0 0 auto; width: auto !important; height: 44px;
    display: flex; align-items: center;
}
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3 > .float-left img { width: auto !important; max-width: 96px; height: 40px; object-fit: contain; border-radius: 0; }
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3 > .mb-2 { font-size: 14.5px; line-height: 1.65; display: flex; flex-direction: column; flex: 1; }
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3 > .mb-2 a {
    margin-top: auto; padding-top: 12px;
    color: var(--hhnt-brand-ink); font-weight: 600; text-decoration: none;
}
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3 > .mb-2 a::after {
    content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8337f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 14px;
}
body.hhnt-page--truyen-thong main #bao-chi > div > .my-3 > .mb-2 a:hover { text-decoration: underline; }
body.hhnt-page--truyen-thong main .section-heading + .section-content + .section-content { margin-bottom: 48px !important; }

/* Tải app: dải màu thương hiệu */
body.hhnt-page--truyen-thong main .section-content:last-child {
    background: linear-gradient(135deg, var(--hhnt-brand-strong) 0%, var(--hhnt-brand) 100%);
    border-radius: 22px;
    padding: 32px 20px 30px;
    color: #fff;
    margin-bottom: 0 !important;
}
body.hhnt-page--truyen-thong main .section-content:last-child h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
body.hhnt-page--truyen-thong main .section-content:last-child h2 .text-danger { color: #fff !important; }
body.hhnt-page--truyen-thong main .section-content:last-child .container { padding: 0; }
body.hhnt-page--truyen-thong main .section-content:last-child .btn-outline-primary { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff !important; }
body.hhnt-page--truyen-thong main .section-content:last-child .btn-outline-primary:hover { background: rgba(255, 255, 255, .12); }

@media (min-width: 768px) {
    body.hhnt-page--truyen-thong main .section-heading + .section-content { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 16px; }
    body.hhnt-page--truyen-thong main .section-heading + .section-content > div:first-child { grid-row: 1 / span 2; }
    /* 2 video bên phải: không làm cao hàng, chia đôi chiều cao video lớn */
    body.hhnt-page--truyen-thong main .section-heading + .section-content > .mb-4,
    body.hhnt-page--truyen-thong main .section-heading + .section-content > .my-4 { position: relative; min-height: 0; }
    body.hhnt-page--truyen-thong main .section-heading + .section-content > .mb-4 span[onclick*="showYoutube"],
    body.hhnt-page--truyen-thong main .section-heading + .section-content > .my-4 span[onclick*="showYoutube"] { position: absolute; inset: 0; }
    body.hhnt-page--truyen-thong main .section-heading + .section-content span[onclick*="showYoutube"] img { aspect-ratio: auto; }
    body.hhnt-page--truyen-thong main #bao-chi > div { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* ---------- Blog: cân đối lưới bài viết ---------- */
/* Mọi thẻ bài viết: cao bằng nhau trong cùng hàng, nút "Xem thêm" luôn ở đáy thẻ */
body.hhnt-page main .posts .post-item { display: flex; flex-direction: column; }
body.hhnt-page main .posts .post-item .post-description { flex: 1 1 auto; }
body.hhnt-page main .posts .post-item > .row { margin-top: auto; }
@media (min-width: 576px) {
    /* Hàng đầu: bài lớn bên trái cao đúng bằng 2 bài bên phải */
    body.hhnt-page main .posts > .row:first-child > .col-sm-8,
    body.hhnt-page main .posts > .row:first-child > .col-sm-4 { display: flex; flex-direction: column; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-8 > .post-item { flex: 1 1 auto; margin-bottom: 20px !important; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-8 > .post-item > a { flex: 1 1 auto; display: flex; flex-direction: column; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-8 > .post-item > a > img { flex: 1 1 auto; height: 0; min-height: 240px; aspect-ratio: auto; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-8 > .post-item .post-description { flex: 0 0 auto; -webkit-line-clamp: 3; }
    /* 2 bài bên phải: gọn (ảnh 2:1, ẩn mô tả hiển thị — chữ vẫn có trong HTML) để 2 cột cao gần bằng nhau */
    body.hhnt-page main .posts > .row:first-child > .col-sm-4 > .post-item > a > img { aspect-ratio: 2 / 1; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-4 > .post-item .post-description { display: none; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-4 > .post-item { flex: 0 0 auto; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-4 > .post-item:last-child { flex-grow: 1; }
    body.hhnt-page main .posts > .row:first-child > .col-sm-4 > .post-item:last-child { margin-bottom: 20px !important; }
    /* Các hàng sau: 2 cột, thẻ cao bằng nhau */
    body.hhnt-page main .posts > .row:not(:first-child) > .col-sm-6 { display: flex; }
    body.hhnt-page main .posts > .row:not(:first-child) > .col-sm-6 > .post-item { flex: 1 1 auto; width: 100%; }
}
@media (min-width: 768px) {
    /* Hàng sau: 3 cột (mỗi trang có 3 bài ở hàng này, tránh 1 thẻ lẻ) */
    body.hhnt-page main .posts > .row:not(:first-child) > .col-sm-6 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
