﻿

.cq-community-stick { position: static; background: var(--cq-light); }
.cq-community-stick .cq-community-topnav { margin-bottom: var(--cq-3); }

@view-transition { navigation: auto; }
.cq-community-stick { view-transition-name: cq-cong-dong-header; }
.cq-community-page > .sep20 { display: none; }
::view-transition-group(cq-cong-dong-header) { animation-duration: 0s; }
.cq-community-hero .cq-cell { margin: 0; max-width: none; padding: 0 var(--cq-gutter); }
.cq-community-hero__row { display: flex; align-items: center; justify-content: space-between; gap: var(--cq-4);
                         height: 60px !important; padding-top: 0 !important; padding-bottom: 0 !important;
                         box-sizing: border-box; }
.cq-community-hero__muc { margin: 0; color: var(--cq-text); font-family: "LA3D Sans", sans-serif; font-size: var(--cq-fs-6); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.cq-community-hero__pg { flex: 0 0 auto; display: flex; align-items: center; }
.cq-community-hero__pg .cq-community-v2__paging-top { margin: 0; }
.cq-community-v2__head .cq-community-v2__title { display: none; }
@media (max-width: 767px) {
  .cq-community-hero .cq-cell { padding: 0 var(--cq-4); }
  .cq-community-hero__row { padding-top: var(--cq-4); padding-bottom: var(--cq-2); gap: var(--cq-2); }
  .cq-community-hero__muc { font-size: var(--cq-fs-5); }
}

.cq-community-page { margin-left: calc(-1 * var(--cq-gutter)); margin-right: calc(-1 * var(--cq-gutter)); padding: 0 0 var(--cq-5); background: var(--cq-light); }
.cq-community-page .wrap-banner-main { position: relative; overflow: hidden; }
.cq-community-page .wrap-banner-main .lSSlideOuter,
        .cq-community-page .wrap-banner-main .lSSlideWrapper,
        .cq-community-page .wrap-banner-main #lightSliderBanner,
        .cq-community-page .wrap-banner-main #lightSliderBanner > li,
        .cq-community-page .wrap-banner-main #lightSliderBanner > li > a { height: 300px; }
.cq-community-page .wrap-banner-main #lightSliderBanner > li > a { display: block; }
.cq-community-page .wrap-banner-main #lightSliderBanner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cq-community-page .wrap-banner-main .lSPager { display: none; }
.cq-community-page > .cq-grid {
    margin-left: 0;
    margin-right: 0;
}

.cq-community-page > .cq-grid > .page-left > .cq-cell,
.cq-community-page > .cq-grid > .page-right > .cq-cell {
    margin-left: 0;
    margin-right: 0;
}

.cq-community-topnav { margin: 0 0 var(--cq-4); }
/* KHONG them le o day: the cha mang lop .cq-home-nav, ma module-home-nav.css
   da cho no "padding: 6px var(--cq-gutter) 0". Them lan nua la le nhan doi
   (128 -> 256) — thanh danh muc thut vao gap doi so voi luoi. */
.cq-community-topnav .cq-cell { margin: 0; max-width: none; padding: 0; }
.cq-community-stick { border-bottom: none !important; }
.cq-community-topnav .cq-community-topnav__list.menu { gap: var(--cq-2); }
.cq-community-topnav__item i { font-size: var(--cq-fs-4); line-height: 1; }
.cq-community-topnav__item span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cq-community-topnav__list::-webkit-scrollbar { display: none; }

.cq-community-topnav .cq-cell { display: flex; align-items: center; gap: var(--cq-4); }
.cq-community-topnav__title { font-family: 'LA3D Sans', sans-serif; font-weight: 800; white-space: nowrap; }
@media (min-width: 768px) {
    .cq-community-stick { position: -webkit-sticky; position: sticky; top: var(--cq-head-h, 64px); z-index: 108; }
    .cq-community-topnav__title { color: #ffffff; font-size: var(--cq-fs-4); margin-right: auto; }
    .cq-community-topnav .cq-community-topnav__list.menu { width: auto; max-width: none; margin: 0; justify-content: flex-end; }
}
@media (max-width: 767px) {
    .cq-community-topnav .cq-cell { display: block; }
    .cq-community-topnav__title { display: block; color: var(--cq-text); font-size: var(--cq-fs-5); padding: var(--cq-2) var(--cq-4) 0; }
}
.cq-community-subrow__row { display: flex; align-items: center; justify-content: flex-end; gap: var(--cq-3); padding: var(--cq-2) var(--cq-gutter); margin: 0; }
.cq-community-subrow__row .cq-community-hero__pg { display: flex; align-items: center; }
.cq-subrow-sort { float: none; display: inline-flex; align-items: center; gap: var(--cq-2); margin: 0; color: var(--cq-text); font-size: var(--cq-fs-2); }
.cq-subrow-reload { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--cq-border); border-radius: var(--cq-r-pill); background: var(--cq-surface); color: var(--cq-text); cursor: pointer; }
.cq-subrow-reload:hover { background: var(--cq-light); }
@media (max-width: 767px) {
    .cq-community-subrow__row { padding: var(--cq-2) var(--cq-4); }
}
.cq-community-v2-wrap .cq-cell { margin: 0; max-width: none; padding: 0 var(--cq-gutter); }
.cq-community-v2 { margin: 0 0 var(--cq-5); }
.cq-community-v2__frame { padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.cq-community-v2__meta { display: block; color: #708499; font-size: var(--cq-fs-1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cq-community-v2__grid { display: grid; grid-template-columns: repeat(auto-fill, var(--cq-the-rong)); gap: var(--cq-4); align-items: start;
    max-width: calc(4 * var(--cq-the-rong) + 3 * var(--cq-4)); }

@media (min-width: 1200px) {
    #cqCommunityMemberV2Grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #cqCommunityMemberV2Grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    #cqCommunityMemberV2Grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    #cqCommunityMemberV2Grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cq-community-v2__col { display: flex; flex-direction: column; gap: var(--cq-4); min-width: 0; }
.cq-community-v2__grid > .item,
        .cq-community-v2__grid > [class^="item-"],
        .cq-community-v2__grid > [class*=" item-"],
        .cq-community-v2__col > .item,
        .cq-community-v2__col > [class^="item-"],
        .cq-community-v2__col > [class*=" item-"],
        .cq-community-v2__card {
            display: block;
            width: 100% !important;
            margin: 0 !important;
            min-width: 0;
        }
.cq-community-v2__grid .cq-cell { margin: 0 !important; }
.cq-community-v2__empty { padding: 40px var(--cq-5); border-radius: var(--cq-r-card); background: var(--cq-surface); color: #6f8398; text-align: center; box-shadow: inset 0 0 0 1px var(--cq-border); }
.cq-community-source { position: static; width: auto; height: auto; overflow: visible; visibility: visible; pointer-events: auto; background: var(--cq-light); }
.cq-community-source .cq-cell { margin: 0 !important; max-width: none; padding: 0 var(--cq-gutter); }
.cq-community-source .listPlantPaging { margin: 0; }
.cq-community-source .listPlantPaging .paging-top { display: none !important; }

.cq-community-page .wrap-banner-main { display: none !important; }

.cq-grid-paging { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--cq-2); padding: var(--cq-5) 0 var(--cq-2); }.cq-mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--cq-4); }
@media (max-width: 640px) {
    .cq-mem-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: var(--cq-3); }
}

        .cq-community-topnav__item { padding: 0; min-height: 48px; }
        .cq-community-topnav__item span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
        .cq-community-v2__head { display: flex; align-items: center; justify-content: space-between; gap: var(--cq-4); margin-bottom: var(--cq-4); padding: 0 2px; }
        .cq-community-v2__title { margin: 0; color: var(--cq-text); font-family: 'LA3D Sans', sans-serif; font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
        .cq-community-v2__paging-top { display: flex; align-items: center; justify-content: flex-end; min-height: 46px; width: 100%; margin: 0; }
        .cq-community-v2__paging-top .paging,
        .cq-community-source .listPlantPaging .paging { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: var(--cq-2); margin: 0; width: 100%; }
        .cq-community-v2__card .news-item,
        .cq-community-v2__card .wrap-img {
            padding: 0 !important;
            margin: 0 !important;
            border: 0 !important;
            background: none !important;
            box-shadow: none !important;
        }
        .cq-community-v2__card .wrap-img {
            display: block;
            overflow: hidden;
            border-radius: var(--cq-r-card, 16px);
        }
        .cq-community-v2__card .wrap-img > .img {
            display: block;
            overflow: hidden;
            border-radius: 0;

            width: 100%;
        }
        .cq-community-v2__card .wrap-img:has(> .img-count-2) {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: var(--cq-1);
        }
        .cq-community-v2__card .wrap-img > .img-count-1 { grid-column: 1 / -1; }
        .cq-community-v2__card .wrap-img > .img-count-2,
        .cq-community-v2__card .wrap-img > .img-count-3,
        .cq-community-v2__card .wrap-img > .img-count-4 {
            float: none;
            width: auto;
            border: 0;
            aspect-ratio: 140 / 85;
        }
        .cq-community-v2__card .wrap-img > .img-count-2 img,
        .cq-community-v2__card .wrap-img > .img-count-3 img,
        .cq-community-v2__card .wrap-img > .img-count-4 img {
            width: 100%;
            height: 100%;
            max-height: none;
            object-fit: cover;
        }
        .cq-community-v2__card .wrap-img img {
            display: block;
            width: 100%;
            height: auto;

            filter: var(--cq-anh-loc) var(--cq-anh-rieng, );
        }
        .cq-community-v2__card .wrap-img > .img-count-1,
        .cq-community-v2__card .wrap-img > .img-don {
            aspect-ratio: var(--ti-le);
        }

        .cq-community-v2__card .wrap-img > .img-count-1 > img,
        .cq-community-v2__card .wrap-img > .img-don > img {
            height: 100%;
            object-fit: cover;
            object-position: top;        }
        .cq-community-v2__card .wrap-img > .img.table {
            min-height: 150px;
        }
        .cq-community-v2__card .wrap-img > .img.table:not([class*="cq-qbg-"]) {
            background: var(--cq-surface);
        }
        .cq-community-v2__card .wrap-img > .img.table td {
            padding: var(--cq-4);
            color: var(--cq-text, #1e2a35);
            font-family: 'LA3D Sans', sans-serif;
            font-size: var(--cq-fs-2);
            font-weight: 700;
            line-height: 1.35;
        }
        .cq-community-v2__card .wrap-img > .img img {
            transition: transform .55s cubic-bezier(.22, .61, .36, 1);
        }
        .cq-community-v2__card .wrap-img > .img:hover img {
            transform: scale(1.04);
        }
        @media (prefers-reduced-motion: reduce) {
            .cq-community-v2__card .wrap-img > .img img,
            .cq-community-v2__card .wrap-img > .img:hover img {
                transition: none;
                transform: none;
            }
        }
        .cq-community-source #listItemGuestIdea,
        .cq-community-source .cq-community-toolbar,
        .cq-community-source .listPlantPaging .item { display: none !important; }
        .cq-community-source .listPlantPaging .paging { padding-top: var(--cq-2); }
        @media (max-width: 991px) {
            .cq-community-v2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 767px) {
            .cq-community-topnav { margin-bottom: var(--cq-4); }
            .cq-community-hero .cq-cell,
            .cq-community-v2-wrap .cq-cell,
            .cq-community-source .cq-cell { padding: 0 var(--cq-4); }
            .cq-community-stick { background: var(--cq-surface); }
            .cq-community-topnav .cq-cell { padding: 0; }
            .cq-community-topnav .cq-community-topnav__list { flex-wrap: nowrap; overflow: visible; overflow-x: visible; }
            .cq-community-topnav .cq-community-topnav__item { flex: 1 1 0; min-width: 0; }
            .cq-community-v2 { margin-bottom: var(--cq-4); }
            .cq-community-v2__head { display: block; margin-bottom: var(--cq-4); }
            .cq-community-v2__title { margin-bottom: var(--cq-2); font-size: var(--cq-fs-6); }
            .cq-community-v2__grid { grid-template-columns: minmax(0, 1fr); gap: var(--cq-4); }
            .cq-community-v2__col { gap: var(--cq-4); }
        }

.mag-tagloc .cq-ava { --cq-ava-size: 56px; }
.mag-detail .mag-detail__aside .cq-ava { --cq-ava-size: 48px; }

@media (min-width: 768px) {
    .popup-idea #descriptionIdea .cq-mv-nv .cq-ava { --cq-ava-size: 38px; }
}

.guest-item-idea .desc-line .view span {
    margin: 0px;
}

.guest-item-idea .time {
    position: relative;
    top: 0px;
    right: 0px;
    display: block;
    font-weight: normal;
}

.guest-item-idea {
    margin-bottom: var(--cq-6);
    box-shadow: none;
}

.guest-item-idea .wrap-img {
        border-radius: var(--cq-r-card, 10px);
        overflow: hidden;
        display: block;
    }

.guest-item-idea div.name {
        text-transform: none;
        line-height: 20px;
        height: 60px;
        padding: var(--cq-2);
    }

.guest-item-idea div.name .img-cus {
            width: 30px;
            height: 30px;
            float: left;
            margin-right: var(--cq-2);
        }

.guest-item-idea .control {
    top: 10px;
    right: 10px;
}

.guest-item-idea .img img {
    width: 100%;
}

.guest-item-idea > .sep10 {
    clear: both;
}

.guest-item-idea .img-count-2, .guest-item-idea .img-count-3, .guest-item-idea .img-count-4 {
    width: 33.3%;
    float: left;
    border: solid 1px white;
    position: relative;
}

.guest-item-idea .img-count-2 img, .guest-item-idea .img-count-3 img, .guest-item-idea .img-count-4 img {
        max-height: 95px;
    }

.guest-item-idea .img .count-photo {
    position: absolute;
    right: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    width: 100%;
    height: 100%;
    font-weight: bold;
    font-size: var(--cq-fs-6);
    line-height: 80px;
    text-align: CENTER;
    margin: 0px;
}

.guest-item-idea-2 .desc {
    padding-top: var(--cq-2);
    position: relative;
}

.guest-item-idea-2 .desc .social-box {
        position: absolute;
        right: 0px;
        top: 0px;
    }

.guest-item-idea .social-box {
    position: absolute;
    right: 10px;
    top: 10px;
}

.guest-item-idea .wrap-desc {
    position: relative;
    background: var(--cq-light);
    border-radius: var(--cq-r-btn);
}

.guest-item-idea-2 .desc .name {
    padding: 0px;
    height: 30px;
    flex: initial;
}

.guest-item-idea-2 .desc .name .name-cus {
        font-weight: bold;
        display: block;
        line-height: 30px;
    }

.guest-item-idea-2 {
    margin-bottom: var(--cq-4);
    background: none;
    box-shadow: none;
}

.guest-item-idea-2 .media {
        position: relative;
        margin-bottom: var(--cq-2);
        border-radius: var(--cq-r-btn);
        overflow: hidden;
    }

.guest-item-idea-2 .media img, .guest-item-idea-2 .media .img {
            border-radius: var(--cq-r-btn);
            display: block;
        }

.guest-item-idea-2 .media .img:before {
                background: url(/Content/Images/Home/bg-trans.png) repeat-x;
                height: 174px;
                position: absolute;
                top: 0px;
                left: 0px;
                width: 100%;
                content: '';
                visibility: hidden;
            }

.guest-item-idea-2 .media .img:after {
                background: url(/Content/Images/Home/bg-trans2.png) repeat-x;
                height: 174px;
                position: absolute;
                bottom: 0px;
                left: 0px;
                width: 100%;
                content: '';
                visibility: hidden;
            }

.guest-item-idea-2 .media:hover .img:after, .guest-item-idea-2 .media:hover .img:before {
            visibility: visible;
        }

.guest-item-idea-2 .media .img img {
            width: 100%;
        }

.guest-item-idea-2 .media .title {
            position: absolute;
            top: 10px;
            left: 10px;
            color: white;
            z-index: 1;
            visibility: hidden;
        }

.guest-item-idea-2 .name .img-cus {
        width: 40px;
        height: 40px;
        float: left;
        margin-right: var(--cq-2);
    }

.guest-item-idea-2 .name .name-cus img {
        display: none;
        width: 18px;
        height: 18px;
        vertical-align: middle;
        margin-left: var(--cq-1);
    }

.guest-item-idea.guest-item-idea-2 .desc .social-box {
    top: 5px;
}

.guest-item-idea-2 .name .img-cus img {
    border-radius: var(--cq-r-pill);
}

.guest-item-idea-2 .name .time {
    display: none;
    position: relative;
    top: 0px;
    left: 0px;
    right: auto;
    padding: 0px;
    font-style: italic;
    color: var(--cq-text);
}

.guest-item-idea-2 .view, .guest-item-idea-2 .count-photo {
    font-size: var(--cq-fs-2);
    font-style: italic;
}

.guest-item-idea-2 .title h3 {
    font-size: var(--cq-fs-4);
    font-weight: bold;
    margin: 0px;
    text-transform: uppercase;
}

.guest-item-idea-2 .title-2 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: var(--cq-fs-3);
    font-weight: bold;
    z-index: 1;
    visibility: hidden;
}

.guest-item-idea-2:hover .title, .guest-item-idea-2:hover .title-2 {
    visibility: visible;
}

.guest-item-idea-2 .media .icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: var(--cq-fs-4);
    z-index: 1;
    color: white;
    background: var(--cq-green);
    width: 30px;
    text-align: center;
    line-height: 30px;
    display: block;
    border-radius: 100%;
}

