body {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

h1 {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
}

h1::before {
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    content: "";
    width: 48px;
    height: 3px;
    background: #A48B78;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.2rem;
}

h1,
h2,
h3 {
    line-height: 1.5;
    margin-bottom: 1rem;
}

p {
    line-height: 2;
    margin-bottom: 1rem;
    text-align: justify;
}

ul,
ol {
    line-height: 1.5;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.image {
    border-radius: 8px;
}

.title {
    font-size: 36px;
}

.btn {
    padding: 8px 20px;
    background: #194F8F;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.btn:hover {
    background: #92D400;
    color: #fff;
}

.navbar {
    padding: 10px 0;
    color: #000;
}

.navbar .dropdown-toggle {
    white-space: normal;
}

.navbar-nav .nav-link {
    color: #000;
}

.navbar-nav .nav-link:hover {
    color: #194F8F
}

.navbar-nav .nav-link.active {
    color: #fff;
    background: #194F8F;
    border-radius: 4px;
}

.navbar-nav .nav-link.active:hover {
    color: #fff;
    background: #92D400;
    border-radius: 4px;
}

.navbar-equal-width .navbar-nav {
    width: 100%;
    display: flex;
    align-items: center;
}

.navbar-equal-width .nav-item {
    padding: 0 5px;
    text-align: center;
    position: relative;
}

.navbar-equal-width .nav-link {
    width: 100%;
    text-align: center;
}

/* 二级菜单宽度适应 */
.navbar-equal-width .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
}

/* 三级菜单宽度适应 */
.navbar-equal-width .dropdown-menu .dropdown-menu {
    width: 100%;
    position: static;
    float: none;
    box-shadow: none;
    border-left: 1px solid #dee2e6;
    margin-top: 0;
}

.navbar2 {
    position: absolute;
    width: 100%;
    margin-top: 6px;
    background: #fff;
    z-index: 999;
}

.navbar2 .navbar-nav .nav-link {
    color: #fff;
    text-align: left;
    padding-left: 20px;
}

.navbar2 .navbar-nav .nav-link.active {
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
    background: #D1ED92;
    color: #348E41;
}


/* 在小屏幕上保持正常的折叠行为 */
@media (max-width: 991.98px) {
    .navbar-equal-width .navbar-nav {
        display: block;
    }

    .navbar-equal-width .nav-item {
        flex: none;
        text-align: left;
    }

    .navbar-equal-width .dropdown-menu {
        width: auto;
    }

    .navbar-equal-width .dropdown-menu .dropdown-menu {
        border-left: none;
        padding-left: 1rem;
    }
}

@media (min-width: 1440px) {
    .navbar-equal-width .nav-item {
        padding: 0 10px;
    }
}

.navbar {
    font-size: 18px;
}

.navbar-toggler {
    padding: 0;
    border: 0;
    width: 46px;
    height: 46px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .container {
    justify-content: flex-end;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    font-size: 16px;
    min-width: 268px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
    color: #212529;
}

@media screen and (max-width: 992px) {

    .navbar2 .navbar-nav .dropdown-menu {
        background: #95D9E9;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: 10px;
    }

    .navbar2 .navbar-nav .dropdown-menu a {
        color: #194F8F;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        color: #000;
    }

    .navbar-nav .dropdown-menu .dropdown-item:focus,
    .navbar-nav .dropdown-menu .dropdown-item:hover {
        color: #194F8F;
        background-color: #95D9E9;
    }

    .navbar2 .nav-item {
        padding: 0;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    /* color: #6c757d; */
    /* 与默认面包屑颜色一致 */
    padding-right: 8px;
    /* 调整间距 */
    padding-left: 8px;
}

/* 可选：调整面包屑整体样式 */
.breadcrumb {
    background-color: transparent;
    /* padding: 0.75rem 1rem; */
    padding-top: 1rem;
    color: #212529;
}

.breadcrumb-item.active {
    color: #212529;
}

.breadcrumb-item a {
    color: #212529;
    text-decoration: none;
}

/* 文章轮播区域样式 */
#articles-container {
    overflow: hidden;
}

.card {
    transition: transform 0.3s ease;
    border: 0;
    background-color: transparent;
    border-radius: 0;
}

.card-img {
    border-radius: 8px;
    overflow: hidden;
}

/* .card:hover {
    transform: translateY(-5px);
} */

.card-img-top.image {
    transition: transform 0.3s ease;
    transform-origin: center;
    cursor: pointer;
}

.card-img-top.image:hover {
    transform: scale(1.1);
}

.card h3 {
    font-size: 16px;
}

.card:hover h3 {
    color: #194F8F;
}

/* 添加卡片图片统一高度 */
.card-img-top {
    /* height: 200px; */
    object-fit: contain;
}

/* @media (max-width: 768px) {
    .card-img-top {
        height: 250px;
    }
} */

/* 隐藏不在当前页的文章 */
.article-hidden {
    display: none;
}

/* 圆形分页按钮样式 */
.circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #002B49;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.circle-btn:hover {
    background-color: #002B49;
    color: white;
}

.circle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel {
    z-index: 99;
}

.carousel-control-next,
.carousel-control-prev {
    width: 5%;
}


.article-content,
.about-content,
.card-body {
    line-height: 1.8;
    color: #333;
}

.card-body {
    padding-left: 0;
}

/* .article-content h2 {
    color: #000;

    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    color: #000;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
} */

/* .article-content p {
    margin-bottom: 0.5rem;

} */

/* .article-content a {
    color: #004575;
    text-decoration: none;
    border-bottom: 1px dotted #004575;
}

.article-content a:hover {
    color: #002B49;
    border-bottom: 1px solid #002B49;
    text-decoration: none;
} */

/* .card-body .card-title {
    font-size: 16px;
} */

/* .card-body .card-text {
    font-size: 14px;
} */

.dropdown-item {
    white-space: initial;
}

button:focus {
    box-shadow: none !important;
}

.a_btn {
    color: #FFFFFF !important;
    /* background-color: #194f90;
    border-color: #194f90; */
    background-color: #0ec0e9;
    border-color: #0ec0e9;
    border-width: 1em 1.5em;
    border-style: solid;
    border-radius: 3em;
    display: inline-block;
    margin: 0.5em 0.25em;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.25;
}

.navbar-toggler-icon {
    width: 2em;
    height: 2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

footer {
    padding: 5px;
    background: #194F8F;
    color: #fff;
    font-size: 14px;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
}

.language a {
    color: #000;
}

.bg_left {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 250px;
    background: url("../images/bg_left.png") no-repeat;
    background-size: 100%;
}

.bg_right {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 240px;
    height: 413px;
    background: url("../images/bg_right.png") no-repeat;
    background-size: 100%;
}

@media (max-width: 992px) {
    .bg_left {
        width: 228px;
        height: 163px;

    }

    .bg_right {
        width: 156px;
        height: 270px;
    }
}

@media (max-width: 768px) {
    .bg_left {
        width: 175px;
        height: 125px;

    }

    .bg_right {
        width: 120px;
        height: 207px;
    }
}

@media (max-width: 460px) {
    .bg_left {
        left: -60px;
    }
}

.ellipsis-two-lines {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em;
}


.article-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 520px;
    background: url("../images/article_left.png") no-repeat;
    background-size: 100%;
}

.article-right {
    position: absolute;
    right: 0;
    top: 35px;
    width: 220px;
    height: 720px;
    background: url("../images/article_right.png") no-repeat;
    background-size: 100%;
}

@media (max-width: 662px) {
    .article-left {
        display: none;
    }

    .article-right {
        display: none;
    }
}

.container {
    position: relative;
}

.highlight {
    background-color: #92D400;
    color: #fff;
}

.quote {
    padding: 30px 55px 30px 60px;
    background: #fff;
    border-left: 5px solid #1DC1DD;
}

hr {
    width: 100%;
    height: 1px;
    background: #A8A8A8;
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
}

.card2 {
    position: relative;
    background-color: #fff;
    border: 2px solid #1DC1DD;
    box-shadow: 5px 5px 0 0 #1DC1DD;
    padding: 40px 80px;
}

@media (max-width: 576px) {
    .card2 {
        padding: 20px 30px;
    }
}

.card2::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: '';
    /* width: 32px;
    height: 32px;
    background: #C1E66B; */
    border-style: solid;
    border-width: 32px 32px 0 0;
    border-color: #C1E66B transparent transparent transparent;
}

