:root {
    --style-pboot: 6rem;
    --style-pboot-m: 2.4rem;
}

.kh-resource-module {
    font-size: 1.4rem;
    line-height: 2.6rem;
    color: var(--text-color);
    position: relative;
    padding: 0;
}

.kh-resource-main>* {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
}

/* banner */
.kh-page-banner {
    max-width: unset;
}

/* 组织 */
.swiper-grid-module {
    max-width: unset;
    background: url(../images/resource_org_bg.png) repeat center top;
    height: 797px;
}

.swiper-grid-module-title {
    padding: 12rem 0 8rem 0;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 4rem;
    color: var(--text-subcolor);
    text-align: center;
}

.kh-swiper-grid {
    max-width: var(--max-width);
    width: 100%;
    height: 34rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}
.swiper-grid-slide > a{
    display: block;
    text-align: center;
    overflow: hidden;
}
.swiper-grid-image {
    float: left;
}
.swiper-grid-aimg{
    box-shadow: 0 0.5rem 1.5rem 0 rgba(0, 0, 0, 0.08);
}
.swiper-grid-title{
    font-family: MicrosoftYaHei;
    font-size: 1.6rem;
    color: var(--text-subcolor);
    letter-spacing: 1px;
    line-height: 2.2rem;
    padding-top: 2.8rem;
}

.swiper-grid-button-prev,
.swiper-grid-button-next {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 2.8rem;
    border: 0.2rem solid #CCCCCC;
    top: unset;
    bottom: 6.8rem;
    background-image: none;
    color: #CCCCCC;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.swiper-grid-button-prev:hover,
.swiper-grid-button-next:hover {
    color: #FFFFFF;
    border-color: var(--theme-color);
    background-color: var(--theme-color);
}

.swiper-grid-button-prev::before {
    content: "\e683";
}

.swiper-grid-button-next::before {
    content: "\e685";
}

.swiper-grid-button-next::after,
.swiper-grid-button-prev::after {
    content: none;
}

.swiper-grid-button-prev {
    left: calc(50% - 5.6rem - 8rem);
}

.swiper-grid-button-next {
    right: calc(50% - 5.6rem);
}

.swiper-grid-pagination {
    width: 8rem;
    left: calc(50% - 4rem) !important;
    bottom: 8rem !important;
    z-index: 7;
}

/* 影像 */
.swiper-photograph-module {
    max-width: unset;
    position: relative;
    margin-top: 8rem;
}

.kh-swiper-photograph {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    overflow: unset;
}

.swiper-photograph-slide {
    height: 97rem;
    opacity: 0 !important;
}
.swiper-slide-visible{
    opacity: 1 !important;
}

.swiper-photograph-image {
    width: 91rem;
    height: 57rem;
    max-width: 100%;
    border: 2rem solid #FFFFFF;
    box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, 0.12), inset 0 0.1rem 1rem 0.7rem #FFFFFF;
    transform: rotate(6deg);
    position: absolute;
    right: -7.2rem;
    top: 0;
    z-index: 2;
}

.swiper-photograph-module-title {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 4rem;
    color: var(--text-subcolor);
    position: absolute;
    top: 11rem;
    left: 0;
    z-index: 2;
}

.swiper-photograph-textbg {
    border: 2rem solid rgba(30, 163, 28, 0.6);
    width: 98rem;
    height: 50rem;
    transform: rotate(-6deg);
    position: absolute;
    top: 36rem;
    left: -37rem;
    z-index: 1;
}

.swiper-photograph-text {
    width: 54rem;
    height: 12.8rem;
    position: absolute;
    top: 56rem;
    left: 0;
    z-index: 2;
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--text-subcolor);
    line-height: 3.2rem;
    background-color: #FFFFFF;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiper-photograph-leftbg,
.swiper-photograph-rightbg {
    max-width: 56.6%;
    position: absolute;
}

.swiper-photograph-leftbg {
    top: 22.4rem;
    left: -18rem;
}

.swiper-photograph-rightbg {
    right: -9rem;
    bottom: 18rem;
}

.swiper-photograph-pagination {
    width: unset;
    position: absolute;
    bottom: 22rem;
    left: 0;
    font-size: 2.4rem;
    color: var(--text-attrcolor);
}

.swiper-pagination-current {
    font-size: 5.2rem;
    color: var(--text-subcolor);
}

.swiper-photograph-button-prev,
.swiper-photograph-button-next {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 2.8rem;
    border: 0.2rem solid #CCCCCC;
    top: unset;
    left: 22rem;
    bottom: 22rem;
    background-image: none;
    color: #CCCCCC;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.swiper-photograph-button-next {
    left: 30rem;
}

.swiper-photograph-button-prev:hover,
.swiper-photograph-button-next:hover {
    color: #FFFFFF;
    border-color: var(--theme-color);
    background-color: var(--theme-color);
}

.swiper-photograph-button-prev::before {
    content: "\e683";
}

.swiper-photograph-button-next::before {
    content: "\e685";
}

.swiper-photograph-button-next::after,
.swiper-photograph-button-prev::after {
    content: none;
}

.swiper-pagination-bullet-active{
    background-color: var(--theme-color);
}

/* 底部背景 */
.kh-resource-page-bg {
    max-width: unset;
    margin-top: -4.5rem;
    position: relative;
    z-index: 0;
}

@media only screen and (max-width: 576px) {
    .kh-resource-module { padding: 0;}
    .swiper-grid-module{ height: 40rem;}
    .swiper-grid-module-title{ font-size: 1.6rem; font-weight: bold; padding: 3rem 0; line-height: unset;}
    .kh-swiper-grid{ padding-left: 2%; padding-right: 2%;}
    .swiper-grid-title{ font-size: 1.2rem; padding-top: 0.5rem;}
    .kh-swiper-grid{ height: 24rem;}
    .swiper-grid-button-prev, .swiper-grid-button-next{ display: none;}
    .swiper-grid-pagination{ bottom: 2rem !important; left: 50% !important;}
    .swiper-photograph-slide{ height: 52rem;}
    .swiper-photograph-image{ width: 92%; height: unset; right: unset; left: 4%; border-width: 0.8rem;}
    .swiper-photograph-textbg{ width: 92%; height: 28rem; left: -30%; top: 15rem; border-width: 1.2rem;}
    .swiper-photograph-module-title{ top: 0; text-align: center; font-size: 1.6rem; font-weight: bold;}
    .swiper-photograph-module{ margin-top: 2rem;}
    .kh-swiper-photograph{ padding-top: 6rem;}

    .swiper-photograph-text{ font-size: 1.6rem; width: 50%; height: auto; line-height: 2.4rem; top: 30rem; left: 2%;}
    .swiper-photograph-button-prev, .swiper-photograph-button-next{ display: none;}
    .swiper-photograph-pagination{ left: unset; right: 6%; bottom: 12rem; overflow: hidden;}
    .swiper-pagination-current{ font-size: 3.2rem;}
    .swiper-photograph-pagination{ font-size: 2.4rem;}
    .swiper-photograph-leftbg{ left: 2%; top: 31rem;}
    .swiper-photograph-rightbg{ top: 3.5rem; right: 2%; bottom: unset;}
}