/*
Theme Name: ANTIAN CLINIC
Theme URI: https://www.antianclinic.com
Description: ANTIAN CLINIC 医美网站主题 - 专业医疗风格主题
Author: ANTIAN CLINIC Development Team
Author URI: https://www.antianclinic.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: antian-clinic
Tags: medical, clinic, aesthetic, plastic-surgery, korean-clinic
*/

/* ========================================================
   ANTIAN CLINIC 主题样式
   主色调：白色 (#ffffff)
   辅助色：医疗蓝 (#2c5f8d)、灰色 (#f5f5f5)
   强调色：金色 (#c9a962)
   ======================================================== */

/* 全局变量 */
:root {
    --antian-primary: #2c5f8d;      /* 医疗蓝 */
    --antian-secondary: #c9a962;    /* 金色强调 */
    --antian-white: #ffffff;        /* 白色 */
    --antian-gray-light: #f5f5f5;   /* 浅灰 */
    --antian-gray: #666666;         /* 灰色文字 */
    --antian-dark: #333333;         /* 深色文字 */
    --antian-border: #e0e0e0;       /* 边框色 */
}

/* 基础样式重置 */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--antian-dark);
    background-color: var(--antian-white);
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}

/* 容器 */
.antian-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.antian-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--antian-secondary), #d4af5f);
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(201, 169, 98, 0.3);
    white-space: nowrap;
}

.antian-btn i {
    font-size: 14px;
}

.antian-btn:hover {
    background: linear-gradient(135deg, #d4af5f, #e6c875);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 98, 0.5);
}

.antian-btn-secondary {
    background-color: var(--antian-secondary);
}

.antian-btn-secondary:hover {
    background-color: #b0944d;
}

.antian-btn-outline {
    background-color: transparent;
    border: 2px solid var(--antian-primary);
    color: var(--antian-primary);
}

.antian-btn-outline:hover {
    background-color: var(--antian-primary);
    color: var(--antian-white);
}

/* 卡片样式 */
.antian-card {
    background: var(--antian-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.antian-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Section 样式 */
.antian-section {
    padding: 80px 0;
}

.antian-section-gray {
    background-color: var(--antian-gray-light);
}

/* 标题样式 */
.antian-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--antian-primary);
    margin-bottom: 20px;
    text-align: center;
}

.antian-subtitle {
    font-size: 18px;
    color: var(--antian-gray);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 语言切换器 */
.antian-language-switcher {
    display: flex;
    align-items: center;
    gap: 15px;
}

.antian-language-switcher a {
    color: var(--antian-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.antian-language-switcher a:hover,
.antian-language-switcher a.current-language {
    color: var(--antian-primary);
    font-weight: 600;
}

/* 导航栏 */
/* ========== 头部样式 ========== */
.antian-header {
    background: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--antian-secondary);
}

.antian-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    min-height: 90px;
    flex-wrap: nowrap;
}

/* Logo 样式 */
.antian-logo {
    flex-shrink: 0;
    min-width: 200px;
}

.antian-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.antian-logo a:hover {
    transform: scale(1.05);
}

.antian-logo img {
    height: auto;
    width: 180px;
    max-width: 180px;
    object-fit: contain;
    display: block;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.antian-logo img:hover {
    filter: brightness(1.2);
}

/* Logo备用文字样式 */
.antian-logo .site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--antian-primary);
    letter-spacing: 1px;
}

/* 导航菜单 */
.antian-nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.antian-main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.antian-main-menu li {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.antian-main-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.antian-main-menu a:hover,
.antian-main-menu a:focus {
    color: var(--antian-secondary);
}

.antian-main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--antian-secondary);
    transition: width 0.3s ease;
}

.antian-main-menu a:hover::after,
.antian-main-menu a:focus::after {
    width: 100%;
}

/* 头部右侧操作区 */
.antian-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* 语言切换器 */
.antian-language-switcher {
    display: flex;
    align-items: center;
}

