.pq-knowledge-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 42% 95%, rgba(37, 157, 255, .78), transparent 30%),
        radial-gradient(circle at 55% 90%, rgba(255, 202, 56, .50), transparent 18%),
        linear-gradient(120deg, #07152f 0%, #08255a 55%, #081a3e 100%);
}

.pq-knowledge-hero::before,
.pq-knowledge-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.pq-knowledge-hero::before {
    left: -8%;
    right: 24%;
    bottom: -110px;
    height: 260px;
    border-radius: 50%;
    border: 24px solid rgba(30, 124, 245, .45);
    transform: rotate(-7deg);
    box-shadow:
        0 -28px 0 rgba(20, 108, 234, .24),
        0 -56px 0 rgba(80, 176, 255, .14);
}

.pq-knowledge-hero::after {
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    opacity: .35;
    background-image: radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1.5px);
    background-size: 12px 12px;
    mask-image: linear-gradient(90deg, transparent, #000);
}

.pq-knowledge-hero .pq-container {
    position: relative;
    z-index: 2;
}

.pq-knowledge-hero h1 {
    margin: 0;
    text-align: center;
font-size: 35px;
    line-height: 1.1;
    text-transform: uppercase;
}

.pq-knowledge-page {
    padding: 28px 0 70px;
    background: #fff;
}

.pq-knowledge-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.pq-knowledge-filter a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 18px;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    color: #505b67;
    background: #fff;
    font-size: 14px;
}

.pq-knowledge-filter a:hover,
.pq-knowledge-filter a.is-active {
    color: var(--pq-primary);
    border-color: var(--pq-primary);
    box-shadow: 0 0 0 1px var(--pq-primary) inset;
}

.pq-knowledge-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .9fr);
    gap: 28px;
    margin-bottom: 38px;
}

.pq-knowledge-featured__main {
    min-width: 0;
}

.pq-knowledge-featured__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: var(--pq-light);
}

.pq-knowledge-featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pq-knowledge-featured__content {
    padding-top: 17px;
}

.pq-knowledge-featured__content h2 {
    margin: 0 0 9px;
    font-size: 25px;
    line-height: 1.35;
}

.pq-knowledge-featured__content h2 a,
.pq-knowledge-side-item h3 a,
.pq-knowledge-card h2 a {
    color: var(--pq-dark);
}

.pq-knowledge-featured__content p {
    margin: 0 0 12px;
    color: var(--pq-muted);
}

.pq-knowledge-featured__side {
    display: grid;
    align-content: start;
}

.pq-knowledge-side-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--pq-border);
}

.pq-knowledge-side-item:last-child {
    margin-bottom: 0;
}

.pq-knowledge-side-item__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: var(--pq-light);
}

.pq-knowledge-side-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pq-knowledge-side-item h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.4;
}

.pq-knowledge-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.pq-knowledge-meta span {
    color: var(--pq-accent);
    font-weight: bold;
}

.pq-knowledge-meta time {
    color: #818b96;
}

.pq-knowledge-meta time::before {
    content: "•";
    margin-right: 8px;
}

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

.pq-knowledge-card {
    overflow: hidden;
    border: 1px solid var(--pq-border);
    border-radius: 8px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.pq-knowledge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pq-shadow);
}

.pq-knowledge-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--pq-light);
}

.pq-knowledge-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.pq-knowledge-card:hover .pq-knowledge-card__image img {
    transform: scale(1.04);
}

.pq-knowledge-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(7,61,115,.92), rgba(53,184,208,.65)),
        var(--pq-light);
}

.pq-knowledge-card__content {
    padding: 16px;
}

.pq-knowledge-card h2 {
    min-height: 54px;
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.45;
}

.pq-knowledge-pagination {
    margin-top: 38px;
    text-align: center;
}

.pq-knowledge-pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pq-knowledge-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--pq-border);
    border-radius: 5px;
    color: var(--pq-muted);
}

.pq-knowledge-pagination .page-numbers.current,
.pq-knowledge-pagination .page-numbers:hover {
    color: var(--pq-accent);
    border-color: var(--pq-accent);
}

