@charset "UTF-8";
 /*
    Theme Name: YuQing UI
    Author: 瑜擎国际贸易
    Author URI: yuqing-industrial.com
    Description: 深圳瑜擎国际贸易有限公司 官方网站专用主题
    Version: 1.0.2
  */

  /* 下面导入你的CSS文件 */
  @import url(./assets/css/index.css);
 
  /* 你可以在这里写一些自定义的全局CSS样式 */
    * {
        margin:0;
        padding:0
    }
    body {
        padding: 0!important;
        margin: 0!important;
    }
    h2{
        font-size: 20px;
    }
   
    #footer {
        font-size: 16px;
        display: flex;
        justify-content: center;
        padding: 10px;
    }
    .article-c, .box-b {
        width: 70%;
        text-align: center;
        padding: 20px;
        height: auto;
        margin: 0 auto;
    }
    .box-b {
        text-align: center;
        margin-bottom: 10px;
    }
    .box-c {
        background: white;
        border-color: #EEEEEE;
        box-shadow: 0 0 10px 0 rgb(0 0 0 / 6%);
        margin: 0 auto;
        border: 1px solid #eee;
        border-radius: 0 0 10px 10px;
        padding: 20px;
    }
    
    /* 导航菜单样式 */
    .main-nav {
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 10px 20px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-logo {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .nav-logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .nav-logo img {
        height: 75px;
        width: auto;
    }

    .nav-logo span {
        font-size: 1.2rem;
        font-weight: 500;
        color: #333;
        margin-left: 10px;
    }

    .nav-menu {
        height: 100%;
    }

    /* 搜索框样式 */
    .nav-search {
        flex: 1;
        max-width: 400px;
        margin: 0 30px;
    }

    .nav-search form {
        display: flex;
        align-items: center;
        background: #f5f5f5;
        border-radius: 25px;
        padding: 5px 5px 5px 15px;
        transition: all 0.3s ease;
    }

    .nav-search form:focus-within {
        background: #fff;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    }

    .nav-search input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 8px 10px;
        font-size: 0.9rem;
        outline: none;
        color: #333;
    }

    .nav-search input::placeholder {
        color: #999;
    }

    .nav-search button {
        background: #333;
        color: #fff;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .nav-search button:hover {
        background: #000;
    }

    /* 菜单容器样式 */
    .nav-menu-container {
        background: #f5f5f5;
        border-bottom: 2px solid #0e2a52;
    }

    .nav-menu-container .nav-menu {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        height: 45px;
        display: flex;
        align-items: center;
    }

    /* 商品分类区块 */
    .category-menu {
        background: #0e2a52;
        color: #fff;
        height: 100%;
        padding: 0 15px;
        display: flex;
        align-items: center;
        font-weight: bold;
        font-weight: 500;
        font-size: 15px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        cursor: pointer;
        border-right: 1px solid #eee;
    }

    .category-menu i {
        margin-right: 10px;
    }

    .nav-menu-container .menu-items {
        height: 100%;
        display: flex;
        align-items: center;
        gap: 0;
        flex: 1;
        margin-left: 15px;
    }

    .nav-menu-container .menu-items li {
        margin: 0;
        height: 100%;
        border-right: 1px solid #eee;
    }

    .nav-menu-container .menu-items li:last-child {
        border-right: none;
    }

    .nav-menu-container .menu-items li a {
        font-size: 1rem;
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .menu-items {
        height: 100%;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu-items li {
        margin: 0 15px;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .menu-items li a {
        color: #333;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        padding: 8px 12px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .menu-items li a:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #000;
    }

    .menu-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: #333;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* 响应式设计 */
    @media screen and (max-width: 768px) {
        .menu-toggle {
            display: block;
        }

        .nav-menu {
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 20px;
            transform: translateY(-100%);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .nav-menu.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .menu-items {
            flex-direction: column;
            align-items: flex-start;
        }

        .menu-items li {
            width: 100%;
            margin: 10px 0;
        }

        .menu-items li a {
            display: block;
            padding: 10px 0;
        }

        /* 移动端搜索框 */
        .nav-search {
            order: 3;
            width: 100%;
            max-width: none;
            margin: 15px 0 0 0;
        }

        .nav-container {
            flex-wrap: wrap;
        }

        /* 移动端菜单容器 */
        .nav-menu-container {
            display: none;
        }

        .nav-menu-container.active {
            display: block;
            position: fixed;
            top: 130px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.98);
            z-index: 999;
            overflow-y: auto;
        }

        .nav-menu-container.active .nav-menu {
            height: auto;
            padding: 20px;
        }

        .nav-menu-container.active .menu-items {
            flex-direction: column;
            align-items: flex-start;
            gap: 0;
        }

        .nav-menu-container.active .menu-items li {
            width: 100%;
            margin: 5px 0;
        }

        .nav-menu-container.active .menu-items li a {
            display: block;
            padding: 15px 0;
            font-size: 1.1rem;
            border-bottom: 1px solid #eee;
        }
    }

    /* 中等屏幕适配 */
    @media screen and (max-width: 992px) {
        .nav-search {
            max-width: 250px;
            margin: 0 15px;
        }

        .nav-menu-container .menu-items {
            gap: 20px;
        }
    }
    
    /* 文章卡片网格布局 */
    .content-area {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .posts-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-bottom: 40px;
    }

    /* 文章卡片样式 */
    .post-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
    }

    .post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .post-content {
        padding: 20px;
    }

    .post-title {
        margin: 0 0 15px 0;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .post-title a {
        color: #333;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .post-title a:hover {
        color: #007bff;
    }

    .post-meta {
        font-size: 0.875rem;
        color: #666;
        margin-bottom: 15px;
        display: flex;
        gap: 15px;
    }

    .post-date, .post-category {
        display: flex;
        align-items: center;
    }

    .post-category a {
        color: #666;
        text-decoration: none;
    }

    .post-category a:hover {
        color: #007bff;
    }

    .post-excerpt {
        color: #666;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    /* 分页导航样式 */
    .pagination {
        margin-top: 40px;
        text-align: center;
    }

    .pagination .page-numbers {
        display: inline-block;
        padding: 8px 12px;
        margin: 0 4px;
        border-radius: 4px;
        background: white;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .pagination .page-numbers.current {
        background: #007bff;
        color: white;
    }

    .pagination .page-numbers:hover:not(.current) {
        background: #f0f0f0;
    }

    /* 响应式布局 */
    @media screen and (max-width: 1024px) {
        .posts-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media screen and (max-width: 768px) {
        .posts-grid {
            grid-template-columns: 1fr;
        }
        
        .content-area {
            padding: 15px;
        }
    }

    /* 无文章提示 */
    .no-posts {
        text-align: center;
        padding: 40px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .no-posts h2 {
        color: #666;
        font-size: 1.5rem;
        margin: 0;
    }
    