.homepage-other-headlines-section>div:first-child,
.homepage-other-headlines-section>div:nth-child(2),
.homepage-other-headlines-ajx-posts>div {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.homepage-other-headlines-section,
.homepage-other-headlines-ajx-posts {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0px;
}

.homepage-other-headlines-ajx-posts {
    padding: 0 0;
}

.homepage-other-headlines-section>div:first-child {
    padding-right: 20px;
}

.homepage-other-headlines-post,
.homepage-other-headlines-ajx-posts .homepage-other-headlines-post,
.homepage-other-headlines-ajx-posts .homepage-other-headlines-post:first-child,
.homepage-other-headlines-ajx-posts .homepage-other-headlines-post:last-child {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: solid 1px #d7d7d7;
}

.homepage-main-banner.no-banner + #homepage-other-headlines-section-right-col .homepage-other-headlines-post:first-child {
    border-top: none;
}

.homepage-other-headlines-first-post {
    margin-bottom: 20px;
}

.homepage-headline-more {
    background: #E5E5E5;
    padding: 8px 0;
    color: #7C7C7C;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homepage-headline-more img {
    margin-left: 10px;
}

.homepage-headline-more:hover {
    cursor: pointer;
}

.homepage-other-headlines-ajx-posts>div:nth-child(odd) {
    padding-right: 20px;
}

.homepage-other-headlines-ajx-posts>div:nth-child(odd) {
    padding-right: 20px;
}

@media (max-width:768px) {

    .homepage-other-headlines-section>div:first-child,
    .homepage-other-headlines-section>div:nth-child(2),
    .homepage-other-headlines-ajx-posts>div {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-top: 0px;
    }

    .homepage-other-headlines-section>div:first-child,
    .homepage-other-headlines-ajx-posts>div:nth-child(odd) {
        padding-right: 0px;
    }

    .homepage-other-headlines-post:first-child {
        border-top: solid 1px #d7d7d7;
        padding-top: 20px;
    }

    .homepage-other-headlines-post:last-child {
        padding-bottom: 20px;
    }

    .homepage-other-headlines-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .homepage-main-banner {
        padding-top: 30px;
    }
}

.homepage-other-headlines-ajx-posts:not(.expanded){
    display: none;
}

.homepage-hotpost-header.hotpost-header {
    margin-bottom: 10px;
}

.homepage-hotpost-wrapper-with-banner,
.homepage-hotvideo-wrapper-with-banner {
    display: flex;
    align-items: center;
    padding: 15px 0px;
    margin-top: 50px;
}

.homepage-main-banner {
    width: 100%;
    position: relative;
    top: -30px;
}

.homepage-hotpost-wrapper-with-banner.no-banner .homepage-main-banner,
.homepage-hotvideo-wrapper-with-banner.no-banner .homepage-main-banner {
    flex: 0 0 0%;
    max-width: 0%;
    width: 0%;
    position: relative;
    display: none;
}

.homepage-main-banner img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}


.homepage-hotpost-wrapper{
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.homepage-hotvideo-wrapper{
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.homepage-hotpost-wrapper-with-banner.no-banner .homepage-hotpost-wrapper
.homepage-hotvideo-wrapper-with-banner.no-banner .homepage-hotvideo-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

@media (max-width:639px) {
    .homepage-hotpost-wrapper-with-banner,
    .homepage-hotvideo-wrapper-with-banner {
        flex-wrap: wrap;
    }

    .homepage-main-banner,
    .homepage-hotpost-wrapper,
    .homepage-hotvideo-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        position: relative;
        margin-top:20px;
        margin-bottom:20px;
    }
}

.homepage-hotpost-wrapper .swiper-slide,
.homepage-hotvideo-wrapper .swiper-slide{
    height: auto;
    display: flex;
    align-items: stretch;
}

#homehotvideoswiper {
    margin-top: 10px;
}

.home-category-post-wrapper {
    padding: 30px 0;
}

.homepage-subsites-widget {
    padding: 30px 0px;
}

.homepage-subsites-widget-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.homepage-subsites-widget-menu {
    padding: 5px 10px 0px 20px;
}

.homepage-subsites-widget-menu>span {
    padding: 5px 15px;
    border-left: solid 1px #D9D9D9;
    display: inline-block;
}

.homepage-subsites-widget-menu>span:hover {
    cursor: pointer;
}

.homepage-subsites-widget-menu>span:first-child {
    border-left: none;
}

.homepage-subsites-widget-menu>span.current {
    color: #824CEF;
}

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

.homepage-subsites-widget-content-wrapper {
    display: flex;
    margin-top: 10px;
}

.homepage-subsites-widget-content-wrapper .title-bar:not(.current) {
    display: none;
}

.homepage-subsites-widget-content-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;
}

.homepage-subsites-widget-content-wrapper .title-bar .site-title {
    font-size: 1.9rem;
    color: #ffffff;
    width: 1.9rem;
    display: block;
    flex: 0 0 1.9rem;
}

.homepage-subsites-widget-content-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;
}

.homepage-subsites-widget-content {
    flex: 1;
}