.pq-knowledge-single-hero {
    padding: 70px 0;
    color: #fff;
    background: linear-gradient(125deg, #061a38, #083e78);
}

.pq-knowledge-single-hero__inner {
    max-width: 900px;
}

.pq-knowledge-single-hero h1 {
    margin: 12px 0 0;
    font-size: 40px;
    line-height: 1.2;
}

.pq-knowledge-single {
    padding: 50px 0 70px;
}

.pq-knowledge-entry {
   
    margin-inline: auto;
}

.pq-knowledge-entry__thumbnail {
    margin-bottom: 28px;
}

.pq-knowledge-entry__thumbnail img {
    width: 100%;
    border-radius: 10px;
}

.pq-related-knowledge {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--pq-border);
}

.pq-related-knowledge > h2 {
    margin: 0 0 24px;
    color: var(--pq-primary);
    text-transform: uppercase;
}

.pq-empty {
    text-align: center;
    color: var(--pq-muted);
}

@media (max-width: 991px) {
    .pq-knowledge-featured {
        grid-template-columns: 1fr;
    }

    .pq-knowledge-featured__side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .pq-knowledge-side-item {
        grid-template-columns: 120px 1fr;
    }

    .pq-knowledge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pq-knowledge-hero {
        min-height: 240px;
    }

    .pq-knowledge-hero h1 {
        font-size: 32px;
    }

    .pq-knowledge-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .pq-knowledge-filter a {
        flex: 0 0 auto;
    }

    .pq-knowledge-featured__side,
    .pq-knowledge-grid {
        grid-template-columns: 1fr;
    }

    .pq-knowledge-side-item {
        grid-template-columns: 110px 1fr;
    }

    .pq-knowledge-featured__content h2 {
        font-size: 22px;
    }
}


/* =========================================================
   TRI THỨC - BỔ SUNG AN TOÀN
========================================================= */

.pq-knowledge-category-intro {
 
    margin: 0 auto 28px;
    line-height: 1.7;
}

.pq-case-study,
.pq-document-library,
.pq-legal-documents {
    padding: 36px 0 30px;
}

.pq-case-study__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pq-case-card,
.pq-document-card {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 16px rgba(0, 0, 0, .08);
}

.pq-case-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.pq-case-card__image img,
.pq-document-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pq-case-card__content,
.pq-document-card__content {
    padding: 16px;
}

.pq-case-card__content h2,
.pq-document-card__content h3 {
    margin: 0 0 8px;
}

.pq-case-card__content h2 a {
    color: #e31a20;
    text-decoration: none;
}

.pq-case-card__client,
.pq-document-card__author {
    margin-bottom: 8px;
    color: #0b4c97;
    font-size: 13px;
    font-weight: 700;
}

.pq-document-group {
    margin-bottom: 34px;
}

.pq-document-group > h2 {
    margin: 0 0 20px;
    color: #e31a20;
    text-transform: uppercase;
}

