.navbar {
    --bs-navbar-padding-y: 1rem;
    --bs-navbar-nav-link-padding-x: 1rem;
}

.nav-item {
    border-radius: 0.5rem;
    margin: 10px;
}

.navhover:hover {
    transition: all 0.5s ease;
}

.navhover:hover {
    background-color: rgba(0, 0, 0, 0.05)
}

#btn_top {
    z-index: 9999;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 999em;
    display: none;
}

body {
    min-width: 350px;
    margin: auto;
    font-family: 'Noto Sans TC', sans-serif;
}

main {
    /*margin-left: 16px;
    margin-right: 16px;*/
    margin: auto;
}

h1 {
    margin: 0px;
    font-size: 24px;
    text-align: justify;
}

.card-body {
    text-align: justify;
    padding-bottom: 0px;
}

.card-container {
    /*min-width: 350px;*/
    max-width: 1024px;
    margin: auto;
}

.section-bg {
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-bg-travel {
    background: linear-gradient(to bottom, #ffffff 0%, #fffdf1 30%, #fffdf1 70%, #ffffff 100%);
    /*box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.03);*/
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    margin-top: 1.5rem;
}

.section-bg-life {
    background: linear-gradient(to bottom, #ffffff 0%, #fdfdfb 30%, #fdfdfb 70%, #ffffff 100%);
    /*background-color: #fdfdfb;*/
}

.section-bg-shop {
    background: linear-gradient(to bottom, #ffffff 0%, #fdf6f0 30%, #fdf6f0 70%, #ffffff 100%);
    /*background-color: #fdf6f0;*/
}

.section-bg-video {
    /*background: linear-gradient(to bottom, #ffffff 0%, #f4f7f9 30%, #f4f7f9 70%, #ffffff 100%);*/
    /*background-color: #f4f7f9;*/
}

.section-bg-travel .article-card:hover {
    background-color: rgba(255, 252, 220, 0.6);
    scale: 0.9;
}

.section-bg-life .article-card-second:hover {
    background-color: rgba(0, 0, 0, 0.05);
    scale: 0.9;
}

.section-bg-shop .article-card:hover {
    background-color: rgba(253, 236, 220, 0.5);
    scale: 0.9;
}

.section-bg-video .article-card-second:hover {
    background-color: rgba(210, 225, 240, 0.6);
    scale: 0.9;
}

.text-subtle {
    color: #888;
}

.border-line {
    border-bottom: 1px solid #e0e0e0;
}

.decorated-title,
.decorated-title-no-icon {
    position: relative;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 1000;
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
    /*font-family: "Noto Serif TC", serif;*/
}

.decorated-title::before,
.decorated-title::after {
    content: '✦';
    color: #ccc;
    font-size: 1.25rem;
    margin: 0 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-bottom: 1rem;
}

.article-card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    /*margin: 1.5rem;*/
    align-items: center;
    padding: 40px;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
    cursor: pointer;
}

.article-card-second {
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
    /*margin: 1.5rem;*/
    align-items: center;
    padding: 40px;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
    cursor: pointer;
}

.article-card img {
    width: 360px;
    /* 或根據需求設 150px、250px 等 */
    height: auto;
    /* 保持寬高比例 */
    aspect-ratio: 4 / 3;
    /* 或用 1 / 1、4 / 3，看你想要比例 */
    object-fit: cover;
    /* 讓圖片裁切填滿區塊 */
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.article-card-second img {
    width: 360px;
    /* 或根據需求設 150px、250px 等 */
    height: auto;
    /* 保持寬高比例 */
    aspect-ratio: 4 / 3;
    /* 或用 1 / 1、4 / 3，看你想要比例 */
    object-fit: cover;
    /* 讓圖片裁切填滿區塊 */
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.article-title {
    text-align: left;
    font-weight: 600;
    font-size: 1.17rem;
    margin-top: 16px;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.articledes {
    text-align: justify;
}

#travelCarousel-computer {
    display: block;
}

#travelCarousel-cellphone {
    display: none;
}

#buydiscountCarousel-computer {
    display: block;
}

#buydiscountCarousel-cellphone {
    display: none;
}

#lifeCarousel-computer {
    display: block;
}

#lifeCarousel-cellphone {
    display: none;
}