.antian-language-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.antian-language-switcher a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.antian-language-switcher a:hover,
.antian-language-switcher a.active {
    color: var(--antian-secondary);
    background: rgba(201, 169, 98, 0.15);
    border-color: var(--antian-secondary);
}

/* 电话按钮 */
.antian-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--antian-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.antian-phone:hover {
    background: var(--antian-secondary);
    border-color: var(--antian-secondary);
    color: #000000;
}

.antian-phone i {
    font-size: 16px;
}

/* 移动端菜单按钮 */
.antian-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.antian-mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--antian-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.antian-mobile-menu-toggle:hover span {
    background: var(--antian-secondary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .antian-nav {
        padding: 15px 0;
    }

    .antian-nav-menu {
        padding: 0 20px;
    }

    .antian-main-menu {
        gap: 20px;
    }

    .antian-main-menu a {
        font-size: 14px;
    }

    .antian-header-actions {
        gap: 12px;
    }

    .antian-phone {
        font-size: 13px;
        padding: 8px 15px;
    }

    .antian-btn {
        padding: 8px 18px;
        font-size: 14px;
    }

    .antian-btn span {
        display: none;
    }

    .antian-btn i {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .antian-nav {
        flex-wrap: wrap;
        padding: 12px 0;
        min-height: auto;
    }

    .antian-logo {
        order: 1;
    }

    .antian-logo img {
        height: 38px;
    }

    .antian-nav-menu {
        order: 4;
        width: 100%;
        padding: 0;
        display: none;
        flex-wrap: wrap;
    }

    .antian-nav-menu.active {
        display: block;
    }

    .antian-main-menu {
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
        background: #1a1a1a;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .antian-main-menu a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.9);
    }

    .antian-main-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .antian-header-actions {
        order: 2;
        margin-left: auto;
        gap: 8px;
    }

    .antian-mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: 12px;
    }

    .antian-phone {
        display: none;
    }

    .antian-language-switcher {
        display: none;
    }
}

@media (max-width: 480px) {
    .antian-logo img {
        height: 35px;
        max-width: 180px;
    }

    .antian-header-actions {
        gap: 8px;
    }

    .antian-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* 治疗项目网格 */
.antian-treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.antian-treatment-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.antian-treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.antian-treatment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.antian-treatment-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.antian-treatment-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.antian-treatment-card h3 {
    font-size: 20px;
    color: var(--antian-primary);
    margin-bottom: 10px;
}

.antian-treatment-card h3 a {
    color: var(--antian-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.antian-treatment-card h3 a:hover {
    color: var(--antian-secondary);
}

.antian-treatment-card > p {
    color: var(--antian-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.antian-treatment-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 15px;
}

.antian-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--antian-gray-light);
    color: var(--antian-primary);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.antian-treatment-card .antian-btn {
    margin-top: auto;
}

/* 案例网格 */
.antian-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.antian-case-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.antian-case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.antian-case-image {
    position: relative;
    overflow: hidden;
}

.antian-case-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.antian-case-item:hover .antian-case-image img {
    transform: scale(1.05);
}

.antian-case-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.antian-case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 141, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.antian-case-item:hover .antian-case-overlay {
    opacity: 1;
}

.antian-case-info {
    padding: 20px;
}

.antian-case-info h3 {
    font-size: 18px;
    color: var(--antian-primary);
    margin-bottom: 10px;
}

.antian-case-info h3 a {
    color: var(--antian-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.antian-case-info h3 a:hover {
    color: var(--antian-secondary);
}

.antian-case-info p {
    color: var(--antian-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* 医生网格 */
.antian-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.antian-doctor-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.antian-doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.antian-doctor-image {
    position: relative;
    overflow: hidden;
}

.antian-doctor-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.antian-doctor-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 64px;
}

.antian-doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 141, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.antian-doctor-card:hover .antian-doctor-overlay {
    opacity: 1;
}

.antian-doctor-info {
    padding: 20px;
    text-align: center;
}

.antian-doctor-info h3 {
    font-size: 20px;
    color: var(--antian-primary);
    margin-bottom: 8px;
}

.antian-doctor-info h3 a {
    color: var(--antian-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.antian-doctor-info h3 a:hover {
    color: var(--antian-secondary);
}

.antian-doctor-specialty {
    color: var(--antian-secondary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.antian-doctor-description {
    color: var(--antian-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* 居中样式 */
.antian-text-center {
    text-align: center;
}

/* 响应式 */
@media (max-width: 768px) {
    .antian-section {
        padding: 50px 0;
    }

    .antian-title {
        font-size: 28px;
    }

    .antian-treatments-grid {
        grid-template-columns: 1fr;
    }

    .antian-nav {
        flex-direction: column;
        gap: 15px;
    }
}

/* 加载动画 */
.antian-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================================
   防止水平滚动的全局样式
   ======================================================== */

/* 确保所有图片不会超出容器 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 确保所有视频和嵌入内容不会超出 */
iframe, embed, object, video {
    max-width: 100%;
    height: auto;
}

/* 防止表格导致水平滚动 */
table {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

/* 确保所有区块不会超出 */
section, .antian-section {
    max-width: 100%;
    overflow-x: hidden;
}

/* 防止长文本导致水平滚动 */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 代码块的特殊处理 */
pre, code {
    white-space: pre-wrap;
    word-break: break-all;
}

/* ========================================================
   页脚样式
   ======================================================== */

/* 页脚容器 */
.antian-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    margin-top: auto;
}

/* 页脚顶部区域 */
.antian-footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 页脚网格布局 */
.antian-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* 页脚列 */
.antian-footer-column {
    padding: 0 15px;
}

/* 页脚小工具标题 */
.antian-footer-column .widget-title {
    color: var(--antian-secondary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--antian-secondary);
    letter-spacing: 0.5px;
}

/* 页脚链接列表 */
.antian-footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.antian-footer-column ul li {
    margin-bottom: 12px;
    padding-left: 0;
}

.antian-footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.antian-footer-column ul li a:hover {
    color: var(--antian-secondary);
    padding-left: 5px;
}

.antian-footer-column ul li a::before {
    content: '›';
    margin-right: 8px;
    color: var(--antian-secondary);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.antian-footer-column ul li a:hover::before {
    transform: translateX(3px);
}

/* 页脚文本内容 */
.antian-footer-column p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 页脚底部区域 */
.antian-footer-bottom {
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.3);
}

.antian-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* 版权信息 */
.antian-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

/* 页脚链接 */
.antian-footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.antian-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    position: relative;
}

.antian-footer-links a:hover {
    color: var(--antian-secondary);
}

.antian-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--antian-secondary);
    transition: width 0.3s ease;
}

.antian-footer-links a:hover::after {
    width: 100%;
}

/* 社交媒体链接 */
.antian-social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.antian-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.antian-social-links a:hover {
    background: var(--antian-secondary);
    border-color: var(--antian-secondary);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 169, 98, 0.4);
}

/* 页脚联系信息样式 */
.antian-footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.antian-footer-contact-item i {
    color: var(--antian-secondary);
    margin-right: 12px;
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

/* 页脚营业时间 */
.antian-footer-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 3px solid var(--antian-secondary);
}

.antian-footer-hours p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.antian-footer-hours strong {
    color: var(--antian-secondary);
    display: block;
    margin-bottom: 5px;
}

/* 响应式设计 - 平板 */
@media (max-width: 992px) {
    .antian-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .antian-footer-top {
        padding: 50px 0 30px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .antian-footer-top {
        padding: 40px 0 30px;
    }

    .antian-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .antian-footer-column {
        padding: 0;
    }

    .antian-footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .antian-copyright {
        text-align: center;
    }

    .antian-footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .antian-social-links {
        justify-content: center;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .antian-footer-top {
        padding: 30px 0 20px;
    }

    .antian-footer-column .widget-title {
        font-size: 16px;
    }

    .antian-footer-bottom {
        padding: 20px 0;
    }

    .antian-social-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* ========================================================
   面包屑导航样式
   ======================================================== */

.antian-breadcrumbs {
    background: var(--antian-gray-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--antian-border);
}

.antian-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.antian-breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.antian-breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--antian-gray);
    font-size: 13px;
}

.antian-breadcrumb-item a {
    color: var(--antian-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.antian-breadcrumb-item a:hover {
    color: var(--antian-primary);
}

.antian-breadcrumb-item a::before {
    content: '›';
    margin-right: 6px;
    color: var(--antian-secondary);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.antian-breadcrumb-item a:hover::before {
    transform: translateX(3px);
}

.antian-breadcrumb-current {
    color: var(--antian-primary);
    font-weight: 600;
}

/* 面包屑分隔符动画 */
.antian-breadcrumb-item:not(:last-child) {
    position: relative;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .antian-breadcrumbs {
        padding: 12px 0;
    }

    .antian-breadcrumb-list {
        gap: 5px;
    }

    .antian-breadcrumb-item {
        font-size: 13px;
    }

    .antian-breadcrumb-item:not(:last-child)::after {
        margin-left: 5px;
    }

    .antian-breadcrumb-item a::before {
        margin-right: 4px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .antian-breadcrumb-list {
        gap: 3px;
    }

    .antian-breadcrumb-item {
        font-size: 12px;
    }

    /* 在超小屏幕上，如果面包屑太长，可以隐藏中间部分 */
    .antian-breadcrumb-item:nth-child(n+2):nth-child(-n+3):not(:last-child) {
        display: none;
    }

    /* 显示省略号 */
    .antian-breadcrumb-item:nth-child(2):not(:last-child)::after {
        content: '...';
        margin-left: 5px;
    }
}

/* 面包屑在页面顶部有间距时的样式 */
body:not(.home) .antian-breadcrumbs {
    margin-top: 0;
}

/* 打印样式 */
@media print {
    .antian-breadcrumbs {
        display: none;
    }
}

/* ========================================================
   首页样式优化
   ======================================================== */

/* Hero区域 */
.antian-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.antian-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.antian-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
    z-index: 2;
}

.antian-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.antian-hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.antian-hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.antian-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.antian-hero-buttons .antian-btn {
    padding: 16px 40px;
    font-size: 18px;
    min-width: 180px;
}

/* 特色亮点区域 */
.antian-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.antian-feature-card {
    background: var(--antian-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.antian-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--antian-primary), var(--antian-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.antian-feature-card:hover::before {
    transform: scaleX(1);
}

.antian-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.antian-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--antian-gray-light), #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--antian-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.2);
}

.antian-feature-card:hover .antian-feature-icon {
    background: linear-gradient(135deg, var(--antian-primary), var(--antian-secondary));
    color: #ffffff;
    transform: rotateY(360deg);
}

.antian-feature-card h3 {
    font-size: 20px;
    color: var(--antian-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.antian-feature-card p {
    color: var(--antian-gray);
    line-height: 1.7;
    font-size: 15px;
}

/* CTA区域 */
.antian-cta-section {
    background: linear-gradient(135deg, var(--antian-primary) 0%, #4a8bc2 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.antian-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,128C672,117,768,139,864,160C960,181,1056,203,1152,192C1248,181,1344,139,1392,128L1440,117L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.antian-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.antian-cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.antian-cta-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.antian-cta-content .antian-btn {
    background: #ffffff;
    color: var(--antian-primary);
    padding: 16px 45px;
    font-size: 18px;
}

.antian-cta-content .antian-btn:hover {
    background: var(--antian-secondary);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 首页卡片样式优化 */
.antian-treatment-card,
.antian-case-item,
.antian-doctor-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.antian-treatment-card:hover,
.antian-case-item:hover,
.antian-doctor-card:hover {
    transform: translateY(-8px);
}

/* 治疗项目卡片特殊样式 */
.antian-treatment-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.antian-treatment-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.antian-treatment-action {
    padding: 20px;
    text-align: center;
}

.antian-treatment-action .antian-btn {
    display: inline-block;
    width: 100%;
    max-width: 200px;
}

/* 案例卡片样式 */
.antian-case-item {
    background: var(--antian-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.antian-case-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.antian-case-info h3 a {
    color: var(--antian-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.antian-case-info h3 a:hover {
    color: var(--antian-secondary);
}

/* 医生卡片样式 */
.antian-doctor-card {
    background: var(--antian-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.antian-doctor-info {
    padding: 25px;
    text-align: center;
}

.antian-doctor-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.antian-doctor-specialty {
    color: var(--antian-secondary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

/* 首页响应式设计 */
@media (max-width: 992px) {
    .antian-hero {
        height: auto;
        min-height: 500px;
        padding: 60px 0;
    }

    .antian-hero-title {
        font-size: 48px;
    }

    .antian-hero-subtitle {
        font-size: 20px;
    }

    .antian-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .antian-hero-buttons .antian-btn {
        width: 100%;
    }

    .antian-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .antian-feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .antian-hero-title {
        font-size: 36px;
    }

    .antian-hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .antian-features-grid {
        grid-template-columns: 1fr;
    }

    .antian-cta-content h2 {
        font-size: 32px;
    }

    .antian-cta-content p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .antian-hero {
        min-height: 450px;
    }

    .antian-hero-title {
        font-size: 28px;
    }

    .antian-hero-subtitle {
        font-size: 16px;
    }

    .antian-hero-buttons .antian-btn {
        padding: 14px 30px;
        font-size: 16px;
        min-width: auto;
    }

    .antian-cta-content h2 {
        font-size: 26px;
    }

    .antian-cta-content p {
        font-size: 16px;
    }

    .antian-cta-content .antian-btn {
        padding: 14px 35px;
        font-size: 16px;
    }
}

/* ========================================
 * 分页样式（全局）
 * ======================================== */

/* 分页容器 */
.antian-pagination-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.antian-pagination-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* WordPress分页导航 */
.navigation,
.nav-links {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 移除默认浮动 */
.nav-links::before,
.nav-links::after {
    display: none !important;
}

/* 分页按钮/链接 */
.nav-links li,
.nav-links .page-numbers,
.nav-links a,
.nav-links span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border: 2px solid var(--antian-border, #ddd) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: var(--antian-gray, #666) !important;
    background: var(--antian-white, #fff) !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* 当前页和悬停状态 */
.nav-links a:hover,
.nav-links .current,
.nav-links .page-numbers.current {
    background: var(--antian-primary, #2c5f8d) !important;
    color: var(--antian-white, #fff) !important;
    border-color: var(--antian-primary, #2c5f8d) !important;
}

/* 省略号 */
.nav-links .dots,
.nav-links .page-numbers.dots {
    border-color: transparent !important;
    background: transparent !important;
    cursor: default !important;
}

/* 分页图标 */
.antian-pagination-icon {
    font-size: 12px;
    margin: 0 2px;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        gap: 6px !important;
    }
    
    .nav-links li,
    .nav-links .page-numbers,
    .nav-links a,
    .nav-links span {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
        padding: 0 10px !important;
    }
}

/* 修复WordPress分页默认箭头重复显示问题 */
/* 移除WordPress默认添加的 &laquo; 和 &raquo; */
.nav-links .prev::before,
.nav-links .next::after,
.page-numbers.prev::before,
.page-numbers.next::after {
    display: none !important;
    content: none !important;
}

/* 移除pagination-links wrapper的默认样式 */
.pagination {
    display: flex !important;
    justify-content: center !important;
}

/* 确保只有我们自定义的箭头显示 */
.nav-links a .antian-pagination-icon {
    display: inline !important;
}