.pq-document-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.pq-document-card__image {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.pq-document-card__download {
    color: #0b4c97;
    font-weight: 700;
    text-decoration: none;
}

.pq-legal-table-wrap {
    overflow-x: auto;
}

.pq-legal-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

.pq-legal-table th,
.pq-legal-table td {
    padding: 13px 14px;
    border: 1px solid #ddd;
}

.pq-legal-table th {
    background: #0c2d52;
    color: #fff;
}

.pq-tri-thuc-process {
    padding: 42px 0 50px;
    background-color: #08295f;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pq-tri-thuc-process__heading {
    margin-bottom: 30px;
    text-align: center;
}

.pq-tri-thuc-process__heading h2 {
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.pq-tri-thuc-process__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.pq-tri-thuc-process__item {
    position: relative;
    color: #fff;
    text-align: center;
}

.pq-tri-thuc-process__number {
    position: absolute;
  
    top: -8px;
    left: calc(50% - 60px);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e31a20;
    font-weight: 800;
}

.pq-tri-thuc-process__icon {
    width: 95px;
    height: 95px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    padding: 14px;
    border-radius: 50%;
    background: #fff;
}

.pq-tri-thuc-process__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pq-tri-thuc-process__item h3 {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.pq-tri-thuc-form {
    padding: 42px 0 58px;
    background: #f3f3f3;
}

.pq-tri-thuc-form__heading {
    margin-bottom: 22px;
    text-align: center;
}

.pq-tri-thuc-form__heading h2 {
    margin: 0;
    color: #0b4c97;
          font-size: 29px;
}

.pq-tri-thuc-form__description {
    max-width: 760px;
    margin: 8px auto 0;
}

.pq-tri-thuc-form__content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 45px;
    border: 1px solid #111;
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 991px) {
    .pq-case-study__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pq-document-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pq-tri-thuc-process__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pq-case-study__grid,
    .pq-document-grid,
    .pq-tri-thuc-process__grid {
        grid-template-columns: 1fr;
    }

    .pq-tri-thuc-form__content {
        padding: 18px;
    }
}

/* =========================================================
   TRI THỨC - FIX DANH MỤC, TIÊU ĐỀ DANH SÁCH, QUY TRÌNH
========================================================= */
.pq-knowledge-list-heading {
    margin: 0 0 22px;
    text-align: center;
}

.pq-knowledge-list-heading h2 {
    margin: 0;
    color: #d71920;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.2;
    text-transform: uppercase;
}

.pq-case-study {
    padding-top: 24px;
}

.pq-case-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    box-shadow: 8px 9px 13px rgba(0,0,0,.24);
}

.pq-case-card__image {
    aspect-ratio: 16 / 9;
    background: #eef5f8;
}

.pq-case-card__content {
    flex: 1;
  
}

.pq-case-card__content h2 {
    min-height: 48px;
    font-size: 15px;
    line-height: 1.35;
}



.pq-case-card__content p {
    margin: 0;
    color: #333;
    font-size: 13px;
    line-height: 1.45;
}

.pq-case-study + .pq-tri-thuc-process,
.pq-knowledge-page + .pq-tri-thuc-process,
.pq-document-library + .pq-tri-thuc-process,
.pq-legal-documents + .pq-tri-thuc-process {
    margin-top: 16px;
}

.pq-tri-thuc-process {
    position: relative;
    overflow: hidden;
    padding: 30px 0 34px;
    border-radius: 18px;
}

.pq-tri-thuc-process__heading {
    margin-bottom: 24px;
}

.pq-tri-thuc-process__heading h2 {
    font-size: clamp(24px, 2.5vw, 34px);
}

.pq-tri-thuc-process__grid {
    position: relative;
    grid-template-columns: repeat(var(--process-count, 5), minmax(0, 1fr));
    gap: 18px;
}

.pq-tri-thuc-process__grid::before {
    content: "";
    position: absolute;
    top: 49px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: #fff;
    opacity: .9;
}

.pq-tri-thuc-process__item {
    z-index: 1;
}

.pq-tri-thuc-process__number {
    top: -10px;
    left: calc(50% - 57px);
}

.pq-tri-thuc-process__icon {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 92px;
    margin-bottom: 12px;
}

.pq-tri-thuc-process__item h3 {
    max-width: 160px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.35;
}

.pq-knowledge-pagination {
    margin-top: 24px;
    text-align: left;
}

.pq-knowledge-pagination .nav-links {
    gap: 4px;
}

.pq-knowledge-pagination .page-numbers {
    min-width: 26px;
    height: 26px;
    border: 0;
    border-radius: 0;
    background: #6e6e6e;
    color: #fff;
    font-size: 13px;
}

.pq-knowledge-pagination .page-numbers.current,
.pq-knowledge-pagination .page-numbers:hover {
    background: #d71920;
    color: #fff;
}

@media (max-width: 991px) {
    .pq-tri-thuc-process__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }

    .pq-tri-thuc-process__grid::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .pq-case-study__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .pq-case-card {
        border-radius: 14px;
    }

    .pq-case-card__content {
        padding: 11px;
    }

    .pq-case-card__content h2 {
        min-height: 0;
        font-size: 13px;
    }

    .pq-tri-thuc-process {
        border-radius: 12px;
    }

    .pq-tri-thuc-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
 * FIX DANH SCH CASE STUDY
 * - Chỉ hiện tiêu đề danh sách khi đã nhập trong ACF.
 * - Card đng đều, ni dung không đy lệch hng.
 * - Phân trang rõ ràng và nm ngay dưi danh sách.
 * ========================================================= */
.pq-case-study .pq-knowledge-list-heading {
    margin: 0 0 22px;
    text-align: center;
}

.pq-case-study .pq-knowledge-list-heading h2 {
    margin: 0;
    color: #d71920;
   font-size: 29px;
    line-height: 1.25;
    text-transform: uppercase;
}

.pq-case-study__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 38px;
    align-items: stretch;
}

