/*
Theme Name: 3CCMC
Theme URI: https://3ccmc.com
Author: 3CCMC Development Team
Author URI: https://3ccmc.com
Description: 專為3CCMC設計的現代化WordPress主題，支援響應式設計和Gutenberg編輯器。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8.2
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3ccmc
Tags: responsive-layout, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/*
主樣式表 - 3CCMC主題
此文件包含主題的基本資訊和全局樣式
*/
/* 重置樣式 */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* 全局樣式 */
/* body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
} */

/* 容器樣式 */
/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

/* 標題樣式 */
/* h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
} */

/* 連結樣式 */
/* a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
} */

/* a:hover {
    color: #005177;
} */

/* 按鈕樣式 */
.button,
.wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button:hover,
.wp-block-button__link:hover {
    background-color: #005177;
    color: white;
}

/* 響應式設計 */
@media (max-width: 768px) {
    /* .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    } */
}

/* WordPress核心樣式兼容 */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

.wp-caption-text {
    font-style: italic;
    text-align: center;
    margin-top: 0.5em;
}

/* 自定義樣式 */
.menu-item .caret,
.menu-item .dropdown-toggle::after {
    display: none;
}

.main-header {
    background-color: #fff8f1;
}

.atom-swiper-wrapper .swiper-slide,
.slider-one,
.case-one {
    /* background: url('./static/picture/banner-bg.png') repeat; */
    background-color: var(--color-eighteen);
}

.slider-one_heading {
    color: #000066;
}

.slider_button-box a {
    background: #007dc2;
}

.service-block_one-inner:before {
    background-color: #f6efe6 !important;
}

.service-block_one-icon {
    background-color: unset !important;
    border: none !important;
}

.service-block_one-number {
    background-color: #fff8f1 !important;
}

.logo-box {
    max-width: 325px;
}

.about-one_list li {
    background-color: #f6efe6 !important;
}

.about-one_list li:last-child {
    background-color: var(--color-twenty-six) !important;
}

.experiance-one .right-column .arrow {
    background-color: unset !important;
    border: unset !important;
}

.about-one_image_other {
    height: 0;
    position: relative;
    bottom: 14rem;
    left: 3rem;
}

.about-one_image_other img {
    width: 30%;
}

.service-block_two-icon {
    background-color: unset !important;
    width: 125px !important;
}

.case-block_one-title {
    color: var(--main-color);
}

.case-one .swiper-slide-active .case-block_one-content,
.case-block_one-content:hover {
    background-color: var(--color-twenty-six) !important;
}

.testimonial-one_icon {
    left: 66%;
    top: 13%;
    width: 126px;
    height: 140px;
}

.atom-swiper-slide {
    background: unset !important;
}

.sec-title_heading-img {
    height: 0;
    position: relative;
    left: 40.5rem;
    bottom: 10rem;
}

.news-block_one-meta li:last-child a {
    background-color: var(--color-twenty-six);
}

.newsletter-box .form-group button:before {
    background-color: var(--color-twenty-six);
}

.newsletter-box .form-group button:after {
    background-color: var(--color-eighteen);
}

.address_info a {
    color: var(--main-color);
}

.footer-logo {
    width: 250px;
}

.mobile-banner-show {
    display: none;
}

.page-title {
    padding: 145px 0 45px;
    background-color: var(--color-eighteen);
}

.content-section {
    padding: 70px 0 0;
    background-color: #ffffff;
}

/** 第一個th **/
.pricing-table th:nth-child(1) {
    width: 50%;
}

/** 第二個th **/
.pricing-table th:nth-child(2) {
    width: 25%;
}

/** 第三個th **/
.pricing-table th:nth-child(3) {
    width: 25%;
}

.auto-container .pricing-block:nth-child(2) th {
    background-color: var(--main-color);
    color: #FFFFFF;
}

.auto-container .pricing-block:nth-child(3) th {
    background-color: var(--color-fifteen);
    color: #FFFFFF;
}

.auto-container .pricing-block:nth-child(4) th {
    background-color: var(--color-three);
    color: #FFFFFF;
}

.auto-container .pricing-block:nth-child(5) th {
    background-color: var(--color-fourteen);
}

.auto-container .pricing-block:nth-child(6) th {
    background-color: var(--color-twenty-six);
}