.homepage-subsites-widget-content:not(.current) {
    display: none;
}

.homepage-subsites-widget-content .vertical-post {
    flex: 0 0 33.333%;
    padding-left: 20px;
    padding-bottom: 20px;
}

@media (max-width: 600px) {
    .homepage-subsites-widget-content {
        flex-wrap: wrap;
    }

    .homepage-subsites-widget-content .vertical-post {
        flex: 0 0 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
}

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

    .homepage-subsites-widget-menu>span {
        padding: 10px 15px;
    }

    .homepage-subsites-widget-content-wrapper .title-bar {
        padding: 50px 0px;
        align-items: flex-start;
    }

    .homepage-subsites-widget-content-wrapper .title-bar .site-title {
        margin-bottom: 50px;
    }
}

.home-category-post-wrapper-style2 {
    margin-top: 10px;
}


.home-category-post-wrapper-style2-first-post {
    flex: 0 0 35%;
    max-width: 35%;
    width: 35%;
    border: 1px solid #ffffff;
}

.home-category-post-wrapper-style2-first-post>a:first-child {
    display: block;
    height: 100%;
    background: #000000;
}

.home-category-post-wrapper-style2 .vertical-post {
    flex: 0 0 calc(65% / 3);
    max-width: calc(65% / 3);
    width: calc(65% / 3);
    padding-left: 10px;
}

@media (max-width: 700px) {

    .home-category-post-wrapper-style2-first-post,
    .home-category-post-wrapper-style2 .vertical-post {
        flex: 0 0 calc(100%);
        max-width: calc(100%);
        width: calc(100%);
    }

    .home-category-post-wrapper-style2-first-post {
        margin-bottom: 10px;
    }

    .home-category-post-wrapper-style2 .vertical-post {
        padding-bottom: 10px;
        padding-left: 0;
    }


    .home-category-post-wrapper-style2 {
        flex-wrap: wrap;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.homepage-dajiangtang-wrapper{
    background-color: #E1E1EF;
    display: flex;
    justify-content: center;
}

.homepage-dajiangtang-wrapper .page-inner-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0px;
    align-items: flex-start;
}

.homepage-dajiangtang-wrapper  .page-section-title::before{
    border-left: 14px solid #E1E1EF;
}

.homepage-dajiangtang-wrapper-left {
    flex: 0 0 60%;
    max-width: 60%;
    width: 60%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.homepage-dajiangtang-wrapper-right {
    flex: 0 0 40%;
    max-width: 40%;
    width: 40%;
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.homepage-dajiangtang-wrapper-left:not(.active) {
    display: none;
}

.homepage-dajiangtang-wrapper-left-row1,
.homepage-dajiangtang-wrapper-left-row2,
.homepage-dajiangtang-wrapper-left-row3 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0px;
}

.homepage-dajiangtang-wrapper-left-row1,
.homepage-dajiangtang-wrapper-left-row3 {
    width: 90%;
}

.homepage-dajiangtang-wrapper-left-row1 .dialog-box-wrapper:first-child,
.homepage-dajiangtang-wrapper-left-row3 .dialog-box-wrapper:first-child {
    margin-right: 15px;
}

.homepage-dajiangtang-wrapper-left-row1 .dialog-box-wrapper:last-child,
.homepage-dajiangtang-wrapper-left-row3 .dialog-box-wrapper:last-child {
    margin-left: 15px;
}

.dialog-box-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: calc(50% - 15px);
    position: relative;
}

.dialog-box-wrapper.right{
    justify-content: flex-end;
}

.dialog-box-wrapper .dialog-box {
    width: calc(70% + 20px);
    border: 1px solid #D6D6D6;
    padding: 20px;
    color: #666666;
    position: relative;
    border-radius: 10px;
    background-color: #ffffff;
}

.dialog-box-wrapper .dialog-box a {
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
}

.dialog-box-wrapper .dialog-box .post-meta {
    padding: 12px 0px;
}

.dialog-box-wrapper .author-img {
    width: 30%;
    position: absolute;
    top: -5px;
    bottom: -5px;
    z-index: 1;
}

.dialog-box-wrapper .author-img img{
    max-width: 100%;
    width: auto;
    height:100%;
}

.dialog-box-wrapper.left .author-img{
    left: 70%;
}

.dialog-box-wrapper.right .author-img{
    left: 0;
}

.author-group-switch .arrow {
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
}

.author-group-switch .arrow.disabled {
    border: solid #864700;
    border-width: 0 2px 2px 0;
}

.author-group-switch .arrow:not(.disabled):hover {
    cursor: pointer;
}

.author-group-switch .arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.author-group-switch .arrow.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.homepage-dajiangtang-wrapper-left-row2 {
    width: 100%;
    margin: 0;
}

.homepage-dajiangtang-wrapper-left-row2 .dialog-box-wrapper {
    width: calc(33.33% + 25px);
    padding: 5px 0px;
}

.author-group-switch {
    width: 33.33%;
    background-color: #B86303;
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    color: #ffffff;
    border-radius: 54px;
}

.homepage-dajiangtang-wrapper-left-row2 .dialog-box-wrapper:first-child {
    margin-right: -25px;
}

.homepage-dajiangtang-wrapper-left-row2 .dialog-box-wrapper:last-child {
    margin-left: -25px;
}

.homepage-dajiangtang-section-title {
    width: 100%;
}

.homepage-dajiangtang-wrapper-right-bg {
    width: 100%;
}

.homepage-dajiangtang-wrapper-right-bg .homepage-dajiangtang-section-title{
    margin-bottom: 20px;
}

.homepage-swiper-comic-wrapper{
    position: relative;
    padding: 0 10px;
}

.homepage-swiper-comic-wrapper > .swiper{
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-button-next-comic .arrow,
.swiper-button-prev-comic .arrow {
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.swiper-button-next-comic .arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.swiper-button-prev-comic .arrow.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.swiper-button-next-comic,
.swiper-button-prev-comic {
    position: absolute;
    z-index: 1;
    top:50%;
    transform: translateY(-50%);
    padding: 20px 7px;
    background: #444444;
}

.swiper-button-next-comic{
    right: 0px;
}

.swiper-button-prev-comic{
    left: 0px;
}


.swiper-button-next-comic.swiper-button-disabled,
.swiper-button-prev-comic.swiper-button-disabled {
    background: #D5D5D5;
}

.swiper-button-next-comic:not(.swiper-button-disabled):hover,
.swiper-button-prev-comic:not(.swiper-button-disabled):hover {
    cursor: pointer;
}

.homepage-swiper-comic-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px
}

.homepage-swiper-comic-controls .swiper-pagination-wrapper {
    flex-grow: 1;
    position: relative;
    height: 30px
}

.homepage-swiper-comic-controls .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;
}

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

.homepage-swiper-comic-controls .swiper-pagination-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFDE43;
    height: 8px;
    width: 30px;
}