.pq-case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 8px 10px 16px rgba(0, 0, 0, 0.18);
}

.pq-case-card__image {
    display: block;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    background: #eef5fa;
}

.pq-case-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pq-case-card:hover .pq-case-card__image img {
    transform: scale(1.035);
}

.pq-case-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;

}

.pq-case-card__content h2 {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 8px;
    overflow: hidden;
    color: #d71920;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pq-case-card__content h2 a {
    color: inherit;
    text-decoration: none;
}

.pq-case-card__date {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 13px;
}

.pq-case-card__client {
    margin-bottom: 8px;
    color: #123d65;
    font-size: 13px;
    font-weight: 700;
}

.pq-case-card__content p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pq-case-study .pq-knowledge-pagination {
    clear: both;
    margin: 40px 0 0;
    padding: 0;
}

.pq-case-study .pq-knowledge-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
}

.pq-case-study .pq-knowledge-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid #d8dce2;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.pq-case-study .pq-knowledge-pagination .page-numbers.current,
.pq-case-study .pq-knowledge-pagination a.page-numbers:hover {
    border-color: #d71920;
    background: #d71920;
    color: #fff;
}

@media (max-width: 991px) {
    .pq-case-study__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 575px) {
    .pq-case-study__grid {
        grid-template-columns: 1fr;
    }

    .pq-case-card {
        border-radius: 18px;
    }

    .pq-case-study .pq-knowledge-list-heading h2 {
        font-size: 22px;
    }
}

/* =========================================================
 * CASE STUDY: 6 BÀI/TRANG, 3 CỘT X 2 HÀNG
 * ========================================================= */
/* ==================================================
   PHÂN TRANG TRI THỨC / CASE STUDY
================================================== */

.pq-knowledge-pagination {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;

    width: 100%;
    margin: 12px 0 0;
    padding: 0;

    border: 0;
    background: transparent;
    box-shadow: none;
    clear: both;
    gap: 3px !important;
}

/* Ép toàn bộ nút con nằm ngang */
.pq-knowledge-pagination > a,
.pq-knowledge-pagination > span {
    float: none !important;
    position: static !important;

    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 26px !important;
    width: 26px !important;
    height: 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #666666 !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    text-align: center !important;
    text-decoration: none !important;

    box-shadow: none !important;
    transform: none !important;
}

/* Trang hin tại: màu đỏ */
.pq-knowledge-pagination > span.current {
    background: #d71920 !important;
    color: #ffffff !important;
}

/* Các trang chưa active: màu xám */
.pq-knowledge-pagination > a.page-numbers:not(.prev):not(.next) {
    background: #666666 !important;
    color: #ffffff !important;
}

/* Hover nút chưa active */
.pq-knowledge-pagination > a.page-numbers:not(.prev):not(.next):hover {
    background: #d71920 !important;
    color: #ffffff !important;
}

/* Nút mi tên */
.pq-knowledge-pagination > a.prev,
.pq-knowledge-pagination > a.next {
    min-width: 16px !important;
    width: auto !important;
    padding: 0 3px !important;

    background: transparent !important;
    color: #555555 !important;

    font-size: 13px !important;
    line-height: 16px !important;
}

/* Hover mũi tên */
.pq-knowledge-pagination > a.prev:hover,
.pq-knowledge-pagination > a.next:hover {
    background: transparent !important;
    color: #d71920 !important;
}

/* Du ba chấm */
.pq-knowledge-pagination > span.dots {
    width: auto !important;
    min-width: 12px !important;

    background: transparent !important;
    color: #555555 !important;
}

