/* =====================================================
   VIDEO MANUAL LIBRARY (board-style product grid)
===================================================== */
.curadle-video-library {
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(8px, 2vw, 16px);
}

/* Danh mục lọc video dùng chung thiết kế với trang Manual (PDF):
   khung bo viền, danh sách có chấm tròn cam, không còn dạng pill/nút. */
.curadle-video-categories.curadle-manual-categories {
    margin: 0 0 30px;
    justify-content: flex-start;
    gap: 10px 22px;
    padding: 16px 22px;
}

.curadle-video-categories.curadle-manual-categories button {
    position: relative;
    padding: 0 0 0 10px;
    border: 0;
    background: transparent;
    color: #4f4946;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    cursor: pointer;
}

.curadle-video-categories.curadle-manual-categories button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #2e3d98;
    transform: translateY(-50%);
}

.curadle-video-categories.curadle-manual-categories button:hover,
.curadle-video-categories.curadle-manual-categories button.is-active {
    color: #2e3d98;
}

.curadle-video-count {
    margin: 0 0 20px;
    text-align: center;
    color: #756d68;
    font-size: 12px;
}

.curadle-video-count strong {
    color: #2e3d98;
}

.curadle-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    column-gap: 28px;
    row-gap: 92px;
}

@media (min-width: 640px) {
    .curadle-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 42px;
        row-gap: 76px;
    }
}

@media (min-width: 1024px) {
    .curadle-video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 48px;
        row-gap: 92px;
    }
}

.curadle-video-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.curadle-video-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #ece7e4;
    border-radius: 14px;
    background: linear-gradient(160deg, #fbfaf9, #f3efec);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.curadle-video-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.curadle-video-card:hover .curadle-video-card-thumb,
.curadle-video-card:focus-visible .curadle-video-card-thumb {
    border-color: #2e3d98;
    box-shadow: 0 10px 26px rgba(240, 68, 20, .16);
    transform: translateY(-2px);
}


.curadle-video-card-play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #2e3d98;
    color: #fff;
    box-shadow: 0 6px 16px rgba(240, 68, 20, .35);
    transition: transform .15s ease;
}

.curadle-video-card:hover .curadle-video-card-play,
.curadle-video-card:focus-visible .curadle-video-card-play {
    transform: scale(1.1);
}

.curadle-video-card-title {
    display: block;
    margin-top: 12px;
    color: #292522;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.curadle-video-card:hover .curadle-video-card-title,
.curadle-video-card:focus-visible .curadle-video-card-title {
    color: #2e3d98;
}

.curadle-video-empty {
    padding: 30px 10px;
    text-align: center;
    color: #756d68;
    font-size: 13px;
}

/* Video lightbox */
.curadle-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.curadle-video-modal[hidden] {
    display: none;
}

.curadle-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 15, 14, .78);
}

.curadle-video-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 860px);
    border-radius: 16px;
    background: #0b0b0c;
    padding: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.curadle-video-modal-close {
    position: absolute;
    right: -14px;
    top: -14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.curadle-video-modal-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.curadle-video-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.curadle-video-modal-title {
    margin: 12px 4px 2px;
    color: #f5f2f0;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .curadle-video-modal-close {
        right: 0;
        top: -46px;
    }
}

.content-container{
    width:min(calc(100% - 48px), 1180px);
    margin:0 auto;
}

.page-title{
    padding:70px 24px 64px;
    max-width:none;
    width:100%;
    background:#f1f3ff;
    text-align:center;
}

.page-title .eyebrow{
    margin:0 0 10px;
    color:#2e3d98;
    font-size:12px;
    font-weight: 700;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.page-title h1{
    margin:0;
    color:#111;
    font-size:42px;
    font-weight: 700;
    line-height:1.2;
}

.page-title p{
    margin:18px auto 0;
    max-width:680px;
    color:#555;
    font-size:15px;
    line-height:1.7;
}

.article-grid{
    padding-top:72px;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
}

/* Spacing specific to the News listing; other pages keep their footer rhythm. */
.curadle-news-list-grid{
    margin-bottom:64px !important;
}

.article-card{
    overflow:hidden;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px rgba(20,20,20,.04);
}

.article-card .image{
    position:relative;
    display:block;
    height:210px;
    overflow:hidden;
    background:linear-gradient(135deg,#f1f3ff,#eaf6ff);
}

.article-card .image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.article-card .badge{
    position:absolute;
    left:18px;
    bottom:16px;
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:0 10px;
    border-radius:999px;
    background:#2e3d98;
    color:#fff;
    font-size:11px;
    font-weight: 700;
}

.article-card .body{
    padding:22px;
}

.article-card time{
    display:block;
    margin-bottom:10px;
    color:#888;
    font-size:12px;
    font-weight:600;
}

.article-card h2{
    margin:0;
    color:#111;
    font-size:18px;
    font-weight: 700;
    line-height:1.4;
}

.article-card h2 a{
    color:inherit;
    text-decoration:none;
}

.article-card p{
    margin:12px 0 0;
    color:#555;
    font-size:14px;
    line-height:1.65;
}

.article-card .more{
    display:inline-flex;
    margin-top:18px;
    color:#2e3d98;
    font-size:13px;
    font-weight: 700;
    text-decoration:none;
}

@media (max-width:1024px){
    .article-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:640px){
    .content-container{
        width:min(calc(100% - 32px), 1180px);
    }

    .page-title{
        padding:52px 18px 48px;
    }

    .page-title h1{
        font-size:32px;
    }

    .article-grid{
        padding-top:42px;
        grid-template-columns:1fr;
    }

    .curadle-news-list-grid{
        margin-bottom:40px !important;
    }
}
.article-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.article-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: #2e3d98;
}


/* =====================================================
   VIDEO MANUAL — trang con chi tiết 1 video (real YouTube)
===================================================== */
.curadle-video-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #756d68;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.curadle-video-back:hover {
    color: #2e3d98;
}

.curadle-video-detail-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.curadle-video-detail-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   VIDEO MANUAL — search + reliable filtering fix
===================================================== */
.curadle-video-search {
    margin-top: 18px;
    margin-bottom: 34px;
}

.curadle-video-search > input[type="search"] {
    min-width: 0;
    width: min(100%, 300px);
    height: 42px;
    padding: 0 48px 0 16px;
    border: 1px solid #ece7e4 !important;
    border-radius: 999px;
    background: #fff !important;
}

.curadle-video-search > button[type="submit"] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    display: grid;
    place-items: center;
    margin-left: -42px;
    padding: 0 !important;
    border: 0;
    color: #77706c;
    background: transparent;
}

.curadle-video-search > button[type="submit"] svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.curadle-video-card.is-hidden {
    display: none !important;
}

