﻿ /* 基础样式重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
        color: #333;
        background-color: #f8f9fa;
        line-height: 1.6;
    }

    /* 版心容器 */
    .container-list {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 15px;
    }

    /* 面包屑导航 */
    .breadcrumb-list {
        background-color: #f1f3f5;
        padding: 15px 20px;
        border-radius: 4px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .location-icon-list {
        color: #0056b3;
        margin-right: 10px;
    }

    .breadcrumb-link-list {
        color: #0056b3;
        text-decoration: none;
        transition: color 0.2s;
    }

    .breadcrumb-link-list:hover {
        color: #003d7a;
        text-decoration: underline;
    }

    .breadcrumb-separator-list {
        margin: 0 8px;
        color: #6c757d;
    }

    .breadcrumb-current-list {
        color: #6c757d;
    }

    /* 分类标题 */
    .section-title-list {
        font-size: 24px;
        font-weight: 600;
        color: #0056b3;
        padding: 12px 15px;
        background-color: #f8f9fa;
        border-left: 4px solid #0056b3;
        margin: 25px 0 15px;
    }

    /* 网格布局 */
    .grid-list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 2px;
        background-color: #e9ecef;
        border: 1px solid #e9ecef;
        border-radius: 4px;
        overflow: hidden;
    }

    /* 网格项 */
    .grid-item-list {
        background-color: #fff;
        padding: 10px 8px;
        text-align: center;
        transition: all 0.2s ease;
        height: 80px;
        /* 固定高度 */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .grid-item-list:hover {
        background-color: #f1f7ff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    /* 链接样式 */
    .link-list {
        text-decoration: none;
        color: #333;
        font-size: 18px;
        width: 100%;
        transition: all 0.2s ease;
        line-height: 1.4;
        /* 控制文本两行显示 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* 限制两行 */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.8em;
        word-break: break-all;
        /* 允许在任何字符间断行 */
        text-align: center;
        /* 文本居中 */
        margin: 0 auto;
        /* 居中显示 */
    }

    .link-list:hover {
        color: #0056b3;
    }

    /* 响应式调整 */
    @media (max-width: 992px) {
        .grid-list {
            grid-template-columns: repeat(3, 1fr);
        }

        .grid-item-list {
            height: 90px;
            /* 稍微增加高度 */
        }
    }

    @media (max-width: 768px) {
        .grid-list {
            grid-template-columns: repeat(2, 1fr);
        }

        .grid-item-list {
            height: 80px;
        }

        .link-list {
            font-size: 16px;
        }
    }

    @media (max-width: 576px) {
        .grid-list {
            grid-template-columns: 1fr;
        }

        .grid-item-list {
            height: 70px;
            /* 在移动端减小高度 */
        }

        .breadcrumb-list {
            flex-wrap: wrap;
        }
    }