﻿/**
 * Dxctn Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/dxctn The Dxctn CMS GitHub project
 */

#topnews {
    border: 1px solid #c3d3e0;
    margin-bottom: 10px;
    padding: 4px;
}

#topnews ul.lastest-news {
    padding: 0;
}

#topnews ul.lastest-news li {
    text-indent: 10px;
}

#topnews ul.lastest-news a {
    background: transparent url('../images/squared-blue.png') no-repeat 5px 9px;
    border-bottom: 1px dotted #bbdbf6;
    color: #383838;
    display: block;
    font-weight: normal;
    padding: 2px 0;
}

#topnews ul.lastest-news a:hover {
    background: #fff url('../images/squared-blue.png') no-repeat 5px 9px;
}

/*div.news_column h5 .list-inline > li {
    padding-left:0;
}

div.news_column h5 .list-inline {
    margin-bottom:3px;
}*/

div.news_column .socialicon {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
}

div.news_column .imghome {
    margin: 4px 10px 0 0;
}

div.news_column .text-muted {
    font-size: 12px;
}

#hometext h2 {
    font-weight: bold;
    /*font-size:14px;
    line-height:20px;*/
}

div.news_column .imgalt {
    display: block;
    text-align: center;
    margin-top: 5px;
}

div.news_column div.items p,
div.news_column #hometext,
#news_detail h1,
p.copyright {
    margin-bottom: 10px;
}

div.news_column div.copyright {
    margin-top: 10px;
}

div.news_column p.adminlink {
    margin-bottom: 10px;
}

div.news_column ul.related {
    float: left;
}

div.span-25 ul.related {
    width: 100%;
}

div.news_column ul.related li {
    padding: 0 4px 0 0;
}

div.news_column .panel-heading {
    font-size: 14px;
    font-weight: bold;
}

div.span-25 ul.related li {
    padding: 0 10px;
}

div.news_column ul.related a {
    color: #3b3b3b;
    padding-left: 6px;
    text-align: left;
}

div.news_column ul.related a:hover {
    color: #004175;
}

.txtrequired {
    color: #ff0000;
}

.content-box {
    padding: 10px;
}

.panel-body.other-news > div.clearfix {
    margin-bottom: 15px;
}

.panel-body.other-news > div.clearfix:last-child {
    margin-bottom: 0;
}

ul.other-news {
    padding-left: 0;
    margin-left: 0;
}

#hot-news .hot-news-others ul {
    padding: 0;
    margin: 0;
}

#hot-news .hot-news-others ul li {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dadada;
}

#hot-news .hot-news-others ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

#hot-news li a span {
    text-indent: 8px;
    display: inherit;
}

#print {
    margin: 0 auto;
    text-align: left;
    width: 800px;
}

#print a,
#print a:active,
#print a:focus,
#print a:visited {
    color: #4d5764;
    text-decoration: none;
}

#print h1 {
    /*font-size:160%;*/
}

#print h2 {
    /*font-size:150%;*/
}

#print a:hover {
    text-decoration: underline;
}

#print h1,
h2,
p {
    margin: 0 0 6px 0;
    padding: 0;
}

#print #hd_print {
    margin-top: 10px;
}

#print #content #hometext {
    font-weight: bold;
    margin-bottom: 10px;
}

#print #content ul.control {
    margin: 0;
    display: block;
    padding: 7px 0 19px 0;
}

#print #content ul.control li {
    display: inline;
    float: left;
    list-style: none;
    font-size: 95%;
}

#print #content ul.control li a {
    padding: 0 2px;
}

#print #content ul.control li a:hover {
    text-decoration: none;
    cursor: pointer;
}

#print #content .time {
    color: #333;
}

#print #content .imghome {
    padding: 4px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

#print #content .imghome p {
    font-weight: normal;
}

#print #content .copyright {
    background: #66ccff;
    padding: 4px;
    width: 100%;
}

#print #content #author {
    text-align: right;
}

#print #footer {
    margin-top: 10px;
    border-top: 2px solid #dc0312;
    min-height: 30px !important;
    padding: 10px;
}

#print #footer #url {
    line-height: 20px;
    font-size: 100%;
    display: block;
    border-bottom: 2px solid #4d5764;
}

