/*---nav---*/
body {
    font-size: 16px !important;
    font-family: 'Arial', 'Microsoft YaHei', sans-serif !important;
}
@media only screen and (min-width: 1500px){
    .container {
        width: 90%!important;
        margin: 0 auto;
    }
}
.containers{
    width: 90%;
    margin: 0 auto;
}
.hidden.menu {
    display: none;
}
.masthead.segment {
    min-height: 600px;
    padding: 1em 0em;
}
.masthead .logo.item img {
    margin-right: 1em;
}
.masthead .ui.menu .ui.button {
    margin-left: 0.5em;
    font-weight: normal;
}
.masthead h2 {
    font-size: 1.7em;
    font-weight: normal;
}
.ui.vertical.stripe h3 {
    font-size: 2em;
}
.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
    margin-top: 3em;
}
.secondary.small.menu .toc.item {
    display: none;
}
@media only screen and (max-width: 768px) {
    .ui.fixed.menu {
        display: none !important;
    }
    .secondary.small.menu .item,
    .secondary.small.menu .menu {
        display: none !important;
    }
    .secondary.small.menu .toc.item {
        display: block !important;
    }
    .masthead h1.ui.header {
        font-size: 2em;
        margin-top: 1em;
    }
    .masthead h2 {
        margin-top: 0.5em;
        font-size: 1.5em;
    }
}
/*--- Banner ---*/
.swiper-container.index_banner {
    position: relative;
    width: 100%;
    height: auto;
}
.index_banner img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.banner-texts {
    position: absolute;
    z-index: 10;
    color: #fff;
    padding: 6.3rem;
}
.banner-texts h1 {
    font-size: 3rem;
    font-weight: bolder;
    letter-spacing: 2px;
}
.banner-texts p {
    font-size: 1.7rem;
    line-height: 1.5;
}
@media screen and (max-width: 768px) {
    .index_banner img {
        display: block;
        width: 100%;
        object-fit: cover;
        height: 15rem;
    }
    .banner-texts p {
        font-size: 1rem;
    }
    .banner-texts h1 {
        font-size: 1.8rem;
        letter-spacing: 0px;
    }
    .banner-texts {
        position: absolute;
        top: 10%;
        z-index: 10;
        color: #fff;
        padding: 3rem;
    }
}
@media screen and (max-width: 468px) {
    .index_banner img {
        display: block;
        width: 100%;
        object-fit: cover;
        height: 25rem;
    }
    .banner-texts h1 {
        font-size: 3rem;
        letter-spacing: 0px;
    }
    .banner-texts h1 {
        font-size: 2.6rem;
        letter-spacing: 0px;
    }
    .banner-texts p {
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 376px) {
    .banner-texts h1 {
        font-size: 2.5rem;
        letter-spacing: 0px;
    }
    .banner-texts p {
        font-size: 1.3rem;
    }
}
/*--- Hot Apply---*/
.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
}
.banner-text {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}
.banner-text h3 {
    margin: 0;
    color: #3b5998;
    font-size: 1.1rem;
}
.banner-text p {
    margin: 0;
    color: #3b5998;
    font-size: 1rem;
}
@media only screen and (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .banner-text {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
    }
    .banner-text h3,
    .banner-text p {
        width: 100%;
        text-align: center;
    }
}
/*--- New Training1---*/
.course-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-top: 1rem;
}
.course-header h2 {
    font-size: 2rem;
    margin: 0;
}
.course-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}
.placeholder-content {
    background:#3b5998;
    color: #ffffff;
}
.course-card .ui.list .item i.icon {
    margin-right: 0.5rem;
    flex-shrink: 0;
    color: #1f88be;
}
.course-card {
    height: 210px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .course-header {
        gap: 0.5rem;
    }
    .course-header h2 {
        font-size: 1.8rem;
    }
    .course-header p {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}
/*--- New Training2---*/
.sponsor_jjsx_right {
    display: flex;
    flex-wrap: wrap;
.sponsor_jjsx_rli {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
.special {
    width: 100%;
}
}
}
.sponsor_jjsx {
    display: flex;
}
.sponsor_jjsx_left {
    width: 45%;
    position: relative;
    margin-right: 1rem;
}
.sponsor_jjsx_left .sponsor_d1 span {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    width: 100%;
}
.sponsor_jjsx_right {
    flex: 1;
}
.sponsor_jjsx_left .sponsor_d1 {
    height: 100%;
}
.sponsor_d1 a {
    display: block;
    width: 100%;
    height: 100%;
}
.sponsor_jjsx_left .sponsor_d1 img {
    width: 100%;
    height: 100%;
    max-height: 10rem;
    display: block;
}
.sponsor_jjsx .ui.grid {
    margin: 0;
}
.sponsor_jjsx .ui.list > .item {
    padding: 0.5rem 0;
    text-align: left;
}
.news_swiper {
    position: relative;
}
.sponsor_jjsx_box {
    position: relative;
    margin-left: -0.5rem;
}
.banner-content {
    padding: 1.5rem 0;
}
.sponsor_jjsx_box .ui.card > .content a {
    text-align: left;
    display: block;
    padding-top: 0.5rem;
    font-size: 1rem;
}
.sponsor_jjsx_box .sponsor_jjsx_rli .header a {
    display: block; line-height: 1.6;
}

.sponsor_jjsx_box .ui.card>.content>.header:not(.ui), .sponsor_jjsx_box .ui.cards>.card>.content>.header:not(.ui){ line-height: 1.6; height: auto;}
.sponsor_jjsx_box .ui.fluid.card {
    height: auto;
}
.sponsor_jjsx_box .ui.list > .item > i.icon + .content {
    font-size: 0.9rem;
}
.sponsor_jjsx_rli .ui.card,
.ui.cards > .card {
    width: 100%;
    margin: 0 0.5em;
}
.sponsor_jjsx_rli .ui.cards {
    flex-wrap: initial;
    text-align: left;
    margin: 0;
}
.sponsor_jjsx_left {
    padding-left: 0;
    margin-right: 0;
}
.sponsor_jjsx_right {
    padding-right: 0.5rem;
}
.sponsor_jjsx_right .ui.fluid.card {
    height: 100%;
}
.placeholder-content {
    text-align: left;
    font-size: 1rem;
    padding: 0.3rem;
}
.resource-card .item {
    border-bottom: 0.5px solid #ddd;
    padding-top: 1rem !important;
    padding-bottom: 0rem !important;
}
.resource-card .description {
    margin-bottom: 0;
}
.sponsor_jjsx_right .column {
    width: 99%;
    line-height: 2;
}
.content-size {
    font-size: 1rem;
    font-weight: bold;
    padding: 1.5rem;
}
.content-sizes {
    font-size: 1rem;
    padding: 1rem;
}
.content-sizes .header{
    font-size: 1rem;
    font-weight: bolder;
    padding-bottom: 0.2rem;
}
.meta-size,
.date-01,
.date-02,
.date-03 {
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: normal;
}
.meta-size, .date-01, .date-02, .date-03 {
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: normal;
}
.right-size{
    margin-left: auto;
    font-size: 1rem ;
}
.containetr-size {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 3rem;
    margin-top: 50px;
    padding-bottom: 80px;
}

@media only screen and (max-width: 768px) {
    .sponsor_jjsx_right {
        margin-top: 1rem;
    .sponsor_jjsx_rli {
        grid-template-columns: 1fr;
    }
}
.sponsor_jjsx {
    display: block;
}
.sponsor_jjsx_left {
    display: block;
    width: 100%;
}

.sponsor_jjsx_rli {
    width: 100%;
    margin-left: 0;
}
.ui[class*="three column"].grid>.column:not(.row), .ui[class*="three column"].grid>.row>.column {
    width: 100%;
}
}
/*--- animation---*/
.resource-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.resource-section.visible {
    opacity: 1;
    transform: translateY(0);
}
/*--- animation---*/
.ui.three.column.stackable.grid .column {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ui.three.column.stackable.grid .column.visible {
    opacity: 1;
    transform: translateY(0);
}
/*--- animation---*/
.ui.three.column.stackable.grid .column:nth-child(1) {
    transition-delay: 0.1s;
}
.ui.three.column.stackable.grid .column:nth-child(2) {
    transition-delay: 0.2s;
}
.ui.three.column.stackable.grid .column:nth-child(3) {
    transition-delay: 0.3s;
}
/*--- old content---*/
.ui.card.size {
    transition: transform 0.2s ease;
    width: 100%;
    height: 100%;
    color: #3b5998;
}
.ui.card.size .header{
    color: #3b5998;
}
.ui.card:hover {
    transform: translateY(-5px);
}
/*--- online resources---*/
.resource-card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.resource-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.resource-card:nth-child(1) {
    transition-delay: 0.1s;
}
.resource-card:nth-child(2) {
    transition-delay: 0.2s;
}
.resource-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3260bb;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.resource-card:hover::before {
    transform: scaleX(1);
}
.resource-card .header {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}
.resource-card .description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 3;
}
.resource-card .ui.button {
    background: #3260bb;
    color: white;
    transition: all 0.3s ease;
}
.resource-card .ui.button:hover {
    background: #2a4f9e;
    transform: translateY(-2px);
}
.resource-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}
.resource-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}
.resource-header p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
}
.resource-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.resource-card .item-content {
    display: flex;
    justify-content: space-between;
}
.resource-card .ui.button {
    min-width: 100px;
}
.view-more-link {
    display: flex;
    align-items: center;
    color: #2185d0;
    font-weight: 500;
    transition: all 0.2s ease;
}
.view-more-link:hover {
    color: #1678c2;
    text-decoration: none;
}
.view-more-link .icon {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}
.view-more-link:hover .icon {
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .resource-card {
        padding: 1rem;
    }
    .resource-card .header {
        font-size: 1rem;
    }
    .resource-card .description {
        font-size: 0.85rem;
    }
}
@media (max-width: 768px) {
    .resource-header {
    .resource-header {
        gap: 0.5rem;
    }
}
.resource-header h2 {
    font-size: 1.5rem;
}
.resource-header p {
    font-size: 1rem;
}
.resource-container {
    flex-direction: column;
    gap: 1.5rem;
}
.resource-card .item-content {
    flex-direction: column;
    gap: 0.5rem;
    align-items:normal;
}
.resource-card .ui.button {
    width: 100%;
}
.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.resource-card .header {
    font-size: 1rem;
}
.resource-card .item {
    padding: 0.6rem 0;
}
}
@media (max-width: 768px) {
    .view-more-link {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .resource-card .item {
        padding: 1.25rem;
        margin: 0.5rem 0;
        border-radius: 12px;
        background: white;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .resource-card .item-content {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    .resource-card .header {
        font-size: 1rem;
    }
    .resource-card .description {
        font-size: 1rem;
        margin-bottom: -1rem;
    }
    .resource-card .ui.button {
        background: #007aff;
        color: white;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: none;
        width: 100%;
        margin-top: 0.5rem;
    }
    .resource-card .item:hover {
        transform: translateY(-2px);
    }
    .view-more-link {
        color: #007aff;
        font-weight: 500;
        padding: 1rem 0;
        display: block;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .resource-card .view-more-item {
        padding: 1rem 0 0 0;
        margin: 0;
        background: none;
        box-shadow: none !important;
        border: none;
    }
    .resource-card .view-more-item:hover {
        transform: none;
        box-shadow: none !important;
    }
    .view-more-link {
        color: #007aff;
        font-weight: 500;
        padding: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.2s ease;
        background: none !important;
    }
    .view-more-link:hover {
        color: #0063cc;
        background: rgba(0, 122, 255, 0.1) !important;
        border-radius: 8px;
    }
}
/*--- partners---*/
.sponsor-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}
.sponsor-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}
.sponsor-header p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.4;
}
.sponsor-link {
    color: #8b572a; /* 深棕色 */
    font-weight: 500;
    transition: color 0.3s ease;
}
.sponsor-link:hover {
    color: #d2691e; /* 巧克力色 */
}
.sponsor-link {
    color: #666;
    font-weight: 700;
    transition: color 0.3s ease;
}
.sponsor-link:hover {
    color: #d2691e; /* 巧克力色 */
}
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
}
@media (max-width: 768px) {
    .sponsor-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 280px));
        justify-content: center;
        padding: 0 1rem;
    }
    .sponsor-card {
        padding: 1rem;
    }
    .sponsor-icon {
        font-size: 2rem;
    }
    .sponsor-name {
        font-size: 1rem;
    }
    .sponsor-description {
        font-size: 0.85rem;
    }
}
.sponsor-card {
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: #f8ffff;
    box-shadow: 0 0 0 1px #a9d5de inset, 0 0 0 0 transparent;
}
.sponsor-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.sponsor-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}
.sponsor-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #6e6e73;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .sponsor-header h2 {
        font-size: 1.5rem;
        color: #1d1d1f;
    }
    .sponsor-header p {
        font-size: 1rem;
        color: #6e6e73;
    }
}
.course-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.course-item{
    background: #fff;
    padding: 0 20px 20px;
    border-radius: 10px;
}



