/* ===== 基础 ===== */
body {
    margin: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #2c3e50;
    background: #fff;
}

.breadcrumb {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 15px;
    font-size: .9rem;
    color: #7a8a9e;
}

.breadcrumb a {
    color: #1a5e9c;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

.equipment-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-heading {
    text-align: center;
    margin: 24px 0 30px;
}

.page-heading h1 {
    font-size: 2.4rem;
    color: #1a3f66;
    margin: 0 0 10px;
}

.page-heading p {
    font-size: 1.05rem;
    color: #5b7a9a;
    margin: 0;
}

/* ===== 左右双栏（三层选择器提权，压过 index.css） ===== */
.web-home .equipment-page .main-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.web-home .equipment-page .content-left {
    flex: 3 1 0%;
    min-width: 0;
    max-width: 100%;
}

.web-home .equipment-page .content-right {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
}

/* ===== 设备横向卡片列表 ===== */
.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 10px 0 30px;
    scroll-margin-top: 90px;
}

.equipment-item {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eaf0f8;
    box-shadow: 0 6px 20px rgba(26, 94, 156, .06);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.equipment-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(26, 94, 156, .14);
}

.equipment-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
}

.equipment-thumb {
    flex: 0 0 280px;
    min-height: 190px;
    overflow: hidden;
    background: #eef4fb;
}

.equipment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.equipment-item:hover .equipment-thumb img {
    transform: scale(1.06);
}

.equipment-text {
    flex: 1;
    min-width: 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equipment-text h3 {
    font-size: 1.2rem;
    color: #1a3b5e;
    margin: 0 0 10px;
    line-height: 1.4;
}

.equipment-desc {
    font-size: .92rem;
    color: #5f748b;
    line-height: 1.7;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.equipment-more {
    font-size: .88rem;
    color: #1a5e9c;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

/* ===== 分页 ===== */
.pagination-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0 40px;
    padding: 16px 18px;
    background: #f8fbff;
    border: 1px solid #e6eef8;
    border-radius: 14px;
}

.pagination-info {
    font-size: .9rem;
    color: #5a7a9a;
}

.pagination-info strong {
    color: #1a5e9c;
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.page-size-select {
    padding: 6px 10px;
    border: 1px solid #dbe6f3;
    border-radius: 8px;
    font-size: .85rem;
    color: #33506e;
    background: #fff;
    cursor: pointer;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #dbe6f3;
    background: #fff;
    color: #1a5e9c;
    font-size: .85rem;
    text-decoration: none;
    transition: .2s;
}

.page-btn:hover {
    background: #eaf2fc;
}

.page-btn.disabled {
    color: #b6c4d4;
    background: #f4f7fb;
    cursor: not-allowed;
    pointer-events: none;
}

.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #dbe6f3;
    background: #fff;
    color: #33506e;
    font-size: .85rem;
    text-decoration: none;
    transition: .2s;
}

.page-num:hover {
    background: #eaf2fc;
}

.page-num.active {
    background: #1a5e9c;
    border-color: #1a5e9c;
    color: #fff;
    font-weight: 600;
}

.page-jumper {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: #5a7a9a;
}

.page-input {
    width: 56px;
    padding: 6px 8px;
    border: 1px solid #dbe6f3;
    border-radius: 8px;
    font-size: .85rem;
    text-align: center;
}

/* ===== 页脚说明 / 空提示 ===== */
.footer-note {
    text-align: center;
    margin: 50px 0 20px;
    color: #7f8c9b;
    font-size: .95rem;
}

.footer-note .addr {
    font-size: .85rem;
    color: #99aab9;
}

.empty-tip {
    text-align: center;
    color: #93a2b3;
    padding: 20px 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .web-home .equipment-page .main-container {
        flex-direction: column;
    }

    .web-home .equipment-page .content-left,
    .web-home .equipment-page .content-right {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-heading h1 {
        font-size: 1.8rem;
    }

    .equipment-link {
        flex-direction: column;
    }

    .equipment-thumb {
        flex: none;
        width: 100%;
        aspect-ratio: 16/9;
        min-height: 0;
    }

    .equipment-text {
        padding: 16px 18px 20px;
    }

    .equipment-text h3 {
        font-size: 1.1rem;
    }

    .pagination-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}