.card2 .avatar {
    width: 200px;
    height: 200px;
    border: 3px solid #1DC1DD;
    border-radius: 50%;
    object-fit: contain;
    background: #EBF6F8;
}

.card2 .card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    justify-content: flex-start;
}

.card2 .profile-name {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: #1DC1DD;
    margin-top: -20px;
    text-align: center;
    margin-bottom: 10px;
    padding: 0 20px;
    height: 36px;
    line-height: 36px;
    white-space: nowrap;
}

.card2 .profile-name::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 18px 18px 0;
    border-color: transparent #1DC1DD transparent transparent;
}

.card2 .profile-name::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 0 18px 18px;
    border-color: transparent transparent transparent #1DC1DD;
}

.card2 .profile-title {
    text-align: center;
}

.profile-title {
    text-align: center;
}

.card2 .ocard .avatar {
    border: 3px solid #f36e21;
    background: #feeddf;
}

.card2 .ocard .profile-name {
    background: #f36e21;
}

.card2 .ocard .profile-name::before {
    border-color: transparent #f36e21 transparent transparent;
}

.card2 .ocard .profile-name::after {
    border-color: transparent transparent transparent #f36e21;
}

.card2 .gcard .avatar {
    border: 3px solid #fff170;
    background: #fffbe8;
}

