.tourism {
    padding: min(20px, 3vw);
    box-shadow: 0 0 2px #ddd;
}

.introduce {
    color: rgba(106, 106, 106, 1);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 732px;
}

.more {
    color: rgba(125, 169, 197, 1);
    font-size: 14px;
    padding-right: 3%;
    text-align: right;
    display: block;
}

.selfIntroduction {
    display: block;
    max-height: none;
}

.introduce.expanded .more {
    display: block;
}

button {
    transition: ease 0.3s all;
}

.button {
    margin-top: 10px;
    padding: 1% 5%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;
    flex-wrap: wrap;
}

.reserve {
    width: 140px;
    height: 35px;
    background: rgba(156, 200, 227, 1);
    border-radius: 10px;
    align-items: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
    border: none;

}

.reserve:hover {
    background: rgba(125, 169, 197, 1);
}

.btn-reserve {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
}

.more-info {
    width: 140px;
    min-height: 35px;
    color: rgba(106, 106, 106, 1);
    border-radius: 10px;
    align-items: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
    border: none;
}

.more-info:hover {
    background: rgb(215, 219, 224);
}

.btn-more {
    color: rgba(106, 106, 106, 1);
    font-size: 16px;
}

.select-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    color: #6AB0D3;
}

.select-container span {
    font-size: 1rem;
    min-width: 7.5rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-select {
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 10px 30px 10px 10px;
    border-radius: 5px;
    border: 1px solid #9cc8e3;
    cursor: pointer;
    appearance: none;
    height: 2.5rem;
    width: 10rem;
}

.custom-select:hover {
    border-color: #6AB0D3;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.custom-select:focus {
    outline: none;
    border-color: #6AB0D3;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.selectBox {
    position: relative;
}

.selectBox:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: calc(5px * 1.414) solid #6ab0d3;
    pointer-events: none;
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6AB0D3;
    font-size: 0.8em;
    display: none;
}

.photo {
    width: min(210px, 100%);
    aspect-ratio: 1;
    border-radius: 100%;
    margin-left: 1%;
    object-fit: cover;
}

.name-bg {
    background: rgb(168 195 211);
    border-radius: 5px;
    min-width: 9rem;
    text-align: center;
    line-height: 2;
}

.name {
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    line-height: 2;
}

.tourism_detail {
    display: flex;
    gap: clamp(8px, 3vw, 20px);
}

.name-area {
    display: flex;
    align-items: center;
    margin: 10px 0px;
    gap: 15px;
}

.language {
    display: flex;
    flex-wrap: wrap;
}

.common {
    display: flex;
    align-items: center;
    margin: 10px 0px;
    flex-wrap: wrap;
    line-height: 1.5;
}

.flag {
    height: 40px;
    margin-left: 1%;
}

.lang-icon {
    width: 5%;
    /* height: 5%; */
    margin-left: 1px;
    min-width: 45px;
    border: 1px solid #eaeaf7;
    border-radius: 5px;
    transition: ease 0.3s all;
}

.lang-icon:hover {
    transform: scale(1.2);
}

.area {
    color: blue;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.specific-price {
    font-size: 16px;
}

.star {
    width: 18px;
    height: 18px;
}

.comment {
    color: rgba(125, 169, 197, 1);
    margin-left: 1%;
}

.guide-title {
    color: rgba(125, 169, 197, 1);
    display: flex;
    align-items: center;
    margin: 10px 0px;
    word-wrap: normal;
    font-size: 16px;
}


.member-area {
    width: 100%;
    position: relative;
    padding-bottom: 30px;
}

.members {
    width: 100%;
    display: flex;
    padding: 10px 0px;
    gap: min(4rem, 5vw);
    align-items: center;
}

.member-detail {
    text-align: left;
    width: 85px;
    font-weight: bold;
}

.member {
    color: rgba(0, 0, 0, 1);
    font-size: 18px;
}

.price {
    color: rgb(186 54 54);
    position: relative;
    font-size: 14px;
}

.age {
    color: rgba(99, 99, 99, 1);
    position: relative;
    font-size: 12px;
    text-align: right;
}

.counter {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 15px;
    border: 1px solid #ddd;
    height: 2.5rem;
    border-radius: 5px;
    overflow: hidden;
}

.symbol {
    color: #ffffff;
    background-color: rgb(86, 172, 221);
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    border: #f0f0f0;
    height: 100%;
    aspect-ratio: 1;
}

.symbol:active {
    transform: scale(1);
    box-shadow: inset 0 0 10px 1px rgba(0, 0, 0, .2);
}

.tips {
    background-color: rgb(195, 223, 240);
    color: rgba(0, 0, 0, 1);
    font-size: 12px;
    position: relative;
    word-wrap: normal;
    line-height: 2;
    padding: 5px;
}

/*選擇地點*/
.location-area input {
    width: 100%;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #888;
}

#selected-place-info {
    overflow: auto;
    white-space: break-spaces;
    max-height: 10.5rem;
}

#map {
    height: 350px;
    margin-top: 20px;
}

/*選擇交通工具*/
.trans-area {
    padding-top: 5%;
    position: relative;
}

.trans {
    display: flex;
    padding: 10px 0;
}

.trans-detail {
    align-content: center;
    min-width: 150px;
    display: flex;
}

.distance {
    margin-left: 10px;
    align-content: center;
}

.tool {
    color: rgba(0, 0, 0, 1);
    font-size: 16px;
}

.trans-icon {
    width: 20px;
    height: 20px;
}

.limit {
    color: rgba(0, 0, 0, 1);
    font-size: 10px;
}

.hint {
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
    position: relative;
    word-wrap: normal;
    text-align: left;
}

@media (max-width: 991px) {
    .tourism_detail {
        flex-direction: column;
    }

    .guide-title {
        justify-content: center;
        text-align: center;
    }

    .common {
        justify-content: center;
    }

    .area {
        justify-content: center;
        display: flex;
    }

    .name-area {
        justify-content: center;
        flex-direction: column;
    }

    .language {
        justify-content: center;
    }

    .specific-price {
        justify-content: center;
        display: flex;
        margin: 10px 0px;
        text-align: center;
    }

    .photo {
        margin: 0 auto 20px auto;
        /* 移除左右 margin 並設定圖片置中 */
        order: -1;
        /* 這裡強制將圖片移到最上方 */
    }
}

@media screen and (max-width: 768px) {
    .members {
        justify-content: center;
    }

    .trans {
        justify-content: center;
    }
}