﻿.detail-cate .container {
    padding: 0;
    position: relative;
    z-index: 2;
    padding: 50px 0;
}

.detail-cate {
    background-color: #f5f5f5;
}

.detail-new-banner {
    height: 100%;
    position: relative;
    z-index: 0;
    margin-bottom: 20px;
}

.detail-new-cate {
    position: absolute;
    top: -19px;
    border-radius: 3px;
    background-color: #f89b1a;
    color: #fff;
    font-size: 15px;
    padding: 6px 18px;
    text-transform: uppercase;
    font-family: monM;
}

.detail-cate .container .left {
    font-size: 16px;
    line-height: 150%;
    width: calc(98% - 390px);
    float: left;
    background-color: #fff;
    padding: 25px;
    position: relative;
    padding-top: 45px;
}

.detail-cate .container .right {
    float: right;
    width: 390px;
}

.detail-cate .container .left a {
    display: inline-block;
}

.detail-cate .container .left ul li {
    margin: 5px 0;
}

.detail-cate .container .left p {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 160%;
    color: #333;
    font-size: 16px;
}

.detail-cate .container .left .heading {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 100;
    text-transform: capitalize;
}

/*San pham*/

.side-news-item-pro h3.title {
    margin: 0;
    font-family: 'MonB';
    font-weight: 600;
    line-height: 120%;
    font-size: 20px;
    color: var(--default-color-2);
    padding-bottom: 6px;
    border-bottom: 1px solid #F2F2F2;
}

.liat-h-projectl {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 15px;
    margin-top: 12px;
}