.sec-banner.segment{
    background: url(../img/banner-01.png) !important;
    background-size: cover !important;
    height: 10rem !important;
}

.newbanners .newcontainer{
    display: flex;
    align-items: center;
    height: 100%;
}
.newbanner .newcontainer{
    display: flex;
    align-items: center;
    height: 100%;
}
.newbanner .txtbox{
    background: #e4eef4;
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 5px;
}
.newbanner .txtbox h3{
    padding: 0;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.newflex{
    display: flex;
}
.new_left{
    width: 25%;
}
.new_right{
    width:75%;
    padding-left: 1.5rem;
}
.applybtn{
    display: block;
    background: rgb(59, 111, 182);
    box-shadow: 10px 10px 0 rgb(33, 73, 130);
    transition: all .5s;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    line-height: 3rem;
}
.applybtn:hover{
    transform: translateX(5px) translateY(5px);
    color: #fff;
    box-shadow: 5px 5px 0 rgb(33, 73, 130);
}
.silderline{
    border-bottom: 1px solid #ddd;
    margin: 1rem 0;
}
.leftlist1 li {
    padding: .5rem 0 .5rem 2rem;
    position: relative;
    font-size: 1rem;
    line-height: 2;
}
.leftlist1 strong{
    display: block;
}
.leftlist1 a{
    display: block;
}
.leftlist1 li .icons{
    width: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5rem;
    position: absolute;
    left: 0;
    top: .5rem;
}
.leftlist2 {
    line-height: 2;
    font-size: 1rem;
}
.a_icon_link{
    display: flex;
}
.a_icon_link li{
    padding-right: 1rem;
}
.a_icon_link a{
    width: 3rem;
    height: 3rem;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.tabs{
    display: flex;
    border-bottom: 2px solid #000;
    margin-bottom: 1rem;
}
.tabs a{
    display: block;
    font-size: 1rem;
    padding: .5rem 1rem;
    color: #777;
    border-bottom: 2px solid transparent;
}
.tabs a:hover{
    color: #000;
    border-bottom: 2px solid #000;
}
.tabs .active a{
    color: rgb(59, 111, 182);
    border-bottom: 2px solid rgb(59, 111, 182);
    font-weight: bold;
}
.tabnav{
    font-size: 1rem;
}
.tables{
    border-collapse: collapse;
}
.tables td{
    border: none;
    padding: .5rem;
}
.tables tbody tr:nth-child(even){
    background: #eee;
}
@media (max-width:768px){
    .newflex{ display: block;}
    .new_left{width: 100%;}
    .new_right{width:100%; padding-left: 0rem;}
}
.application-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.step-card {
    box-sizing: border-box;
    box-shadow: 0 0 0 1px #eeeeee inset, 0 0 0 0 transparent;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
}
.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #1f88be;
    color: white;
    border-radius: 50%;
    margin-bottom: 10px;
}
.step-title {
    font-size: 1rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 10px;
}
.step-content {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}
#application {
    background: white;
    height: fit-content;
    margin-top: 1rem;
}