/* =========================================================
   Coustom page — dark theme, matches homepage Product Series style
   ========================================================= */
@font-face {
    font-family: Metropolis Extra Bold;
    src: url('../fonts/metropolis/Metropolis-ExtraBold.woff2') format('opentype');
    font-display: swap;
}
@font-face {
    font-family: Metropolis ExtraRegular;
    src: url('../fonts/metropolis/Metropolis-ExtraRegular.woff2') format('opentype');
    font-display: swap;
}
:root {
    --custom-bg: #080809;
    --custom-panel: #0e0e11;
}

body {
    background: var(--custom-bg)
}
.dash {
    display: block;
    width: 35px;
    height: 3px;
    background: var(--accent);
    margin: 20px auto 20px 0px;
}
.custom-hero h1, .custom-panel h2, .custom-highlights h2, .custom-report h2, .sect-head h2, .news-card h4 {
    font-family: "Metropolis Extra Bold","Noto Sans TC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-weight: 800;
}

.sect-head h2 {
    color: #fff
}

.sect-head .left .dash {
    margin-top: 0;
    margin-bottom: 18px
}

.dash {
    display: block;
    width: 35px;
    height: 3px;
    background: var(--accent);
    margin: 20px 0;
}

/* ---------- Hero ---------- */
.custom-hero {
    background: linear-gradient(to bottom, #00000000, #00000000), url(../dayin/images/custom/banner.webp) no-repeat center center/ cover scroll;
    padding: 220px 0 220px;
    position: relative;
    overflow: hidden ;display:flex;
    align-items: center;
}

    .custom-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 60% 60% at 50% 20%,rgba(228,106,88,.14),transparent 70%);
        pointer-events: none
    }

.custom-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    padding: 0;
}

    .custom-hero-inner .dash {
        margin: 20px auto 20px 0px
    }

.custom-hero h1 {
    font-size: clamp(30px,4.5vw,40px);
    color: #fff;
    margin: 50px 0 30px 0;
    text-align: left;
}
.custom-hero p {
    text-align: left;
    color: #eee;
    word-break: break-all;
    font-size: 20px;
}

/* ---------- Intro ---------- */
.custom-intro {
    background: var(--custom-bg);
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,.08)
}

    .custom-intro p {
        color: #9a9aa2;
        font-size: 16px;
        line-height: 1.9;
        max-width: 760px;
        margin: 0 auto;
        text-align: center
    }

/* ---------- Alternating pillar panels ---------- */
.custom-panel {
    position: relative;
    min-height: 560px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255,255,255,.08)
}

    .custom-panel .container {
        display: flex;
        min-height: 560px;
        justify-content: flex-end
    }

    .custom-panel.rev .container {
        justify-content: flex-start
    }

.custom-panel-content {
    display: flex;
    align-items: center;
    flex: 0 0 54%;
    max-width: 54%;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px)
}

.custom-panel-inner {
    padding: 60px 64px;
    width: 100%
}

.custom-en {
    font-family: "Oswald",sans-serif;
    font-family: "Metropolis","Noto Sans TC";
    font-size: 12px;
    color: var(--accent);
    letter-spacing: .35em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600
}

.custom-panel h2 {
    color: #fff;
    font-size: clamp(26px,3vw,36px);
    margin-bottom: 18px;
}

.custom-panel-inner > p {
    color: #9a9aa2;
    font-size: 14.5px;
    line-height: 1.9;
    margin-bottom: 26px
}

.custom-bullets {
    list-style: none;
    padding-left: 0;
}

    .custom-bullets li {
        position: relative;
        padding: 16px 0 16px 24px;
        border-top: 1px solid rgba(255,255,255,.08);
        color: #c7c7cc;
        font-size: 13.5px;
        line-height: 1.85
    }

        .custom-bullets li:first-child {
            border-top: none;
            padding-top: 0
        }

        .custom-bullets li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 24px;
            width: 5px;
            border-radius: 100%;
            height: 5px;
            background: var(--accent)
        }

        .custom-bullets li strong {
            display: block;
            color: #fff;
            font-size: 14.5px;
            font-weight: 700;
            margin-bottom: 4px
        }

