    @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap');

/* 光束横向闪过动画 */
.beam-effect {
    position: relative;
    overflow: hidden;
}

.beam-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: beamFlash 3s ease-in-out infinite;
}

@keyframes beamFlash {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

/* 导航链接样式 */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 护理专业导航链接样式 */
.nav-link-nursing::after {
    background-color: #d72525;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 淡入动画 */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* 分页项样式 */
.page-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 分页链接样式 */
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #4b5563;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 400;
}

/* 当前页样式 */
.page-item.active .page-link {
    background: #3b82f6;
    color: white;
    font-weight: 500;
}

/* 悬停样式 */
.page-link:hover:not(.active) {
    background: #f3f4f6;
}

/* 上一页和下一页样式 */
.page_prev .page-link,
.page_next .page-link {
    font-size: 14px;
}

/* 正文样式增强 */
.article-content {
    line-height: 1.8;
    font-family: 'Noto Serif SC', serif;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.article-content h1 {
    font-size: 1.875rem;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 0.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
}

.article-content h3 {
    font-size: 1.25rem;
    color: #3b82f6;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #4b5563;
    font-style: italic;
}

.article-content a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.article-content code {
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.375rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875rem;
}

.article-content pre {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .article-content {
        line-height: 1.7;
    }
    
    .article-content h1 {
        font-size: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.25rem;
    }
    
    .article-content h3 {
        font-size: 1.125rem;
    }
}

