/* Government Open Month content */
@import "https://at.alicdn.com/t/c/font_5124978_urkppyj8lae.css";
#main {
    overflow: hidden;
    color: #252525;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    letter-spacing: 0;
    background: linear-gradient(to bottom, #FFF2E0 280px, #FFFFFF 50%);
}

#main a {
    color: inherit;
    text-decoration: none;
}

.open-hero {
    overflow: hidden;
}

.open-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.featured-section {
    padding: 12px 0;
}

.featured-title {
    width: min(451px, 88vw);
    margin: 0 auto 26px;
}

.featured-title img {
    display: block;
    width: 100%;
    height: auto;
}

.featured-wrap {
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px;
    padding-bottom: 60px;
}

.featured-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(70, 50, 22, .08);
}

.featured-card__link {
    display: block;
}

.featured-card__media {
    position: relative;
    height: 236px;
    background: #eee;
}

.featured-card__media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}

.featured-card__link:hover .featured-card__media > img {
    transform: scale(1.035);
}

.featured-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    transform: translate(-50%, -50%);
}

.featured-card__play img {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-card__tag {
    position: absolute;
    bottom: -20px;
    left: 16px;
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
}

.featured-card__tag--notice {
    background: #f3ae27;
}

.featured-card__tag--signup {
    background: #28a960;
}

.featured-card h2 {
    display: -webkit-box;
    height: 68px;
    margin: 0;
    padding: 17px 16px 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    margin-top: 20px;
    margin-bottom: 20px;
}

.featured-carousel .owl-stage {
    display: flex;
    padding: 16px 0;
}

.featured-carousel .owl-item {
    display: flex;
    padding:0 10px;
}

#featuredCarousel .owl-nav .owl-prev,
#featuredCarousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    display: flex;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #D0B381;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1;
    transition: background-color .2s ease;
    font-size: 18px;
}

#featuredCarousel .owl-nav .owl-prev {
    left: -52px;
}

#featuredCarousel .owl-nav .owl-next {
    right: -52px;
}

#featuredCarousel .owl-nav .owl-prev:hover,
#featuredCarousel .owl-nav .owl-next:hover {
    background: #c59c50;
}

#featuredCarousel .owl-dots {
    position: absolute;
    right: 0;
    bottom: -42px;
    left: 0;
    text-align: center;
}

#featuredCarousel .owl-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 5px;
    border: 0;
    border-radius: 50%;
    background: #b9b9b9;
}

#featuredCarousel .owl-dot.active {
    background: #d0aa60;
}

.department-section {
    padding: 24px 0 74px;
    background: #fbf5ec;
}

.section-heading {
    position: relative;
    margin: 0 auto 33px;
    text-align: center;
}

.section-heading img {
    display: block;
    height: 105px;
    margin:0 auto;
}

.section-heading--department {
    width: 100%;
}

.section-heading--district {
    max-width: 380px;
}
.featured-wrap .owl-stage-outer {
    padding:0 2px;
}
.section-more {
    position: absolute;
    top: 50%;
    right:0;
    width: 70px;
    color: #c29c5d !important;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
}

.department-list {
    margin-right: -9px;
    margin-left: -9px;
}

.department-list > div {
    display: block !important;
    padding: 9px;
}

.department-card {
    min-height: 142px;
    padding: 24px 22px 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff;
}
.department-card a{
}
.department-card:hover,
.department-card:focus-within {
    border-color: #D0B381;
}

.department-card h3 {
    height: 54px;
    margin: 0 0 17px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
}

.department-card:hover h3 a,
.department-card:hover > div a,
.department-card:focus-within h3 a,
.department-card:focus-within > div a {
    color: #c69b55 !important;
}

.department-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-size: 13px;
}

.department-card > div a {
    color: #c8a972 !important;
}

.department-card .department-card__more {
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    line-height: 1;
}

.department-card > div a span {
    margin-left: 5px;
}

.district-section {
    padding: 68px 0 88px;
    background: #fff;
}

.district-list {
    margin-right: -7px;
    margin-left: -7px;
}

.district-list > div {
    padding: 8px;
    margin-bottom: 24px;
}

.district-card {
    position: relative;
    display: block;
    border-radius: 4px;
    aspect-ratio: 1.34 / 1;
}

.district-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.district-card:hover img {
    transform: scale(1.05);
}

.district-card span {
    position: absolute;
    right: 10px;
    bottom: -16px;
    left: 10px;
    min-height: 34px;
    padding: 7px 4px;
    border-radius: 4px;
    background: #D0B381;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.featured-carousel .owl-controls .owl-nav .owl-prev:before{
    content: '\e639';
    font-family: iconfont;
}
.featured-carousel .owl-controls .owl-nav .owl-next:before{
    content: '\e636';
    font-family: iconfont;
}
@media (min-width: 992px) {
    .district-list > .col-md-2 {
        width: 12.5%;
    }
}

