@font-face {
    font-family: "Caecilia-Roman";
    src: url("../fonts/Caecilia-Roman.woff2") format("woff2");
}

.acca-font {
    font-family: "Caecilia-Roman";
}

.three_boxes_hover_content_text li {
    list-style: none;
}

.team_one {
    padding: 30px 0 0 0;
}

.index-title h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 60px;
    margin-top: 3px;
}

.block-title h2 {
    position: relative;
    display: inline-block;
}

.block-title h2:before {
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 4px;
    height: 4px;
    content: "";
    background: var(--thm-primary);
}

.acca-specailclass-small {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: "Caecilia-Roman";
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    color: #000;
    margin: 15px 0;
}

.acca-specailclass {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: "Caecilia-Roman";
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
    color: #000;
}

.acca-specailclass a {
    color: #000;
    text-decoration: underline;
}

.acca-specailclass a:hover {
    text-decoration: none;
}

.link-content {
    margin: 30px 0;
}

.left-verti-line {
    border-left: 5px solid rgb(234, 19, 14);
    padding-left: 10px;
}

.blog_title {
    margin-top: 15px;
}

.blog-squar {
    display: block;
    float: left;
    width: 10px;
    height: 10px;
    background: rgb(234, 19, 14);
    margin-right: 10px;
}

.blog_content {
    margin-top: 30px;
}

.blog-one-content {
    position: relative;
    display: block;
    border: 2px solid #e4e4e4;
    padding: 15px 0;
    background: var(--thm-base);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    text-align: center;
}

.module-content {
    margin-top: 30px;
}

.black-font {
    color: #000;
}

.contactus-content {
    margin-top: 20px;
    color: #000;
}

.three_boxes_single_content span {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    line-height: 20px;
}

.three_boxes_single_content:before {
    position: absolute;
    bottom: -19px;
    left: 50%;
    width: 71px;
    height: 20px;
    transform: translateX(-50%);
    content: "";
    background-image: none;
}

.small-content {
    font-size: 12px;
    line-height: 1.5;
}

.project-content {
    border: 0;
}

.load-more-index {
    margin: 15px 0 30px 0;
}


/* 首页下拉框 */

.cmp-contact-picker {
    width: 50%;
    text-align: center;
    padding-right: 15px;
}

.cmp-contact-picker__select-container {
    position: relative;
}

.cmp-contact-picker__select {
    cursor: pointer;
    padding-right: 40px;
    -webkit-appearance: none;
    transition: background-color .2s, border .2s, color .2s;
    overflow: hidden;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #4f4f4f;
    border-radius: 0;
    color: #000;
    line-height: 16px;
    padding: 15px;
    width: 100%;
}

.cmp-contact-picker__select-icon {
    font-size: 15px;
    color: #000;
    height: 15px;
    width: 15px;
    line-height: 15px;
    margin-top: -5.5px;
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 50%;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #333 transparent transparent;
}

.cmp-contact-picker__contact {
    margin: 20px 0 30px 0;
    color: rgb(200, 0, 0);
}

.cmp-contact-picker__contact span {
    color: #000;
    margin-right: 10px;
    font-weight: bold;
}


/* 下拉框结束 */

.content-big-title {
    font-size: 25px;
    font-weight: 700;
    color: #000;
    line-height: 25px;
    margin-bottom: 15px;
}