/* ---------- Highlights (KPI strip) ---------- */
.custom-highlights {
    background: var(--custom-panel);
    padding: 110px 0;
    border-bottom: 1px solid rgba(255,255,255,.08)
}

.sect-head-center {
    /*text-align: center;*/
    /*max-width: 760px;*/
    margin: 0 auto 60px;
}

    .sect-head-center h2 {
        color: #fff;
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 18px;
    }
    .sect-head-center p {
        color: #ddd;
        font-size: 18px;
        line-height: 1.9;
    }
        .custom-kpi-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    max-width: 820px;
    margin: 0 auto
}

    .custom-kpi-row .k {
        text-align: center;
        padding: 0 24px;
        border-left: 1px solid rgba(255,255,255,.14)
    }

        .custom-kpi-row .k:first-child {
            border-left: none
        }

    .custom-kpi-row .v {
        font-family: "Bebas Neue",sans-serif;
        font-family: "Metropolis","Noto Sans TC";
        font-size: clamp(38px,4vw,56px);
        color: var(--accent);
        line-height: 1
    }

        .custom-kpi-row .v .unit {
            font-family: "Oswald",sans-serif;
            font-family: "Metropolis","Noto Sans TC";
            font-size: 16px;
            font-weight: 600;
            margin-left: 4px
        }

    .custom-kpi-row .l {
        font-size: 13px;
        color: #c7c7cc;
        font-weight: 700;
        margin-top: 10px
    }

/* ---------- Report downloads ---------- */
.custom-report {
    background: var(--custom-bg);
    padding: 110px 0
}

    .custom-report h2 {
        color: #fff;
        margin-bottom: 18px
    }

    .custom-report p {
        color: #9a9aa2;
        font-size: 14.5px;
        line-height: 1.9;
        margin-bottom: 12px
    }

        .custom-report p.small {
            font-size: 13px;
            color: #7a7a80
        }

.rc-files {
    display: grid;
    gap: 14px
}

.rc-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    background: #141417;
    border: 1px solid rgba(255,255,255,.08);
    transition: all .3s
}

    .rc-file:hover {
        border-color: var(--accent);
        background: #191920
    }

    .rc-file .rf-left {
        display: flex;
        align-items: center;
        gap: 20px
    }

    .rc-file .rf-yr {
        font-family: "Bebas Neue",sans-serif;
        font-family: "Metropolis","Noto Sans TC";
        font-size: 34px;
        color: var(--accent);
        line-height: 1
    }

    .rc-file .rf-info .t {
        color: #fff;
        font-size: 15px;
        font-weight: 700
    }

    .rc-file .dl {
        color: var(--accent);
        font-family: "Oswald",sans-serif;
        font-family: "Metropolis","Noto Sans TC";
        font-size: 12px;
        letter-spacing: .2em;
        font-weight: 700
    }


@media (max-width:767px) {
    .custom-hero {
        padding: 0;
        min-height: 70vh;
    }
    .sect-head-center {
        margin: 0 auto 20px;
    }

        .custom-hero h1 {
            font-size: 32px
        }

        .custom-hero p {
            font-size: 16px;
        }
}
@media(max-width:960px) {
    

    .custom-intro {
        padding: 40px 0
    }

    .custom-panel {
        min-height: auto
    }

        .custom-panel .container {
            min-height: auto;
            justify-content: flex-start
        }

    .custom-panel-content {
        flex-basis: 100%;
        max-width: none;
        margin-top: 220px
    }

    .custom-panel-inner {
        padding: 40px 24px
    }

    .custom-highlights {
        padding: 70px 0
    }

    .custom-kpi-row {
        grid-template-columns: 1fr;
        gap: 28px
    }

        .custom-kpi-row .k {
            border-left: none;
            border-top: 1px solid rgba(255,255,255,.14);
            padding: 24px 0 0
        }

            .custom-kpi-row .k:first-child {
                border-top: none;
                padding-top: 0
            }

    .custom-report {
        padding: 70px 0
    }

    .custom-report-grid .col-md-5 {
        margin-bottom: 32px
    }
}