/* Chặn CSS mặc định của theme */
.pq-knowledge-pagination a::before,
.pq-knowledge-pagination a::after,
.pq-knowledge-pagination span::before,
.pq-knowledge-pagination span::after {
    display: none !important;
    content: none !important;
}

.pq-case-study__grid h3.pq-case-card__title a {
    color: #d71920;
}




/* =========================================================
   BÀI VIT CHUYÊN MÔN - GIAO DIỆN DANH MỤC
========================================================= */
.pq-knowledge-page--articles {
    padding: 18px 0 54px;
}

.pq-knowledge-filter--keywords {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.pq-knowledge-filter--keywords a {
    min-height: 30px;
    padding: 5px 15px;
    border: 1px solid #adb5bd;
    border-radius: 3px;
    background: #fff;
    color: #555;
  
    line-height: 1.2;
    text-decoration: none;
}

.pq-knowledge-filter--keywords a:hover,
.pq-knowledge-filter--keywords a.is-active {
    border-color: #123d65;
    color: #123d65;
    box-shadow: none;
}

.pq-knowledge-featured--articles {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 34px;
}

.pq-knowledge-featured--articles .pq-knowledge-featured__image {
    aspect-ratio: 16 / 8.5;
    border-radius: 0;
}

.pq-knowledge-featured--articles .pq-knowledge-featured__content {
    padding-top: 10px;
}

.pq-knowledge-featured--articles .pq-knowledge-featured__content h2 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
}

.pq-knowledge-featured--articles .pq-knowledge-featured__content p {
    margin: 0 0 8px;
    color: #333;
    font-size: 15px;
    line-height: 1.55;
}

.pq-knowledge-featured--articles .pq-knowledge-meta time {
    color: #d71920;
}

.pq-knowledge-featured--articles .pq-knowledge-meta time::before {
    display: none;
    content: none;
}

.pq-knowledge-featured__side-title {
    margin: 0 0 12px;
    color: #222;

    line-height: 1.25;
    text-transform: uppercase;
}

.pq-knowledge-side-item--text {
    display: block;
    padding: 0 0 13px;
    margin: 0 0 13px;
    border-bottom: 1px solid #d9d9d9;
}

.pq-knowledge-side-item--text:last-child {
    margin-bottom: 0;
}

.pq-knowledge-side-item--text h3 {
    margin: 0 0 5px;
 
    line-height: 1.4;
}

.pq-knowledge-side-item--text p {
    font-size: 15px;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #555;
 
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pq-knowledge-grid--articles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}

.pq-knowledge-grid--articles .pq-knowledge-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.pq-knowledge-grid--articles .pq-knowledge-card:hover {
    transform: none;
    box-shadow: none;
}

.pq-knowledge-grid--articles .pq-knowledge-card__image {
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.pq-knowledge-grid--articles .pq-knowledge-card__content {
    padding: 12px 0 0;
}

.pq-knowledge-grid--articles .pq-knowledge-card h2 {
    min-height: 44px;
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.45;
}

.pq-knowledge-grid--articles .pq-knowledge-meta span {
    display: none;
}

.pq-knowledge-grid--articles .pq-knowledge-meta time {
    color: #d71920;
    font-size: 13px;
}

.pq-knowledge-grid--articles .pq-knowledge-meta time::before {
    display: none;
    content: none;
}

/* Bi viết chuyên mn không to khoảng trng dnh cho quy trình. */
.pq-knowledge-page--articles + .pq-tri-thuc-form {
    margin-top: 0;
}

@media (max-width: 991px) {
    .pq-knowledge-featured--articles {
        grid-template-columns: 1fr;
    }

    .pq-knowledge-grid--articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pq-knowledge-filter--keywords {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .pq-knowledge-filter--keywords a {
        flex: 0 0 auto;
    }
}

@media (max-width: 575px) {
    .pq-knowledge-grid--articles {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   EBOOKS & TÀI LIỆU + WOOCOMMERCE
========================================================= */
.pq-document-commerce {
    padding: 30px 0 36px;
    background: #fff;
}

.pq-document-commerce .pq-knowledge-category-intro {
    margin-bottom: 30px;
}

.pq-document-section-heading {
    margin: 0 0 26px;
    text-align: center;
}

.pq-document-section-heading--left {
    text-align: left;
}

.pq-document-section-heading h2 {
    margin: 0;
    color: #d71920;
    font-size: clamp(22px, 2.3vw, 32px);
    line-height: 1.2;
    text-transform: uppercase;
}

.pq-book-featured {
    margin-bottom: 42px;
}

.pq-book-featured__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, .72fr));
    align-items: start;
    gap: 30px;
}

.pq-book-featured__item {
    min-width: 0;
}

.pq-book-featured__image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f2f2f2;
}

