.bd-breadcrumb__menu ul li span a {
    color: #736a6a;
}

@media (min-width: 1400px) {
    .artisan .container,
    .artisan .container-lg,
    .artisan .container-md,
    .artisan .container-sm,
    .artisan .container-xl,
    .artisan .container-xxl {
        max-width: 85%;
    }
}

/* .artisan .bd-breadcrumb__menu ul li span a {
	color: black !important
} */

.rts-section-gapTop {
    padding-top: 135px;
    padding-bottom: 80px;
}

.title-center-style-one {
    text-align: center;
}

.title-center-style-one .pre {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 13px;
    display: block;
}

.title-center-style-one .title {
    font-size: 44px;
    font-weight: 700;
}

.single-team-single-area {
    padding: 30px;
    background: rgb(245 245 245);
    border-radius: 10px;
}

.single-team-single-area .thumbnail {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.single-team-single-area .thumbnail img {
    transition: 0.3s;
}

.single-team-single-area .inner-content-area {
    margin-top: 25px;
    width: 100%;
}

.single-team-single-area .inner-content-area .title {
    margin-bottom: 9px;
    transition: 0.3s;
}

.single-team-single-area .inner-content-area .desig {
    color: var(--color-primary);
    display: block;
    margin-bottom: 12px;
}

.single-team-single-area .inner-content-area .disc {
    margin-bottom: 27px;
    color: rgb(124, 124, 132);
    word-break: break-word;
    overflow-wrap: break-word;
}

.single-team-single-area .social-area-wrapper {
    max-width: max-content;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    border-image: initial;
    padding: 6px 25px;
    border-radius: 100px;
}

.single-team-single-area .social-area-wrapper ul {
    display: flex;
    align-items: center;
    padding: 0px;
    margin: 0px;
    gap: 25px;
    list-style: none;
}

.single-team-single-area .social-area-wrapper ul li {
    margin: 0px;
    padding: 0px;
}

.single-team-single-area.list {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 20px;
    height: calc(50% - 10px);
    align-items: center;
    justify-content: space-between;
}

.single-team-single-area.list .inner-content-area {
    margin-top: 0px;
    padding-right: 15px;
}

.single-team-single-area.list:last-child {
    margin-bottom: 0px;
}

.thumbnail {
    display: block;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.thumbnail-2 {
    display: block;
    width: 260px;
    height: 350px;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
}

.thumbnail-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.thumbnail-3 {
    display: block;
    width: 260px;
    height: 350px;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
}

.thumbnail-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.bd-postbox__title {
    font-size: 1.7rem;
}

.bd-postbox__meta span {
    font-size: 1.1rem;
}

.artisan-hot {
    width: 100px;
    /* 父層寬 */
    height: 80px;
    /* 父層高 */
    overflow: hidden;
    /* 防止圖片超出 */
    position: relative;
    display: block;
}

.artisan-hot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* 置中對齊 */
    display: block;
    border-radius: 4px;
}

.bd-postbox__inner {
    border-radius: 0 0 10px 10px;
}

.bd-postbox__inner p {
    overflow-wrap: break-word;
    word-break: break-word;
}

.bd-postbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.bd-sidebar__news-feed:hover {
    background-color: #fff9f4;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.bd-sidebar__news-feed:hover .bd-sidebar__news-text {
    color: var(--clr-theme-1);
}

.bd-sidebar__news-feed:hover .bd-sidebar__news-text h5 {
    color: var(--clr-theme-1);
}

.bd-sidebar__news-feed:hover img {
    transform: scale(1.2);
    transition: all 0.4s ease-in-out;
}

/* From Uiverse.io by Artahs */
.card {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.top-card {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 65%;
    transition: height 0.3s ease;
    background-color: #fff;
}

.bottom-card {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 35%;
    transition: height 0.3s ease;
    background-color: #ffffff;
}

.bottom-card::before {
    content: "";
    position: absolute;
    background-color: transparent;
    bottom: 120px;
    height: 40px;
    width: 100%;
    transition: bottom 0.3s ease;
    border-bottom-left-radius: 20px;
    box-shadow: 0 30px 0 0 #ffffff;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #736b6a;
    padding: 0 20px;
    padding-top: 5%;
    position: relative;
    z-index: 5;
}

.card-title {
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.card-txt {
    font-size: 1rem;
    color: #838181;
    overflow-wrap: break-word;
    word-break: break-word;
}

.card-btn {
    font-size: 1rem;
    text-decoration: none;
    color: var(--clr-theme-1);
    background-color: transparent;
    border: solid 1px var(--clr-theme-1);
    border-radius: 15px;
    padding: 8px 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.card:hover {
    box-shadow: 0px 2px 2px var(--clr-theme-1);
    border: solid 1px #ff9f5d;
}

.job-all .card:hover {
    border: solid 1px #c3b9ae;
    box-shadow: 0px 0px 0px;
}

.card:hover .top-card {
    height: 35%;
    transition: height 0.3s ease-in-out;
}

.card:hover .bottom-card {
    height: 65%;
    transition: height 0.3s ease-in-out;
}

.card:hover .bottom-card::before {
    bottom: 270px;
    transition: bottom 0.3s ease-in-out;
}

a.card-btn:hover {
    color: #fff;
    background-color: var(--clr-theme-1);
    transition: all 0.3s ease-in-out;
}

.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px 10px 0 10px;
}

.bd-basic__pagination ul li {
    color: var(--clr-theme-1);
}

.bd-basic__pagination ul li a {
    border: 2px solid #f9f0e8;
    color: var(--clr-theme-1);
}

.bd-basic__pagination ul li a.current {
    border-color: var(--clr-theme-2);
    color: #f9f0e8;
}

.bd-basic__pagination ul li span {
    color: #f9f0e8;
}

.bd-basic__pagination ul li a i {
    color: var(--clr-theme-1);
}

.bd-basic__pagination ul li a:hover {
    background-color: #f9f0e8;
    color: #db590082;
    border-color: #db590082;
}

.bd-basic__pagination ul li a:hover i {
    color: #db590082;
}

.job-hot {
    position: relative;
    background-image: url("../../../img/shape/job.png");
    background-size: 400px auto;
    background-position: right 30px center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 1;
}
.job-all {
    margin-top: 100px;
}

.rts-team-area-start > * {
    position: relative;
    z-index: 2;
}

.swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin-right: 5px !important;
    height: auto;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide:nth-child(2n) {
    width: 60%;
}

.swiper-slide:nth-child(3n) {
    width: 40%;
}
.swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-horizontal {
    touch-action: pan-y;
}

.swiper-backface-hidden {
    overflow: hidden;
}
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 1;
    width: 10px;
    height: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.swiper-pagination-bullet-active {
    background: var(--clr-theme-1);
}

.thumbnail-3,
.thumbnail-2,
.thumbnail {
    aspect-ratio: 3 / 4;
}

.thumbnail-3,
.thumbnail-2 {
    height: auto;
}

.card-btn.btn-short {
    margin-top: 50px;
}

.card-btn.btn-medium {
    margin-top: 20px;
}

.img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

@media (width <= 1400px) {
    .card-content {
        padding-top: 9%;
    }
}

@media (width <= 1199px) {
    .single-team-single-area {
        margin-bottom: 20px;
    }

    .single-team-single-area.list {
        height: auto;
    }
}

@media (992px <= width <= 1199px) {
    .card:hover .top-card {
        height: 40%;
    }

    .card:hover .bottom-card {
        height: 60%;
    }

    .card:hover .bottom-card::before {
        bottom: 220px;
    }

    .card-btn.btn-short {
        margin-top: 110px;
    }
}

@media (width <= 992px) {
    .card-content {
        padding-top: 5%;
    }

    .card:hover .top-card {
        height: 40%;
    }

    .card:hover .bottom-card {
        height: 50%;
    }

    .card:hover .bottom-card::before {
        bottom: 230px;
    }

    .bd-basic__pagination ul {
        justify-content: center;
    }

    .bd-sidebar__widget.mb-30 {
        display: none;
    }
}

@media (width <= 767px) {
    .single-team-single-area.list {
        flex-direction: column-reverse;
    }

    .single-team-single-area.list .inner-content-area {
        order: 0;
        margin-top: 25px;
    }

    .single-team-single-area {
        padding: 25px;
    }

    .thumbnail-2,
    .thumbnail-3 {
        width: 100%;
        order: 1;
    }

    .card {
        height: 430px;
    }

    .card-btn {
        padding: 10px 16px;
    }

    .card {
        height: auto;
    }

    .top-card {
        height: auto;
        aspect-ratio: 4/3;
        overflow: hidden;
    }

    .bottom-card {
        height: auto;
    }

    .bottom-card::before {
        display: none;
    }

    .card-content {
        padding-block: 20px;
    }

    .card:hover .top-card,
    .card:hover .bottom-card,
    .card:hover .bottom-card::before {
        height: auto !important;
        bottom: auto !important;
        transition: none !important;
    }
}

@media (width <= 576px) {
    .thumbnail {
        height: auto;
    }
    .bd-basic__pagination ul {
        gap: 8px;
    }

    .bd-postbox__meta span {
        font-size: 0.95rem;
        margin-right: 15px;
        padding-right: 20px;
    }
}

@media (width <= 507px) {
    .card-txt {
        margin-bottom: 18px;
    }
}

@media (width<= 425px) {
    .bd-basic__pagination ul li a,
    .bd-basic__pagination ul li span {
        width: 40px;
        height: 40px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-txt {
        font-size: 0.9rem;
    }
}

@media (width<= 358px) {
    .bd-basic__pagination ul {
        gap: 6px;
    }
    .bd-basic__pagination ul li a,
    .bd-basic__pagination ul li span {
        width: 36px;
        height: 36px;
    }
}
