/* 模态框样式 */
.project-modal,
.news-modal,
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.show,
.news-modal.show,
.modal.show {
    opacity: 1;
    visibility: visible;
}

.project-modal.closing,
.news-modal.closing,
.modal.closing {
    opacity: 0;
    visibility: hidden;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.project-modal.show .modal-content,
.news-modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.modal-header h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.project-category-badge,
.news-category-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.project-category-badge {
    background: linear-gradient(45deg, #9F5748, #d4926b);
    color: white;
}

.news-category-badge {
    color: white;
}

.news-category-badge.company {
    background: linear-gradient(45deg, #9F5748, #d4926b);
}

.news-category-badge.project {
    background: linear-gradient(45deg, #4CAF50, #81C784);
}

.news-category-badge.industry {
    background: linear-gradient(45deg, #2196F3, #64B5F6);
}

.news-category-badge.award {
    background: linear-gradient(45deg, #FF9800, #FFB74D);
}

.news-category-badge.notice {
    background: linear-gradient(45deg, #9C27B0, #BA68C8);
}

.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.project-image-large,
.news-image-large {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: #f8f9fa;
    position: relative;
}

.project-image-large img,
.news-image-large img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.project-image-large img:hover,
.news-image-large img:hover {
    transform: scale(1.02);
}

/* 图片加载状态 */
.image-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
}

.image-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* 图片加载失败状态 */
.image-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #999;
    font-size: 14px;
}

.image-error i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.project-details {
    line-height: 1.6;
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #9F5748;
    display: inline-block;
}

.detail-section p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #9F5748;
}

.info-item strong {
    color: #333;
    font-weight: 600;
}

.info-item span {
    color: #666;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.active,
.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.project-tags-list,
.news-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    padding: 4px 12px;
    background: linear-gradient(45deg, #9F5748, #d4926b);
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.news-content-full {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.news-content-full p {
    margin-bottom: 15px;
}

.news-content-full h3,
.news-content-full h4 {
    color: #333;
    margin: 25px 0 15px;
    font-weight: 600;
}



.news-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-top: 15px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 加载和错误状态样式 */
.loading-state,
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #9F5748;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p,
.error-state p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.error-state i {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-state h3 {
    color: #333;
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 600;
}

.retry-btn {
    background: linear-gradient(45deg, #9F5748, #d4926b);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 87, 72, 0.3);
}

.read-more-btn,
.view-details-btn {
    background: linear-gradient(45deg, #9F5748, #d4926b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn:hover,
.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 87, 72, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-background {
        padding: 10px;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
        max-height: 70vh;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .project-image-large img,
    .news-image-large img {
        max-height: 250px;
    }
    

}

@media (max-width: 480px) {
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .close-modal {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    

}

/* ============================================
   项目模态框特定样式
   ============================================ */

.project-modal .modal-content {
    max-width: 1200px;
    max-height: 95vh;
}

.project-modal .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.project-images .main-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-images .main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-images .main-image:hover img {
    transform: scale(1.05);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.image-gallery .thumb {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.image-gallery .thumb:hover,
.image-gallery .thumb.active {
    border-color: #9F5748;
    transform: scale(1.05);
}

.image-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.project-details::-webkit-scrollbar {
    width: 6px;
}

.project-details::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.project-details::-webkit-scrollbar-thumb {
    background: #9F5748;
    border-radius: 3px;
}

.details-section {
    margin-bottom: 25px;
}

.details-section h4 {
    color: #9F5748;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #f0f0f0;
}

.project-description {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    color: #666;
    line-height: 1.6;
}

.project-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #9F5748;
    font-weight: bold;
}

.project-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.award-badge {
    background: linear-gradient(135deg, #9F5748, #d4926b);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.project-category-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-category-badge.ancient {
    background: #d4926b;
    color: white;
}

.project-category-badge.garden {
    background: #4CAF50;
    color: white;
}

.project-category-badge.heritage {
    background: #9F5748;
    color: white;
}

.project-category-badge.international {
    background: #2196F3;
    color: white;
}

.project-meta-info {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.project-meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.project-meta-info i {
    color: #9F5748;
}

/* 项目卡片美化样式 */
.clickable-project {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-overlay {
    transition: all 0.3s ease;
}

.clickable-project:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
}

.view-details-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: #9F5748;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.view-details-btn:hover {
    background: white;
    transform: scale(1.05);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.project-status {
    background: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.project-status.in-progress {
    background: #FF9800;
}

.project-status.planning {
    background: #2196F3;
}

/* 项目模态框响应式设计 */
@media (max-width: 1024px) {
    .project-modal .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-images .main-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .project-modal .modal-body {
        gap: 15px;
        padding: 20px;
    }
    
    .project-images .main-image img {
        height: 200px;
    }
    
    .project-meta-info {
        gap: 15px;
    }
    
    .project-meta-info span {
        font-size: 13px;
    }
}

/* ============================================
   新增项目详情样式
   ============================================ */

/* 内容区块样式 */
.content-section {
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.content-section:hover {
    border-color: #9F5748;
    box-shadow: 0 4px 12px rgba(159, 87, 72, 0.1);
}

.content-section h4 {
    color: #9F5748;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #9F5748;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section h4 i {
    font-size: 16px;
}

/* 基本信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #9F5748;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-item label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.info-item span {
    color: #666;
    font-size: 14px;
}

/* 项目图片画廊 */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.gallery-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(159, 87, 72, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 24px;
}

/* 暂无图片样式 */
.no-images {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
}

.no-images i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

.no-images p {
    margin: 0;
    font-size: 16px;
}

/* 项目描述样式 */
.project-description {
    line-height: 1.8;
    color: #555;
}

.project-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9F5748;
    margin-bottom: 15px;
}

.project-summary strong {
    color: #9F5748;
}

.project-detail {
    color: #666;
    line-height: 1.7;
}

/* 特色和获奖列表样式 */
.features-list,
.awards-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.features-list li,
.awards-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.6;
}

.features-list li:last-child,
.awards-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: #28a745;
    margin-top: 2px;
    flex-shrink: 0;
}

.awards-list li i {
    color: #ffc107;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 状态徽章样式 */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.published {
    background: #d4edda;
    color: #155724;
}

.status-badge.draft {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.completed {
    background: #cce5ff;
    color: #004085;
}

.status-badge.in_progress {
    background: #fff3cd;
    color: #856404;
}

.status-badge.planning {
    background: #e2e3e5;
    color: #383d41;
}

/* 精品项目徽章 */
.featured-badge {
    background: linear-gradient(45deg, #ffc107, #ffeb3b);
    color: #333;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-badge i {
    color: #ff9800;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .content-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .content-section h4 {
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .project-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .gallery-item img {
        height: 80px;
    }
    
    .gallery-overlay i {
        font-size: 20px;
    }
    
    .close-image-modal {
        top: 10px;
        right: 10px;
    }
    
    .image-counter {
        bottom: 10px;
    }
}

/* ============================================
   图片放大模态框样式
   ============================================ */

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

.image-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal.show .image-modal-content img {
    transform: scale(1);
}

.close-image-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.close-image-modal:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.image-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .image-modal-background {
        padding: 15px;
    }
    
    .close-image-modal {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .image-counter {
        bottom: -35px;
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .image-modal-background {
        padding: 10px;
    }
    
    .close-image-modal {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .image-counter {
        bottom: -30px;
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ============================================
   团队成员模态框特定样式
   ============================================ */

.modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal .modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal .modal-header {
    background: linear-gradient(135deg, #9F5748 0%, #d4926b 100%);
    color: white;
    padding: 25px 30px;
    position: relative;
}

.modal .modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.modal .close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal .modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

/* 团队成员详情容器 */
.member-detail-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.member-detail-photo {
    flex-shrink: 0;
    width: 200px;
}

.member-detail-photo img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.member-detail-info {
    flex: 1;
}

.member-detail-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.member-detail-info .position {
    font-size: 18px;
    color: #9F5748;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.member-detail-info .description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.skills-container {
    margin-bottom: 25px;
}

.skills-container .skill-tag {
    display: inline-block;
    padding: 6px 15px;
    background: #f8f9fa;
    color: #9F5748;
    font-size: 13px;
    font-weight: 500;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.skills-container .skill-tag:hover {
    background: #9F5748;
    color: white;
    transform: translateY(-2px);
}

.member-contact {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #9F5748;
}

.member-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.member-contact .contact-item:last-child {
    margin-bottom: 0;
}

.member-contact .contact-item i {
    width: 20px;
    color: #9F5748;
    font-size: 16px;
}

/* 团队成员模态框响应式设计 */
@media (max-width: 768px) {
    .modal .modal-content {
        max-width: 95vw;
        margin: 10px;
    }
    
    .modal .modal-header {
        padding: 20px 25px;
    }
    
    .modal .modal-header h2 {
        font-size: 20px;
    }
    
    .modal .close {
        top: 15px;
        right: 20px;
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
    
    .modal .modal-body {
        padding: 20px;
    }
    
    .member-detail-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .member-detail-photo {
        width: 100%;
        text-align: center;
    }
    
    .member-detail-photo img {
        width: 200px;
        height: 200px;
    }
    
    .member-detail-info h3 {
        font-size: 24px;
    }
    
    .member-detail-info .position {
        font-size: 16px;
    }
    
    .member-detail-info .description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal .modal-body {
        padding: 15px;
    }
    
    .member-detail-photo img {
        width: 150px;
        height: 150px;
    }
    
    .member-detail-info h3 {
        font-size: 22px;
    }
    
    .skills-container .skill-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .member-contact {
        padding: 15px;
    }
}