/**------------
2025廣告輪播位置
--------------**/
.lasertek_ads {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #7a7474;
}

.lasertek-carousel-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    aspect-ratio: 1613/531;
    /* 依據設計稿比例自動縮放 */
}

.lasertek-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.lasertek-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(0.96);
}

.lasertek-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.08);
}

.lasertek-slide-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 2rem 1rem;
}

.lasertek-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.lasertek-arrow-left {
    left: 2vw;
}

.lasertek-arrow-right {
    right: 2vw;
}

@media (max-width: 900px) {
    .lasertek-slide-content {
        font-size: 1.1rem;
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 800px) {
    .lasertek-carousel-wrapper {
        aspect-ratio: 16/9;
        /* 手機橫式常見比例，避免過矮 */
    }
}

@media (max-width: 480px) {
    .lasertek-carousel-wrapper {
        aspect-ratio: 4/3;
        /* 更高比例，適合手機直式 */
    }

    .lasertek-slide-content {
        font-size: 0.95rem;
        padding: 0.5rem 0.2rem;
    }

    .lasertek-arrow {
        font-size: 1.1rem;
        padding: 0.2rem 0.5rem;
    }
}