 /* 基础样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f9f9f9;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        a {
            text-decoration: none;
            color: #d42e7d;
            transition: color 0.3s ease;
        }
        
        a:hover {
            text-decoration: underline;
            color: #a82363;
        }
        
        ul, ol {
            list-style: none;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
            width: 100%;
        }
        
        /* 顶部区域 */
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            flex-wrap: wrap;
        }
        
        .logo {
            font-size: 28px;
            font-weight: bold;
            color: #d42e7d;
        }
        
        .nav-menu {
            display: flex;
            flex-wrap: wrap;
        }
        
        .nav-menu li {
            margin-left: 25px;
        }
        
        .nav-menu a {
            color: #666;
            font-size: 16px;
            padding: 5px 0;
            display: block;
        }
        
        .nav-menu a:hover, .nav-menu a.active {
            color: #d42e7d;
        }
        
        /* 移动端菜单按钮 */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #d42e7d;
        }
        
        /* 搜索区域 */
        .search-bar {
            padding: 20px 0;
            background-color: #fff;
            border-bottom: 1px solid #eee;
        }
        
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
            width: 100%;
        }
        
        .search-input {
            flex: 1;
            padding: 12px 15px;
            border: 2px solid #d42e7d;
            border-right: none;
            border-radius: 4px 0 0 4px;
            font-size: 16px;
            outline: none;
        }
        
        .search-button {
            padding: 0 25px;
            background-color: #d42e7d;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
        }
        
        .search-button:hover {
            background-color: #a82363;
        }
        
        /* 当前位置 */
        .breadcrumb {
            padding: 15px 0;
            font-size: 14px;
            color: #666;
            background-color: #f5f5f5;
        }
        
        .breadcrumb a {
            color: #666;
        }
        
        /* 栏目内容区域 */
        .category-content {
            margin: 20px 0;
            background-color: #fff;
            padding: 20px;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            flex-grow: 1;
        }
        
        .category-title {
            font-size: 24px;
            color: #d42e7d;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        /* 4列网格布局 */
        .grid-4-columns {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        
.grid-item {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: inherit; /* 确保链接颜色不会改变 */
    text-decoration: none; /* 移除下划线 */
}

.grid-item:hover {
    box-shadow: 0 5px 15px rgba(212, 46, 125, 0.1);
    border-color: #d42e7d;
    transform: translateY(-3px);
    text-decoration: none; /* 确保悬停时也没有下划线 */
}
        
        .item-title {
            font-size: 18px;
            margin-bottom: 10px;
            color: #d42e7d;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 确保标题颜色正确 */
.grid-item .item-title {
    color: #d42e7d;
}

.grid-item:hover .item-title {
    color: #a82363; /* 悬停时稍微深一点的颜色 */
}
        
        .item-meta {
            font-size: 12px;
            color: #999;
            margin-bottom: 10px;
        }
        
        .item-description {
            font-size: 14px;
            line-height: 1.5;
            color: #666;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 词语列表样式 */
        .word-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }
        
        .word-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            border: 1px solid #eee;
            border-radius: 4px;
            transition: all 0.3s ease;
            background-color: #fff;
        }
        
        .word-item:hover {
            border-color: #d42e7d;
            box-shadow: 0 2px 8px rgba(212, 46, 125, 0.1);
            transform: translateY(-2px);
        }
        
        .word-title {
            color: #333;
            font-size: 15px;
            line-height: 1.4;
            transition: color 0.3s ease;
        }
        
        .word-item:hover .word-title {
            color: #d42e7d;
        }
        
        /* 底部区域 */
        .footer {
            background-color: #333;
            color: #fff;
            padding: 30px 0 15px;
            margin-top: 30px;
        }
        
        .footer-menu {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .footer-menu li {
            margin: 0 15px;
        }
        
        .footer-menu a {
            color: #ccc;
        }
        
        .footer-menu a:hover {
            color: #fff;
        }
        
        .footer-info {
            text-align: center;
            margin-bottom: 15px;
            color: #999;
            font-size: 14px;
        }
        
        .footer-record {
            text-align: center;
            color: #666;
            font-size: 12px;
            padding-top: 15px;
            border-top: 1px solid #444;
        }
        
        .footer-record a {
            color: #999;
        }
        
        .footer-record a:hover {
            color: #fff;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .grid-4-columns {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .word-list {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .grid-4-columns {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .nav-menu {
                display: none;
                width: 100%;
                flex-direction: column;
                margin-top: 15px;
            }
            
            .nav-menu.show {
                display: flex;
            }
            
            .nav-menu li {
                margin: 5px 0;
                margin-left: 0;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        
        @media (max-width: 768px) {
            .grid-4-columns {
                grid-template-columns: 1fr;
            }
            
            .word-list {
                grid-template-columns: 1fr;
            }
            
            .search-form {
                flex-direction: column;
            }
            
            .search-input {
                border-right: 2px solid #d42e7d;
                border-radius: 4px 4px 0 0;
                margin-bottom: 10px;
            }
            
            .search-button {
                border-radius: 0 0 4px 4px;
                padding: 12px 15px;
            }
            
            .footer-menu li {
                margin: 5px 10px;
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 0 10px;
            }
            
            .category-content {
                padding: 15px;
            }
            
            .grid-item {
                padding: 12px;
            }
            
            .word-item {
                padding: 10px 12px;
            }
            
            .item-title {
                font-size: 16px;
            }
            
            .word-title {
                font-size: 14px;
            }
            
            .category-title {
                font-size: 20px;
            }
        }