@media (max-width: 700px) {
    .curadle-video-search {
        grid-template-columns: minmax(0, 1fr) 42px;
        margin-bottom: 28px;
        padding: 0;
    }

    .curadle-video-search > select {
        grid-column: 1 / -1;
    }

    .curadle-video-search > input[type="search"] {
        width: 100%;
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .curadle-video-search > button[type="submit"] {
        grid-column: 2;
        grid-row: 2;
        margin-left: 0;
    }
}


/* VIDEO FILTER FINAL FIX — force reliable hide/show and centered titles */
.curadle-video-card[hidden],
.curadle-video-card.is-hidden {
    display: none !important;
}

.curadle-video-card-title {
    width: 100%;
    text-align: center;
}

@media (min-width: 1024px) {
    .curadle-video-grid {
        row-gap: 92px;
    }
}

/* =====================================================
   CURADLE IPR — khung cam chỉ bao khối thông tin bên trái
   ===================================================== */
body main .curadle-ipr-section .curadle-ipr-panel {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(12px, 1.8vw, 22px);
    padding: 0;
    border: 0;
    background: transparent;
}

body main .curadle-ipr-section .curadle-ipr-summary {
    grid-column: span 3;
    display: grid;
    grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(16px, 2vw, 26px);
    min-height: 100%;
    padding: clamp(20px, 2.8vw, 36px);
    border: 2px solid #2e3d98;
    background: #fff;
    color: #2e3d98;
}

body main .curadle-ipr-section .curadle-ipr-trophy {
    width: min(100%, 118px);
    justify-self: end;
}

body main .curadle-ipr-section .curadle-ipr-image-grid {
    display: contents;
}

body main .curadle-ipr-section .curadle-ipr-image-tile {
    min-width: 0;
}

@media (max-width: 900px) {
    body main .curadle-ipr-section .curadle-ipr-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body main .curadle-ipr-section .curadle-ipr-summary {
        grid-column: 1 / -1;
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 18px 20px;
    }

    body main .curadle-ipr-section .curadle-ipr-trophy {
        width: 76px;
    }
}

@media (max-width: 560px) {
    body main .curadle-ipr-section .curadle-ipr-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body main .curadle-ipr-section .curadle-ipr-summary {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    body main .curadle-ipr-section .curadle-ipr-trophy {
        width: 58px;
    }
}




/* =====================================================
   MANUAL + VIDEO UNIFIED V9.1
   Based on the original Video Manual UI from CURADLE v1.5.
===================================================== */
.curadle-manual-video-page-v91 .curadle-video-library {
    padding-top: clamp(48px, 6vw, 78px);
    padding-bottom: clamp(72px, 8vw, 108px);
}

.curadle-manual-video-page-v91 .curadle-manual-library-heading {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 32px !important;
    margin: 0 0 28px !important;
}

.curadle-manual-video-page-v91 .curadle-manual-library-heading h2 {
    margin: 0 !important;
    color: #171514 !important;
    font-size: clamp(30px, 3.3vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.curadle-manual-video-page-v91 .curadle-manual-library-heading > p {
    max-width: 500px !important;
    margin: 0 !important;
    color: #6d6662 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    text-align: right !important;
}

.curadle-manual-video-page-v91 .curadle-video-categories.curadle-manual-categories {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 22px !important;
    width: 100% !important;
    margin: 0 0 28px !important;
    padding: 18px 24px !important;
    border: 1px solid #e9e1dc !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.curadle-manual-video-page-v91 .curadle-video-categories.curadle-manual-categories a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 0 0 12px !important;
    border: 0 !important;
    background: transparent !important;
    color: #4f4946 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.curadle-manual-video-page-v91 .curadle-video-categories.curadle-manual-categories a::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: #2e3d98 !important;
    transform: translateY(-50%) !important;
}

.curadle-manual-video-page-v91 .curadle-video-categories.curadle-manual-categories a:hover,
.curadle-manual-video-page-v91 .curadle-video-categories.curadle-manual-categories a.is-active {
    color: #2e3d98 !important;
}

.curadle-manual-video-page-v91 .curadle-video-search {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) 32px !important;
    align-items: center !important;
    width: min(100%, 240px) !important;
    height: 32px !important;
    margin: 0 0 38px auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e9e1dc !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(44, 31, 24, .06) !important;
}

.curadle-manual-video-page-v91 .curadle-video-search select,
.curadle-manual-video-page-v91 .curadle-video-search input,
.curadle-manual-video-page-v91 .curadle-video-search button {
    height: 32px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    font: inherit !important;
}

.curadle-manual-video-page-v91 .curadle-video-search select {
    width: auto !important;
    min-width: max-content !important;
    field-sizing: content;
    padding: 0 24px 0 12px !important;
    border-right: 1px solid #eee8e4 !important;
    color: #3f3935 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.curadle-manual-video-page-v91 .curadle-video-search input[type="search"] {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    color: #302b28 !important;
    font-size: 12px !important;
}

.curadle-manual-video-page-v91 .curadle-video-search button[type="submit"] {
    display: grid !important;
    place-items: center !important;
    width: 32px !important;
    min-width: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #625b57 !important;
    cursor: pointer !important;
}

.curadle-manual-video-page-v91 .curadle-video-search button svg {
    width: 14px !important;
    height: 14px !important;
}

.curadle-manual-video-page-v91 .curadle-manual-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 1180px !important;
    column-gap: 42px !important;
    row-gap: 72px !important;
}

.curadle-manual-video-page-v91 .curadle-video-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    color: inherit !important;
    text-decoration: none !important;
}

.curadle-manual-video-page-v91 .curadle-video-card-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin-top: 14px !important;
    color: #292522 !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    font-variation-settings: "wght" 550 !important;
    -webkit-text-stroke: .18px currentColor;
    paint-order: stroke fill;
    line-height: 1.45 !important;
    text-align: center !important;
}

/* Detail page */
.curadle-manual-detail-v91 {
    background: #fff;
}

.curadle-manual-detail-hero-v91 {
    padding: 112px 0 42px;
    background: linear-gradient(180deg, #f1f3ff 0%, #fff 100%);
}

.curadle-manual-detail-product-v91 {
    display: grid;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 5vw, 72px);
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid #eadfd9;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 54px rgba(53, 35, 26, .08);
}

.curadle-manual-detail-image-v91 {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.curadle-manual-detail-image-v91 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.curadle-manual-detail-copy-v91 {
    padding: 40px 48px 40px 0;
}

.curadle-manual-detail-copy-v91 > p {
    margin: 0 0 14px;
    color: #2e3d98;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.curadle-manual-detail-copy-v91 h1 {
    margin: 0;
    color: #171514;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.08;
}

.curadle-manual-detail-copy-v91 > span {
    display: block;
    margin-top: 18px;
    color: #746b66;
    font-size: 14px;
}

.curadle-manual-detail-content-v91 {
    padding-top: 52px;
    padding-bottom: 70px;
}

.curadle-manual-accordion-v91 {
    width: min(100%, 980px);
    margin: 0 auto;
}

.curadle-manual-entry-v91 {
    margin: 0 0 16px;
}

.curadle-manual-trigger-v91 {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 96px;
    padding: 18px 30px;
    border: 2px solid #2e3d98;
    border-radius: 24px;
    background: #fff;
    color: #2e3d98;
    text-align: left;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.curadle-manual-trigger-v91:hover,
.curadle-manual-trigger-v91.is-open {
    background: #f1f3ff;
    box-shadow: 0 12px 28px rgba(240, 68, 20, .10);
}

.curadle-manual-number-v91 {
    color: #9aa0a4;
    font-size: 24px;
    font-weight: 500;
}

.curadle-manual-title-v91 {
    color: #2e3d98;
    font-size: 24px;
    font-weight: 450;
    line-height: 1.3;
}

.curadle-manual-type-v91 {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;
}

.curadle-manual-pdf-trigger-v91 {
    grid-template-columns: 1fr auto;
    min-height: 96px;
    background: #2e3d98;
    color: #fff;
    text-align: center;
}

.curadle-manual-pdf-trigger-v91:hover,
.curadle-manual-pdf-trigger-v91.is-open {
    background: #24327f;
}

.curadle-manual-pdf-trigger-v91 > span:first-child {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
}

.curadle-manual-panel-v91 {
    margin-top: 12px;
    padding: 20px;
    border: 1px solid #eadfd9;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(42, 29, 22, .08);
}

.curadle-manual-panel-v91[hidden] {
    display: none !important;
}

.curadle-manual-video-frame-v91,
.curadle-manual-pdf-frame-v91 {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
}

.curadle-manual-video-frame-v91 {
    aspect-ratio: 16 / 9;
}

.curadle-manual-pdf-frame-v91 {
    height: min(78vh, 920px);
    min-height: 620px;
    background: #f5f3f2;
}

.curadle-manual-video-frame-v91 iframe,
.curadle-manual-pdf-frame-v91 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.curadle-manual-pdf-tabs-v91 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.curadle-manual-pdf-tabs-v91 button {
    padding: 9px 14px;
    border: 1px solid #2e3d98;
    border-radius: 999px;
    background: #fff;
    color: #2e3d98;
    font-weight: 700;
    cursor: pointer;
}

.curadle-manual-pdf-tabs-v91 button.is-active {
    background: #2e3d98;
    color: #fff;
}

.curadle-manual-pdf-toolbar-v91 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #ebe4df;
    border-radius: 12px;
    background: #fff;
}

.curadle-manual-pdf-current-v91 {
    min-width: 0;
    color: #302b28;
    font-size: 13px;
    font-weight: 550;
}

.curadle-manual-pdf-download-v91 {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #2e3d98;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.curadle-manual-pdf-download-v91:hover,
.curadle-manual-pdf-download-v91:focus-visible {
    background: #24327f;
}

.curadle-manual-related-v91 {
    padding-top: 6px;
    padding-bottom: 100px;
}

.curadle-manual-related-heading-v91 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.curadle-manual-related-heading-v91 h2 {
    margin: 0;
    color: #171514;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
}

.curadle-manual-related-heading-v91 a {
    color: #2e3d98;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.curadle-manual-related-v91 .curadle-video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 48px;
}

@media (max-width: 1023px) {
    .curadle-manual-video-page-v91 .curadle-manual-product-grid,
    .curadle-manual-related-v91 .curadle-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .curadle-manual-detail-product-v91 {
        grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
    }

    .curadle-manual-detail-copy-v91 {
        padding: 30px 30px 30px 0;
    }
}

@media (max-width: 700px) {
    .curadle-manual-video-page-v91 .curadle-manual-library-heading {
        display: block !important;
    }

    .curadle-manual-video-page-v91 .curadle-manual-library-heading > p {
        margin-top: 12px !important;
        text-align: left !important;
    }

    .curadle-manual-video-page-v91 .curadle-video-search {
        grid-template-columns: 1fr 48px !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .curadle-manual-video-page-v91 .curadle-video-search select {
        grid-column: 1 / -1;
        width: 100% !important;
        margin-bottom: 10px;
        border: 1px solid #e9e1dc !important;
        border-radius: 999px !important;
        background: #fff !important;
    }

    .curadle-manual-video-page-v91 .curadle-video-search input[type="search"] {
        grid-column: 1;
        border: 1px solid #e9e1dc !important;
        border-right: 0 !important;
        border-radius: 999px 0 0 999px !important;
        background: #fff !important;
    }

    .curadle-manual-video-page-v91 .curadle-video-search button[type="submit"] {
        grid-column: 2;
        border: 1px solid #e9e1dc !important;
        border-left: 0 !important;
        border-radius: 0 999px 999px 0 !important;
        background: #fff !important;
    }

    .curadle-manual-video-page-v91 .curadle-manual-product-grid,
    .curadle-manual-related-v91 .curadle-video-grid {
        grid-template-columns: 1fr !important;
        width: min(100%, 420px) !important;
    }

    .curadle-manual-detail-hero-v91 {
        padding-top: 90px;
    }

    .curadle-manual-detail-product-v91 {
        grid-template-columns: 1fr;
    }

    .curadle-manual-detail-image-v91 {
        width: 100%;
        min-height: 0;
    }

    .curadle-manual-detail-image-v91 img {
        height: 100%;
    }

    .curadle-manual-detail-copy-v91 {
        padding: 0 24px 30px;
    }

    .curadle-manual-trigger-v91 {
        grid-template-columns: 54px minmax(0, 1fr) auto;
        min-height: 78px;
        padding: 14px 18px;
        border-radius: 18px;
    }

    .curadle-manual-number-v91 {
        font-size: 18px;
    }

    .curadle-manual-title-v91 {
        font-size: 18px;
    }

    .curadle-manual-type-v91 {
        font-size: 9px;
    }

    .curadle-manual-pdf-trigger-v91 {
        grid-template-columns: 1fr auto;
    }

    .curadle-manual-pdf-frame-v91 {
        min-height: 480px;
    }
}

/* =========================================================
   MANUAL LIBRARY FINAL STANDARD PATCH
   File chuẩn: video-manual-ipr.css
   - Desktop 3 cột
   - Thumbnail 426 × 250
   - Danh mục độ đậm 500
   - Tên sản phẩm độ đậm 600
========================================================= */

/* Danh mục khoanh đỏ: giảm độ đậm còn 500 */
.curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories a,
.curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories button {
    font-weight: 500 !important;
    font-variation-settings: "wght" 500 !important;
    -webkit-text-stroke: 0 !important;
}

/* Tiêu đề bộ lọc */
.curadle-manual-video-page-v91 .curadle-video-search select {
    font-weight: 500 !important;
    font-variation-settings: "wght" 500 !important;
}

/* Desktop: đúng 3 cột, mỗi thumbnail 426 × 250 */
.curadle-manual-video-page-v91 .curadle-manual-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 426px)) !important;
    justify-content: center !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1342px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    column-gap: 32px !important;
    row-gap: 56px !important;
}

.curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card {
    width: 100% !important;
    max-width: 426px !important;
    margin: 0 !important;
}

.curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb {
    position: relative !important;
    display: block !important;
    width: 426px !important;
    max-width: 100% !important;
    height: 250px !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #ece7e4 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-title {
    width: 100% !important;
    max-width: 426px !important;
    min-height: 0 !important;
    margin-top: 14px !important;
    font-weight: 600 !important;
    font-variation-settings: "wght" 600 !important;
    -webkit-text-stroke: 0 !important;
}

/* Giữ hover viền cam như giao diện chuẩn */
.curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:hover
.curadle-video-card-thumb,
.curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:focus-visible
.curadle-video-card-thumb {
    border-color: #2e3d98 !important;
    box-shadow: 0 12px 28px rgba(240, 68, 20, .16) !important;
    transform: translateY(-2px) !important;
}

/* Tablet */
@media (max-width: 1399px) {
    .curadle-manual-video-page-v91 .curadle-manual-product-grid {
        grid-template-columns: repeat(2, minmax(0, 426px)) !important;
        max-width: 884px !important;
    }
}

/* Mobile */
@media (max-width: 699px) {
    .curadle-manual-video-page-v91 .curadle-manual-product-grid {
        grid-template-columns: minmax(0, 426px) !important;
        width: 100% !important;
        max-width: 426px !important;
        row-gap: 42px !important;
    }

    .curadle-manual-video-page-v91
    .curadle-manual-product-grid
    .curadle-video-card-thumb {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 426 / 250 !important;
    }
}

/* =========================================================
   MANUAL DETAIL — FINAL OVERRIDE TRÊN FILE HIỆN TẠI
   Mục tiêu:
   - Hero trang chi tiết gọn giống cấu trúc hero Blog.
   - Không ảnh sản phẩm, không card trắng.
   - Giữ nguyên danh sách PDF và video bên dưới.
   - Không ảnh hưởng trang Blog.
========================================================= */

