.design-resources {
    background-color: #ffffff;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.design-resources .container {
    position: relative;
}

.design-resources h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.scrolling-container {
    position: relative;
    overflow: hidden;
}

.resources-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.resources-slider::-webkit-scrollbar {
    display: none;
}

.resource-item {
    flex: 0 0 260px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.resource-item .resource-image {
    height: 160px;
    background-color: #1a4b8c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-item .resource-image img {
    max-width: 80px;
    max-height: 80px;
}

.resource-item .resource-content {
    padding: 20px;
}

.resource-item h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.4;
}

.resource-item .date {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.resource-item .view-more {
    display: inline-block;
    color: #1a4b8c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.resource-item .view-more:hover {
    text-decoration: underline;
}

.resource-item .download {
    display: inline-block;
    color: #1a4b8c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.resource-item .download:hover {
    text-decoration: underline;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: #bbb;
}

.scroll-btn.prev {
    left: 20px;
}

.scroll-btn.next {
    right: 20px;
}

.scroll-btn svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

@media (max-width: 768px) {
    .design-resources {
        padding: 30px 0;
    }
    
    .design-resources h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .resource-item {
        flex: 0 0 280px;
    }
    
    .scroll-btn {
        width: 42px;
        height: 42px;
    }
    
    .scroll-btn.prev {
        left: 10px;
    }
    
    .scroll-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .design-resources {
        padding: 20px 0;
    }
    
    .resource-item {
        flex: 0 0 240px;
    }
    
    .resource-item .resource-content {
        padding: 15px;
    }
    
    .resource-item h3 {
        font-size: 14px;
    }
}