/* ---------- Categories → stacked alternating Product Series panels ---------- */
.categories {
    padding: 70px 0 0 0;
    background: #08080a !important;
}

    .categories .sect-head {
        padding: 0 32px;
        max-width: var(--maxw);
        margin-left: auto;
        margin-right: auto
    }

        .categories .sect-head .right {
            color: #9a9aa2
        }

            .categories .sect-head .right a {
                color: var(--accent)
            }

.series-list {
    margin-top: 0px
}
/* .series-panel's only DOM child is .container (standard site container —
   max-width:1280 + margin:auto + 32px padding), so .series-content lines
   up with the same gutter as the stats band / section headers automatically.
   A flex row inside .container pushes the content block to whichever side
   isn't rev, and the rest of the panel (both inside and outside .container)
   is just the background photo showing through. */
.series-panel {
    position: relative;
    min-height: 80vh;
    background-color: #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.35) 100%),var(--img-desktop)
}

    .series-panel > .container {
        display: flex;
        min-height: 560px;
        justify-content: flex-end
    }

    .series-panel.rev > .container {
        justify-content: flex-start
    }

.series-content {
    display: flex;
    align-items: center;
    flex: 0 0 50%;
}

.series-inner {
/*    padding: 60px 64px;*/
    width: 100%
}

.series-num {
    font-size: 64px;
    color: var(--accent);
    line-height: 1;
    background: #000;
}

.cus-item h3 {
    font-size: 18px;
    min-height: 80px;
    padding: 20px 15px;
    color: #fff;
    background: #333;
    margin: 0;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
}


.series-en {
    font-family: "Oswald",sans-serif;
    font-family: "Metropolis","Noto Sans TC";
    font-size: 12px;
    color: #7a7a80;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 18px
}

.cus-item p {
    font-size: 16px;
    padding: 5px 15px;
    /*line-height: 1.9;*/
    color: #eee;
    /*margin-bottom: 24px;*/
}
.cus-item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
}

    .cus-item .pic-item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
@media(max-width:960px) {
    .cus-item h3 {
        font-size: 16px;
        min-height: auto;
        padding: 10px 10px;
    }
    .cus-item p {
        font-size: 15px;
        padding: 5px 0px;
        line-height: 1.5;
    }
    }