.homepage-swiper-comic-controls .swiper-pagination-wrapper .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
}


@media(max-width:1199px) {

    .homepage-dajiangtang-wrapper-right,
    .homepage-dajiangtang-wrapper-left {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .homepage-dajiangtang-wrapper-right {
        margin-top: 10px;
        justify-content: center;
    }

    .homepage-dajiangtang-wrapper-right-bg {
        max-width: 500px;
    }
}

.main-banner-swiper{
    width: 60%;
}

.main-banner-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
}

.main-banner-swiper .swiper-slide a{
    position: relative;
    width: 100%;
    padding-bottom: 25.73%;
    overflow: hidden;
    display: block;
}


.main-banner-swiper .swiper-slide a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.main-banner-swiper:not(.count-1) .swiper-wrapper.state {
    transform: rotateY(-20deg) !important;
}

.homepage-subsites-widget-content.current.ads-loaded .homepage-subsites-widget-rect-ads {
    flex: 0 0 340px;
    padding-left: 20px;
    padding-bottom: 20px;
    max-height: 270px;
}

.homepage-subsites-widget-content.current.ads-loaded .vertical-post{
    flex: 0 0 calc(50% - 170px);
    padding-left: 20px;
    padding-bottom: 20px;
}

.homepage-subsites-widget-content.current.ads-loaded .vertical-post:last-child{
    display:none;
}

/** SUBSITE */
.homepage-huashezhuanqu-wrapper {
    margin-bottom: 20px;
}

.huashequanqu-menu-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
}

.huashequanqu-menu-wrapper .huashequanqu-menu-item {
    background: #626592;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 25px;
    cursor: pointer;
}

.huashequanqu-menu-wrapper .huashequanqu-menu-item:first-of-type {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.huashequanqu-menu-wrapper .huashequanqu-menu-item:last-of-type {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.huashequanqu-menu-wrapper .huashequanqu-menu-item.active {
    background: #ff7b09;
}

.huashequanqu-menu-wrapper > a {
    text-decoration: none;
    color: #8383B4;
    font-size: 12px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.huashequanqu-menu-wrapper > a:last-child .arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.huashequanqu-menu-wrapper > a:last-child .arrow {
    border: solid #8383B4;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.huashequanqu-tabs-wrapper {
    margin-top: 20px;
}

.huashequanqu-tabs-wrapper .huashequanqu-tab:not(.active) {
    display: none;
}

.subsite-homepage-dajiangtang-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.subsite-homepage-dajiangtang-wrapper .homepage-dajiangtang-wrapper-left-container {
    flex: 0 0 60%;
    max-width: 60%;
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.subsite-homepage-dajiangtang-wrapper .author-group-switch {
    justify-content: center;
}

.home-react-ads-wrapper.ads-loaded .home-react-ads {
    display: flex;
    margin-right: 10px;
}

.home-react-ads-wrapper.ads-loaded .homepage-category-post-wrapper-rect-ads {
    flex: 0 0 300px;
}

.home-react-ads-wrapper.ads-loaded .home-react-ads ins[data-ad-status="unfilled"] {
    display: none !important;
}
/** SUBSITE END */