.pq-book-featured__item--primary .pq-book-featured__image {
    aspect-ratio: 3 / 4.65;
}

.pq-book-featured__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pq-book-featured__content {
    position: relative;
    padding-top: 12px;
    padding-right: 24px;
}

.pq-book-featured__content h3 {
    margin: 0 0 7px;
    color: #d71920;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
}

.pq-book-featured__content h3 a {
    color: inherit;
    text-decoration: none;
}

.pq-book-featured__price {
    color: #777;
    font-size: 13px;
}

.pq-book-featured__price del {
    margin-right: 5px;
    opacity: .65;
}

.pq-book-featured__price ins {
    color: #d71920;
    text-decoration: none;
}

.pq-book-featured__detail {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #777;
    color: #555;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
}

.pq-book-featured__detail:hover {
    border-color: #d71920;
    background: #d71920;
    color: #fff;
}

.pq-document-group--ebooks,
.pq-document-group--free {
    margin: 0 0 42px;
    padding-top: 2px;
}

.pq-document-product-grid,
.pq-document-free-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.pq-document-product-card,
.pq-document-free-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 7px 8px 13px rgba(0, 0, 0, .2);
}

.pq-document-product-card__image,
.pq-document-free-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #edf7fb;
}

.pq-document-product-card__image img,
.pq-document-free-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pq-document-free-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #d9f5ff 0 60%, #8bb600 60% 100%);
}

.pq-document-product-card__content,
.pq-document-free-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 14px 14px;
}

.pq-document-product-card__content h3,
.pq-document-free-card__content h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #d71920;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pq-document-product-card__content h3 a {
    color: inherit;
    text-decoration: none;
}

.pq-document-product-card__price {
    margin-top: auto;
    margin-bottom: 10px;
    color: #555;
    font-size: 13px;
}

.pq-document-product-card__price del {
    opacity: .65;
}

.pq-document-product-card__price ins {
    color: #d71920;
    font-weight: 700;
    text-decoration: none;
}

.pq-document-product-card__buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #d71920;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pq-document-product-card__buy:hover {
    background: #0b4c97;
    color: #fff;
}

.pq-document-free-card__author {
    margin-bottom: 7px;
    color: #666;
    font-size: 12px;
}

.pq-document-free-card__download {
    margin-top: auto;
    color: #2475d0;
    font-size: 12px;
    text-decoration: none;
}

.pq-document-free-card__download:hover {
    color: #d71920;
}

.pq-document-section-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 18px;
}

.pq-document-section-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: #666;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.pq-document-section-pagination .page-numbers.current,
.pq-document-section-pagination a.page-numbers:hover {
    background: #d71920;
    color: #fff;
}

.pq-document-section-pagination .page-numbers.prev,
.pq-document-section-pagination .page-numbers.next,
.pq-document-section-pagination .page-numbers.dots {
    width: auto;
    min-width: 14px;
    padding: 0 2px;
    background: transparent;
    color: #555;
}

.pq-document-admin-notice {
    padding: 12px 15px;
    border-left: 4px solid #d71920;
    background: #fff4f4;
}

@media (max-width: 991px) {
    .pq-book-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pq-document-product-grid,
    .pq-document-free-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .pq-book-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
    }

    .pq-book-featured__item--primary {
        grid-column: 1 / -1;
        max-width: 260px;
    }

    .pq-document-product-grid,
    .pq-document-free-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .pq-document-product-card,
    .pq-document-free-card {
        border-radius: 13px;
    }

    .pq-document-product-card__content,
    .pq-document-free-card__content {
        padding: 10px;
    }
}
