.departmentHighlights1 {
    width: 100%;
    padding: 56px 0 74px;
    background: #F3F6FB;
}

.departmentHighlights2 .comTitle1 img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.departmentGrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 685px);
    justify-content: space-between;
    gap: 16px 0;
}

.departmentEmpty {
    grid-column: 1 / -1;
    padding: 40px 0 10px;
    color: #7C8AA5;
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
}

.departmentCard {
    position: relative;
    width: 685px;
    height: 150px;
    padding: 12px 24px;
    border-radius: 6px;
    background: linear-gradient(180deg, #DCE7F7 0%, #EEF4FC 100%);
    border: none;
    overflow: hidden;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.departmentCard:hover,
.departmentCard.isSelected {
    box-shadow: 0 0 18px rgba(20, 101, 220, 0.08);
    background: linear-gradient(180deg, #2A6FDF 0%, #6E9FE8 100%);
}

.departmentCard:before {
    content: attr(data-mark);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.72;
}

.departmentCard.isSelected:before,
.departmentCard:hover:before {
    color: rgba(255, 255, 255, 0.24);
    opacity: 1;
}

.departmentCard .cardInner {
    position: relative;
    z-index: 2;
}

.departmentCard .cardTitleZh {
    color: #092F6F;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.departmentCard .cardTitleEn {
    color: #1465DC;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 7px;
    text-transform: uppercase;
}

.departmentCard:hover .cardTitleZh,
.departmentCard.isSelected .cardTitleZh,
.departmentCard:hover .cardTitleEn,
.departmentCard.isSelected .cardTitleEn {
    color: #FFFFFF;
}

.deptPopup {
    width: 100%;
    height: auto;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 28px 32px 30px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: var(--dept-popup-max-height, none);
}

.deptPopup.hasGallery {
    height: var(--dept-popup-max-height, auto);
}

.deptPopupHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(9, 47, 111, 0.12);
    padding-bottom: 24px;
}

.deptPopupTitle {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.deptPopupTitle img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.deptPopupTitleText {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.deptPopupTitleZh {
    color: #092F6F;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
}

.deptPopupTitleEn {
    color: #1465DC;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    word-break: break-word;
}

.deptPopupClose {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    padding: 0;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deptPopupClose img {
    width: 42px;
    height: 42px;
    display: block;
}

.deptPopupBody {
    padding-top: 34px;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.deptPopupSummary {
    background: #EEF3FA;
    border-radius: 12px;
    padding: 32px 36px;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 0 1 auto;
    min-height: 0;
    max-height: var(--dept-popup-summary-max-height, none);
}

.deptPopupSummary,
.deptPopupSummary p,
.deptPopupSummary div,
.deptPopupSummary span,
.deptPopupSummary li {
    color: #092F6F;
    font-size: 17px;
    font-weight: 400;
    line-height: 35px;
}

.deptPopupSummary p,
.deptPopupSummary div,
.deptPopupSummary li {
    text-align: justify;
    margin-top: 20px;
}

.deptPopupSummary p:first-child {
    margin-top: 0;
}

.deptPopupSummary ul,
.deptPopupSummary ol {
    padding-left: 24px;
}

.deptPopupSummary img {
    max-width: 100%;
    height: auto;
}

.deptPopupSummary table,
.deptPopupSummary iframe,
.deptPopupSummary video {
    max-width: 100%;
}

.deptPopupSummary * {
    word-break: break-word;
}

.deptPopupGallery {
    margin-top: 24px;
    flex-shrink: 0;
}

.deptPopupViewport {
    position: relative;
    background: #9E9E9E;
    border-radius: 8px;
    overflow: hidden;
    height: var(--dept-popup-gallery-height, 405px);
}

.deptPopupViewport img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.deptPopupArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 10px rgba(9, 47, 111, 0.12);
    color: #092F6F;
    font-size: 30px;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
}

.deptPopupArrow.prev {
    left: 18px;
}

.deptPopupArrow.next {
    right: 18px;
}

.deptPopupDots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.deptPopupDots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(20, 101, 220, 0.22);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.deptPopupDots span.on {
    background: #1465DC;
    transform: scale(1.1);
}

.dept-layer-skin {
    border-radius: 10px !important;
}

.dept-layer-skin .layui-layer-content {
    overflow: hidden !important;
    border-radius: 10px;
}

.deptPopup.hasGallery .deptPopupBody {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: 24px;
    padding-top: 34px;
}

.deptPopup.hasGallery .deptPopupSummary {
    flex: initial;
    height: 100%;
    max-height: none;
}

.deptPopup.hasGallery .deptPopupGallery {
    margin-top: 0;
}

.deptPopup.noGallery .deptPopupBody {
    overflow-y: auto;
}

.deptPopup.noGallery .deptPopupSummary {
    max-height: none;
}

@media screen and (max-width: 1440px) and (min-width: 1001px) {
    .departmentGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: initial;
        gap: 16px;
    }

    .departmentCard {
        width: 100%;
        height: 150px;
    }

    .departmentCard:before {
        font-size: clamp(92px, 8vw, 120px);
    }
}

@media screen and (max-width: 1000px) {
    .departmentHighlights1 {
        padding: 0.6rem 0;
    }

    .departmentHighlights2 .comTitle1 img {
        width: auto;
        height: 0.5rem;
    }

    .departmentGrid {
        grid-template-columns: 1fr;
        gap: 0.2rem;
        justify-content: initial;
    }

    .departmentCard {
        width: 100%;
        height: 1.35rem;
        border-radius: 0.16rem;
        padding: 0.18rem 0.24rem;
    }

    .departmentCard:before {
        font-size: 1.2rem;
    }

    .departmentCard .cardTitleZh {
        font-size: 0.28rem;
    }

    .departmentCard .cardTitleEn {
        font-size: 0.16rem;
        margin-top: 0.08rem;
    }

    .deptPopup {
        padding: 0.28rem 0.24rem 0.3rem;
        border-radius: 0.2rem;
    }

    .deptPopupHeader {
        gap: 0.2rem;
        padding-bottom: 0.22rem;
    }

    .deptPopupTitle {
        gap: 0.12rem;
    }

    .deptPopupTitle img {
        width: 0.42rem;
        height: 0.42rem;
    }

    .deptPopupTitleZh {
        font-size: 0.34rem;
    }

    .deptPopupTitleEn {
        font-size: 0.2rem;
        margin-top: 0;
    }

    .deptPopupTitleText {
        gap: 0.12rem;
    }

    .deptPopupClose {
        width: 0.58rem;
        height: 0.58rem;
    }

    .deptPopupClose img {
        width: 0.58rem;
        height: 0.58rem;
    }

    .deptPopupBody {
        padding-top: 0.26rem;
    }

    .deptPopupSummary {
        padding: 0.26rem 0.24rem;
        border-radius: 0.16rem;
    }

    .departmentEmpty {
        padding: 0.2rem 0 0.1rem;
        font-size: 0.24rem;
    }

    .deptPopupSummary,
    .deptPopupSummary p,
    .deptPopupSummary div,
    .deptPopupSummary span,
    .deptPopupSummary li {
        font-size: 0.24rem;
        line-height: 1.9;
    }

    .deptPopupSummary p,
    .deptPopupSummary div,
    .deptPopupSummary li {
        margin-top: 0.16rem;
    }

    .deptPopupGallery {
        margin-top: 0.22rem;
    }

    .deptPopup.hasGallery .deptPopupBody {
        row-gap: 0.22rem;
        padding-top: 0.26rem;
    }

    .deptPopup.hasGallery .deptPopupGallery {
        margin-top: 0;
    }

    .deptPopupViewport {
        border-radius: 0.16rem;
        height: var(--dept-popup-gallery-height, 3.4rem);
    }

    .deptPopupArrow {
        width: 0.48rem;
        height: 0.48rem;
        font-size: 0.34rem;
        line-height: 0.48rem;
    }

    .deptPopupArrow.prev {
        left: 0.14rem;
    }

    .deptPopupArrow.next {
        right: 0.14rem;
    }

    .deptPopupDots {
        gap: 0.08rem;
        margin-top: 0.16rem;
    }

    .deptPopupDots span {
        width: 0.1rem;
        height: 0.1rem;
    }
}
