/* Start custom CSS *//* CSS cho desktop */
@media (min-width: 1024px) { 
.container_loop_pj {
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, .16);
    display: fitem_detaillex;
    flex-direction: column;
    border-radius: 4px;
    height: 100%;
    transition: all .5s;
    border: 1px solid transparent;
    overflow: hidden !important;
}



.container_loop_pj:hover   {
    box-shadow: none;
    border: 1px solid var(--color-hover-brand);
    transition: all .6s ease;
    overflow: hidden !important;
    }

.container_loop_pj h4 {
    padding: 0 20px;
    color: var(--color-black);
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 600;
    line-height: 23px;
    display: -webkit-box;
    -webkit-box-orient: vertical; /* Đặt hướng cho box là dọc */
    overflow: hidden;              /* Ẩn phần nội dung vượt quá */
    -webkit-line-clamp: 2;        /* Giới hạn số dòng hiển thị là 3 */
    text-overflow: ellipsis; 
}

.container_loop_pj:hover h4 {
    color: var(--red-brand);
}

/*item loop*/
.item_detail {
    margin-top: 15px;
    padding: 20px;
    padding-top: 0;
}

.custom_item_loop {
    color: #2F374A;
    font-size: 1.2rem;
    letter-spacing: 0;
    display: -webkit-box;
  -webkit-line-clamp: 3;     
  -webkit-box-orient: vertical; 
  overflow: hidden;          
  text-overflow: ellipsis;   
  line-height: 1.5;
  /*max-height: calc(1.5em * 2);*/
}
.custom_item_loop p {
    all: unset;
}

span.item__custom {
    display: block;
    font-size: 1.3rem;
    height: 25px;
    color: #2F374A;
    font-weight: bold;
    letter-spacing: -0.2px;
    margin-bottom: -5px;
}

.custom_item_loop .elementor-heading-title {
    height: 54px;
    
}

.item_detail .e-con-inner {
    display: flex;
    /*align-items: center !important;*/
        justify-content: flex-start !important;
    gap: 30px;
}

.item_detail_custome {
    flex: 1; 
}

}

/*Responsive Tablet*/
@media (min-width: 768px) and (max-width: 1023px) {
    .container_loop_pj {
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    height: 100%;
    transition: all .5s;
    border: 1px solid transparent;
    overflow: hidden !important;
}


.container_loop_pj:hover   {
    box-shadow: none;
    border: 1px solid var(--color-hover-brand);
    transition: all .6s ease;
    overflow: hidden !important;
    }

.container_loop_pj h4 {
    padding: 0 10px;
    color: var(--color-black);
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 600;
    line-height: 23px;
    display: -webkit-box;
    -webkit-box-orient: vertical; /* Đặt hướng cho box là dọc */
    overflow: hidden;              /* Ẩn phần nội dung vượt quá */
    -webkit-line-clamp: 2;        /* Giới hạn số dòng hiển thị là 3 */
    text-overflow: ellipsis; 
}

.container_loop_pj:hover h4 {
    color: var(--red-brand);
}

/*item loop*/
.item_detail {
    margin-top: 10px;
    padding: 10px;
    padding-top: 0;
}

.custom_item_loop {
    color: #2F374A;
    font-size: 1.2rem;
    letter-spacing: 0;
    display: -webkit-box;
  -webkit-line-clamp: 2;     
  -webkit-box-orient: vertical; 
  overflow: hidden;          
  text-overflow: ellipsis;   
  line-height: 1.5;
}
.custom_item_loop p {
    all: unset;
}

span.item__custom {
    display: block;
    font-size: 1.3rem;
    height: 25px;
    color: #2F374A;
    font-weight: bold;
    letter-spacing: -0.2px;
    margin-bottom: -5px;
}

/*.custom_item_loop .elementor-heading-title {*/
/*    height: 54px;*/
/*}*/

.item_detail .e-con-inner {
    display: flex;
        justify-content: flex-start !important;
    gap: 30px;
}

.item_detail_custome:nth-child(1){
     flex: 1.2;
}

.item_detail_custome:nth-child(2), .item_detail_custome:nth-child(3) {
    flex: 1;
}  
}


