/* Yao Carousel Doctor Template CSS */
/* All classes use yaoslide_ prefix for namespace isolation */

.yaoslide_carousel-wrapper {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    margin: auto;
}

.yaoslide_splide {
    visibility: hidden;
}

.yaoslide_splide .splide__slide {
    min-height: 450px;
}

.yaoslide_splide .splide__slide > div {
    height: 100%;
}

.yaoslide_splide .splide__pagination__page.is-active {
    background: #06b6d4;
}

.yaoslide_splide .splide__arrow svg {
    fill: white;
}

/* Custom Splide Navigation */
.yaoslide_splide-custom-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 47.5px;
    margin-bottom: 70px;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
    padding-right: 1em;
}

.yaoslide_splide-custom-arrow {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    transition: none;
    outline: none;
    font-size: 24px;
    line-height: 1;
}

.yaoslide_splide-custom-arrow:hover,
.yaoslide_splide-custom-arrow:focus {
    background: transparent;
    color: white;
}

.yaoslide_splide-arrow-separator {
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
}

/* Doctor Card Link Styles */
.yaoslide_doctor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.yaoslide_doctor-card-link:hover {
    transform: scale(1.02);
}

.yaoslide_doctor-card-link:hover,
.yaoslide_doctor-card-link:visited,
.yaoslide_doctor-card-link:focus {
    text-decoration: none;
    color: inherit;
}

/* Doctor Frame Styles */
.yaoslide_Frame1000002578 {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px;
    display: inline-flex;
}

.yaoslide_Frame1000002575 {
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    display: flex;
}

.yaoslide_Rectangle56 {
    width: 369px;
    height: 496px;
    background: linear-gradient(180deg, #D0C1B8 0%, #E7DBD3 100%);
    border-radius: 20px;
    object-fit: cover;
}

.yaoslide_Frame1000002579 {
    width: 365px;
    align-self: stretch;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    display: flex;
}

.yaoslide_Frame1000002581 {
    flex: 1 1 0;
    align-self: stretch;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    display: inline-flex;
}

.yaoslide_Frame1000002577 {
    width: 305px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 31px;
    display: flex;
}

.yaoslide_doctor-name {
    align-self: stretch;
    color: white;
    font-size: 32px;
    font-family: 'Noto Sans CJK TC', sans-serif;
    font-weight: 400;
    line-height: 41.60px;
    word-wrap: break-word;
}

.yaoslide_doctor-qualification {
    align-self: stretch;
    color: rgba(255, 255, 255, 0.70);
    font-size: 16px;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 400;
    line-height: 25.60px;
    letter-spacing: 1.60px;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yaoslide_Frame1000002561 {
    align-self: stretch;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    display: inline-flex;
}

.yaoslide_Frame1000002586 {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: flex;
}

.yaoslide_ViewMore {
    color: white;
    font-size: 18px;
    font-family: 'Belleza', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.yaoslide_Frame1000002851 {
    width: 15px;
    height: 15px;
    background: #B7945E;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
}

.yaoslide_Frame1000002851 span {
    color: white;
    font-size: 16px;
}

/* Responsive Styles - 768px and below */
@media (max-width: 768px) {
    .yaoslide_Frame1000002578 {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 369px;
        margin: 0 auto;
    }

    .yaoslide_Frame1000002575 {
        order: 1;
        margin-top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .yaoslide_Frame1000002579 {
        width: 100% !important;
        order: 2;
        padding: 0 15px;
        box-sizing: border-box;
        display: flex !important;
        justify-content: center;
    }

    .yaoslide_Frame1000002577 {
        width: 100% !important;
        gap: 30px !important;
        align-items: flex-start;
        text-align: left;
    }

    .yaoslide_Frame1000002561 {
        margin-top: 30px !important;
        justify-content: flex-end !important;
        width: 100%;
    }

    .yaoslide_Rectangle56 {
        width: 100% !important;
        max-width: 369px !important;
        height: auto !important;
    }

    .yaoslide_splide-custom-nav {
        position: relative;
        margin: 0 auto 48px !important;
        order: 0;
        width: 100%;
        max-width: 369px;
        justify-content: center;
        padding: 0 15px;
        box-sizing: border-box;
        display: flex;
    }

    .yaoslide_splide .splide__list {
        padding: 0 !important;
    }

    .yaoslide_splide .splide__track {
        overflow: visible;
    }

    .yaoslide_splide .splide__slide {
        display: flex;
        justify-content: center;
    }
}