/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts .post-item {
    background: var(--surface-color);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border: 1px solid #dadada;
}

.recent-posts .post-item .post-img img {
    transition: 0.5s;
}

.recent-posts .post-item .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #0086e3;
    color: var(--contrast-color);
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.recent-posts .post-item .post-content {
    padding: 30px;
}

.recent-posts .post-item .post-title {
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s;
    margin-bottom: 15px;
}

.recent-posts .post-item .meta i {
    font-size: 16px;
    color: var(--accent-color);
}

.recent-posts .post-item .meta span {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.recent-posts .post-item hr {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 20px 0;
}

.recent-posts .post-item .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1;
    transition: 0.3s;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-item .readmore i {
    top: 3px;
    line-height: 0;
    margin-left: 6px;
    font-size: 16px;
}

.recent-posts .post-item:hover .post-title,
.recent-posts .post-item:hover .readmore {
    color: var(--accent-color);
}

.recent-posts .post-item:hover .post-img img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts .post-img {
    max-height: 240px;
    margin: 0 0;
    overflow: hidden;
}

.recent-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-bottom: 0;
}


/* banner-content */
.banner-content_img {
    height: 400px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center top;
}

.banner-content {
    padding: 80px 0 0 0;
}

.chemistry_rows {
    padding-top: 0;
}

.banner-content.second_type {
    padding: 100px 0 100px 0;
}

.chemistry_cont {
    z-index: 11;
    max-width: 100%;
}

.chemistry_cont .cont-title {
    font-size: 30px;
    letter-spacing: 5px;
}

.chemistry_cont .cont-en {
    line-height: 1.1;
    letter-spacing: 1px;
}

.chemistry_cont .cont-text {
    letter-spacing: 2px;
}

.chemistry_cont .cont-title-en .cont-title-en-title1 {
    left: 0;
    top: 0;
}

.chemistry_cont .cont-title-en .cont-title-en-title2 {
    left: 0;
    top: 0;
}

