/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
/* 全局|--|set */
.footer-common-editor1-template7::after {
    background-color: #dddddd96;
}
.gotop {
    opacity: 1;
}
.banner {
    .main-h1 {
        z-index: 1;
    }
    picture {
        position: relative;
        &:after {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            content: '';
            background: linear-gradient(180deg, rgb(168 149 61 / 74%) 2%, rgb(62 58 58 / 46%) 40%);
        }
    }
}
.breadcrumb-box {
    background-color: #FAD10D;
    .breadcrumb__item {
        &:last-child {
            color: #19194C;
        }
    }
}
.inner > .title {
    color: #19194C !important;
    span::before {
        display: none;
    }
}
.btnset {
    border-radius: 6px;
}
@media (max-width: 600px) {
    .right-icon {
        a {
            span {
                color: #19194C;
            }
        }
    }
}

/* 全局|gdpr|位置變更 */
@media screen and (min-width:991px) {
    .advbox{
        max-width: 80%;
        left: 50%;
        bottom: 25px;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .advbox .btnset{
        padding: 9px 30px 10px 30px !important;
        margin-bottom: 2px;
        &:before {
            background-color: #ccc;
        }
    }
}

/* 全局|header|箭頭樣式 */
.nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    color: #19194C;
    transform: rotate(90deg);
}

.nav__layer .nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    color: #19194c !important;
    transform: rotate(0deg);
}

@media screen and (max-width:991px) {
    .nav__btn::after{
        font-family: "icomoon";
        content: "\f105";
        font-size: 20px;
        color: #19194c;
        transform: rotate(0deg);
    }
}
.nav__btn-icon{
    display: none;
}
/* 全局|header|header-template20 */
.header-template20 {
    &.header--unfixed {
        background: linear-gradient(180deg, rgba(168, 149, 61, 0.63) 2%, rgb(144 144 144 / 52%) 66%, rgb(48 48 48 / 3%) 100%);
        .header__inner {
            border: none;
        }
    }
    &.header--fixed {
        box-shadow: 0 0 9px rgba(0, 0, 0, 0.2);
    }
    .topblock {
        .left-info {
            li {
                a:hover {
                    opacity: 1;
                }
            }
        }
    }
    .header__inner {
        background-color: #ffffff;
        .language {
            .option {
                li {
                    color: #444444;
                }
            }
        }
        .nav__box {
            .nav{
                .nav__item {
                    .nav__name {
                        opacity: 1;
                    }
                    .nav__layer {
                        width: max-content;
                        min-width: 200px;
                        .nav__item {
                            .nav__name {
                                font-weight: 400;
                                &:hover {
                                    padding-left: 25px;
                                    &:before {
                                        display: none;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .nav__name {
            &.active {
                color: #19194c !important;
                z-index: 0;
                &:before {
                    height: 100%;
                    background: #fad10d;
                    z-index: -1;
                }
                &:after {
                    height: 2px;
                    bottom: 5px;
                    background: #fff;
                }
                &:hover {
                    &:after {
                        background-color: #fad10d;
                    }
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .header-template20 {
        .header__inner {
            .nav__box {
                background-color: #fad10d;
                .nav {
                    .nav__item {
                        .nav__layer {
                            width: 100%;
                        }
                    }
                }
            }
        }
    }
}
/* 全局|footer|footer-template1 */
.footer-template1 {
    .footer-common-copy {
        height: 45px;
        .wrapper {
            flex-direction: row;
            .social ,.copy {
                width: 50%;
            }
            .social {
                display: flex;
                align-items: center;
            }
            .copy {
                text-align: right;
            }
        }
    }
}
@media (max-width: 991px) {
    .footer-template1 {
        .footer-common-copy {
            height: auto;
            .wrapper {
                .social ,.copy {
                    width: 100%;
                    text-align: center;
                }
                .social {
                    padding-top: 10px;
                    display: block;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .footer-common-editor1-template7 {
        .footer__info {
            .title {
                justify-content: flex-start;
            }
            ul {
                li {
                    width: 100%;
                }
            }
        }
    }
}


/* 首頁|banner|左右鍵 */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after {
    content: "\e912";
    transform: rotate(90deg);
}
.ind-banner .swiper-button-next::after {
    transform: rotate(-90deg);
}
@media (max-width: 375px) {
    .ind-banner .swiper-button-next, .ind-banner .swiper-button-prev {
        top: 50%;
    }
}

/* 首頁|banner|bullet */
.ind-banner .swiper-pagination .swiper-pagination-bullet{
    width: 15px;
    height: 14px;
    border-radius: 0;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: all 500ms ease-in-out;
}
@media (max-width: 991px) {
    .ind-banner .swiper-pagination .swiper-pagination-bullet-active {
        background-color: #19194C !important;
        border: none;
    }
}

/* 首頁|列表標題|字體粗度 */
section .title.title--lg{
    font-weight: 700;
}
.index-h1-template1 {
    padding: 20px 15px;
    .index-h1__setting {
        font-weight: 100;
        font-style: oblique;
    }
}

/* other */
.index-editor-template12 {
    .wrapper {
        .about-text {
            min-height: 250px;
        }
    }
}
@media (max-width: 600px) {
    .pro-block {
        > .title {
            &:before, &:after {
                display: none;
            }
        }
    }
}
.download__item {
    .file-name {
        flex: 1;
    }
    .btnset {
        width: auto;
    }
}
@media (max-width: 480px) {
    .download__item {
        .file-name {
            flex: none;
        }
        .file-name, .btnset {
            width: 100%;
        }
    }
}