.series-link {
    font-family: "Oswald",sans-serif;
    font-family: "Metropolis","Noto Sans TC";
    font-size: 13px;
    letter-spacing: .2em;
    color: var(--accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px
}

    .choose {
        padding: 40px 0 0 0;
        background: #08080a !important;
    }

        .choose .sect-head {
            padding: 0 32px;
            max-width: var(--maxw);
            margin-left: auto;
            margin-right: auto
        }

            .choose .sect-head .right {
                color: #9a9aa2
            }

                .choose .sect-head .right a {
                    color: var(--accent)
                }

        .choose .item {
            padding: 30px 25px;
            border-radius: 15px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

            .choose .item h3 {
                color: #ea6852;
                font-size: 50px;
                font-weight: bolder;
            }

            .choose .item h4 {
                font-weight: bolder;
                font-size: 28px;
            }

            .choose .item a {
                display: inline-block;
                align-self: flex-start;
                margin-top: auto;
                padding: 11px 22px;
                background: #ea6852;
                border-radius: 5px;
                color: #fff !important;
                font-weight: 700;
                letter-spacing: .15em;
                font-size: 13px;
                transition: all .3s;
                text-align: center;
                font-family: "Metropolis","Noto Sans TC";
                border-bottom: 2px solid #fff;
            }

                .choose .item a:hover {
                    background: #e04830;
                    border-bottom: 2px solid #e04830;
                }


            .choose .item ul {
                margin: 20px 0;
            }

            .choose .item.light {
                background: #dbdadf;
            }

            .choose .item.dark {
                background: #363844;
            }

                .choose .item.dark h4 {
                    color: #fff;
                }

            .choose .item ul {
                list-style: none;
                padding: 0;
            }
                .choose .item ul li {
                    position: relative;
                    padding: 6px 0 6px 26px;
                    font-size: 16px;
                    font-weight: 600;
                    line-height: 1.6;
                }
    .choose .item ul li::before {
                content: "";
                position: absolute;
                left: 0;
                top: 12px;
                width: 9px;
                height: 9px;
                border-radius: 50%;
                background: var(--accent);
            }
                .choose .item.dark ul li {
                    color: #fff;
                    /*color: #333;*/
                    font-size: 16px;
                    line-height: 1.8;
                }

            .choose .item .pic-item {
                position: relative;
                width: 50px;
                padding-bottom: 50px;
                overflow: hidden;
            }

                .choose .item .pic-item img {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

        .choose .step-item {
            padding: 0px 5px;
        }

        .choose .col.mb-3 + .col.mb-3 {
            border-left: 1px solid #aaa;
        }

        .choose .step-item h3 {
            color: #fff;
            font-size: 20px;
            text-transform: capitalize;
            font-weight: bolder;
        }

        .choose .step-item p {
            color: #eee;
            font-size: 16px;
        }

    .experts {
        padding: 110px 0;
        background: linear-gradient(to bottom, #00000000, #00000000), url(../dayin/images/custom/experts.webp) no-repeat center center/ cover scroll;
        text-align: center;
    }

        .experts .dash {
            margin: 20px auto;
        }

        .experts h2 {
            color: #fff;
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 18px;
        }

        .experts p {
            color: #eee;
            font-size: 20px;
        }

        .experts a {
            display: inline-block;
            padding: 11px 22px;
            background: #ea6852;
            border-radius: 5px;
            color: #fff !important;
            font-weight: 700;
            letter-spacing: .15em;
            font-size: 13px;
            transition: all .3s;
            text-align: center;
            font-family: "Metropolis","Noto Sans TC";
            border-bottom: 2px solid #fff;
        }

            .experts a:hover {
                background: #e04830;
                border-bottom: 2px solid #e04830;
            }


    @media(max-width:960px) {
        .custom-hero-inner {
            padding: 0 !important;
        }

        .custom-hero h1 {
            font-size: 20px;
        }

        .custom-hero p {
            font-size: 16px;
        }

        .sect-head-center h2, .series-content h3 {
            font-size: 20px;
        }

        .series-content {
            flex: 0 0 100%;
        }

        .series-panel {
            padding: 15px !important;
        }

        .series-panel {
            height: 60vh;
        }

        .sect-head-center {
            padding: 0 !important;
        }

            .sect-head-center h2 {
                font-size: 18px;
            }

        .choose .item h3 {
            font-size: 30px;
        }

        .choose .item h4 {
            font-size: 18px;
        }

        .choose .item a::after {
            display: none;
        }

        .choose .step-item {
            padding: 0px;
        }

            .choose .step-item h3 {
                font-size: 16px;
                text-align: center;
            }

            .choose .step-item p {
                text-align: center;
                font-size: 15px;
            }

        .choose .col.mb-3 {
            border: 1px solid #aaa;
        }

        .experts {
            padding: 60px 0;
        }

            .experts h2 {
                font-size: 20px;
            }

            .experts p {
                font-size: 15px;
                padding: 0;
            }
    }
@media (max-width:767px) {
    .choose .item {
        padding: 20px 10px;
    }
        .choose .item .pic-item {
            width: 40px;
            padding-bottom: 40px;
        
            }
            .choose .item h3 {
            font-size: 24px;
        }
        .choose .item h4 {
            font-size: 16px;
        }
}