/* CSS cho mobile */
@media (max-width: 767px) {
    .container_loop_pj {
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    height: 100%;
    transition: all .5s;
    border: 1px solid transparent;
    overflow: hidden !important;
}


.container_loop_pj:hover   {
    box-shadow: none;
    border: 1px solid var(--color-hover-brand);
    transition: all .6s ease;
    overflow: hidden !important;
    }

.container_loop_pj h4 {
    padding: 0 10px;
    color: var(--color-black);
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 600;
    line-height: 23px;
    display: -webkit-box;
    -webkit-box-orient: vertical; /* Đặt hướng cho box là dọc */
    overflow: hidden;              /* Ẩn phần nội dung vượt quá */
    -webkit-line-clamp: 2;        /* Giới hạn số dòng hiển thị là 3 */
    text-overflow: ellipsis; 
}

.container_loop_pj:hover h4 {
    color: var(--red-brand);
}

/*item loop*/
.item_detail {
    margin-top: 10px;
    padding: 10px;
    padding-top: 0;
}

.custom_item_loop {
    color: #2F374A;
    font-size: 1.2rem;
    letter-spacing: 0;
    display: -webkit-box;
  -webkit-line-clamp: 3;     
  -webkit-box-orient: vertical; 
  overflow: hidden;          
  text-overflow: ellipsis;   
  line-height: 1.5;
}
.custom_item_loop p {
    all: unset;
}

span.item__custom {
    display: block;
    font-size: 1.3rem;
    height: 25px;
    color: #2F374A;
    font-weight: bold;
    letter-spacing: -0.2px;
    margin-bottom: -5px;
}

/*.custom_item_loop .elementor-heading-title {*/
/*    height: 54px;*/
/*}*/

.item_detail .e-con-inner {
    display: flex;
        justify-content: flex-start !important;
    gap: 30px;
}

.item_detail_custome:nth-child(1){
     flex: 1.4;
}

.item_detail_custome:nth-child(2), .item_detail_custome:nth-child(3) {
    flex: 1;
}

}/* End custom CSS */
/* Start custom CSS *//* CSS cho desktop */
@media (min-width: 1024px) { 
.container_loop_pj {
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, .16);
    display: fitem_detaillex;
    flex-direction: column;
    border-radius: 4px;
    height: 100%;
    transition: all .5s;
    border: 1px solid transparent;
    overflow: hidden !important;
}



.container_loop_pj:hover   {
    box-shadow: none;
    border: 1px solid var(--color-hover-brand);
    transition: all .6s ease;
    overflow: hidden !important;
    }

.container_loop_pj h4 {
    padding: 0 20px;
    color: var(--color-black);
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 600;
    line-height: 23px;
    display: -webkit-box;
    -webkit-box-orient: vertical; /* Đặt hướng cho box là dọc */
    overflow: hidden;              /* Ẩn phần nội dung vượt quá */
    -webkit-line-clamp: 2;        /* Giới hạn số dòng hiển thị là 3 */
    text-overflow: ellipsis; 
}

.container_loop_pj:hover h4 {
    color: var(--red-brand);
}

/*item loop*/
.item_detail {
    margin-top: 15px;
    padding: 20px;
    padding-top: 0;
}

.custom_item_loop {
    color: #2F374A;
    font-size: 1.2rem;
    letter-spacing: 0;
    display: -webkit-box;
  -webkit-line-clamp: 3;     
  -webkit-box-orient: vertical; 
  overflow: hidden;          
  text-overflow: ellipsis;   
  line-height: 1.5;
  /*max-height: calc(1.5em * 2);*/
}
.custom_item_loop p {
    all: unset;
}

span.item__custom {
    display: block;
    font-size: 1.3rem;
    height: 25px;
    color: #2F374A;
    font-weight: bold;
    letter-spacing: -0.2px;
    margin-bottom: -5px;
}

.custom_item_loop .elementor-heading-title {
    height: 54px;
    
}

.item_detail .e-con-inner {
    display: flex;
    /*align-items: center !important;*/
        justify-content: flex-start !important;
    gap: 30px;
}

.item_detail_custome {
    flex: 1; 
}

}

