
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
          
        }

        .slider-container {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .slider-wrapper {
            display: flex;
            transition: transform 0.3s ease-out;
            cursor: grab;
            user-select: none;
            padding: 10px 0;
        }

        .slider-item {
            flex: 0 0 auto;
            width: 160px;
            margin-right: 15px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s;
        }

        .slider-item:hover {
            transform: translateY(-5px);
        }

        .slider-item a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .slider-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
        }

        .slider-info {
            padding: 12px;
            background: white;
        }

        .slider-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .slider-author {
            font-size: 12px;
            color: #666;
        }

        @media (min-width: 768px) {
            .slider-item {
                width: 200px;
            }

           .slider-image {
    width: 70%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

        }

        @media (min-width: 1024px) {
            .slider-item {
                width: 240px;
            }

            .slider-wrapper {
                padding: 15px 0;
            }

            .slider-container {
                padding: 0 20px;
            }
        }

        /* Navigation arrows */
        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            z-index: 10;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .slider-nav.prev {
            left: 5px;
        }

        .slider-nav.next {
            right: 5px;
        }

        .slider-nav svg {
            width: 20px;
            height: 20px;
        }

        .slider-nav:hover {
            background: #f5f5f5;
        }

        .slider-container:hover .slider-nav {
            opacity: 1;
        }

        /* Hide arrows on mobile */
        @media (max-width: 767px) {
            .slider-nav {
                display: none;
            }
        }