#print #footer .copyright {
    float: left;
    display: inline;
    padding: 5px 0;
}

#print #footer #contact {
    float: right;
    display: inline;
    padding: 5px 0;
}

#print #footer #contact a:hover {
    text-decoration: none;
    cursor: pointer;
}

#print #footer a {
    color: #fff;
}

.bodytext figure.image figcaption {
    padding: 5px;
}

.featured h2 {
    /*font-size:16px !important;*/
    padding-left: 5px !important;
}

.featured p {
    font-size: 14px !important;
    padding-left: 5px !important;
}

ul.related h4 {
    display: inline-block;
}

.detail-related.related li * {
    display: inline;
}

.news-download-file {
    margin-top: -6px;
}

.news-download-file .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.news-download-file .list-group-item .badge {
    float: right;
    display: inline-block;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #5cb85c;
    border-radius: 15px;
}

.news-download-file .list-group-item .badge a {
    color: #fff;
}

h3.newh3 {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #cccccc;
    font-size: 20px;
    line-height: 25px;
    padding-bottom: 10px;
    margin-bottom: 5px;
    padding-top: 10px;
    margin-top: 0px;
    color: #02659d;
}

/* Player */
:root {
    --plyr-color-main: #108DE5;
    --plyr-audio-controls-background: transparent;
}

.news-detail-player {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 24px;
    background-color: #f4f4f4;
}

.news-detail-player > .player {
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    padding-right: 24px;
}

.news-detail-player > .source {
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-right: 20px;
}

.news-detail-player > .tools {
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-right: 20px;
}

