/* 新闻页面专用样式 */

/* 新闻列表页样式 */
.news-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 30px 0;
}

.news-main {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f3f4f6;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.page-description {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.news-filters {
    margin-bottom: 30px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    color: #4f46e5;
    border-color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.filter-tab.active {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.filter-tab .count {
    font-size: 12px;
    opacity: 0.8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-color: #4f46e5;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.news-item.featured {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbf0 0%, #fff7ed 100%);
}

.news-image {
    flex: 0 0 200px;
    height: 140px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

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

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6b7280;
}

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

.news-meta .category {
    color: #4f46e5;
    font-weight: 600;
}

.news-title {
    margin: 0 0 10px 0;
}

.news-title a {
    color: #1f2937;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #4f46e5;
}

.news-subtitle {
    font-size: 16px;
    color: #4b5563;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.news-summary {
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
}

.news-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #9ca3af;
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-actions {
    display: flex;
    gap: 10px;
}

.news-actions .btn {
    padding: 8px 16px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background: #4338ca;
    color: white;
}

.btn-secondary {
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #4f46e5;
    color: #4f46e5;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.hot-news-list {
    padding: 20px;
}

.hot-news-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.hot-news-item:last-child {
    border-bottom: none;
}

.hot-rank {
    flex: 0 0 24px;
    height: 24px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.hot-news-item:nth-child(1) .hot-rank {
    background: #ef4444;
}

.hot-news-item:nth-child(2) .hot-rank {
    background: #f59e0b;
}

.hot-news-item:nth-child(3) .hot-rank {
    background: #10b981;
}

.hot-content h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    line-height: 1.4;
}

.hot-content h4 a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hot-content h4 a:hover {
    color: #4f46e5;
}

.hot-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #9ca3af;
}

.hot-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.category-list {
    padding: 20px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #f8fafc;
    color: #4f46e5;
}

.category-item.active {
    background: #4f46e5;
    color: white;
}

.category-name {
    font-weight: 500;
}

.category-count {
    font-size: 12px;
    opacity: 0.8;
}

.health-tips {
    padding: 20px;
}

.tip-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.tip-item:last-child {
    border-bottom: none;
}

.tip-icon {
    flex: 0 0 40px;
    height: 40px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tip-content h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #1f2937;
}

.tip-content p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.recommended-doctors {
    padding: 20px;
}

.doctor-mini-card {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.doctor-mini-card:last-child {
    border-bottom: none;
}

.doctor-mini-card .doctor-avatar {
    flex: 0 0 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.doctor-mini-card .doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.doctor-mini-card .doctor-info {
    flex: 1;
}

.doctor-mini-card h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
}

.doctor-mini-card h4 a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.doctor-mini-card h4 a:hover {
    color: #4f46e5;
}

.doctor-title {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 4px 0;
}

.doctor-hospital {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 8px 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.rating i {
    color: #f59e0b;
}

.rating span {
    color: #6b7280;
    margin-left: 4px;
}

.view-all-doctors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: #f8fafc;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    border-radius: 8px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.view-all-doctors:hover {
    background: #4f46e5;
    color: white;
}

.no-content {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-content-icon {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-content h3 {
    font-size: 20px;
    color: #374151;
    margin-bottom: 10px;
}

.no-content p {
    margin-bottom: 20px;
}

.pagination-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .news-main {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .news-page {
        padding: 20px 0;
    }
    
    .news-main {
        padding: 20px;
        border-radius: 8px;
    }
    
    .page-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .filter-tabs {
        padding: 15px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .filter-tab {
        padding: 6px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .news-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .news-image {
        flex: none;
        width: 100%;
        height: 200px;
    }
    
    .news-title a {
        font-size: 18px;
    }
    
    .news-meta {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .sidebar-widget {
        border-radius: 8px;
    }
    
    .widget-title {
        padding: 15px;
        font-size: 16px;
    }
    
    .hot-news-list,
    .category-list,
    .health-tips,
    .recommended-doctors {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .news-main {
        padding: 15px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .filter-tabs {
        padding: 10px;
        gap: 6px;
    }
    
    .filter-tab {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .news-item {
        padding: 15px;
    }
    
    .news-title a {
        font-size: 16px;
    }
    
    .news-meta {
        font-size: 11px;
        gap: 8px;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .news-actions .btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .news-sidebar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .widget-title {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .hot-news-list,
    .category-list,
    .health-tips,
    .recommended-doctors {
        padding: 12px 15px;
    }
}

/* 文章详情页样式 */
.article-page {
    padding: 20px 0 60px;
    background: #f8f9fa;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 30px;
}

.article-content {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.article-header {
    padding: 40px;
    border-bottom: 1px solid #f3f4f6;
}

.article-category {
    margin-bottom: 20px;
}

.article-category a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #4f46e5;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-subtitle {
    font-size: 20px;
    color: #6b7280;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.meta-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #6b7280;
}

.meta-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-right {
    font-size: 14px;
    color: #6b7280;
}

.meta-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-summary {
    margin: 30px 40px;
    padding: 20px;
    background: #f0f9ff;
    border-left: 4px solid #4f46e5;
    border-radius: 8px;
    display: flex;
    gap: 15px;
}

.summary-icon {
    color: #4f46e5;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.summary-content {
    color: #1f2937;
    line-height: 1.6;
}

.article-body {
    padding: 0 40px 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: #1f2937;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-body h1 { font-size: 28px; }
.article-body h2 { font-size: 24px; }
.article-body h3 { font-size: 20px; }
.article-body h4 { font-size: 18px; }

.article-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 25px 0;
    padding: 20px;
    background: #f9fafb;
    border-left: 4px solid #d1d5db;
    font-style: italic;
    color: #6b7280;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.article-body th,
.article-body td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.article-body th {
    background: #f9fafb;
    font-weight: 600;
}

.article-tags {
    padding: 20px 40px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.tags-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-weight: 500;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #4f46e5;
    color: white;
}

.article-actions {
    padding: 30px 40px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.action-btn:hover {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.action-btn.liked,
.action-btn.favorited {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.share-buttons {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.share-buttons a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: white;
    color: #6b7280;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.share-wechat:hover { background: #07c160; color: white; border-color: #07c160; }
.share-weibo:hover { background: #e6162d; color: white; border-color: #e6162d; }
.share-qq:hover { background: #1296db; color: white; border-color: #1296db; }
.share-copy:hover { background: #6b7280; color: white; border-color: #6b7280; }

/* 相关文章 */
.related-articles {
    margin-top: 40px;
    padding: 30px 40px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.related-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

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

.related-content h4 {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-content h4 a {
    color: #1f2937;
    text-decoration: none;
}

.related-content h4 a:hover {
    color: #4f46e5;
}

.related-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
}

.related-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 评论区 */
.comments-section {
    margin-top: 40px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.comments-section .section-title {
    padding: 25px 40px 0;
}

.comment-form {
    padding: 25px 40px;
    border-bottom: 1px solid #f3f4f6;
}

.comment-input textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.comment-input textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.anonymous-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}

.login-prompt {
    padding: 25px 40px;
    text-align: center;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

.login-prompt a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.comments-list {
    padding: 0 40px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid #f3f4f6;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img,
.comment-avatar .avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-avatar .avatar-placeholder {
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.username {
    font-weight: 500;
    color: #1f2937;
    font-size: 14px;
}

.comment-time {
    font-size: 12px;
    color: #6b7280;
}

.comment-text {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 12px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-like,
.comment-reply {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.comment-like:hover,
.comment-reply:hover {
    color: #4f46e5;
}

.comment-like.liked {
    color: #ef4444;
}

.no-comments {
    text-align: center;
    padding: 60px 40px;
    color: #6b7280;
}

.no-comments-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* 侧边栏样式 */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.latest-articles {
    padding: 20px;
}

.latest-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.latest-item:last-of-type {
    border-bottom: none;
}

.latest-image {
    flex-shrink: 0;
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
}

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

.latest-content h4 {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.latest-content h4 a {
    color: #1f2937;
    text-decoration: none;
}

.latest-content h4 a:hover {
    color: #4f46e5;
}

.latest-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #6b7280;
}

.view-more,
.view-all-link {
    display: block;
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    color: #4f46e5;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-top: 1px solid #e5e7eb;
    transition: background-color 0.3s ease;
}

.view-more:hover,
.view-all-link:hover {
    background: #f3f4f6;
}

.health-warning {
    padding: 20px;
}

.warning-content {
    padding: 15px;
    background: #fef3cd;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
}

.recommended-doctors {
    padding: 20px;
}

.doctor-card-mini {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.doctor-card-mini:last-of-type {
    border-bottom: none;
}

.doctor-card-mini .doctor-avatar {
    flex-shrink: 0;
}

.doctor-card-mini .doctor-avatar img,
.doctor-card-mini .avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.doctor-card-mini .avatar-placeholder {
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.doctor-card-mini .doctor-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.doctor-card-mini .doctor-info h4 a {
    color: #1f2937;
    text-decoration: none;
}

.doctor-card-mini .doctor-info h4 a:hover {
    color: #4f46e5;
}

.doctor-card-mini .doctor-title,
.doctor-card-mini .doctor-hospital {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 3px;
}

.doctor-card-mini .doctor-actions {
    margin-top: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-header {
        padding: 25px 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-subtitle {
        font-size: 16px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .meta-left {
        flex-direction: column;
        gap: 8px;
    }
    
    .article-summary {
        margin: 20px;
        padding: 15px;
    }
    
    .article-body {
        padding: 0 20px 20px;
        font-size: 15px;
    }
    
    .article-tags {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .article-actions {
        padding: 20px;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .related-articles {
        padding: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comments-section .section-title,
    .comment-form,
    .login-prompt {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .comments-list {
        padding: 0 20px;
    }
    
    .comment-item {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }
    
    .article-body {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .action-buttons {
        gap: 8px;
    }
    
    .action-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .related-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-image {
        width: 100%;
        height: 150px;
    }
    
    .comment-item {
        gap: 10px;
    }
    
    .comment-avatar img,
    .comment-avatar .avatar-placeholder {
        width: 35px;
        height: 35px;
    }
}