:root {
    --primary-color: #0152A8;
    --secondary-color: #00b8e4;
    --accent-color: #ffc107;
}

.bg-primary-custom {
    background-color: var(--primary-color);
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.btn-primary-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.btn-primary-custom:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.nav-pills .nav-link.active {
    background-color: var(--secondary-color);
}



.special-program-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.special-program-icon i {
    font-size: 2rem;
    color: white;
}

.article-list {
    list-style-type: none;
    padding-left: 0;
}

.article-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list-first {
    display: flex;
}

.article-list-first img {
    width: 160px;
    height: 120px;
    margin-right: 20px;
  	object-fit:cover;
}

.article-list-first-title {
   font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 26px;
    margin-bottom: 10px;
    overflow: hidden;
    display: block;
    width: 14.88rem;
}


.article-list-first-content {
    font-weight: 400;
    font-size: 14px;
    color: #363636;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* 设置垂直方向的布局 */
    -webkit-line-clamp: 3;
    overflow: hidden;
    /* 超出部分隐藏 */
    text-overflow: ellipsis;
    /* 显示省略号 */
    word-break: break-word;
    /* 避免单词溢出 */
}

.article-item-title {
      font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 26px;
    margin-bottom: 10px;
    overflow: hidden;
    display: block;
}

.article-item-content {
    font-weight: 400;
    font-size: 14px;
    color: #363636;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* 设置垂直方向的布局 */
    -webkit-line-clamp: 2;
    overflow: hidden;
    /* 超出部分隐藏 */
    text-overflow: ellipsis;
    /* 显示省略号 */
    word-break: break-word;
    /* 避免单词溢出 */
}

.latest-offer {
    overflow: hidden;
    margin-top: 17px;
}

.latest-offer img {
    height: 564px;
    width: 284px;
    border-radius: 10px;
    object-fit: cover;
}
.top-banner {}

.block-box {
    padding: 32px 0 50px 0;
}

.block-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.block-box-title {
    font-weight: 700;
    font-size: 30px;
    color: #363636;
    line-height: 43px;
}

.block-box-title-tips {
    font-weight: 400;
    font-size: 24px;
    color: #808080;
    line-height: 35px;
}

.block-more-btn {
    width: 112px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border: 1px solid #DFDFDF;
    font-weight: 400;
    font-size: 16px;
    color: #0152A8;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.block-more-btn img{
    width: 6px;
    margin-left: 6px;
}

.programs-item {
    width: 384px;
    height: 280px;
    background: #F7F9FC;
    border-radius: 6px;
    padding: 38px 32px;
    cursor: pointer;
    margin-bottom: 24px;
}

.programs-item:hover {
    background-color: #DFECFC;
}

.programs-item-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
}

.programs-item-title {
    font-weight: 500;
    font-size: 20px;
    color: #363636;
    line-height: 29px;
    margin-bottom: 12px;
}

.programs-item-tips {
    font-weight: 400;
    font-size: 16px;
    color: #363636;
    line-height: 23px;
    margin-bottom: 20px;
}

.programs-item-more {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: #0152A8;
    line-height: 22px;

}

.programs-item-more-icon {
    width: 10px;
    height: 19px;
    margin-left: 4px;
}

.block-menu-list {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    margin-left: 40px;
}

.block-menu-item {
    width: 94px;
    font-size: 16px;
    color: #363636;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
}

.block-menu-item-active {
    color: #2151A2;
}

.block-menu-item-line {
    position: absolute;
    width: 52px;
    height: 2px;
    bottom: -10px;
    left: 20px;
    background: #2151A2;
    border-radius: 0px 0px 0px 0px;
    transition:0.5s ease;

}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.team-member {
    flex: 0 0 21%;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.team-member img {
    width: 100%;
    height: 340px;
  	object-fit: cover;
}

.member-info {
    padding: 10px 20px 10px 16px;

}

.member-name {
    font-weight: 700;
    font-size: 22px;
    color: #0152A8;
    line-height: 32px;
}

.member-title {
    font-weight: 400;
    font-size: 18px;
    color: #363636;
    line-height: 26px;
    margin-top: 4px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color:rgba(255, 255, 255, 0.4);
    color: #999;
    border: none;
    font-size: 26px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 48px;
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.activity-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 210px;
}

.activity-item img {
    width: 100%;
    height: auto;
    display: block;
  	object-fit:cover;
}

.activity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(1, 82, 168, 0.6);
    color: white;
    padding: 10px;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 22px;
}

.main-activity {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 444px;
}

.main-activity img {
    width: 590px;
    height: 444px;
}

.small-activities {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.honor-item {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.honor-item img {
    width: 100%;
    height: 216px;
    display: block;
  	object-fit: cover;
}

.footer {
    background-color: #0066cc;
    color: white;
    height: 300px;
    background-image: url('../imgs/bg_footer.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.footer-left {
    max-width: 520px;
}

.footer-right {
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 164px;
    margin-bottom: 20px;
}

.description {
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 20px;
    margin-bottom: 24px;
}

.contact-info {
    font-size: 14px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    vertical-align: middle;

}

.contact-info-item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.strength-menu-list {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    margin-left: 40px;
}

.strength-menu-item {
    width: 94px;
    font-size: 16px;
    color: #363636;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
}

.strength-menu-item-active {
    color: #2151A2;
}

.strength-menu-item-line {
    position: absolute;
    width: 52px;
    height: 2px;
    bottom: -10px;
    left: 36px;
    background: #2151A2;
    border-radius: 0px 0px 0px 0px;
    transition:0.5s ease;
}