.card2 .gcard .profile-name {
    background: #329044;
}

.card2 .gcard .profile-name::before {
    border-color: transparent #329044 transparent transparent;
}

.card2 .gcard .profile-name::after {
    border-color: transparent transparent transparent #329044;
}

.gcard2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    justify-content: flex-start;
}

.gcard2 .avatar {
    border: 3px solid #329044;
    background: #e5eae0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
}

.gcard2 .profile-name {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-top: -20px;
    text-align: center;
    margin-bottom: 10px;
    padding: 0 20px;
    height: 36px;
    line-height: 36px;
    background: #329044;
    white-space: nowrap;
}


.gcard2 .profile-name::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 18px 18px 0;
    border-color: transparent #329044 transparent transparent;
}

.gcard2 .profile-name::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 0 18px 18px;
    border-color: transparent transparent transparent #329044;
}

.ycard {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    justify-content: flex-start;
}

.ycard .avatar {
    border: 3px solid #fff170;
    background: #fefae6;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
}

.ycard .profile-name {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-top: -20px;
    text-align: center;
    margin-bottom: 10px;
    padding: 0 20px;
    height: 36px;
    line-height: 36px;
    background: #fff170;
    color: #194F8F;
    white-space: nowrap;
}

.ycard .profile-name::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 18px 18px 0;
    border-color: transparent #fff170 transparent transparent;
}

.ycard .profile-name::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 0 18px 18px;
    border-color: transparent transparent transparent #fff170;
}


.partner-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-label {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    height: 24px;
    line-height: 24px;
    color: #194F8F;
}

.image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

.image-wrapper img {
    max-height: 100px;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
}

.special_title {
    display: inline-block;
    font-size: 1.5rem;
    color: #fff;
    background: #92D400;
    padding: 0 8px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.special_title::after {
    position: absolute;
    display: block;
    content: '';
    width: calc(100% - 1.5rem);
    height: 1px;
    background: #92D400;
    left: 0.75rem;
}

.special_title2::before {
    position: absolute;
    display: block;
    content: '';
    width: 10px;
    height: 1px;
    background: #ebf6f8;
    bottom: -1px;
    left: -10px;
}

.special_title2 {
    position: relative;
}

@media (max-width: 992px) {
    .special_title2 {
        position: inherit;
    }
}

.a_text {
    color: #194F8F;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.blue_text {
    color: #1DC1DD;
    font-weight: 700;
}

.prize {
    padding: 40px;
    padding-bottom: 30px;
}

.prize img {
    width: 80%;
    object-fit: contain;
}

.prize h2 {
    margin-bottom: 0;
}

.prize .tip {
    position: relative;
}

.prize .tip::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    height: 30px;
    width: 30px;
    border: 1px solid #f36e21;
    border-right: 0;
    border-bottom: 0;
}

