/* 首頁主視覺 banner */
.hero {
    position: relative;
    margin-top: 85px; /* 讓出固定頁首的高度 */
    overflow: hidden;
    background: #14110f;
}

.hero-slider {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* slick 啟動前只顯示第一張，避免全部堆疊 */
.hero-slider:not(.slick-initialized) > .hero-slide:not(:first-child) {
    display: none;
}

.hero .slick-slide {
    outline: none;
}

.hero .hero-slide {
    position: relative;
    margin: 0; /* 蓋掉全站 li 的間距，否則右側會露出一條底色 */
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
}

/* 活動圖：同一張圖放大模糊當背景 */
.is-art .hero-bg {
    top: -40px;
    left: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    -webkit-filter: blur(30px) brightness(0.5);
    filter: blur(30px) brightness(0.5);
}

/* 寬版情境照：清晰鋪滿 */
.is-wide .hero-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-position: right center;
    object-position: right center;
}

/* 左側深色漸層，讓文字直接壓在圖上也清楚 */
.hero-slide:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 65%;
    background: linear-gradient(90deg, rgba(24, 13, 6, 0.9) 0%, rgba(24, 13, 6, 0.7) 55%, rgba(24, 13, 6, 0) 100%);
    pointer-events: none;
}

.is-art:after {
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    max-width: 1500px;
    height: 620px;
    height: clamp(480px, calc(100vh - 130px), 660px);
    margin: 0 auto;
    box-sizing: border-box;
}

/* 活動圖靠右，左緣淡出融入背景；保持原比例不裁切 */
.hero-art {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

    .hero-art img {
        display: block;
        width: auto;
        height: auto;
        max-width: 62vw;
        max-height: 620px;
        max-height: clamp(480px, calc(100vh - 130px), 660px);
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%);
        mask-image: linear-gradient(90deg, transparent 0, #000 12%);
    }

.hero-text {
    position: relative;
    z-index: 1;
    width: 38%;
    min-width: 340px;
    margin-left: 80px;
    padding-left: 36px;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

    /* 左側金色細線 */
    .hero-text:before {
        content: "";
        position: absolute;
        top: 4px;
        bottom: 4px;
        left: 0;
        width: 1px;
        background: linear-gradient(rgba(214, 178, 118, 0), rgba(214, 178, 118, 0.7), rgba(214, 178, 118, 0));
    }

.hero-eyebrow {
    margin: 0 0 22px;
    font-family: 'Cormorant', serif;
    font-size: 15px;
    letter-spacing: 3px;
    color: #d6b276;
}

.hero-tag {
    margin: 0 0 18px;
    font-size: 16px;
    letter-spacing: 3px;
    color: #e6d8c3;
}

.hero-title {
    margin: 0 0 24px;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    font-size: 40px;
    font-size: clamp(30px, 3.5vw, 58px);
    font-weight: bold;
    letter-spacing: 4px;
    line-height: 1.35;
    color: #fbf3e6;
}

    .hero-title em {
        display: block;
        font-style: normal;
        color: #d6b276;
    }

.hero-desc {
    max-width: 480px;
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 2;
    color: #eadfce;
}

.hero-btn {
    display: inline-block;
    padding: 18px 26px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #f4e8d4;
    border: 1px solid rgba(214, 178, 118, 0.65);
    text-shadow: none;
    transition: background-color 0.3s, color 0.3s;
}

    .hero-btn span {
        margin-left: 32px;
        color: #d6b276;
    }

    .hero-btn:hover,
    .hero-btn:focus {
        color: #1c1008;
        background: #d6b276;
        text-decoration: none;
    }

        .hero-btn:hover span,
        .hero-btn:focus span {
            color: #1c1008;
        }

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    padding: 0;
    font-size: 30px;
    line-height: 44px;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .hero-arrow:hover,
    .hero-arrow:focus {
        background: rgba(0, 0, 0, 0.65);
    }

.hero-prev {
    left: 14px;
}

.hero-next {
    right: 14px;
}

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
}

    .hero-dots .slick-dots {
        position: static;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .hero-dots .slick-dots li {
            width: auto;
            height: auto;
            margin: 0 4px;
        }

        .hero-dots .slick-dots button {
            display: block;
            width: 22px;
            height: 3px;
            padding: 0;
            font-size: 0;
            background: rgba(255, 255, 255, 0.35);
            border: 0;
            cursor: pointer;
            transition: width 0.3s, background-color 0.3s;
        }

            .hero-dots .slick-dots button:before {
                content: none;
            }

        .hero-dots .slick-dots .slick-active button {
            width: 40px;
            background: #fff;
        }

/* 平板與手機：圖片在上、文字在下 */
@media (max-width: 900px) {
    .hero-slide:after {
        content: none;
    }

    .hero-inner {
        display: block;
        height: auto;
        padding-bottom: 52px;
    }

    .hero-art {
        display: block;
        position: static;
        transform: none;
    }

        .hero-art img {
            width: 100%;
            max-width: none;
            max-height: none;
            -webkit-mask-image: linear-gradient(#000 86%, transparent);
            mask-image: linear-gradient(#000 86%, transparent);
        }

    .is-wide .hero-bg {
        height: 74vw;
        -webkit-mask-image: linear-gradient(#000 80%, transparent);
        mask-image: linear-gradient(#000 80%, transparent);
    }

    .is-wide .hero-text {
        margin-top: 74vw;
    }

    .hero-text {
        width: auto;
        min-width: 0;
        min-height: 330px; /* 固定最小高度，切換時版面少跳動 */
        margin-left: 0;
        margin-right: 0;
        padding: 18px 24px 0;
        text-align: left;
    }

        .hero-text:before {
            content: none;
        }

    .hero-eyebrow {
        margin-bottom: 8px;
    }

    .hero-tag {
        margin-bottom: 10px;
    }

    .hero-title {
        margin-bottom: 12px;
        letter-spacing: 2px;
    }

    .hero-desc {
        margin: 0 auto 18px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-btn {
        padding: 12px 22px;
    }

    .hero-arrow {
        top: 36vw; /* 對齊圖片中央 */
        width: 36px;
        height: 36px;
        margin-top: -18px;
        font-size: 24px;
        line-height: 32px;
    }

    .hero-prev {
        left: 8px;
    }

    .hero-next {
        right: 8px;
    }

    .hero-dots .slick-dots button {
        width: 12px;
    }

    .hero-dots .slick-dots .slick-active button {
        width: 24px;
    }
}

/* ===== 整張 banner 可點擊 ===== */
.hero .hero-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
}

/* 圖片與文字層讓點擊穿透到上面的連結，按鈕仍保有自己的滑入效果 */
.hero .hero-inner {
    pointer-events: none;
}

.hero .hero-btn {
    pointer-events: auto;
}
