
    /* 核心布局 */
    .container-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* 选项卡及细线 */
    .material-tabs {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 20px;
        border-bottom: 1px solid #d1d5db;
    }

    .tab-btn {
        background: none;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        color: #666;
        cursor: pointer;
        position: relative;
        transition: color 0.3s;
    }

    .tab-btn.active {
        color: #0f403f;
        font-weight: bold;
    }

    .tab-btn.active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #0f403f; 
    }

    /* 内容显隐 */
    .tab-content {
        display: none; 
        animation: fadeIn 0.4s ease; 
    }

    .tab-content.active {
        display: block; 
    }

    /* 文案样式 */
    .tab-description {
        text-align: center;
        color: #4b5563;
        font-size: 16px;
        max-width: 1400px;
        margin: 0 auto 30px auto;
        padding: 0 15px;
        line-height: 1.6;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* 4:3 比例及圆角 */
    .material-item {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.3s ease;
        background-color: #f3f4f6;
    }

    .material-item:hover {
        transform: translateY(-5px);
    }

    .material-link {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    .material-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* 遮罩层 - 核心修复：pointer-events: none 确保点击穿透 */
    .material-hover-overlay {
        position: absolute;
        inset: 0;
        background: rgba(15, 64, 63, 0.75);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none; 
    }

    .material-item:hover .material-hover-overlay {
        opacity: 1;
    }

    .material-name-text {
        font-size: 18px;
        color: #ffffff;
        font-weight: bold;
        transform: translateY(15px);
        transition: transform 0.3s ease;
        padding: 0 15px;
        text-align: center;
    }

    .material-item:hover .material-name-text {
        transform: translateY(0);
    }

    /* 响应式适配 */
    @media (max-width: 1024px) {
        .container-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
        .container-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
        .tab-description { font-size: 14px; }
    }