.slider-one_circle{
    display: none;
}

.testimonial-block_one-author{
    padding-left: unset;
}

.testimonial-block_one-text{
    margin-bottom: unset;
}

@media (max-width: 768px) {
    .logo-box {
        max-width: 250px;
    }

    .nav-logo {
        padding-bottom: 0 !important;
    }

    .about-one_image_other {
        bottom: 8rem;
        left: 0rem;
    }

    /* .slider-one_options .inline-block img {
        display: none;
    } */

    .mobile-banner-show {
        display: flex;
    }

    .slider-one .inline-block {
        margin-bottom: 2rem;
    }

    .slider-one {
        padding-bottom: 0;
    }

    .mobile-banner-people {
        display: inline-block;
        height: 0;
        position: relative;
        bottom: 27rem;
        left: 10rem;
    }

    .language-selector {
        display: none;
    }

    .page-title {
        padding: 50px 0 50px;
    }
}

/* ------------------------------------------ */

/* 語言選擇器樣式 */
.language-selector {
    margin-left: 15px;
    border: 1px solid var(--color-three);
}

.language-selector select {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 8px 12px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.language-selector select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.language-selector select option {
    background-color: #fff;
    color: #333;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 10px;
        margin-right: 10px;
    }

    .language-selector select {
        font-size: 12px;
        padding: 6px 8px;
    }

    /* 手機版語言選擇器樣式 */
    .mobile-language-selector {
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-language-selector select {
        width: 100%;
        max-width: 200px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 10px 15px;
        color: #333;
        font-size: 14px;
        cursor: pointer;
    }
}

/* ==================== 專業團隊區域樣式 ==================== */
.team-section {
    padding: 100px 0 70px;
    background-color: #ffffff;
}

.team-section .sec-title {
    text-align: center;
    margin-bottom: 60px;
}

.team-section .sec-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.team-section .sec-title .text {
    font-size: 18px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 醫師卡片樣式 */
.team-block {
    margin-bottom: 30px;
}

.team-block_inner {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-block_inner:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); */
}

.team-block_image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-block_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-block_inner:hover .team-block_image img {
    transform: scale(1.05);
}

.team-block_overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(44, 62, 80, 0.8); */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-block_inner:hover .team-block_overlay-link {
    opacity: 1;
}

/* 社交媒體圖標 */
.team-block_social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.team-block_inner:hover .team-block_social {
    opacity: 1;
}

.team-block_social-inner {
    display: flex;
    gap: 10px;
}

.team-block_social a {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-block_social a:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* 醫師資訊內容 */
.team-block_content {
    padding: 30px 25px;
}

/* 新的醫師卡片頭部佈局 */
.team-block_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 25px 15px;
    position: relative;
}

.team-block_info {
    flex: 1;
    padding-right: 20px;
}

.team-block_header .team-block_image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    position: static;
    margin: 0;
}

.team-block_header .team-block_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-block_header .team-block_image:hover img {
    transform: scale(1.1);
}

.team-block_header .team-block_overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
}

/* 調整內容區域的內邊距 */
.team-block_content {
    padding: 0 25px 25px;
}