.prize .tip::after {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    height: 30px;
    width: 30px;
    border: 1px solid #f36e21;
    border-left: 0;
    border-top: 0;
}

.card2.date p {
    line-height: 1.5;
    text-align: center;
}

.oyear {
    color: #f36e21;
    /* border: 2px solid #f36e21; */
    white-space: nowrap;
    font-weight: bold;
    text-align: center;
    padding: 2px;
    background: linear-gradient(white, white) padding-box, #f36e21 content-box;
    background-origin: border-box;
    background-clip: content-box, padding-box;
    height: 33px;
    line-height: 33px;
}

.omonth {
    color: #fff;
    background: linear-gradient(to right, #fcc39c, #f36f22);
    white-space: nowrap;
    font-weight: bold;
    text-align: center;
    padding: 2px 5px;
    height: 33px;
    line-height: 33px;
}

.gyear {
    color: #95c93d;
    /* border: 2px solid #f36e21; */
    white-space: nowrap;
    font-weight: bold;
    text-align: center;
    padding: 2px;
    background: linear-gradient(white, white) padding-box, #95c93d content-box;
    background-origin: border-box;
    background-clip: content-box, padding-box;
    height: 33px;
    line-height: 33px;
}

.gmonth {
    color: #fff;
    background: linear-gradient(to right, #cde3a4, #95c93d);
    white-space: nowrap;
    font-weight: bold;
    text-align: center;
    padding: 2px 5px;
    height: 33px;
    line-height: 33px;
}

.card2.date .date_icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 35px;
    margin-bottom: 8px;
}

.card2.date .date_icon img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.card2.date .date_right {
    border-style: solid;
    border-width: 15px 0 18px 18px;
    border-color: transparent transparent transparent #95c93e;
}

.card a {
    text-decoration: none;
}


#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: 1px solid #F3F9FA80;
    border-radius: 4px;
    background-color: #194F8F;
    color: white;
    cursor: pointer;
    width: 35px;
    height: 35px;
    font-size: 16px;
    transition: opacity 0.3s;
}

#backToTop:hover {
    background-color: #154378;
}


.arrow-up {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

@media (max-width: 768px) {
    #backToTop {
        right: 10px;
    }
}

/* banner height*/
/* .carousel-item {
    max-height: 540px;
} */

/* @media (max-width: 768px) {
    .carousel-item {
        max-height: 360px;
    }
} */


.ologo .image-wrapper {
    height: 100px;
    flex: auto;
    justify-content: center;
}

.ologo .partner-label {
    white-space: nowrap;
}

@media (max-width: 992px) {
    .ologo .partner-label {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: inherit;
    }
}

.register_btn,
.register_btn2 {
    position: absolute;
    right: 80px;
}

.logo_pd {
    display: block;
}

.logo_npd {
    display: none;
}

@media (max-width: 576px) {
    /* .carousel-item {
        max-height: 200px;
    } */

    .ologo .nbsp {
        display: none;
    }

    .ologo .image-wrapper {
        height: auto;
        flex: 1;
    }

    .register_btn {
        position: relative;
        left: 0;
        margin-bottom: 1rem;
    }

    .logo_pd {
        display: none;
    }

    .logo_npd {
        display: block;
    }

    .logoh_150 {
        height: 150px !important;
    }

    .logoh_150 .logo_npd {
        max-height: 150px !important;
    }

    .sm-bottom20 {
        margin-bottom: 20px;
    }
}

.important-dates .blue_text {
    font-size: 14px;
    margin-top: 3px;
}


@media (max-width: 1400px) {
    .register_btn2 {
        position: relative;
        left: 0;
        margin-bottom: 1rem;
    }
}