.w-title-top-address-hl h3 {
    margin: 0;
    color: #3C3C3C;
    text-align: center;
    font-family: 'MonM';
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 30px */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.item-project-hl:hover .w-title-top-address-hl h3 {
    color: #212f81;
}

.item-project-img-hl img {
    width: 100%;
    height: 150px;
    border-radius: 0px 0px 5px 5px;
    transition: all ease 0.4s;
    overflow: hidden;
}

.project-item-b-bl span {
    color: #5A5A5A;
    text-align: center;
    font-family: 'MonR';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 29.7px */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.project-item-b-bl:before {
    content: "";
    position: absolute;
    background: #f89a1e;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    width: 79.186px;
    height: 2.144px;
    flex-shrink: 0;
}

.item-project-hl:hover {
    background: #2e3192;
}

    .item-project-hl:hover .w-title-top-address-hl h3 {
        color: #fff;
    }

    .item-project-hl:hover .project-item-b-bl span {
        color: #fff;
    }

    .item-project-hl:hover .item-project-img-hl img {
        transform: scale(1.1);
    }

.item-project-img-hl {
    position: relative;
    overflow: hidden;
    border-top: 3px solid #f99a1c;
}

.project-item-b-bl {
    transition: all ease 0.4s;
    position: relative;
    padding-top: 11px;
    margin-top: 13px;
}

.title-contrus-childs h4 {
    margin: 0;
    color: #3C3C3C;
    font-family: 'SFProDisplay-Semibold';
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.content-project-img-hl {
    padding: 10px;
    border-radius: 5px;
    transition: all ease 0.4s;
}

.item-project-hl {
    transition: all ease 0.4s;
    border-radius: 5px;
    border: 1px solid #FFF;
    background: rgba(211, 211, 211, 0.30);
    box-shadow: 4px 4px 6.1px 0px rgba(183, 183, 183, 0.25);
    backdrop-filter: blur(2.8499999046325684px);
}

    .item-project-hl a {
        position: relative;
    }

@media(max-width:1023px) {
    .top-project-home h6 {
        font-size: 20px;
    }

    .link-home-project a {
        padding: 6px 28px;
        font-size: 18px;
    }

    section.p-des-project {
        font-size: 14px;
    }

    .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
    }

    .content-project-img-h {
        padding: 10px;
    }

    .w-title-top-address-h h3 {
        font-size: 14px;
    }

    .project-item-b-b span {
        font-size: 13px;
    }

    .project-item-b-b:before {
        width: 82px;
    }

    .item-project-img-h img {
        width: 100%;
        height: 150px;
    }

    .item-project-h:nth-child(10) {
        display: block;
    }

    .home-project-list {
        padding-bottom: 0;
    }

    ul.p-news-list__type2.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 12px;
        margin-top: 15px;
    }

    .home-project .grid.wide {
        padding: 0 5px;
    }

    .home-project {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .item-project-img-hl img {
        height: 105px;
    }

    .w-title-top-address-hl h3 {
        font-size: 14px;
    }

    .project-item-b-bl:before {
        width: 52px;
    }
}

.side-news-item-pro {
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

ul.list-item-home-product.list-pro-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
}

    ul.list-item-home-product.list-pro-bar .top-img-home-product img {
        height: 112px;
    }

    ul.list-item-home-product.list-pro-bar .t-home-product h3 {
        line-height: normal;
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    ul.list-item-home-product.list-pro-bar .cate-title-home-product {
        padding: 14px 12px 11px 12px;
    }

.side-news-item-pro .p-news-img__type2 {
    width: 145px;
    height: 132px;
}

.side-news-item-pro ul.p-news-list__type2.rs h3.title {
    font-size: 16px;
    overflow: hidden;
    line-height: normal;
    margin: 0;
    height: auto;
    padding: 0;
    text-transform: capitalize;
    border: unset;
}

.side-news-item-pro .p-news-item__type2:hover h3.title {
    color: #3DA608;
}

.side-news-item-pro .p-news-link__type2 .descript {
    font-size: 14px;
    margin-top: 7px;
}

.side-news-item-pro .p-news-content__type2 {
    padding-right: 0;
}

.side-news-item-pro .p-news-date__type2 {
    font-size: 12px;
    margin-bottom: 4px;
}

.side-news-item-pro .p-news-item__type2 {
    padding: 8px 0;
}

@media (max-width: 1023px) {
    ul.list-item-home-product {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 17px;
        row-gap: 23px;
    }

    .side-news-item-pro ul.p-news-list__type2.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 17px;
        row-gap: 17px;
        margin-top: 15px;
    }

    .side-news-item-pro .p-news-item__type2 {
        padding: 0;
    }

    .side-news-item-pro .p-news-img__type2 {
        width: 100%;
    }

    .side-news-item-pro .p-news-content__type2 {
        padding-right: 5px;
        padding-left: 5px;
    }

    .title-tab-menu-home-product {
        display: block;
        margin-bottom: 15px;
    }

    .title-t-home-product h3 {
        font-size: 24px;
        line-height: normal;
    }

    ul.list-tab-home-product {
        display: inline-block;
    }

    li.item-menu-pro-home {
        display: inline-block;
        margin: 0;
        margin-bottom: 5px;
    }

    .l-pro-child-list {
        float: none;
        width: 100%;
    }

    .r-product-child-list {
        float: none;
        width: 100%;
    }

    .list-lr-product-child {
        display: flex;
        flex-flow: column-reverse;
    }

    .c-home-product {
        padding-top: 49px;
        padding-bottom: 49px;
    }

    .detail-pro {
        padding-top: 45px;
    }

    .title-t-home-product {
        margin-bottom: 40px;
    }

    .top-img-home-product img {
        height: 118px;
    }

    .same-cate {
        background-size: cover;
    }

    .t-home-product h3 {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .l-pro-child-list {
        margin-top: 15px;
    }

    .cate-title-home-product {
        padding: 14px 6px 11px 6px;
    }

        .cate-title-home-product h6 {
            font-size: 11px;
        }

    img.decor-pro-home-b {
        height: auto;
    }
}

.detail-cate .container .left .heading-2 {
    color: var(--default-color-1);
    font-size: 20px;
    line-height: 150%;
    font-family: monB;
    margin: 0;
    font-weight: 100;
}

.detail-cate .container .left .description {
    color: #333333bf;
    font-size: 16px;
    line-height: 164%;
    font-family: 'monSB';
    display: block;
    margin: 0;
    margin-top: 8px;
    font-weight: 100;
    border-bottom: 1px solid #33333329;
    padding-bottom: 15px;
    text-align: justify;
}

.detail-cate .container .left span {
    color: #363636;
}

.detail-cate section {
    text-align: justify;
}

table {
    border-collapse: collapse;
    width: 100%;
    animation: fadeIn 1s ease-in-out;
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

    /* Header */
    table thead {
        background-color: #f5f5f5;
    }

    table th, table td {
        padding: 16px 20px;
        text-align: left;
        border-bottom: 1px solid #eee;
        transition: all 0.3s ease;
    }

    /* Hover từng dòng */
    table tbody tr:hover {
        background-color: #f0f8ff;
        transform: scale(1.005);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    /* Làm đậm dòng tiêu đề */
    table thead th {
        font-weight: bold;
        color: #333;
        font-size: 16px;
    }

/* Fade in khi load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-cate section ul {
    /* padding-left: 20px; */
}

.detail-cate section img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.detail-cate .options-bv {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 15px;
    padding-top: 15px;
    padding: 14px 0;
}

    .detail-cate .options-bv .op-left {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        font-size: 14px;
        color: #4f4f4f;
        opacity: .5
    }

        .detail-cate .options-bv .op-left .item:nth-child(2) {
            margin-left: 10px
        }

.detail-cate section h1,
.detail-cate section h2,
.detail-cate section h3,
.detail-cate section h4,
.detail-cate section h5,
.detail-cate section h6 {
    color: var(--default-color-1);
    font-family: monSB;
    font-size: 18px;
    margin: 15px 0;
}

.same-news {
    position: relative;
    background-color: #005b9812;
}

.same-news-container {
    padding: 60px 0;
}

.same-news-title {
    text-transform: uppercase;
    color: var(--default-color-1);
    z-index: 2;
    width: fit-content;
    margin: 0;
    position: relative;
    font-size: 25px;
    font-weight: 100;
    padding-bottom: 8px;
    font-family: 'MonB';
}

    .same-news-title::before {
        content: '';
        position: absolute;
        width: 35px;
        bottom: 0;
        height: 2px;
        background-color: var(--default-color-1);
    }

.same-news-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 25px;
    row-gap: 25px;
    margin-top: 30px;
}

    .same-news-list .p-news-item {
    }

.detail-news-side {
    background-color: #fff;
    padding: 15px;
}

    .detail-news-side .title::before {
        content: '';
        position: absolute;
        width: 35px;
        height: 3px;
        background-color: var(--default-color-1);
        border-radius: 55px;
        bottom: 0;
    }

    .detail-news-side .title {
        position: relative;
        margin: 0;
        font-family: 'MonB';
        color: var(--default-color-1);
        font-size: 21px;
        font-weight: 100;
        padding-bottom: 8px;
        margin-bottom: 16px;
    }

    .detail-news-side .side-list {
    }

    .detail-news-side .side-item {
        display: flex;
        margin-bottom: 16px;
    }

    .detail-news-side .side-item-img {
        width: 100px;
        height: 88px;
        border-radius: 3px;
        overflow: hidden;
    }

        .detail-news-side .side-item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all .3s;
        }

    .detail-news-side .side-item-content {
        flex: 1;
        padding-left: 13px;
    }

    .detail-news-side .side-item:hover .side-item-content h3 {
        color: var(--default-color-2);
    }

    .detail-news-side .side-item-content h3 {
        margin: 0;
        font-family: monSB;
        font-weight: 100;
        color: var(--default-color-1);
        font-size: 15px;
        line-height: 141%;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-bottom: 5px;
        transition: all .3s;
    }

    .detail-news-side .side-item-content span {
        font-size: 14px;
        line-height: 150%;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .detail-news-side .side-item:hover .side-item-img img {
        transform: scale(1.02);
    }
/*RS*/
@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important
    }

    .detail-pro-n-container {
        flex-direction: column;
    }

    .p-banner-content span {
        text-align: center;
        font-size: 14px;
    }

    .p-banner-content a {
        font-size: 14px;
    }

    .detail-cate .container .left,
    .detail-cate .container .right {
        width: 100%;
        transform: translateY(0);
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important
    }

    .same-news {
        /* padding: 20px; */
    }

    .same-news-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .same-news-container {
        padding: 30px 0;
    }
}

@media(max-width:739px) {
    .no-display-mobile {
        display: none !important
    }

    .detail-cate .container .left {
        padding: 15px 15px;
        padding-top: 30px;
        border-radius: 0;
        margin-top: 50px;
    }

    .same-news-list {
        grid-template-columns: repeat(1,minmax(0,1fr));
    }

    .same-news {
        /* padding: 15px 10px; */
    }

    .same-news-container {
        padding: 20px 0;
    }

    .detail-cate .container {
        padding: 20px 0;
        padding-top: 0;
    }

        .detail-cate .container .left .heading-2 {
            font-size: 16px;
            margin-top: 6px;
        }

    .detail-new-banner {
        height: 260px;
    }

    .detail-new-cate {
        top: -16px;
        font-size: 13px;
        padding: 4px 16px;
    }

    .detail-cate .container .left .description {
        font-size: 15px;
    }

    .same-news-title {
        font-size: 22px;
    }
}

/* ================================
   FORM ĐĂNG KÝ SỰ KIỆN
   ================================= */

/* Tổng thể */
.form-book-event {
    width: 100%;
    background: #fff;
    padding: 30px 18px;
    padding-top: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    box-sizing: border-box;
    margin-top: 25px;
}

.list-book-event {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Nhóm nhiều field */
.form-event-full-btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-b {
    display: flex;
    flex-direction: column;
    position: relative;
}

    .form-b span {
        font-family: 'monM';
        color: #f8bc1c;
        font-size: 16px;
        font-style: normal;
        font-weight: normal;
        line-height: normal;
        text-transform: capitalize;
        margin-bottom: 6px;
    }

.form-book-event h3 {
    display: block;
    margin: 0;
    font-family: 'monSB';
    font-size: 23px;
    color: #f8bc1c;
    text-transform: capitalize;
    font-weight: normal;
    line-height: normal;
    padding-bottom: 22px;
}
/* Input / TextArea / Select */
.form-b input,
.form-b textarea,
.form-b select,
.form-b .aspNetDisabled {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    background: #fafafa;
    transition: all .25s ease;
    box-sizing: border-box;
}

    /* Hiệu ứng focus */
    .form-b input:focus,
    .form-b textarea:focus,
    .form-b select:focus {
        border-color: #f8bc1c;
        background: #fff;
        box-shadow: 0 0 0 4px rgb(255 248 185);
        outline: none;
    }

/* Textarea */
.form-b textarea {
    height: 120px;
    resize: vertical;
}

/* Validator lỗi */
.warning {
    position: absolute;
    right: 10px;
    top: 35px;
    color: red;
    font-size: 18px;
}

/* Button submit */
.submit-b {
    margin-top: 10px;
    text-align: center;
}

    .submit-b input[type="submit"],
    .submit-b button,
    .submit-b .aspNetDisabled {
        background: #2e3192;
        border: none;
        padding: 14px 26px;
        color: #fff;
        font-size: 16px;
        border-radius: 50px;
        text-transform: uppercase;
        cursor: pointer;
        font-weight: normal;
        font-family: 'monSB';
        transition: all .3s ease;
        box-shadow: 0 5px 16px rgba(76,175,80,.3);
    }

        .submit-b input[type="submit"]:hover {
            background: #f8bc1c;
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgb(194 196 243);
        }

/* =======================
   RESPONSIVE – MOBILE
   ======================= */

@media (max-width: 768px) {
    .form-book-event {
        padding: 20px;
    }

        .form-book-event h3 {
            font-size: 20px;
        }

    .form-event-full-btn {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-b span {
        font-size: 14px;
    }

    .submit-b input[type="submit"] {
        width: 100%;
        padding: 15px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .form-book-event {
        padding: 16px;
    }

    .form-b input,
    .form-b textarea,
    .form-b select {
        font-size: 16px;
        height: 50px;
    }

    .form-b textarea {
        height: 100px;
    }
}