/*Responsive Tablet*/
@media (min-width: 768px) and (max-width: 1023px) {
    .container_loop_pj {
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    height: 100%;
    transition: all .5s;
    border: 1px solid transparent;
    overflow: hidden !important;
}


.container_loop_pj:hover   {
    box-shadow: none;
    border: 1px solid var(--color-hover-brand);
    transition: all .6s ease;
    overflow: hidden !important;
    }

.container_loop_pj h4 {
    padding: 0 10px;
    color: var(--color-black);
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 600;
    line-height: 23px;
    display: -webkit-box;
    -webkit-box-orient: vertical; /* Đặt hướng cho box là dọc */
    overflow: hidden;              /* Ẩn phần nội dung vượt quá */
    -webkit-line-clamp: 2;        /* Giới hạn số dòng hiển thị là 3 */
    text-overflow: ellipsis; 
}

.container_loop_pj:hover h4 {
    color: var(--red-brand);
}

/*item loop*/
.item_detail {
    margin-top: 10px;
    padding: 10px;
    padding-top: 0;
}

.custom_item_loop {
    color: #2F374A;
    font-size: 1.2rem;
    letter-spacing: 0;
    display: -webkit-box;
  -webkit-line-clamp: 2;     
  -webkit-box-orient: vertical; 
  overflow: hidden;          
  text-overflow: ellipsis;   
  line-height: 1.5;
}
.custom_item_loop p {
    all: unset;
}

span.item__custom {
    display: block;
    font-size: 1.3rem;
    height: 25px;
    color: #2F374A;
    font-weight: bold;
    letter-spacing: -0.2px;
    margin-bottom: -5px;
}

/*.custom_item_loop .elementor-heading-title {*/
/*    height: 54px;*/
/*}*/

.item_detail .e-con-inner {
    display: flex;
        justify-content: flex-start !important;
    gap: 30px;
}

.item_detail_custome:nth-child(1){
     flex: 1.2;
}

.item_detail_custome:nth-child(2), .item_detail_custome:nth-child(3) {
    flex: 1;
}  
}


/* CSS cho mobile */
@media (max-width: 767px) {
    .container_loop_pj {
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 8px 20px -2px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    height: 100%;
    transition: all .5s;
    border: 1px solid transparent;
    overflow: hidden !important;
}


.container_loop_pj:hover   {
    box-shadow: none;
    border: 1px solid var(--color-hover-brand);
    transition: all .6s ease;
    overflow: hidden !important;
    }

.container_loop_pj h4 {
    padding: 0 10px;
    color: var(--color-black);
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 600;
    line-height: 23px;
    display: -webkit-box;
    -webkit-box-orient: vertical; /* Đặt hướng cho box là dọc */
    overflow: hidden;              /* Ẩn phần nội dung vượt quá */
    -webkit-line-clamp: 2;        /* Giới hạn số dòng hiển thị là 3 */
    text-overflow: ellipsis; 
}

.container_loop_pj:hover h4 {
    color: var(--red-brand);
}

/*item loop*/
.item_detail {
    margin-top: 10px;
    padding: 10px;
    padding-top: 0;
}

.custom_item_loop {
    color: #2F374A;
    font-size: 1.2rem;
    letter-spacing: 0;
    display: -webkit-box;
  -webkit-line-clamp: 3;     
  -webkit-box-orient: vertical; 
  overflow: hidden;          
  text-overflow: ellipsis;   
  line-height: 1.5;
}
.custom_item_loop p {
    all: unset;
}

span.item__custom {
    display: block;
    font-size: 1.3rem;
    height: 25px;
    color: #2F374A;
    font-weight: bold;
    letter-spacing: -0.2px;
    margin-bottom: -5px;
}

/*.custom_item_loop .elementor-heading-title {*/
/*    height: 54px;*/
/*}*/

.item_detail .e-con-inner {
    display: flex;
        justify-content: flex-start !important;
    gap: 30px;
}

.item_detail_custome:nth-child(1){
     flex: 1.4;
}

.item_detail_custome:nth-child(2), .item_detail_custome:nth-child(3) {
    flex: 1;
}

}/* End custom CSS */