/* 專長標籤樣式 */
.team-block_specialty-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.team-block_specialty-label {
    color: var(--main-color);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.team-block_specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-block_specialties.inline-layout {
    flex: 1;
}

.specialty-tag {
    display: inline-block;
    padding: 2px 10px;
    background-color: var(--color-twenty-six);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.specialty-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-block_heading {
    margin-bottom: 8px;
}

.team-block_heading a {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-block_heading a:hover {
    color: #3498db;
}

.team-block_designation {
    font-size: 16px;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-block_text {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
}

.team-block_text p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.team-block_text p strong {
    color: var(--main-color);
}

.team-block_text ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.team-block_text li {
    margin-bottom: 5px;
    position: relative;
}

.team-block_text li:before {
    content: "•";
    color: var(--color-twenty-six);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 響應式團隊區域 */
@media (max-width: 991px) {
    .team-section {
        padding: 80px 0 50px;
    }

    .team-section .sec-title h2 {
        font-size: 36px;
    }

    .team-block_image {
        height: 250px;
    }

    .team-block_content {
        padding: 25px 20px;
    }
    
    /* 響應式頭部佈局 */
    .team-block_header {
        padding: 20px 20px 15px;
    }
    
    .team-block_header .team-block_image {
        width: 70px;
        height: 70px;
    }
    
    .team-block_info {
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    .team-section {
        padding: 60px 0 30px;
    }

    .team-section .sec-title h2 {
        font-size: 30px;
    }

    .team-section .sec-title .text {
        font-size: 16px;
    }

    .team-block_image {
        height: 220px;
    }

    .team-block_heading a {
        font-size: 20px;
    }

    .team-block_designation {
        font-size: 14px;
    }

    .team-block_text {
        font-size: 13px;
    }
    
    /* 手機版響應式頭部佈局 */
    .team-block_header {
        padding: 15px 15px 10px;
    }
    
    .team-block_header .team-block_image {
        width: 60px;
        height: 60px;
    }
    
    .team-block_info {
        padding-right: 10px;
    }
}

@media (max-width: 575px) {
    .team-block_image {
        height: 200px;
    }

    .team-block_content {
        padding: 20px 15px;
    }

    .team-block_heading a {
        font-size: 18px;
    }

    .team-block_social a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* ==================== 地址頁面樣式 ==================== */
.address-section {
    padding: 100px 0 70px;
    background-color: #ffffff;
}

.address-section .sec-title {
    text-align: center;
    margin-bottom: 60px;
}

.address-section .sec-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.address-section .sec-title .text {
    font-size: 18px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 地址內容區域 */
.address-content {
    margin-bottom: 60px;
}

/* 地址資訊區塊 */
.address-info {
    margin-bottom: 40px;
}

.address-info_inner {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.address-info_inner h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* 資訊區塊 */
.info-block {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.info-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-block_icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #ffffff;
    font-size: 24px;
}

.info-block_content {
    flex: 1;
}

.info-block_content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-block_content p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-block_content strong {
    color: #3498db;
}

.info-block_content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.info-block_content li {
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 5px;
}

/* 地圖容器 */
.map-container {
    margin-bottom: 40px;
}

.map-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.map-wrapper h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.google-map {
    margin-bottom: 20px;
}

.google-map iframe {
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.map-instructions {
    text-align: center;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.map-instructions p {
    margin: 0;
    font-size: 14px;
    color: #1976d2;
}

.map-instructions i {
    margin-right: 8px;
}

/* 預約提醒區域 */
.appointment-reminder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 40px;
    color: #ffffff;
}

.reminder-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.reminder-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.reminder-text {
    flex: 1;
}

.reminder-text h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.reminder-text p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-appointment {
    display: inline-block;
    background: #ffffff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-appointment:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 響應式地址頁面 */
@media (max-width: 991px) {
    .address-section {
        padding: 80px 0 50px;
    }

    .address-section .sec-title h2 {
        font-size: 36px;
    }

    .address-info_inner {
        padding: 30px;
    }

    .info-block {
        flex-direction: column;
        text-align: center;
    }

    .info-block_icon {
        margin: 0 auto 20px auto;
    }

    .reminder-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .address-section {
        padding: 60px 0 30px;
    }

    .address-section .sec-title h2 {
        font-size: 30px;
    }

    .address-section .sec-title .text {
        font-size: 16px;
    }

    .address-info_inner {
        padding: 25px;
    }

    .address-info_inner h3 {
        font-size: 24px;
    }

    .map-wrapper {
        padding: 25px;
    }

    .map-wrapper h3 {
        font-size: 24px;
    }

    .appointment-reminder {
        padding: 30px;
    }

    .reminder-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .reminder-text h4 {
        font-size: 20px;
    }

    .btn-appointment {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .address-info_inner {
        padding: 20px;
    }

    .info-block_icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .info-block_content h4 {
        font-size: 18px;
    }

    .info-block_content p {
        font-size: 14px;
    }

    .map-wrapper {
        padding: 20px;
    }

    .google-map iframe {
        height: 300px;
    }

    .reminder-content {
        gap: 20px;
    }

    .reminder-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .reminder-text h4 {
        font-size: 18px;
    }

    .reminder-text p {
        font-size: 14px;
    }
}

.experiance-one {
    background-color: var(--color-fifteen) !important;
}

.experiance-one:before{
    background-color: var(--color-eleven) !important;
}