﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei UI", sans-serif !important;
    min-width: 1080px;
    color: #444444;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #f3f4fa;
    padding: 10px 0;
    font-size: 14px;
    color: #999;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

    .top-bar-content a {
        color: #999;
    }

/* Logo 区域 */
.header-section {
    background-color: #fff;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.org-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

    .org-text h1 {
        font-size: 18px;
        color: #1d3897;
    }

    .org-text span {
        font-family: Verdana;
        font-size: 11px;
        color: #888;
        position: relative;
        top: -8px;
    }

/* 导航栏 */
.nav-section {
    background-color: #3a5aa0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
}

.main-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .main-nav li {
        position: relative;
    }

    .main-nav a {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 12px 32px;
        font-size: 17px;
        transition: background-color 0.5s ease;
        font-weight: bold;
    }

        .main-nav a:hover,
        .main-nav a.active {
            background-color: #1d3897;
        }

.banner-section {
    max-width: 1400px;
    margin: 0 auto;
}

    .banner-section img {
        max-width: 100%;
        height: auto;
    }

/* 主要内容区 */
.main-section {
    padding: 32px 0;
    min-height: 540px;
}

.main-content {
    display: flex;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 左侧内容区 */
.left-panel {
    flex: 1;
}

.article-list {
    margin: 16px 8px;
}

    .article-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px dashed #e0e0e0;
        transition: background-color 0.3s ease;
    }

/* 标签页样式 */
.tabs-header {
    display: flex;
    align-items: center;
    background-color: #f3f4fa;
    border-bottom: 1px solid #cccccc;
}

.tab-item {
    padding: 12px 40px;
    cursor: pointer;
    font-size: 17px;
    color: #444;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

    .tab-item:hover {
        background-color: rgba(74, 110, 169, 0.1);
    }

    .tab-item.active {
        background-color: #3a5aa0;
        color: #fff;
        border-bottom-color: #1d3897;
    }


/* 右侧内容区 */
.right-panel {
    width: 400px;
    flex-shrink: 0;
}

/* 底部信息栏 */
.footer-section {
    background-color: #3a5aa0;
    padding: 40px 0;
    margin-top: 32px;
    color: #ffffff;
    font-size: 13px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

    .footer-section a:hover {
        opacity: 0.8;
        text-decoration: underline;
    }

/* 设备列表 */
.section-equipment {
    width: 1400px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-radius: 6px;
}

    .section-equipment .equipment-keywords {
        background-color: #dbdbdb;
        padding: 16px 12px 0 12px;
    }

    .section-equipment .equipment-types {
        background-color: #ffffff;
    }

        .section-equipment .equipment-types .btn-type {
            display: inline-block;
            margin: -1px 0 0 -1px;
            line-height: 4;
            min-width: 110px;
            text-align: center;
            color: #173169;
            border: 1px solid #dbdbdb;
        }

            .section-equipment .equipment-types .btn-type:hover,
            .section-equipment .equipment-types .btn-type.selected {
                color: #ffffff;
                background: linear-gradient(to right, #007bff, #009de2);
            }

    .section-equipment .equipment-cards {
        background-color: #ffffff;
        padding: 20px 0 0 15px;
    }

        .section-equipment .equipment-cards .equipment-card {
            background-color: #ffffff;
            box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3) !important;
            padding: 0;
            border-radius: 6px;
            overflow: hidden;
            width: 670px;
            float: left;
            margin: 0 20px 20px 0;
            height: 245px;
        }

            .section-equipment .equipment-cards .equipment-card img {
                width: 245px;
                height: 245px;
                float: left;
            }

            .section-equipment .equipment-cards .equipment-card .equipment-status {
                font-size: 13px;
                color: #888888;
            }

            .section-equipment .equipment-cards .equipment-card .equipment-usage {
                display: -webkit-box;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: wrap !important;
            }

            .section-equipment .equipment-cards .equipment-card dl {
                width: 320px;
                float: left;
                padding: 12px;
                overflow: hidden;
                font-size: 14px;
            }

                .section-equipment .equipment-cards .equipment-card dl dt {
                    float: left;
                    padding: 4px;
                    font-weight: bold;
                    width: 85px;
                }

                .section-equipment .equipment-cards .equipment-card dl dd {
                    padding: 4px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    cursor: default;
                }

                    .section-equipment .equipment-cards .equipment-card dl dd:first-of-type {
                    }

                    .section-equipment .equipment-cards .equipment-card dl dd:last-of-type {
                    }

            .section-equipment .equipment-cards .equipment-card .equipment-btns {
                float: right;
                width: 100px;
                padding: 12px;
                text-align: right;
            }

            .section-equipment .equipment-cards .equipment-card .equipment-btns a {
                margin-bottom: 8px;
            }


    .section-equipment .equipment-pages {
        background-color: #ffffff;
        padding: 8px;
    }

        .section-equipment .equipment-pages .btn-page {
            display: inline-block;
            margin: 0 0 4px 0;
            line-height: 1.7;
            min-width: 40px;
            text-align: center;
            color: #173169;
            border: 1px solid #dbdbdb;
        }

            .section-equipment .equipment-pages .btn-page:hover,
            .section-equipment .equipment-pages .btn-page.selected {
                color: #ffffff;
                background: linear-gradient(to right, #007bff, #009de2);
            }



.card .card-body {
    border-radius: 0.25rem !important;
}
