#tripGalleryCarousel {
    padding-bottom: 56px;
}

.trip__carousel {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.trip__carousel .carousel {
    background-color: transparent;
}

.trip__carousel .carousel-item {
    height: 810px;
    background-color: #000;
}

.trip__carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.trip__carousel-single img {
    border-radius: 8px;
    height: 500px;
    object-fit: cover;
}

.trip__carousel .carousel-control-prev,
.trip__carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(47, 93, 154, 0.8);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.trip__carousel .carousel-control-prev {
    left: 20px;
}

.trip__carousel .carousel-control-next {
    right: 20px;
}

.trip__carousel .carousel-control-prev:hover,
.trip__carousel .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--deep-blue);
}

.trip__carousel .carousel-control-prev-icon,
.trip__carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

.trip__carousel .carousel-indicators {
    bottom: 20px;
    z-index: 0;
    margin: 0 auto;
}

.trip__carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--deep-blue);
    transition: all 0.3s ease;
}

.trip__carousel .carousel-indicators .active {
    background-color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.tb-tour-section {
    max-width: 1170px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.tb-tour-list {
    display: grid;
    grid-template-columns: repeat(4, 270px);
    gap: 30px;
    justify-content: center;
}

.tb-tour-item {
    width: 100%;
}

.tb-tour-avatar img {
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tb-tour-ratings {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.tb-tour-title {
    font-size: 20px;
    font-weight: 700;
    margin: 5px 0;
    color: var(--text-title);
    font-family: "Noto Serif TC";
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-tour-decs {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-text) !important;
    font-family: "Noto Serif TC";
}

.tb-tour-avatar {
    position: relative;
}

.tb-tour-heading-box {
    display: flex;
    justify-content: center;
    margin: 50px 0 50px;
}

.tb-tour-heading {
    padding: 10px 0;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--text-title);
    border-bottom: 3px solid var(--sage);
    min-width: 300px;
}

.tb-tour-cate {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-title);
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
}

.tb-tour-cate::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: repeating-linear-gradient(to right,
            var(--sage) 0,
            var(--sage) 6px,
            transparent 6px,
            transparent 12px);
}

.tb-tour-bag {
    position: absolute;
    height: 37px;
    width: max-content;
    border-radius: 90px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-sky);
    color: var(--text-title);
    font-weight: 400;
    font-size: 12px;
    font-family: "Noto Serif TC";
    padding: 10px 20px;
}

.tb-btn-see-more {
    width: 285px;
    height: 44px;
    font-size: 16px;
    font-weight: 700;
    color: var(--deep-blue);
    border: 1px solid var(--deep-blue);
}

.tb-tour-see-more-box {
    display: flex;
    justify-content: end;
    margin-top: 20px;
}

.tb-line-main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 310px;
    background: url('../assets/images/top-page/line-bg.png') center;
    background-size: cover;
}

.tb-line-left img {
    height: 130px;
    width: 130px;
}

.tb-line-box {
    display: flex;
    gap: 30px;
    height: 150px;
    padding: 10px 60px;
    background: #ffffff;
    border-radius: 20px;
}

.tb-line-right {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-title);
}

.tb-whatapp-main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 310px;
    background: url('../assets/images/top-page/whatapp-bg.jpg') center;
    background-size: cover;
}

.tb-about-box .tb-tour-see-more-box {
    margin-top: 0;
}

.tb-line-box p,
.tb-whatapp-box p {
    margin-bottom: 10px;
}

.tb-line-box h3 {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
}

.tb-about-box p {
    margin-bottom: 5px;
}

.tb-whatapp-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tb-about-box h3 {
    font-size: 18px;
}

.tb-whatapp-box {
    display: flex;
    gap: 30px;
    height: 150px;
    padding: 10px 60px;
    background: url('../assets/images/top-page/whatapp-icon.jpg') center;
    background-size: cover;
    border-radius: 20px;
}

.tb-line-box,
.tb-whatapp-box,
.tb-about-box {
    width: 880px;
}