.curadle-manual-detail-v91 .curadle-manual-detail-hero-v91 {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #f1f3ff !important;
    box-shadow: none !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-hero-v91 > .container-page,
.curadle-manual-detail-v91 .curadle-manual-detail-hero-inner-v92 {
    width: min(calc(100% - 48px), 1180px) !important;
    margin: 0 auto !important;
    padding: 64px 24px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.curadle-manual-detail-v91 .curadle-video-back {
    display: flex !important;
    width: fit-content !important;
    margin: 0 0 24px !important;
    color: #746b66 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

.curadle-manual-detail-v91 .curadle-video-back:hover {
    color: #2e3d98 !important;
}

/* Xóa ảnh và card bao ngoài */
.curadle-manual-detail-v91 .curadle-manual-detail-product-v91 {
    display: block !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-image-v91 {
    display: none !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 {
    display: block !important;
    width: min(100%, 900px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
}

/* Ẩn nhãn category cũ và text phụ cũ */
.curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 > p:not(.curadle-manual-detail-seo-description-v92),
.curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 > span {
    display: none !important;
}

/* Tiêu đề giống cấu trúc hero Blog */
.curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 h1 {
    margin: 0 !important;
    color: #171514 !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 h1::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 2px !important;
    margin: 14px auto 0 !important;
    border-radius: 999px !important;
    background: #2e3d98 !important;
}

/* Mô tả SEO dưới tiêu đề */
.curadle-manual-detail-v91 .curadle-manual-detail-seo-description-v92 {
    display: block !important;
    max-width: 672px !important;
    margin: 20px auto 0 !important;
    color: #625b57 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Giữ nguyên và hiển thị danh sách bên dưới */
.curadle-manual-detail-v91 .curadle-manual-detail-content-v91 {
    display: block !important;
    padding-top: 54px !important;
    padding-bottom: 70px !important;
}

.curadle-manual-detail-v91 .curadle-manual-accordion-v91 {
    display: block !important;
    width: min(100%, 980px) !important;
    margin: 0 auto !important;
}

.curadle-manual-detail-v91 .curadle-manual-entry-v91 {
    display: block !important;
}

/* Kích thước và độ đậm chữ trang chi tiết */
.curadle-manual-detail-v91 .curadle-manual-number-v91 {
    font-weight: 500 !important;
    font-variation-settings: "wght" 500 !important;
}

.curadle-manual-detail-v91 .curadle-manual-title-v91 {
    font-weight: 450 !important;
    font-variation-settings: "wght" 450 !important;
}

.curadle-manual-detail-v91 .curadle-manual-type-v91,
.curadle-manual-detail-v91 .curadle-manual-pdf-tabs-v91 button,
.curadle-manual-detail-v91 .curadle-manual-pdf-download-v91 {
    font-weight: 500 !important;
    font-variation-settings: "wght" 500 !important;
}

.curadle-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 700px) {
    .curadle-manual-detail-v91 .curadle-manual-detail-hero-v91 > .container-page,
    .curadle-manual-detail-v91 .curadle-manual-detail-hero-inner-v92 {
        width: min(calc(100% - 32px), 1180px) !important;
        padding: 20px 18px 38px !important;
    }

    .curadle-manual-detail-v91 .curadle-video-back {
        margin-bottom: 22px !important;
    }

    .curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 h1 {
        font-size: 30px !important;
    }

    .curadle-manual-detail-v91 .curadle-manual-detail-seo-description-v92 {
        margin-top: 22px !important;
        font-size: 14px !important;
        line-height: 28px !important;
    }

    .curadle-manual-detail-v91 .curadle-manual-detail-content-v91 {
        padding-top: 40px !important;
    }
}

/* =========================================================
   MANUAL DETAIL 2026-07 — HERO / BACK / PDF VIEWER STANDARD
========================================================= */
.curadle-manual-detail-v91 .curadle-manual-detail-hero-v91 {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-hero-inner-v92 {
    width: min(calc(100% - 48px), 1280px) !important;
    padding: 48px 24px !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 h1 {
    font-size: clamp(30px, 3vw, 40px) !important;
    line-height: 1.18 !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-seo-description-v92 {
    margin-top: 18px !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
}

.curadle-manual-detail-v91 .curadle-manual-back-row-v93 {
    width: min(calc(100% - 48px), 1280px) !important;
    margin: 0 auto !important;
    padding: 22px 24px 0 !important;
}

.curadle-manual-detail-v91 .curadle-manual-back-row-v93 .curadle-video-back {
    margin: 0 !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-content-v91 {
    padding-top: 30px !important;
}

.curadle-manual-detail-v91 .curadle-manual-video-section-has-pdf-v94 {
    padding-bottom: 0 !important;
}

.curadle-manual-detail-v91 .curadle-manual-child-pdf-section {
    margin-top: 24px !important;
}

.curadle-manual-detail-v91 .curadle-manual-child-pdf-actions-v94 {
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.curadle-manual-detail-v91 .curadle-manual-pdf-frame-v91 {
    width: 100% !important;
    height: min(900px, calc(100vh - 110px)) !important;
    min-height: 760px !important;
}

.curadle-manual-detail-v91 .curadle-manual-pdf-frame-v91 iframe {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 700px) {
    .curadle-manual-detail-v91 .curadle-manual-detail-hero-inner-v92 {
        width: min(calc(100% - 28px), 1280px) !important;
        padding: 36px 14px !important;
    }

    .curadle-manual-detail-v91 .curadle-manual-back-row-v93 {
        width: min(calc(100% - 28px), 1280px) !important;
        padding: 18px 14px 0 !important;
    }

    .curadle-manual-detail-v91 .curadle-manual-pdf-frame-v91 {
        height: 72vh !important;
        min-height: 520px !important;
    }
}


/* =========================================================
 * MANUAL DETAIL — màu theo dòng sản phẩm và kích thước đồng nhất
 * Curadle mặc định: cam. Juragon / Insect: xanh.
 * ======================================================= */
.curadle-manual-detail-v91 {
    --manual-primary: #2e3d98;
    --manual-primary-hover: #24327f;
    --manual-soft: #f1f3ff;
    --manual-shadow: rgba(240, 68, 20, .10);
}

.curadle-manual-detail-v91.is-green-manual {
    --manual-primary: #76bd22;
    --manual-primary-hover: #62a91b;
    --manual-soft: #f4faea;
    --manual-shadow: rgba(22, 119, 200, .12);
}

/* Tất cả ô cấp 1 dùng cùng chiều cao */
.curadle-manual-detail-v91 .curadle-manual-trigger-v91 {
    height: 96px !important;
    min-height: 96px !important;
    border-color: var(--manual-primary) !important;
    color: var(--manual-primary) !important;
}

.curadle-manual-detail-v91 .curadle-manual-trigger-v91:hover,
.curadle-manual-detail-v91 .curadle-manual-trigger-v91.is-open {
    background: var(--manual-soft) !important;
    box-shadow: 0 12px 28px var(--manual-shadow) !important;
}

.curadle-manual-detail-v91 .curadle-manual-number-v91,
.curadle-manual-detail-v91 .curadle-manual-title-v91,
.curadle-manual-detail-v91 .curadle-manual-type-v91 {
    color: var(--manual-primary) !important;
}

/* “Xem tất cả”: nền trắng, viền theo màu sản phẩm */
.curadle-manual-detail-v91 .curadle-manual-playlist-trigger-v91 {
    background: #fff !important;
    border-color: var(--manual-primary) !important;
    color: var(--manual-primary) !important;
}

.curadle-manual-detail-v91 .curadle-manual-playlist-trigger-v91:hover {
    background: var(--manual-soft) !important;
}

/* PDF vẫn là khối đặc để phân biệt với VIDEO, nhưng cùng kích thước */
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91 {
    height: 96px !important;
    min-height: 96px !important;
    background: var(--manual-primary) !important;
    border-color: var(--manual-primary) !important;
    color: #fff !important;
}

.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91:hover,
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91.is-open {
    background: var(--manual-primary-hover) !important;
    border-color: var(--manual-primary-hover) !important;
}

.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91 > span,
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91 .curadle-manual-type-v91 {
    color: #fff !important;
}

.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91 > span:first-child {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Các chi tiết phụ đồng bộ màu */
.curadle-manual-detail-v91 .curadle-manual-pdf-tabs-v91 button {
    border-color: var(--manual-primary) !important;
    color: var(--manual-primary) !important;
}

.curadle-manual-detail-v91 .curadle-manual-pdf-tabs-v91 button.is-active,
.curadle-manual-detail-v91 .curadle-manual-pdf-download-v91 {
    background: var(--manual-primary) !important;
    border-color: var(--manual-primary) !important;
    color: #fff !important;
}

.curadle-manual-detail-v91 .curadle-manual-detail-copy-v91 h1::after {
    background: var(--manual-primary) !important;
}

.curadle-manual-detail-v91 .curadle-video-back:hover,
.curadle-manual-detail-v91 .curadle-manual-related-heading-v91 a {
    color: var(--manual-primary) !important;
}

/* Không hiển thị ký hiệu + / - trên nút PDF. */
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91::before,
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91::after {
    content: none !important;
    display: none !important;
}


/* PDF mở trang riêng: không dùng dấu cộng/pseudo-element. */
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91::before,
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91::after,
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91 .curadle-manual-title-v91::before,
.curadle-manual-detail-v91 .curadle-manual-pdf-trigger-v91 .curadle-manual-title-v91::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   MANUAL DETAIL — PLAYLIST / “XEM TẤT CẢ”
   CSS frontend only. PHP chỉ render class và dữ liệu động.
========================================================= */
.curadle-manual-detail-v91 .curadle-manual-playlist-trigger-v91 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
    height: 96px !important;
    min-height: 96px !important;
    padding: 18px 30px !important;
    background: #fff !important;
    border-color: var(--manual-primary) !important;
    color: var(--manual-primary) !important;
    box-sizing: border-box !important;
}

.curadle-manual-detail-v91 .curadle-manual-playlist-trigger-v91:hover,
.curadle-manual-detail-v91 .curadle-manual-playlist-trigger-v91:focus-visible {
    background: var(--manual-soft) !important;
}

.curadle-manual-detail-v91 .curadle-manual-playlist-center-v91 {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    justify-self: center;
}

.curadle-manual-detail-v91 .curadle-manual-playlist-icon-v91 {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--manual-primary) !important;
    font-size: 24px;
    line-height: 1;
}

.curadle-manual-detail-v91
.curadle-manual-playlist-center-v91
.curadle-manual-title-v91 {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: var(--manual-primary) !important;
    text-align: center !important;
    white-space: normal;
}

.curadle-manual-detail-v91
.curadle-manual-playlist-trigger-v91
.curadle-manual-type-v91 {
    grid-column: 3;
    justify-self: end;
    color: var(--manual-primary) !important;
}

@media (max-width: 700px) {
    .curadle-manual-detail-v91 .curadle-manual-playlist-trigger-v91 {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        height: 78px !important;
        min-height: 78px !important;
        padding: 14px 18px !important;
    }

    .curadle-manual-detail-v91 .curadle-manual-playlist-center-v91 {
        gap: 10px;
    }

    .curadle-manual-detail-v91 .curadle-manual-playlist-icon-v91 {
        width: 22px;
        height: 22px;
        font-size: 19px;
    }
}

/* =========================================================
   MANUAL / PDF DETAIL — RELATED LIST FIX
   Giữ dữ liệu cũ, chỉ đưa danh sách liên quan về dạng grid/card rõ ràng.
========================================================= */
.curadle-manual-detail-v91 .curadle-related-pdf-section,
.curadle-manual-detail-v91 .curadle-manual-related-v91 {
    width: min(calc(100% - 48px), 1280px) !important;
    margin: 0 auto !important;
    padding: 44px 24px 92px !important;
    box-sizing: border-box !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-heading,
.curadle-manual-detail-v91 .curadle-manual-related-heading-v91 {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 0 28px !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-heading h2,
.curadle-manual-detail-v91 .curadle-manual-related-heading-v91 h2 {
    margin: 0 !important;
    color: #171514 !important;
    font-size: clamp(26px, 3vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-heading p {
    max-width: 420px !important;
    margin: 0 !important;
    color: #6d6662 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    text-align: right !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 92px !important;
    padding: 18px 20px !important;
    overflow: hidden !important;
    border: 1px solid #eee4de !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: #292522 !important;
    text-decoration: none !important;
    box-shadow: 0 16px 42px rgba(38, 24, 18, .07) !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-card:hover,
.curadle-manual-detail-v91 .curadle-related-pdf-card:focus-visible {
    border-color: var(--manual-primary, #2e3d98) !important;
    box-shadow: 0 18px 46px var(--manual-shadow, rgba(240, 68, 20, .14)) !important;
    transform: translateY(-2px) !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-copy {
    display: grid !important;
    gap: 6px !important;
    min-width: 0 !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-copy strong {
    display: block !important;
    overflow: hidden !important;
    color: #171514 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-copy small {
    display: block !important;
    color: #7a716b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.curadle-manual-detail-v91 .curadle-related-pdf-arrow {
    flex: 0 0 auto !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: var(--manual-soft, #f1f3ff) !important;
    color: var(--manual-primary, #2e3d98) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 34px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 0 !important;
    color: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
}

.curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-card-thumb {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 426 / 250 !important;
    overflow: hidden !important;
    border: 1px solid #ece7e4 !important;
    border-radius: 14px !important;
    background: #fff !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

.curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-card-play {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: var(--manual-primary, #2e3d98) !important;
    color: #fff !important;
    box-shadow: 0 7px 18px var(--manual-shadow, rgba(240, 68, 20, .32)) !important;
}

.curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-card-title {
    display: block !important;
    width: 100% !important;
    margin-top: 14px !important;
    color: #292522 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

/* Manual listing page: keep the product list as clean cards after older rules. */
.curadle-manual-video-page-v91 .curadle-manual-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 426px)) !important;
    justify-content: center !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1342px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    column-gap: 32px !important;
    row-gap: 56px !important;
}

.curadle-manual-video-page-v91 .curadle-manual-product-grid .curadle-video-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 426px !important;
    margin: 0 !important;
    color: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
}

.curadle-manual-video-page-v91 .curadle-manual-product-grid .curadle-video-card-thumb {
    position: relative !important;
    display: block !important;
    width: 426px !important;
    max-width: 100% !important;
    height: 250px !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #ece7e4 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.curadle-manual-video-page-v91 .curadle-manual-product-grid .curadle-video-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 1399px) {
    .curadle-manual-video-page-v91 .curadle-manual-product-grid,
    .curadle-manual-detail-v91 .curadle-related-pdf-grid {
        grid-template-columns: repeat(2, minmax(0, 426px)) !important;
        justify-content: center !important;
    }

    .curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 699px) {
    .curadle-manual-detail-v91 .curadle-related-pdf-section,
    .curadle-manual-detail-v91 .curadle-manual-related-v91 {
        width: min(calc(100% - 28px), 1280px) !important;
        padding: 34px 14px 72px !important;
    }

    .curadle-manual-detail-v91 .curadle-related-pdf-heading,
    .curadle-manual-detail-v91 .curadle-manual-related-heading-v91 {
        display: block !important;
        margin-bottom: 22px !important;
    }

    .curadle-manual-detail-v91 .curadle-related-pdf-heading p {
        margin-top: 10px !important;
        text-align: left !important;
    }

    .curadle-manual-video-page-v91 .curadle-manual-product-grid,
    .curadle-manual-detail-v91 .curadle-related-pdf-grid,
    .curadle-manual-detail-v91 .curadle-manual-related-v91 .curadle-video-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 426px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .curadle-manual-video-page-v91 .curadle-manual-product-grid .curadle-video-card-thumb {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 426 / 250 !important;
    }
}

/* ==========================================================================
 * MANUAL INDEX — KHÔI PHỤC CARD CŨ, KHÔNG CẮT NỘI DUNG ẢNH
 * --------------------------------------------------------------------------
 * Chỉ sửa card sản phẩm tại trang /download/manual/.
 *
 * Lỗi cũ:
 * - thumbnail bị ép 426 × 250;
 * - object-fit: cover làm mất chữ ở hai cạnh ảnh;
 * - viền chỉ bao thumbnail, không bao cả tên sản phẩm.
 *
 * Kết quả:
 * - ảnh hiển thị nguyên tỷ lệ;
 * - không mất chữ nằm trong thumbnail;
 * - card trắng, viền mảnh, bo góc bao cả ảnh và tên;
 * - giữ nguyên 3 cột và toàn bộ phần danh mục/tìm kiếm.
 * ========================================================================== */

body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 426px !important;
    margin: 0 !important;
    padding: 14px 14px 0 !important;
    overflow: hidden !important;
    border: 1px solid #dfe7f5 !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    color: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
    transform: none !important;
    box-shadow: none !important;
}

body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
}

body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 12px 8px 10px !important;
    color: #292522 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/*
 * Không tạo hiệu ứng nâng thumbnail riêng vì viền nằm trên toàn card.
 */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:hover
.curadle-video-card-thumb,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:focus-visible
.curadle-video-card-thumb {
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:hover,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:focus-visible {
    border-color: #b9c8ec !important;
    box-shadow: 0 10px 26px rgba(30, 52, 122, 0.08) !important;
    transform: translateY(-2px) !important;
}

/*
 * Chỉ ẩn icon play được dựng bằng HTML/CSS.
 * Không cắt hoặc chỉnh sửa nội dung thật nằm bên trong file thumbnail.
 */
body .curadle-manual-video-page-v91 .curadle-video-card-play,
body .curadle-manual-video-page-v91 .curadle-video-card-thumb::before,
body .curadle-manual-video-page-v91 .curadle-video-card-thumb::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Tablet và mobile giữ nguyên card, chỉ co theo chiều rộng cột. */
@media (max-width: 699px) {
    body .curadle-manual-video-page-v91
    .curadle-manual-product-grid
    .curadle-video-card {
        max-width: 100% !important;
        padding: 12px 12px 0 !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-manual-product-grid
    .curadle-video-card-thumb {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
}

/* ==========================================================================
 * MANUAL INDEX — TIÊU ĐỀ NHỎ + DANH MỤC/TÌM KIẾM CÙNG MỘT HÀNG
 * ==========================================================================
 *
 * PHẠM VI ÁP DỤNG
 * --------------------------------------------------------------------------
 * Chỉ tác động phần đầu của trang /download/manual/:
 * 1. Tiêu đề thư viện.
 * 2. Danh mục sản phẩm.
 * 3. Khối tìm kiếm.
 * 4. Vị trí bắt đầu của lưới sản phẩm.
 *
 * KHÔNG tác động:
 * - kích thước card;
 * - kích thước thumbnail;
 * - số cột;
 * - object-fit của ảnh;
 * - tên sản phẩm;
 * - header/footer;
 * - trang chi tiết Manual.
 *
 * Tất cả selector đều bắt đầu bằng
 * body .curadle-manual-video-page-v91
 * để giới hạn CSS trong đúng trang Manual và tránh ảnh hưởng trang khác.
 * ========================================================================== */


/* ==========================================================================
 * CLASS: .curadle-video-library
 * SECTION: Khung bao toàn bộ thư viện Manual.
 *
 * display: grid
 *     Chuyển section thành Grid mà không cần sửa HTML.
 *
 * grid-template-columns: minmax(0, 1fr) auto
 *     Cột trái co giãn để chứa danh mục.
 *     Cột phải rộng theo kích thước ô tìm kiếm.
 *
 * align-items: center
 *     Căn giữa danh mục và tìm kiếm theo chiều dọc.
 *
 * column-gap: 32px
 *     Tạo khoảng cách ngang giữa hai khối điều khiển.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-library {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 32px !important;
}


/* ==========================================================================
 * CLASS: .curadle-manual-library-heading
 * SECTION: Cụm tiêu đề và mô tả của thư viện.
 *
 * grid-column: 1 / -1
 *     Cho khối tiêu đề chiếm toàn bộ hai cột.
 *
 * width: 100%
 *     Bảo đảm tiêu đề phủ hết chiều rộng section.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-library-heading {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}


/* ==========================================================================
 * CLASS: .curadle-manual-library-heading h2
 * THÀNH PHẦN: Tiêu đề “Thư viện hướng dẫn sử dụng”.
 *
 * font-size: clamp(28px, 2.6vw, 38px)
 *     Tối thiểu 28px, co giãn theo viewport, tối đa 38px.
 *
 * line-height: 1.2
 *     Giữ tiêu đề gọn, không chiếm quá nhiều chiều cao.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-library-heading h2 {
    font-size: clamp(28px, 2.6vw, 38px) !important;
    line-height: 1.2 !important;
}


/* ==========================================================================
 * CLASS: .curadle-video-categories.curadle-manual-categories
 * SECTION: Dòng danh mục sản phẩm.
 *
 * grid-column: 1
 *     Đặt danh mục ở cột trái.
 *
 * display: flex
 *     Xếp các mục danh mục theo hàng ngang.
 *
 * flex-wrap: wrap
 *     Cho phép xuống dòng khi màn hình hẹp.
 *
 * align-items / align-self
 *     Căn giữa danh mục theo chiều dọc.
 *
 * gap: 10px 22px
 *     10px giữa các dòng; 22px giữa các mục theo chiều ngang.
 *
 * width: auto
 *     Không ép khối danh mục phủ toàn bộ chiều rộng.
 *
 * min-width: 0
 *     Cho phép cột co lại đúng trong CSS Grid.
 *
 * margin: 0 0 34px
 *     Tạo khoảng cách dưới trước lưới sản phẩm.
 *
 * padding: 0
 *     Xóa khoảng đệm của khung cũ.
 *
 * border / border-radius / background / box-shadow
 *     Xóa hoàn toàn khung ngoài của danh mục.
 *
 * LƯU Ý:
 * Rule này chỉ xử lý khung bao, không đổi style từng link danh mục.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories {
    grid-column: 1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    align-self: center !important;
    gap: 10px 22px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* ==========================================================================
 * CLASS: .curadle-video-search
 * SECTION: Khối dropdown tìm kiếm và nút kính lúp.
 *
 * grid-column: 2
 *     Đặt tìm kiếm ở cột phải, cùng hàng với danh mục.
 *
 * align-self: center
 *     Căn giữa theo chiều dọc.
 *
 * width: 240px
 *     Giữ khối tìm kiếm gọn trên desktop.
 *
 * margin: 0 0 34px
 *     Đồng bộ khoảng cách dưới với danh mục.
 *
 * LƯU Ý:
 * Không thay đổi border, font hoặc icon bên trong ô tìm kiếm.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search {
    grid-column: 2 !important;
    align-self: center !important;
    width: 240px !important;
    margin: 0 0 34px !important;
}


/* ==========================================================================
 * CLASSES:
 * - .curadle-manual-product-grid
 * - .curadle-video-empty
 * - .curadle-manual-pagination
 *
 * SECTION: Nội dung nằm dưới hàng danh mục và tìm kiếm.
 *
 * grid-column: 1 / -1
 *     Buộc các khối chiếm toàn bộ hai cột và xuống hàng mới.
 *     Tránh lưới sản phẩm hoặc thông báo rỗng bị dồn vào cột trái.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid,
body .curadle-manual-video-page-v91
.curadle-video-empty,
body .curadle-manual-video-page-v91
.curadle-manual-pagination {
    grid-column: 1 / -1 !important;
}


/* ==========================================================================
 * RESPONSIVE TABLET — max-width: 820px
 * --------------------------------------------------------------------------
 * Khi không đủ chiều rộng, danh mục và tìm kiếm chuyển thành hai hàng.
 * ========================================================================== */
@media (max-width: 820px) {

    /* CLASS: .curadle-video-library
     * Chuyển Grid từ hai cột về một cột. */
    body .curadle-manual-video-page-v91
    .curadle-video-library {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* CLASSES: .curadle-manual-categories và .curadle-video-search
     * Đưa cả hai về cột thứ nhất để xếp dọc. */
    body .curadle-manual-video-page-v91
    .curadle-video-categories.curadle-manual-categories,
    body .curadle-manual-video-page-v91
    .curadle-video-search {
        grid-column: 1 !important;
    }

    /* CLASS: .curadle-manual-categories
     * Giảm khoảng cách dưới vì tìm kiếm đã chuyển xuống hàng tiếp theo. */
    body .curadle-manual-video-page-v91
    .curadle-video-categories.curadle-manual-categories {
        margin-bottom: 18px !important;
    }

    /* CLASS: .curadle-video-search
     * max 280px nhưng không vượt chiều rộng màn hình.
     * margin-left: auto căn khối sang phải trên tablet. */
    body .curadle-manual-video-page-v91
    .curadle-video-search {
        width: min(100%, 280px) !important;
        margin: 0 0 30px auto !important;
    }
}


/* ==========================================================================
 * RESPONSIVE MOBILE — max-width: 560px
 * --------------------------------------------------------------------------
 * Tối ưu tiêu đề và tìm kiếm cho màn hình điện thoại.
 * ========================================================================== */
@media (max-width: 560px) {

    /* CLASS: .curadle-manual-library-heading h2
     * Khóa tiêu đề ở 28px để tránh quá lớn hoặc xuống dòng xấu. */
    body .curadle-manual-video-page-v91
    .curadle-manual-library-heading h2 {
        font-size: 28px !important;
    }

    /* CLASS: .curadle-video-search
     * Phủ toàn chiều rộng và bỏ căn phải của tablet. */
    body .curadle-manual-video-page-v91
    .curadle-video-search {
        width: 100% !important;
        margin-left: 0 !important;
    }
}


/* ==========================================================================
 * CURADLE MANUAL — MÀU THƯƠNG HIỆU CHÍNH THỨC
 * ==========================================================================
 *
 * Màu nhấn duy nhất của module Manual:
 *
 *     #2e3d98
 *
 * Cụm override này đặt cuối file để loại bỏ màu cam còn sót lại từ CSS cũ.
 * Không thay đổi bố cục, kích thước, khoảng cách hoặc tỷ lệ ảnh.
 * ========================================================================== */

body .curadle-manual-video-page-v91,
body .curadle-manual-detail-v91 {
    --manual-primary: #2e3d98 !important;
    --manual-primary-hover: #24327f !important;
    --manual-soft: #f1f3ff !important;
}

/* Danh mục đang được chọn và trạng thái hover/focus. */
body .curadle-manual-video-page-v91
.curadle-video-categories a.is-active,
body .curadle-manual-video-page-v91
.curadle-video-categories a[aria-current="page"],
body .curadle-manual-video-page-v91
.curadle-video-categories a:hover,
body .curadle-manual-video-page-v91
.curadle-video-categories a:focus-visible {
    color: #2e3d98 !important;
    border-color: #2e3d98 !important;
}

/* Nút tìm kiếm, nút hành động và liên kết nhấn trong Manual. */
body .curadle-manual-video-page-v91
.curadle-video-search button,
body .curadle-manual-detail-v91
.curadle-manual-primary-action,
body .curadle-manual-detail-v91
.curadle-manual-related-action-v95 {
    border-color: #2e3d98 !important;
    background: #2e3d98 !important;
    color: #ffffff !important;
}

body .curadle-manual-video-page-v91
.curadle-video-search button:hover,
body .curadle-manual-video-page-v91
.curadle-video-search button:focus-visible,
body .curadle-manual-detail-v91
.curadle-manual-primary-action:hover,
body .curadle-manual-detail-v91
.curadle-manual-related-action-v95:hover {
    border-color: #24327f !important;
    background: #24327f !important;
}

/* Đường nhấn, icon và văn bản từng dùng màu cam. */
body .curadle-manual-video-page-v91
.curadle-manual-accent,
body .curadle-manual-detail-v91
.curadle-manual-accent,
body .curadle-manual-detail-v91 a:not(.button):hover {
    color: #2e3d98 !important;
}

/* ==========================================================================
 * CURADLE MANUAL FRONTEND — ẢNH FULL KHUNG, KHÔNG VIỀN, GIỮ TỶ LỆ GỐC
 * ==========================================================================
 *
 * PHẠM VI ÁP DỤNG
 * --------------------------------------------------------------------------
 * Chỉ áp dụng các card sản phẩm tại:
 *
 *     /download/manual/
 *
 * KHÔNG tác động:
 * - trang chi tiết Manual;
 * - header/footer;
 * - danh mục và tìm kiếm;
 * - số cột;
 * - dữ liệu PHP.
 *
 * YÊU CẦU ĐƯỢC XỬ LÝ
 * --------------------------------------------------------------------------
 * 1. Không hiển thị viền ngoài card.
 * 2. Không hiển thị viền quanh ảnh.
 * 3. Ảnh chạm sát toàn bộ chiều rộng card.
 * 4. Không ép ảnh về 16:9 hoặc hình vuông.
 * 5. Giữ đúng tỷ lệ gốc của từng ảnh: 1:1, 16:9, 5:4...
 * 6. Tên sản phẩm nằm riêng bên dưới ảnh.
 * ========================================================================== */


/* ==========================================================================
 * CLASS: .curadle-video-card
 * --------------------------------------------------------------------------
 * Là thẻ liên kết bao cả ảnh và tên sản phẩm.
 *
 * border: 0
 *     Bỏ viền ngoài đang bao cả ảnh và phần chữ.
 *
 * padding: 0
 *     Ảnh được phép chạm sát mép chiều rộng card.
 *
 * background: transparent
 *     Không tạo khung trắng phía sau ảnh.
 *
 * overflow: visible
 *     Phần tên sản phẩm không bị cắt.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 426px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
}


/* ==========================================================================
 * CLASS: .curadle-video-card-thumb
 * --------------------------------------------------------------------------
 * Là phần tử bao trực tiếp ảnh thumbnail.
 *
 * height: auto
 * aspect-ratio: auto
 *     Không khóa ảnh vào 16:9.
 *
 * border: 0
 *     Không hiển thị viền quanh ảnh.
 *
 * overflow: visible
 *     Không cắt ảnh theo một khung tỷ lệ giả.
 *
 * padding: 0
 *     Không có khoảng trắng giữa ảnh và mép card.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==========================================================================
 * CLASS: .curadle-video-card-thumb img
 * --------------------------------------------------------------------------
 * Là ảnh thumbnail thật.
 *
 * width: 100%
 *     Ảnh phủ toàn bộ chiều rộng cột hiện tại.
 *
 * height: auto
 *     Trình duyệt tự tính chiều cao theo tỷ lệ thật của file ảnh.
 *
 * object-fit: contain
 *     Là lớp bảo vệ nếu CSS cũ còn can thiệp; không cắt nội dung ảnh.
 *
 * border-radius: 0
 *     Không tạo mép bo hoặc đường viền nhìn thấy.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==========================================================================
 * CLASS: .curadle-video-card-title
 * --------------------------------------------------------------------------
 * Tên sản phẩm nằm dưới ảnh và hoàn toàn ở ngoài vùng ảnh.
 *
 * margin-top: 12px
 *     Tạo khoảng cách vừa đủ giữa ảnh và tên.
 *
 * Không thêm border/background để tránh tạo lại khung ngoài.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-title {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 12px 0 0 !important;
    padding: 0 4px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
}


/* ==========================================================================
 * HOVER / FOCUS
 * --------------------------------------------------------------------------
 * Không tạo viền, bóng hoặc dịch chuyển card/ảnh khi rê chuột.
 * Giữ giao diện ổn định và không xuất hiện lại đường viền.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:hover,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:focus-visible,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:hover
.curadle-video-card-thumb,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:focus-visible
.curadle-video-card-thumb {
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==========================================================================
 * ICON PLAY
 * --------------------------------------------------------------------------
 * Ẩn icon play do HTML/CSS dựng thêm.
 * Không chỉnh sửa nội dung thật nằm trong file thumbnail.
 * ========================================================================== */
body .curadle-manual-video-page-v91 .curadle-video-card-play,
body .curadle-manual-video-page-v91 .curadle-video-card-thumb::before,
body .curadle-manual-video-page-v91 .curadle-video-card-thumb::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ==========================================================================
 * CURADLE MANUAL — MASTER OVERRIDE CUỐI CÙNG
 * ==========================================================================
 *
 * Đây là cụm khóa giao diện cuối cùng.
 * Đặt cuối file để mọi yêu cầu đã chốt không bị các rule cũ ghi đè.
 *
 * YÊU CẦU ĐƯỢC GIỮ ĐỒNG THỜI:
 *
 * 1. Tiêu đề thư viện nhỏ, gọn.
 * 2. Danh mục và tìm kiếm cùng một hàng trên desktop.
 * 3. Danh mục không có khung bao ngoài.
 * 4. Ô tìm kiếm dạng pill; nút kính lúp không có nền vuông.
 * 5. Card sản phẩm không có viền ngoài.
 * 6. Ảnh full chiều rộng, không padding, không viền.
 * 7. Ảnh giữ tỷ lệ thật bằng width:100%; height:auto.
 * 8. Tên sản phẩm nằm riêng dưới ảnh.
 * 9. Màu nhấn duy nhất là #2e3d98.
 * 10. Không sử dụng màu cam.
 * ========================================================================== */


/* ==========================================================================
 * SECTION: KHUNG THƯ VIỆN
 * CLASS: .curadle-video-library
 * --------------------------------------------------------------------------
 * Tạo hai cột:
 * - bên trái chứa danh mục;
 * - bên phải chứa ô tìm kiếm.
 *
 * Tiêu đề và lưới sản phẩm được đặt chiếm toàn bộ hai cột ở các rule dưới.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-library {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 250px !important;
    align-items: center !important;
    column-gap: 32px !important;
}


/* ==========================================================================
 * SECTION: TIÊU ĐỀ THƯ VIỆN
 * CLASS: .curadle-manual-library-heading
 * --------------------------------------------------------------------------
 * Tiêu đề và mô tả chiếm toàn bộ chiều rộng.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-library-heading {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

body .curadle-manual-video-page-v91
.curadle-manual-library-heading h2 {
    font-size: clamp(28px, 2.6vw, 38px) !important;
    line-height: 1.2 !important;
}


/* ==========================================================================
 * SECTION: DANH MỤC
 * CLASS: .curadle-video-categories.curadle-manual-categories
 * --------------------------------------------------------------------------
 * Bỏ hoàn toàn khung viền, nền và bóng.
 * Danh mục nằm cùng hàng với tìm kiếm.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories {
    grid-column: 1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 22px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body .curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories a {
    color: #4f4f4f !important;
}

body .curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories a.is-active,
body .curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories a[aria-current="page"],
body .curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories a:hover,
body .curadle-manual-video-page-v91
.curadle-video-categories.curadle-manual-categories a:focus-visible {
    color: #2e3d98 !important;
}


/* ==========================================================================
 * SECTION: Ô TÌM KIẾM
 * CLASS: .curadle-video-search
 * --------------------------------------------------------------------------
 * Giữ cả dropdown và nút kính lúp trong một pill duy nhất.
 * Không cho nút kính lúp tạo thành ô vuông màu xanh.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    align-items: stretch !important;
    width: 250px !important;
    height: 48px !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e5e1de !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(46, 61, 152, 0.08) !important;
}

body .curadle-manual-video-page-v91
.curadle-video-search select,
body .curadle-manual-video-page-v91
.curadle-video-search input {
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #3d3936 !important;
}

body .curadle-manual-video-page-v91
.curadle-video-search button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid #ece8e5 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2e3d98 !important;
    box-shadow: none !important;
}

body .curadle-manual-video-page-v91
.curadle-video-search button:hover,
body .curadle-manual-video-page-v91
.curadle-video-search button:focus-visible {
    border-color: #ece8e5 !important;
    background: #f1f3ff !important;
    color: #2e3d98 !important;
}


/* ==========================================================================
 * SECTION: LƯỚI SẢN PHẨM
 * --------------------------------------------------------------------------
 * Lưới, thông báo rỗng và phân trang chiếm toàn bộ hai cột.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid,
body .curadle-manual-video-page-v91
.curadle-video-empty,
body .curadle-manual-video-page-v91
.curadle-manual-pagination {
    grid-column: 1 / -1 !important;
}


/* ==========================================================================
 * SECTION: CARD SẢN PHẨM
 * CLASS: .curadle-video-card
 * --------------------------------------------------------------------------
 * Bỏ hoàn toàn viền, nền, padding và bóng quanh toàn card.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-grid.curadle-manual-product-grid
> .curadle-video-card,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 426px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    text-align: center !important;
    text-decoration: none !important;
}


/* ==========================================================================
 * SECTION: KHUNG THUMBNAIL
 * CLASS: .curadle-video-card-thumb
 * --------------------------------------------------------------------------
 * Không tạo viền, padding, góc bo hoặc tỷ lệ giả.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-grid.curadle-manual-product-grid
> .curadle-video-card
> .curadle-video-card-thumb,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==========================================================================
 * SECTION: ẢNH THUMBNAIL THẬT
 * --------------------------------------------------------------------------
 * width:100% + height:auto giữ đúng tỷ lệ gốc của từng file.
 * Không crop, không ép 16:9, không để khoảng trắng quanh ảnh.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-grid.curadle-manual-product-grid
> .curadle-video-card
> .curadle-video-card-thumb
> img,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==========================================================================
 * SECTION: TÊN SẢN PHẨM
 * CLASS: .curadle-video-card-title
 * --------------------------------------------------------------------------
 * Tên nằm riêng bên dưới ảnh, không nằm trong khung card có viền.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card-title {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 12px 0 0 !important;
    padding: 0 4px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
}


/* ==========================================================================
 * SECTION: HOVER VÀ ICON PLAY
 * --------------------------------------------------------------------------
 * Không cho hover tạo lại viền hoặc bóng.
 * Ẩn icon play dựng bằng HTML/CSS.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:hover,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:focus-visible,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:hover
.curadle-video-card-thumb,
body .curadle-manual-video-page-v91
.curadle-manual-product-grid
.curadle-video-card:focus-visible
.curadle-video-card-thumb {
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

body .curadle-manual-video-page-v91 .curadle-video-card-play,
body .curadle-manual-video-page-v91 .curadle-video-card-thumb::before,
body .curadle-manual-video-page-v91 .curadle-video-card-thumb::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}


/* ==========================================================================
 * RESPONSIVE TABLET
 * --------------------------------------------------------------------------
 * Tablet chuyển phần điều khiển về một cột.
 * ========================================================================== */
@media (max-width: 820px) {
    body .curadle-manual-video-page-v91
    .curadle-video-library {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-categories.curadle-manual-categories,
    body .curadle-manual-video-page-v91
    .curadle-video-search {
        grid-column: 1 !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-categories.curadle-manual-categories {
        margin-bottom: 18px !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-search {
        width: min(100%, 280px) !important;
        margin: 0 0 30px auto !important;
    }
}


/* ==========================================================================
 * RESPONSIVE MOBILE
 * ========================================================================== */
@media (max-width: 560px) {
    body .curadle-manual-video-page-v91
    .curadle-manual-library-heading h2 {
        font-size: 28px !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-search {
        width: 100% !important;
        margin-left: 0 !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-manual-product-grid
    .curadle-video-card {
        max-width: 100% !important;
    }
}

/* ==========================================================================
 * CURADLE MANUAL — SỬA LỖI FORM TÌM KIẾM BỊ XUỐNG HÀNG
 * ==========================================================================
 *
 * NGUYÊN NHÂN
 * --------------------------------------------------------------------------
 * HTML của form tìm kiếm có ba thành phần hiển thị:
 *
 * 1. select: chọn phạm vi tìm kiếm;
 * 2. input[type="search"]: nhập từ khóa;
 * 3. button[type="submit"]: nút kính lúp.
 *
 * CSS trước đó chỉ khai báo hai cột:
 *
 *     minmax(0, 1fr) 48px
 *
 * nên phần tử thứ ba bị đẩy xuống hàng dưới.
 *
 * CÁCH SỬA
 * --------------------------------------------------------------------------
 * Chia form thành đúng ba cột:
 *
 *     96px | phần còn lại | 48px
 *
 * Kết quả:
 *
 * - dropdown ở bên trái;
 * - ô nhập từ khóa ở giữa;
 * - kính lúp ở bên phải;
 * - tất cả nằm trong cùng một pill;
 * - không ảnh hưởng card, danh mục hoặc hình ảnh.
 * ========================================================================== */


/* ==========================================================================
 * CLASS: .curadle-video-search
 * SECTION: Toàn bộ form tìm kiếm Manual.
 *
 * grid-template-columns:
 * - 96px: dropdown “Tiêu đề”;
 * - minmax(0, 1fr): ô nhập từ khóa;
 * - 48px: nút kính lúp.
 *
 * grid-template-rows: 48px
 *     Khóa cả ba thành phần trong cùng một hàng.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 48px !important;
    grid-template-rows: 48px !important;
    align-items: stretch !important;
    width: 250px !important;
    height: 48px !important;
    min-height: 48px !important;
    overflow: hidden !important;
}


/* ==========================================================================
 * SELECTOR: select trực tiếp trong form tìm kiếm.
 *
 * grid-column: 1
 *     Luôn nằm ở cột đầu.
 *
 * width: 100%
 *     Dùng hết chiều rộng 96px được cấp.
 *
 * border-right
 *     Tạo đường phân cách nhẹ giữa dropdown và ô nhập.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > select {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 28px 0 14px !important;
    border: 0 !important;
    border-right: 1px solid #ece8e5 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}


/* ==========================================================================
 * SELECTOR: input tìm kiếm trực tiếp trong form.
 *
 * grid-column: 2
 *     Luôn nằm ở cột giữa.
 *
 * min-width: 0
 *     Cho phép input co đúng trong CSS Grid, không đẩy nút xuống dòng.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > input[type="search"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* ==========================================================================
 * SELECTOR: nút submit trực tiếp trong form.
 *
 * grid-column: 3
 *     Luôn nằm ở cột cuối.
 *
 * width/height: 48px
 *     Giữ nút vuông bên trong pill nhưng không tạo nền vuông màu xanh.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > button[type="submit"] {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid #ece8e5 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2e3d98 !important;
    box-shadow: none !important;
}


/* ==========================================================================
 * SELECTOR: SVG kính lúp.
 *
 * Khóa kích thước icon để không bị CSS chung kéo giãn.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > button[type="submit"] svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
}


/* ==========================================================================
 * INPUT HIDDEN
 * --------------------------------------------------------------------------
 * Trường manual_category chỉ dùng truyền dữ liệu lọc.
 * Bảo đảm input hidden không tham gia CSS Grid.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > input[type="hidden"] {
    display: none !important;
}


/* ==========================================================================
 * RESPONSIVE
 * --------------------------------------------------------------------------
 * Trên mobile form rộng 100%, nhưng vẫn giữ ba thành phần cùng một hàng.
 * ========================================================================== */
@media (max-width: 560px) {
    body .curadle-manual-video-page-v91
    .curadle-video-search {
        grid-template-columns: 96px minmax(0, 1fr) 48px !important;
        width: 100% !important;
    }
}

/* ==========================================================================
 * CURADLE MANUAL — CÂN LẠI TỶ LỆ SELECT / TEXTBOX / NÚT TÌM KIẾM
 * ==========================================================================
 *
 * YÊU CẦU:
 * 1. Select tự co theo nội dung đang chọn.
 * 2. Textbox rộng hơn select ít nhất gấp đôi.
 * 3. Không có đường ngăn giữa textbox và nút kính lúp.
 * 4. Vẫn giữ đường ngăn nhẹ giữa select và textbox.
 *
 * Cấu trúc:
 *
 *     [ SELECT tự co ] | [ TEXTBOX rộng ] [ KÍNH LÚP ]
 * ========================================================================== */


/* ==========================================================================
 * CLASS: .curadle-video-search
 * --------------------------------------------------------------------------
 * grid-template-columns:
 *
 * max-content
 *     Select rộng theo nội dung thực tế.
 *
 * minmax(220px, 1fr)
 *     Textbox có chiều rộng tối thiểu 220px và luôn là vùng rộng nhất.
 *
 * 48px
 *     Nút kính lúp giữ kích thước cố định.
 *
 * width: 420px
 *     Tổng chiều rộng đủ để textbox lớn hơn select hơn hai lần.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search {
    grid-template-columns: max-content minmax(220px, 1fr) 48px !important;
    width: 420px !important;
    max-width: 100% !important;
}


/* ==========================================================================
 * SELECTOR: select trong form tìm kiếm
 * --------------------------------------------------------------------------
 * field-sizing: content
 *     Trình duyệt hiện đại tự tính chiều rộng theo nội dung đang chọn.
 *
 * width: auto
 *     Không ép select vào chiều rộng cố định.
 *
 * min-width / max-width
 *     Giữ select đủ rộng nhưng không chiếm quá nhiều không gian.
 *
 * border-right
 *     Giữ một đường ngăn nhẹ giữa select và textbox.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > select {
    width: auto !important;
    min-width: 112px !important;
    max-width: 170px !important;
    field-sizing: content;
    padding-right: 34px !important;
    border-right: 1px solid #ece8e5 !important;
    white-space: nowrap !important;
}


/* ==========================================================================
 * SELECTOR: input tìm kiếm
 * --------------------------------------------------------------------------
 * Textbox sử dụng toàn bộ cột giữa và không có border bên phải.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > input[type="search"] {
    width: 100% !important;
    min-width: 220px !important;
    border-right: 0 !important;
}


/* ==========================================================================
 * SELECTOR: nút kính lúp
 * --------------------------------------------------------------------------
 * Bỏ border-left để không còn đường ngăn giữa textbox và nút tìm kiếm.
 * ========================================================================== */
body .curadle-manual-video-page-v91
.curadle-video-search > button[type="submit"] {
    border-left: 0 !important;
}


/* ==========================================================================
 * RESPONSIVE TABLET
 * --------------------------------------------------------------------------
 * Trên tablet, form vẫn giữ tỷ lệ ưu tiên textbox nhưng không vượt màn hình.
 * ========================================================================== */
@media (max-width: 820px) {
    body .curadle-manual-video-page-v91
    .curadle-video-search {
        grid-template-columns: max-content minmax(180px, 1fr) 48px !important;
        width: min(100%, 420px) !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-search > input[type="search"] {
        min-width: 180px !important;
    }
}


/* ==========================================================================
 * RESPONSIVE MOBILE
 * --------------------------------------------------------------------------
 * Giảm nhẹ select và textbox để form không tràn chiều ngang.
 * ========================================================================== */
@media (max-width: 560px) {
    body .curadle-manual-video-page-v91
    .curadle-video-search {
        grid-template-columns: minmax(100px, max-content) minmax(0, 1fr) 44px !important;
        width: 100% !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-search > select {
        min-width: 100px !important;
        max-width: 140px !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-search > input[type="search"] {
        min-width: 0 !important;
    }

    body .curadle-manual-video-page-v91
    .curadle-video-search > button[type="submit"] {
        width: 44px !important;
        min-width: 44px !important;
    }
}

/* ==========================================================================
 * MANUAL DETAIL — MÀU XANH NAVY CURADLE
 * ==========================================================================
 *
 * CLASS: .is-navy-manual
 * --------------------------------------------------------------------------
 * Class này được thêm vào thẻ <main> khi quản trị viên chọn:
 *
 *     Xanh navy CURADLE (#2e3d98)
 *
 * BIẾN MÀU:
 *
 * --manual-primary
 *     Màu chính dùng cho viền, tiêu đề, số thứ tự và nút.
 *
 * --manual-primary-hover
 *     Màu đậm hơn khi hover/focus.
 *
 * --manual-soft
 *     Nền xanh rất nhạt khi mở hoặc hover khối nội dung.
 *
 * --manual-shadow
 *     Màu bóng tương ứng với xanh navy.
 *
 * Cụm này chỉ đổi màu. Không thay đổi kích thước, khoảng cách, ảnh,
 * danh mục, tìm kiếm hoặc cấu trúc trang Manual.
 * ========================================================================== */
.curadle-manual-detail-v91.is-navy-manual {
    --manual-primary: #2e3d98 !important;
    --manual-primary-hover: #24327f !important;
    --manual-soft: #f1f3ff !important;
    --manual-shadow: rgba(46, 61, 152, 0.14) !important;
}


/* ==========================================================================
 * TRẠNG THÁI FOCUS/HOVER RIÊNG CHO NAVY
 * --------------------------------------------------------------------------
 * Bảo đảm các thành phần tương tác sử dụng đúng màu navy đã chọn.
 * ========================================================================== */
.curadle-manual-detail-v91.is-navy-manual
.curadle-manual-trigger-v91,
.curadle-manual-detail-v91.is-navy-manual
.curadle-manual-playlist-trigger-v91 {
    border-color: #2e3d98 !important;
    color: #2e3d98 !important;
}

.curadle-manual-detail-v91.is-navy-manual
.curadle-manual-trigger-v91:hover,
.curadle-manual-detail-v91.is-navy-manual
.curadle-manual-trigger-v91.is-open,
.curadle-manual-detail-v91.is-navy-manual
.curadle-manual-playlist-trigger-v91:hover {
    background: #f1f3ff !important;
    box-shadow: 0 12px 28px rgba(46, 61, 152, 0.14) !important;
}