.provide-special-support {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.provide-special-support-content {
    position: relative;
    display: block;
    padding: 15px 0;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.provide-special-support:before {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    background: var(--thm-primary);
    height: 2px;
    z-index: 1;
    transform: scaleX(0);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

/*.provide-special-support:hover:before {
    transform: scaleX(1);
}*/

.provide-special-support-content h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 34px;
}

.row-margin-top {
    margin-top: 15px;
}

.row-margin-50top {
    margin-top: 50px;
}

.row-provide-special-support {
    margin-top: 40px;
}

.provide-special-support ul {
    margin-left: 15px;
}

.provide-special-support li {
    font-size: 16px;
    list-style: square;
    color: rgb(234, 19, 14);
}

.provide-special-support li span {
    color: #000;
    text-decoration: none;
}

.provide-special-support ul li span:hover {
    transform: scaleX(1);
    color: rgb(200, 0, 0);
    text-decoration: underline;
    display: inline-block; 
    padding-bottom: 2px; 
}
/* 默认样式 */

.portfolio-box .portfolio-box-detail {
    opacity: 1;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.portfolio-box-img:after {
    opacity: 1;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border-radius: 5px;
    margin: auto;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
}

.portfolio-box:hover .portfolio-box-img:after {
    opacity: 1;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border-radius: 5px;
    margin: auto;
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-box:hover .portfolio-box-detail h2,
.portfolio-box:hover .portfolio-box-detail h3,
.portfolio-box:hover .portfolio-box-detail h4 {
    color: #fff;
}

.portfolio-box .portfolio-box-detail h4 {
    margin-top: 5px;
    font-size: 14px;
    text-align: justify;
    line-height: 1.5;
    font-weight: 400;
}

.portfolio-box-detail-content {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 0 20px 0 20px;
    margin: auto;
}

.blog_one_title h5 {
    font-size: 18px;
    margin-bottom: 15px;
}

.flaticon-trophy {
    color: #ea130e;
}

.university-first h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.university-first h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provide-index-support {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.provide-index-support-content {
    position: relative;
    display: block;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.provide-index-support:before {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    background: var(--thm-primary);
    height: 2px;
    z-index: 1;
    transform: scaleX(0);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.provide-index-support:hover:before {
    transform: scaleX(1);
}

.row-index-special-support {
    margin-top: 40px;
}

.provide-index-support li {
    font-size: 18px;
    list-style: none;
    line-height: 2;
}

.acca-index-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 22px;
    color: #000;
    margin: 5px 0;
}

.acca-index-title .blog-squar {
    line-height: 34px;
}

.index-middle-box {
    position: absolute;
    top: 60px;
    left: 0;
    width: 35%;
    background: rgb(255, 255, 255, 0.9);
    padding: 30px 50px;
}

.index-middle-bg {
    width: 100%;
    height: 100%;
    display: block;
    z-index: -10;
    content: url(../images/backgrounds/index-middle-bg1.jpg);
}

.index-middle-title1 {
    font-size: 32px;
    font-weight: bold;
    color: #E60012;
    line-height: 1.5;
}

.index-middle-content1 {
    margin-top: 30px;
    color: #000;
}


/* 移动端 */


/*iphone6*/

@media screen and (min-width:320px) and (max-width:550px) {
    /* 首页开始 */
    .index-title {
        text-align: left!important;
    }
    .index-title h2 {
        font-size: 26px;
        font-weight: bold;
        line-height: 1.5;
        margin-top: 0;
    }
    .row-margin-50top {
        margin-top: 20px;
    }
    .row-margin-top {
        margin-top: 0;
    }
    .index-middle-box {
        position: static;
        width: 100%;
        background: rgb(255, 255, 255, 0.9);
        padding: 0;
    }
    .index-middle-title1 {
        font-size: 26px;
        font-weight: 400;
        color: #E60012;
        line-height: 1.5;
        margin-top: 10px;
    }
    .index-middle-content1 {
        margin: 10px 0 10px 0;
        color: #000;
    }
    .team_one {
        padding: 15px 0 0 0;
    }
    .blog_one_title h3 {
        font-size: 18px;
        font-weight: 600;
        line-height: 1.5;
    }
    .professional-qualification .block-title {
        margin: 0;
    }
    .team_one .block-title h2 {
        font-size: 26px;
    }
    .welcome_one_right_content .block-title h2 {
        font-size: 26px;
        line-height: 1.5;
    }
    .welcome_one_right_content .block-title {
        margin-bottom: 15px;
    }
    .welcome_one_right_second_text {
        margin: 0;
        padding: 20px 0 0 0;
    }
    .counter_two {
        padding: 50px 0 0px;
    }
    .counter_two.three {
        padding-bottom: 60px;
    }
    .contact_one {
        padding: 50px 0 30px;
    }
    .contact_one_form_box .block-title h2 {
        font-size: 26px;
        line-height: 1.5;
    }
    .cmp-contact-picker {
        width: 100%;
    }
    /* 首页结束 */
    /* 项目介绍开始 */
    .projects_details_content {
        padding: 30px 0;
    }
    .content-big-title {
        font-size: 26px;
        line-height: 1.5;
    }
    .services_details_right_text h5 {
        font-size: 18px;
    }
    .row-provide-special-support {
        margin: 15px 0 30px 0;
    }
    .provide-special-support {
        margin-bottom: 0;
    }
    .img-fluid {
        max-width: none;
        width: 100%;
        height: auto;
    }
    .portfolio-box .portfolio-box-detail {
        opacity: 1;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
    }
    .portfolio-box .portfolio-box-detail h2,
    .portfolio-box .portfolio-box-detail h3,
    .portfolio-box .portfolio-box-detail h4 {
        color: #fff;
    }
    .portfolio-box:hover .portfolio-box-img:after {
        opacity: 1;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
    }
    .portfolio-box-detail-content {
        position: absolute;
        width: 100%;
        bottom: 0;
        padding: 0 20px 0 20px;
        margin: auto;
    }
    .portfolio-box .portfolio-box-detail h4 {
        font-size: 16px;
    }
    /* 项目介绍结束 */
}


/* Header & navigation overrides */
.main-nav__header-one {
    background: linear-gradient(90deg, #bb0011 0%, #d1001f 45%, #e60038 100%);
    border-bottom: none;
    box-shadow: 0 10px 30px rgba(187, 0, 17, 0.28);
}

.stricked-menu.stricky-fixed {
    background: var(--Gradients-Bright-to-mid, linear-gradient(131deg, #C80000 34%, #E50068 100%)) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.logo_one { padding: 0; }

.main-nav__header-one .main-logo { display: block; height: 60px; max-height: 60px; width: auto; }

.main-nav__main-navigation .main-nav__navigation-box > li {
    padding: 18px 0;
}

.main-nav__main-navigation .main-nav__navigation-box > li > a {
    color: #ffffff;
    font-weight: 600;
}

.main-nav__main-navigation .main-nav__navigation-box > li > a:before { display: none; }

.main-nav__main-navigation .main-nav__navigation-box > li:hover > a,
.main-nav__main-navigation .main-nav__navigation-box > li.current > a,
.stricked-menu .main-nav__main-navigation .main-nav__navigation-box > li:hover > a,
.stricked-menu .main-nav__main-navigation .main-nav__navigation-box > li.current > a {
    color: #ffffff;
}

.main-nav__left .side-menu__toggler i {
    color: #ffffff !important;
}

.stricked-menu .main-nav__left .side-menu__toggler {
    color: #ffffff;
}

@media (max-width: 768px) {
    .main-nav__header-one .main-logo { height: 44px; max-height: 44px; }
}

/* Sticky (scrolled) state keeps compact spacing */
.stricked-menu.stricky-fixed .logo_one { padding: 0; }
.stricked-menu.stricky-fixed .main-logo { display:block; height:60px; max-height:60px; width:auto; }
.stricked-menu.stricky-fixed .main-nav__main-navigation .main-nav__navigation-box > li { padding: 18px 0; }
.stricked-menu.stricky-fixed .main-nav__main-navigation .main-nav__navigation-box > li > a { color: #ffffff; }
.stricked-menu.stricky-fixed .main-nav__left .side-menu__toggler i { color: #ffffff !important; }
@media (max-width: 768px) {
    .stricked-menu.stricky-fixed .main-logo { height: 44px; max-height: 44px; }
}


/* Speaker highlight cards */
.speaker-card-grid {
    padding: 10px 0 50px;
}

.speaker-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 45px rgba(0, 0, 0, 0.16);
}

.speaker-card__link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.speaker-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.speaker-card__icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #f80e1d;
    font-size: 18px;
    transition: background 0.3s ease, color 0.3s ease;
}

.speaker-card:hover .speaker-card__icon {
    background: #f80e1d;
    color: #ffffff;
}

.speaker-card__caption {
    background: linear-gradient(90deg, #bb0011 0%, #d1001f 45%, #e60038 100%);
    color: #ffffff;
    padding: 22px 28px 24px;
}

.speaker-card__name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
}

.speaker-card__org {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.speaker-card__role {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 767px) {
    .speaker-card-grid {
        padding-bottom: 30px;
    }
    .speaker-card__caption {
        padding: 18px 20px 20px;
    }
    .speaker-card__name {
        font-size: 18px;
    }
    .speaker-card__org,
    .speaker-card__role {
        font-size: 14px;
    }
}

/* Placeholder for speaker image when not provided */
.speaker-card__image-placeholder {
    width: 100%;
    height: 420px;
    background: #e9e9e9;
    background-image: linear-gradient(135deg, #f5f5f5 25%, transparent 25%), linear-gradient(225deg, #f5f5f5 25%, transparent 25%), linear-gradient(45deg, #f5f5f5 25%, transparent 25%), linear-gradient(315deg, #f5f5f5 25%, #e9e9e9 25%);
    background-position: 20px 0, 20px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}
@media (max-width: 767px) {
    .speaker-card__image-placeholder { height: 260px; }
}

/* ACCA 企业合作价值 */
.employer-value {
    padding: 40px 0 70px;
}

.employer-value__replay {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 16px 24px;
    border-left: 4px solid var(--thm-primary);
    background: #fdf1f0;
    color: var(--thm-black);
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.employer-value__replay:hover {
    background: #fbe3e2;
    color: var(--thm-primary);
    text-decoration: none;
}

.employer-value__replay-icon {
    flex: none;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: var(--thm-primary);
    color: #fff;
    font-size: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.employer-value__replay:hover .employer-value__replay-icon {
    transform: scale(1.08);
}

.employer-value__card {
    padding: 42px 48px;
    border-top: 3px solid var(--thm-primary);
    background: #f7f7f7;
}

.employer-value__title {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 16px;
    color: var(--thm-black);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.employer-value__title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--thm-primary);
}

.employer-value__text {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 2;
    text-align: justify;
}

.employer-value__contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 24px;
    padding: 26px 40px;
    background: var(--thm-black);
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.employer-value__contact:hover {
    background: var(--thm-primary);
    color: #fff;
    text-decoration: none;
}

.employer-value__contact i {
    flex: none;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.employer-value__contact:hover i {
    transform: translateX(6px);
}

@media (max-width: 767px) {
    .employer-value {
        padding: 30px 0 40px;
    }

    .employer-value__replay {
        gap: 10px;
        margin-bottom: 16px;
        padding: 14px 16px;
        font-size: 14px;
        line-height: 1.6;
    }

    .employer-value__replay-icon {
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 10px;
    }

    .employer-value__card {
        padding: 26px 20px;
    }

    .employer-value__title {
        margin-bottom: 16px;
        padding-bottom: 12px;
        font-size: 20px;
    }

    .employer-value__text {
        font-size: 15px;
        line-height: 1.9;
    }

    .employer-value__contact {
        gap: 16px;
        margin-top: 16px;
        padding: 20px;
        font-size: 14px;
    }

    .employer-value__contact i {
        font-size: 16px;
    }
}