.guest-item-idea-2 .name-post {
    text-align: center;
    display: block;
    font-weight: bold;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guest-item-idea-2 .name-post a {
        display: block;
    }

.guest-item-idea-2 .desc {
    padding: 0px;
}

.guest-item-idea-2 .btn-pin {
    position: absolute;
    top: 10px;
    z-index: 1;
    right: 10px;
}

.guest-item-idea-2 .btn-pin img {
        border-radius: 100%;
    }

.cq-community-v2__grid .img[style*="--ti-le"],
.cq-tc-masonry .img[style*="--ti-le"],
.cq-td-masonry .img[style*="--ti-le"] {
    aspect-ratio: var(--ti-le);
    display: block;
    overflow: hidden;
}

.cq-community-v2__grid .img[style*="--ti-le"] > img,
.cq-tc-masonry .img[style*="--ti-le"] > img,
.cq-td-masonry .img[style*="--ti-le"] > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Khu cong dong cho phep trang cao tu do va nen sang — truoc nam rieng o
   community-page.css (6 dong, khai html/body hai lan trung nhau). */
html, body { height: auto !important; overflow-y: auto !important; background: var(--cq-light) !important; }
.body { position: relative !important; height: auto !important; min-height: 100vh; overflow: visible !important; background: var(--cq-light) !important; }
