/* ============================================
   盐城市锐锋磨料有限公司 - 全局样式
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

/* 轮播动画与平滑渐变 */
.carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
}

/* 动态卡片悬停上浮与发光 */
.hover-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

/* 页面通用 Banner 区域（内页顶部横幅） */
.page-banner {
    margin-top: 20px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 50%, #047857 100%);
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16,185,129,0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(2,132,199,0.2) 0%, transparent 50%);
}
.page-banner .banner-inner {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}
.page-banner .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
}
.page-banner .breadcrumb a {
    color: #34d399;
    transition: color 0.2s;
}
.page-banner .breadcrumb a:hover {
    color: #6ee7b7;
}

/* 分页器样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    transition: all 0.2s;
}
.pagination a:hover {
    border-color: #10b981;
    color: #10b981;
}
.pagination .current {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

/* 表单通用样式 */
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s;
    outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: #10b981;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* 新闻详情页正文排版 */
.article-content p {
    margin-bottom: 16px;
    line-height: 1.9;
    color: #475569;
    font-size: 15px;
}
.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 14px;
}
.article-content img {
    border-radius: 16px;
    margin: 20px 0;
    width: 100%;
}