/*  */
@keyframes fly-in {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.cont-title-en-title1 span,
.cont-title-en-title2 span {
    display: inline-block;
    opacity: 0;
    animation: fly-in 1.5s ease-out forwards;
}

.cont-title-en-title1 span:nth-child(1) {
    animation-delay: 0s;
}

.cont-title-en-title1 span:nth-child(2) {
    animation-delay: 0.5s;
}

.cont-title-en-title1 span:nth-child(3) {
    animation-delay: 0.8s;
}

.cont-title-en-title1 span:nth-child(4) {
    animation-delay: 1s;
}

.cont-title-en-title1 span:nth-child(5) {
    animation-delay: 1.2s;
}

/* 按需添加更多 nth-child 規則 */

.cont-title-en-title2 span:nth-child(1) {
    animation-delay: 0s;
}

.cont-title-en-title2 span:nth-child(2) {
    animation-delay: 0.5s;
}

.cont-title-en-title2 span:nth-child(3) {
    animation-delay: 0.8s;
}

.cont-title-en-title2 span:nth-child(4) {
    animation-delay: 1s;
}

.cont-title-en-title2 span:nth-child(5) {
    animation-delay: 1.2s;
}

.cont-title-en-title2 span:nth-child(6) {
    animation-delay: 1.4s;
}

/* 按需添加更多 nth-child 規則 */

/* 特約診所內容 */
.branch-section {
    padding: 50px 0 50px 0;
}

.branch-section-select-option {
    max-width: 500px;
    border-radius: 8px;
    padding: 0 15px;
}

.branch-section-select-option .col-md-4 {
    padding: 0;
}

.branch-section-select-option h2 {
    height: 50px;
    line-height: 50px;
    border-right: #bdafa7 solid 1px;
    background: #534741;
    color: #fff;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.branch-section-select-option h2.active {
    background: #e07d19;
}

.branch-section-select-option .col-md-4:first-child h2 {
    border-radius: 8px 0 0 8px;
}

.branch-section-select-option .col-md-4:last-child h2 {
    border-radius: 0 8px 8px 0;
}

.news_list {
    background: #fff;
    box-shadow: 0px 3px 10px -1px rgba(55, 55, 55, 0.2);
    display: inline-block;
}

.news_list_img figure {
    margin-bottom: 0;
}

.news_list .news_list_title span {
    font-size: 20px;
    letter-spacing: 1px;
    z-index: 2;
}

.news_list .news_list_row {
    font-size: 17px;
}

.news_list .news_list_row li {
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
}

.news_list .news_list_row_title {
    position: relative;
}

.news_list .news_list_row_text {
    vertical-align: text-top;
}

.contact-infomation .border_line {
    background: -webkit-gradient(linear, left top, right top, from(#e07d19), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(to right, #e07d19, rgba(0, 0, 0, 0));
    height: 1px;
    margin: 15px 40px 15px 0;
}

/* 文章 */
.knowledge {
    padding: 80px 0 0 0;
}

.knowledge h1 {
    font-size: 28px;
}

.knowledge_content_title {
    font-size: 24px;
}

.btn-close {
    right: 20px;
    top: 22px;
}

.accident_row ul {
    padding-left: 20px;
}

.accident_row li {
    list-style: disc;
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts {
    padding: 50px 0 40px 0;
}

.recent-posts.news_type {
    padding: 120px 0 50px 0;
}

.recent-posts article {
    background: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.recent-posts .post-img {
    /*! max-height: 240px; */
    /*! margin: -30px -30px 15px -30px; */
    overflow: hidden;
}

.recent-posts .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-bottom: 10px;
}

.recent-posts .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.recent-posts .title,
.recent-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.recent-posts .title a:hover {
    color: var(--accent-color);
}

.recent-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.recent-posts .post-author {
    margin-bottom: 5px;
}

.recent-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-bottom: 0;
}

/* 響應式裝置========== */
@media only screen and (min-width : 992px) {
    .knowledge .container {
        max-width: 900px;
    }

    .knowledge_content_title_img {
        max-width: 600px;
    }

    .knowledge_share_icon {
        display: inline-block;
        width: 90px;
        height: 36px;
        line-height: 36px;
        background: #4f312b;
        color: #fff;
        text-align: center;
        border-radius: 8px;
        -moz-transition: all 0.4s ease-in;
        -o-transition: all 0.4s ease-in;
        -webkit-transition: all 0.4s ease-in;
        transition: all 0.4s ease-in;
    }

    .knowledge_share_icon:hover {
        color: #fff;
    }

    .banner-content_img .chemistry_cont {
        margin-top: 60px;
    }

    .banner-content_img .chemistry_cont .cont-title-en {
        white-space: nowrap;
        font-size: 70px;
    }

    .news_list_title {
        min-height: 50px;
        max-height: 50px;
    }

    .news_list .news_list_row {
        min-height: 80px;
        max-height: 80px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1366px) {}

@media only screen and (max-width : 991px) {}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .banner-content_img .chemistry_cont {
        margin-top: 60px;
    }
}

@media only screen and (max-width : 991px) {
    .chemistry_cont .cont-title-en {
        font-size: 40px;
    }

    .banner-content_img {
        background-position: center top;
        background-size: cover;
    }

    .banner-content_img {
        height: 450px;
    }
}

@media only screen and (max-width : 767px) {
    .banner-content {
        padding: 70px 0 0px 0;
    }

    .banner-content_img {
        background-image: url(../images/case/banner_new-xs.jpg?v=20240518) !important;
        background-position: center top;
        background-size: cover;
    }

    .banner-content_img .chemistry_rows {
        padding-top: 100px;
    }

    .contact-infomation .chemistry_rows {
        padding-top: 0;
    }

    .chemistry_cont .cont-title-en {
        font-size: 45px;
        line-height: 1.1;
        letter-spacing: 1.5px;
    }

    .contact-infomation {
        padding: 0px 0 0px 0;
    }

    .banner-content_img .chemistry_cont {
        border-radius: 8px;
        padding: 16px 8px;
        background-color: rgba(255, 255, 255, 0.4);
    }

    .branch-section-select-option h2 {
        border-right: #bdafa7 solid 0px;
        border-bottom: 1px solid #aaa;
    }

    .branch-section-select-option h2.active {
        background: #e07d19;
    }

    .branch-section-select-option .col-md-4:first-child h2 {
        border-radius: 0 0 0 0;
    }

    .branch-section-select-option .col-md-4:last-child h2 {
        border-radius: 0 0 0 0;
    }
}

@media only screen and (max-width : 330px) {}

/* ==========響應式裝置 */