#footer {
    font-size: 0.32rem;
    background-color: #fff;
    padding-top: 16px;
}

#footer a {
    cursor: pointer;
}

#footer a:hover {
    animation: href-hover 0.3s ease forwards;
}

#footer .footer-content-mobile {
    width: 100%;
    border-top: 1px solid var(--z-body-bg-color1);
}

#footer .accordion-item {
    border-radius: 0 !important;
    border: none;
    border-bottom: 1px solid var(--z-body-bg-color1);
}

#footer .footer-content-mobile .accordion-footer {
    height: 1.04rem;
    line-height: 1.04rem
}

#footer .footer-content-mobile .accordion-button {
    border-radius: 0 !important;
    font-size: 0.28rem;
    padding: 0 0.3rem;
    box-shadow: none !important;
    background-color: transparent !important;
    font-weight: bold;
    color: #000 !important;
}

#footer .footer-content-mobile .accordion-button::after {
    width: 0.36rem;
    height: 0.36rem;
    background-size: auto;
}

#footer .footer-content-mobile .accordion-body {
    padding: 0 0.3rem;
}

#footer .footer-content-mobile .accordion-body .item {
    display: block;
    font-size: 0.26rem;
    height: 0.96rem;
    line-height: 0.96rem
}

#footer .accordion-item.link {
    border-bottom: none;
}

#footer .accordion-item.link .accordion-button::after {
   display: none;
}

#footer .accordion-item.link a {
   display: block;
   width: 100%;
   height: 100%;
}

#footer .footer-banner {
    width: 100%;
    height: 3.6rem;
    background-color: var(--z-body-bg-color1);
    overflow: hidden;
}

#footer .wrap {
    width: 100%;
    height: 100%;
    padding: 0.48rem 0.3rem 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#footer a {
    display: inline-block;
}

#footer a.footer-icon {
    width: 3.52rem;
}

#footer .link-list,
#footer .links  {
    display: flex;
}

#footer .link-list {
    width: 100%;
    justify-content: space-between;
}

#footer .links {
    align-items: center;
    color: #fff;
}

#footer .links a.icon1 {
    width: 0.74rem;
    margin-right: 0.36rem;
}

#footer .links a.icon2 {
    width: 0.56rem;
    margin-right: 0.36rem;
}

#footer .link-list .copyright{
    display: flex;
    align-items: flex-end;
    line-height: normal;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0a3a6e;
    color: #fff;
    padding: 12px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    font-size: 14px;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

#cookie-banner.hidden {
    display: none;
}

#cookie-banner .cookie-buttons {
    display: flex;
}

.cookie-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 14px;
}

.cookie-buttons button,
.cookie-buttons a {
    margin-left: 8px;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #0a3a6e;
    cursor: pointer;
    text-decoration: none;
}

.cookie-buttons button:hover,
.cookie-buttons a:hover {
    opacity: 0.9;
}


.footer-content-mobile .accordion-body a[href] {
    color: var(--z-page-primary-color);
}

#footer-accordion .accordion-footer {
    height: 1.04rem;
    line-height: 1.04rem;
}

#footer-accordion .accordion-button {
    border-radius: 0 !important;
    font-size: 14px;
    padding: 0 0.3rem;
    box-shadow: none !important;
    background-color: transparent !important;
    font-weight: bold;
    color: #000 !important;
}

#footer-accordion .accordion-button::after {
    width: 0.36rem;
    height: 0.36rem;
    background-size: auto;
}

#footer-accordion .accordion-body {
    padding: 0 0.3rem;
    padding-bottom: 20px;
    font-size: 0.26rem;
}

#footer-accordion .accordion-body a {
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    margin: 14px 0;
}

#footer-accordion .accordion-item.link .accordion-button::after {
    display: none;
}

#footer-accordion .accordion-item.link a {
    display: block;
    width: 100%;
    height: 100%;
}

#footer-accordion-btn .tpl-btn {
    transform: scale(2);
    transform-origin: 0 0;
    left: 0;
    top: 50%;
}

#footer-accordion .accordion-body-title {
    font-weight: 700;
    font-size: 18px;
    height: 20px;
    line-height: 20px;
}

#footer-accordion .level-1:first-of-type {
    margin-top: 13px;
}

#footer-accordion .level-1 {
    padding-left: 20px;
    margin-bottom: 36px;
}

#footer-accordion .level-3 {
    font-weight: 700;
    padding-left: 30px;
}

#footer-accordion .level-2 > a::before {
    content: '';
    display: block;
    width: 5px;
    height: 1px;
    background-color: #000;
    margin-right: 0.16rem;
    transform: translateY(10px);
}

