.card-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.card-item:hover {
    transform: translateY(-2px);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.3;
}

.details-btn {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.details-btn:hover {
    background-color: #555;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
    width: 100%;
}

.pagination-text {
    color: #666;
    font-size: 14px;
    text-align: center;
    flex: 1;
}

.pagination-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pagination-arrow:hover:not(.disabled) {
    border-color: #333;
}

.pagination-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-arrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
}

.pagination-arrow.left::before {
    transform: rotate(-135deg);
    margin-left: 2px;
}

.pagination-arrow.right::before {
    transform: rotate(45deg);
    margin-right: 2px;
}

.pagination-arrow.disabled::before {
    border-color: #ccc;
}

@media (max-width: 768px) {
    .card-content {
        padding: 15px;
    }
    
    .card-image {
        height: 160px;
    }
}