@media (max-width: 1199px) {
    .section-more {
        left: calc(100% + 220px);
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    #featuredCarousel .owl-nav .owl-next {
        /*right: -12px;*/
    }
}

@media (max-width: 991px) {
    .section-more {
        right: -80px;
        left: auto;
    }

}

@media (max-width: 767px) {
    .featured-section {
        padding: 8px 0 ;
    }

    .featured-title {
        margin-bottom: 18px;
    }

    .featured-wrap {
    }

    .featured-carousel .owl-nav button.owl-prev {
        left: -40px;
    }

    .featured-carousel .owl-nav button.owl-next {
        right: -40px;
    }

    .department-section,
    .district-section {
        padding: 18px 0;
    }

    .section-heading--department {
        max-width: 330px;
    }

    .section-heading--district {
        max-width: 290px;
    }

    .section-more {
        position: static;
        display: block;
        margin: 8px 0 0 auto;
    }

    .department-card {
        min-height: 126px;
        padding: 18px;
    }

    .district-card span {
        right: 6px;
        left: 6px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .featured-wrap {
        padding: 0 38px;
    }

    .district-list > div {
        width: 50%;
    }
}

/* 部门卡片补充样式 */
.department-section .department-list > [class*="col-"] {
    display: flex;
}

.featured-carousel .owl-item .department-card:hover {
    border-color: #D0B381;
}

.featured-carousel .owl-item .department-card h3 {
    margin: 0 0 17px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.featured-carousel .owl-item .department-card > div,
.department-section .department-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-size: 13px;
    margin-top: auto;
}

.featured-carousel .owl-item .department-card a {
    color: inherit;
    text-decoration: none;
}

.featured-carousel .owl-item .department-card:hover h3 a,
.featured-carousel .owl-item .department-card:hover > div a {
    color: #c69b55 !important;
}

.featured-carousel .owl-item .department-card .department-card__more,
.department-section .department-card .department-card__more {
    color: #c8a972 !important;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    line-height: 1;
}

.featured-carousel .owl-item .department-card .department-card__more span {
    margin-left: 5px;
}

.featured-carousel .owl-item .department-card time {
    color: #999;
    font-size: 13px;
}

.featured-carousel .owl-item .department-card .department-card__abstract,
.department-section .department-card .department-card__abstract {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #888;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.featured-carousel .owl-item .department-card:hover .department-card__abstract,
.department-section .department-card:hover .department-card__abstract {
    color: #666;
}

#featuredCarousel .owl-nav .owl-prev {
    left: -52px;
}

#featuredCarousel .owl-nav .owl-next {
    right: -52px;
}

/* 近期活动 */
.recent-activities {
    display: flex;
    justify-content: center;
}

.recent-activities__media {
    flex: 0 1 900px;
    width: 75%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    align-self: center;
    position: relative;
}

.recent-activities__media a {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.recent-activities__cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.recent-activities__media:hover .recent-activities__cover {
    transform: scale(1.03);
}

.recent-activities__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

.recent-activities__list {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    display: flex;
    flex-direction: column;
}

.recent-activities__list-heading {
    display: none;
}

.recent-activities__item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #eadfce;
    transition: background-color .2s ease;
}

.recent-activities__item:last-child {
    border-bottom: none;
}

.recent-activities__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D0B381, #c69b55);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 4px;
    line-height: 1;
}

.recent-activities__body {
    flex: 1;
    min-width: 0;
}

.recent-activities__title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
    color: #252525;
    margin-bottom: 6px;
    transition: color .2s ease;
}

.recent-activities__title:hover {
    color: #c69b55;
}

.recent-activities__excerpt {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.recent-activities__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recent-activities__date {
    font-size: 13px;
    color: #999;
}

.recent-activities__more {
    font-size: 13px;
    color: #c8a972 !important;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    line-height: 1;
}

.recent-activities__more span {
    margin-left: 4px;
}

.recent-activities__more:hover {
    color: #c69b55 !important;
}

.recent-activities-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.recent-activities-heading h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #252525;
    position: relative;
    padding-left: 18px;
}

.recent-activities-heading h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    background: #D0B381;
    border-radius: 2px;
}

.recent-activities-heading .section-more {
    position: static;
    width: auto;
    margin-left: auto;
}

@media (max-width: 991px) {
    .recent-activities {
        display: block;
    }

    .recent-activities__media {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0 auto;
        position: relative;
    }

    .recent-activities__media a {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .recent-activities__cover {
        min-height: 0;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .recent-activities__play {
        width: 72px;
        height: 72px;
    }

    .recent-activities-heading h2 {
        font-size: 22px;
    }

    .recent-activities__item {
        gap: 14px;
        padding: 14px 0;
    }

    .recent-activities__number {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}