.btn-more {
    background-color: #fff;
    border: 1px solid #bbb;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 999px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.5s ease;
}

.btn-more:hover {
    background-color: #f5f5f5;
    border-color: #999;
    color: #333;
    text-decoration: none;
    scale: 0.9;
}

.btn-more-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.newlist {
    padding-left: 1rem;
    padding-right: 1rem;
}

.newlist-cellphone {
    width: 95%;
    margin: auto;
    transition: all 0.5s ease;
}

.newlist-cellphone:hover {
    scale: 0.9;
}

.newlist-item {
    align-items: center;
}

.newlistarticle {
    background-color: #fffefc;
    transition: all 0.5s ease;
    cursor: pointer
}

.newlistarticle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    scale: 0.9;
}

.section-btn-prev {
    position: absolute;
    width: 0%;
    scale: 1.3;
}

.section-btn-next {
    position: absolute;
    width: 0%;
    scale: 1.3;
}

.card-img-container {
    width: 100%;
    aspect-ratio: 6 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.airplaneicon {
    position: absolute;
    left: 0;
    top: 0;
    user-select: none;
}

.airplaneicon picture,
.airplaneicon img {
    width: 43%;
    height: auto;
}

.coffeeicon {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row-reverse;
    user-select: none;
}

.coffeeicon img {
    width: 42%;
    height: auto;
    margin-top: 10px;
}

.buyicon {
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 24px;
    user-select: none;
}

.buyicon picture,
.buyicon img {
    width: 40%;
    height: auto;
}

.videoicon {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row-reverse;
    user-select: none;
}

.videoicon img {
    width: 40%;
    height: auto;
    margin-top: 12px;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-on-scroll.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-on-scroll-right {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-on-scroll-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.sectiontitlearer {
    position: relative;
    user-select: none;
}

@media (max-width: 767px) {
    .article-card {
        flex-direction: column;
        align-items: stretch;
    }

    .article-card img {
        width: 100%;
        height: auto;
    }

    .article-card-second {
        flex-direction: column;
        align-items: stretch;
    }

    .article-card-second img {
        width: 100%;
        height: auto;
    }

    .article-summary {
        display: none;
    }

    .article-title {
        margin-bottom: 0px;
    }

    .signboard-label {
        width: 120px;
        height: 60px;
    }

    .signboard-label span {
        font-size: 0.9rem;
    }

    .newlist {
        display: none;
    }

    #travelCarousel-computer {
        display: none;
    }

    #travelCarousel-cellphone {
        display: block;
    }

    #buydiscountCarousel-computer {
        display: none;
    }

    #buydiscountCarousel-cellphone {
        display: block;
    }

    #lifeCarousel-computer {
        display: none;
    }

    #lifeCarousel-cellphone {
        display: block;
    }

    .airplaneicon {
        display: none;
    }

    .coffeeicon {
        display: none !important;
    }

    .buyicon {
        display: none;
    }

    .videoicon {
        display: none !important;
    }
}

.googlead{
	max-width: 1024px;
	text-align: center;
	margin-bottom: 24px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 24px;
	overflow: hidden;
}

.googleadfirst{
	max-width: 1024px;
	text-align: center;
	margin-top: 24px;
	margin-bottom: 24px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 24px;
	overflow: hidden;
}

/*FAQ面板CSS*/
/* 1. 修改展開後的背景顏色與文字顏色 */
.accordion-button:not(.collapsed) {
    background-color: #ececec57; /* 極淺灰色，接近白色的對比色 */
    color: #000000;            /* 文字恢復為深灰色/黑色 */
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125); /* 保留底部細線 */
}

/* 2. 移除點擊時出現的藍色光暈 (Focus 狀態) */
.accordion-button:focus {
    box-shadow: none; 
    border-color: rgba(0,0,0,.125);
}

/* 3. 修改右側箭頭的顏色 (選配：如果你希望箭頭也是深色的) */
.accordion-button::after {
    filter: grayscale(1) brightness(0.5);
}

.accordion-body {
    line-height: 1.8;
}