#footer-accordion .level-2 > a.no-line::before {
    display: none !important;
}

#footer-accordion .level-2 > a.no-line {
    padding-left: 16px !important;
}

#footer-accordion .accordion-body a[href]::before {
    background-color: var(--z-page-primary-color);
}

#footer-accordion .level-2 > a:not(.no-line)::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 6px solid #000;
    position: relative;
    right: 3px;
    z-index: 2;
    margin-left: 12px;
    transform: translateY(9px);
}

#footer-accordion .level-2 > a[href]:not(.no-line)::after {
    border-left: 6px solid var(--z-page-primary-color) !important;
}

#footer-accordion .level-1 > a {
    border-bottom: solid 1px var(--z-body-bg-color1);
    padding-bottom: 12px;
    margin-bottom: 10px;
}

#footer-accordion .level-1 > a.no-sub {
    border-bottom: none;
}



@media screen and (min-width: 768.5px) {

    #footer {
        padding-top: 2.92rem;
        font-size: 1.28rem;
    }

    #footer .footer-content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        line-height: 3.2rem;
        margin-bottom: 7.36rem;
        gap: 1.76rem;
    }

    #footer .footer-content>div {
        flex: 1;
        max-width: 50%;
    }

    /* #footer .guide-company {
        width: 100%;
        max-width: 14.4rem;
    } */

    /* #footer .guide-person {
        width: 100%;
        max-width: 43.52rem;
    } */

    #footer .guide {
        width: 100%;
        max-width: 10.4rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #footer .title-main {
        font-weight: bold;
        font-size: 24px;
        padding-bottom: 21px;
        margin-bottom: 16px;
        position: relative;
    }
    #footer .title-main::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%; 
        height: 1px;
        background-color: var(--z-body-bg-color1);
    }
    #footer .title-main.title-main-percent::after {
        width: 50%;  /* 只显示50%宽度 */
    }

    #footer .guide-person .title-sub{
        display: flex;
        justify-content: space-between;
    }

    #footer .title-sub .right {
        width: 14.08rem;
    }

    /* 底部横条  */
    #footer .footer-banner {
        height: 7.68rem;
    }

    #footer .wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    #footer .link-list {
        width: auto;
        justify-content: space-between;
    }

    #footer a.footer-icon {
        width: 16.8rem;
    }

    #footer .links a.icon1 {
        width: 3.6rem;
        margin-left: 1.44rem;
    }

    #footer .links a.icon2 {
        width: 3.4rem;
        margin-left: 1.44rem;
    }

    #footer .link-list .copyright{
        margin-left: 4.8rem;
        display: flex;
        align-items: flex-end;
        line-height: normal;
    }

    #footer .footer-content .content-sections {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        font-size: 12px;
    }

    #footer .footer-content .section {
        font-weight: 700;
        padding: 0 14px;
        max-width: 240px;
    }

    #footer .footer-content .section-title {
        font-size: 14px;
        line-height: 20px;
        color: #333;
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    #footer .footer-content .section-items {
        line-height: 20px;
    }

    #footer .footer-content .section-items a {
        display: block;
    }

    .content-section-right {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #footer .footer-content .category {
        position: relative;
        display: flex;
        line-height: 20px;
    }

    #footer .footer-content .category>span {
        margin-right: 6px;
    }

    /* #footer .footer-content .category::before {
        content: '';
        display: block;
        width: 12px;
        height: 1.5px;
        background-color: #000;
        margin-right: 6px;
    } */

    #footer .footer-content .sub-items {
        margin-left: 18.6px;
        display: flex;
        flex-direction: column;
    }

    #footer .footer-content .sub-item:hover {
        text-decoration: underline;
    }

    #footer .footer-content .section a[href] {
        color: var(--z-page-primary-color);
    }

    #footer .section-title::after {
        content: '';
        display: none;
        width: 0;
        height: 0;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 8px solid #000;
        position: relative;
        right: 3px;
        z-index: 2;
    }

    #footer a[href].section-title::after {
        border-left: 8px solid var(--z-page-primary-color);
    }

    .section-items .sub-items {
        margin-bottom: 24px;
    }
}

@media screen and (min-width: 1200px) {
    #footer .footer-content .content-sections {
        font-size: 14px;
    }
    .content-section-right {
        gap: 24px;
    }
    #footer .footer-content .category {
        line-height: 24px;
    }

    #footer .footer-content .section-items {
        line-height: 24px;
    }
    
    #footer .footer-content .section-title {
        font-size: 16px;
        line-height: 24px;
    }
}