.tb-whatapp-box p,
.tb-whatapp-box h3 {
    color: #ffffff !important;
}

.tb-about-main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 310px;
    background: url('../assets/images/top-page/about-bg.jpg') center;
    background-size: cover;
}

.tb-about-box {
    display: flex;
    gap: 30px;
    height: 150px;
    padding: 26px 60px;
    border-radius: 20px;
    justify-content: end;
    background-image: url('../assets/images/top-page/_about-icon-desktop.png');
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
}

.tb-about-box p,
.tb-about-box h3 {
    color: var(--text-title) !important;
}

.tb-tag-left {
    font-weight: 700;
    font-size: 18px;
    width: 100px;
    font-family: 'Noto Serif TC';
    margin-right: 50px;
    min-width: 100px;
}

.tb-about-box .tb-line-right {
    text-align: right;
}

.tb-tag-item {
    border-radius: 90px;
    padding: 5px 15px;
    height: 44px;
    width: max-content;
    display: flex;
    align-items: center;
    border: 1px solid var(--deep-blue);
    color: var(--deep-blue);
}

.tb-tag-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tb-tags {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 20px;
}

.tb-comment {
    width: 726px;
    margin: 30px auto;
}

.tb-comment-rating {
    display: flex;
    gap: 5px;
    margin: 20px 0;
    align-items: center;
}

.tb-comment p {
    font-size: 16px;
    font-weight: 400;
    color: #475569;
}

.tb-comment-name {
    font-weight: 700;
    font-size: 18px;
    color: #0F172A;
    word-break: break-all;
}

.tb-comment-rating span {
    font-weight: 700;
    font-size: 18px;
    color: #475569;
}

.tb-comment-top {
    display: flex;
    gap: 20px;
    align-items: center;
}

.tb-comment-top img {
    width: 65px;
    height: 65px;
    border-radius: 50px;
}

@media (max-width: 414px) {
    .tb-whatapp-box {
        padding-right: 110px !important;
        padding: 42px 23px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .tb-tag-item {
        min-height: 44px;
        width: auto;
    }

    .tb-tour-avatar img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .trip__carousel .carousel-item img {
        height: 438px;
    }

    .trip__carousel .carousel-item {
        height: 438px;
        background-color: #000;
    }

    .tb-comment {
        width: 100%;
        padding: 20px 20px;
        margin: 0;
    }

    .tb-line-box {
        width: auto;
    }

    .tb-whatapp-box {
        width: 100%;
        padding-right: 70px;
    }

    .tb-line-left img {
        width: 98px;
        height: 98px;
    }

    .tb-line-main,
    .tb-whatapp-main,
    .tb-about-main {
        background-size: inherit;
        padding: 80px 20px;
    }

    .tb-line-box {
        padding: 26px 20px;
        gap: 5px;
    }

    .tb-whatapp-box {
        padding-right: 70px !important;
        padding: 42px 23px;
    }

    .tb-about-box {
        padding: 26px 17px 26px 20px;
    }

    .tb-about-right div {
        text-align: right;
    }

    .tb-about-right a {
        width: max-content;
    }

    tb-tour-item .tb-about-box p {
        margin-bottom: 5px;
    }

    .tb-about-right .tb-tour-see-more-box {
        margin-top: 10px;
    }

    .tb-tags {
        padding: 0 20px;
        display: block;
    }

    .tb-tag-left {
        margin-bottom: 50px;
    }

    .tb-tour-section {
        padding: 0 20px 80px 20px;
    }

    .tb-tour-list {
        padding: 15px;
    }

    .tb-tour-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .tb-tour-item {
        width: 100%;
    }

    .tb-whatapp-box {
        background: url('../assets/images/top-page/whatapp-icon-mobile.png') center;
        background-size: cover;
    }


    .tb-about-box {
        background-image: url('../assets/images/top-page/about-icon-desktop.png');
        background-size: cover;
    }

    .tb-whatapp-main a {
        padding: 0;
        width: 100%;
    }
}