body {
    min-height: 1024px;
}
.news-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, box-shadow;
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1;

}
.search-input:focus {
    outline: none;
    border-color: #e03c3c;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}


/* 新增加载动画样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loading-spinner {
    border-top-color: #e03c3c; /* 使用 primary 颜色 */
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 移动端优化样式 */
@media (max-width: 767px) {
    body {
        min-height: auto;
    }
    .news-card {
        margin-bottom: 1rem;
    }
    .search-input {
        font-size: 0.875rem;
    }
}