.main-cat-page-6-4-frame {
    margin: 10px 0px;
    display: flex;
    flex-wrap: wrap;
}

.main-cat-page-6-4-frame-left {
    flex:  0 0 55%;
    max-width: 55%;
    width: 55%;
    padding-right: 20px;
}

.main-cat-page-6-4-frame-right {
    flex:  0 0 45%;
    max-width: 45%;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width:767px) {
    .main-cat-page-6-4-frame-left,
    .main-cat-page-6-4-frame-right {
        flex:  0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .main-cat-page-6-4-frame-left{
        padding-bottom: 10px;
    }
}

.main-cat-page-6-4-frame-left .vertical-post:last-child {
    margin-bottom: 20px;
}


.main-cat-page-6-4-frame-left .vertical-post .title h2{
    margin: 12px 0px;
}

.main-cat-page-6-4-frame-right .horizontal-post:not(:last-child){
    margin-bottom: 10px; 
}

.main-cat-page-6-4-frame-right .horizontal-post:last-child{
    margin-bottom: 20px; 
}

.main-cat-page-6-4-frame-right .horizontal-post .horizontal-post-right{
    justify-content: flex-start
}

.main-cat-page-ajx-posts {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
}

.main-cat-page-ajx-posts>div {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.main-cat-page-ajx-post,
.main-cat-page-ajx-posts .main-cat-page-ajx-post,
.main-cat-page-ajx-posts .main-cat-page-ajx-post:first-child,
.main-cat-page-ajx-posts .main-cat-page-ajx-post:last-child {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: solid 1px #d7d7d7;
}

.main-cat-page-ajx-posts>div:nth-child(odd) {
    padding-right: 20px;
}

.main-cat-page-ajx-posts>div:nth-child(odd) {
    padding-right: 20px;
}

@media (max-width:768px) {

    .main-cat-page-ajx-posts>div {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-top: 0px;
    }

    .main-cat-page-ajx-posts>div:nth-child(odd) {
        padding-right: 0px;
    }

    .main-cat-page-ajx-post:first-child {
        border-top: solid 1px #d7d7d7;
        padding-top: 20px;
    }

    .main-cat-page-ajx-post:last-child {
        padding-bottom: 20px;
    }
}

/* Category ID 2380 template (chinese name:食玩咖)
* https://www.chinapress.com.my/category/%e9%a3%9f%e7%8e%a9%e5%92%96/
*/
.cat-page-2380-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 15.23%;
}

.cat-page-2380-banner img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.category-2380-new-title {
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    color: #ffffff;
    margin-bottom: 10px;
}

.category-2380-head-wrapper {
    margin-top: -9.62vw;
}

.category-2380-head-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category-2380-head-post {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding: 0px 10px 10px 10px;
}

.category-2380-head-posts-center-col {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
}

.category-2380-head-posts-side-col {
    flex: 0 0 24%;
    max-width: 24%;
    width: 24%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 600px){
    .category-2380-head-posts-center-col,
    .category-2380-head-posts-side-col{
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .category-2380-head-posts-center-col{
        margin: 10px 0px;
    }

    .category-2380-head-posts-side-col{
        flex-direction: row;
    }

    .category-2380-head-posts-side-col .category-2380-head-post{
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
        width: calc(50% - 5px);
    }

}

/**
 * This is Category ID 14  (chinese name:市场脉搏)
 * https://www.chinapress.com.my/category/%E5%B8%82%E5%9C%BA%E8%84%89%E6%90%8F/
 */
.category-14-head-posts{
    margin-bottom: 20px;
    display: flex;
    margin-top: 20px;
    align-items: center;
    background: #ececec;
}
.category-14-head-posts > a {
    flex:  0 0 50%;
    color: #575757;
    text-decoration: none;
}

.category-14-head-posts > a:nth-child(2) {
    padding: 0 5%;
}

.category-14-head-posts .desc {
    font-size: 0.9rem;
    color: #797979;
    font-weight: normal;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*end category 14 style */

/**
 * This is Category ID 43  (chinese name:粉红社)
 * https://www.chinapress.com.my/category/%e7%b2%89%e7%ba%a2%e7%a4%be/
 */
body.category-pinkbiz,
body.category-parent-43 {
    background: #ececec;
}

.category-pinkbiz-head-posts {
    margin-bottom: 20px;
    margin-top: 20px;
    background: #ffffff;
    position: relative;
}

.category-pinkbiz-head-posts>img {
    position: absolute;
    top: 10px;
    left: 10px;
}

.category-pinkbiz-head-post {
    display: flex;
    width: 100%;
}

.category-pinkbiz-head-post>div:first-child {
    width: 40%;
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
    left: 10%;
    padding: 10px 15px;
    margin: 8% 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #3C4951;
    z-index: 1;
}

.category-pinkbiz-head-post>div:nth-child(2) {
    width: 60%;
    flex: 0 0 60%;
    max-width: 60%;
}

.category-pinkbiz-head-post .title {
    font-size: 1.1rem;
    margin: 0 0 10px 0px;
    color: #ffffff;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.category-pinkbiz-head-post a {
    text-decoration: none;
}

.category-pinkbiz-head-post .post-meta {
    padding: 0;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
}

@media (max-width:767px) {
    .category-pinkbiz-head-posts>img {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .category-pinkbiz-head-post {
        flex-direction: column-reverse;
    }

    .category-pinkbiz-head-post>div:first-child {
        width: 90%;
        flex: 0 0 90%;
        max-width: 90%;
        left: 0;
        top: 50%;
        margin: 0 auto;
    }
    .category-pinkbiz-head-post>div:nth-child(2) {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        top: 90%;
    }
}

body.category-parent-43 .list-row {
    background-color: #ffffff;
    padding: 20px;
}

.sub-category-pinkbiz-posts .horizontal-post {
    padding: 10px 0;
}
/*end category 43 style */

/* Category ID 34422 template (chinese name:卓越青商)
* https://perak.chinapress.com.my/category/%E5%8D%93%E8%B6%8A%E9%9D%92%E5%95%86/
*/
.cat-page-34422-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 15.23%;
}

.cat-page-34422-banner img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.category-34422-headline-slider-wrapper {
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -35px;
    padding: 12px 12px 12px 12px;
    position: relative;
}

.category-34422-headline-slider-wrapper .swiper-button-next,
.category-34422-headline-slider-wrapper .swiper-button-prev{
    color: #5A5A5A;
    width: calc(35px / 44 * 27);
    height: 35px;
}

.category-34422-headline-slider-wrapper .swiper-button-next{
    right: -30px;
}
.category-34422-headline-slider-wrapper .swiper-button-prev{
    left: -30px;
}

.category-34422-headline-slider-wrapper .swiper-button-next:after,
.category-34422-headline-slider-wrapper .swiper-button-prev:after{
    font-size: 35px;
}

.category-34422-headline-slider-wrapper .swiper-pagination-wrapper{
    width: 100%;
    position: relative;
    height:30px
}

.category-34422-headline-slider-wrapper .swiper-pagination-wrapper .swiper-pagination-bullets {
    position: absolute;
    z-index: 21;
    right: 20px;
    text-align: center;
    bottom: auto !important;
    transform: translateX(-50%);
    left: 50% !important;
    top: 10px;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-34422-headline-slider-wrapper .swiper-pagination-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 10px;
    background: #062744;
    opacity: 0.2;
    transition: all 0.3s;
}

.category-34422-headline-slider-wrapper .swiper-pagination-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFDE43;
    height: 8px;
    width: 30px;
}

.category-34422-headline-slider-wrapper .swiper-pagination-wrapper .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
}

@media (max-width:1200px){
    .category-34422-headline-slider-wrapper{
        width: calc(100% - 94px);
        margin-top: -35px;
    }

    .cat34422page-headline-first-post .post-cover-image-shadow-text{
        padding-bottom: 35px;
    }

    .cat34422page-headline-first-post .post-cover-image-shadow-text a{
        width: calc(100% - 94px);
        display: inline-block;
        text-align: left;
    }
    .category-34422-headline-slider-wrapper .post-cover-image-shadow-text a h1 {
        font-size: 1rem;
    }
}

/*end category 34422 style */

/** SUBSITE */
/**
 * This is HuaSheZhuanQu  (chinese name:华社专区)
 * https://johor.chinapress.com.my/category/%e5%8d%8e%e7%a4%be%e4%b8%93%e5%8c%ba/
 */
.huashezhuanqu-page-cat {
    padding: 30px 0;
}

.huashezhuanqu-page-subcat {
    padding-top: 0;
}

.huashezhuanqu-page-cat-menu {
    margin-left: 20px;
    margin-right: auto;
}

.huashezhuanqu-page-cat-menu>span {
    padding: 5px 15px;
    border-left: solid 1px #D9D9D9;
    display: inline-block;
}

.huashezhuanqu-page-cat-menu>span:hover {
    cursor: pointer;
}

.huashezhuanqu-page-cat-menu>span:first-child {
    border-left: none;
}

.huashezhuanqu-page-cat-menu>span.current {
    color: #824CEF;
}

.huashezhuanqu-page-cat-menu>span.current::after {
    content: "";
    display: block;
    margin: 0 auto;
    position: relative;
    top: 8px;
    border-bottom: solid 3px #824CEF;
}

.huashezhuanqu-page-cat-profiles-wrapper {
    display: flex;
    margin-top: 10px;
}

.huashezhuanqu-page-cat-profiles-wrapper .title-bar:not(.current) {
    display: none;
}

.huashezhuanqu-page-cat-profiles-wrapper .title-bar {
    padding: 8px;
    background: url(/public_v3/resources/images/subsite-widget-bg.svg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.huashezhuanqu-page-cat-profiles-wrapper .title-bar .site-title {
    font-size: 1.9rem;
    color: #ffffff;
    width: 1.9rem;
    display: block;
    flex: 0 0 1.9rem;
}

.huashezhuanqu-page-cat-profiles-wrapper .title-bar>a {
    flex: 0 0 100%;
    text-align: center;
    width: 100%;
    margin-top: 20px;
    text-decoration: none;
    color: #ffffff;
    align-self: end;
    margin-bottom: 5px;
}

.huashezhuanqu-page-cat-profiles {
    flex: 0 0 calc(100% - 95px);
    max-width: calc(100% - 95px);
    width: calc(100% - 95px);
    margin-left: 15px;
}

.huashezhuanqu-page-subcat .huashezhuanqu-page-cat-profiles {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.huashezhuanqu-page-cat-profiles:not(.current) {
    display: none;
}

@media (max-width: 767px) {
    .huashezhuanqu-page-cat-menu {
        text-align: center;
        z-index: 3;
        background: #ffffff;
    }

    .huashezhuanqu-page-cat-menu>span {
        padding: 10px 15px;
    }

    .huashezhuanqu-page-cat-profiles-wrapper .title-bar {
        padding: 50px 0px;
        align-items: flex-start;
    }

    .huashezhuanqu-page-cat-profiles-wrapper .title-bar .site-title {
        margin-bottom: 50px;
    }
}
/** SUBSITE END */