.news-switch {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.news-switch .news-switch-btn {
    margin-left: 5px;
    position: relative;
    width: 44px;
    height: 22px;
}

.news-switch .news-switch-btn .news-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.news-switch .news-switch-btn .news-switch-slider:before {
    position: absolute;
    content: "";
    background-color: #d6dadf;
    -webkit-transition: .4s;
    transition: .4s;
    height: 14px;
    width: 36px;
    left: 4px;
    bottom: 4px;
    border-radius: 7px;
}

.news-switch .news-switch-btn .news-switch-slider:after {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 0;
    bottom: 0;
    background-color: #4a5464;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.news-switch .news-switch-btn.checked .news-switch-slider:after {
    background-color: #108DE5;
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Responsive news */

@media (max-width: 499.98px) {
    div.news_column ul.related {
        padding: 4px;
        clear: both;
    }

    div.news_column ul.fixedwidth {
        width: 100%;
        clear: both;
    }

    div.news_column div.fixedwidth {
        float: left;
        width: 100%;
        clear: both;
    }

    .news-detail-player {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .news-detail-player > .player {
        padding-right: 0;
        width: 100%;
        -ms-flex-order: 1;
        order: 2;
    }

    .news-detail-player > .source {
        padding-right: 10;
        -ms-flex-order: 0;
        order: 0;
        margin-top: 12px;
    }

    .news-detail-player > .tools {
        padding-right: 0;
        -ms-flex-order: 0;
        order: 1;
        margin-top: 12px;
    }
}

@media (min-width: 500px) {
    div.news_column ul.fixedwidth {
        width: 100%;
    }

    div.news_column div.fixedwidth {
        float: left;
        width: 100%;
    }
}

@media (max-width: 640px) {
    div.news_column ul.related {
        margin-bottom: 0;
    }

    div.news_column ul.related li {
        padding: 0 4px 4px 0 !important;
    }
}

@media (min-width: 768px) {
    div.news_column ul.related {
        padding: 4px;
    }

    div.news_column ul.fixedwidth {
        width: 28%;
    }

    div.news_column div.fixedwidth {
        float: left;
        width: 68%;
    }
}

@media (min-width: 992px) {
    div.news_column ul.related {
        padding: 4px;
    }

    div.news_column ul.fixedwidth {
        width: 28%;
    }

    div.news_column div.fixedwidth {
        float: left;
        width: 68%;
    }
}

@media (min-width: 1200px) {
    div.news_column ul.related {
        padding: 4px;
    }

    div.news_column ul.fixedwidth {
        width: 28%;
    }

    div.news_column div.fixedwidth {
        float: left;
        width: 68%;
    }
}

@media (min-width: 500px) {
    div.news_column ul.related {
        padding: 4px;
    }

    div.news_column ul.fixedwidth {
        width: 100%;
    }

    div.news_column div.fixedwidth {
        float: left;
        width: 100%;
    }
}

/* ===== Kiểu tạp chí (chuyên mục hiển thị "Lưới"): Nhịp sống đầu tư và các lĩnh vực Dự án thu hút đầu tư ===== */
.iq-mag { --iq-navy: #052f60; --iq-text: #33475b; --iq-muted: #6b7c8f; --iq-line: #dfe7ef; --iq-accent: #e11d48; margin: 8px 0 40px; color: var(--iq-text); }
.iq-mag a { color: inherit; text-decoration: none; }
.iq-mag a:hover { color: #0c5594; }
.iq-mag-head h1 { margin: 0 0 22px; color: var(--iq-navy); font-size: 26px; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.iq-mag-desc { margin: -8px 0 24px; color: var(--iq-muted); font-size: 15px; line-height: 1.6; }
.iq-mag-desc img { display: none; }
.iq-mag-rule { display: block; width: 56px; height: 3px; margin: 14px 0 16px; background: var(--iq-accent); }
.iq-mag-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-size: 15px; line-height: 1.6; }
.iq-mag-text p { margin: 0; }
.iq-mag-meta { margin: 12px 0 0; color: var(--iq-muted); font-size: 13px; }
.iq-mag-admin { margin: 10px 0 0; }
/* Bài nổi bật: ảnh lớn bên trái, tiêu đề + gạch nhấn + tóm tắt bên phải */
.iq-mag-featured { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.iq-mag-featured-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f6; }
.iq-mag-featured-img img, .iq-mag-card-img img, .iq-proj-sector-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.iq-mag-featured-img:hover img, .iq-mag-card-img:hover img, .iq-proj-sector-img:hover img { transform: scale(1.03); }
.iq-mag-featured h2 { margin: 4px 0 0; color: var(--iq-navy); font-size: 28px; font-weight: 700; line-height: 1.25; }
/* Các bài còn lại: thẻ 3 cột */
.iq-mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.iq-mag-grid:not(:has(*)) { display: none; }
.iq-mag-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 14px; background: #eef2f6; }
.iq-mag-card h3 { margin: 0 0 8px; color: var(--iq-navy); font-size: 17px; font-weight: 700; line-height: 1.4; }
.iq-mag-card .iq-mag-text { -webkit-line-clamp: 3; font-size: 14px; }
.iq-mag-pages { margin-top: 32px; }
@media (max-width: 1050px) { .iq-mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .iq-mag-featured h2 { font-size: 24px; } }
@media (max-width: 760px) {
    .iq-mag-featured { grid-template-columns: 1fr; gap: 16px; }
    .iq-mag-grid { grid-template-columns: 1fr; gap: 26px; }
    .iq-mag-head h1 { font-size: 21px; }
    .iq-mag-featured h2 { font-size: 21px; }
}

/* ===== Trang "Dự án thu hút đầu tư": ảnh lớn đầu trang + từng lĩnh vực (ảnh/chữ xen kẽ) ===== */
.iq-proj-hero { position: relative; display: flex; align-items: flex-end; min-height: 360px; margin: 8px 0 44px; overflow: hidden; color: #fff;
    background: #052f60 url("../images/portal/quang-ninh-industrial.jpg") center / cover no-repeat; }
.iq-proj-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 38, 78, 0) 30%, rgba(2, 38, 78, .82) 100%); }
.iq-proj-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iq-proj-hero-text { position: relative; z-index: 1; max-width: 760px; padding: 32px 36px; }
.iq-proj-hero h1 { margin: 0; color: #fff; font-size: 40px; font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.iq-proj-hero-desc { margin: 12px 0 0; font-size: 17px; line-height: 1.55; opacity: .92; }
.iq-proj-hero-desc p { margin: 0; }
.iq-proj-top:not(:has(li, article)) { display: none; }
.iq-proj-sectors { --iq-navy: #052f60; --iq-text: #33475b; --iq-accent: #e11d48; display: grid; gap: 48px; margin-bottom: 48px; color: var(--iq-text); }
.iq-proj-sector { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.iq-proj-sector:nth-child(even) .iq-proj-sector-img { order: 2; }   /* xen kẽ: ảnh trái / ảnh phải */
.iq-proj-sector a { color: inherit; text-decoration: none; }
.iq-proj-sector-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef2f6; }
.iq-proj-sector h2 { margin: 0; color: var(--iq-navy); font-size: 30px; font-weight: 700; line-height: 1.2; }
.iq-proj-sector h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--iq-navy); }
.iq-proj-sector a:hover { color: #0c5594; }
.iq-proj-more { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid #dfe7ef; }
.iq-proj-more:not(:has(li)) { display: none; }
.iq-proj-more li { padding: 8px 0; border-bottom: 1px solid #dfe7ef; font-size: 15px; line-height: 1.45; }
.iq-proj-more li::before { content: "\203A"; margin-right: 8px; color: var(--iq-accent, #e11d48); font-weight: 700; }
.iq-proj-go { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; padding: 0 20px; border-radius: 5px;
    background: #052f60; color: #fff !important; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.iq-proj-go:hover { background: #0c5594; }
.iq-proj-go:focus-visible, .iq-mag a:focus-visible { outline: 2px solid #0c5594; outline-offset: 2px; }
@media (max-width: 760px) {
    .iq-proj-hero { min-height: 240px; margin-bottom: 30px; }
    .iq-proj-hero-text { padding: 20px; }
    .iq-proj-hero h1 { font-size: 26px; }
    .iq-proj-sector { grid-template-columns: 1fr; gap: 16px; }
    .iq-proj-sector:nth-child(even) .iq-proj-sector-img { order: 0; }
    .iq-proj-sector h2 { font-size: 23px; }
}

/* ===== Bài kiểu tạp chí: ảnh tràn ngang, tiêu đề vàng đè lên ảnh; thân bài cột hẹp ở giữa ===== */
/* ảnh/video đầu bài tràn hết chiều ngang cửa sổ (thoát khỏi khung 1160px); cao theo tỉ lệ 16:9, tối đa 78% màn hình */
.qeza-story-hero { position: relative; display: flex; align-items: flex-end; width: 100vw; min-height: min(56.25vw, 78vh); margin: 0 0 32px calc(50% - 50vw); overflow: hidden; background: #02264e; color: #fff; }
.qeza-story-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qeza-story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 38, 78, .35) 0%, rgba(2, 38, 78, 0) 35%, rgba(2, 20, 40, .78) 100%); }
.qeza-story-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px 40px; }
.qeza-story-hero .qeza-news-breadcrumb, .qeza-story-hero .qeza-news-breadcrumb a { color: rgba(255, 255, 255, .85); }
.qeza-story-hero-cat { display: none; margin: 18px 0 8px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.qeza-story-hero-title { max-width: 900px; margin: 0; color: #f2b832; font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; line-height: 1.2; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); text-wrap: balance; }   /* chia dòng cân đối, không để 1–2 chữ lẻ ở dòng cuối */
/* tiêu đề H1 vẫn giữ trong bài cho SEO/đọc màn hình, chỉ ẩn khỏi mắt vì đã hiện trên ảnh; ảnh minh hoạ trong thân bài trùng ảnh đầu bài nên ẩn */
.qeza-detail-story .qeza-detail-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qeza-detail-story .qeza-article-featured { display: none; }
/* thân bài rộng hết khung nội dung (1160px), thẳng hàng với tiêu đề trên ảnh; bỏ dòng ngày/lượt xem/chuyên mục (khung đầu bài chỉ còn H1 ẩn nên bỏ luôn gạch chia) */
.qeza-detail-story { max-width: none; margin-left: 0; margin-right: 0; }
.qeza-detail-story .qeza-article-meta { display: none; }
.qeza-detail-story .qeza-article-header { margin: 0; padding: 0; border: 0; }
body:has(.qeza-story-hero) { overflow-x: clip; }   /* 100vw gồm cả thanh cuộn (Windows): không để lòi thanh cuộn ngang */
@media (max-width: 760px) {
    .qeza-story-hero { min-height: 320px; margin-bottom: 20px; }
    .qeza-story-hero-inner { padding: 0 14px 24px; }
}

/* ===== Bài trình bày đồ hoạ "Ưu đãi & Pháp lý" (nhập trong trình soạn bài viết bằng class iqn-tt / iqn-ntv) =====
   Hình học (vòng tròn, vạch chéo, khung vàng) vẽ bằng CSS; trong bài chỉ có chữ, danh sách và bảng để biên tập viên sửa.
   Ảnh nền đặt bằng style="background-image:url(...)" trên khối ngoài cùng. Kích thước chữ theo bề rộng khối (cqw). */
.qeza-article-body .iqn-tt, .qeza-article-body .iqn-ntv { container-type: inline-size; position: relative; margin: 0 0 28px; overflow: hidden; background: #442e21 no-repeat center top / 100% auto; color: #fff; font-family: "Be Vietnam Pro", Arial, "Helvetica Neue", sans-serif; line-height: 1.3; }
.qeza-article-body .iqn-tt :where(p), .qeza-article-body .iqn-ntv :where(p) { margin: 0; text-align: inherit; }
.qeza-article-body .iqn-tt :where(ul), .qeza-article-body .iqn-ntv :where(ul) { margin: 0; padding: 0; list-style: none; }
.qeza-article-body .iqn-tt img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 0; }

/* --- Thủ tục đầu tư (iqn-tt): điện thoại xếp dọc, từ 640px dựng đúng bố cục ảnh mẫu --- */
.qeza-article-body .iqn-tt-photo { height: 56cqw; padding: 5cqw 5cqw 0; }
.qeza-article-body .iqn-tt-slogan { color: #ffef00; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.qeza-article-body .iqn-tt-script { display: block; margin-left: 1cqw; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 9cqw; font-style: italic; font-weight: 400; line-height: 1; transform: rotate(-6deg); transform-origin: left; }
.qeza-article-body .iqn-tt-big { display: block; font-size: 7.5cqw; font-weight: 800; }
.qeza-article-body .iqn-tt-experts { position: absolute; top: 24cqw; right: 3cqw; width: 46cqw; aspect-ratio: 1; }
.qeza-article-body .iqn-tt-circle { position: relative; width: 94cqw; aspect-ratio: 1; margin: 0 auto 4cqw; }
.qeza-article-body .iqn-tt-services { margin: 0 4cqw 6cqw; padding: 4cqw 5cqw; background: rgba(251, 249, 0, .6); }
.qeza-article-body .iqn-tt-services li { color: #1b1b1b; font-size: 4.6cqw; font-weight: 300; line-height: 1.6; text-align: right; }
.qeza-article-body .iqn-tt-foot { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4cqw; padding: 0 4cqw 7cqw; }
.qeza-article-body .iqn-tt-foot p { text-align: center; }
.qeza-article-body .iqn-tt-foot img { width: 26cqw; margin-bottom: 3cqw; }
.qeza-article-body .iqn-tt-foot span { display: block; color: #fdf8cf; font-size: 5.4cqw; font-weight: 800; line-height: 1.15; }
.qeza-article-body .iqn-tt-foot a { color: inherit; text-decoration: none; }

/* vòng tròn nhỏ "5 chuyên gia": viền kem, khối xanh trên + trái, chữ xanh bên phải; đơn vị cqw tính theo chính vòng tròn */
.qeza-article-body .iqn-tt-experts { container-type: inline-size; box-sizing: border-box; overflow: hidden; border: max(4px, 2.3cqw) solid #fafec3; border-radius: 50%; outline: 1px solid #030387; background: #fff; color: #030387; }
.qeza-article-body .iqn-tt-experts::before, .qeza-article-body .iqn-tt-experts::after { content: ""; position: absolute; background: #030387; }
.qeza-article-body .iqn-tt-experts::before { inset: 0 0 auto; height: 27.4%; clip-path: polygon(0 0, 94.3% 0, 69.3% 100%, 0 100%); }
.qeza-article-body .iqn-tt-experts::after { left: 0; top: 35.9%; bottom: 0; width: 55.2%; }
.qeza-article-body .iqn-tt-experts-note { position: absolute; z-index: 1; left: 9%; top: 28.3%; font-size: 4.2cqw; font-style: italic; font-weight: 300; }
.qeza-article-body .iqn-tt-experts-head { position: absolute; z-index: 1; right: 47%; top: 41%; width: 45%; color: #fff; font-size: 5.8cqw; font-weight: 800; line-height: 1.2; text-align: right; }
.qeza-article-body .iqn-tt-num { display: block; font-size: 14cqw; line-height: 1; }
.qeza-article-body .iqn-tt-experts-list { position: absolute; z-index: 1; left: 58.2%; top: 37.5%; }
.qeza-article-body .iqn-tt-experts-list li { font-size: 6cqw; font-weight: 500; line-height: 1.6; white-space: nowrap; }

/* vòng tròn lớn: nền xanh, viền kem, 3 vạch kem chéo; chữ các bước căn phải, gạch chân mảnh */
.qeza-article-body .iqn-tt-circle { container-type: inline-size; box-sizing: border-box; z-index: 1; overflow: hidden; border: 5cqw solid #fafec3; border-radius: 50%; outline: 2px solid #030387; background: linear-gradient(97.4deg, transparent 61.62%, #fafec3 61.62% 62.93%, transparent 62.93%), linear-gradient(102.5deg, transparent 67.9%, #fafec3 67.9% 69.13%, transparent 69.13%), linear-gradient(109.4deg, transparent 74.12%, #fafec3 74.12% 75.28%, transparent 75.28%), #030387; }
.qeza-article-body .iqn-tt-title { position: absolute; left: 14%; top: 18.5%; width: 51%; font-size: 4.6cqw; font-weight: 800; text-align: center; }
.qeza-article-body .iqn-tt-sub { position: absolute; left: 14%; top: 25.2%; width: 51%; font-size: 2.3cqw; text-align: center; }
.qeza-article-body .iqn-tt-sub a { color: #fff; text-decoration: none; }
.qeza-article-body .iqn-tt-sub a:hover { color: #ffef00; }
.qeza-article-body .iqn-tt-steps { position: absolute; left: 0; top: 37%; width: 59.9%; }
.qeza-article-body .iqn-tt-steps-2 { left: 9%; top: 69.5%; width: 46%; }
.qeza-article-body .iqn-tt-steps li { padding-right: 1cqw; border-bottom: 1px solid rgba(150, 160, 255, .55); font-size: 2.8cqw; font-weight: 700; line-height: 2.05; text-align: right; text-transform: uppercase; }
.qeza-article-body .iqn-tt-label { position: absolute; left: 77%; top: 61%; color: #f5f500; font-size: 5.2cqw; font-weight: 800; white-space: nowrap; transform: translate(-50%, -50%) rotate(-70deg); }

@container (min-width: 640px) {
    .qeza-article-body .iqn-tt-photo { height: 107.27cqw; padding: 0; }   /* đúng tỉ lệ ảnh mẫu 2752×2952 */
    .qeza-article-body .iqn-tt-slogan { position: absolute; left: 9.4cqw; top: 3cqw; }
    .qeza-article-body .iqn-tt-script { font-size: 5.6cqw; }
    .qeza-article-body .iqn-tt-big { font-size: 3.4cqw; }
    .qeza-article-body .iqn-tt-experts { top: 1.15cqw; left: 71.2cqw; right: auto; width: 26.4cqw; border-width: 1.3cqw; }
    .qeza-article-body .iqn-tt-circle { position: absolute; left: 1.7cqw; top: 23.9cqw; width: 64.2cqw; margin: 0; border-width: 3.45cqw; }
    .qeza-article-body .iqn-tt-services { position: absolute; left: 63.4cqw; top: 41.5cqw; width: 30.9cqw; height: 35.9cqw; box-sizing: border-box; margin: 0; padding: 4.6cqw 2.3cqw 0 0; z-index: 0; background: none; }
    /* khối vàng đúng ảnh nền mẫu: mép trái uốn theo vòng tròn lớn (chừa khe), đuôi vàng ôm chân vòng tròn; toạ độ đo từ ảnh mẫu 1865×2000 */
    .qeza-article-body .iqn-tt-services::before { content: ""; position: absolute; z-index: -1; left: -16.22cqw; top: -0.75cqw; width: 47.18cqw; height: 45.04cqw; background: rgba(251, 249, 0, .6); clip-path: polygon(99.9% 1.6%, 99.9% 81.8%, 32.4% 81.8%, 31.9% 83.3%, 29.1% 85.7%, 25.8% 88.1%, 22.2% 90.5%, 18.1% 92.9%, 13.2% 95.2%, 7.3% 97.6%, 5.1% 98.6%, 5.9% 97.6%, 9.8% 95.2%, 13.1% 92.9%, 16% 90.5%, 18.8% 88.1%, 21.1% 85.7%, 23.4% 83.3%, 25.5% 81%, 27.4% 78.6%, 29.1% 76.2%, 30.7% 73.8%, 32.2% 71.4%, 33.5% 69%, 34.8% 66.7%, 35.9% 64.3%, 37% 61.9%, 38% 59.5%, 38.9% 57.1%, 39.7% 54.8%, 40.3% 52.4%, 40.9% 50%, 41.5% 47.6%, 41.9% 45.2%, 42.3% 42.9%, 42.6% 40.5%, 43% 38.1%, 43.1% 35.7%, 43.2% 33.3%, 43.2% 28.6%, 43.1% 26.2%, 42.8% 23.8%, 42.6% 21.4%, 42.3% 19%, 41.9% 16.7%, 41.5% 14.3%, 41.2% 11.9%, 41.2% 9.8%); }
    .qeza-article-body .iqn-tt-services li { font-size: 2.05cqw; line-height: 1.7; }
    .qeza-article-body .iqn-tt-foot { display: block; padding: 0; }
    .qeza-article-body .iqn-tt-foot p { position: absolute; top: 85.5cqw; left: 4cqw; width: 30cqw; }
    .qeza-article-body .iqn-tt-foot p + p { top: 81.6cqw; left: 65.5cqw; width: 27cqw; }
    .qeza-article-body .iqn-tt-foot img { width: 15.7cqw; margin-bottom: 1.2cqw; }
    .qeza-article-body .iqn-tt-foot p + p img { width: 11.7cqw; margin-bottom: 2.6cqw; }
    .qeza-article-body .iqn-tt-foot span { font-size: 3.1cqw; }
}

/* --- Nhà tư vấn đầu tư (iqn-ntv): ảnh quán phía trên, vòng cung xám nâu bên trái, các bảng so le --- */
.qeza-article-body .iqn-ntv { padding: 0 0 48px; }
.qeza-article-body .iqn-ntv::before { content: ""; position: absolute; left: 0; top: 19cqw; bottom: 0; width: 89cqw; border-radius: 0 50% 50% 0 / 0 50% 50% 0; background: rgba(168, 156, 148, .8); }
.qeza-article-body .iqn-ntv::after { content: ""; position: absolute; left: 2.6cqw; top: 53cqw; bottom: 0; width: 2.4cqw; background: #442e21; }
.qeza-article-body .iqn-ntv > * { position: relative; z-index: 1; }
.qeza-article-body .iqn-ntv h2 { margin: 12cqw 0 6cqw 5.5cqw; color: #ffe600; font-size: max(20px, 3.6cqw); font-weight: 800; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); text-transform: uppercase; }
.qeza-article-body .iqn-ntv h3 { margin: 0 0 .5cqw; color: #f2e200; font-size: max(16px, 2.4cqw); font-weight: 400; }
.qeza-article-body .iqn-ntv-group { width: 75cqw; margin: 0 0 5cqw 1.5cqw; }
.qeza-article-body .iqn-ntv-group + .iqn-ntv-group { margin-left: 23.5cqw; }
.qeza-article-body .iqn-ntv-group + .iqn-ntv-group + .iqn-ntv-group { margin-left: 8.8cqw; }
.qeza-article-body .iqn-ntv-group:first-of-type h3 { margin-left: 7.8cqw; }
.qeza-article-body .iqn-ntv figure.table { margin: 0; overflow-x: auto; }
.qeza-article-body .iqn-ntv table { width: 100%; margin: 0; border-collapse: collapse; background: #fff; color: #222; font-size: max(12px, 1.45cqw); line-height: 1.35; }
.qeza-article-body .iqn-ntv table th, .qeza-article-body .iqn-ntv table td { height: 3.6cqw; padding: .5cqw .8cqw; border: 1px solid #8b8b8b; text-align: left; vertical-align: middle; }
.qeza-article-body .iqn-ntv table th, .qeza-article-body .iqn-ntv table thead td, .qeza-article-body .iqn-ntv table > tbody:first-child > tr:first-child td { background: #cde3e2; font-weight: 400; text-align: center; }
.qeza-article-body .iqn-ntv-more { margin-left: 8.8cqw; }
.qeza-article-body .iqn-ntv-more li { color: #f2e200; font-size: max(16px, 2.4cqw); line-height: 1.5; }
.qeza-article-body .iqn-ntv-more a { color: inherit; }
@container (max-width: 639px) {
    .qeza-article-body .iqn-ntv::before { top: 36cqw; width: 100cqw; }
    .qeza-article-body .iqn-ntv::after { display: none; }
    .qeza-article-body .iqn-ntv h2 { margin-top: 22cqw; margin-bottom: 18cqw; }
    .qeza-article-body .iqn-ntv-group, .qeza-article-body .iqn-ntv-group + .iqn-ntv-group, .qeza-article-body .iqn-ntv-group + .iqn-ntv-group + .iqn-ntv-group { width: auto; margin: 0 3cqw 7cqw; }
    .qeza-article-body .iqn-ntv-group:first-of-type h3 { margin-left: 0; }
    .qeza-article-body .iqn-ntv table { min-width: 560px; }
    .qeza-article-body .iqn-ntv-more { margin-left: 3cqw; }
}

/* Bấm ảnh đầu bài -> xem ảnh lớn trong #sitemodal: khung 600px của popup làm ảnh gốc tràn ra phải; ảnh co theo màn hình, khung theo ảnh */
#sitemodal .modal-dialog:has(.modal-body img) { max-width: none; }
#sitemodal .modal-body img { display: block; width: auto; max-width: min(92vw, 1200px); height: auto; max-height: calc(100vh - 120px); margin: 0 auto; border-radius: 0; }
#sitemodal .modal-body figcaption { padding-top: 8px; font-size: 13px; text-align: center; }

/* ===== Mẫu bài dự án (chọn ở ô "Mẫu nội dung" khi thêm bài) =====
   Mẫu bảng 6 mục dùng giao diện trang dự án (layout investqn-project) nên không cần CSS riêng.
   iqn-ds: ảnh/video trái, chữ phải trên nền đỏ đậm theo mẫu giao diện; dùng giao diện mặc định (trang dự án ép chữ đen, nền trắng) */
.qeza-article-body .iqn-ds { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; margin: 0 0 28px; padding: 20px; background: #7a0010; color: #fff; }
.qeza-article-body .iqn-ds-media :where(p, figure) { margin: 0; }
.qeza-article-body .iqn-ds-media img, .qeza-article-body .iqn-ds-media video, .qeza-article-body .iqn-ds-media iframe { display: block; width: 100%; height: 100%; min-height: 240px; max-height: none; border: 0; border-radius: 0; object-fit: cover; }
.qeza-article-body .iqn-ds-text h2 { margin: 0 0 12px; color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; }
.qeza-article-body .iqn-ds-text p { margin: 0 0 4px; color: #fff; font-size: 14px; line-height: 1.55; text-align: justify; }
@media (max-width: 760px) {
    .qeza-article-body .iqn-ds { grid-template-columns: 1fr; padding: 14px; }
}

/* Tin mới/cũ hơn: chuyên mục không phải dạng lưới -> danh sách tiêu đề không ảnh (class is-list gán trong theme.php theo "Cách thể hiện" của chuyên mục) */
.qeza-detail-related-box.is-list .qeza-related-grid { display: block; border-top: 1px solid #dfe7ef; }
.qeza-detail-related-box.is-list .qeza-related-card { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 0 10px 18px; position: relative; border: 0; border-bottom: 1px solid #dfe7ef; border-radius: 0; background: none; }
.qeza-detail-related-box.is-list .qeza-related-card::before { content: ""; position: absolute; left: 4px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: #278f91; }
.qeza-detail-related-box.is-list .qeza-related-card:hover { box-shadow: none; transform: none; }
.qeza-detail-related-box.is-list .qeza-related-thumb { display: none; }
.qeza-detail-related-box.is-list .qeza-related-card h4 { flex: 1 1 320px; padding: 0; font-size: 15px; }
.qeza-detail-related-box.is-list .qeza-related-card time { padding: 0; }
